mail-mode paragraph-separate fix for bug#10276
[emacs.git] / lisp / ChangeLog
blobf8d8ab379fa46deace696d7e1d4e9013fd0607b4
1 2012-01-12  Glenn Morris  <rgm@gnu.org>
3         * mail/sendmail.el (mail-mode): Update paragraph-separate for
4         changes in adaptive-fill-regexp.  (Bug#10276)
6 2012-01-11  Alan Mackenzie  <acm@muc.de>
8         Fix Emacs bug #10463 - put `widen's around the critical spots.
10         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): put a
11         widen around each invocation of c-state-pp-to-literal.  Remove an
12         unused let variable.
14 2012-01-11  Glenn Morris  <rgm@gnu.org>
16         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
17         Doc fix.
19 2012-01-10  Chong Yidong  <cyd@gnu.org>
21         * net/network-stream.el (network-stream-open-starttls): Avoid
22         emitting a confusing error message when the server gives a bad
23         response to the capability command.
25 2012-01-10  Glenn Morris  <rgm@gnu.org>
27         * mail/unrmail.el (unrmail): Tweak previous change.
29 2012-01-09  Chong Yidong  <cyd@gnu.org>
31         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
33 2012-01-08  Alan Mackenzie  <acm@muc.de>
35         Optimise font locking in long enum definitions.
37         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
38         arm to a cond form to handle enums.
39         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
40         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
42 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
44         * files.el (move-file-to-trash): Preserve default file modes on error.
45         (Bug#10401)
47 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
49         * faces.el (set-face-attribute): Clarify the meaning of the nil
50         frame (bug#10294).
52         * subr.el (with-selected-frame): Mention that the selected frame
53         is restored (bug#9980).
55         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
56         (bug#9759).
58         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
59         (password-read): Don't autoload unused function.
61 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
63         * progmodes/which-func.el (which-func-mode): Turn into a
64         non-interactive function and mark as obsolete (bug#10428).
66 2012-01-06  Chong Yidong  <cyd@gnu.org>
68         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
69         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
70         functions, along with 1 and -1.
72 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
74         * time.el (display-time-load-average)
75         (display-time-default-load-average): Doc fixes.  See the thread
76         starting at
77         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
78         for the details.
80 2012-01-06  Glenn Morris  <rgm@gnu.org>
82         * mail/unrmail.el (unrmail): Give an explicit error if the input file
83         has no messages.  (Bug#10377)
85         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
86         than Info-edit.  (Bug#10385)
88         * time.el (display-time-load-average, display-time-next-load-average):
89         Doc fixes.
91         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
92         local setting of buffer-read-only to the input buffer.  (Bug#10419)
94         * calendar/calendar.el (calendar-mode):
95         Locally set scroll-margin to 0.  (Bug#10379)
97 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
99         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
101 2012-01-05  Glenn Morris  <rgm@gnu.org>
103         * eshell/em-unix.el (diff-no-select): Autoload it.
104         (eshell/diff): Use diff-no-select.  (Bug#10420)
106 2012-01-05  Chong Yidong  <cyd@gnu.org>
108         * shell.el (shell-dynamic-complete-functions): Revert last change.
109         (shell-command-completion-function): New function.
110         (shell-completion-vars): Use it to implement
111         shell-completion-execonly (Bug#10417).
113         * custom.el (enable-theme): Don't set custom-safe-themes.
115         * cus-theme.el (custom-theme-merge-theme): Ignore
116         custom-enabled-themes and custom-safe-themes.
118 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
120         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
121         first prompt in `sql-interacive-mode'.
122         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
123         keywords.
124         (sql-mode-mysql-font-lock-keywords):  Add ELSEIF keyword.
125         (sql-product-interactive): Bug fix: Set `sql-buffer' in
126         context of original buffer.  Invoke `sql-login-hook'.
128 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
130         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
131         letters in cite-prefix.
133 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
135         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
137 2012-01-03  Chong Yidong  <cyd@gnu.org>
139         * shell.el (shell-dynamic-complete-functions): Put
140         pcomplete-completions-at-point, so as to try
141         comint-filename-completion first (Bug#10417).
143 2012-01-02  Richard Stallman  <rms@gnu.org>
145         * battery.el (battery-status-function):
146         Detect when to use battery-yeeloong-sysfs.
147         (battery-echo-area-format): Add string for Yeeloong.
148         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
149         (battery-yeeloong-sysfs): New function.
151 2012-01-02  Chong Yidong  <cyd@gnu.org>
153         * dirtrack.el (dirtrack-list): Eliminate unused third element.
154         (dirtrack): Merge code for handling relative filenames in prompt
155         from shell-dir-cookie-watcher.
156         (dirtrack-debug-message): New arg to avoid excess format calls.
158         * shell.el (shell-dir-cookie-re): Variable deleted.
159         (shell-dir-cookie-watcher): Function deleted.
160         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
161         with dirtrack-mode.
163 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
165         * term/w32-win.el (dynamic-library-alist) <gnutls>: Load
166         libgnutls-28.dll, from GnuTLS version 3.x, in preference to
167         libgnutls-26.dll.
169 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
171         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
173 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
175         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
176         headers of non-MIME messages, when rmail-enable-mime is non-nil.
178 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
180         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
181         also for alternative shells.
182         (tramp-open-connection-setup-interactive-shell): Check, whether
183         the shell is a busybox.
184         (tramp-send-command): Don't suppress multiple prompts for
185         busyboxes, it hurts.
187 2011-12-28  Chong Yidong  <cyd@gnu.org>
189         * progmodes/gdb-mi.el (gdb-get-source-file-list)
190         (gdb-get-source-file): Move mode line update to
191         gdb-get-source-file (Bug#10087).
193 2011-12-25  Chong Yidong  <cyd@gnu.org>
195         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
196         gud-gdb-marker-filter without taking it as an argument.
197         (gud-gdb-run-command-fetch-lines): Caller changed.
198         (gud-gdb-completion-function): New variable.
199         (gud-gdb-completion-at-point): Use it.
200         (gud-gdb-completions-1): Split from gud-gdb-completions.
202         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
203         function as separate arguments.
204         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
205         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
206         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
207         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
208         (gdb-stopped, def-gdb-auto-update-trigger)
209         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
210         (gdb-get-changed-registers, gdb-get-main-selected-frame):
211         Callers changed.
212         (gud-gdbmi-completions): New function.
213         (gdb): Use it for generating the completion table.
215 2011-12-24  Alan Mackenzie  <acm@muc.de>
217         Introduce a mechanism to widen the region used in context font
218         locking.  Use this to protect declarations from losing their
219         contexts.
221         * progmodes/cc-langs.el (c-before-font-lock-functions): Replace
222         c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
223         (c-before-context-fontification-functions): New defvar, a list of
224         functions to be run just before context (etc.) font locking.
226         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
227         New, functionality extracted from
228         c-neutralize-syntax-in-and-mark-CPP.
229         (c-in-after-change-fontification): New variable.
230         (c-after-change): Set c-in-after-change-fontification.
231         (c-set-fl-decl-start): Rejig its interface, so it can be called
232         from both after-change and context fontifying.
233         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
234         New functions.
235         (c-standard-font-lock-fontify-region-function): New variable.
236         (c-font-lock-fontify-region): New function.
238 2011-12-24  Juri Linkov  <juri@jurta.org>
240         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
241         (Bug#10348)
243 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
245         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
246         existence of source file.  (Bug#10325)
248 2011-12-23  Alan Mackenzie  <acm@muc.de>
250         Fix unstable fontification inside templates.
252         * progmodes/cc-langs.el (c-before-font-lock-functions):
253         Newly created from the singular version.  The (c c++ objc) entry now
254         additionally has c-set-fl-decl-start.  The other languages (apart
255         from AWK) have that as a single entry.
257         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
258         The functionality for "local" declarations has been extracted to
259         c-set-fl-decl-start.
261         * progmodes/cc-mode.el (c-common-init, c-after-change):
262         Changes due to pluralisation of c-before-font-lock-functions.
263         (c-set-fl-decl-start): New function, extracted from
264         c-font-lock-enclosing-decls and enhanced.
266 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
268         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
270 2011-12-22  Juri Linkov  <juri@jurta.org>
272         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
274 2011-12-22  Chong Yidong  <cyd@gnu.org>
276         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
278 2011-12-21  Drew Adams  <drew.adams@oracle.com>
280         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
282 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
284         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
286 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
288         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
289         highlighting and support.  Fix up comments for capitalization.
290         (cfengine-mode-debug): New var.
291         (cfengine3-mode): Change the modeline indicator to "CFE3".
292         (cfengine3-font-lock-keywords): Improve defun highlighting.
293         (cfengine2-actions): Rename from `cfengine-actions'.
294         (cfengine2-font-lock-keywords): Rename from
295         `cfengine-font-lock-keywords'.
296         (cfengine2-imenu-expression): Rename from
297         `cfengine-imenu-expression'.
298         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
299         (cfengine2-beginning-of-defun): Rename from
300         `cfengine-beginning-of-defun'.
301         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
302         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
303         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
304         modeline indicator to "CFE2".
305         (cfengine-mode): Defalias to `cfengine-auto-mode'.
306         (cfengine-mode-abbrevs): Mark obsolete.
308 2011-12-21  Chong Yidong  <cyd@gnu.org>
310         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
311         filename argument.
313 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
315         * window.el (window-normalize-buffer-to-display): Remove.
316         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
318 2011-12-19  Chong Yidong  <cyd@gnu.org>
320         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
321         Don't signal an error in a predicate function; return non-nil.
322         (vc-dir-mark-file): Move the error here.
323         (vc-dir-mark-unmark): If acting on the region, keep going if one
324         of the entries cannot be marked/unmarked.
325         (vc-dir-mark-all-files): If current entry is a directory, mark
326         only child files, as documented.
328 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
330         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
331         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
332         addition.
334 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
336         * term/ns-win.el (ns-get-selection-internal)
337         (ns-store-selection-internal): Declare.
338         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
339         Declare as obsolete.
340         (ns-get-pasteboard, ns-paste-secondary):
341         Use ns-get-selection-internal.
342         (ns-set-pasteboard,  ns-copy-including-secondary):
343         Use ns-store-selection-internal.
345 2011-12-17  Chong Yidong  <cyd@gnu.org>
347         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
348         (vc-deduce-fileset): Doc fix.
350 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
352         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
354 2011-12-13  Sam Steingold  <sds@gnu.org>
356         * man.el (Man-getpage-in-background): When running under a
357         window-system, ignore $MANWIDTH and $COLUMNS.
359 2011-12-15  Kenichi Handa  <handa@m17n.org>
361         * language/ethio-util.el: Change coding tag to utf-8-emacs.
362         (setup-ethiopic-environment-internal): Comment out key-binding for
363         ethio-toggle-punctuation.
365 2011-12-13  Alan Mackenzie  <acm@muc.de>
367         Add the switch statement to AWK Mode.
369         * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
370         "default" to the keywords regexp.
372         * progmodes/cc-langs (c-label-kwds): Let AWK take the same
373         expression as the rest.
374         (c-nonlabel-token-key): Allow string literals for AWK.  Refactor
375         for the other modes.
377         Large brace-block initialisation makes CC Mode slow: Fix.
378         Tidy up and accelerate c-in-literal, etc. by using the
379         c-parse-state
380         routines.  Limit backward searching in c-font-lock-enclosing.decl.
382         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
383         pp-state and literal type in addition to the limits.
384         (c-state-safe-place): New defun, extracted from
385         c-state-literal-at.
386         (c-state-literal-at): Use the above new defun.
387         (c-slow-in-literal, c-fast-in-literal): Removed.
388         (c-in-literal, c-literal-limits): Amended to use
389         c-state-pp-to-literal.
391         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
392         being in a literal.  Add a limit for backward searching.
394         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
395         c-slow-in-literal.
397 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
399         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
401 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
403         * window.el (delete-other-windows): Use correct frame in call to
404         window-with-parameter.
406 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
408         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
409         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
410         (makefile-gmake-statements, makefile-makepp-statements):
411         Use it and add new makepp keywords.
412         (makefile-makepp-font-lock-keywords): Add new patterns.
413         (makefile-match-function-end): Match new [...] and [[...]].
415 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
417         * ses.el (ses-call-printer-return, ses-cell-property-get)
418         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
419         (ses-create-cell-variable, ses-reset-header-string)
420         (ses-cell-set-formula, ses-repair-cell-reference-all)
421         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
422         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
423         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
424         (ses-aset-with-undo, ses-load, ses-truncate-cell)
425         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
426         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
427         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
428         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
429         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
430         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
431         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
432         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
434 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
436         * ses.el: The overall change is to add cell renaming, that is
437         setting fancy names for cell symbols other than name matching
438         "\\`[A-Z]+[0-9]+\\'" regexp .
439         (ses-create-cell-variable): New defun.
440         (ses-relocate-formula): Relocate formulas only for cells the
441         symbols of which are not renamed, i.e. symbols whose names do not
442         match regexp "\\`[A-Z]+[0-9]+\\'".
443         (ses-relocate-all): Relocate values only for cells the symbols of
444         which are not renamed.
445         (ses-load): Create cells variables as the (ses-cell ...) are read,
446         in order to check row col consistency with cell symbol name only
447         for cells that are not renamed.
448         (ses-replace-name-in-formula): New defun.
449         (ses-rename-cell): New defun.
451 2011-12-11  Chong Yidong  <cyd@gnu.org>
453         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
454         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
456 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
458         * window.el (other-window): Fix docstring.
460 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
462         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
463         `from' or `to' address before taking its substring.  Fixes
464         incorrect display in Rmail summary buffer whereby an RFC2047
465         encoded name is chopped in the middle of the encoded string, and
466         thus displayed encoded.
468 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
470         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
472 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
474         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
475         to use texinfo-update-node and commands that call it if the
476         Texinfo file uses @node lines without next/prev/up pointers.
477         Correct outdated description about texinfo-master-menu.
478         (texinfo-all-menus-update, texinfo-master-menu)
479         (texinfo-update-node, texinfo-every-node-update)
480         (texinfo-multiple-files-update): Doc fix.  Warn against updating
481         all the @node lines.
482         (texinfo-master-menu): Only call texinfo-update-node if the prefix
483         argument is numeric.  Explain better in the doc string what the
484         function really does.
485         (texinfo-insert-master-menu-list): Improve the error message
486         displayed if there's no menu in the Top node.
487         (Bug#2975)  See also this thread:
488         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
490 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
492         * speedbar.el (speedbar-supported-extension-expressions):
493         Add .adb and .ads, commonly used for Ada source code (bug#10256).
495 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
497         * printing.el (pr-mode-alist):
498         * simple.el (filter-buffer-substring-functions)
499         (completion-list-insert-choice-function):
500         * window.el (window-with-parameter, window-atom-root)
501         (window-sides-slots, window-size-fixed, window-min-delta)
502         (window-max-delta, window--resize-mini-window)
503         (window--resize-child-windows-normal, window-tree)
504         (delete-other-windows, quit-window, split-window)
505         (display-buffer-record-window, special-display-buffer-names)
506         (special-display-regexps, special-display-popup-frame)
507         (same-window-p, split-window-sensibly)
508         (display-buffer-overriding-action, display-buffer-alist)
509         (display-buffer-base-action, display-buffer, switch-to-buffer)
510         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
511         (fit-window-to-buffer, recenter-positions)
512         (mouse-autoselect-window-state, mouse-autoselect-window-select):
513         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
514         and remove unneeded backslashes in docstrings.
516 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
518         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
520         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
521         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
522         end in ".mk".
523         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
524         when reading the makefile (bug#10116).
526 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
528         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
529         (bug#10116).
531 2011-12-06  Glenn Morris  <rgm@gnu.org>
533         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
535 2011-12-06  Chong Yidong  <cyd@gnu.org>
537         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
539 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
541         * textmodes/table.el (table-shorten-cell): Fix typo.
543 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
545         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
547 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
549         * descr-text.el (describe-char): Fix display of strong
550         right-to-left characters and directional embeddings and overrides.
552         * simple.el (what-cursor-position): Fix display of codepoints of
553         strong right-to-left characters.
555 2011-12-05  Chong Yidong  <cyd@gnu.org>
557         * faces.el (read-color): Doc fix.
559 2011-12-05  Glenn Morris  <rgm@gnu.org>
561         * align.el (align--set-marker): Add doc-string.
562         Don't try to move something that is not a marker.  (Bug#10216)
564 2011-12-04  Glenn Morris  <rgm@gnu.org>
566         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
567         overly zealous deletion of trailing whitespace.
569 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
571         * server.el (server-delete-client): On Windows, do not try to delete
572         the only terminal.
573         (server-process-filter): On Windows, treat requests for a tty frame as
574         if they were for a GUI frame if the running server is in GUI mode.
576 2011-12-03  Glenn Morris  <rgm@gnu.org>
578         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
580 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
582         * electric.el: Streamline electric-indent's hook.
583         (electric-indent-chars): Revert to simple list.
584         (electric-indent-functions): New var.
585         (electric-indent-post-self-insert-function): Use it.
587         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
588         there's no inferior buffer (bug#10196).
589         (prolog-consult-compile): Don't use toggle-read-only.
591 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
593         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
594         interrupt.  (Bug#10187)
596 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
598         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
599         (bug#9160).
601         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
602         (bug#10191).
604 2011-12-02  Juri Linkov  <juri@jurta.org>
606         * info.el (Info-search): Display "end of manual" when Isearch
607         reaches the end of single-file Info manual.  (Bug#9918)
609 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
611         * isearch.el (isearch-message-prefix): Run the input method part
612         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
614 2011-12-02  Juri Linkov  <juri@jurta.org>
616         * isearch.el (isearch-occur): Use `word-search-regexp' for
617         `isearch-word'.
618         (isearch-search-and-update): Add condition for `isearch-word' and
619         call `word-search-regexp'.  (Bug#10145)
621 2011-12-01  Glenn Morris  <rgm@gnu.org>
623         * eshell/em-hist.el (eshell-hist-initialize):
624         Handle eshell-history-size nil and HISTSIZE set or unset.
625         (eshell-history-file-name, eshell-history-size): Fix custom type.
627 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
629         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
631 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
633         * progmodes/verilog-mode.el (verilog-pretty-expr):
634         Rework verilog-pretty-expr to handle new assignment operators in system
635         verilog, such as += *= and the like.
636         (verilog-assignment-operator-re): Regular expression to find the
637         assigment operator in a verilog assignment.
638         (verilog-assignment-operation-re): Regular expression to find an
639         assignment statement for pretty-expr.
640         (verilog-in-attribute-p): Query returns true if point is in an
641         attribute context; used to skip these for expression line up from
642         pretty-expr.
643         (verilog-in-parameter-p): Query returns true if point is in an
644         parameter definition context; used to skip these for expression
645         line up from pretty-expr.
646         (verilog-in-parenthesis-p): Query returns true if point is in a
647         parenthetical expression, specifically ( ) but not [ ] or { };
648         used by pretty-expr.
649         (verilog-just-one-space): If there is no space, don't add one.
650         (verilog-get-lineup-indent-2): Specifically skip just attribute
651         contexts for expression lineup, rather than skipping all
652         parenthetical expressions.
653         (verilog-calculate-indent): Fix comment, and fix indent.
654         (verilog-do-indent): Indent declarations in lists (suggested by
655         Joachim Lechner).
656         (verilog-mode-abbrev-table): Populate abbrev mode with the various
657         skeleton items.
658         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
659         by Alain Mellan).
661 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
663         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
664         parameters with embedded comments.  Reported by Ray Stevens.
665         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
666         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
667         Reported by Tim Holt.
668         (verilog-auto): Fix AUTOing a upper module then AUTOing module
669         instantiated by upper module causing wrong expansion until AUTOed a
670         second time.  Reported by K C Buckenmaier.
671         (verilog-diff-auto): Fix showing .* as a difference when
672         `verilog-auto-star-save' off.  Reported by Dan Dever.
673         (verilog-auto-reset, verilog-read-always-signals)
674         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
675         temporary signals in reset list if
676         verilog-auto-reset-blocking-in-non is nil, and match assignment
677         style to each signal's assignment type, bug381.
678         Reported by Thomas Esposito.
679         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
680         (verilog-uvm-statement-re): Support UVM indentation and
681         highlighting, with old OVM keywords only.
682         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
683         Support AUTOTIEOFF creating non-wire data types.  Suggested by Jonathan
684         Greenlaw.
685         (verilog-auto-insert-lisp, verilog-delete-to-paren)
686         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
687         (verilog-inject-sense, verilog-read-inst-pins)
688         (verilog-read-sub-decls, verilog-read-sub-decls-line):
689         Fix mismatching parenthesis inside commented out code when deleting
690         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
691         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
692         non-numeric vector width.  Reported by Alex Reed.
693         (verilog-auto-ascii-enum): Add "onehot" option to work around not
694         detecting signals with parameter widths.  Reported by Alex Reed.
695         (verilog-auto-delete-trailing-whitespace):
696         With `verilog-auto-delete-trailing-whitespace' remove trailing
697         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
698         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
699         Fix verilog-scan-cache corruption when running user AUTO expansion
700         hooks that call indentation routines.
701         (verilog-simplify-range-expression): Fix typo ignoring lower case
702         identifiers.
703         (verilog-delete-auto): Fix delete-autos to also remove user created
704         automatics, as long as they start with AUTO.
705         (verilog-batch-diff-auto, verilog-diff-auto)
706         (verilog-diff-function): Add `verilog-diff-auto' and bind to
707         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
708         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
709         (verilog-in-paren-quick, verilog-re-search-backward-quick)
710         (verilog-re-search-forward-quick, verilog-syntax-ppss):
711         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
712         is disabled and its cache will get corrupt, causing AUTOS not to
713         expand.  Instead use only -quick functions.
714         (verilog-scan-region): Fix scanning over escaped quotes.
715         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
716         (verilog-re-search-backward-quick)
717         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
718         related functions now ignore strings, to fix misparsing of strings
719         with magic comments embedded in them.
720         (verilog-read-auto-template):
721         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
722         Reported by Brad Dobbie.
723         (verilog-read-auto-template):
724         Fix 'verilog-auto-inst-template-numbers' with comments.
725         Reported by Brad Dobbie.
726         (verilog-auto-inst, verilog-auto-inst-param)
727         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
728         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
729         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
730         debugging templates without merge conflicts, bug357.
731         Reported by Brad Dobbie.
732         (verilog-read-auto-template):
733         Fix verilog-auto-inst-template-numbers with multiple templates.
734         Reported by Brad Dobbie.
735         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
736         abbrevs so user won't be asked to save.
737         (verilog-read-auto-lisp-present): Fix to start at beginning of
738         buffer in case called outside of verilog-auto.
739         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
740         to "X-2".  Reported by Matthew Myers.
741         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
742         all inputs from module templates.  Reported by Leith Johnson.
743         (verilog-module-inside-filename-p): Fix locating programs as with
744         modules.
745         (verilog-auto-inst-port): Fix vl-width expressions when using
746         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
747         (verilog-decls-get-regs, verilog-decls-get-signals,
748         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
749         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
750         verilog-read-decls): Combine reg and wire structures into one var
751         structure to represent SystemVerilog concepts.
752         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
753         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
754         (verilog-auto-wire-type, verilog-insert-definition):
755         Add verilog-auto-wire-type and AUTOLOGIC to support using
756         SystemVerilog "logic" keyword instead of "wire"/"reg".
757         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
758         to declares outputs that also have assignments (presumably in an
759         ifdef or generate if so there's not a driver conflict).
760         Reported by Matthew Myers.
761         (verilog-auto-declare-nettype, verilog-insert-definition):
762         Add verilog-auto-declare-nettype to fix declarations using
763         `default_nettype none.  Reported by Julian Gorfajn.
764         (verilog-read-always-signals-recurse, verilog-read-decls)
765         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
766         malformed end statement, bug325.  Reported by Joshua Wise and
767         Andrew Drake.
768         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
769         (verilog-inst-comment-re): Fix not deleting Interfaced comment
770         when expanding .* in interfaces, bug320.  Reported by Pierre-David
771         Pfister.
772         (verilog-read-module-name): Fix import statements between module
773         name and open parenthesis, bug317.  Reported by Pierre-David
774         Pfister.
775         (verilog-simplify-range-expression): Fix simplification of
776         multiplications inside AUTOWIRE connections, bug303.
777         (verilog-auto-inst-port): Support parameter expansion in
778         multidimensional arrays.
779         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
780         after "assert property".  Reported by Julian Gorfajn.
781         (verilog-simplify-range-expression): Fix "couldn't merge" errors
782         with multiplication, bug303.
783         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
784         Reported by Jan Frode Lonnum.
786 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
788         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
789         (hfy-shell-file-name, hfy-shell):
790         * international/fontset.el (x-decompose-font-name): Fix typos.
792 2011-11-29  Ken Brown  <kbrown@cornell.edu>
794         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
795         (gdb-version): Remove defvar.
796         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
797         (gdb-gud-context-command, gdb-non-stop-handler)
798         (gdb-current-context-command, gdb-stopped): Use it.
799         (gdb-init-1): Enable pretty printing here.
800         (gdb-non-stop-handler): Don't enable pretty-printing here.
801         Check to see if the target supports non-stop mode; if not, turn off
802         non-stop mode.  Use the following.
803         (gdb-check-target-async): New defun.
804         (gud-watch, gdb-stopped): Fix whitespace.
805         (gdb-get-source-file): Don't try to display the source file if
806         `gdb-main-file' is nil.
808 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
810         * align.el: Try to generate fewer markers (bug#10047).
811         (align--set-marker): New macro.
812         (align-region): Use it.
814 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
816         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
818 2011-11-29  Chong Yidong  <cyd@gnu.org>
820         * indent.el (indent-for-tab-command, indent-according-to-mode):
821         Doc fix.
822         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
824 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
826         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
827         aware of remote file names.  (Bug#10124)
829 2011-11-29  Chong Yidong  <cyd@gnu.org>
831         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
833 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
835         * files.el (find-file): Don't use force-same-window (bug#10144).
836         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
837         use pop-to-buffer if the selected window can't be used.
838         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
840 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
842         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
843         special-mode-map.
845 2011-11-28  Chong Yidong  <cyd@gnu.org>
847         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
849 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
851         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
852           gdb-get-source-file-list on gdb-create-source-file-list.
854 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
856         * whitespace.el (whitespace-newline): Use a different foreground
857         color for 16-color light-background displays.
859 2011-11-24  Chong Yidong  <cyd@gnu.org>
861         * window.el (display-buffer--special-action): Doc fix.
863 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
865         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
866         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
867         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
868         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
869         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
870         (avl-tree-stack-first):
871         * emacs-lisp/cconv.el (cconv--analyse-use):
872         * net/gnutls.el (gnutls-negotiate): Fix typos.
874 2011-11-24  Glenn Morris  <rgm@gnu.org>
876         * lpr.el (lpr-windows-system, lpr-lp-system):
877         * mail/binhex.el (binhex-begin-line):
878         * progmodes/grep.el (grep-history, grep-find-history):
879         * textmodes/flyspell.el:
880         * vc/pcvs-defs.el (cvs-global-menu):
881         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
882         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
883         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
885         * net/tls.el: Fix case of "GnuTLS".
887         * paths.el (rmail-file-name): Format doc-string for make-docfile.
889         * version.el (emacs-build-system): Give it a doc-string.
891 2011-11-24  Juri Linkov  <juri@jurta.org>
893         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
895 2011-11-24  Glenn Morris  <rgm@gnu.org>
897         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
898         if called on a non-mime message just toggle the headers.  (Bug#8006)
900 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
902         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
903         (allout-lead-with-comment-string, allout-structure-deleted-hook)
904         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
905         (allout-rebullet-heading, allout-open-sibtopic)
906         (allout-toggle-current-subtree-encryption)
907         (allout-toggle-subtree-encryption, allout-encrypt-string)
908         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
909         (allout-distinctive-bullets-string, allout-auto-activation):
910         * window.el (window-normalize-buffer-to-display):
911         * progmodes/verilog-mode.el (verilog-batch-indent):
912         * textmodes/bibtex.el (bibtex-field-braces-opt)
913         (bibtex-field-strings-opt):
914         * vc/cvs-status.el (cvs-tree-merge):
915         Fix typos.
917 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
919         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
920         `non-essential' to t, in order to avoid remote connections.
922 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
924         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
925         On MS-DOS and MS-Windows, compare with loaddefs.el
926         case-insensitively.
928 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
930         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
932 2011-11-23  Glenn Morris  <rgm@gnu.org>
934         * paths.el (rmail-file-name): Reformat the doc-string so that it
935         is picked up.
937         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
938         (rmail-auto-file): Ignore case in the "special" field names,
939         as mail-fetch-field does for all others.
941         * mail/rmail.el (rmail-forward):
942         * mail/rmailkwd.el (rmail-set-label):
943         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
944         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
946         * mail/rmail.el (rmail-current-message): Doc fix.
948         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
950 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
952         * server.el (server-eval-and-print): Allow C-g (bug#6585).
954 2011-11-22  Glenn Morris  <rgm@gnu.org>
956         * mail/rmailmm.el (test-rmail-mime-handler)
957         (test-rmail-mime-bulk-handler)
958         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
960 2011-11-21  Juri Linkov  <juri@jurta.org>
962         * calc/calc.el (calc-read-key-sequence):
963         Let-bind `input-method-function' to nil.  (Bug#10018)
965 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
967         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
968         Tell the caller that the next line needs recomputation, even
969         though it doesn't start a sexp (bug#10094).
971 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
973         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
975 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
977         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
978         Use force-same-window.
980 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
982         * descr-text.el (describe-char-unicode-data):
983         * json.el (json-string-escape):
984         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
985         (Footnote-unicode, Footnote-style-p):
986         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
988 2011-11-20  Chong Yidong  <cyd@gnu.org>
990         * window.el (replace-buffer-in-windows): Restore interactive spec.
992 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
994         * electric.el (electric-indent-mode): Fix last change (too optimistic).
996         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
997         (byte-compile-global-not-obsolete-vars): New var.
998         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
999         Use it.
1000         (byte-compile-warn-obsolete): Align text with the one in *Help*.
1002 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
1004         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1005         * progmodes/pascal.el (electric-pascal-equal):
1006         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1007         * xml.el (xml-substitute-special): Fix typos.
1009 2011-11-20  Glenn Morris  <rgm@gnu.org>
1011         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1012         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1013         Doc fixes.
1014         (rmail-decode-mime-charset): Mark as obsolete.
1016         * mail/rmailsum.el (rmail-message-regexp-p-1):
1017         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1018         Before using mime functions, check they are set.  (Bug#10077)
1020 2011-11-19  Juri Linkov  <juri@jurta.org>
1022         * info.el (Info-finder-find-node): Use `package--builtins' instead
1023         of `package-alist'.  Use node names formed by the pattern "Keyword "
1024         and the keyword name.
1026 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
1028         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
1029         bash.
1031 2011-11-19  Juri Linkov  <juri@jurta.org>
1033         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1034         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
1035         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1036         `old-history', `old-history-forward'.  Add let-binding
1037         `window-selected'.  Remove calls to `kill-buffer',
1038         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
1039         before calling `Info-find-node', so `Info-find-node-2' will reread
1040         the Info file.  Restore window positions only when `window-selected'
1041         is non-nil.
1043 2011-11-19  Juri Linkov  <juri@jurta.org>
1045         * isearch.el (isearch-lazy-highlight-new-loop):
1046         Remove condition `(not isearch-error)'.  (Bug#9918)
1048         * misearch.el (multi-isearch-search-fun): Add condition
1049         `(not bound)' to ignore lazy-highlighting search.
1050         Add the search-failed message "end of multi" when the end of
1051         multi-sequence is reached.  Uncapitalize the search-failed
1052         message "Repeat for next buffer".
1054         * info.el (Info-search): Add the search-failed message
1055         "end of the manual" when the end of the manual is reached
1056         in Isearch mode.
1058 2011-11-19  Juri Linkov  <juri@jurta.org>
1060         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1061         Use non-destructive `remove' instead of `delete' because
1062         `Info-history-list' stored to `Info-isearch-initial-history-list' in
1063         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1065 2011-11-19  Juri Linkov  <juri@jurta.org>
1067         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1068         to nil instead of binding `search-ring' and `regexp-search-ring'.
1069         (Bug#9185)
1071 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
1073         * simple.el (line-move): Force movement by logical lines for any
1074         hscrolled window, not only when auto-hscroll-mode is on.
1075         (line-move-visual): Update doc string to that effect.  (Bug#10076)
1077 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
1079         * language/european.el (macintosh): Define as alias for mac-roman.
1081 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
1083         * mail/rmailmm.el (rmail-mime-display-header)
1084         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1085         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1086         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1087         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1088         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1089         of a raw aref.
1090         (rmail-mime-entity-segment): To get past the tagline, move forward
1091         2 more lines, to account for the 2 empty lines that precede and
1092         follow the line with the buttons.
1093         (rmail-mime-update-tagline): Move one more line, to get past the
1094         empty line that follows the buttons in the tagline.  (Bug#9520)
1096 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
1098         * window.el (window-max-delta-1, window-min-delta-1)
1099         (window-min-size-1, window-state-get-1, window-state-put-1)
1100         (window-state-put-2): Use "window--" prefix.
1102 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1104         * emacs-lisp/smie.el: Improve warnings and conflict detection.
1105         (smie-warning-count): New var.
1106         (smie-set-prec2tab): Use it.
1107         (smie-bnf->prec2): Improve warnings.  Add docstring.
1108         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1109         (smie-bnf--set-class): New function.
1110         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
1111         corner case.
1113         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1114         (compilation-error-properties, compilation-move-to-column):
1115         Handle compilation-first-column while in the target buffer.
1117         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1118         Don't hardcode point-min==1.
1120         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1121         (eshell-rewrite-for-command): Remove workaround.
1122         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1123         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1124         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1126         * files-x.el (modify-file-local-variable): Obey commenting conventions.
1128 2011-11-17  Glenn Morris  <rgm@gnu.org>
1130         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1131         Ignore buffer-local generated-autoload-file if it is the same
1132         as the global value.  (Bug#10049)
1134 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
1136         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1137         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1138         (reftex-toc-previous-heading, reftex-toc-max-level)
1139         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1140         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1141         (reftex-toc-do-promote, reftex-toc-promote-prepare)
1142         (reftex-toc-promote-action, reftex-toc-extract-section-number)
1143         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1144         (reftex-toc-rename-label, reftex-toc-visit-location)
1145         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1146         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1147         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1148         leaving "*toc*" only for references to the buffer.
1150 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
1152         * window.el (window-resize, delete-window, split-window):
1153         Replace window-splits by window-combination-resize.
1154         * cus-start.el (window-splits): Replace by
1155         window-combination-resize.
1157 2011-11-17  Glenn Morris  <rgm@gnu.org>
1159         * progmodes/sh-script.el (sh-font-lock-keywords-var):
1160         Make bash entry derive from sh entry, not shell entry.
1162 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
1164         * net/tramp-cache.el (tramp-flush-file-property): Flush also
1165         properties of linked files.  (Bug#9879)
1167         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1168         local file name.
1170 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
1172         * menu-bar.el (menu-bar-file-menu):
1173         * printing.el (pr-ps-utility):
1174         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1175         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1176         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1177         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1178         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1179         (icalendar--convert-cyclic-to-ical)
1180         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1181         (icalendar--convert-ical-to-diary)
1182         (icalendar--convert-recurring-to-diary)
1183         (icalendar--convert-non-recurring-all-day-to-diary)
1184         (icalendar-import-format-sample):
1185         * progmodes/idlw-shell.el (idlwave-shell-mode):
1186         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1187         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1188         (vhdl-ps-print-init): Fix typos.
1190 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
1192         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1193         FSF and collapse date sequence, obscure author/maintainer email address
1194         better, remove extra version line, track relocation of author's webpage.
1196         * progmodes/python.el (python-pdbtrack-input-prompt)
1197         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1198         regular python pdb prompts.  Adjustments shamelessly taken exactly as
1199         suggested in EmacsWiki page (tiny change):
1200         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
1202 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
1204         * expand.el (expand-pos, expand-index, expand-point):
1205         Remove redundant info from docstring.
1206         (expand-add-abbrevs): Doc fix.
1207         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1208         (expand-sample-perl-mode-expand-list): Fix typos.
1210         * net/dbus.el (dbus-event-member-name):
1211         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1212         * term/pc-win.el (msdos-create-frame-with-faces):
1213         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1215 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
1217         * window.el (split-window, window-state-get-1)
1218         (window-state-put-1, window-state-put-2): Rename occurrences of
1219         window-nest to window-combination-limit.
1220         * cus-start.el (window-nest): Rename to
1221         window-combination-limit.
1223 2011-11-16  Chong Yidong  <cyd@gnu.org>
1225         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1226         regexp (Bug#10033).
1228 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1230         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1231         `completing-read' will remove *Completions* and will preserve
1232         current-buffer for us.
1233         (tmm-add-prompt): Users of *Completions* will always (re)set its
1234         major mode.
1235         (tmm-old-comp-map): Remove.
1237 2011-11-16  Glenn Morris  <rgm@gnu.org>
1239         * mail/rmailedit.el: Require rmailmm when compiling.
1240         (rmail-old-mime-state): New declaration.
1241         (rmail-edit-current-message): If editing a mime message,
1242         edit the "raw" message from the mbox buffer.
1243         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
1245 2011-11-15  Glenn Morris  <rgm@gnu.org>
1247         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1248         which wasn't being used.  Add optional arg to force given state.
1249         (rmail-mime): Add optional arg to force given state.
1251 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
1253         * allout.el (allout-encryption-plaintext-sanitization-regexps):
1254         * frame.el (display-mm-dimensions-alist):
1255         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1256         (outline-move-subtree-down):
1257         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1258         (newsticker--treeview-do-get-node):
1259         * net/quickurl.el (quickurl-list-buffer-name):
1260         * progmodes/dcl-mode.el (dcl-mode):
1261         * progmodes/gdb-mi.el (gdb-mapcar*):
1262         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1264 2011-11-15  Glenn Morris  <rgm@gnu.org>
1266         * mail/rmail.el (rmail-file-coding-system): It's only ever used
1267         in a boolean sense, so just make it a boolean, and fix the doc.
1268         (rmail-show-mime-function, rmail-mime-feature)
1269         (rmail-require-mime-maybe): Doc fixes.
1270         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1272         * mail/rmailmm.el (rmail-show-mime): Doc fix.
1274 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
1276         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1277         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1278         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1279         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1281 2011-11-15  Glenn Morris  <rgm@gnu.org>
1283         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1284         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1285         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1286         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1287         (rmail-mime, rmail-show-mime): Doc fixes.
1289         * term/ns-win.el (mode-line-frame-identification):
1290         Leave it alone.  (Bug#10051)
1292         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
1294         * mail/rmailout.el (rmail-output-to-rmail-buffer):
1295         Handle empty buffers.  (Bug#9978)
1297 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
1299         * international/mule.el (define-charset):
1300         * mail/rmailmm.el (rmail-mime-find-header-encoding):
1301         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1302         * progmodes/verilog-mode.el (verilog-backward-token):
1303         * textmodes/ispell.el (lookup-words):
1304         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1306 2011-11-14  Glenn Morris  <rgm@gnu.org>
1308         * progmodes/executable.el
1309         (executable-make-buffer-file-executable-if-script-p):
1310         Handle file-modes returning nil.
1312         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1313         message - not necessary, and causes problems.  (Bug#9831)
1315         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1317         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1319         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1320         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
1321         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1323 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
1325         * window.el (window-resize, delete-window): Use window-splits
1326         variable instead of function.
1327         (window-state-get-1, window-state-put-2, window-state-put):
1328         Don't deal with windows' splits status.
1330 2011-11-12  Glenn Morris  <rgm@gnu.org>
1332         * apropos.el (apropos-do-all, apropos-library, apropos-value)
1333         (apropos-documentation): Doc fixes.
1335 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
1337         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1338         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1340 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1342         * electric.el (electric-indent-post-self-insert-function): Make it
1343         possible for a char to only indent in some circumstances.
1344         (electric-indent-mode): Simplify.
1346 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
1348         * window.el (windows-with-parameter): Remove unused function.
1349         (windows-at-side): Rename to window-at-side-list.
1350         (window-check, window-atom-check, window-atom-check-1)
1351         (window-side-check, window-size-ignore, window-size-fixed-1)
1352         (window-in-direction-2): Prefix with "window--".
1353         (window-tree-1): Rename to window--subtree, fix doc-string.
1355 2011-11-11  Glenn Morris  <rgm@gnu.org>
1357         * subr.el (eval-after-load): If FILE is already loaded,
1358         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
1360 2011-11-10  Glenn Morris  <rgm@gnu.org>
1362         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1363         Call svn via vc-svn-command rather than vc-do-command.
1364         (vc-svn-command): Add --non-interactive.  (Bug#9993)
1365         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1367         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1368         Add toggle-read-only.  (Bug#7292)
1369         * files.el (toggle-read-only): Mention that it should only
1370         be used interactively.  (Bug#10006)
1372 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1374         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1375         Adjust regexp for OCaml warnings.
1377         * electric.el (electric-pair-post-self-insert-function): Let user
1378         turn it off buffer-locally (bug#9932).
1380         * progmodes/python.el (python-beginning-of-statement):
1381         Rewrite (bug#2703).
1383         * progmodes/compile.el: Better handle TABs (bug#9749).
1384         (compilation-internal-error-properties)
1385         (compilation-next-error-function): Obey the target buffer's
1386         compilation-error-screen-columns.
1388 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
1390         * progmodes/meta-mode.el: Remove obsolete comments.
1391         (meta-right-comment-regexp, meta-ignore-comment-regexp):
1392         Fix typos in docstrings.
1394 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
1396         * window.el (window-size-fixed-p): Rewrite doc-string.
1397         (window-resizable-p): Rename to window--resizable-p.  Update callers.
1398         (window--resizable): New function.  Make all callers of
1399         window-resizable call window--resizable instead.
1400         (window-resizable): Rewrite in terms of window--resizable.
1402 2011-11-08  Glenn Morris  <rgm@gnu.org>
1404         * progmodes/delphi.el (delphi-mode-syntax-table):
1405         Let define-derived-mode define a proper syntax table.  (Bug#9994)
1407 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1409         * window.el: Stay away from defsubst.
1410         (window-list-no-nils): Remove.
1411         (window-state-get-1, window-state-get): Use backquote instead.
1413 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1415         * emacs-lisp/find-func.el (find-function-read):
1416         Fix incorrect use of default argument in `completing-read'.
1418 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
1420         * window.el (display-buffer-function, special-display-function):
1421         Mention display-buffer-record-window but do not mention
1422         help-setup parameter in doc-strings.
1423         (window-min-delta): Fix doc-string typo.
1425 2011-11-08  Chong Yidong  <cyd@gnu.org>
1427         * window.el (window-total-height, window-total-width): Doc fix.
1428         (window-body-size): Move from C.
1429         (window-body-height, window-body-width): Move to C.
1431 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1433         * window.el: Make special-display like display-buffer-alist (bug#9532).
1434         (display-buffer--special-action): New function, morphed
1435         from display-buffer--special.
1436         (display-buffer): Use it to handle special-display-buffers at higher
1437         priority (just after display-buffer-alist).
1438         (display-buffer-fallback-action, display-buffer--other-frame-action)
1439         (pop-to-buffer-same-window): Remove display-buffer--special.
1441 2011-11-07  Glenn Morris  <rgm@gnu.org>
1443         * calendar/cal-menu.el (cal-menu-set-date-title):
1444         Do nothing if not in a calendar.  (Bug#9976)
1446 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1448         * files.el (find-file): Always use selected-window.
1450 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
1452         * window.el (window-combinations): Make WINDOW argument
1453         mandatory.  Rewrite doc-string.
1454         (walk-window-subtree, window-atom-check, window-min-delta)
1455         (window-max-delta, window--resize-this-window)
1456         (window--resize-root-window-vertically, window-tree)
1457         (balance-windows, window-state-put): Rewrite doc-strings as to
1458         not mention the term "subwindow".
1459         (window--resize-subwindows-skip-p): Rename to
1460         window--resize-child-windows-skip-p.
1461         (window--resize-subwindows-normal): Rename to
1462         window--resize-child-windows-normal.
1463         (window--resize-subwindows): Rename to
1464         window--resize-child-windows.
1465         (window-or-subwindow-p): Rename to window--in-subtree-p.
1467 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
1469         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1470         Ensure that mbox format messages end in two newlines (Bug#9974).
1472 2011-11-06  Chong Yidong  <cyd@gnu.org>
1474         * window.el (window-combination-p): Function deleted; its
1475         side-effect is not used in any existing code.
1476         (window-combinations, window-combined-p): Call window-*-child
1477         directly.
1479 2011-11-05  Chong Yidong  <cyd@gnu.org>
1481         * window.el (window-valid-p): Rename from window-any-p.
1482         (window-size-ignore, window-state-get): Callers changed.
1483         (window-normalize-window): Rename from window-normalize-any-window.
1484         New arg LIVE-ONLY, replacing window-normalize-live-window.
1485         (window-normalize-live-window): Delete.
1486         (window-combination-p, window-combined-p, window-combinations)
1487         (walk-window-subtree, window-atom-root, window-min-size)
1488         (window-sizable, window-sizable-p, window-size-fixed-p)
1489         (window-min-delta, window-max-delta, window-resizable)
1490         (window-resizable-p, window-full-height-p, window-full-width-p)
1491         (window-current-scroll-bars, window-point-1, set-window-point-1)
1492         (window-at-side-p, window-in-direction, window-resize)
1493         (adjust-window-trailing-edge, maximize-window, minimize-window)
1494         (window-deletable-p, delete-window, delete-other-windows)
1495         (record-window-buffer, unrecord-window-buffer)
1496         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1497         (quit-window, split-window, window-state-put)
1498         (set-window-text-height, fit-window-to-buffer)
1499         (shrink-window-if-larger-than-buffer): Callers changed.
1501 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
1503         * mail/rmail.el (rmail-simplified-subject): Decode subject with
1504         rfc2047-decode-string.
1505         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1506         warnings.
1508         * window.el (window-body-height, window-body-width): Mention in
1509         the doc string that the return values are in frame's canonical
1510         units.  (Bug#9949)
1512 2011-11-03  Alan Mackenzie  <acm@muc.de>
1514         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1515         change in cc-engine.el.
1517 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1519         * window.el (switch-to-buffer): Use `force-same-window' interactively.
1521 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
1523         * window.el (quit-window): Call unrecord-window-buffer after
1524         showing another buffer in the window.  (Bug#9937)
1525         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1527 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
1529         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1530         Accept status with more than 9 shelves.  (Bug#9935)
1531         Reported by Colin D Bennett <colin@gibibit.com>.
1533 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
1535         * help.el (with-help-window): Don't reference
1536         temp-buffer-show-specifiers in doc-string.
1538 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
1540         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1541         menu-item.
1543 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1545         * whitespace.el: New version 13.2.2.
1546         (whitespace-newline-mode): Disable properly.  Reported by Sarah
1547         <EmacsWiki>.
1549 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
1551         * net/newst-treeview.el: Remove "Time-stamp".
1552         (newsticker--group-manage-orphan-feeds): Do not call
1553         newsticker--treeview-tree-update.
1554         (newsticker-treeview-update, newsticker-treeview):
1555         Call newsticker--treeview-tree-update if necessary.
1557 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
1559         * window.el (window-iso-combination-p, window-iso-combined-p)
1560         (window-iso-combinations): Remove "iso-" infix.
1561         Suggested by Chong Yidong.
1562         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1563         (window-max-delta-1, window-resize, window--resize-siblings)
1564         (window--resize-this-window, adjust-window-trailing-edge)
1565         (split-window, balance-windows-1)
1566         (shrink-window-if-larger-than-buffer):
1567         * calendar/calendar.el (calendar-generate-window):
1568         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
1570 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1572         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1573         in place (bug#9907).
1574         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1575         (eshell-rewrite-if-command, eshell-rewrite-for-command)
1576         (eshell-structure-basic-command, eshell-rewrite-while-command)
1577         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1578         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1579         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1580         (eshell-do-pipelines-synchronously, eshell-eval-command):
1581         Use backquotes and prefer setq to set.
1582         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1583         (eshell-macrop): Use functionp.
1584         (eshell-do-eval): Handle multiple expressions in `while' body.
1586 2011-10-30  Chong Yidong  <cyd@gnu.org>
1588         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1589         instead of set-mark (Bug#9810).
1591 2011-10-30  Chong Yidong  <cyd@gnu.org>
1593         * window.el (split-window-below, split-window-right): Rename from
1594         split-window-above-each-other and split-window-side-by-side
1595         respectively.  All callers changed.
1596         (split-window-sensibly, split-window-sensibly): Use them.
1597         (split-window-keep-point): Doc fix.
1599         * isearch.el: Add isearch-scroll property to split-window-below
1600         and split-window-right.
1602         * follow.el (follow-mode):
1603         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1604         * progmodes/ada-xref.el (ada-gdb-application):
1605         * emulation/vip.el (vip-buffer-in-two-windows):
1606         * image-dired.el (image-dired-dired-with-window-configuration):
1607         * dired-x.el (dired-do-find-marked-files):
1608         * dired.el (dired-pop-to-buffer):
1609         * bs.el (bs--show-with-configuration):
1610         * vc/emerge.el (emerge-setup-windows):
1611         * textmodes/two-column.el (2C-two-columns):
1612         * textmodes/reftex-toc.el (reftex-toc):
1613         * progmodes/gdb-mi.el (gdb-setup-windows):
1614         * progmodes/fortran.el (fortran-window-create):
1615         * net/newst-treeview.el (newsticker--treeview-window-init):
1616         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1617         * emulation/tpu-edt.el (tpu-gold-map):
1618         * emulation/crisp.el (crisp-mode-map):
1619         * calendar/calendar.el (calendar-basic-setup): Callers changed.
1621 2011-10-29  Chong Yidong  <cyd@gnu.org>
1623         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1625         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1627         * textmodes/flyspell.el (flyspell-word): Fix char offset for
1628         forged Ispell output (Bug#7904).
1630         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1632 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1634         * doc-view.el: Avoid ugly errors about not finding nil.
1635         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1636         (doc-view-dvipdf-program, doc-view-unoconv-program)
1637         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1638         Avoid nil or absolute file name as default value.
1639         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1641 2011-10-28  Alan Mackenzie  <acm@muc.de>
1643         * progmodes/cc-defs.el (c-version): -> 5.32.2.
1645 2011-10-28  Alan Mackenzie  <acm@muc.de>
1647         Amend the handling of c-beginning/end-of-defun in nested declaration
1648         scopes.
1650         * progmodes/cc-vars.el (c-defun-tactic): Move here from
1651         cc-langs.el.  Change it to a defcustom.
1653         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1654         cc-vars.el.
1656         * progmodes/cc-engine.el (c-beginning-of-statement-1):
1657         Prevent "class foo : bar" being spuriously recognized as a label.
1659         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
1660         Add parameter `inclusive' (to include enclosing braces in the region).
1661         (c-widen-to-enclosing-decl-scope): New function.
1662         (c-while-widening-to-decl-block): New macro.
1663         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1664         outward for defun boundaries, and correspondingly change symbol
1665         `respect-enclosure' to `go-outward'.
1666         (c-declaration-limits): Change algorithm to report only the "innermost"
1667         defun's boundaries.
1669 2011-10-28  Deniz Dogan  <deniz@dogan.se>
1671         * net/rcirc.el (rcirc-mode): Use hard newlines.
1673 2011-10-28  Alan Mackenzie  <acm@muc.de>
1675         Amend to indent and fontify macros "which include their own semicolon"
1676         correctly, using the "virtual semicolon" mechanism.
1678         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
1680         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1681         Recode to scan one line at a time rather than having \n and \r
1682         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
1683         (c-forward-label): Amend for virtual semicolons.
1684         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
1686         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1687         of the new C macros.
1689         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
1690         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1691         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
1692         (c-opt-cpp-macro-define): Make into a full language variable.
1693         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1694         AWK Mode (including \n, \r) removed, no longer needed.
1696         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1697         Invoke c-make-macro-with-semi-re.
1699         * progmodes/cc-vars.el (c-macro-with-semi-re):
1700         (c-macro-names-with-semicolon): New variables.
1701         (c-make-macro-with-semi-re): New function.
1703 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1705         * vc/log-edit.el: Fill empty field rather than adding new one.
1706         (log-edit-add-field): New function.
1707         (log-edit-insert-changelog): Use it.
1709 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
1711         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1713 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1715         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1716         (gdb--check-interpreter): New function.
1717         (gdb): Use it.
1719 2011-10-27  Glenn Morris  <rgm@gnu.org>
1721         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1722         (least-positive-float, least-negative-float)
1723         (least-positive-normalized-float, least-negative-normalized-float)
1724         (float-epsilon, float-negative-epsilon):
1725         Remove unnecessary declarations.
1727         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1728         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1729         (least-positive-float, least-negative-float)
1730         (least-positive-normalized-float, least-negative-normalized-float)
1731         (float-epsilon, float-negative-epsilon): Add doc-strings,
1732         based on those in cl.texi.
1734         * files.el (set-visited-file-name): If the major-mode changed,
1735         reload the local variables.  (Bug#9796)
1737 2011-10-27  Chong Yidong  <cyd@gnu.org>
1739         * subr.el (change-major-mode-after-body-hook): New hook.
1740         (run-mode-hooks): Run it.
1742         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1743         Use change-major-mode-before-body-hook.
1745         * simple.el (fundamental-mode):
1746         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1747         change introducing fundamental-mode-hook.
1749 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
1751         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
1753 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
1755         * ido.el (ido-file-name-all-completions-1): Do not require
1756         tramp.el explicitly.  (Bug#7583)
1758 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1760         * progmodes/octave-mod.el:
1761         * progmodes/octave-inf.el: Update maintainer.
1763 2011-10-26  Chong Yidong  <cyd@gnu.org>
1765         * subr.el (with-wrapper-hook): Rewrite doc.
1767 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
1769         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
1770         filenames "/method:foo:".  (Bug#9793)
1772 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1774         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1775         (bug#9865).
1777 2011-10-24  Glenn Morris  <rgm@gnu.org>
1779         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
1781 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
1783         * notifications.el: Add the requirement of a running D-Bus session
1784         bus to the Commentary.
1786 2011-10-24  Juri Linkov  <juri@jurta.org>
1788         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1789         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1790         (Bug#9364)
1792 2011-10-24  Juri Linkov  <juri@jurta.org>
1794         * info.el (Info-following-node-name-re): Add newline to the list
1795         of allowed characters for leading space.  (Bug#9824)
1797 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1799         * progmodes/octave-inf.el (inferior-octave-mode-map):
1800         Fix C-c C-h binding.
1801         * progmodes/octave-mod.el (octave-help): Remove.
1803 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
1805         Sync with Tramp 2.2.3.
1807         * net/tramp-cache.el (top): Pacify byte-compiler using
1808         `init-file-user' and `site-run-file'.
1810         * net/trampver.el: Update release number.
1812 2011-10-23  Chong Yidong  <cyd@gnu.org>
1814         * files.el (toggle-read-only): Remove obsolete comment about
1815         version control.
1817         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1818         for toggle-read-only.  Note that this hasn't called vc-next-action
1819         since 2008-05-02, though it wasn't documented at the time.
1821         * vc/ediff-init.el (ediff-toggle-read-only-function):
1822         Use toggle-read-only.
1824 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
1826         Fix bug #9560, sporadic wrong indentation; improve instrumentation
1827         of c-parse-state.
1829         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1830         correct faulty logical expression.
1831         (c-parse-state-state, c-record-parse-state-state):
1832         (c-replay-parse-state-state): New defvar/defuns.
1833         (c-debug-parse-state): Use new functions.
1835 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
1837         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
1838         last fix.  Use window-in-direction correctly.
1840 2011-10-21  Chong Yidong  <cyd@gnu.org>
1842         * progmodes/idlwave.el (idlwave-mode):
1843         * progmodes/vera-mode.el (vera-mode): No need to set
1844         require-final-newline; that's done in prog-mode.
1845         Suggested by Stefan Monnier.
1847 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
1849         * mouse.el (mouse-drag-window-above)
1850         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1851         (mouse-drag-mode-line-1, mouse-drag-header-line)
1852         (mouse-drag-vertical-line-rightward-window): Remove.
1853         (mouse-drag-line): New function.
1854         (mouse-drag-mode-line, mouse-drag-header-line)
1855         (mouse-drag-vertical-line): Call mouse-drag-line.
1856         * window.el (window-at-side-p, windows-at-side): New functions.
1858 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
1860         * tar-mode.el (tar-grind-file-mode):
1861         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
1863 2011-10-21  Chong Yidong  <cyd@gnu.org>
1865         * progmodes/idlwave.el (idlwave-mode):
1866         * progmodes/vera-mode.el (vera-mode):
1867         Use mode-require-final-newline.
1869 2011-10-20  Glenn Morris  <rgm@gnu.org>
1871         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
1873 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
1875         * emulation/cua-base.el (cua-set-mark): Fix case of string.
1877 2011-10-20  Chong Yidong  <cyd@gnu.org>
1879         * emulation/cua-base.el (cua-mode):
1880         * mail/footnote.el (footnote-mode):
1881         * mail/mailabbrev.el (mail-abbrevs-mode):
1882         * net/xesam.el (xesam-minor-mode):
1883         * progmodes/bug-reference.el (bug-reference-mode):
1884         * progmodes/cap-words.el (capitalized-words-mode):
1885         * progmodes/compile.el (compilation-minor-mode)
1886         (compilation-shell-minor-mode):
1887         * progmodes/gud.el (gud-tooltip-mode):
1888         * progmodes/hideif.el (hide-ifdef-mode):
1889         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1890         * progmodes/subword.el (subword-mode):
1891         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1892         * progmodes/which-func.el (which-function-mode):
1893         * term/tvi970.el (tvi970-set-keypad-mode):
1894         * term/vt100.el (vt100-wide-mode):
1895         * textmodes/flyspell.el (flyspell-mode):
1896         * textmodes/ispell.el (ispell-minor-mode):
1897         * textmodes/nroff-mode.el (nroff-electric-mode):
1898         * textmodes/paragraphs.el (use-hard-newlines):
1899         * textmodes/refill.el (refill-mode):
1900         * textmodes/reftex.el (reftex-mode):
1901         * textmodes/rst.el (rst-minor-mode):
1902         * textmodes/sgml-mode.el (html-autoview-mode)
1903         (sgml-electric-tag-pair-mode):
1904         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1905         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1906         * emulation/crisp.el (crisp-mode):
1907         * emacs-lisp/eldoc.el (eldoc-mode):
1908         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1909         minor mode behavior.
1911 2011-10-19  Juri Linkov  <juri@jurta.org>
1913         * descr-text.el (describe-char): Add #x2010 and #x2011 to
1914         the list of hard-coded chars with escape-glyph face.
1916 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1918         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1920 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
1922         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1923         running process.
1925 2011-10-19  Glenn Morris  <rgm@gnu.org>
1927         * vc/vc-bzr.el (vc-bzr-after-dir-status):
1928         Ignore ignored files.  (Bug#9726)
1930 2011-10-19  Chong Yidong  <cyd@gnu.org>
1932         Doc fix for minor modes, stating that an omitted argument enables
1933         the mode unconditionally when called from Lisp.
1935         * abbrev.el (abbrev-mode):
1936         * allout.el (allout-mode):
1937         * autoinsert.el (auto-insert-mode):
1938         * autoarg.el (autoarg-mode, autoarg-kp-mode):
1939         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1940         (global-auto-revert-mode):
1941         * battery.el (display-battery-mode):
1942         * composite.el (global-auto-composition-mode)
1943         (auto-composition-mode):
1944         * delsel.el (delete-selection-mode):
1945         * desktop.el (desktop-save-mode):
1946         * dired-x.el (dired-omit-mode):
1947         * dirtrack.el (dirtrack-mode):
1948         * doc-view.el (doc-view-minor-mode):
1949         * double.el (double-mode):
1950         * electric.el (electric-indent-mode, electric-pair-mode):
1951         * emacs-lock.el (emacs-lock-mode):
1952         * epa-hook.el (auto-encryption-mode):
1953         * follow.el (follow-mode):
1954         * font-core.el (font-lock-mode):
1955         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1956         * help.el (temp-buffer-resize-mode):
1957         * hilit-chg.el (highlight-changes-mode)
1958         (highlight-changes-visible-mode):
1959         * hi-lock.el (hi-lock-mode):
1960         * hl-line.el (hl-line-mode, global-hl-line-mode):
1961         * icomplete.el (icomplete-mode):
1962         * ido.el (ido-everywhere):
1963         * image-file.el (auto-image-file-mode):
1964         * image-mode.el (image-minor-mode):
1965         * iswitchb.el (iswitchb-mode):
1966         * jka-cmpr-hook.el (auto-compression-mode):
1967         * linum.el (linum-mode):
1968         * longlines.el (longlines-mode):
1969         * master.el (master-mode):
1970         * mb-depth.el (minibuffer-depth-indicate-mode):
1971         * menu-bar.el (menu-bar-mode):
1972         * minibuf-eldef.el (minibuffer-electric-default-mode):
1973         * mouse-sel.el (mouse-sel-mode):
1974         * msb.el (msb-mode):
1975         * mwheel.el (mouse-wheel-mode):
1976         * outline.el (outline-minor-mode):
1977         * paren.el (show-paren-mode):
1978         * recentf.el (recentf-mode):
1979         * reveal.el (reveal-mode, global-reveal-mode):
1980         * rfn-eshadow.el (file-name-shadow-mode):
1981         * ruler-mode.el (ruler-mode):
1982         * savehist.el (savehist-mode):
1983         * scroll-all.el (scroll-all-mode):
1984         * scroll-bar.el (scroll-bar-mode):
1985         * server.el (server-mode):
1986         * shell.el (shell-dirtrack-mode):
1987         * simple.el (auto-fill-mode, transient-mark-mode)
1988         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1989         (line-number-mode, column-number-mode, size-indication-mode)
1990         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1991         * strokes.el (strokes-mode):
1992         * time.el (display-time-mode):
1993         * t-mouse.el (gpm-mouse-mode):
1994         * tool-bar.el (tool-bar-mode):
1995         * tooltip.el (tooltip-mode):
1996         * type-break.el (type-break-mode-line-message-mode)
1997         (type-break-query-mode):
1998         * view.el (view-mode):
1999         * whitespace.el (whitespace-mode, whitespace-newline-mode)
2000         (global-whitespace-mode, global-whitespace-newline-mode):
2001         * xt-mouse.el (xterm-mouse-mode): Doc fix.
2003         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2004         Fix autogenerated docstring.
2006 2011-10-19  Juri Linkov  <juri@jurta.org>
2008         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2009         by checking environment variables "DESKTOP_SESSION" and
2010         "XDG_CURRENT_DESKTOP".  (Bug#9779)
2012 2011-10-19  Juri Linkov  <juri@jurta.org>
2014         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2015         (browse-url-chromium-program, browse-url-chromium-arguments):
2016         New defcustoms.
2017         (browse-url-default-browser): Check for `browse-url-chromium' and
2018         call `browse-url-chromium-program'.
2019         (browse-url-chromium): New command.  (Bug#9779)
2021 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
2023         * facemenu.el (list-colors-duplicates): On Windows, detect more
2024         duplicates by assuming that only colors matching "^System" are
2025         special "system colors".  (Bug#9722)
2027 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2029         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2030         to distinguish the author from the committer.
2032 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
2034         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2036 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
2038         * international/mule.el (sgml-html-meta-auto-coding-function):
2039         Add support for detecting encoding in HTML5 specified only as
2040         <meta charset="UTF-8">.  Implementation just makes http-equiv and
2041         content-type parts from HTML4 encoding string optional.  (Bug#9716)
2043 2011-10-18  Glenn Morris  <rgm@gnu.org>
2045         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
2047 2011-10-18  Chong Yidong  <cyd@gnu.org>
2049         * faces.el (cursor): Doc fix.
2051 2011-10-17  Chong Yidong  <cyd@gnu.org>
2053         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2055 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
2057         * dirtrack.el (dirtrack): Support shell buffers with path
2058         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
2060 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
2062         * json.el: Bump version to 1.3 and note change in History.
2063         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2065 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2067         * comint.el (comint-insert-input, comint-send-input)
2068         (comint-get-old-input-default, comint-backward-matching-input)
2069         (comint-next-prompt): Use nil instead of `input' for field property of
2070         past user input (bug#114).
2072         * minibuffer.el (completion--replace): Inherit surrounding properties
2073         (bug#114).
2074         (minibuffer-complete-and-exit): Use it.
2076         * comint.el (comint--table-subvert): Quote the all-completions output
2077         (bug#9160).
2079 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
2081         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
2083         * menu-bar.el (menu-bar-file-menu): Add entry for making new
2084         window on right of selected.  (Bug#9350) Reword other window
2085         entries and separate them from frame entries.
2087 2011-10-15  Glenn Morris  <rgm@gnu.org>
2089         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2090         Doc fixes.
2092 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
2094         * net/network-stream.el (network-stream-open-starttls):
2095         Improve detection of failure due to lack of TLS support.
2097         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2098         putting the input text in front and in bold.
2100 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2102         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2104         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2105         empty buffer.
2107         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2108         unread-command-events rather than pushing yet-another event.
2110 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
2112         * mail/sendmail.el (sendmail-query-once): Improve the wording of
2113         the explanation of the possible choices.  Make the options passed
2114         to completing-read shorter.
2116 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2118         * textmodes/flyspell.el (flyspell-large-region): Make sure
2119         extended character mode is used if defined (Bug#1339).
2121 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
2123         * simple.el (what-cursor-position): Fix the display of the
2124         character info for LRE, LRO, RLE, and RLO characters by appending
2125         an invisible PDF.
2127 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2129         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2130         even in case of error; add debug spec; simplify data flow.
2131         (with-timeout-handler): Remove.
2133 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
2135         Fix Bug#6019, Bug#9315.
2137         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2138         complete `buffer-file-name', the local file name part could look
2139         remotely (for example on VMS).
2141         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2142         `tramp-run-real-handler'.
2143         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2144         already quoted by '"'.
2146         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2147         Let `file-name-handler-alist' be nil, the local file name part
2148         could look remotely (for example on VMS).
2150 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2152         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2153         from here...
2154         (flyspell-post-command-hook): ...to here.
2156 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2158         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2159         if not needed.
2160         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
2161         using completion.  Protect against "slow" callers.
2162         Remove the "message hack".
2164 2011-10-11  Juri Linkov  <juri@jurta.org>
2166         * isearch.el (isearch-lazy-highlight-word): New variable.
2167         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2168         Use it.  (Bug#9727)
2170 2011-10-11  Glenn Morris  <rgm@gnu.org>
2172         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2173         like f90-previous-statement does.
2175 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2177         * eshell/eshell.el (eshell-command): History should be saved
2178         only in interactive use, to avoid error.
2180 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2182         * minibuffer.el (completion-file-name-table): Fix last change,
2183         i.e. ignore normal errors but not the other ones.
2185 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
2187         * window.el (special-display-buffer-names)
2188         (special-display-regexps): Remove some remnants of earlier
2189         changes from doc-strings.
2190         (quit-windows-on): New function.
2192         * vc/vc.el (vc-revert, vc-rollback):
2193         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2194         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
2195         (Bug#6183) (Bug#7074) (Bug#7447)
2197 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
2199         * window.el (frame-auto-hide-function): Add version tag.
2200         (Bug#9699)
2202 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
2204         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2205         condition.
2207 2011-10-09  Leo Liu  <sdl.web@gmail.com>
2209         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2210         (Bug#9701)
2212 2011-10-08  Glenn Morris  <rgm@gnu.org>
2214         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2215         before the first code statement zero indent.  (Bug#9690)
2217 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
2219         * simple.el (count-words-region): Always count in the region.
2220         Report the number of lines and characters too.
2221         (count-words): New command, which counts in the buffer if the
2222         region is inactive, as count-words-region used to.
2223         (count-words--message): New function.  Handle plurals.
2224         (count-lines-region): Make it an alias for count-words-region.
2226         * bindings.el (esc-map): Replace count-lines-region with
2227         count-words-region.
2229 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
2231         * window.el (window--delete): Delete dedicated frame
2232         unconditionally when argument KILL is non-nil.  (Bug#9699)
2233         (switch-to-buffer): Fix doc-string typo.
2235 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2237         * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2239 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
2241         * bindings.el ([M-left],[M-right]): Bind to left-word and
2242         right-word respectively.
2244 2011-10-07  Glenn Morris  <rgm@gnu.org>
2246         * cus-start.el (debug-on-quit): Fix custom type.
2248 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2250         * subr.el (define-key-after): Clarify that the function is not
2251         useful for non-menu keymaps.
2253         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2255 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2257         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
2258         in current minibuffer (Fix bug with recursive minibuffers).
2260 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
2262         * progmodes/gdb-mi.el (gdb): Doc fix.
2264 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
2266         * window.el (frame-auto-hide-function): New option replacing
2267         frame-auto-delete.  Suggested by Stefan Monnier.
2268         (window--delete): Call frame-auto-hide-function instead of
2269         investigating frame-auto-delete.
2270         (window-point-1, set-window-point-1): New functions.
2271         (window-in-direction, record-window-buffer, window-state-get-1)
2272         (display-buffer-record-window): Use window-point-1 instead of
2273         window-point.
2274         (set-window-buffer-start-and-point): Use set-window-point-1.
2276 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2278         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2280 2011-10-05  Glenn Morris  <rgm@gnu.org>
2282         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2283         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
2285 2011-10-05  Leo Liu  <sdl.web@gmail.com>
2287         * subr.el (read-char-choice): Fix argument to buffer-live-p which
2288         works with buffer object.
2290 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2292         * mpc.el (mpc-tool-bar-map): Add labels.
2294 2011-10-04  Glenn Morris  <rgm@gnu.org>
2296         * calendar/holidays.el (calendar-check-holidays): Doc fix.
2298 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
2300         * window.el (window--delete): New function.
2301         (frame-auto-delete): Resuscitate option.
2302         (bury-buffer, replace-buffer-in-windows)
2303         (quit-window): Rewrite using window--delete.
2304         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2305         Pass display-buffer-mark-dedicated to window--display-buffer-2
2306         (Bug#9639).
2308 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2310         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2311         returns a list (bug#9554).  Add remote file name completion.
2312         * comint.el (comint--table-subvert): Curry and get quote&unquote
2313         functions as arguments.
2314         (comint--complete-file-name-data): Adjust call accordingly.
2315         * pcomplete.el (pcomplete--table-subvert): Remove.
2316         (pcomplete-completions-at-point): Use comint--table-subvert instead.
2318         * minibuffer.el (completion-table-case-fold): Use currying.
2319         (completion--styles-type, completion--cycling-threshold-type):
2320         New constants.
2321         (completion-styles, completion-category-overrides)
2322         (completion-cycle-threshold): Use them.
2323         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2324         completion-table-case-fold.
2326 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
2328         * minibuffer.el (completion-category-overrides): Fix type of styles
2329         and add more user friendly tags (bug#9660).
2331 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2333         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2334         (mule-input-method-string): New widget.
2335         (default-input-method, language-info-custom-alist): Use it.
2337 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2339         * pcomplete.el: Require comint.
2340         (pcomplete--common-suffix): Remove.
2341         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2342         (pcomplete--table-subvert): Sync with comint--table-subvert.
2343         (pcomplete--entries): Use comint-completion-file-name-table.
2344         * comint.el (comint-unquote-filename): Simplify.
2345         (comint-completion-file-name-table): New function (bug#9616).
2346         (comint--complete-file-name-data): Use it.
2348         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2349         (pcmpl-gnu-tar-buffer): Remove.
2350         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
2351         around.  Make sure pcomplete-suffix-list is only changed temporarily.
2352         Don't look inside the tar's file if it's too large.
2354 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
2356         * cus-edit.el (custom-mode-map):
2357         * epa.el (epa-key-list-mode-map):
2358         * man.el (Man-mode-map):
2359         * startup.el (splash-screen-keymap):
2360         * simple.el (special-mode-map): Use scroll-up-command and
2361         scroll-down-command.
2363         * progmodes/idlw-help.el (idlwave-help-mode-map):
2364         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2365         * net/newst-plainview.el (newsticker-mode-map):
2366         * emulation/ws-mode.el (wordstar-mode-map):
2367         * emulation/vi.el (vi-com-map):
2368         * calc/calc-graph.el (calc-graph-show-dumb):
2369         * term/sun.el (terminal-init-sun):
2370         * term/ns-win.el (global-map):
2371         * progmodes/grep.el (grep-mode-map):
2372         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2373         * mail/rmail.el (rmail-mode-map):
2374         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2376         * custom.el (custom-safe-themes, load-theme): Treat value of t for
2377         custom-safe-themes as special.
2379 2011-10-01  Julien Danjou  <julien@danjou.info>
2381         * notifications.el (notifications-notify): Fix docstring.
2383 2011-10-01  Per Starbäck  <per@starback.se>
2385         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
2387 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
2389         * startup.el (command-line-1): Fix last fix by inserting
2390         initial-scratch-message into *scratch* before displaying it.
2391         (Bug#9605) and (Bug#9636)
2393 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
2395         * simple.el (line-move): If auto-hscroll-mode is disabled and the
2396         window is hscrolled, move by logical lines.  (Bug#9607)
2397         (line-move-visual): Update the doc string to the above effect.
2399 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
2401         * window.el (display-buffer-record-window): When WINDOW is the
2402         selected window use `point' instead of `window-point'.  (Bug#9626)
2404         * startup.el (command-line-1): Use insert-before-markers when
2405         inserting initial-scratch-message.  (Bug#9605)
2407         * help.el (help-window): Remove variable.
2409 2011-09-29  Glenn Morris  <rgm@gnu.org>
2411         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2413 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
2415         * descr-text.el (describe-char-categories): Accept category
2416         descriptions more than one line long.
2418 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2420         * simple.el (delete-trailing-whitespace): Fix last change.
2422         * progmodes/perl-mode.el (perl-syntax-propertize-function):
2423         Don't confuse "y => 3" as the beginning of a `y' operation.
2425         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2426         object has more than 4 slots (bug#9613).
2428 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
2430         * subr.el (with-output-to-temp-buffer):
2431         * net/quickurl.el (quickurl, quickurl-browse-url):
2432         Fix typos in docstrings.
2434 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
2436         * minibuffer.el (completion-styles)
2437         (completion-category-overrides): Cross reference each other in doc
2438         strings.
2440 2011-09-27  Glenn Morris  <rgm@gnu.org>
2442         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2443         to split-string.  (Bug#9606)
2445 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2447         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2448         (bug#9615).
2450 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
2452         * emacs-lisp/package.el (list-packages): Fix echo area message.
2454 2011-09-27  Leo Liu  <sdl.web@gmail.com>
2456         * ido.el (ido-read-internal): Accept cons cell HIST arg.
2458 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
2460         * net/dbus.el (dbus-unregister-object): Don't release services for
2461         registered signals.  (Bug#9581)
2463 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
2465         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2466         function that picks between cfengine 2 and 3 support
2467         automatically.  Update docs accordingly.
2469 2011-09-22  Kenichi Handa  <handa@m17n.org>
2471         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2472         ZERO.
2473         (indian-itrans-v5-table-for-tamil): New variable.
2474         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2476 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
2478         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2479         that's true if the current command involved collapsing of text.
2480         It's reset to false at the beginning of the next command.
2481         (allout-post-command-business): Move the cursor to the beginning
2482         of entry if the cursor is hidden and collapsing activity just
2483         happened.
2485 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
2487         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2488         tracking (Bug#9541).
2490 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
2492         * net/newst-reader.el (newsticker-html-renderer)
2493         (newsticker-show-news): Automatically load html rendering package
2494         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
2495         because w3m-fill-column is let-bound" and the error "Symbol's value
2496         as variable is void: w3m-fill-column".
2498 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
2500         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2501         Release services only if they are defined.  (Bug#9581)
2503 2011-09-23  Richard Stallman  <rms@gnu.org>
2505         * textmodes/paragraphs.el (forward-sentence): For backwards case,
2506         distinguish start of paragraph from start of its text.
2508         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2510         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2511         (rmail-generate-viewer-buffer): Put that hook on view buffer.
2512         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2514 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
2516         * international/mule-diag.el (mule-diag): Insert a newline after
2517         each fontset description.
2519 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2521         * simple.el (delete-trailing-whitespace):
2522         Document last change; simplify.
2524 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
2526         * simple.el (delete-trailing-whitespace): Also delete
2527         extra newlines at the end of the buffer.
2529         * textmodes/picture.el: Make motion commands obey shift-select-mode.
2530         (picture-newline): Use forward-line so as to ignore fields.
2532 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2534         * subr.el (with-wrapper-hook): Fix edebug spec.
2536 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2538         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2539         (bug#4538).
2541 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
2543         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2544         Fix nasty bug using wrong cached values.
2546 2011-09-23  Alan Mackenzie  <acm@muc.de>
2548         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2550 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
2552         * window.el (pop-to-buffer): Ensure right window is selected if we
2553         chose another frame.
2555 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
2557         * simple.el (what-cursor-position): Use get-char-property-change
2558         and next-single-char-property-change, to be able to show display
2559         properties that come from overlays as well as text properties.
2561 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
2563         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2565         * cmuscheme.el (run-scheme, switch-to-scheme):
2566         * cus-edit.el (customize-group, custom-buffer-create)
2567         (customize-browse):
2568         * info.el (info):
2569         * shell.el (shell):
2570         * mail/sendmail.el (mail):
2571         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2573 2011-09-22  Richard Stallman  <rms@gnu.org>
2575         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2576         move back only to line beg, don't move back over blank lines.
2578 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
2580         * files.el (copy-directory): Set directory attributes only in case
2581         they could be retrieved from the source directory.  (Bug#9565)
2583 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
2585         * progmodes/hideshow.el (hs-looking-at-block-start-p)
2586         (hs-find-block-beginning, hs-hide-level-recursive):
2587         Ignore strings as well as comments.  (Bug#9502)
2589 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
2591         * progmodes/sql.el (sql-comint-postgres):
2592         Convert port number to a string.  (Bug#9566)
2594 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
2596         * window.el (quit-window): Undedicate window when switching to
2597         previous buffer.  Reported by Thierry Volpiatto
2598         <thierry.volpiatto@gmail.com>.
2599         (special-display-popup-frame): When popping up a new frame reset
2600         its previous buffers to nil.  Simplify code.
2602 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
2604         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2605         and process filter, as done also in `shell-command'.
2607 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
2609         * window.el (set-window-buffer-start-and-point):
2610         Call set-window-start with NOFORCE argument t.
2611         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2612         (quit-window): Reword doc-string.  Handle new format of
2613         quit-restore parameter.  Don't delete window if it has a
2614         previous buffer we can show instead of the present one.
2615         (display-buffer-record-window): Rewrite using a new format for
2616         the quit-restore window parameter
2617         (special-display-popup-frame, display-buffer-same-window)
2618         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2619         (display-buffer-pop-up-window, display-buffer-use-some-window):
2620         Adapt symbol passed to display-buffer-record-window.
2621         * help.el (help-window-setup): Handle new format of quit-restore
2622         parameter.
2624 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2626         * faces.el (face-list): Fix docstring (bug#9564).
2628         * window.el (display-buffer--action-function-custom-type):
2629         Don't include internal functions in the Custom interface.
2631 2011-09-20  Juri Linkov  <juri@jurta.org>
2633         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2634         (Info-forward-node, Info-backward-node, Info-next-preorder)
2635         (Info-last-preorder): Use it.  (Bug#9528)
2637 2011-09-20  Juri Linkov  <juri@jurta.org>
2639         * info.el (Info-last-preorder): Visit last menu item only when
2640         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2642 2011-09-20  Julien Danjou  <julien@danjou.info>
2644         * password-cache.el (password-cache-remove): Remove entries even if the
2645         value is nil, so that password with a nil value (negative caching) is
2646         possible to invalidate.
2648 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
2650         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2651         all whitespace around breakpoint.  (Bug#9553)
2652         (f90-find-breakpoint): Only break at whitespace inside a comment.
2654 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2656         * minibuffer.el (completion-file-name-table): Keep track of errors.
2657         (completion-table-with-predicate): Handle the case where pred1 is nil.
2658         * pcomplete.el (pcomplete-completions-at-point): Simplify.
2660 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2662         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2663         (debugger-return-value): Signal an error if the debugging context does
2664         not await any return value.
2666         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2667         * image-mode.el (image-toggle-display-text)
2668         (image-toggle-display-image): Stay away from evil `intangible'.
2670 2011-09-19  Leo Liu  <sdl.web@gmail.com>
2672         * replace.el (occur-revert-arguments): Make it permanent-local.
2673         (occur-mode): Don't call font-lock-defontify.
2675 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
2677         * net/ldap.el (ldap-search-internal): Don't push empty search
2678         result (Bug#9508).
2680 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2682         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2684 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
2686         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2687         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2689 2011-09-18  Juri Linkov  <juri@jurta.org>
2691         * buff-menu.el (Buffer-menu-mode-map):
2692         * dired.el (dired-mode-map):
2693         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2694         (lisp-interaction-mode-map):
2695         * emacs-lisp/package.el (package-menu-mode-map):
2696         * epa.el (epa-key-list-mode-map):
2697         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2698         (menu-bar-options-menu):
2699         * outline.el (outline-mode-menu-bar-map):
2700         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2701         * vc/vc-dir.el (vc-dir-menu-map):
2702         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2703         Capitalize non-function content words in menu item strings.
2705         * dired.el (dired-mode-map): Add menu item for
2706         `image-dired-dired-toggle-marked-thumbs'.
2708 2011-09-18  Juri Linkov  <juri@jurta.org>
2710         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2711         to `isearch-case-fold-search' and restore its original value
2712         after the `isearch-mode' call.
2714 2011-09-18  Juri Linkov  <juri@jurta.org>
2716         * progmodes/grep.el (grep-process-setup): Don't check code for 1
2717         because `zgrep' returns 1 for successful matches (bug#9226).
2719 2011-09-18  Juri Linkov  <juri@jurta.org>
2721         * info.el (Info-extract-menu-node-name): Check the second match
2722         for empty string (second test-case of bug#9528).
2723         (Info-last-preorder): Let-bind `Info-history' to nil to not add
2724         intermediate nodes to the history (first test-case of bug#9528).
2726 2011-09-18  Juri Linkov  <juri@jurta.org>
2728         * info.el (Info-mode-syntax-table): New variable.
2729         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
2731 2011-09-18  Juri Linkov  <juri@jurta.org>
2733         * info.el (Info-file-supports-index-cookies):
2734         Increment line-beginning-position's arg from 3 to 4 because makeinfo
2735         outputs one more line for long file names (bug#4142).
2737 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
2739         * newcomment.el (comment-normalize-vars): If prompting for
2740         comment-start, set comment-start-skip too (Bug#8424).
2742 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
2744         * icomplete.el: Fix previous fix of Bug#5849.
2745         (icomplete-mode): Don't set completion-show-inline-help.
2746         (icomplete-minibuffer-setup): Set completion-show-inline-help
2747         locally during icompletion.
2749 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
2751         * woman.el (woman2-process-escapes): Don't delete unrecognized
2752         escapes (Bug#7843).
2754         * files.el (inhibit-first-line-modes-regexps): Add image files.
2755         (hack-local-variables-prop-line): Return nil for malformed
2756         prop-lines (Bug#9044).
2758 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
2760         * net/tramp.el (top): Don't require 'shell.
2761         (tramp-methods): Fix docstring.
2762         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
2763         Return complete remote file name.  Handle "smb" case.
2764         Use `tramp-tmpdir', if defined for the respective method.
2765         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2767         * net/tramp-compat.el (top): Require 'shell.
2769         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2770         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2771         `tramp-current-host'.
2772         (tramp-get-remote-tmpdir): Remove.
2774         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2775         `tramp-tmpdir' entries.
2776         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2777         (tramp-smb-handle-file-attributes): Ignore errors.
2778         (tramp-smb-wait-for-output): Check also for process end.
2780 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2782         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2783         when sending QUIT (bug#9312).
2785 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
2787         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2788         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2789         occur-mode-display-occurrence.
2790         (occur-edit-mode): Add usage message.
2791         (occur-cease-edit): New command.
2792         (occur-after-change-function): Use text properties to find the
2793         position of the prefix text.
2794         (occur-engine): Set stickiness of prefix text properties.
2796 2011-09-17  Glenn Morris  <rgm@gnu.org>
2798         * progmodes/etags.el (complete-tag):
2799         Fix call to completion-in-region.  (Bug#9526)
2801 2011-09-17  Juri Linkov  <juri@jurta.org>
2803         * textmodes/ispell.el (ispell-word): Add to the error message
2804         the word, ispell program name and current dictionary (bug#9121).
2805         (ispell-tex-arg-end): Capitalize "error" in the error message.
2807 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
2809         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2810         check.  (Bug#4251)
2812 2011-09-17  Juri Linkov  <juri@jurta.org>
2814         * window.el (window-safe-min-height, window-safe-min-width):
2815         Fix typos (followup to bug#9522).
2817 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
2819         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2821 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
2823         * simple.el (line-move): If goal-column is set, move by logical
2824         lines, not by display lines.  (Bug#971)
2825         (next-line, previous-line, goal-column, line-move-visual): Doc fix
2826         to reflect the above change.
2828 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2830         * image.el (imagemagick-register-types): Use regexp-opt.
2832 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
2834         * window.el (display-buffer-base-action): Rename from
2835         display-buffer-default-action.  Make default value empty.
2836         (display-buffer-overriding-action): Convert to defvar.
2837         (display-buffer-fallback-action): New var.
2839 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
2841         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2842         declaration.
2843         (package--add-to-archive-contents): If there is a duplicate entry
2844         with an older version, remove it.
2845         (package-menu-mark-delete, package-menu-mark-install)
2846         (package-menu-mark-unmark): Make unused args optional.
2847         (package-menu-mark-obsolete-for-deletion):
2848         Use package-menu-get-status instead of a regexp search.
2849         (package-menu-get-status): Use tabulated-list-entry.
2850         (package-menu-mark-upgrades): New command.
2851         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
2852         (package-menu-execute): Do installation before deletion.
2853         (package-menu-refresh, package-menu-execute): Use derived-mode-p
2854         instead of checking major-mode.
2855         (package-menu--find-upgrades): New function.
2857 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2859         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2860         passwords in the log buffer.
2861         (smtpmail-process-filter): Update the process marker so that the
2862         "broken by peer" status message is inserted in the right place.
2864 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2866         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2867         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2868         bibtex-completion-at-point-function.
2869         (bibtex-completion-at-point-function): Use them.
2871         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2873         * mpc.el (mpc-constraints-tag-lookup): New function.
2874         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2875         also to browser "album|playlist".
2877 2011-09-14  Juri Linkov  <juri@jurta.org>
2879         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
2880         (isearch-edit-string): Use length of `isearch-string' when
2881         `isearch-fail-pos' returns nil.
2882         (isearch-message): Remove duplicate code and call
2883         `isearch-fail-pos' with arg `t'.
2885 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
2887         * replace.el (occur-mode-goto-occurrence): Don't force using other
2888         window (Bug#9499).
2890         * dired-aux.el (dired-do-chmod): Don't provide initial input.
2892 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
2894         * window.el (display-buffer-window): Remove.
2895         (display-buffer-record-window): Use help-setup window parameter
2896         instead of variable display-buffer-window.
2897         (display-buffer-function, special-display-buffer-names)
2898         (special-display-function): Mention help-setup parameter instead
2899         of display-buffer-window in doc-string.
2900         * help.el (help-window-setup): New argument help-window.
2901         Use help-window-setup parameter instead of display-buffer-window.
2902         Reword some messages.
2903         (with-help-window): Pass window used for displaying the buffer
2904         to help-window-setup.  Don't set display-buffer-window.
2906 2011-09-13  Glenn Morris  <rgm@gnu.org>
2908         * emacs-lisp/debug.el (debugger-make-xrefs):
2909         Preserve point.  (Bug#9462)
2911 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
2913         * window.el (window-deletable-p): Use next-frame.
2915 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
2917         * window.el (window-auto-delete): Remove.
2918         (window-deletable-p): Remove argument FORCE.  Don't deal with
2919         dedication and previous buffers.
2920         (switch-to-prev-buffer): Don't delete window.
2921         (delete-windows-on): Delete a window's frame if and only if the
2922         window is dedicated.
2923         (replace-buffer-in-windows): Delete buffer's window or frame if
2924         and only if window is dedicated.
2925         (quit-window): Handle quit-restore as before last change.
2926         (bury-buffer): Delete window only if window-deletable-p returns t.
2928 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
2930         * window.el (window-deletable-p): Never delete the last frame on a
2931         given terminal.
2933 2011-09-13  Glenn Morris  <rgm@gnu.org>
2935         * help.el (describe-key-briefly): Copy previous standard-output change.
2937 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
2939         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
2941 2011-09-13  Glenn Morris  <rgm@gnu.org>
2943         * emacs-lisp/lisp-mode.el (lisp-indent-function):
2944         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2946 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
2948         * dired-aux.el (dired-mark-read-string): Don't return default
2949         value on empty input (Bug#9361).
2950         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2951         Omit initial minibuffer contents.
2952         (dired-do-chmod): Signal an error on empty input.
2953         (dired-mark-read-string): Don't return default on empty input.
2955         * files.el (file-modes-symbolic-to-number): Doc fix.
2957 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2959         * international/mule-cmds.el (ucs-completions): Remove.
2960         (read-char-by-name): Use complete-with-action instead; add metadata.
2962 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
2964         * window.el (display-buffer--action-function-custom-type)
2965         (display-buffer--action-custom-type): New vars.
2966         (display-buffer-alist, display-buffer-default-action)
2967         (display-buffer-overriding-action): Add defcustom types.
2969         * frame.el (delete-other-frames): Doc fix (Bug#276).
2971 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2973         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2975 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
2977         Change modes that used same-window-* vars to use switch-to-buffer.
2979         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2980         Use switch-to-buffer.
2982         * cus-edit.el (customize-group, custom-buffer-create)
2983         (customize-browse, custom-buffer-create-other-window):
2984         Use switch-to-buffer or switch-to-buffer-other-window.
2986         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2987         (Info-prev, Info-up, Info-speedbar-goto-node)
2988         (info-display-manual): Use switch-to-buffer.
2989         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2991         * mail/sendmail.el (mail): Use switch-to-buffer.
2992         (mail-recover): Use switch-to-buffer-other-window.
2994         * cmuscheme.el (run-scheme, switch-to-scheme):
2995         * ielm.el (ielm):
2996         * shell.el (shell):
2997         * net/rlogin.el (rlogin):
2998         * net/telnet.el (telnet, rsh):
2999         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3001 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
3003         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3005 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3007         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3008         so don't mention it (bug#9301).
3009         (dired-sort-toggle-or-edit): Clarify string further.
3011         * faces.el (face-spec-set-match-display): Make `(type graphic)'
3012         match `x', `w32' and `ns', like the manual says (bug#9029).
3014         * subr.el (eval-after-load): Doc string clarification (bug#9125).
3015         (process-kill-buffer-query-function): Mention the buffer name in
3016         the query.
3018         * image-mode.el (image-next-line): The line parameter is mandatory
3019         (bug#9258).
3021         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3022         which can be useful (bug#9301).
3024         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3026         * subr.el (match-string): Mention that the current buffer should
3027         be the same as the search was done in (bug#9282).
3029         * facemenu.el: Disable the remove-* commands if the mark isn't
3030         active (bug#9162).
3032 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
3034         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3035         of display-buffer.
3036         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3038         * replace.el (occur-mode-goto-occurrence)
3039         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3040         and display-buffer.
3042         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3043         display-buffer.
3045         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3046         special-display and same-window variables.
3047         (mail-other-window): Use switch-to-buffer-other-window.
3048         (mail-other-frame): USe switch-to-buffer-other-frame.
3050         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3051         Use display-buffer-other-frame.
3052         (gdb-display-gdb-buffer): Use pop-to-buffer.
3054         * progmodes/gud.el (gud-goto-info): Use info-other-window.
3056         * progmodes/python.el: Don't set same-window-buffer-names.
3058         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3060         * window.el (display-buffer-alist): Add *Python*.
3062 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
3064         * window.el (display-buffer-alist): Add entry for buffers
3065         previously handled same-window-*.
3066         (display-buffer-alist, display-buffer-default-action)
3067         (display-buffer-overriding-action): Mark as risky.
3068         (display-buffer-alist): Document action function changes.
3069         (display-buffer--same-window-action)
3070         (display-buffer--other-frame-action): New variables.
3071         (switch-to-buffer, display-buffer-other-frame): Use them.
3072         (display-buffer): Rename reuse-frame entry to reusable-frames.
3073         (display-buffer-reuse-selected-window): Function deleted.
3074         (display-buffer-reuse-window): Handle reusable-frames alist entry.
3075         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3076         (display-buffer-special): New function.
3077         (display-buffer--maybe-pop-up-frame-or-window): Rename from
3078         display-buffer-reuse-or-pop-window.  Split off special-display
3079         part into display-buffer-special.
3080         (display-buffer-use-some-window): Don't perform any special
3081         pop-up-frames handling.
3082         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
3083         (display-buffer--maybe-same-window): Rename from
3084         display-buffer-maybe-same-window.
3086         * info.el: Don't set same-window-regexps.
3087         (info-setup): New function.
3088         (info-other-window, info): Call it.
3090         * cus-edit.el: Don't set same-window-regexps.
3091         (customize-group): New argument.
3092         (customize-group-other-window): Use it.
3093         (customize-face, customize-face-other-window): Likewise.
3094         (custom-buffer-create-other-window): Use pop-to-buffer directly.
3096         * net/rlogin.el:
3097         * net/telnet.el:
3098         * progmodes/gud.el: Don't set same-window-regexps.
3100         * cmuscheme.el:
3101         * ielm.el:
3102         * shell.el:
3103         * mail/sendmail.el:
3104         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3106 2011-09-10  Juri Linkov  <juri@jurta.org>
3108         * isearch.el (isearch-edit-string): Remove obsolete mention of
3109         `C-w' (`isearch-yank-word-or-char') from docstring.
3110         (isearch-query-replace): Fix typo in docstring (bug#9466).
3112 2011-09-10  Juri Linkov  <juri@jurta.org>
3114         * paren.el (show-paren-function): Don't show escaped parens.
3115         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
3117 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
3119         * mail/sendmail.el (mml-to-mime, mml-attach-file)
3120         (mm-default-file-encoding): Remove autoload forms, they are
3121         replaced with autoload cookies in mml.el and mm-encode.el.
3122         (mail-add-attachment): New command.
3123         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3124         (mail-mode): Mention mail-insert-file and mail-add-attachment in
3125         the doc string.
3126         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3128 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
3130         * simple.el (count-words-region): Use buffer if there's no region
3131         (bug#9429).
3133 2011-09-09  Juri Linkov  <juri@jurta.org>
3135         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3136         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3137         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
3139 2011-09-09  Alan Mackenzie  <acm@muc.de>
3141         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3142         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
3144 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
3146         Fix for Savannah bug#9392.
3147         * simple.el (mail-encode-mml): New defvar.
3149         * mail/rmail.el (mail-encode-mml): Add a defvar.
3150         (rmail-enable-mime-composing): Default to t.
3151         (rmail-forward): Use MIME method of forwarding only if both
3152         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3153         Set mail-encode-mml non-nil if the MIME method was used.
3155         * mail/sendmail.el (mml-to-mime): Add autoload form.
3156         (mail-encode-mml): Add a defvar.
3157         (mail-mode): Make mail-encode-mml buffer-local and initialize it
3158         to nil.
3159         (mail-send): If mail-encode-mml is non-nil, run the outgoing
3160         message through mml-to-mime, and reset mail-encode-mml to nil.
3162 2011-09-09  Glenn Morris  <rgm@gnu.org>
3164         * woman.el (woman-if-body): When processing an .el block,
3165         do not delete the next .el block as well.  (Bug#9447)
3166         (woman-special-characters): Add oq, cq, and hy characters.
3168 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
3170         * window.el (window-deletable-p): Make sure window is live before
3171         invoking window-prev-buffers.
3173 2011-09-08  Leo Liu  <sdl.web@gmail.com>
3175         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
3177 2011-09-08  Juri Linkov  <juri@jurta.org>
3179         * progmodes/compile.el (compilation-environment): Make it
3180         a defcustom (bug#8340).
3182 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
3184         * window.el (frame-auto-delete): Rename to window-auto-delete.
3185         Make it control auto-deletion of windows and/or frames.
3186         (window-deletable-p): New argument FORCE.  Rewrite conditions
3187         for deleting window/frame.  (Bug#9419)
3188         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3189         Rewrite handling of case when window/frame can be deleted.
3190         (delete-windows-on): Call window-deletable-p with new FORCE
3191         argument t.  (Bug#9456)
3193 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
3195         * help-mode.el (help-mode): Restore autoload.
3197 2011-09-07  Juri Linkov  <juri@jurta.org>
3199         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3200         `compilation-environment'.  Set buffer-local
3201         `compilation-environment' to `thisenv' later after (funcall mode).
3202         (Bug#8340)
3204         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
3205         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3206         instead of replacing its value.  (Bug#8340)
3208 2011-09-07  Juri Linkov  <juri@jurta.org>
3210         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3211         based on text properties put by `grep-filter' instead of matching
3212         escape sequences.
3213         (grep-mode): Set buffer-local `compilation-error-screen-columns'
3214         to the value of `grep-error-screen-columns' (bug#9438).
3216 2011-09-07  Juri Linkov  <juri@jurta.org>
3218         * simple.el (next-error-highlight, next-error-highlight-no-select):
3219         Doc fix (bug#9432).
3221 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
3223         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3224         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
3226 2011-09-07  Leo Liu  <sdl.web@gmail.com>
3228         * net/rcirc.el (rcirc-mode): Conditionally initialize
3229         rcirc-input-ring.
3231 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3233         * emacs-lisp/find-func.el (find-function-C-source): Only set
3234         find-function-C-source-directory after checking that we found a source
3235         file there (bug#9440).
3237 2011-09-06  Alan Mackenzie  <acm@muc.de>
3239         * isearch.el (isearch-other-meta-char): Wherever a key list is
3240         unread, "unread" the prefix arg, too.  This fixes bug #8901.
3242 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
3244         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3246 2011-09-05  Juri Linkov  <juri@jurta.org>
3248         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3250 2011-09-05  Juri Linkov  <juri@jurta.org>
3252         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3253         keeping point where processing of grep matches begins, and
3254         continue to delete remaining escape sequences from the same point.
3255         (grep-filter): Make leading zero optional in "0?1;31m" because
3256         git-grep emits "\033[1;31m" escape sequences unlike expected
3257         "\033[01;31m" as GNU Grep does (bug#9408).
3258         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3260 2011-09-05  Juri Linkov  <juri@jurta.org>
3262         * subr.el (y-or-n-p): Capitalize "yes".
3264 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
3266         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
3267         `tramp-cache-unload-hook' where appropriate.
3268         (tramp-methods): Rename `tramp-remote-sh' to
3269         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
3270         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3272         * net/tramp-sh.el (top): Don't require 'shell.
3273         (tramp-methods): Add `tramp-remote-shell' and
3274         `tramp-remote-shell-args' entries.
3275         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3276         (tramp-sh-handle-shell-command): Remove.
3277         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3278         Use `tramp-remote-shell'.
3280 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
3282         * mail/sendmail.el (sendmail-query-once-function): Delete.
3283         (sendmail-query-once): Save directly to send-mail-function.
3284         Update message-send-mail-function too.
3286         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3288 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
3290         * progmodes/python.el (python-mode-map): Use correct function to
3291         start python interpreter from menu-bar (as reported by Geert
3292         Kloosterman).
3293         (inferior-python-mode-map): Fix typo.
3294         (python-shell-map): Remove.
3296 2011-09-03  Deniz Dogan  <deniz@dogan.se>
3298         * net/rcirc.el (rcirc-print): Simplify code for
3299         rcirc-scroll-show-maximum-output.  There is no need to walk
3300         through all windows to find the right one.
3302 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
3304         * help.el (help-return-method): Doc fix.
3306 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
3308         * window.el (window-deletable-p): Don't return a non-nil value
3309         when there's a buffer that was shown in the window before.
3310         (Bug#9419)
3311         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3312         Set window's previous buffers to nil.
3314 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
3316         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3317         newline before and after the tag line, so it doesn't interfere
3318         with determining the paragraph direction of bidirectional text.
3320 2011-09-03  Leo Liu  <sdl.web@gmail.com>
3322         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
3324 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
3326         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
3327         (pop-to-buffer): Change interactive spec.  Pass second argument
3328         directly to display-buffer.
3329         (display-buffer): Fix interactive spec.  Use functionp to
3330         distinguish between a function and a list of functions.
3332         * abbrev.el (edit-abbrevs):
3333         * arc-mode.el (archive-extract):
3334         * autoinsert.el (auto-insert):
3335         * bookmark.el (bookmark-bmenu-list):
3336         * files.el (find-file):
3337         * view.el (view-buffer):
3338         * progmodes/compile.el (compilation-goto-locus):
3339         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3341 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
3343         * window.el (display-buffer-alist): Doc fix.
3344         (display-buffer): Add docstring.  Don't treat
3345         display-buffer-default specially.
3346         (display-buffer-reuse-selected-window)
3347         (display-buffer-same-window, display-buffer-maybe-same-window)
3348         (display-buffer-reuse-window, display-buffer-pop-up-frame)
3349         (display-buffer-pop-up-window)
3350         (display-buffer-reuse-or-pop-window)
3351         (display-buffer-use-some-window): New functions.
3352         (display-buffer-default-action): Use them.
3353         (display-buffer-default): Delete.
3354         (pop-to-buffer-1): Fix choice of actions.
3356 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3358         * minibuffer.el (completion--insert-strings): Don't get confused by
3359         completion entries that end with an LF char.
3361 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
3363         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3365 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
3367         * window.el (display-buffer): Restore interactive spec.
3368         (display-buffer-same-window, display-buffer-other-window):
3369         New functions.
3370         (pop-to-buffer-1): New function.  Use the above.
3371         (pop-to-buffer, pop-to-buffer-same-window): Use it.
3372         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
3374         * view.el (view-buffer-other-window, view-buffer-other-frame):
3375         Just use pop-to-buffer.
3377 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3379         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
3381 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
3383         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
3385 2011-08-31  Richard Stallman  <rms@gnu.org>
3387         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3388         of the separation of rmail-view-buffer from rmail-buffer.
3389         If you say no to "replace original", the decrypt is in the
3390         view buffer.  If you say yes, the decrypt goes into the
3391         rmail buffer also.
3393 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
3395         * window.el (display-buffer-window): Rewrite doc-string.
3396         (display-buffer-record-window): New function.
3397         (display-buffer-macro-specifiers)
3398         (display-buffer-even-window-sizes, display-buffer-set-height)
3399         (display-buffer-set-width, display-buffer-in-window)
3400         (display-buffer-reuse-window, display-buffer-split-specifiers)
3401         (display-buffer-side-specifiers, display-buffer-split-window-1)
3402         (display-buffer-split-window, display-buffer-split-atom-window)
3403         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3404         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3405         (display-buffer-other-window-means-other-frame)
3406         (display-buffer-normalize-special)
3407         (display-buffer-normalize-default)
3408         (display-buffer-normalize-argument)
3409         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3410         (display-buffer-normalize-specifiers, display-buffer-frame)
3411         (display-buffer-same-window, display-buffer-same-frame)
3412         (display-buffer-other-window)
3413         (display-buffer-same-frame-other-window)
3414         (display-buffer-other-frame, pop-to-buffer-same-window)
3415         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3416         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3417         (switch-to-buffer-same-frame)
3418         (switch-to-buffer-other-window-same-frame)
3419         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3420         (display-buffer-alist-set-1, display-buffer-alist-set-2)
3421         (display-buffer-alist-set): Remove.
3422         (display-buffer-function, special-display-buffer-names)
3423         (special-display-regexps, special-display-function):
3424         In doc-string refer to display-buffer-window and quit-restore
3425         parameter.
3426         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3427         (special-display-frame-alist, special-display-popup-frame)
3428         (same-window-buffer-names, same-window-regexps, same-window-p)
3429         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3430         (split-window-preferred-function, split-height-threshold)
3431         (split-width-threshold, window-splittable-p)
3432         (split-window-sensibly, window--try-to-split-window)
3433         (window--frame-usable-p, even-window-heights)
3434         (window--even-window-heights, window--display-buffer-1)
3435         (window--display-buffer-2, display-buffer-other-frame):
3436         Restore old Emacs 23 code, order and doc-strings where applicable.
3437         (display-buffer-default, display-buffer-assq-regexp): New functions.
3438         (display-buffer-alist): Rewrite doc-string.
3439         (display-buffer-default-action)
3440         (display-buffer-overriding-action): New variables.
3441         (display-buffer, switch-to-buffer): Rewrite.
3442         (pop-to-buffer): Restore Emacs 23 behavior but use
3443         window-normalize-buffer-to-display.
3444         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3445         Restore Emacs 23 behavior but use
3446         window-normalize-buffer-to-switch-to.
3447         (pop-to-buffer-same-window): Rewrite.
3448         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3449         Rewrite using Emacs 23 options.
3451 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
3453         * net/tramp.el (tramp-root-regexp): Remove.
3454         (tramp-completion-file-name-regexp-unified)
3455         (tramp-completion-file-name-regexp-separate)
3456         (tramp-completion-file-name-regexp-url): Don't use leading volume
3457         letter on win32 systems.  (Bug#5303, Bug#9311)
3458         (tramp-drop-volume-letter): Simplify definition.
3459         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3461 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3463         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3464         (bug#9356).
3466 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
3468         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
3470 2011-08-29  Juri Linkov  <juri@jurta.org>
3472         * isearch.el (isearch-done): Don't display message "Mark saved"
3473         when arg `edit' is non-nil to prevent its flicker in the echo area.
3475 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
3477         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3478         obsolete packages for deletion.
3480 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
3482         * help-mode.el (help-mode-map): Add special-mode-map to parent.
3483         (help-mode): Derive help-mode from special-mode.  Don't invoke
3484         view-mode from help-mode.
3485         (help-xref-override-view-map): Remove.
3486         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3487         view-mode is not used anymore.
3489 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
3491         * server.el (server-port): Doc fix.
3493         * cus-theme.el (custom-theme-choose-mode): Inherit from
3494         special-mode (Bug#9124).
3495         (custom-theme-choose-mode-map): Add special-mode to parent.
3497 2011-08-28  Alan Mackenzie  <acm@muc.de>
3499         * progmodes/cc-fonts.el
3500         (c-make-font-lock-BO-decl-search-function): New function.
3501         (c-basic-matchers-after - "Fontify the clauses after various
3502         keywords"): Extract the three keyword lists for the 3 erroneous
3503         constructs from the list of four, and use the new function above
3504         in place of an old one.
3506 2011-08-28  Deniz Dogan  <deniz@dogan.se>
3508         * net/rcirc.el (rcirc-insert-prev-input)
3509         (rcirc-insert-next-input): Remove unused argument.
3511 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3513         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3515 2011-08-27  Alan Mackenzie  <acm@muc.de>
3517         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3518         handle function pointer parameters properly.
3520 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
3522         * window.el (display-buffer-reuse-window): Fix case where
3523         selected window was reused with non-nil OTHER-WINDOW argument.
3524         (Bug#9381)
3526 2011-08-27  Deniz Dogan  <deniz@dogan.se>
3528         * net/rcirc.el (rcirc-check-auth-status): Adding support for
3529         oftc's NickServ messages.
3531 2011-08-27  Glenn Morris  <rgm@gnu.org>
3533         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
3535 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
3537         * emacs-lisp/package.el (package-install): Call package-initialize
3538         if called interactively.
3540 2011-08-26  Leo Liu  <sdl.web@gmail.com>
3542         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
3544 2011-08-25  Juri Linkov  <juri@jurta.org>
3546         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3547         `search-whitespace-regexp' (bug#9364).
3549 2011-08-25  Juri Linkov  <juri@jurta.org>
3551         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3552         `regexp-search-ring' to their global values to protect from
3553         updating by `read-from-minibuffer' (bug#9185).
3555 2011-08-25  Juri Linkov  <juri@jurta.org>
3557         * textmodes/ispell.el (ispell-command-loop): Add newline
3558         at the end of the "Use option `i'..." line.
3560 2011-08-25  Juri Linkov  <juri@jurta.org>
3562         * battery.el (display-battery-mode): If `battery-status-function'
3563         or `battery-mode-line-format' is nil, display the message and set
3564         `display-battery-mode' to nil (bug#9363).
3566 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
3568         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3569         bidi-string-mark-left-to-right; they are unnecessary now.
3571 2011-08-25  Deniz Dogan  <deniz@dogan.se>
3573         * net/quickurl.el: Documentation typo fixes.
3575 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
3577         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3579 2011-08-25  Glenn Morris  <rgm@gnu.org>
3581         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3583         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3584         (smtpmail-via-smtp): Handle nil response from smtp.
3586 2011-08-24  Juri Linkov  <juri@jurta.org>
3588         * proced.el (proced-marked): Inherit from `error' instead of
3589         `font-lock-warning-face'.
3591         * ibuffer.el (ibuffer-marked-face): Change default face from
3592         `font-lock-warning-face' to `warning'.
3593         (ibuffer-deletion-face): Change default face from
3594         `font-lock-type-face' to `error'.
3596         * battery.el (battery-update): Use the face `error' instead of
3597         `font-lock-warning-face' (bug#6117).
3599 2011-08-24  Juri Linkov  <juri@jurta.org>
3601         * faces.el (success): Change face color from "Green3" to
3602         "ForestGreen" on light background (bug#9353).
3604 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
3606         * window.el (quit-window): Rename from quit-restore-window.
3607         Use same arglist as old quit-window.
3608         (frame-auto-delete): Doc fix.
3610         * view.el (view-mode-exit): Use quit-window.
3612 2011-08-24  Juri Linkov  <juri@jurta.org>
3614         * isearch.el (isearch-ring-adjust1): Start visiting previous
3615         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3616         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3617         for empty search string (when the last search string is reused
3618         automatically) to adjust the isearch ring to the last element and
3619         prepare the correct index for further M-p commands (bug#9185).
3621 2011-08-24  Kenichi Handa  <handa@m17n.org>
3623         * international/ucs-normalize.el: If decomposition property of
3624         CHAR is the default one (i.e. a list of CHAR itself), treat it as
3625         nil.
3626         (nfd, nfkd): Likewise.
3628 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3630         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3631         from process filters aren't reliably transmitted to the surrounding
3632         accept-process-output.
3633         (mpc-proc-check): New function.
3634         (mpc-proc-sync): Use it (bug#8293)
3636 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3638         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3639         Add compatibility functions (bug#9313).
3641 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
3643         * cus-start.el (all): Add entry for bidi-paragraph-direction.
3645         * international/uni-bidi.el: Regenerated.
3647 2011-08-23  Kenichi Handa  <handa@m17n.org>
3649         * international/charprop.el:
3650         * international/uni-bidi.el:
3651         * international/uni-category.el:
3652         * international/uni-combining.el:
3653         * international/uni-comment.el:
3654         * international/uni-decimal.el:
3655         * international/uni-decomposition.el:
3656         * international/uni-digit.el:
3657         * international/uni-lowercase.el:
3658         * international/uni-mirrored.el:
3659         * international/uni-name.el:
3660         * international/uni-numeric.el:
3661         * international/uni-old-name.el:
3662         * international/uni-titlecase.el:
3663         * international/uni-uppercase.el: Regenerate.
3665 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
3667         * help.el (help-window-setup): Fix message displayed when other
3668         window is reused.  (Bug#9341)
3670 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3672         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3673         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3675         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3676         Mark obsolete.
3677         * shell.el (shell-parse-pcomplete-arguments): New function.
3678         (shell-completion-vars): Use it instead (bug#9160).
3680 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3682         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3683         strings and comments (bug#9333).
3685         * emacs-lisp/debug.el (debug-arglist): New function.
3686         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
3687         (debug-on-entry-1): Handle interpreted closures (bug#9120).
3689 2011-08-22  Juri Linkov  <juri@jurta.org>
3691         * progmodes/compile.el (compilation-mode-font-lock-keywords):
3692         Revert regexp that highlights output switches to its old
3693         pre-2010-10-28 value and remove one `?' from it (bug#9319).
3695         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3696         to check for empty output (bug#9226).
3698 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
3700         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3701         symbol-constituent as the default, as that stops font-lock from
3702         working properly (Bug#8843).
3704 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3706         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3707         `coding-system-for-*' around the process open call to avoid
3708         auth-source side effects.
3709         (smtpmail-try-auth-methods): Expand the secret password.
3710         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3711         probe hangs.
3713 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
3715         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3717         * emacs-lisp/find-func.el (find-function-noselect): New arg
3718         lisp-only.
3720         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3721         signal an error for built-in functions (Bug#6664).
3723 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3725         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3726         (smtpmail-try-auth-methods): Use it.
3728 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
3730         * font-lock.el (font-lock-fontify-region)
3731         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3732         (font-lock-default-unfontify-buffer)
3733         (font-lock-default-fontify-region)
3734         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3736         * progmodes/compile.el (compilation-error-properties):
3737         Fix confusion between file struct and message struct (Bug#9319).
3738         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3739         `ant' regexp.
3741         * net/browse-url.el (browse-url-firefox): Don't call
3742         browse-url-firefox-sentinel unless using -remote (Bug#9328).
3744 2011-08-20  Glenn Morris  <rgm@gnu.org>
3746         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3748         * tutorial.el (tutorial--default-keys): Update some default bindings.
3750         * files.el (hack-local-variables): Fully ignore case for "mode:".
3752 2011-08-20  Alan Mackenzie  <acm@muc.de>
3754         Resolve invalid use of a regexp in regexp-opt.
3756         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3757         detection for a java annotation.
3759         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
3760         detection for a java annotation.
3762         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3763         handling for java.
3764         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3766 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
3768         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3769         (Bug#9274).
3771 2011-08-20  Alan Mackenzie  <acm@muc.de>
3773         Fontify CPP expressions correctly when starting in the middle of
3774         such a construct.  Mainly for when jit-lock etc. starts a chunk
3775         here.
3777         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
3778         variable.
3779         (c-make-font-lock-search-form): New function, extracted from
3780         c-make-font-lock-search-function.
3781         (c-make-font-lock-search-function): Use the above function.
3782         (c-make-font-lock-context-search-function): New function.
3783         (c-cpp-matchers): Enhance the preprocessor expression case with
3784         the above function
3785         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3786         which takes an expression.
3788         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3790 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
3792         * window.el (display-buffer-reuse-window)
3793         (display-buffer-pop-up-window): Don't reuse or split a side
3794         window.
3796 2011-08-19  Glenn Morris  <rgm@gnu.org>
3798         * files.el (hack-local-variables-prop-line, hack-local-variables):
3799         Downcase "Mode:".  (Bug#9331)
3801 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
3803         * international/characters.el: Add L and R categories.
3805         * subr.el (bidi-string-mark-left-to-right): Rename from
3806         string-mark-left-to-right.  Use category search.
3808         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3810 2011-08-18  Juri Linkov  <juri@jurta.org>
3812         * faces.el (error, warning, success): New faces with definitions
3813         copied from old default values of `font-lock-warning-face',
3814         `compilation-warning', `compilation-info' (bug#6117).
3816         * font-lock.el (font-lock-warning-face): Inherit from `error'.
3818         * progmodes/compile.el (compilation-error): Inherit from `error'.
3819         (compilation-warning): Inherit from `warning'.
3820         (compilation-info): Inherit from `success'.
3822         * dired.el (dired-marked): Inherit from `warning'.
3823         (dired-flagged): Inherit from `error'.
3825 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3827         * mail/smtpmail.el (auth-source): Require to avoid problems with
3828         binding variables (bug#9298).  Also clean up some unused
3829         autoloads.
3831         * net/network-stream.el (network-stream-open-starttls):
3832         Support using starttls.el without using gnutls-cli.
3834 2011-08-17  Juri Linkov  <juri@jurta.org>
3836         * progmodes/grep.el (rgrep): Handle the case when
3837         `grep-find-command' is a cons cell (bug#9278).
3839 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
3841         * window.el (display-buffer-pop-up-frame): Run frame creation
3842         function with BUFFER current (as special-display-popup-frame
3843         does).  Reported by Drew Adams.
3845 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
3847         * epa-mail.el: Simplify GnuPG group expansion using
3848         epg-expand-group.
3849         (epa-mail-group-alist, epa-mail-group-modtime)
3850         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3851         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3852         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3853         Remove.
3855 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
3857         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3859 2011-08-16  Alan Mackenzie  <acm@muc.de>
3861         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3862         Correct, to avoid the inside of macros.
3864 2011-08-16  Richard Stallman  <rms@gnu.org>
3866         * epa-mail.el: Handle GnuPG group definitions.
3867         (epa-mail-group-alist, epa-mail-group-modtime)
3868         (epa-mail-gnupg-conf-file): New variables.
3869         (epa-mail-parse-groups, epa-mail-sync-groups)
3870         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3871         (epa-mail-expand-recipients): New functions.
3872         (epa-mail-encrypt): Call epa-mail-expand-recipients.
3874         * mail/rmail.el (rmail-epa-decrypt): New command.
3876         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3877         Don't bind buffer-read-only, just inhibit-read-only.
3878         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3879         (epa-decrypt-armor-in-region): Make error message clearer.
3881 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3883         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3884         and "a2b" to "ab" for `prefix'.
3886 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
3888         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3889         filter groups.
3890         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
3891         Fourquet (Bug#8804).
3893 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
3895         * startup.el (argi): Declare as global variable (bug#9275).
3897 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
3899         * subr.el (string-mark-left-to-right): Search the entire string
3900         for RTL script, not just the terminating character.  Doc fix.
3902 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3904         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3905         New function.
3906         (js--regexp-literal, js-syntax-propertize-function): Remove.
3907         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3908         (js-mode-map): Don't rebind electric keys.
3909         (js-insert-and-indent): Remove.
3910         (js-mode): Setup electric-layout and electric-indent instead.
3912         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3914 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
3916         * epa.el (epa-progress-callback-function): Fix the logic of
3917         displaying progress.
3918         * epa-file.el (epa-file-insert-file-contents): Make progress
3919         display more user-friendly.
3920         (epa-file-write-region): Ditto.
3922 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
3924         * subr.el (string-mark-left-to-right): New function.
3926         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3927         Use string-mark-left-to-right.
3928         (list-buffers-noselect): Caller changed.
3930         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3931         Use string-mark-left-to-right.
3932         (tabulated-list-print): Recenter after moving point.
3934 2011-08-10  Juri Linkov  <juri@jurta.org>
3936         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3937         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3938         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3940 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
3942         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3943         (Bug#7554).
3945 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3947         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3948         character.  (Bug#6594)
3950 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
3952         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3953         (image-dired--with-db-file): New macro.
3954         (image-dired-write-tags, image-dired-remove-tag)
3955         (image-dired-create-gallery-lists, image-dired-write-comments)
3956         (image-dired-get-comment, image-dired-mark-tagged-files)
3957         (image-dired-list-tags, image-dired-gallery-generate): Use it.
3958         (image-dired-gallery-generate): Use insert-file-contents.
3960         * time.el (display-time-world-list, display-time-world-display):
3961         * time-stamp.el (time-stamp-string):
3962         * vc/add-log.el (add-change-log-entry): Use setenv instead of
3963         set-time-zone-rule (Bug#7337).
3965 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
3967         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3968         (epg-error-to-string, epg-errors-to-string): New function.
3969         (epg-wait-for-completion): Reverse errors list.
3970         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3971         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3972         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3973         (epg-sign-keys, epg-generate-key-from-file)
3974         (epg-generate-key-from-string): Format errors by using
3975         epg-errors-to-string (bug#9255).
3976         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3978 2011-08-07  Juri Linkov  <juri@jurta.org>
3980         * faces.el (list-faces-display): Remove extra angle bracket
3981         from `help-mode-map'.
3983         * info.el (Info-history-toc-nodes): Doc fix.
3985         * longlines.el (longlines-mode): Doc fix.
3987 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3989         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3990         of statements and in a few more cases (bug#9183).
3992         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3993         New functions.
3994         (cl-transform-lambda): Use them (bug#9239).
3996 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
3998         * window.el (display-buffer-same-window)
3999         (display-buffer-same-frame, display-buffer-other-window)
4000         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4001         (pop-to-buffer-other-window)
4002         (pop-to-buffer-same-frame-other-window)
4003         (pop-to-buffer-other-frame): Make them defuns.
4004         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4006 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4008         * subr.el (make-composed-keymap): Move from C.  Change calling
4009         convention, and improve docstring to bring attention to a subtle point.
4010         * minibuffer.el (completing-read-default): Adjust accordingly.
4012 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
4014         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4015         (tramp-open-shell): Use `tramp-shell-quote-argument'.
4017         * net/trampver.el: Update release number.
4019 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4021         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4022         "in" (bug#9190).
4024 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4026         * mail/sendmail.el (sendmail-query-once): Restore the current
4027         buffer after querying (bug#9074).
4029         * dired.el (dired-flagged): Use different faces for marked and
4030         flagged files (bug#6117).
4032         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4033         (bug#4433).
4035         * ido.el (ido-mode): Switch off the message if called
4036         non-interactively.
4038         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4039         before 587, since it appears that that's more likely to work for
4040         more people.
4042         * cus-edit.el (custom-file): When running under emacs -q, always
4043         refuse to save the customizations, even if the .emacs file doesn't
4044         exist.
4046         * info.el: Remove the `Info-beginning-of-buffer' function
4047         (bug#8325).
4049         * net/network-stream.el (network-stream-open-starttls):
4050         Use `starttls-available-p' to see whether starttls.el can be used.
4052 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
4054         * window.el (display-buffer-in-window): Don't set dedicated status
4055         of window here (Bug#9215).
4056         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4057         (display-buffer-pop-up-side-window)
4058         (display-buffer-in-side-window): Set dedicated status of window here.
4060 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4062         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4063         before binding generated-autoload-file.
4065 2011-08-01  Deniz Dogan  <deniz@dogan.se>
4067         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4069 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
4071         Sync with Tramp 2.2.2.
4073         * net/trampver.el: Update release number.
4075 2011-07-30  Juri Linkov  <juri@jurta.org>
4077         * dired-aux.el (dired-touch-initial): Remove function.
4078         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4079         current time, and `default' to the last modification time of the
4080         current marked file (bug#6887).
4082 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
4084         * simple.el (goto-line): Use string-to-number to provide a
4085         numeric argument to read-number (bug#9163).
4087 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
4089         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4090         connection process, it could be nil.
4092 2011-07-27  Leo Liu  <sdl.web@gmail.com>
4094         Simplify url handling in rcirc-mode.
4096         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4097         (rcirc-browse-url-at-mouse): Remove.
4098         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4100 2011-07-26  Alan Mackenzie  <acm@muc.de>
4102         Fontify bitfield declarations properly.
4104         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4105         (c-symbol-chars): Now exported as a lang variable.
4106         (c-not-primitive-type-keywords): New lang variable.
4108         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4109         QT keyword "more" to prevent "more slots: ...." being spuriously
4110         parsed as a bitfield declaration.
4112         * progmodes/cc-engine.el (c-beginning-of-statement-1):
4113         Refactor and enhance to handle bitfield declarations.
4114         (c-punctuation-in): New function.
4115         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4116         declarations properly.
4118 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
4120         * calendar/icalendar.el (icalendar--all-events): Take care of
4121         multiple vcalendars in a single file.
4122         (icalendar--convert-float-to-ical): Checkdoc fixes.
4124 2011-07-25  Deniz Dogan  <deniz@dogan.se>
4126         * image.el (insert-image): Clarifying docstring.
4128 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
4130         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4131         `tramp-send-command-and-check' if there is no error.
4132         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4134 2011-07-22  Alan Mackenzie  <acm@muc.de>
4136         Prevent cc-langs.elc being loaded at run time.
4138         * progmodes/cc-mode.el: Remove two autoload forms which loaded
4139         cc-langs.
4141         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
4142         "(require 'cc-langs)".  Quote a form so it will evaluate at
4143         (cc-mode's) compilation time.
4145 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
4147         * net/tramp.el (tramp-file-name-handler): Avoid recursive
4148         loading.  (Bug#9114)
4150 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
4152         * window.el (display-buffer-pop-up-window)
4153         (display-buffer-pop-up-side-window)
4154         (display-buffer-in-side-window): Call display-buffer-set-height
4155         and display-buffer-set-width after setting the new window's
4156         buffer so `fit-window-to-buffer' and friends work on the right buffer.
4158 2011-07-20  Sam Steingold  <sds@gnu.org>
4160         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4161         (etags-tags-included-tables): Call `convert-standard-filename' on
4162         the file names contained in TAGS so that windows Emacs can handle
4163         TAGS files created by cygwin ctags.
4165 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4167         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4168         which apparently didn't work.
4170 2011-07-19  Roland Winkler  <winkler@gnu.org>
4172         * proced.el (proced-send-signal): For *Marked Processes* buffer
4173         put point at beginning of buffer.
4175 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
4177         * proced.el (proced-format): Make header lines align with the text
4178         (bug#1779).
4180 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4182         * view.el (view-buffer): Allow running in `special' modes if we're
4183         visiting a file (bug#8615).
4185 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
4187         * window.el (display-buffer-alist-of-strings-p)
4188         (display-buffer-alist-set-1, display-buffer-alist-set-2):
4189         New functions.
4190         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4191         more accurately.
4193 2011-07-18  Alan Mackenzie  <acm@muc.de>
4195         Fontify declarators properly when, e.g., a jit-lock chunk begins
4196         inside a declaration.
4198         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4200         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4201         New function.
4202         (c-complex-decl-matchers): Insert reference to
4203         c-font-lock-enclosing-decls.
4205         * progmodes/cc-engine.el (c-backward-single-comment):
4206         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4207         to nil around calls to (forward-comment -1).
4209 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4211         * image.el (put-image): Doc typo fix.
4213         * progmodes/etags.el (tags-search): Doc typo fix.
4215         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4216         password if we get errors 550 to 554.
4218 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4220         * net/gnutls.el (gnutls-log-level): Remove.
4222         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4223         indentation character (bug#6380).
4225         * files.el (buffer-offer-save): Made permanently local (bug#6241).
4227         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4228         to clarify what the problem is (bug#4291).
4230         * simple.el (current-kill): Clarify what
4231         `interprogram-paste-function' does (bug#7500).
4232         (auto-fill-mode): Document `auto-fill-function' in relation to
4233         `auto-fill-mode' (bug#2470).
4235 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
4237         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4238         method if slot is read-only (bug#9035).
4240 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
4242         * frame.el (select-frame-set-input-focus): New argument NORECORD.
4243         * window.el (pop-to-buffer): Select window used even if it was
4244         selected before, see discussion of (Bug#8615), (Bug#6954).
4245         Pass argument NORECORD on to select-frame-set-input-focus.
4247 2011-07-15  Glenn Morris  <rgm@gnu.org>
4249         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
4250         Respect help-form.
4252 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
4254         * net/gnutls.el (gnutls-min-prime-bits): New variable.
4255         (gnutls-negotiate): Use it.
4257 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4259         * net/gnutls.el (gnutls-negotiate):
4260         Upcase `gnutls-algorithm-priority'.
4262 2011-07-15  Glenn Morris  <rgm@gnu.org>
4264         * jka-compr.el (jka-compr-verbose): Move from here...
4265         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
4266         Add missing :version tag.
4267         * info.el: No need to require jka-compr when compiling.
4269 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4271         * net/gnutls.el (gnutls-algorithm-priority): New variable.
4272         (gnutls-negotiate): Use it.
4274         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4276         * info.el (Info-beginning-of-buffer): New command.
4277         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4278         announcing `b' as the key (bug#8325).
4279         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
4281         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4283         * international/mule-cmds.el
4284         (describe-specified-language-support): Make the error message
4285         clearer (bug#8905).
4287         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4289         * isearch.el (isearch-barrier): Add a doc string, since it's
4290         mentioned in a function doc string (bug#8678).
4292 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
4294         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4295         buffer argument (Bug#9083) and self-identifying label argument.
4297 2011-07-15  Glenn Morris  <rgm@gnu.org>
4299         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
4301 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4303         * man.el (Man-fontify-manpage): Fix message when formatting the
4304         man page (bug#7929).
4306 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
4308         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4309         argument LRM; if non-nil, append an invisible LRM character to the
4310         buffer name.
4311         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4312         last argument non-nil, when formatting buffer names.
4313         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4314         paragraph direction.
4316 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4318         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4319         the man page name (bug#7929).
4321         * image.el (put-image): Mention the `put-image' overlay property
4322         (bug#7834).
4324         * scroll-bar.el (set-scroll-bar-mode): Mention that
4325         `scroll-bar-mode' lists the values (bug#7772).
4327         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4328         command (bug#7729).
4330         * rect.el (apply-on-rectangle): Return the point after the last
4331         operation.
4332         (string-rectangle): Go to the point after the last operation
4333         (bug#7522).
4335         * printing.el (pr-toggle-region): Clarify the documentation
4336         slightly (bug#7493).
4338         * time.el (display-time-update):
4339         Allow `display-time-mail-function' to return nil (bug#7158).
4340         Fix suggested by Detlev Zundel.
4342         * vc/diff.el (diff): Clarify the order the file names are read
4343         (bug#7111).
4345         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4346         the doc string (bug#7015).
4348         * font-lock.el (font-lock-maximum-decoration): Mention what
4349         numeric levels mean (bug#6935).
4351         * startup.el (initial-buffer-choice): Don't mention the `none'
4352         selection, which is against policy.
4354 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
4356         * window.el (display-buffer-normalize-special):
4357         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
4359 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
4361         * subr.el (version<, version<=, version=): Mention "-CVS" and
4362         "-12345" alpha version numbers.
4364 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
4366         * bindings.el: Add advertised binding for set-mark-command
4367         (Bug#5772).
4369 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
4371         * bindings.el (mode-line-other-buffer):
4372         * bookmark.el (bookmark-bmenu-2-window):
4373         * bs.el (bs-cycle-next, bs-cycle-previous):
4374         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4375         switch-to-buffer.
4377         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4378         Delete.
4380 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
4382         * follow.el (follow-debug-message, follow-redisplay):
4383         * jka-cmpr-hook.el (with-auto-compression-mode):
4384         Fix typos in docstrings.
4386 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4388         * subr.el (with-silent-modifications): Clarify somewhat what the
4389         macro inhibits (bug#6525).
4391         * simple.el (eval-expression): Note what it does if called
4392         interactively (bug#6495).
4394 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
4396         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4397         Use pop-to-buffer buffer-or-name if it is nil.
4399         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4400         Remove switch-to-buffer.
4402 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4404         * files.el (make-directory): Clarify that an error will be raised
4405         if there's an error (bug#6397).
4407         * startup.el (initial-buffer-choice): Add `none' as a choice
4408         (bug#6234).
4410         * subr.el (add-hook): Clarify section about buffer-local hooks
4411         (bug#6218).
4413         * dired.el (dired-flagged): Clarify doc string (bug#6117).
4415 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
4417         * tabify.el (untabify): Preserve the current column so that point
4418         doesn't move (bug#6032).
4420 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4422         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4423         Rewrite to avoid awkward possessive "s" (bug#5986).
4425 2011-07-13  Glenn Morris  <rgm@gnu.org>
4427         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
4428         (dired-insert-directory): Give a message the first time
4429         if ls is found not to support --dired.
4431 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4433         * simple.el (toggle-truncate-lines): Clarify what is toggled
4434         (bug#5580).  Text by Drew Adams.
4436 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
4438         * simple.el (blink-matching-open): Make the error message from the
4439         last change less verbose.
4441 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
4443         * font-lock.el (font-lock-comment-face): Use the high contrast
4444         "yellow" color for font-lock-comment-face on low color terminals
4445         using a dark background color (bug#4221).
4447 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4449         * dired.el (dired-insert-set-properties): Make the doc string
4450         reflect what it does now (bug#5325).
4452         * simple.el (blink-matching-open): Say that we were unable to find
4453         the match within the limit, if we're limited (bug#5122).
4455         * international/mule-cmds.el (prefer-coding-system): Add an
4456         example (bug#4869).
4458         * progmodes/etags.el (tags-search): Document `file-list-form'
4459         (bug#4731).
4461 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
4463         * net/browse-url.el (browse-url-default-browser)
4464         (browse-url-browser-function): Make the default browser choice a
4465         bit more logical (bug#4300).  Also clean up the doc string.
4467 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
4469         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4470         binary endings (bug#4440).
4472 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4474         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4475         which can be pretty annoying (bug#8971).
4477         * jka-compr.el (jka-compr-verbose): New variable, and use
4478         throughout (bug#8971).
4480         * info.el (Info-find-file): Fall back on the installation
4481         directory if we can't find the info node anywhere else.
4483 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
4485         * vc/vc.el (vc-revert-file):
4486         Don't set file time-stamp in the past.  (Bug#5181)
4488 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4490         * files.el (after-find-file): Give a better error message when
4491         trying to find a symlink that points to a file that doesn't exist
4492         (bug#4398).
4494         * progmodes/cc-vars.el: Remove (probably) misleading comment
4495         (bug#4396).
4497 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
4499         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4501 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
4503         * mouse-sel.el: Hack restoring functionality, while keeping
4504         compatibility with 2010-07-03 changes to mouse selection.
4505         (mouse-sel-primary-overlay): New var.
4506         (mouse-sel-selection-alist): Use it.
4507         (mouse-sel-mode): Doc fix; remove points that are default features
4508         of mouse.el.
4510 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
4512         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4513         Fix previous fix (bug#2490).
4515 2011-07-12  Roland Winkler  <winkler@gnu.org>
4517         * textmodes/bibtex.el (bibtex-initialize):
4518         Use pop-to-buffer-same-window.
4519         (bibtex-search-entries): Fix interactive call.
4521 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4523         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4524         Fontise bytecomp Error lines more correctly (bug#2490).
4525         Fix suggested by Johan BockgÃ¥rd.
4527         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4529         * dired-x.el (dired-guess-default): Use `delete-dups'.
4531 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
4533         * dired.el (dired-mark-prompt):
4534         * dired-aux.el (dired-read-shell-command): Doc fix.
4536 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4538         * mail/sendmail.el (sendmail-query-once):
4539         Use `customize-save-variable' unconditionally, now that it works under
4540         emacs -Q.
4542         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4544         * cus-edit.el (custom-file): Take an optional no-error variable.
4545         (customize-save-variable): Set the variable, and give a warning if
4546         running under "emacs -q".
4548 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
4550         * loadhist.el (unload-feature-special-hooks):
4551         Add `auto-coding-functions', `fill-nobreak-predicate' and
4552         `find-directory-functions' (bug#5327).
4554 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4556         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4558         * cus-edit.el (custom-guess-name-alist): -alist variables should
4559         use the `alist' type (bug#3120).  Suggested by Drew Adams.
4561         * printing.el: Add documentation to all the `pr-toggle-' commands.
4563 2011-07-11  Leo Liu  <sdl.web@gmail.com>
4565         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4566         backends where it makes sense (bug#2623).
4568 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4570         * dired-x.el (dired-guess-default): Remove duplicate shell command
4571         entries (bug#2028).
4572         (dired-guess-default): Fix grammar in doc string (bug#2028).
4573         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
4575         * subr.el (remove-duplicates): New conveniency function.
4577 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4579         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4580         (bug#1526).
4582 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
4584         * window.el (display-buffer-normalize-default): Don't invert
4585         meaning of even-window-heights.  Reported by Eli Zaretskii
4586         <eliz@gnu.org>.
4588 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
4590         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4592 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
4594         * window.el (display-buffer): Fix arguments to
4595         display-buffer-reuse-window in last change.
4597         * faces.el (link): Use a less saturated blue on light backgrounds.
4599         * startup.el (fancy-startup-text, fancy-about-text)
4600         (fancy-startup-tail): Use font-lock faces, for background safety.
4602 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
4604         * emulation/viper-cmd.el (viper-change-state-to-vi):
4605         Limit triggering of abbrev expansion (Bug#9038).
4607 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
4609         * window.el (display-buffer-default-specifiers): Remove.
4610         (display-buffer-macro-specifiers): Remove default specifiers.
4611         (display-buffer-alist): Default to nil.
4612         (display-buffer-reuse-window): New optional argument other-window.
4613         (display-buffer-pop-up-window): Allow splitting internal
4614         windows.  Check whether a live window was created.
4615         (display-buffer-other-window-means-other-frame)
4616         (display-buffer-normalize-arguments): Rename to
4617         display-buffer-normalize-argument and rewrite.  Set the
4618         other-window specifier.
4619         (display-buffer-normalize-special): New function.
4620         (display-buffer-normalize-options): Rename to
4621         display-buffer-normalize-default and rewrite.
4622         (display-buffer-normalize-options-inhibit): Remove.
4623         (display-buffer-normalize-specifiers): Rewrite.
4624         (display-buffer): Process other-window specifier and call
4625         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
4626         more faithfully.
4627         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4628         (display-buffer-alist-set): Don't handle 'unset default values.
4629         (display-buffer-in-window, display-buffer-alist-set):
4630         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
4631         <tassilo@member.fsf.org>.
4633 2011-07-09  Leo Liu  <sdl.web@gmail.com>
4635         * register.el (insert-register): Restore accidental change on
4636         2011-06-26.  (Bug#9028)
4638 2011-07-09  Glenn Morris  <rgm@gnu.org>
4640         * subr.el (remq): Handle the empty list.  (Bug#9024)
4642 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
4644         * mail/sendmail.el (send-mail-function): No longer delay custom
4645         initialization.
4646         * custom.el (custom-initialize-delay): Doc fix.
4648 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4650         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4652 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
4654         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4655         human-friendly prompt.
4657 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4659         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4660         provided by a particular plugin.
4662 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4664         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4665         save customizations (with "emacs -Q"), just set the variable
4666         instead of erroring out.
4668         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4670 2011-07-08  Juri Linkov  <juri@jurta.org>
4672         * arc-mode.el (archive-zip-expunge, archive-zip-update)
4673         (archive-zip-update-case): Use 7z if found by `executable-find'.
4674         The order of searching the available programs is the same as in
4675         `archive-zip-extract' (bug#8968).
4677 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
4679         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4680         (menu-bar-options-menu): Tweak descriptions.
4682 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4684         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4685         menu items into verb phrases (bug#1421).  Also refill to fit under
4686         80 columns.
4688 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
4690         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4691         (Info-read-node-name): Doc fix (Bug#1084).
4693         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4694         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4695         (end-of-sexp, beginning-of-sexp)
4696         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4697         (forward-symbol, forward-same-syntax, word-at-point)
4698         (sentence-at-point): Doc fix (Bug#1144).
4700 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4702         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4703         should cover it (bug#1281).
4705         * cus-edit.el (custom-show): Mark as obsolete.
4707         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
4708         negotiation fails, then possibly try again with a non-encrypted
4709         connection (bug#9017).
4711         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4712         be used.
4714 2011-07-07  Richard Stallman  <rms@gnu.org>
4716         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4717         property, and handle its changed format.
4718         Look for the correct line number.
4719         Use file's line contents (but not past first =) to find
4720         correct line in message.
4722 2011-07-07  Kenichi Handa  <handa@m17n.org>
4724         * international/characters.el (build-unicode-category-table):
4725         Delete it.
4726         (unicode-category-table): Set it by unicode-property-table-internal.
4728         * international/mule-cmds.el (char-code-property-alist): Move to
4729         to src/chartab.c.
4730         (get-char-code-property): Call unicode-property-table-internal to
4731         load a file.  Call get-unicode-property-internal where necessary.
4732         (put-char-code-property): Call unicode-property-table-internal to
4733         load a file.  Call put-unicode-property-internal where necessary.
4734         put-unicode-property-internal where necessary.
4735         (char-code-property-description):
4736         Call unicode-property-table-internal to load a file.
4738         * international/charprop.el:
4739         * international/uni-bidi.el:
4740         * international/uni-category.el:
4741         * international/uni-combining.el:
4742         * international/uni-comment.el:
4743         * international/uni-decimal.el:
4744         * international/uni-decomposition.el:
4745         * international/uni-digit.el:
4746         * international/uni-lowercase.el:
4747         * international/uni-mirrored.el:
4748         * international/uni-name.el:
4749         * international/uni-numeric.el:
4750         * international/uni-old-name.el:
4751         * international/uni-titlecase.el:
4752         * international/uni-uppercase.el: Regenerate.
4754         * loadup.el: Load international/charprop.el before
4755         international/characters.
4757 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
4759         * window.el (next-buffer, previous-buffer): Signal an error if
4760         called from a minibuffer window.
4762         * bindings.el: Revert 2011-07-04 change.
4764 2011-07-06  Richard Stallman  <rms@gnu.org>
4766         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4767         (rmail-mime-insert-bulk, rmail-mime-insert-text):
4768         Treat markers like ints.
4769         (rmail-mime-entity): Doc fix.
4771 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4773         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4774         defcustom again for backwards compatibility.
4776         * simple.el (shell-command-on-region): Fill.
4778         * dired-aux.el (dired-kill-line): Add a doc string.
4780         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4781         to "\\sw\\|\\s_" (bug#358).
4783         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4784         (dired-unmark-backward): Ditto.
4785         (dired-flag-backup-files): Ditto.
4787         * dired-x.el (dired-mark-sexp): Ditto.
4789 2011-07-06  Richard Stallman  <rms@gnu.org>
4791         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4792         (rmail-mime-entity): New arg TRUNCATED.
4793         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4794         New functions.
4795         (rmail-mime-save): Warn if entity is truncated.
4796         (rmail-mime-toggle-hidden): Likewise, for showing.
4797         (rmail-mime-process-multipart): Record when an entity is truncated.
4799         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4800         if ENTITY is a string.
4802 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4804         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
4805         of faces when `M-C-x'-ing their definitions (bug#8378).
4806         Also clean up the code slightly.
4808         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
4809         because that makes the colors go away.
4811         * mail/sendmail.el (send-mail-function): Change the default to
4812         `sendmail-query-once'.
4813         (sendmail-query-once): Add an autoload cookie.
4815         * net/network-stream.el (network-stream-open-starttls): Try using
4816         a plain connection even if the server offered STARTTLS, and we
4817         kinda wanted to use it, if Emacs doesn't have any STARTTLS
4818         capability.  This should make smtpmail.el work in slightly more
4819         configurations.
4821 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
4823         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4824         New defun.
4825         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4827 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
4829         * progmodes/sql.el: Version 3.0
4830         (sql-product-alist): Add product :completion-object,
4831         :completion-column, and :statement attributes.
4832         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
4833         (sql-mode-syntax-table): Mark all punctuation.
4834         (sql-font-lock-keywords-builder): Temporarily remove fallback on
4835         ansi keywords.
4836         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
4837         (sql-mode-oracle-font-lock-keywords): Improve.
4838         (sql-oracle-show-reserved-words): New function for development.
4839         (sql-product-font-lock): Simplify for source code buffers.
4840         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4841         New functions.
4842         (sql-highlight-product): Set product specific syntax table.
4843         (sql-mode-map): Add statement movement functions.
4844         (sql-ansi-statement-starters, sql-oracle-statement-starters):
4845         New variable.
4846         (sql-statement-regexp, sql-beginning-of-statement)
4847         (sql-end-of-statement, sql-signum): New functions.
4848         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
4849         (sql-show-sqli-buffer): Bug fix.
4850         (sql-interactive-mode): Store connection data as buffer local.
4851         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
4852         with sql-interactive-mode.
4853         (sql-save-connection): Save buffer local settings.
4854         (sql-connection-menu-filter): Change menu entry name.
4855         (sql-product-interactive): Bug fix.
4856         (sql-preoutput-hold): New variable.
4857         (sql-interactive-remove-continuation-prompt): Bug fixes.
4858         (sql-debug-redirect): New variable.
4859         (sql-str-literal): New function.
4860         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
4861         Redesign.
4862         (sql-oracle-save-settings, sql-oracle-restore-settings)
4863         (sql-oracle-list-all, sql-oracle-list-table): New functions.
4864         (sql-completion-object, sql-completion-column)
4865         (sql-completion-sqlbuf): New variables.
4866         (sql-build-completions-1, sql-build-completions)
4867         (sql-try-completion): New functions.
4868         (sql-read-table-name): Use them.
4869         (sql-contains-names): New buffer local variable.
4870         (sql-list-all, sql-list-table): Use it.
4871         (sql-oracle-completion-types): New variable.
4872         (sql-oracle-completion-object, sql-sqlite-completion-object)
4873         (sql-postgres-completion-object): New functions.
4875 2011-07-06  Glenn Morris  <rgm@gnu.org>
4877         * window.el (pop-to-buffer): Doc fix.
4879 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
4881         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4883 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
4885         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4887         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
4889 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
4891         * button.el (button): Inherit from link face.  Suggested by Dan
4892         Nicolaescu.
4894 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4896         * progmodes/gdb-mi.el: Fit in 80 columns.
4897         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4898         switch-to-buffer.
4900         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4901         if imenu is simply not configured (bug#8941).
4903 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
4905         * allout.el (allout-post-undo-hook): New allout outline-change
4906         event hook to signal undo activity.
4907         (allout-post-command-business): Run allout-post-undo-hook if an
4908         undo just occurred.
4909         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4910         * allout-widgets.el (allout-widgets-after-undo-function):
4911         Ensure the integrity of the current item's decoration after it has been
4912         in the vicinity of an undo.
4913         (allout-widgets-mode): Include allout-widgets-after-undo-function
4914         on the new allout-post-undo-hook.
4916 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4918         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4919         Let define-derived-mode define it.
4920         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4921         cycles of abbrev-table inheritance (bug#8998).
4923 2011-07-05  Roland Winkler  <winkler@gnu.org>
4925         * textmodes/bibtex.el: Add support for biblatex.
4926         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4927         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4928         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4929         (bibtex-entry-alist, bibtex-field-alist): New variables.
4930         (bibtex-entry-field-alist): Obsolete alias for
4931         bibtex-BibTeX-entry-alist.
4932         (bibtex-entry-alist, bibtex-field-alist): New widgets.
4933         (bibtex-set-dialect): New command.
4934         (bibtex-entry-type, bibtex-entry-head)
4935         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4936         Bind via bibtex-set-dialect.
4937         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4938         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4939         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4940         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4941         Define via bibtex-set-dialect.
4942         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4943         Obey bibtex-no-opt-remove-re.
4944         (bibtex-vec-push, bibtex-vec-incr): New functions.
4945         (bibtex-format-entry, bibtex-field-list)
4946         (bibtex-print-help-message, bibtex-validate)
4947         (bibtex-search-entries): Use new format of bibtex-entry-alist.
4949 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4951         * progmodes/compile.el (compilation-goto-locus):
4952         * net/tramp-cmds.el (tramp-append-tramp-buffers):
4953         * bs.el (bs-cycle-next, bs-cycle-previous):
4954         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4955         * bindings.el (mode-line-other-buffer):
4956         * autoinsert.el (auto-insert):
4957         * arc-mode.el (archive-extract):
4958         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4960 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
4962         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4963         Fix check of `emacs-lock-unlockable-modes'.
4964         Coerce true values of `emacs-lock--try-unlocking' to t.
4966 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
4968         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4969         * emacs-lock.el: New file.
4971 2011-07-05  Julien Danjou  <julien@danjou.info>
4973         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4974         than `boundp' to check if face is set.
4976 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
4978         * register.el (registerv-make):
4979         * window.el (window-min-height): Fix typos in docstrings.
4981 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
4983         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4984         Update doc string.
4986 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
4988         * server.el (server-execute): Catch quit and call
4989         `server-return-error' to pass the error back to emacsclient and
4990         close the connection (bug#8942).
4992 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
4994         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4995         insecure exception for current topic.  Also note that auto-saves
4996         are handled differently.
4998         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4999         State variables for tracking auto-save inhibition situation.
5001         (allout-write-contents-hook-handler): Rename from
5002         'allout-write-file-hook-handler', and describe how it depends on
5003         write-contents-functions sensitivity to non-nil value to prevent
5004         file write.
5006         (allout-auto-save-hook-handler): Remove.  auto-save does not check
5007         this in individual buffers, only in the starting buffer, so this
5008         is not the right way for us to inhibit auto-save in a buffer
5009         according to its condition.
5011         (allout-mode): Use new allout-write-contents-hook-handler, and
5012         only with write-contents-functions.  Remove auto-save provisions -
5013         they're implemented elsewhere.
5015         (allout-before-change-handler): If undo is in progress, note that
5016         for attention of allout-post-command-business.
5018         (allout-post-command-business): If the command we're following was
5019         an undo, check for change in the status of encrypted items and
5020         adjust auto-save inhibitions accordingly.
5022         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5023         according to whether there are or aren't any plain-text topics
5024         pending encryption.
5026         (allout-inhibit-auto-save-info-for-decryption):
5027         Adjust buffer-saved-size and some allout state to inhibit auto-saves
5028         if there are plain-text topics pending encryption.
5030         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5031         buffer-saved-size and some allout state to not inhibit auto-saves
5032         if there are no longer any plain-text topics pending encryption.
5034         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5035         No longer provide for exemption of the current topic.
5037 2011-07-04  Juri Linkov  <juri@jurta.org>
5039         Add 7z operations to delete and save changed members (bug#8968).
5040         * arc-mode.el (archive-7z-expunge, archive-7z-update):
5041         New defcustoms.
5042         (archive-7z-write-file-member): New function.
5043         (archive-7z-summarize): Fix the number of dashes in the
5044         listing output.
5046 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5048         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5049         (bug#8958).
5051 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
5053         * bindings.el: Ignore next-buffer and previous-buffer in
5054         minibuffer-local-map.
5056         * font-lock.el (font-lock-builtin-face): Change light background
5057         color to dark slate blue (Bug#6693).
5059 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
5061         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5063 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5065         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5066         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5067         Add switch-to-buffer.
5069 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5071         * isearch.el (isearch-search-fun-function): Clarify further the
5072         meaning of the function returned.
5074 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
5076         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5078         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5079         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5080         Use it.
5081         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
5082         `tramp-default-remote-path' does not exist.
5083         (tramp-send-command-and-read): New optional argument NOERROR.
5084         (tramp-open-connection-setup-interactive-shell)
5085         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5086         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5087         (tramp-process-sentinel): Flush also process' connection property.
5088         (tramp-sh-handle-start-file-process): Do not set process
5089         sentinel.  It is done now ...
5090         (tramp-maybe-open-connection): ... here.  (Bug#8929)
5092 2011-07-04  MON KEY  <monkey@sandpframing.com>
5094         * play/animate.el (animate-string): Doc fixes and allow changing
5095         the buffer name (bug#5417).
5097 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5099         * play/animate.el (animation-buffer-name): Rename from *animate*.
5101 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
5103         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5104         This is simpler and helps future-proof the code.
5105         (timer-until): Use time-subtract and float-time.
5106         (timer--time-less-p): Use time-less-p.
5108 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
5110         * type-break.el (timep): Use the value of `float-time' to avoid a
5111         byte-compiler warning.
5113         * server.el (server-eval-and-print): Return any result, even nil.
5115 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
5117         * type-break.el: Accept time formats that the builtins accept.
5118         (timep, type-break-time-difference): Accept any format that
5119         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5120         This is simpler and helps future-proof the code.
5121         (type-break-time-difference): Round rather than ignoring
5122         subseconds components.
5124 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5126         * info.el (Info-apropos-matches): Make non-interactive, since it
5127         doesn't seem to do anything useful as a command (bug#8829).
5129 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
5131         * frame.el (frame-background-mode, frame-set-background-mode):
5132         Move from faces.el.
5133         (frame-default-terminal-background): New function.
5135         * custom.el (custom-push-theme): Don't record faces in `changed'
5136         theme; this doesn't work correctly for per-frame face settings.
5137         (disable-theme): Use face-set-after-frame-default to reset faces.
5138         (custom--frame-color-default): New function.
5140 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5142         * dired.el (dired-flagging-regexp): Remove unused variable
5143         (bug#8769).
5145 2011-03-29  Kevin Ryde  <user42@zip.com.au>
5147         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5148         `perl-Test2' extend to match possible "fail #N" rep count
5149         (bug#8377).
5151 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5153         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5154         `smtpmail-via-smtp' now returns the error instead of nil.
5156         * isearch.el (isearch-search-fun-function): Clarify the doc string
5157         (bug#8101).
5159 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
5161         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5162         unnecessary spaces (bug#8987).
5164 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5166         * net/network-stream.el (open-network-stream): Use the
5167         :end-of-capability command thoughout.
5169 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
5171         * net/network-stream.el (open-network-stream): Add the
5172         :end-of-capability command parameter, used by pop3.el.
5174 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5176         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5178         * fringe.el (fringe-query-style): Remove redundant text " (type ?
5179         for list)" (bug#6475).
5181         * files.el (file-expand-wildcards): Ignore non-readable
5182         sub-directories while trying to find matches instead of signaling
5183         an error (bug#6297).
5185         * man.el (Man-reference-regexp): Allow matching possible
5186         word-wrapped references (bug#6289).
5188         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5189         for consistency with the other vc buffers (bug#6197).
5190         (vc-checkin): Ditto.
5192         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5194         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5196 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5198         * custom.el (defcustom): Clarify that :set is only used in the
5199         Customize user interface (bug#6089).
5201         * progmodes/flymake.el (flymake-mode): If the buffer isn't
5202         associated with a file, refuse to run instead of erroring out
5203         (bug#6084).
5205         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5206         the doc string, since it appears that using `fill-column' always
5207         controls the width (bug#7845).
5209         * simple.el (shell-command-on-region): Say where the error output
5210         went if `shell-command-default-error-buffer' is set (bug#6857).
5212 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
5214         * allout.el (allout-yank-processing): Adjust cursor position for
5215         backwards-deleted space.
5217         (allout-rebullet-heading): Register changes with
5218         allout-exposure-changed-hook, so the modified topic is properly
5219         decorated.
5221 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5223         * minibuffer.el (completion-in-region): Document PREDICATE
5224         (bug#7136).
5226         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5227         of keyword/argument pairs (bug#6904).
5229         * replace.el (multi-occur):
5230         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5232 2011-07-02  Drew Adams  <drew.adams@oracle.com>
5234         * dired.el (dired-mark-if): Make the message about whether it's
5235         marking or unmarking clearer (bug#8523).
5237 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5239         * disp-table.el (display-table-print-array): New function.
5240         (describe-display-table): Use it to print the vectors more pretty
5241         (Bug#8859).
5243 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
5245         * window.el (window-state-get-1): Don't assign clone numbers.
5246         Add clone-of item to list of window parameters.
5247         (window-state-put-2): Don't process clone numbers.
5248         (display-buffer-alist): Fix doc-string.
5250 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5252         * subr.el (remq): Don't allocate if it's not needed.
5253         (keymap--menu-item-binding, keymap--menu-item-with-binding)
5254         (keymap--merge-bindings): New functions.
5255         (keymap-canonicalize): Use them to refine the canonicalization.
5256         * minibuffer.el (minibuffer-local-completion-map)
5257         (minibuffer-local-must-match-map): Move initialization from C.
5258         (minibuffer-local-filename-completion-map): Move initialization from C;
5259         don't inherit from anything here.
5260         (minibuffer-local-filename-must-match-map): Make obsolete.
5261         (completing-read-default): Use make-composed-keymap to combine
5262         minibuffer-local-filename-completion-map with either
5263         minibuffer-local-must-match-map or
5264         minibuffer-local-filename-completion-map.
5266 2011-07-01  Glenn Morris  <rgm@gnu.org>
5268         * type-break.el (type-break-time-sum): Use dolist.
5270         * textmodes/flyspell.el (flyspell-word-search-backward):
5271         Replace CL function.
5273 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5275         * mouse.el (mouse--strip-first-event): New function.
5276         (function-key-map): Use it to map fringe clicks to normal clicks
5277         by default.
5279         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5280         (vc-bzr-revision-completion-table): Add support for annotate and date.
5282         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5283         inherit from parent.
5285 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5287         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
5288         (dired-show-file-type): Doc fixup (bug#8818).
5290         * dired.el (dired-mode): Fix up the doc string as suggested by
5291         Drew Adams (bug#8817).
5293         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5294         cookie, since the manual says that it should be possible to add
5295         this function to `find-file-hook' (bug#8709).
5297 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
5299         * progmodes/cfengine.el: Moved all cfengine3.el functionality
5300         here.  Noted Ted Zlatanov as the maintainer.
5301         (cfengine-common-settings, cfengine-common-syntax): New functions
5302         to set up common things between `cfengine-mode' and
5303         `cfengine3-mode'.
5304         (cfengine3-mode): New mode.
5305         (cfengine3-defuns cfengine3-defuns-regex
5306         (cfengine3-class-selector-regex cfengine3-category-regex)
5307         (cfengine3-vartypes cfengine3-font-lock-keywords)
5308         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
5309         (cfengine3-indent-line): Add from cfengine3.el.
5311 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
5313         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5315         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5317 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
5319         * window.el (same-window-buffer-names, same-window-regexps)
5320         (same-window-p, special-display-frame-alist)
5321         (special-display-popup-frame, special-display-function)
5322         (special-display-buffer-names, special-display-regexps)
5323         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5324         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5325         (split-window-preferred-function, split-height-threshold)
5326         (split-width-threshold, even-window-heights)
5327         (display-buffer-mark-dedicated, window-splittable-p)
5328         (split-window-sensibly, window-safely-shrinkable-p):
5329         Un-obsolete.
5330         (display-buffer): Don't spread args with function specifier
5331         because special-display-popup-frame won't like it.
5333 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
5335         Time-stamp simplifications and fixes.
5336         These improve accuracy slightly, and future-proof the code
5337         against some potential changes to current-time format.
5339         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5340         by using time-since and float-time.
5342         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5343         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
5344         + NNN microseconds".
5346         * type-break.el (type-break-time-sum): Rewrite using time-add.
5348         * play/hanoi.el (hanoi-current-time-float): Remove.
5349         All uses replaced by float-time.
5351         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5352         This yields a more-accurate answer.
5353         (rng-time-to-float): Remove; no longer needed.
5355         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5357         * calendar/timeclock.el (timeclock-seconds-to-time):
5358         Defalias to seconds-to-time, since they're the same thing.
5360         * emacs-lisp/elp.el (elp-elapsed-time):
5361         * emacs-lisp/benchmark.el (benchmark-elapse):
5362         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5364 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5366         * window.el (bury-buffer): Don't iconify the only frame.
5367         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5368         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
5370 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
5372         * eshell/em-smart.el (eshell-smart-display-navigate-list):
5373         Add mouse-yank-primary.
5375 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
5377         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5379 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5381         * emacs-lisp/find-func.el (find-library--load-name): New fun.
5382         (find-library-name): Use it to find relative load names when provided
5383         absolute file name (bug#8803).
5385 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5387         * textmodes/flyspell.el (flyspell-word): Consider words that
5388         differ only in case as potential doublons (bug#5687).
5390         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5391         Remove two rather uninteresting debugging-like messages to make
5392         debbugs.el more silent.
5394         * comint.el (comint-password-prompt-regexp): Accept "Response" as
5395         a password-like phrase.
5397 2011-06-30  Mastake YAMATO  <yamato@redhat.com>
5399         * progmodes/cc-guess.el: New file.
5401         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
5403         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5404         derived from `c-basic-common-init'.
5406         * progmodes/cc-mode.el (top-level): Require cc-guess.
5407         (c-basic-common-init): Use `cc-choose-style-for-mode'.
5409 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
5411         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5413 2011-06-30  Alan Mackenzie  <acm@muc.de>
5415         * progmodes/cc-engine.el (c-guess-continued-construct):
5416         Correct the handling of template-args-cont, particularly for when font
5417         lock is disabled.  Name this case as "CASE G".
5419 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
5421         * allout.el (allout-yank-processing): Fix injection of extra space
5422         between bullet and non-whitespace character in first topic when
5423         pasting, ensuring that the actual spacing in the pasted topic
5424         following the bullet char is preserved.  This extra space was
5425         causing pasted encrypted topics to get a decrypted status even
5426         when the content was actually still encrypted.  Now the decryption
5427         status from before the paste is preserved.
5429         (allout-flag-region): Set all allout overlays so they evaporate
5430         when reduced to zero length (evanescent), to prevent overlay
5431         leakage.
5433 2011-06-30  Glenn Morris  <rgm@gnu.org>
5435         * w32-fns.el (w32-charset-info-alist): Declare.
5437         * find-dired.el (find-grep-options): Simplify.
5439         * term/ns-win.el (ns-set-resource): Declare.
5441         * ses.el (row, col): Declare dynamic variables honestly.
5443         * textmodes/reftex-parse.el (index-tags): Declare.
5445 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
5447         * cus-edit.el (customize-push-and-save): New function.
5449         * files.el (hack-local-variables-confirm): Use it.
5451         * custom.el (load-theme): New arg NO-CONFIRM.
5452         Use customize-push-and-save (Bug#8720).
5453         (custom-enabled-themes): Doc fix.
5455         * cus-theme.el (customize-create-theme)
5456         (custom-theme-merge-theme): Callers to load-theme changed.
5458 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5460         * thingatpt.el (thing-at-point-short-url-regexp): Require that
5461         short URLs have at least one dot in them (bug #7614).
5463         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5464         nil, because using a pty is apparently too slow (bug #895).
5466 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5468         * mail/sendmail.el (sendmail-query-once): New function.
5469         (sendmail-query-once-function): New variable.
5471 2011-06-29  Glenn Morris  <rgm@gnu.org>
5473         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5475         * ses.el (top-level): Require cl when compiling.
5476         (ses-set-localvars): Fix error statement.
5477         Call it at compile time to silence a storm of warnings.
5479 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
5481         * window.el (normalize-live-buffer): Rename to
5482         window-normalize-buffer.
5483         (normalize-live-frame): Rename to window-normalize-frame.
5484         (normalize-any-window): Rename to window-normalize-any-window.
5485         (normalize-live-window): Rename to window-normalize-live-window.
5486         (make-window-atom): Rename to window-make-atom.
5487         (window-resize-reset): Rename to window--resize-reset.
5488         (window-resize-reset-1): Rename to window--resize-reset-1.
5489         (resize-mini-window): Rename to window--resize-mini-window.
5490         (resize-subwindows-skip-p): Rename to
5491         window--resize-subwindows-skip-p.
5492         (resize-subwindows-normal): Rename to
5493         window--resize-subwindows-normal.
5494         (resize-subwindows): Rename to window--resize-subwindows.
5495         (resize-other-windows): Rename to window--resize-siblings.
5496         (resize-this-window): Rename to window--resize-this-window.
5497         (resize-root-window): Rename to window--resize-root-window.
5498         (resize-root-window-vertically): Rename to
5499         window--resize-root-window-vertically.
5500         (normalize-buffer-to-display): Rename to
5501         window-normalize-buffer-to-display.
5502         (normalize-buffer-to-switch-to): Rename to
5503         window-normalize-buffer-to-switch-to.
5504         Correspondingly update all callers of the functions listed
5505         above.
5506         (display-buffer-alist, display-buffer-normalize-arguments)
5507         (display-buffer-normalize-options, display-buffer)
5508         (display-buffer-alist-set): Use "function" instead of
5509         "fun-with-args".
5511 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
5513         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5514         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
5515         debbugs.gnu.org.  Mention acknowledgment email.
5517 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5519         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5520         buffer multibyteness, since it shouldn't matter.
5522 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
5524         * window.el (display-buffer-in-side-window): Handle dedicated
5525         windows as in display-buffer-reuse-window.
5526         (display-buffer-normalize-alist): Use value of override
5527         specifier.
5528         (display-buffer-normalize-specifiers): Use value of
5529         other-window-means-other-frame specifier.
5530         (display-buffer-alist): Rewrite some texts in widgets.
5531         (display-buffer): Spread arguments when calling function
5532         specified by fun-with-args.
5534 2011-06-28  Deniz Dogan  <deniz@dogan.se>
5536         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5537         Unnest `let'.
5539         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5540         selectors (Bug#5732).
5541         (css-proprietary-nmstart-re): Use `regexp-opt'.
5543 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
5545         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5546         (eshell-ls-date-format): New defcustom.
5547         (eshell-ls-file): Use it.
5549 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5551         * help-fns.el (describe-variable): Fix message for terminal-local vars.
5553 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
5555         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5556         (ange-ftp-make-tmp-name): New arg.
5557         (ange-ftp-file-local-copy): Use it.
5559 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
5561         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5562         no-conversion (Bug#8870).
5564 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
5566         * window.el (window-right, window-left, window-child)
5567         (window-child-count, window-last-child)
5568         (window-iso-combination-p, walk-window-tree-1)
5569         (window-atom-check-1, window-tree-1, delete-window)
5570         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5571         new naming conventions - window-vchild, window-hchild,
5572         window-next and window-prev are now called window-top-child,
5573         window-left-child, window-next-sibling and window-prev-sibling
5574         respectively.
5575         (resize-window-reset): Rename to window-resize-reset.
5576         (resize-window-reset-1): Rename to window-resize-reset-1.
5577         (resize-window): Rename to window-resize.
5578         (window-min-height, window-min-width)
5579         (resize-mini-window, resize-this-window, resize-root-window)
5580         (resize-root-window-vertically, adjust-window-trailing-edge)
5581         (enlarge-window, shrink-window, maximize-window)
5582         (minimize-window, delete-window, quit-restore-window)
5583         (split-window, balance-windows, balance-windows-area-adjust)
5584         (balance-windows-area, window-state-put-2)
5585         (display-buffer-even-window-sizes, display-buffer-set-height)
5586         (display-buffer-set-width, set-window-text-height)
5587         (fit-window-to-buffer): Rename all "resize-window" prefixed
5588         calls to use the "window-resize" prefix convention.
5589         (display-buffer-alist): Fix symbol for label specifier.
5590         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5591         corresponding specifier.
5592         Reported by Juanma Barranquero <lekktu@gmail.com>.
5594 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5596         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5597         convention.
5598         (ses-call-printer): Does not pass an empty string to formatter when the
5599         cell is empty to keep from barking printer Calc math-format-value.
5601 2011-06-27  Richard Stallman  <rms@gnu.org>
5603         * battery.el (battery-mode-line-limit): New variable.
5604         (battery-update): Handle it.
5606         * mail/rmailmm.el (rmail-mime-process-multipart):
5607         Handle truncated messages.
5609 2011-06-27  Glenn Morris  <rgm@gnu.org>
5611         * progmodes/flymake.el (flymake-err-line-patterns):
5612         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
5614 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5616         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
5617         (ses--clean-!, ses--clean-_): New functions.
5618         (ses-range): Add configurability of readout order, and conversion
5619         to Calc vector.
5621         * ses.el (ses-repair-cell-reference-all): New function.
5622         (ses-cell-symbol): Set macro as safe, so that it can be used in
5623         formulas.
5625         * ses.el: Update cycle detection algorithm.
5626         (ses-localvars): Add ses--Dijkstra-attempt-nb and
5627         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
5628         (ses-set-localvars): New function.
5629         (ses-make-cell): Add property-list as a cell element.
5630         (ses-cell-property-get-fun, ses-cell-property-get)
5631         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
5632         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5633         New functions.
5634         (ses-cell-property-set, ses-cell-property-pop)
5635         (ses-cell-property-get-handle): New macro.
5636         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5637         New aliases, used for code readability.
5638         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5639         cycle detection.
5640         (ses-self-reference-early-detection): New defcustom.
5641         (ses-formula-references): Robustify against self-referring cells.
5642         (ses-mode): Use ses-set-localvars.
5643         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5644         before lauching the update processing.
5645         (ses-initialize-Dijkstra-attempt): New function.
5646         (ses-recalculate-cell): Update for cycle detection based on
5647         Dijkstra algorithm.
5649         * ses.el: Fix commenting and indenting convention.
5651 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5653         * bs.el (bs-cycle-next): Complete last change.
5655 2011-06-27  Drew Adams  <drew.adams@oracle.com>
5657         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5659 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5661         * net/network-stream.el (network-stream-open-starttls):
5662         Don't re-get capabilities unless we've reestablished connection.
5663         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5665         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5666         to binary to possibly avoid line encoding issues on Windows (among
5667         other things).
5669 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5671         * net/network-stream.el (open-network-stream): Return an :error
5672         saying what the problem was, if possible.
5674         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5675         server.
5677         * net/network-stream.el (network-stream-open-starttls): If we
5678         wanted to use STARTTLS, and the server offered it, but we weren't
5679         able to because we had no STARTTLS support, then close the connection.
5680         (open-network-stream): Return an :error element, if present.
5682 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
5684         * hl-line.el (hl-line-sticky-flag): Doc fix.
5685         (global-hl-line-sticky-flag): New option (Bug#8323).
5686         (global-hl-line-highlight): Obey it.
5688         * vc/vc.el (vc-revert-show-diff): Default to t.
5690 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
5692         * allout-widgets.el (allout-widgets-post-command-business):
5693         Stop decorating intermediate isearch matches.  They're not being
5694         undecorated when an isearch is continued past, and isearch
5695         automatically collapses them.  This leads to "widget leaks", where
5696         decorated items accumulate in collapsed areas.  Lines with lots of
5697         hidden widgets can slow down cursor travel, substantially.
5698         Too much complicated machinery would be needed to ensure undecoration,
5699         so we're doing without this nicety.
5701         (allout-widgets-tally-string): Don't try to do a hash-table-count
5702         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
5703         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5704         *Messages* when allout-widgets-maintain-tally is t.
5706 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
5708         * window.el (display-buffer-normalize-argument): Rename to
5709         display-buffer-normalize-arguments.  Handle special meaning of
5710         LABEL argument.  Respect special-display-function when popping up
5711         a new frame.  Fix code searching for a window showing the buffer
5712         on another frame.
5713         (display-buffer-normalize-specifiers):
5714         Call display-buffer-normalize-arguments.
5715         (display-buffer-in-window): Don't undedicate the window if its
5716         buffer remains the same.
5717         Reported by Drew Adams <drew.adams@oracle.com>.
5718         (display-buffer-alist): Add choice for same-window macro
5719         specfier.
5720         (display-buffer): Mention special meaning of LABEL argument in
5721         doc-string.  Fix quoting.  Don't pop up a new frame even as
5722         fallback.
5724 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
5726         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5727         avoid deleting the current window in some cases (bug#8911).
5729 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
5731         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5732         (Bug#8934)
5734 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5736         * net/network-stream.el (network-stream-open-starttls):
5737         Use built-in TLS support if `gnutls-available-p' is true.
5738         (network-stream-open-tls): Ditto.
5740 2011-06-26  Leo Liu  <sdl.web@gmail.com>
5742         * register.el (registerv): New struct.
5743         (registerv-make): New function.
5744         (jump-to-register, describe-register-1, insert-register):
5745         Support the jump-func, print-func and insert-func slot of a registerv
5746         struct.  (Bug#8415)
5748 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
5750         * vc/vc.el (vc-revert-show-diff): New defcustom.
5751         (vc-diff-internal): New arg specifying diff buffer.
5752         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
5753         reuse an existing *vc-diff* buffer (Bug#8927).
5755         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5757 2011-06-26  Glenn Morris  <rgm@gnu.org>
5759         * progmodes/f90.el (f90-critical-indent): New option.
5760         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5761         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5762         (f90-mode): Doc fix.
5763         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5764         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5765         (f90-beginning-of-block, f90-next-block, f90-indent-region)
5766         (f90-match-end): Handle block, critical.
5768 2011-06-25  Glenn Morris  <rgm@gnu.org>
5770         * calendar/diary-lib.el (diary-included-files): Doc fix.
5771         (diary-include-files): New function, extracted from
5772         diary-include-other-diary-files and diary-mark-included-diary-files.
5773         (diary-include-other-diary-files, diary-mark-included-diary-files):
5774         Just call diary-include-files.
5775         (diary-mark-entries): Reset diary-included-files on first call.
5777         * calendar/diary-lib.el (diary-mark-entries)
5778         (diary-mark-included-diary-files):
5779         Visit included diary-files in temp buffers.
5781         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5782         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5783         (f90-start-block-re, f90-imenu-generic-expression)
5784         (f90-looking-at-program-block-start, f90-no-block-limit):
5785         Add support for submodules.
5787         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5788         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
5790 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
5792         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5793         buffer-file-type before setting its value, to avoid disastrous
5794         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
5796 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
5798         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5800         * ses.el (ses-unload-function):
5801         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5803         * proced.el (proced-unload-function):
5804         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5806 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
5808         * server.el (server-create-window-system-frame): Add parameters arg.
5809         (server-process-filter): Doc fix.  Handle frame-parameters.
5811 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
5813         Fix bug#8730, bug#8781.
5815         * loadhist.el (unload--set-major-mode): New function.
5816         (unload-feature): Use it.
5818         * progmodes/python.el (python-after-info-look): Add autoload cookie.
5819         (python-unload-function): New function.
5821 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5823         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5825 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
5827         * net/browse-url.el (browse-url-firefox-program): Add icecat to
5828         the candidates list.
5830 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
5832         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5834 2011-06-23  Richard Stallman  <rms@gnu.org>
5836         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5837         (rmail-variables): Set next-error-move-function.
5838         (rmail-what-message): Take argument POS.
5839         (rmail-next-error-move): New function.
5841 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5843         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5844         messages for adjacent non-terminals.
5846 2011-06-23  Richard Stallman  <rms@gnu.org>
5848         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
5849         (rmail-show-message-1): Preserve buffer modified flag.
5850         (rmail-start-mail): Don't specify use of rmail-mail-return;
5851         that's done by mail-bury now.
5852         (rmail-mail-return): Handle arg NEWBUF.
5854 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
5856         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5857         SIZE is a number.
5859 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
5861         * window.el (get-lru-window, get-mru-window)
5862         (get-largest-window): Never return a minibuffer window.
5863         (display-buffer-pop-up-window): Fix a bug that could lead to
5864         reusing the minibuffer window.
5865         (display-buffer): Pass original specifier argument to
5866         display-buffer-function instead of the normalized one.
5867         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5869 2011-06-22  Leo Liu  <sdl.web@gmail.com>
5871         * minibuffer.el (completing-read-function)
5872         (completing-read-default): Move from minibuf.c
5874 2011-06-22  Richard Stallman  <rms@gnu.org>
5876         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5877         to Rmail even if not started by a special Rmail command.
5879         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5880         Copy the buffer currently showing just one message.
5882 2011-06-22  Roland Winkler  <winkler@gnu.org>
5884         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5885         (bibtex-clean-entry): First delete the old key so that a
5886         customized algorithm for generating the new key does not get
5887         confused by the old key.
5888         (bibtex-url): Obey regexp of first step.
5889         (bibtex-search-entries): Do not use add-to-list with local
5890         list-var.
5892 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5894         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5895         stored a user name, then query for the password first, instead of
5896         waiting for SMTP to give an error message and the trying again.
5898 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
5900         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5901         BUFFER in call-process.
5903 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5905         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5906         QUIT twice.
5907         (smtpmail-try-auth-methods): Require user name and password from
5908         auth-source.
5910 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
5912         * window.el (display-buffer-default-specifiers)
5913         (display-buffer-alist): Remove entries for pop-up-frame-alist.
5914         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
5915         (split-window): Normalize SIDE argument (Bug#8916).
5917         * frame.el (pop-up-frame-alist, pop-up-frame-function)
5918         (special-display-frame-alist, special-display-popup-frame):
5919         Remove duplicate declarations.  These are now in window.el.
5921 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5923         * mail/smtpmail.el (smtpmail-via-smtp):
5924         Set :use-starttls-if-possible so that we always use STARTTLS if the
5925         server supports it.  SMTP servers that support STARTTLS commonly
5926         require it.
5928         * net/network-stream.el (network-stream-open-starttls): Support
5929         upgrading to STARTTLS always, even if we don't have built-in support.
5930         (open-network-stream): Add the :always-query-capabilities keyword.
5932         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5933         upgrades with `open-network-stream', and rely solely on
5934         auth-source for all credentials.  Big changes throughout the file,
5935         but in particular:
5936         (smtpmail-auth-credentials): Remove.
5937         (smtpmail-starttls-credentials): Remove.
5938         (smtpmail-via-smtp): Check for servers saying they want AUTH after
5939         MAIL FROM, too.
5941         * net/network-stream.el (network-stream-open-starttls):
5942         Provide support for client certificates both for external and built-in
5943         STARTTLS.
5944         (auth-source): Require.
5945         (open-network-stream): Document the :client-certificate keyword.
5946         (network-stream-certificate): Change cert-cert to cert and
5947         cert-key to key.
5949 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
5951         * net/tramp-cache.el (top): Don't load the persistency file when
5952         "emacs -Q" has been called.
5954 2011-06-21  Tim Harper  <timcharper@gmail.com>
5956         * term/ns-win.el (ns-initialize-window-system):
5957         Set application-specific `ApplePressAndHoldEnabled' system
5958         resource to NO as it is not yet supported by the NS port.
5960 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
5962         * misc.el (list-dynamic-libraries--refresh): Compute header here...
5963         (list-dynamic-libraries): ...not here.
5965 2011-06-21  Leo Liu  <sdl.web@gmail.com>
5967         * subr.el (sha1): Implement sha1 using secure-hash.
5969 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
5971         * window.el (display-buffer-alist): In default value do not
5972         enforce searching a window on any but the selected frame.
5973         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5974         (display-buffer-select-window): Remove function.
5975         (display-buffer-in-window): When a window on another frame gets
5976         reused, do not select it any more but just raise its frame if
5977         necessary (Bug#8851) and (Bug#8856).
5978         (display-buffer-normalize-options): Handle pop-up-frames related
5979         options more faithfully.
5980         (pop-to-buffer): Don't rely on `display-buffer' selecting the
5981         window if it is on another frame.
5982         (display-buffer-alist, display-buffer-default-specifiers):
5983         Don't make new frame unsplittable by default.
5984         (display-buffer-normalize-argument): Fix doc-string typo and use
5985         'same-frame-other-window instead of 'other-window when associating
5986         with display-buffer-macro-specifiers.
5988 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
5990         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5991         New functions.
5992         (5x5-mode-map, 5x5-mode-menu): Bind them.
5993         (5x5-draw-grid): Tweak the solver's rendering.
5995 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5997         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5998         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6000 2011-06-21  Drew Adams  <drew.adams@oracle.com>
6002         * menu-bar.el: Use function variable instead of switch-to-buffer.
6003         (menu-bar-select-buffer-function): New variable.
6004         (menu-bar-update-buffers): Use it (bug#8876).
6006 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6008         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6009         variable's status.
6011 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
6013         * x-dnd.el (x-dnd-version-from-flags)
6014         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6015         and long as number (Bug#8899).
6016         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6018 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6020         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
6021         (completion-try-completion, completion-all-completions): Compute the
6022         metadata argument if it's missing; make it optional (bug#8795).
6024         * wid-edit.el: Use lex-bind and move towards completion-at-point.
6025         (widget-complete): Use new :completion-function property.
6026         (widget-completions-at-point): New function.
6027         (default): Use :completion-function instead of :complete.
6028         (widget-default-completions): Rename from widget-default-complete;
6029         Rewrite.
6030         (widget-string-complete, widget-file-complete, widget-color-complete):
6031         Remove functions.
6032         (file, symbol, function, variable, coding-system, color):
6033         * international/mule-cmds.el (default-input-method, charset)
6034         (language-info-custom-alist):
6035         * cus-edit.el (face): Use new property :completions.
6037         * progmodes/pascal.el (pascal-completions-at-point): New function.
6038         (pascal-mode): Use it.
6039         (pascal-mode-map): Use completion-at-point.
6040         (pascal-toggle-completions): Make obsolete.
6041         (pascal-complete-word, pascal-show-completions):
6042         * progmodes/octave-mod.el (octave-complete-symbol):
6043         Redefine as obsolete alias.
6044         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6045         Signal absence of completion info for old Octave,
6046         (inferior-octave-complete): Redefine as obsolete alias.
6047         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6048         (meta-completions-at-point): Rename from meta-complete-symbol and
6049         adapt it for use on completion-at-point-functions.
6050         (meta-common-mode): Use it.
6051         (meta-looking-at-backward, meta-match-buffer): Remove.
6052         (meta-complete-symbol): Redefine as obsolete alias.
6053         (meta-common-mode-map): Use completion-at-point.
6054         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6055         (makefile-mode-map): Use completion-at-point.
6056         (makefile-completions-at-point): Rename from makefile-complete and
6057         adapt it for use on completion-at-point-functions.
6058         (makefile-mode): Use it.
6059         (makefile-complete): Redefine as obsolete alias.
6061 2011-06-20  Deniz Dogan  <deniz@dogan.se>
6063         * net/rcirc.el: Delete trailing whitespaces once and for all.
6065 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
6067         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6069 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
6071         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6073         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6075 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
6077         * window.el (display-buffer-other-window-means-other-frame):
6078         Call display-buffer-normalize-alist.
6079         (display-buffer-normalize-specifiers-1): Rename to
6080         display-buffer-normalize-argument.  New argument other-frame.
6081         Rewrite.
6082         (display-buffer-normalize-specifiers-2): Rename to
6083         display-buffer-normalize-options.
6084         (display-buffer-normalize-alist-1): New function.
6085         (display-buffer-normalize-specifiers-3): Rename to
6086         display-buffer-normalize-alist.
6087         Call display-buffer-normalize-alist-1.
6088         (display-buffer-normalize-options-inhibit): New variable.
6089         (display-buffer-normalize-specifiers): Rewrite calling
6090         display-buffer-normalize-alist,
6091         display-buffer-normalize-argument, and
6092         display-buffer-normalize-options.  Don't call the latter if
6093         display-buffer-normalize-options-inhibit is non-nil.
6094         (frame-auto-delete): New option.
6095         (window-deletable-p): Use frame-auto-delete.
6096         (window-list-no-nils, window-state-ignored-parameters)
6097         (window-state-get-1, window-state-get, window-state-put-list)
6098         (window-state-put-1, window-state-put-2, window-state-put):
6099         New functions.
6100         (display-buffer-normalize-options): Move special-display-p group
6101         after pop-up-frame group (Bug#8851) and (Bug#8856).
6103 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
6105         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6106         groups (Bug#8776).
6107         (rx-submatch-n): New function.
6108         (rx): Document it.
6110         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6111         (Bug#8768).
6113         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6115         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6117         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6118         anytime existing face settings are present (Bug#8889).
6120         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6121         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6122         Remove unused argument.
6124 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
6126         * window.el (display-buffer-default-specifiers):
6127         Remove pop-up-frame.  Add pop-up-window-min-height,
6128         pop-up-window-min-width, and another reuse-window specifier
6129         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
6130         (display-buffer-normalize-specifiers-2):
6131         Handle split-height-threshold and split-width-threshold also when
6132         pop-up-windows is unset.  Add a reuse-window specifier for the
6133         case popping up a new window fails.
6134         (special-display-popup-frame): Remove double quoting.
6135         (display-buffer-normalize-specifiers-1): Fix thinko.
6137 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6139         * shell.el (shell-completion-vars): Set pcomplete-termination-string
6140         according to comint-completion-addsuffix.
6142         * pcomplete.el: Convert to lexical binding and fix bug#8819.
6143         (pcomplete-suffix-list): Mark as obsolete.
6144         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6145         pcomplete-seen in the closure.
6146         (pcomplete-comint-setup): Setup completion-at-point as well.
6147         (pcomplete--entries): New function.
6148         (pcomplete--env-regexp): New var.
6149         (pcomplete-entries): Rewrite to work with partial-completion and
6150         without relying on pcomplete-suffix-list.
6151         (pcomplete-pare-list): Remove, unused.
6153 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
6155         * window.el (display-buffer-alist): Set pop-up-window-min-height
6156         and pop-up-window-min-width in default value.  Reported by
6157         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
6158         other-window-means-other-frame.
6159         (display-buffer-macro-specifiers): Comment out entry for
6160         other-window specifier.
6161         (display-buffer-other-window-means-other-frame): New function.
6162         (display-buffer-normalize-specifiers-1): New arguments
6163         buffer-name and label.  Treat other-window case specially.
6164         (display-buffer-normalize-specifiers-2): Treat other-window case
6165         specially.
6166         (display-buffer-normalize-specifiers-3): New function.
6167         (display-buffer-normalize-specifiers):
6168         Call display-buffer-normalize-specifiers-3.
6170 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
6172         * window.el (same-window-p): Fix two typos introduced when
6173         adding with-no-warnings.
6174         (display-buffer-normalize-specifiers-1): Don't check
6175         pop-up-frames for 'unset initialization.
6176         (display-buffer-normalize-specifiers-2): Major rewrite using
6177         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6178         (pop-up-frames, display-buffer-reuse-frames)
6179         (display-buffer-mark-dedicated): Don't initialize to 'unset.
6180         Suggested by David Engster <deng@randomsample.de>.
6181         (even-window-heights): Initialize to 'unset.
6182         (display-buffer-alist-set): Handle new 'unset initializations.
6183         (display-buffer-macro-specifiers): Don't pop up a new frame in the
6184         other window case.
6186 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
6188         * window.el (display-buffer-normalize-specifiers-1):
6189         Respect current value of pop-up-frames for most reasonable values of
6190         second argument of display-buffer (Bug#8865).
6191         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6192         (switch-to-buffer-other-window-same-frame)
6193         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
6194         Adams (Bug#8875).
6195         (display-buffer): Don't check noninteractive when calling
6196         display-buffer-pop-up-frame.
6197         (display-buffer-pop-up-frame): Never pop up a frame in
6198         noninteractive mode (Bug#8857).
6199         (enlarge-window, shrink-window): Don't report an error when the
6200         window can't be resized as requested (Bug#8862).
6202 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6204         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6206         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6208         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6210 2011-06-15  Alan Mackenzie  <acm@muc.de>
6212         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6213         for declarators, disable knr checking to speed up for normal files.
6214         2: Refactor, replacing a sequence of nested if forms by a cond form.
6216 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6218         * net/network-stream.el (open-network-stream): Add the keyword
6219         :always-query-capabilities for the case where you want to force a
6220         `plain' network connection, but the protocol still requires the
6221         capabilitiy command (i.e., SMTP and EHLO).
6223         * subr.el (process-live-p): Rename from `process-alive-p' for
6224         consistency with other `-live-p' functions.
6226 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6228         * window.el (same-window-buffer-names, same-window-regexps)
6229         (special-display-frame-alist, special-display-popup-frame)
6230         (special-display-function, special-display-buffer-names)
6231         (special-display-regexps, pop-up-frame-alist)
6232         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6233         (pop-up-windows, split-window-preferred-function)
6234         (split-height-threshold, split-width-threshold, even-window-heights)
6235         (display-buffer-mark-dedicated): Don't encourage the use of
6236         display-buffer-alist from Elisp code.
6238 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
6240         * progmodes/python.el (python-mode): Derive from prog-mode.
6241         * progmodes/ps-mode.el (ps-mode):
6242         * progmodes/mixal-mode.el (mixal-mode):
6243         * progmodes/cfengine.el (cfengine-mode):
6244         * progmodes/ld-script.el (ld-script-mode): Likewise.
6246 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
6248         * window.el (display-buffer-alist): Trim default value to avoid
6249         popping up a new frame (Bug#8857) or reusing an arbitrary window
6250         on another frame.
6251         (display-buffer): Do not fall back on popping up a new frame in
6252         batch mode (Bug#8857).
6254 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
6256         * cus-theme.el (describe-theme-1): Use custom-theme-p.
6257         (custom-theme-summary): New function.
6258         (customize-themes): Use it.
6260 2011-06-13  Glenn Morris  <rgm@gnu.org>
6262         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6264 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
6266         * help.el (help-window): Remove variable.
6267         (help-window-point-marker, temp-buffer-max-height)
6268         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6269         (help-print-return-message): Don't set help-window.
6270         (resize-temp-buffer-window): Rewrite cod eand doc-string.
6271         (help-window-setup-finish): Remove.
6272         (help-window-display-message, help-window-setup)
6273         (with-help-window): Major rewrite based on new
6274         display-buffer-window variable.
6276         * help-mode.el (help-mode-finish): Remove help-window related
6277         code.
6279         * view.el (view-exits-all-viewing-windows): Remove reference to
6280         view-return-to-alist in doc-string.
6281         (view-return-to-alist): Make obsolete.
6282         (view-buffer): Call pop-to-buffer-same-window and remove
6283         undo-window code.
6284         (view-buffer-other-window): Call pop-to-buffer-other-window and
6285         simplify code.  Ignore second argument.
6286         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6287         simplify code.  Ignore second argument.
6288         (view-return-to-alist-update): Make obsolete.
6289         (view-mode-enter): Rename second argument to QUIT-RESTORE.
6290         Rewrite using quit-restore window parameters.
6291         (view-mode-exit): Rename second argument to EXIT-ONLY.
6292         Rewrite using quit-restore-window.
6293         (View-exit, View-exit-and-edit, View-leave, View-quit)
6294         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6295         appropriate arguments.
6296         (view-end-message): Use quit-restore window parameter.
6298         * window.el (display-buffer-function): Rewrite doc-string.
6299         (display-buffer-window, display-buffer-alist): New variables.
6300         (display-buffer-split-specifiers)
6301         (display-buffer-side-specifiers)
6302         (display-buffer-macro-specifiers): New constants.
6303         (display-buffer-even-window-sizes, display-buffer-set-height)
6304         (display-buffer-set-width, display-buffer-select-window)
6305         (display-buffer-in-window, display-buffer-reuse-window)
6306         (display-buffer-split-window-1, display-buffer-split-window)
6307         (display-buffer-split-atom-window, display-buffer-pop-up-window)
6308         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6309         (display-buffer-in-side-window, normalize-buffer-to-display)
6310         (display-buffer-normalize-specifiers-1)
6311         (display-buffer-normalize-specifiers-2)
6312         (display-buffer-normalize-specifiers, display-buffer-frame):
6313         New functions.
6314         (display-buffer): Major rewrite.
6315         (display-buffer-other-window, display-buffer-other-frame)
6316         (pop-to-buffer, switch-to-buffer-other-window)
6317         (switch-to-buffer-other-frame): Rewrite.
6318         (display-buffer-same-window, display-buffer-same-frame)
6319         (display-buffer-same-frame-other-window)
6320         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6321         (pop-to-buffer-other-window)
6322         (pop-to-buffer-same-frame-other-window)
6323         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6324         (switch-to-buffer-other-window-same-frame): New functions.
6325         (same-window-p, special-display-p): Rewrite disabling warnings.
6326         Make obsolete.
6327         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6328         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6329         Make obsolete
6330         (same-window-buffer-names, same-window-regexps)
6331         (special-display-frame-alist, special-display-popup-frame)
6332         (special-display-function, special-display-buffer-names)
6333         (special-display-regexps, pop-up-frame-alist)
6334         (pop-up-frame-function, split-window-preferred-function)
6335         (split-height-threshold, split-width-threshold)
6336         (even-window-heights): Make obsolete.
6338 2011-06-12  Glenn Morris  <rgm@gnu.org>
6340         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
6341         Misc simplifications.
6343 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
6345         * window.el (window-safely-shrinkable-p): Restore function which
6346         was inadvertently removed in change from 2011-06-11.  Declare as
6347         obsolete.
6349         * calendar/calendar.el (calendar-generate-window):
6350         Use window-iso-combined-p instead of combination of one-window-p and
6351         window-safely-shrinkable-p.
6353 2011-06-12  Glenn Morris  <rgm@gnu.org>
6355         * progmodes/fortran.el (fortran-mode-syntax-table):
6356         * progmodes/f90.el (f90-mode-syntax-table):
6357         Set % to punctuation.  (Bug#8820)
6358         (f90-find-tag-default): Remove, no longer needed.
6360 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
6362         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6364 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
6366         * image.el (image-animated-p): Return animation delay in seconds.
6367         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6368         (image-animate-timeout): Remove DELAY argument.  Don't assume
6369         every subimage has the same delay; get it from image-animated-p.
6370         (image-animate): Caller changed.
6372 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
6374         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6375         to ignored backtrace functions.
6377 2011-06-11  Glenn Morris  <rgm@gnu.org>
6379         * calendar/appt.el (appt-disp-window-function): Doc fix.
6380         (appt-check): Handle overlapping appointments.  (Bug#8337)
6382 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
6384         * window.el (window-tree-1, window-tree): New functions, moving
6385         the latter to window.el.
6386         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6387         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6388         (bw-refresh-edges): Remove.
6389         (balance-windows-1, balance-windows-2): New functions.
6390         (balance-windows): Rewrite in terms of window tree functions,
6391         balance-windows-1 and balance-windows-2.
6392         (bw-adjust-window): Remove.
6393         (balance-windows-area-adjust): New function with functionality of
6394         bw-adjust-window but using resize-window.
6395         (set-window-text-height): Rewrite doc-string.
6396         Use normalize-live-window and resize-window.
6397         (enlarge-window-horizontally, shrink-window-horizontally):
6398         Rename argument to DELTA.
6399         (window-buffer-height): New function.
6400         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6401         Rewrite using new window resize routines.
6402         (kill-buffer-and-window, mouse-autoselect-window-select):
6403         Use ignore-errors instead of condition-case.
6404         (quit-window): Call delete-frame instead of delete-windows-on
6405         for the only buffer on frame.
6407 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
6409         * loadup.el (top-level): Load window before files for the sake
6410         of replace-buffer-in-windows.
6412         * files.el (read-buffer-to-switch)
6413         (switch-to-buffer-other-window)
6414         (switch-to-buffer-other-frame, display-buffer-other-frame):
6415         Move to window.el.
6417         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6418         (previous-buffer): Move to window.el.
6420         * bindings.el (unbury-buffer): Move to window.el.
6422         * window.el (delete-other-windows-vertically): Move after
6423         definition of delete-other-windows.
6424         (other-window, delete-windows-on, replace-buffer-in-windows):
6425         Move here from window.c.
6426         (record-window-buffer, unrecord-window-buffer)
6427         (set-window-buffer-start-and-point, switch-to-prev-buffer)
6428         (switch-to-next-buffer): New functions.
6429         (get-next-valid-buffer, last-buffer, next-buffer): Move here
6430         from simple.el.  Call switch-to-next-buffer.
6431         (previous-buffer): Move here from simple.el.
6432         Call switch-to-prev-buffer.
6433         (bury-buffer): Move here from buffer.c.  Switch to previous
6434         buffer when window cannot be deleted.
6435         (unbury-buffer): Move here from bindings.el.
6436         (ctl-x-map): Move binding for other-window from window.c to
6437         here.
6438         (read-buffer-to-switch, switch-to-buffer-other-window)
6439         (switch-to-buffer-other-frame): Move here from files.el.
6440         (normalize-buffer-to-switch-to): New functions.
6441         (switch-to-buffer): Move here from buffer.c.
6442         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
6444 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
6446         * window.el (window-min-height, window-min-width): Move here
6447         from window.c.  Add defcustoms and rewrite doc-strings.
6448         (resize-mini-window, resize-window): New functions.
6449         (adjust-window-trailing-edge, enlarge-window, shrink-window):
6450         Move here from window.c.
6451         (maximize-window, minimize-window): New functions.
6452         (delete-window, delete-other-windows, split-window): Move here
6453         from window.c.
6454         (window-split-min-size): New function.
6455         (split-window-keep-point): Mention split-window-above-each-other
6456         instead of split-window-vertically.
6457         (split-window-above-each-other, split-window-vertically):
6458         Rename split-window-vertically to split-window-above-each-other
6459         and provide defalias for old definition.
6460         (split-window-side-by-side, split-window-horizontally):
6461         Rename split-window-horizontally to split-window-side-by-side
6462         and provide defalias for the old definition.
6463         (ctl-x-map): Move bindings for delete-window,
6464         delete-other-windows and enlarge-window here from window.c.
6465         Replace bindings for split-window-vertically and
6466         split-window-horizontally by bindings for
6467         split-window-above-each-other and split-window-side-by-side.
6469         * cus-start.el (all): Remove entries for window-min-height and
6470         window-min-width.  Add entries for window-splits and
6471         window-nest.
6473 2011-06-09  Glenn Morris  <rgm@gnu.org>
6475         * calendar/appt.el (appt-mode-line): New function.
6476         (appt-check, appt-disp-window): Use it.
6478         * files.el (hack-one-local-variable-eval-safep):
6479         Allow minor-modes with explicit +/-1 arguments.
6481 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
6483         * term/xterm.el (xterm): Add defgroup.
6484         (xterm-extra-capabilities): Add defcustom to supply known xterm
6485         capabilities, skip querying them, or query them (default).
6486         (terminal-init-xterm): Use it.
6487         (terminal-init-xterm-modify-other-keys): New function to set up
6488         modifyOtherKeys support to simplify `terminal-init-xterm'.
6490 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
6492         * window.el (resize-window-reset, resize-window-reset-1)
6493         (resize-subwindows-skip-p, resize-subwindows-normal)
6494         (resize-subwindows, resize-other-windows, resize-this-window)
6495         (resize-root-window, resize-root-window-vertically)
6496         (window-deletable-p, window-or-subwindow-p)
6497         (frame-root-window-p): New functions.
6499 2011-06-09  Glenn Morris  <rgm@gnu.org>
6501         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6502         (ange-ftp-get-files): Use it.
6504 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6506         * mail/sendmail.el (mail-recover-1, mail-recover):
6507         * files.el (recover-file, recover-session):
6508         Handle dired-listing-switches not being just a single short option.
6510 2011-06-09  Glenn Morris  <rgm@gnu.org>
6512         * calendar/appt.el (appt-display-message, appt-disp-window):
6513         Handle lists of appointments.
6515 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
6517         * window.el (one-window-p): Move down in code.
6518         Rewrite doc-string.
6519         (window-current-scroll-bars): Rewrite doc-string.
6520         Normalize live window argument.
6521         (walk-windows, get-window-with-predicate, count-windows):
6522         Rewrite doc-string.  Use window-list-1.
6523         (window-in-direction-2, window-in-direction, get-mru-window):
6524         New functions.
6526 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
6528         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6529         Doc fix (Bug#8713).
6531 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
6533         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6535 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
6537         * loadhist.el (unload-feature-special-hooks):
6538         Add `comint-output-filter-functions'.
6540 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
6542         * calendar/appt.el (appt-check): Move some initializations into the let.
6544 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
6546         * window.el (window-height): Defalias to window-total-height.
6547         (window-width): Defalias to window-body-width.
6549 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
6551         * image-mode.el (image-toggle-animation): New command.
6552         (image-mode-map): Bind it to RET.
6553         (image-mode): Update message.
6554         (image-toggle-display-image): Avoid a spurious cache flush.
6555         (image-transform-rotation): Doc fix.
6556         (image-transform-properties): Return quickly in the normal case.
6557         (image-animate-loop): Rename from image-animate-max-time.
6559         * image.el (image-animate-max-time): Move to image-mode.el.
6560         (create-animated-image): Remove unnecessary function.
6561         (image-animate): Rename from image-animate-start.  New arg.
6562         (image-animate-stop): Remove; just use image-animate-timer.
6563         (image-animate-timer): Use car-safe.
6564         (image-animate-timeout): Rename argument.
6566 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
6568         * window.el (get-lru-window, get-largest-window): Move here from
6569         window.c.  Rename first argument to ALL-FRAMES.
6570         Rephrase doc-strings.
6571         (get-buffer-window-list): Rewrite using window-list-1.
6572         Rephrase doc-string.
6573         (window-safe-min-height, window-safe-min-width): New constants.
6574         (window-size-ignore, window-min-size, window-min-size-1)
6575         (window-sizable, window-sizable-p, window-size-fixed-1)
6576         (window-size-fixed-p, window-min-delta-1, window-min-delta)
6577         (window-max-delta-1, window-max-delta, window-resizable)
6578         (window-resizable-p, window-total-height, window-total-width)
6579         (window-body-width): New functions.
6580         (window-full-height-p, window-full-width-p): Rewrite using
6581         window-total-size.
6582         (window-body-height): Rewrite using window-body-size.
6584 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
6586         * window.el (window-right, window-left, window-child)
6587         (window-child-count, window-last-child, window-any-p)
6588         (normalize-live-buffer, normalize-live-frame)
6589         (normalize-any-window, normalize-live-window)
6590         (window-iso-combination-p, window-iso-combined-p)
6591         (window-iso-combinations)
6592         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6593         (windows-with-parameter, window-with-parameter)
6594         (window-atom-root, make-window-atom, window-atom-check-1)
6595         (window-atom-check, window-side-check, window-check):
6596         New functions.
6597         (ignore-window-parameters, window-sides, window-sides-vertical)
6598         (window-sides-slots): New variables.
6599         (window-size-fixed): Move down in code.  Minor doc-string fix.
6601 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
6603         * comint.el (comint-dynamic-complete-as-filename)
6604         (comint-dynamic-complete-filename): Correctly call
6605         completion-in-region.
6607 2011-06-05  Deniz Dogan  <deniz@dogan.se>
6609         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6610         in last change.
6612 2011-06-05  Deniz Dogan  <deniz@dogan.se>
6614         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6615         (rcirc): Use it to prompt for encryption.
6617 2011-06-05  Roland Winkler  <winkler@gnu.org>
6619         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6620         (bibtex-search-entries): New command bound to C-c C-a.
6621         (bibtex-display-entries): New function.
6623 2011-06-05  Roland Winkler  <winkler@gnu.org>
6625         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6626         (bibtex-insert-kill): After yanking insert newline if necessary.
6627         (bibtex-initialize): Call bibtex-string-files-init only once.
6628         (bibtex-mode): Do not call easy-menu-add.
6629         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6630         (bibtex-yank): Set arg properly if nil.
6632 2011-06-05  Roland Winkler  <winkler@gnu.org>
6634         * textmodes/bibtex.el (bibtex-search-entry-globally):
6635         New variable.
6636         (bibtex-search-entry): Use it.
6638 2011-06-05  Roland Winkler  <winkler@gnu.org>
6640         * textmodes/bibtex.el (bibtex-entry-format): New option
6641         sort-fields.
6642         (bibtex-format-entry, bibtex-reformat): Honor this option.
6643         (bibtex-parse-entry): Return fields in proper order.
6645 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
6647         * doc-view.el (doc-view-remove-if): Move computation of result out
6648         of `dolist' to silence misleading lexical-binding warning.
6650 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
6652         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6653         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6655 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
6657         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6658         "SunOS 5.10".
6660 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
6662         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6663         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6664         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6665         (tramp-parse-putty):
6666         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6667         (tramp-completion-function-alist-ssh)
6668         (tramp-completion-function-alist-telnet)
6669         (tramp-completion-function-alist-su)
6670         (tramp-completion-function-alist-putty): Set `tramp-autoload'
6671         cookie.
6673         * net/tramp-ftp.el:
6674         * net/tramp-sh.el:
6675         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6676         load "tramp.el" `tramp-set-completion-function'.
6678 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6680         * shell.el: Require and use pcomplete.
6681         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6682         (shell-completion-vars): Set pcomplete-default-completion-function.
6684 2011-06-04  Deniz Dogan  <deniz@dogan.se>
6686         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6687         `memq' (Bug#8799).
6689 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6691         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6693 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
6695         * bs.el (bs--mark-unmark, bs--nth-wrapper):
6696         * mpc.el (mpc-select-extend, mpc-songpointer-context):
6697         * vc/log-view.el (log-view-beginning-of-defun):
6698         * vc/smerge-mode.el (smerge-apply-resolution-patch)
6699         (smerge-refine-forward, smerge-refine-chopup-region):
6700         Silence warning for unused `dotimes' counter variables.
6702 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6704         * net/tramp.el (tramp-with-progress-reporter): Rename from
6705         with-progress-reporter.  Use `declare'.
6706         * net/tramp-smb.el:
6707         * net/tramp-sh.el:
6708         * net/tramp-gvfs.el: Update all uses.
6710 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
6712         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6713         buffer isn't killed before making it current.
6715 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6717         Silence various byte-compiler warnings.
6718         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6719         `access-type' and new obsolescence format.
6720         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6721         new format.
6722         (byte-compile-check-variable): New `access-type' argument.
6723         Only warn if the access-type is obsolete.
6724         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6725         (byte-compile-variable-set): Adjust callers.
6726         * help-fns.el (describe-variable): Adjust to new obsolescence format.
6727         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6728         setting it as obsolete.
6729         * simple.el (minibuffer-completing-symbol):
6730         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6731         access as obsolete.
6732         * minibuffer.el (minibuffer-completing-file-name): Don't make it
6733         obsolete yet.
6734         * international/quail.el (quail-mouse-choose-completion): Remove unused
6735         code referring to obsolete var.
6736         (quail-choose-completion-string): Remove.
6737         * server.el (server-clients-with, server-kill-buffer-query-function)
6738         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6739         * proced.el (proced-send-signal):
6740         * emacs-lisp/lisp.el (lisp-complete-symbol):
6741         Replace completion-annotate-function with completion-extra-properties.
6743 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6745         * simple.el (goto-line): Use read-number.
6746         (overriding-map-is-bound): Remove.
6747         (saved-overriding-map): Change default.
6748         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6749         Take the map as argument.
6750         (universal-argument, negative-argument, digit-argument): Use it.
6751         (restore-overriding-map): Adjust.
6752         (do-auto-fill): Use fill-forward-paragraph.
6753         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6755         * minibuffer.el (minibuffer-inactive-mode-map): New var.
6756         (minibuffer-inactive-mode): New major mode.
6757         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6758         the *Messages* buffer" hack.
6759         (mouse-popup-menubar): Don't burp if the event is a normal key.
6761         Miscellaneous tweaks.
6762         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6763         lexical scoping as in subr.el's dolist and dotimes.
6764         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6765         Silence compiler warning.
6766         * thingatpt.el (forward-whitespace): Trivial coding style fix.
6767         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6768         * international/ccl.el (ccl-compile): Trivial simplification.
6769         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6770         * emacs-lisp/testcover.el (testcover-end): Remove spurious
6771         `printflag' argument.
6772         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6773         Purecopy the whole obsolescence data.
6775 2011-06-01  Leo Liu  <sdl.web@gmail.com>
6777         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6778         improve doc-string as suggested by Marco Pessotto
6779         <melmothx@gmail.com>.
6780         (rcirc-print): Fix last change.
6782 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6784         * minibuffer.el (complete-with-action): Return nil for the metadata and
6785         boundaries of non-functional tables.
6786         (completion-table-dynamic): Return nil for the metadata.
6787         (completion-table-with-terminator): Add default case, using
6788         complete-with-action.
6789         (completion--metadata): New function.
6790         (completion-all-sorted-completions, minibuffer-completion-help): Use it
6791         to try and avoid pathological performance problems.
6792         (completion--embedded-envvar-table): Return `category' metadata.
6794 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6796         * subr.el (process-alive-p): New tiny convenience function.
6798 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6800         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6801         content but also its previous major mode.
6803 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
6805         * emacs-lisp/debug.el (debug): Restore the previous content of the
6806         *Backtrace* buffer when we exit with C-M-c.
6808 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6810         * minibuffer.el: Add metadata method to completion tables.
6811         (completion-category-overrides): New defcustom.
6812         (completion-metadata, completion--field-metadata)
6813         (completion-metadata-get, completion--styles)
6814         (completion--cycle-threshold): New functions.
6815         (completion-try-completion, completion-all-completions):
6816         Add `metadata' argument to choose completion-styles.
6817         (completion--do-completion): Use metadata to choose cycling.
6818         (completion-all-sorted-completions): Use metadata for sorting.
6819         Remove :completion-cycle-penalty which is not needed any more.
6820         (completion--try-word-completion): Add `metadata' argument.
6821         (minibuffer-completion-help): Check metadata for annotation function
6822         and sorting.
6823         (completion-file-name-table): Return `category' metadata.
6824         (minibuffer-completing-file-name): Make obsolete.
6825         * simple.el (minibuffer-completing-symbol): Make obsolete.
6826         * icomplete.el (icomplete-completions): Pass new `metadata' param to
6827         completion-try-completion.
6829 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6831         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6833 2011-05-30  Leo Liu  <sdl.web@gmail.com>
6835         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
6836         (rcirc-print): Decode all incoming messages (bug#8744).
6837         (rcirc-decode-coding-system): Allow value nil for automatic coding
6838         system detection.
6840 2011-06-01  Glenn Morris  <rgm@gnu.org>
6842         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6844 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
6846         * image.el (image-animate-max-time): Allow nil and t values.
6847         Default to nil.
6848         (create-animated-image): Doc fix.
6849         (image-animate-start): Remove second arg; just use
6850         image-animate-max-time.
6851         (image-animate-timeout): Doc fix.  Args changed.
6853         * image-mode.el (image-toggle-display-image): Ensure that the
6854         image spec passed to the animate timer is the same object as in
6855         the buffer's display property (Bug#6981).
6856         (image-transform-properties): Doc fix.
6858         * image.el (image-animate-max-time): Default to nil.
6860 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
6862         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6863         entire buffer list (Bug#8184).
6865 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
6867         * image.el (imagemagick-types-inhibit)
6868         (imagemagick-register-types): Doc fix.
6870 2011-05-29  Deniz Dogan  <deniz@dogan.se>
6872         * net/rcirc.el (rcirc): Use the user's stored encryption method by
6873         default.
6875 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
6877         * select.el: Don't perform clipboard-manager saving in hooks;
6878         leave the hooks empty.
6880 2011-05-28  Leo Liu  <sdl.web@gmail.com>
6882         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6883         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
6884         (occur-edit-mode): New major mode (Bug#8463).
6885         (occur-after-change-function): New function.
6886         (occur-engine): Give Occur tags a read-only property.
6888 2011-05-28  Kevin Ryde  <user42@zip.com.au>
6890         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6892 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
6894         * bindings.el (help-echo): Make the initial non-indicator dash
6895         empty on graphical terminals (Bug#7295).
6897         * files.el (auto-mode-alist): Move config rule after the
6898         in-stripping one (Bug#8547).
6900         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6902         * startup.el (normal-splash-screen): Remove gratuitous mode-line
6903         setting (Bug#8740).
6905 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
6907         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6908         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6909         (Bug#8539).
6911 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
6913         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6915 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
6917         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6918         (hs-hide-block-at-point, hs-find-block-beginning)
6919         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6920         (Bug#8279).
6922 2011-05-28  Glenn Morris  <rgm@gnu.org>
6924         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
6926 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
6928         * help-fns.el (describe-function-1): If the function is a derived
6929         major mode, print the parent mode.
6931         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6932         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6934 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6936         * minibuffer.el (completion--capf-wrapper): Check applicability before
6937         returning non-nil for non-exclusive completion data.
6938         * progmodes/etags.el (tags-completion-at-point-function):
6939         * info-look.el (info-lookup-completions-at-point): Mark as
6940         non-exclusive.
6941         (info-complete): Adjust accordingly.
6943         * info-look.el: Convert to lexical-binding and completion-at-point.
6944         (info-lookup-completions-at-point): New function.
6945         (info-complete): Use it and completion-in-region.
6947 2011-05-28  Drew Adams  <drew.adams@oracle.com>
6949         * isearch.el: Let M-e start with point at the first mismatched char.
6950         (isearch-fail-pos): New function.
6951         (isearch-edit-string): Use it.
6953 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
6955         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6957 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
6959         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
6960         traversal functions for avl-trees.
6961         (avl-tree--stack): New struct.
6962         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6963         (avl-tree-enter): Add optional `updatefun' arg.
6964         (avl-tree--do-enter): Add optional `updatefun' arg.
6965         Change return value.
6966         (avl-tree-delete): Add optional `test' and `nilflag' args.
6967         (avl-tree--do-delete): Add `test' and `nilflag' args.
6968         Change return value.
6969         (avl-tree-member): Add optional `nilflag'
6970         (avl-tree-member-p): New function.
6971         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6972         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6973         (avl-tree-stack-empty-p): New functions.
6975 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
6977         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6978         avl-tree--del-balance1 and make it work both ways.
6979         (avl-tree--del-balance2): Remove.
6980         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6981         make it work both ways.
6982         (avl-tree--enter-balance2): Remove.
6983         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6984         New macros.
6985         (avl-tree--mapc, avl-tree-map): Add direction argument.
6987 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
6989         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6991 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
6993         * select.el: Support clipboard managers with built-in function
6994         x-clipboard-manager-save, via delete-frame-functions and
6995         kill-emacs-hook.
6996         (xselect-convert-to-targets): Add MULTIPLE target to list.
6997         (xselect-convert-to-save-targets): New function.
6999 2011-05-27  Kenichi Handa  <handa@m17n.org>
7001         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7002         let-binding rfc2047-encode-encoded-words to nil.
7004 2011-05-27  Glenn Morris  <rgm@gnu.org>
7006         * mail/emacsbug.el: Don't require url-util.
7008         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
7010         * files.el (set-auto-mode):
7011         Also respect mode: entries at the end of the file.  (Bug#8586)
7013 2011-05-26  Glenn Morris  <rgm@gnu.org>
7015         * files.el (hack-local-variables-prop-line, hack-local-variables):
7016         Downcase mode names, as seems to be traditional.
7017         (hack-local-variables, hack-local-variables-apply): Doc fixes.
7019         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7020         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
7022 2011-05-25  Julien Danjou  <julien@danjou.info>
7024         * textmodes/rst.el (rst-define-level-faces): Do not define face
7025         symbol if it is already defined.
7027 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7029         * play/5x5.el (5x5-new-game, 5x5-randomize):
7030         Reset 5x5-solver-output to nil when a new grid is cast.
7031         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7032         these debugging traces, as defmacro breaks the compiled code.
7034 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
7036         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7038 2011-05-24  Leo Liu  <sdl.web@gmail.com>
7040         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7041         (vc-bzr-sha1): Adapt.
7043         * sha1.el: Remove.  Function `sha1' is now builtin.
7045         * bindings.el: Provide sha1 feature.
7047 2011-05-24  Kenichi Handa  <handa@m17n.org>
7049         * mail/sendmail.el: Require `rfc2047'.
7050         (mail-insert-from-field): Do not perform RFC2047 encoding.
7051         (mail-encode-header): New function.
7052         (sendmail-send-it): Set buffer-file-coding-system of the work
7053         buffer to the return value of select-message-coding-system.
7054         Call mail-encode-header.
7056         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7058 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
7060         * mail/supercite.el (sc-default-cite-frame):
7061         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7063 2011-05-24  Glenn Morris  <rgm@gnu.org>
7065         * progmodes/python.el (brm-menu): Declare.
7067         * emulation/viper.el (viper-set-hooks): Declare.
7069         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7070         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7071         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7072         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7073         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7074         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7076 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7078         Add an :exit-function for completion-at-point.
7080         * minibuffer.el (completion--done): New fun.
7081         (completion--do-completion): Use it.  New arg `expect-exact'.
7082         (minibuffer-complete, minibuffer-complete-word): Don't output message,
7083         since completion--do-completion does it for us now.
7084         (minibuffer-force-complete): Use completion--done and
7085         completion--replace.  Handle sole-completion case with more care.
7086         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7087         (completion-extra-properties): New var.
7088         (completion-annotate-function): Make obsolete.
7089         (minibuffer-completion-help): Adjust accordingly.
7090         Use completion-list-insert-choice-function.
7091         (completion-at-point, completion-help-at-point):
7092         Bind completion-extra-properties.
7093         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7094         * simple.el (completion-list-insert-choice-function): New var.
7095         (completion-setup-function): Preserve it.
7096         (choose-completion): Pay attention to it, shuffle the code a bit.
7097         (choose-completion-string): New arg `insert-function'.
7099         * textmodes/bibtex.el: Convert to lexical binding.
7100         (bibtex-mode-map): Use completion-at-point.
7101         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7102         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7103         (bibtex-complete): Define as obsolete alias.
7104         (bibtex-complete-internal): Remove.
7105         (bibtex-format-entry): Remove unused sub-group in regexp.
7106         * shell.el (shell--command-completion-data)
7107         (shell-environment-variable-completion):
7108         * pcomplete.el (pcomplete-completions-at-point):
7109         * comint.el (comint--complete-file-name-data): Use :exit-function
7110         instead of completion-table-with-terminator so it also works for
7111         choose-completion.
7113 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7115         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7117         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7118         (bug#8710).
7120         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7122 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
7124         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7125         customization variable and implement: If non-nil, auto-fill will
7126         be inhibited while on topic's header line.
7128 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7130         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
7131         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
7132         always have a solution in grid size = 5 cases.
7133         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7134         (5x5-solver-output, 5x5-log-buffer): New vars.
7135         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7136         Make these variables buffer local to achieve 5x5 multi-session-ness.
7137         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7138         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7139         (5x5-solve-suggest): New funs.
7140         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7141         randomize a grid so that we ensure that there is always a solution.
7142         (5x5-make-random-grid): Allow other movement than flipping.
7144 2011-05-23  Kevin Ryde  <user42@zip.com.au>
7146         * emacs-lisp/advice.el (ad-read-advised-function):
7147         Use `function-called-at-point' as the default, if it has
7148         advice and passes PREDICATE.
7150 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7152         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7153         byte-compile-lambda if it's actually a lambda.
7155         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7156         Fix function quoting.  Use backquote better.
7158 2011-05-22  Yuanle Song  <sylecn@gmail.com>
7160         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7161         matching (Bug#8516).
7163 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
7165         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7166         different face (Bug#8178).
7168 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
7170         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7171         defface (Bug#8144).
7173 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7175         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7176         funcall as well (bug#8712).  Warn when performing those conversions.
7177         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7179         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7181 2011-05-22  Glenn Morris  <rgm@gnu.org>
7183         * files.el (hack-local-variables-prop-line): Small simplifications.
7184         (hack-local-variables, hack-local-variables-prop-line):
7185         If MODE-ONLY, return the mode, rather than just `t'.
7187 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7189         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7191 2011-05-21  Glenn Morris  <rgm@gnu.org>
7193         * files.el (hack-local-variables-prop-line, hack-local-variables):
7194         If only interested in the mode, don't bother doing the other stuff.
7196         * image-mode.el (image-after-revert-hook):
7197         Redraw all frames on which the image is visible.  (Bug#8567)
7199         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
7201         * wid-edit.el (widget-checklist-match-inline):
7202         Fix 2011-04-19 change.  (Bug#8649)
7204 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7206         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7207         Also allow singlespace after single-letter capitals followed by a dot.
7209         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7210         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7212 2011-05-20  Nix  <nix@esperi.org.uk>
7214         * files.el (basic-save-buffer-2):
7215         Fix handling of break-hardlink-on-save with non-existent files.
7217 2011-05-19  Deniz Dogan  <deniz@dogan.se>
7219         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
7220         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
7222 2011-05-19  Glenn Morris  <rgm@gnu.org>
7224         * progmodes/f90.el (f90-type-def-re):
7225         Handle "type, bind(c)".  (Bug#8691)
7227         * emacs-lisp/autoload.el (batch-update-autoloads):
7228         Set autoload-excludes by parsing loadup.el rather than Makefiles.
7230 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
7232         * net/tramp.el (tramp-process-actions): Set "first-password-request"
7233         property for the correct connection in case of multihops.
7235 2011-05-18  Glenn Morris  <rgm@gnu.org>
7237         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
7238         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7240         Rationalize calendar handling of day and month abbrev-arrays.
7241         * calendar/calendar.el (calendar-customized-p): New function.
7242         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7243         (calendar-day-name-array, calendar-month-name-array): Doc fix.
7244         Add :set function.
7245         (calendar-abbrev-length, calendar-day-abbrev-array)
7246         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7247         (calendar-day-abbrev-array, calendar-month-abbrev-array):
7248         Elements may no longer be nil.
7249         (calendar-day-name, calendar-month-name):
7250         Update for changed nature of abbrev arrays.
7251         * calendar/diary-lib.el (diary-name-pattern):
7252         Update for changed nature of abbrev arrays.
7253         (diary-mark-entries-1): Update calendar-make-alist calls.
7254         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7255         * calendar/cal-html.el (cal-html-day-abbrev-array):
7256         Simply inherit from calendar-day-abbrev-array.
7258 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7260         * progmodes/grep.el (grep-mode): Disable default
7261         compilation-directory-matcher setting (bug#8684).
7263 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
7265         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7266         instead of "head" and "tail".  There were problems with SunOS 5.9,
7267         and it performs better.
7269 2011-05-17  Glenn Morris  <rgm@gnu.org>
7271         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7273         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7274         Replace obsolete function.
7276         * shell.el (pcomplete-parse-arguments-function): Declare.
7278         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7279         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7280         (appt-check): Doc fixes.
7281         (appt-disp-window-function, appt-delete-window-function):
7282         Remove needless special case in custom :type.
7283         (appt-display-count): Default to 0, not nil.
7284         (appt-check): Reset appt-display-count to 0, not nil.
7286 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
7288         * progmodes/python.el (python-font-lock-keywords):
7289         Add the Python 3.X keyword "nonlocal" (bug#8639).
7291 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7293         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7295 2011-05-16  Kevin Ryde  <user42@zip.com.au>
7297         * info-look.el (makefile-automake-mode): New setups, looking in
7298         automake manual, then makefile-mode.
7299         (makefile-mode): Remove automake manual, have it just in
7300         makefile-automake-mode since there's various things different or
7301         not relevant to plain make.
7302         (makefile-mode): Remove "other-modes" non-existent automake-mode,
7303         believe a hypothetical automake-mode would go to makefile-mode,
7304         not the other way around.
7306 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
7308         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7309         hunk-end tags (Bug#8672).
7311         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7312         vc-annotate-show-diff-revision-at-line (Bug#8671).
7314 2011-05-14  Glenn Morris  <rgm@gnu.org>
7316         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7317         in the middle of an existing one with multiple authors.  (Bug#8645)
7318         (change-log-font-lock-keywords): Also handle multiple author lines
7319         with leading tabs.  (Bug#8644)
7321         * calendar/appt.el (appt-check): Rename some local variables.
7322         Some simplification/reordering.
7324         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7325         (feedmail-sendmail-f-doesnt-sell-me-out)
7326         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7327         (feedmail-debug-sit-for, feedmail-queue-express-hook)
7328         (feedmail-queue-runner-message-sender): Set :version.
7329         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7330         (bbdb-dwim-net-address, vm-mail): Declare.
7331         (feedmail-binmail-gnulinuxish-template):
7332         Rename from feedmail-binmail-linuxish-template.
7333         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7334         Use insert-buffer-substring.
7336 2011-05-14  Bill Carpenter  <bill@carpenter.org>
7338         * mail/feedmail.el (feedmail-patch-level): Increase.
7339         (feedmail-debug): New custom group.
7340         (feedmail-confirm-outgoing-timeout)
7341         (feedmail-sendmail-f-doesnt-sell-me-out)
7342         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7343         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7344         (feedmail-sender-line, feedmail-from-line)
7345         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
7346         (feedmail-spray-this-address)
7347         (feedmail-spray-address-fiddle-plex-list)
7348         (feedmail-queue-use-send-time-for-date)
7349         (feedmail-queue-use-send-time-for-message-id)
7350         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7351         (feedmail-buffer-eating-function):
7352         Doc fixes.
7353         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7354         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7355         (feedmail-message-action-scroll-down): New functions.
7356         (feedmail-queue-directory, feedmail-queue-draft-directory):
7357         Use expand-file-name.
7358         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7359         Remove C-v help entry.
7360         (feedmail-queue-buffer-file-name): New variable.
7361         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7362         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7363         (feedmail-message-action-send-strong, feedmail-message-action-edit)
7364         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7365         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7366         (feedmail-message-action-toggle-spray)
7367         (feedmail-run-the-queue-no-prompts)
7368         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7369         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7370         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7371         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7372         (feedmail-envelope-deducer, feedmail-fiddle-from)
7373         (feedmail-fiddle-sender, feedmail-default-date-generator)
7374         (feedmail-fiddle-date, feedmail-fiddle-message-id)
7375         (feedmail-fiddle-spray-address)
7376         (feedmail-fiddle-list-of-spray-fiddle-plexes)
7377         (feedmail-fiddle-list-of-fiddle-plexes)
7378         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7379         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7380         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7381         Change default.  Doc fix.
7382         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7383         (feedmail-binmail-linuxish-template): New constant.
7384         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
7385         Respect feedmail-sendmail-f-doesnt-sell-me-out.
7386         (feedmail-send-it): Add debug call.
7387         Use feedmail-queue-buffer-file-name, and
7388         feedmail-send-it-immediately-wrapper.
7389         (feedmail-message-action-send): Add debug call.
7390         Use feedmail-send-it-immediately-wrapper.
7391         (feedmail-queue-express-to-queue): Add debug call.
7392         Run feedmail-queue-express-hook.
7393         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
7394         (feedmail-message-action-help-blat):
7395         Rename from feedmail-queue-send-edit-prompt-help-first.
7396         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
7397         Check line-endings.  Handle errors better.
7398         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7399         Doc fix.  Add debug call.
7400         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
7401         Use feedmail-queue-send-edit-prompt-inner.
7402         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7403         (feedmail-queue-send-edit-prompt-inner): New function, extracted
7404         from feedmail-queue-send-edit-prompt.
7405         (feedmail-queue-send-edit-prompt-help)
7406         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7407         (feedmail-tidy-up-slug): Add debug call.
7408         Respect feedmail-queue-slug-suspect-regexp.
7409         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7410         (feedmail-dump-message-to-queue): Add debug call.
7411         Expand queue-directory.
7412         (feedmail-dump-message-to-queue): Change message slightly.
7413         Use feedmail-say-chatter.
7414         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
7415         (feedmail-send-it-immediately-wrapper): New function.
7416         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
7417         Insert empty string rather than newline.  Handle full-frame case.
7418         Use catch/throw.  Use feedmail-say-chatter.
7419         (feedmail-fiddle-from): Try mail-host-address.
7420         (feedmail-default-message-id-generator): Doc fix.
7421         Bind system-time-locale.  Handle missing end.
7422         (feedmail-fiddle-x-mailer): Add debug call.
7423         Handle feedmail-x-mailer-line being nil.
7424         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7425         Add debug call.  Use buffer-substring-no-properties.
7426         (feedmail-say-debug, feedmail-say-chatter): New functions.
7427         (feedmail-find-eoh): Give an explicit error.
7429 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
7431         * net/newst-treeview.el (newsticker-treeview-face): Change default
7432         family from helvetica to sans.
7433         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
7434         etc/images/newsticker.
7436         * net/newst-reader.el (newsticker-feed-face): Change default
7437         family from helvetica to sans.
7439         * net/newst-plainview.el (newsticker-new-item-face)
7440         (newsticker-old-item-face, newsticker-immortal-item-face)
7441         (newsticker-obsolete-item-face, newsticker-date-face)
7442         (newsticker-statistics-face): Change default family from
7443         helvetica to sans.
7444         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
7445         etc/images/newsticker.
7447         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7448         (newsticker--process-auto-mark-filter-match): : Tell user about
7449         auto-marking.
7451 2011-05-13  Didier Verna  <didier@xemacs.org>
7453         Common Lisp indentation improvements on defmethod and lambda-lists.
7454         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7455         TODO entries.
7456         (lisp-lambda-list-keyword-parameter-indentation)
7457         (lisp-lambda-list-keyword-parameter-alignment)
7458         (lisp-lambda-list-keyword-alignment): New customizable user options.
7459         (lisp-indent-defun-method): Improve docstring.
7460         (extended-loop-p): Fix comment.
7461         (lisp-indent-lambda-list-keywords-regexp): New variable.
7462         (lisp-indent-lambda-list): New function.
7463         (lisp-indent-259): Use it.
7464         (lisp-indent-defmethod): Support for more than one
7465         method qualifier and properly indent methods lambda-lists.
7466         (defgeneric): Provide a missing common-lisp-indent-function property.
7468 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7470         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7471         bounds for the empty string (bug#8667).
7473 2011-05-13  Glenn Morris  <rgm@gnu.org>
7475         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7477         * mail/sendmail.el (sendmail-program): Try executable-find first.
7478         (sendmail-send-it): `sendmail-program' cannot be unbound.
7480         * calendar/appt.el (appt-make-list): Simplify.
7481         (appt-time-msg-list): Doc fix.
7482         (appt-check): Change mode-line message at the time of the appointment.
7484 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
7486         * progmodes/ld-script.el (ld-script-keywords)
7487         (ld-script-builtins): Update keywords list.
7489 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7491         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7493         * shell.el (shell-completion-vars): New function.
7494         (shell-mode):
7495         * simple.el (read-shell-command): Use it.
7496         (blink-matching-open): No need for " [...]" in minibuffer-message.
7498 2011-05-12  Glenn Morris  <rgm@gnu.org>
7500         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7501         (appt-check): Simplify.
7503 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
7505         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
7506         literal "/dev/null".
7508 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7510         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7511         Fix typo.
7513 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
7515         * progmodes/which-func.el (which-function):
7516         Use add-log-current-defun instead of add-log-current-defun-function,
7517         which might not be defined (Bug#8260).
7519 2011-05-12  Glenn Morris  <rgm@gnu.org>
7521         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7522         Let byte-compile-initial-macro-environment always take precedence.
7524 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7526         * net/rcirc.el: Add support for SSL/TLS connections.
7527         (rcirc-server-alist): New field `encryption'.
7528         (rcirc): Check `encryption' settings.
7529         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
7530         Merge make-local-variable into `set'.
7531         (rcirc--connection-open-p): New function.
7532         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7533         the process is not a network process (e.g. running gnutls-cli).
7534         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7535         Make rcirc-(en|de)code-coding-system local here.
7536         (rcirc-mode): Merge make-local-variable into `set'.
7537         (rcirc-parent-buffer): Make permanent buffer-local.
7538         (rcirc-multiline-minor-mode): Don't do it here.
7539         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7540         there's no server buffer.
7542 2011-05-11  Glenn Morris  <rgm@gnu.org>
7544         * newcomment.el (comment-kill): Prefix "unused" local.
7546         * term/w32console.el (get-screen-color): Declare.
7548         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7549         Handle symbol elements of byte-compile-initial-macro-environment.
7551 2011-05-10  Leo Liu  <sdl.web@gmail.com>
7553         * bookmark.el (bookmark-bmenu-mode-map):
7554         Bind bookmark-bmenu-search to `/'.
7556         * mail/footnote.el: Convert to utf-8 encoding.
7557         (footnote-unicode-string, footnote-unicode-regexp): New variable.
7558         (Footnote-unicode): New function.
7559         (footnote-style-alist): Add unicode style to the list.
7560         (footnote-style): Doc fix.
7562 2011-05-10  Jim Meyering  <meyering@redhat.com>
7564         Fix doubled-word typos.
7565         * international/quail.el (quail-insert-kbd-layout): and and -> and
7566         * kermit.el: and and -> and
7567         * net/ldap.el (ldap-search-internal): to to -> to
7568         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7569         * progmodes/js.el (js-mode): and and -> and
7570         * textmodes/artist.el (artist-move-to-xy): at at -> at
7571         (artist-draw-region-trim-line-endings): if if -> if
7572         And Safetyc -> Safety.
7573         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7575 2011-05-10  Glenn Morris  <rgm@gnu.org>
7576             Stefan Monnier  <monnier@iro.umontreal.ca>
7578         * files.el (hack-one-local-variable-eval-safep):
7579         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
7581 2011-05-10  Glenn Morris  <rgm@gnu.org>
7583         * calendar/diary-lib.el (diary-list-entries-hook)
7584         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7585         (diary-nongregorian-marking-hook, diary-list-entries)
7586         (diary-include-other-diary-files, diary-mark-entries)
7587         (diary-mark-included-diary-files): Doc fixes.
7589 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
7591         * misc.el: Require tabulated-list.el during compilation.
7593 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
7595         * progmodes/compile.el (compilation-start):
7596         Run compilation-filter-hook for the async case too.
7597         (compilation-filter-hook): Doc fix.
7599 2011-05-09  Deniz Dogan  <deniz@dogan.se>
7601         * wdired.el: Remove outdated installation comment.  Fix usage
7602         comment.
7604 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
7606         * misc.el: Implement new command `list-dynamic-libraries'.
7607         (list-dynamic-libraries--loaded-only-p): New variable.
7608         (list-dynamic-libraries--refresh): New function.
7609         (list-dynamic-libraries): New command.
7611 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
7613         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7614         Fix the ant regexp to handle end-line and end-column info from jikes.
7615         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
7616         higher priority to avoid clobbering by gnu.
7618 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
7620         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7621         if the face has existing theme settings (Bug#8454).
7623 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
7625         * progmodes/perl-mode.el (perl-imenu-generic-expression):
7626         Only match variables declared via `my' or `our' (Bug#8261).
7628         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7629         special file names `.' and `..' (Bug#8259).
7631 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
7633         * progmodes/grep.el (grep-mode-font-lock-keywords):
7634         Remove buffer-changing entries.
7635         (grep-filter): New function.
7636         (grep-mode): Add it to compilation-filter-hook.
7638         * progmodes/compile.el (compilation-filter-hook)
7639         (compilation-filter-start): New defvars.
7640         (compilation-filter): Call compilation-filter-hook prior to
7641         updating the process mark.
7643 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7645         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7647 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
7649         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7650         mailclient-send-it even if window-system is nil.  (Bug#8595)
7652         * term/w32console.el (terminal-init-w32console):
7653         Call get-screen-color and use its output to set the frame
7654         background-mode.  (Bug#8597)
7656 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7658         Make bytecomp.el understand that defmethod defines funs (bug#8631).
7659         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7660         New functions.
7661         (defgeneric, eieio--defmethod): Use them.
7662         (eieio-defgeneric): Remove.
7663         (defmethod): Call defgeneric in a way visible to the byte-compiler.
7665 2011-05-07  Glenn Morris  <rgm@gnu.org>
7667         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7668         Use let rather than let*.
7669         (timeclock-find-discrep): Remove unused local.
7671         * calendar/diary-lib.el (diary-comment-start): Doc fix.
7673         * calendar/appt.el (appt-time-msg-list): Doc fix.
7675 2011-05-06  Noah Friedman  <friedman@splode.com>
7677         * apropos.el (apropos-print-doc): Only use
7678         emacs-lisp-docstring-fill-column when it is bound to an integer,
7679         per that variable's documentation.
7681 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7683         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
7684         and warnings are not silently discarded (e.g. use -d instead of -P).
7686 2011-05-06  Glenn Morris  <rgm@gnu.org>
7688         * calendar/appt.el (appt-message-warning-time): Doc fix.
7689         (appt-warning-time-regexp): New option.
7690         (appt-make-list): Respect appt-message-warning-time.
7692         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7693         New options.
7694         (diary-add-to-list): Strip comments from the displayed string.
7695         (diary-mode): Set comment-start and comment-end.
7697         * vc/diff-mode.el (smerge-refine-subst): Declare.
7698         (diff-refine-hunk): Don't require smerge-mode when compiling.
7700 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
7702         * simple.el (list-processes): Return nil as the docstring says.
7704 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
7706         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7707         to "".
7708         (ange-ftp-write-region, ange-ftp-insert-file-contents)
7709         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7710         determining of binary transfer.  (Bug#7383)
7712 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
7714         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7715         Fix port computation bug.  (Bug#8618)
7717 2011-05-05  Glenn Morris  <rgm@gnu.org>
7719         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7721         * simple.el (shell-dynamic-complete-functions)
7722         (comint-dynamic-complete-functions): Declare.
7724         * net/network-stream.el (gnutls-negotiate):
7725         * simple.el (tabulated-list-print): Fix declarations.
7727         * progmodes/gud.el (syntax-symbol, syntax-point):
7728         Remove unnecessary and incorrect declarations.
7730         * emacs-lisp/check-declare.el (check-declare-scan):
7731         Handle byte-compile-initial-macro-environment in bytecomp.el
7733 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7735         Fix earlier half-done eieio-defmethod change (bug#8338).
7736         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7737         Streamline and change calling convention.
7738         (defmethod): Adjust accordingly and simplify.
7739         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7740         new eieio--defmethod.
7741         (slot-boundp): Minor CSE simplification.
7743 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
7745         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7746         (glasses-make-readable): Use glasses-separate-capital-groups.
7748 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
7750         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7751         (warning-series): Doc fix.
7752         (display-warning): Don't try to create the buffer if we just found it.
7754 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
7756         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7757         (autoload-find-generated-file): New function.
7758         (generate-file-autoloads): Bind generated-autoload-file to
7759         buffer-file-name.
7760         (update-file-autoloads, update-directory-autoloads):
7761         Use autoload-find-generated-file.  If called interactively, prompt for
7762         output file (Bug#7989).
7763         (batch-update-autoloads): Doc fix.
7765 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
7767         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7769 2011-05-04  Glenn Morris  <rgm@gnu.org>
7771         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7772         function, so it follows changes in calendar-date-style.
7773         (diary-fancy-date-matcher): New function.
7774         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7775         (diary-fancy-font-lock-fontify-region-function):
7776         Use diary-fancy-date-pattern as a function.
7778         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7779         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
7781 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
7783         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7784         instead of positional arguments.  Allow :keylist and :crlfiles
7785         arguments.
7786         (open-gnutls-stream): Call it.
7788         * net/network-stream.el (network-stream-open-starttls): Adjust to
7789         call `gnutls-negotiate' with :process and :hostname arguments.
7791 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7793         * minibuffer.el (completion--message): New function.
7794         (completion--do-completion, minibuffer-complete)
7795         (minibuffer-force-complete, minibuffer-complete-word): Use it.
7796         (completion--do-completion): Don't ignore completion-auto-help when in
7797         icomplete-mode.
7799         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7800         internal encoding (e.g. tibetan zero is not whitespace).
7801         (global-whitespace-mode): Prefer save-current-buffer.
7802         (whitespace-trailing-regexp): Remove useless save-match-data.
7803         (whitespace-empty-at-bob-regexp): Minor simplification.
7805 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
7807         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7809 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7811         * textmodes/ispell.el (ispell-add-per-file-word-list):
7812         Use `concat' to create string for insertion.
7814 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7816         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7817         Avoid open-line which runs post-self-insert-hook.
7818         (bibtex-fill-entry): Remove unused `end' var.
7820 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
7822         * textmodes/ispell.el (ispell-add-per-file-word-list):
7823         Protect against `nil' value of `comment-start' (Bug#8579).
7825 2011-05-03  Leo Liu  <sdl.web@gmail.com>
7827         * isearch.el (isearch-yank-pop): New command.
7828         (isearch-mode-map): Bind it to `M-y'.
7829         (isearch-forward): Mention it.
7831 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7833         * simple.el (minibuffer-complete-shell-command): Remove.
7834         (minibuffer-local-shell-command-map): Use completion-at-point.
7835         (read-shell-command): Setup completion vars here instead.
7836         (read-expression-map): Bind TAB to symbol completion.
7838         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7839         error directly rather via storing it into `results'.
7841 2011-05-02  Leo Liu  <sdl.web@gmail.com>
7843         * vc/diff.el: Fix description.
7845 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7847         * server.el (server-eval-at): New function.
7849 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7851         * net/network-stream.el (open-network-stream): Take a :nowait
7852         parameter and pass it on to `make-network-process'.
7853         (network-stream-open-plain): Ditto.
7855 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
7857         * faces.el (face-spec-set-match-display): Don't match toolkit
7858         options on terminal frames.
7860 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7862         * progmodes/pascal.el: Use lexical binding.
7863         (pascal-mode-map): Remove author preferences.
7865         * pcomplete.el (pcomplete-std-complete): Don't abuse
7866         completion-at-point.
7868 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
7870         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7871         removing code that has been dead since 1991 or so.
7873         * startup.el (command-line): When warning about "_emacs", use a
7874         delayed warning to allow the user to filter it out.
7876 2011-04-28  Deniz Dogan  <deniz@dogan.se>
7878         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7879         user has not joined.
7881 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7883         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7884         aren't any completions at point.
7886 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
7888         * subr.el (display-delayed-warnings): New function.
7889         (delayed-warnings-hook): New variable.
7891 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7893         * minibuffer.el (completion-at-point, completion-help-at-point):
7894         Don't presume that a given completion-at-point-function will always
7895         use the same calling convention.
7897         * pcomplete.el (pcomplete-completions-at-point):
7898         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
7899         pcomplete-seen is non-nil.
7900         (pcomplete-comint-setup): Also recognize the new comint/shell
7901         completion functions.
7902         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7903         pcomplete-seen is non-nil.
7905 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
7907         * calendar/icalendar.el (diary-lib): Add require statement.
7908         (icalendar--create-uid): Read out a uid from a text-property on
7909         the first character in the entry.  This allows for code to add its
7910         own uid to the entry.
7911         (icalendar--convert-float-to-ical): Add export of
7912         `diary-float'-entries save for those with the optional DAY
7913         argument.
7915 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
7917         * subr.el (shell-quote-argument): Use alternate escaping strategy
7918         when we spot a variable reference in a string.
7920 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
7922         * cus-start.el (all): Define customization for debug-on-event.
7924 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
7926         * subr.el (shell-quote-argument): Escape correctly under Windows.
7928 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7930         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7932 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
7934         * net/tramp.el (tramp-process-actions): Add POS argument.
7935         Delete region between POS and (pos).
7937         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7938         Use `nil' position in `tramp-process-actions' call.
7939         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7941         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7942         position in `tramp-process-actions' call.
7944         * net/trampver.el: Update release number.
7946 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7948         * custom.el (defcustom): Obey lexical-binding.
7950         Fix octave-inf completion problems reported by Alexander Klimov.
7951         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7952         Inherit from octave-mode-syntax-table.
7953         (inferior-octave-mode): Set info-lookup-mode.
7954         (inferior-octave-completion-at-point): New function.
7955         (inferior-octave-complete): Use it and completion-in-region.
7956         (inferior-octave-dynamic-complete-functions): Use it as well, and use
7957         comint-filename-completion.
7958         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7959         symbol elements which shouldn't be word elements.
7960         (octave-font-lock-keywords, octave-beginning-of-defun)
7961         (octave-function-header-regexp): Adjust regexps accordingly.
7962         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7964 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
7966         * net/gnutls.el (gnutls-errorp): Declare before first use.
7968 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
7970         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7971         verify-error, and verify-hostname-error parameters.  Check whether
7972         default trustfile exists before going to use it.  Add missing
7973         argument to gnutls-message-maybe call.  Return value.
7974         Reported by Claudio Bley <claudio.bley@gmail.com>.
7975         (open-gnutls-stream): Add usage example.
7977         * net/network-stream.el (network-stream-open-starttls): Give host
7978         parameter to `gnutls-negotiate'.
7979         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
7980         * subr.el (shell-quote-argument): Escape correctly under Windows.
7982 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
7984         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7985         Use correct match group (bug#8438).
7987 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
7989         * emacs-lisp/package.el (package-built-in-p): Fix typo.
7990         (package-menu--generate): New arg specifying packages to show.
7991         (package-menu-refresh, package-menu-execute, list-packages):
7992         Callers changed.
7993         (package-show-package-list): New function, replacing deleted
7994         package--list-packages (renamed because it is non-internal).
7996         * finder.el (finder-list-matches): Use package-show-package-list
7997         instead of deleted package--list-packages.
7999         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8000         Based on a previous implementation by Juanma Barranquero (Bug#8366).
8001         (vc-annotate-mode-map): Bind it to RET.
8003 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
8005         * progmodes/etags.el (next-file): Don't use set-buffer to change
8006         buffers (Bug#8478).
8008 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
8010         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8012         * apropos.el (apropos-label-face): Avoid variable-pitch face.
8013         (apropos-accumulator): Doc fix.
8014         (apropos-function, apropos-macro, apropos-command)
8015         (apropos-variable, apropos-face, apropos-group, apropos-widget)
8016         (apropos-plist): Add face property.
8017         (apropos-symbols-internal): Fix indentation.
8018         (apropos-print): Simplify help, and recognize apropos-multi-type.
8019         (apropos-print-doc): Use button-type-get to extract the button's
8020         face property.  Fill docstring (Bug#8352).
8022 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
8024         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8026         * play/mpuz.el (mpuz-silent): Doc fix.
8027         (mpuz-mode-map): Use mapc.
8028         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8029         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8030         Fix typos in docstrings.
8032         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8033         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8035         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8037 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
8039         * minibuffer.el (completion--do-completion): Avoid the "Next char
8040         not unique" prompt if icomplete-mode is enabled (Bug#5849).
8042         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8043         mouse-2 into unread-command-events, it is interpreted correctly.
8045         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
8046         (image-toggle-display): Doc fix.
8048 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
8050         * textmodes/page.el (what-page): Use line-number-at-pos to
8051         calculate line number (Bug#6825).
8053 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
8055         * eshell/esh-mode.el (find-tag-interactive): Declare function.
8056         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8057         Pass argument NO-DEFAULT to `find-tag-interactive'.
8059 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
8061         Lexical-binding cleanup.
8063         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8064         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8065         * progmodes/ada-prj.el (ada-prj-initialize-values)
8066         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8067         (ada-prj-show-value):
8068         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8069         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8070         (antlr-invalidate-context-cache, antlr-options-menu-filter)
8071         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8072         * progmodes/bug-reference.el (bug-reference-push-button):
8073         * progmodes/fortran.el (fortran-line-length):
8074         * progmodes/glasses.el (glasses-change):
8075         * progmodes/octave-mod.el (octave-fill-paragraph):
8076         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8077         (python-pdbtrack-grub-for-buffer, python-sentinel):
8078         * progmodes/sql.el (sql-save-connection):
8079         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8080         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8081         Mark unused parameters.
8083         * progmodes/compile.el (compilation--flush-directory-cache)
8084         (compilation--flush-parse, compile-internal): Mark unused parameters.
8085         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8086         (compilation-next-error-function): Remove unused variable `timestamp'.
8088         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8089         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8091         * progmodes/dcl-mode.el (dcl-end-of-command):
8092         Remove unused variable `start'.
8093         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8094         (dcl-option-value-basic, dcl-option-value-offset)
8095         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8096         Mark unused parameters.
8097         (dcl-save-local-variable): Remove unused variable `val'.
8098         (mode): Declare.
8100         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8101         Mark unused parameters.
8102         (delphi-ignore-changes): Move before first use.
8103         (delphi-charset-token-at): Remove unused variable `start'.
8104         (delphi-else-start): Remove unused variable `if-count'.
8105         (delphi-comment-block-start, delphi-comment-block-end):
8106         Remove unused variable `kind'.
8107         (delphi-indent-line): Remove unused variable `new-point'.
8109         * progmodes/ebrowse.el (ebrowse-files-list)
8110         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8111         Mark unused parameters.  Don't quote `lambda'.
8112         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8113         Don't quote `lambda'.
8114         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8115         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8116         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8117         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8118         Use `ignore-errors'.
8119         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8120         (ebrowse-view/find-file-and-search-pattern)
8121         (ebrowse-view/find-member-declaration/definition):
8122         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8123         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8124         Rename parameter PREFIX-ARG to PREFIX.
8125         (ebrowse-tags-read-name): Remove unused variables `start' and
8126         `member-info'.
8127         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8128         to `tags-file'.
8130         * progmodes/etags.el (local-find-tag-hook): Declare.
8131         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8132         Mark unused parameters.
8134         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8135         (executable-interpret): Mark unused parameter.
8137         * progmodes/flymake.el (flymake-process-sentinel)
8138         (flymake-after-change-function)
8139         (flymake-create-temp-with-folder-structure)
8140         (flymake-get-include-dirs-dot): Mark unused parameters.
8141         (flymake-safe-delete-directory): Remove unused variable `err'.
8143         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8144         (speedbar-timer-fn, speedbar-line-text)
8145         (speedbar-change-expand-button-char, speedbar-delete-subblock)
8146         (speedbar-center-buffer-smartly): Declare functions.
8147         (gdb-find-watch-expression): Remove unused variable `array'.
8148         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8149         (gdb-starting): Mark unused parameters.
8150         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8151         (gdb-table-string): Remove unused variable `res'.
8152         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8153         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8154         (gdb-display-buffer): Remove unused variable `cur-size'.
8156         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8157         allow lexical-binding compilation.
8158         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8159         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8160         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8161         Mark unused parameters.
8162         (gud-gdb-marker-filter): Remove unused variable `match'.
8163         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8164         lambda expressions and funcall them, instead of using `fset'.
8166         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8167         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8169         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8170         variable `header-beg'; use `let'.
8172         * progmodes/icon.el (indent-icon-exp): Remove unused variables
8173         `restart', `last-sexp' and `at-do'.
8175         * progmodes/js.el (js--debug): Mark unused parameter.
8176         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8177         (js--splice-into-items): Remove unused variable `item'.
8178         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8180         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8181         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8182         (makefile-complete): Remove unused variable `try'.
8183         (makefile-fill-paragraph, makefile-match-function-end):
8184         Mark unused parameters.
8186         * progmodes/octave-inf.el (inferior-octave-complete):
8187         Remove unused variable `proc'.
8188         (inferior-octave-output-digest): Mark unused parameter.
8190         * progmodes/perl-mode.el (perl-calculate-indent):
8191         Remove unused variable `err'.
8193         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8194         (prolog-indent-line): Mark unused parameters.
8195         (prolog-indent-line): Remove unused variable `beg'.
8197         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8198         (reporter-dont-compact-list): Declare.
8200         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8201         Remove unused variable `char'.
8202         (sh-debug): Mark unused parameter.
8203         (sh-get-indent-info): Remove unused variable `start'.
8204         (sh-calculate-indent): Remove unused variable `var'.
8206         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8207         (simula-electric-keyword): Remove unused variable `null'.
8208         (simula-search-backward, simula-search-forward): Remove unused
8209         variables `begin' and `end'.
8211         * progmodes/vera-mode.el (vera-guess-basic-syntax):
8212         Remove unused variable `pos'.
8213         (vera-electric-tab, vera-comment-uncomment-region):
8214         Mark unused parameters.
8215         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8217 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
8219         * emacs-lisp/package.el (package--builtins, package-alist)
8220         (package-load-descriptor, package-built-in-p, package-activate)
8221         (define-package, package-installed-p)
8222         (package-compute-transaction, package-buffer-info)
8223         (package--push): Doc fix.  Distinguish more clearly between
8224         version strings and version lists.
8226 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
8228         Lexical-binding cleanup.
8230         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8231         (5x5-make-mutate-best):
8232         * play/fortune.el (fortune-in-buffer):
8233         * play/gomoku.el (gomoku-init-display):
8234         * play/solitaire.el (solitaire, solitaire-do-check):
8235         * play/tetris.el (tetris-default-update-speed-function):
8236         Mark unused parameters.
8238         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8239         (bubbles--shift): Remove unused variable `char-org'.
8240         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
8241         (bubbles--show-images): Remove unused variable `char'.
8243         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8244         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8245         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8246         (decipher-analyze-buffer): Use ?\s.
8247         (decipher-make-checkpoint): Remove unused variable `mapping'.
8249         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8251         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8252         Remove unused variable `result'; use `let'.
8254         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8255         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8256         (gametree-children-shown-p, gametree-compute-reduced-score):
8257         Use `ignore-errors'.
8259         * play/handwrite.el (ps-lpr-switches): Declare.
8260         (handwrite): Remove unused variables `pmin' and `lastp'.
8262         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8264         * play/landmark.el (landmark-init-display)
8265         (landmark-update-naught-weights): Mark unused parameters.
8266         (landmark-y): Remove unused variable `noise'.  Simplify.
8267         (landmark-human-plays): Remove unused variable `score'.
8269         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8270         (mpuz-try-proposal): Remove unused variable `game'.
8272         * play/zone.el (life-patterns): Declare.
8274 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
8276         * vc/vc.el (ediff-vc-internal): Declare function.
8278 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8280         * shell.el: Use lexical-binding and std completion UI.
8281         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8282         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8283         comint-preoutput-filter-functions rather than on
8284         comint-output-filter-functions.
8285         (shell-command-completion, shell--command-completion-data)
8286         (shell-filename-completion, shell-environment-variable-completion)
8287         (shell-c-a-p-replace-by-expanded-directory): New functions.
8288         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8289         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8290         (shell-dynamic-complete-environment-variable): Use them.
8291         (shell-dynamic-complete-as-environment-variable)
8292         (shell-dynamic-complete-as-command): Remove.
8293         (shell-match-partial-variable): Match past point.
8294         * comint.el: Clean up use of completion-at-point-functions.
8295         (comint-completion-at-point): New function.
8296         (comint-mode): Use it completion-at-point-functions.
8297         (comint-dynamic-complete): Make it obsolete.
8298         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8299         (comint-c-a-p-replace-by-expanded-history): New function.
8300         (comint-dynamic-complete-functions)
8301         (comint-replace-by-expanded-history): Use it.
8302         * minibuffer.el (completion-table-with-terminator): Allow dynamic
8303         termination strings.  Try harder to avoid second try-completion.
8304         (completion-in-region-mode-map): Disable bindings that don't work yet.
8306         * comint.el: Use lexical-binding.  Require CL.
8307         (comint-dynamic-complete-functions): Use comint-filename-completion.
8308         (comint-completion-addsuffix): Tweak custom type.
8309         (comint-filename-completion, comint--common-suffix)
8310         (comint--common-quoted-suffix, comint--table-subvert)
8311         (comint--complete-file-name-data): New functions.
8312         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8313         (comint-dynamic-list-filename-completions): Use them.
8314         (comint-dynamic-simple-complete): Make obsolete.
8316         * minibuffer.el (completion-in-region-mode):
8317         Keep completion-in-region-mode--predicate global.
8318         (completion-in-region--postch):
8319         Assume completion-in-region-mode--predicate is not null.
8321         * progmodes/flymake.el (flymake-start-syntax-check-process):
8322         Obey `dir'.  Simplify.
8324         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8325         we're in VC after all.
8327 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
8329         * vc/vc.el (vc-diff-build-argument-list-internal)
8330         (vc-version-ediff, vc-ediff): New commands.
8331         (vc-version-diff): Use vc-diff-build-argument-list-internal.
8333 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8335         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8336         add sanity check.
8338         * obsolete/erc-hecomplete.el: Make obsolete.
8339         * obsolete/: Standardize obsolescence info in the header.
8341 2011-04-20  Glenn Morris  <rgm@gnu.org>
8343         * calendar/solar.el (solar-horizontal-coordinates):
8344         Use the longitude argument rather than `calendar-longitude'.
8345         (solar-date-next-longitude): Remove unused locals.
8347 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8349         * whitespace.el: New version 13.2.1.
8351 2011-04-20  felix  <EmacsWiki>  (tiny change)
8353         * whitespace.el (global-whitespace-mode): Keep highlight when
8354         switching between major modes on a file.
8356 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8358         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8359         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8360         multi-line comments as well.
8362 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
8364         Lexical-binding cleanup.
8366         * arc-mode.el (archive-mode-revert):
8367         * cmuscheme.el (scheme-interactively-start-process):
8368         * custom.el (custom-initialize-delay):
8369         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8370         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8371         * emacs-lock.el (emacs-lock-clear-sentinel):
8372         * ezimage.el (defezimage):
8373         * follow.el (follow-avoid-tail-recenter):
8374         * fringe.el (set-fringe-mode-1):
8375         * generic-x.el (bat-generic-mode-compile):
8376         * help-mode.el (help-info-variable, help-do-xref)
8377         (help-mode-revert-buffer):
8378         * help.el (view-emacs-todo):
8379         * iswitchb.el (iswitchb-completion-help):
8380         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8381         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8382         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8383         * locate.el (locate-update):
8384         * longlines.el (longlines-encode-region)
8385         (longlines-after-change-function):
8386         * outline.el (outline-isearch-open-invisible):
8387         * ps-def.el (declare-function, charset-dimension, char-width)
8388         (encode-char):
8389         * ps-mule.el (ps-mule-plot-string):
8390         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8391         (recentf-edit-list-select, recentf-edit-list-validate)
8392         (recentf-open-files-action):
8393         * rect.el (delete-whitespace-rectangle-line)
8394         (rectangle-number-line-callback):
8395         * register.el (window-configuration-to-register)
8396         (frame-configuration-to-register):
8397         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8398         * select.el (xselect-convert-to-string, xselect-convert-to-length)
8399         (xselect-convert-to-targets, xselect-convert-to-delete)
8400         (xselect-convert-to-filename, xselect-convert-to-charpos)
8401         (xselect-convert-to-lineno, xselect-convert-to-colno)
8402         (xselect-convert-to-os, xselect-convert-to-host)
8403         (xselect-convert-to-user, xselect-convert-to-class)
8404         (xselect-convert-to-name, xselect-convert-to-integer)
8405         (xselect-convert-to-atom, xselect-convert-to-identity):
8406         * subr.el (declare, ignore, process-kill-without-query)
8407         (text-clone-maintain):
8408         * terminal.el (te-get-char, te-tic-sentinel):
8409         * tool-bar.el (tool-bar-make-keymap):
8410         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8411         * type-break.el (type-break-mode, type-break-noninteractive-query):
8412         * view.el (View-back-to-mark):
8413         * wid-browse.el (widget-browse-action, widget-browse-widget)
8414         (widget-browse-widgets, widget-browse-sexp):
8415         * widget.el (define-widget-keywords):
8416         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8417         Mark unused parameters.
8419         * align.el (align-adjust-col-for-rule): Mark unused parameter.
8420         (align-areas): Remove unused variable `look'.
8421         (align-region): Remove unused variables `real-end' and `pos-list'.
8423         * apropos.el (apropos-score-doc): Remove unused variable `i'.
8425         * bindings.el (mode-line-modified, mode-line-remote):
8426         Mark unused parameters.
8427         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8429         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8430         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8432         * comint.el (comint-history-isearch-pop-state)
8433         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8434         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8435         (comint-substitute-in-file-name): Doc fix.
8437         * completion.el (cmpl-statistics-block): Mark unused parameter.
8438         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8439         (save-completions-to-file, load-completions-from-file):
8440         Remove unused local variable `e'.
8442         * composite.el (compose-chars): Remove unused variable `len'.
8443         (lgstring-insert-glyph): Remove unused variable `g'.
8444         (compose-glyph-string): Remove unused variables `ascent',
8445         `descent', `lbearing' and `rbearing'.
8446         (compose-glyph-string-relative): Remove unused variables
8447         `lbearing', `rbearing' and `wadjust'.
8448         (compose-gstring-for-graphic): Remove unused variables `header',
8449         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
8450         (compose-gstring-for-terminal): Remove unused variables `header'
8451         and `nchars'.  Use `let', not `let*'.
8453         * cus-edit.el (Custom-set, Custom-save, custom-reset)
8454         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8455         (Custom-buffer-done, custom-buffer-create-internal)
8456         (custom-browse-visibility-action, custom-browse-group-tag-action)
8457         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8458         (widget-magic-mouse-down-action, custom-toggle-parent)
8459         (custom-add-parent-links, custom-toggle-hide-variable)
8460         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8461         (custom-toggle-hide-face, face, hook, custom-group-link-action)
8462         (custom-face-menu-create, custom-variable-menu-create, get)
8463         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8464         (custom-reset-standard-save-and-update): Remove unused variable `value'.
8465         (customize-apropos): Remove unused variable `tests'.
8466         (custom-group-value-create): Remove unused variable `hidden-p'.
8467         (sort-fold-case): Declare.
8469         * cus-theme.el (custom-reset-standard-faces-list)
8470         (custom-reset-standard-variables-list): Declare.
8471         (customize-create-theme, custom-theme-revert, custom-theme-write)
8472         (custom-theme-choose-mode, customize-themes, custom-theme-save):
8473         Mark unused parameters.
8475         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8477         * delim-col.el (delimit-columns-max): Move defvar before first use.
8479         * descr-text.el (describe-char-categories): Don't quote `lambda'.
8480         (describe-char): Don't quote `lambda'.  Mark unused parameter.
8482         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8483         (auto-insert): Declare.
8484         (desktop-restore-file-buffer): Rename desktop-* parameters;
8485         mark unused ones.
8486         (desktop-create-buffer): Rename desktop-* parameters and bind them.
8487         (desktop-buffer): Rename desktop-* parameters.
8489         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8490         (dframe-reposition-frame-xemacs, dframe-help-echo)
8491         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8492         Mark unused parameters.
8494         * dired-aux.el (backup-extract-version-start, overwrite-query)
8495         (overwrite-backup-query, rename-regexp-query)
8496         (rename-non-directory-query): Declare.
8497         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8498         (dired-add-entry): Remove unused variable `orig-file-name'.
8499         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8500         Use parameter PRESERVE-TIME instead of accessing dynamic variable
8501         `dired-copy-preserve-time' directly.
8502         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8503         (dired-insert-subdir-newpos): Rename unused variable `pos'.
8505         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8506         (dired-virtual-revert, dired-make-relative-symlink):
8507         Mark unused parameters.
8508         (manual-program): Declare.
8509         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8510         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8511         wrapped in `with-no-warnings' to avoid replacing one warning by another.
8513         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8515         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8517         * echistory.el (electric-history-in-progress, Helper-return-blurb):
8518         Declare.
8520         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8522         * electric.el (Electric-command-loop): Rename parameter
8523         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8525         * expand.el (expand-in-literal): Remove unused variable `here'.
8527         * facemenu.el (facemenu-add-new-color):
8528         Remove unused variable `docstring'.
8530         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8531         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8532         (face-attr-construct): Mark unused parameter.  Doc fix.
8533         (read-color): Remove unused variable `hex-string'.
8535         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8536         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8537         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8538         (display-buffer-other-frame): Remove unused variable `old-window'.
8539         (kill-buffer-hook): Declare.
8540         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8541         Mark unused parameters.
8542         (after-find-file): Pass 1 to `auto-save-mode', not t.
8544         * files-x.el (auto-insert): Declare.
8545         (modify-file-local-variable-prop-line): Remove unused variable `val'.
8547         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
8548         variable `buf'.  Mark unused parameter.
8549         (find-lisp-insert-directory): Mark unused parameter.
8551         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8552         (format-encode-region): Remove unused variables `cur-buf' and `result'.
8553         (format-common-tail): Remove, unused.
8554         (format-deannotate-region): Remove unused variable `loc'.
8555         (format-annotate-region): Remove unused variable `p'.
8556         (format-annotate-single-property-change): Remove unused variables
8557         `default' and `tail'.
8559         * forms.el (read-file-filter): Declare.
8560         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8562         * frame.el (frame-creation-function-alist): Mark unused parameter.
8563         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8565         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8566         Remove unused parameters.
8567         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8568         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8570         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8571         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8572         (hfy-prepare-tag-map): Mark unused parameters.
8573         (htmlfontify-buffer): Use `called-interactively-p'.
8575         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8576         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8577         (ibuffer-do-occur): Mark unused parameters.
8578         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8579         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8581         * ibuffer.el: Don't quote `lambda'.
8582         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8583         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8584         Mark unused parameters.
8586         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8587         (ido-completing-read): Mark unused parameters.
8588         (ido-copy-current-word): Mark unused parameters;
8589         remove unused variable `name'.
8590         (ido-sort-merged-list): Remove unused parameter `dirs'.
8592         * ielm.el (ielm-input-sender): Mark unused parameter.
8593         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8594         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8595         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8596         `ielm-string' as a dynamic variable accessible from the IELM prompt.
8597         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
8599         * image-dired.el (image-dired-display-thumbs): Remove unused
8600         variables `curr-file' and `count'.
8601         (image-dired-remove-tag): Remove unused variable `start'.
8602         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8603         variable `curr-file'
8604         (image-dired-rotate-original): Remove unused variable `temp-file'.
8605         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8606         Remove unused variable `file'.
8607         (image-dired-gallery-generate): Remove unused variable `curr'.
8608         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8610         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8612         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8614         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8616         * isearch.el (minibuffer-history-symbol): Declare.
8617         (isearch-edit-string): Remove unused variable `err'.
8618         (isearch-message-prefix, isearch-message-suffix):
8619         Mark unused parameters.
8621         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8623         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8625         * makesum.el (double-column): Remove unused variable `cnt'.
8627         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8628         (ido-ignore-item-temp-list): Declare.
8630         * mouse-drag.el (mouse-drag-throw): Remove unused variables
8631         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8632         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8633         (mouse-drag-drag): Remove unused variables `mouse-delta' and
8634         `mouse-col-delta'.
8636         * mouse-sel.el (mouse-extend-internal):
8637         Remove unused variable `orig-window-frame'.
8639         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8640         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8641         Move declarations before first use.
8642         (pcomplete-opt): Mark unused parameters; doc fix.
8644         * proced.el (proced-revert): Mark unused parameter.
8645         (proced-send-signal): Remove unused variable `err'.
8647         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8648         Rename parameter PREFIX-ARG to ARG.
8649         (ps-basic-plot-string, ps-basic-plot-whitespace):
8650         Mark unused parameters.
8652         * replace.el (replace-count): Define.
8653         (occur-revert-function): Mark unused parameters.
8654         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8655         (isearch-case-fold-search, isearch-string): Declare.
8656         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8657         bind `case-fold-search'.  Remove unused variables `beg' and `end',
8658         and simplify.
8659         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8660         COUNT and bind `replace-count'.
8661         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8662         to COUNT.
8664         * savehist.el (print-readably, print-string-length): Declare.
8666         * shadowfile.el (shadow-expand-cluster-in-file-name):
8667         Remove unused variable `cluster'.
8668         (shadow-copy-file): Remove unused variable `i'.
8669         (shadow-noquery, shadow-clusters, shadow-site-cluster)
8670         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8671         (shadow-define-literal-group, shadow-define-regexp-group)
8672         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8674         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8675         (shell): Use `called-interactively-p'.
8676         (shell-directory-tracker): Remove unused variable `chdir-failure'.
8678         * simple.el (compilation-context-lines, comint-file-name-quote-list)
8679         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8680         (delete-backward-char): Remove unused variable `ocol'.
8681         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8682         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8683         (event-apply-hyper-modifier, event-apply-shift-modifier)
8684         (event-apply-control-modifier, event-apply-meta-modifier):
8685         Mark unused parameters.
8686         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8687         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8689         * speedbar.el (speedbar-ignored-directory-expressions)
8690         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8691         (speedbar-find-file, speedbar-dir-follow)
8692         (speedbar-directory-buttons-follow, speedbar-tag-find)
8693         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8694         (speedbar-buffers-line-directory, speedbar-buffer-click):
8695         Mark unused parameters.
8696         (speedbar-tag-file): Remove unused variable `mode'.
8697         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8699         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8701         * talk.el (talk): Remove unused variable `display'.
8703         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8704         (tar-write-region-annotate): Mark unused parameter.
8706         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8707         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8708         Declare them, wrapped in `with-no-warnings' to avoid replacing one
8709         warning by another.
8711         * time-stamp.el (time-stamp-string-preprocess):
8712         Remove unused variable `require-padding'.
8714         * tree-widget.el (widget-glyph-enable): Declare.
8715         (tree-widget-action): Mark unused parameter.
8717         * w32-fns.el (x-get-selection): Mark unused parameter.
8718         (autoload-make-program, generated-autoload-file): Declare.
8720         * wdired.el (wdired-revert): Mark unused parameters.
8721         (wdired-xcase-word): Remove unused variable `err'.
8723         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8724         (whitespace-help-scroll): Remove unused variable `data-help'.
8726         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8727         (widget-image-insert, widget-after-change, default)
8728         (widget-default-format-handler, widget-default-notify)
8729         (widget-default-prompt-value, widget-info-link-action)
8730         (widget-url-link-action, widget-function-link-action)
8731         (widget-variable-link-action, widget-file-link-action)
8732         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8733         (widget-field-prompt-internal, widget-field-action, widget-field-match)
8734         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8735         (widget-insert-button-action, widget-delete-button-action, visibility)
8736         (widget-documentation-link-action, widget-documentation-string-action)
8737         (widget-const-prompt-value, widget-regexp-match, symbol)
8738         (widget-coding-system-prompt-value)
8739         (widget-key-sequence-value-to-external, sexp)
8740         (widget-sexp-value-to-internal, character, vector, cons)
8741         (widget-choice-prompt-value, widget-boolean-prompt-value)
8742         (widget-color--choose-action): Mark unused parameters.
8743         (widget-item-match-inline, widget-choice-match-inline)
8744         (widget-checklist-match, widget-checklist-match-inline)
8745         (widget-group-match): Rename parameter VALUES to VALS.
8746         (widget-field-value-set): Remove unused variable `size'.
8747         (widget-color-action): Remove unused variables `value' and `start'.
8749         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
8750         variable `dir'.  Doc fix.
8751         (windmove-find-other-window): Don't pass it.
8753         * window.el (count-windows): Mark unused parameter.
8754         (bw-adjust-window): Remove unused variable `err'.
8756         * woman.el (woman-file-name): Remove unused variable `default'.
8757         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8758         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8759         (global-font-lock-mode): Declare.
8760         (woman-decode-region): Mark unused parameter.
8761         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8763         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8764         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8765         (x-dnd-handle-moz-url): Remove unused variable `title'.
8766         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8768         * xml.el (xml-parse-tag, xml-parse-attlist):
8769         Remove unused variable `pos'.
8771 2011-04-19  Glenn Morris  <rgm@gnu.org>
8773         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8774         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8775         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8776         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8777         * calendar/cal-html.el (cal-html-insert-minical):
8778         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8779         (calendar-mark-date-pattern):
8780         Prefix "unused" locals.
8782         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8783         optional argument `style'.
8785         * calendar/appt.el (appt-make-list):
8786         * calendar/cal-china.el (calendar-chinese-date-string):
8787         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8788         (diary-hebrew-yahrzeit):
8789         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8790         * calendar/calendar.el (calendar-generate-window):
8791         * calendar/time-date.el (time-to-days):
8792         Remove unused local variables.
8794 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
8796         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8797         glyphless-char-display table.
8798         (tabulated-list-glyphless-char-display): New var.
8800 2011-04-18  Sam Steingold  <sds@gnu.org>
8802         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8803         to acknowledgments.
8805 2011-04-17  Glenn Morris  <rgm@gnu.org>
8807         * calendar/diary-lib.el (diary-sexp-entry):
8808         * calendar/holidays.el (holiday-sexp):
8809         Set debug-on-error rather than the removed stack-trace-on-error.
8811 2011-04-16  Glenn Morris  <rgm@gnu.org>
8813         * progmodes/f90.el: Use lexical-binding.
8814         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8816 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8818         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8819         (mail-mode): Setup mailalias completion here instead.
8820         * mail/mailalias.el: Use lexical-binding.
8821         (pattern, mailalias-done): Declare dynamic.
8822         (mail-completion-at-point-function): New function, from mail-complete.
8823         (mail-complete): Use it.
8824         (mail-completion-expand): New function.
8825         (mail-get-names): Use it.
8826         (mail-directory, mail-directory-process, mail-directory-stream):
8827         Don't use `pattern' for lexically bound arg.
8829         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8831         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8832         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8833         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8835         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8836         (byte-save-window-excursion, byte-temp-output-buffer-setup)
8837         (byte-interactive-p): Define them again, for use when inlining
8838         old code.
8840 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
8842         * loadup.el: Use `string-to-number', not `string-to-int'.
8844 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8846         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8847         gud-gdb-complete-command.
8848         (gud-gdb-completions): New function, from gud-gdb-complete-command.
8849         (gud-gdb-completion-at-point): New function.
8850         (gud-gdb-completions): Remove.
8852 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
8854         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8855         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
8856         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8857         whether `executable-find' is bound.
8859         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8861 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8863         * minibuffer.el (completion-in-region-mode-predicate)
8864         (completion-in-region-mode--predicate): New vars.
8865         (completion-in-region, completion-in-region--postch)
8866         (completion-in-region-mode): Use them.
8867         (completion--capf-wrapper): Also return the hook function.
8868         (completion-at-point, completion-help-at-point):
8869         Adjust and provide a predicate.
8871         Preserve arg names for advice of subr and lexical functions (bug#8457).
8872         * help-fns.el (help-function-arglist): Consolidate the subr and
8873         new-byte-code cases.  Add argument `preserve-names' to extract names
8874         from the docstring when needed.
8875         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8876         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8877         (ad-arglist): Use help-function-arglist's new arg.
8878         (ad-definition-type): Use cond.
8880 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
8882         * autorevert.el (auto-revert-handler):
8883         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8884         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8885         Don't quote lambda.
8887         * image-mode.el (image-transform-set-scale):
8888         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8890 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8892         * net/network-stream.el (network-stream-open-starttls): Only do
8893         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
8894         Upgrades via gnutls-cli are too slow to be done opportunistically.
8896 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
8898         * dframe.el (dframe-current-frame): Remove spurious quote.
8900 2011-04-12  Glenn Morris  <rgm@gnu.org>
8902         * calendar/cal-tex.el (cal-tex-end-document):
8903         Try to automatically use latin1 input if needed.
8905         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8906         Don't try to cons a mark onto an empty element.
8908 2011-04-11  Leo Liu  <sdl.web@gmail.com>
8910         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8911         buffers.
8912         (ido-kill-buffer-at-head): Support killing virtual buffers.
8914 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
8916         * minibuffer.el (completion-show-inline-help): New var.
8917         (completion--do-completion, minibuffer-complete)
8918         (minibuffer-force-complete, minibuffer-complete-word):
8919         Inhibit minibuffer messages if completion-show-inline-help is nil.
8921         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8922         to avoid interference from inline help (Bug#5849).
8924 2011-04-10  Leo Liu  <sdl.web@gmail.com>
8926         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8927         Fix typo.
8929 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
8931         * image-mode.el (image-toggle-display-image): Signal an error if
8932         not in Image mode.
8933         (image-transform-mode, image-transform-resize)
8934         (image-transform-set-rotation): Doc fix.
8935         (image-transform-set-resize): Delete.
8936         (image-transform-set-scale, image-transform-fit-to-height)
8937         (image-transform-fit-to-width): Handle image-toggle-display-image
8938         and image-transform-resize directly.
8940 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
8942         * doc-view.el (doc-view-fit-width-to-window)
8943         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8944         New functions for fitting the shown image to the Emacs window size.
8945         (doc-view-mode-map): Add bindings for the new functions.
8947 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
8949         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
8950         Fix typo in docstring.
8952 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
8954         * files.el (file-size-human-readable): Produce one digit after
8955         decimal, like "ls -lh" does.
8957         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8958         the file size representation.
8960         * simple.el (list-processes): If async subprocesses are not
8961         available, error out with a clear error message.
8963 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
8965         * help.el (help-form-show): New function, to be called from C.
8966         Put help-form output in a buffer named differently than *Help*.
8968 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
8970         * files.el (file-size-human-readable): New function.
8972         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8973         computing the representation inline.  Don't require `cl'.
8975 2011-04-08  Glenn Morris  <rgm@gnu.org>
8977         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8979         * net/browse-url.el (browse-url-firefox):
8980         Test system-type, not system-configuration.
8982         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8983         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8984         Use log-edit-empty-buffer-p.  (Bug#7598)
8986         * net/rlogin.el (rlogin-process-connection-type): Simplify.
8987         (rlogin-mode-map): Initialize in the defvar.
8988         (rlogin): Use ignore-errors.
8990         * replace.el (occur-mode-map): Some fixes for menu items.
8992 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8994         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
8996 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
8998         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8999         issuing unused warnings.
9001         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9002         macro directly.
9004         * simple.el: Lisp reimplement of list-processes.  Based on an
9005         earlier reimplementation by Leo Liu, but using tabulated-list.el.
9006         (process-menu-mode): New major mode.
9007         (list-processes--refresh, list-processes):
9008         (process-menu-visit-buffer): New functions.
9010         * files.el (save-buffers-kill-emacs): Don't assume any return
9011         value of list-processes, which is undocumented anyway.
9013 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
9015         * emacs-lisp/tabulated-list.el: New file.
9017         * emacs-lisp/package.el: Use Tabulated List mode.
9018         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9019         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
9020         table format using Tabulated List mode variables.
9021         (package--push): New macro, replacing package-list-maybe-add.
9022         (package-menu--generate): Use package--push.  Renamed from
9023         package--generate-package-list.
9024         (package-menu-refresh, list-packages): Use it.
9025         (package-menu--print-info): Rename from package-print-package.
9026         Return insertion data instead of inserting it directly.
9027         (package-menu-describe-package, package-menu-execute):
9028         Use tabulated-list-get-id.
9029         (package-menu-mark-delete, package-menu-mark-install)
9030         (package-menu-mark-unmark, package-menu-backup-unmark)
9031         (package-menu-mark-obsolete-for-deletion):
9032         Use tabulated-list-put-tag.
9033         (package--list-packages, package-menu-revert)
9034         (package-menu-get-package, package-menu-get-version)
9035         (package-menu-sort-by-column): Functions deleted.
9036         (package-menu-package-list, package-menu-sort-key): Vars deleted.
9037         (package-menu--status-predicate, package-menu--version-predicate)
9038         (package-menu--name-predicate)
9039         (package-menu--description-predicate): Handle arguments in the
9040         Tabulated List format.
9041         (package-list-packages-no-fetch): Call list-packages.
9043 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
9045         * files.el (after-find-file-from-revert-buffer): Remove variable.
9046         (after-find-file): Don't bind it.
9047         (revert-buffer-in-progress-p): New variable.
9048         (revert-buffer): Bind it.
9049         Pass nil for `after-find-file-from-revert-buffer'.
9051         * saveplace.el (save-place-find-file-hook): Use new variable
9052         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9054 2011-04-06  Glenn Morris  <rgm@gnu.org>
9056         * Makefile.in (AUTOGEN_VCS): New variable.
9057         (autoloads): Use $AUTOGEN_VCS.
9059         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9060         * calendar/calendar.el (calendar-mode-map):
9061         Check for toolkit scroll bars.  (Bug#8305)
9063 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
9065         * minibuffer.el (completion-in-region--postch)
9066         (completion-in-region-mode): Remove unnecessary messages.
9068 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
9070         * font-lock.el (font-lock-refresh-defaults):
9071         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9072         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9074         * info.el (Info-directory-list, Info-read-node-name-2)
9075         (Info-split-parameter-string): Doc fixes.
9076         (Info-virtual-nodes): Reflow docstring.
9077         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9078         (Info-apropos-toc-nodes, info-finder, Info-get-token)
9079         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9080         Fix typos in docstrings.
9081         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9082         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9083         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9084         (Info-restore-desktop-buffer): Mark unused parameters.
9085         (Info-directory-find-file, Info-directory-find-node)
9086         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9087         (Info-virtual-index-find-node, Info-apropos-find-file)
9088         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
9089         Mark unused parameters; fix typos in docstrings.
9090         (Info-virtual-index): Remove unused local variable `nodename'.
9092 2011-04-05  Deniz Dogan  <deniz@dogan.se>
9094         * net/rcirc.el: Update my e-mail address.
9095         (rcirc-mode-map): Remove M-o binding.
9097 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
9099         * startup.el (command-line): Save the cursor's theme-face
9100         directly, instead of using face-override-spec.
9102         * custom.el (load-theme): Minor optimization in assigning faces.
9104 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
9106         * help-fns.el (describe-variable): Complete all variables having
9107         documentation, including keywords.
9108         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9110 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
9112         Convert to lexical-binding.
9114         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9115         (bs--get-marked-string, bs--get-modified-string)
9116         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9117         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9118         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9120         * ehelp.el (electric-help-execute-extended)
9121         (electric-help-ctrl-x-prefix):
9122         * hexl.el (hexl-revert-buffer-function):
9123         * linum.el (linum-after-change, linum-after-scroll):
9124         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9126         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9128 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
9130         * epa-dired.el:
9131         * epa-mail.el:
9132         * epa-hook.el:
9133         * epa-file.el:
9134         * epa.el:
9135         * epg.el: Use lexical binding.
9137 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
9139         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9141         * textmodes/flyspell.el (flyspell-word): Recognize default
9142         dictionary case for flyspell-mark-duplications-exceptions.
9143         Use regexp matching for languages.
9144         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9145         default dictionary (Bug#7926).
9147 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
9149         * emacs-lisp/package.el (package--with-work-buffer):
9150         Recognize https URLs.
9152         * net/network-stream.el: Move from gnus/proto-stream.el.
9153         Change prefix to network-stream throughout.
9154         (open-protocol-stream): Merge into open-network-stream, leaving
9155         open-protocol-stream as an alias.  Handle nil BUFFER args.
9157         * subr.el (open-network-stream): Move to net/network-stream.el.
9159 2011-04-02  Glenn Morris  <rgm@gnu.org>
9161         * find-dired.el (find-exec-terminator): New option.
9162         (find-ls-option): Test for -ls support.
9163         (find-ls-subdir-switches): Test for -b in find-ls-option.
9164         (find-dired, find-grep-dired): Doc fixes.
9165         (find-dired): Use find-exec-terminator.
9167         * find-dired.el (find-ls-option, find-ls-subdir-switches)
9168         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9169         (find-name-arg): Remove purecopy.
9171         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9172         (grep-compute-defaults): Check for `-exec COMMAND +' support.
9173         Set grep-find-use-xargs, grep-find-command, and grep-find-template
9174         accordingly.  Don't add the null-device if not needed.
9176         * files.el (save-some-buffers): Doc fix.
9178 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
9180         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9182 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
9184         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9185         Use `dolist' rather than `mapcar'.
9187 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9189         Add lexical binding.
9191         * subr.el (apply-partially): Use new closures rather than CL.
9192         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9193         (dolist, dotimes): Use slightly different expansion for lexical code.
9194         (functionp): Move to C.
9195         (letrec): New macro.
9196         (with-wrapper-hook): Use it and apply-partially instead of CL.
9197         (eval-after-load): Preserve lexical-binding.
9198         (save-window-excursion, with-output-to-temp-buffer): Turn them
9199         into macros.
9201         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9203         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9204         than the arglist.
9205         (help-add-fundoc-usage): Don't add `Not documented'.
9206         (help-function-arglist): Handle closures, subroutines, and new
9207         byte-code-functions.
9208         (help-make-usage): Remove leading underscores.
9209         (describe-function-1): Handle closures.
9210         (describe-variable): Use special-variable-p for completion.
9212         * files.el (lexical-binding): Declare safe.
9214         * emacs-lisp/pcase.el: Don't use destructuring-bind.
9215         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
9216         (pcase): Add `let' pattern.
9217         Change memoization so it actually works.
9218         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9219         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9220         <let>: New case.
9222         * emacs-lisp/macroexp.el: Use lexical binding.
9223         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
9224         Don't convert ' to #' without checking that it's indeed quoting
9225         a lambda.
9227         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
9228         Use eval-sexp-add-defvars.
9229         (eval-sexp-add-defvars): New fun.
9231         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9233         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9234         Don't autoload.
9235         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9236         than the internal `byte-compile-lambda'.
9237         (defmethod): Don't hide code under quotes.
9238         (eieio-defmethod): New `code' argument.
9240         * emacs-lisp/eieio-comp.el: Remove.
9242         * emacs-lisp/edebug.el (edebug-eval-defun)
9243         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9244         (edebug-toggle): Avoid `eval'.
9246         * emacs-lisp/disass.el (disassemble-internal): Handle new
9247         `closure' objects.
9248         (disassemble-1): Handle new byte codes.
9250         * emacs-lisp/cl.el (pushnew): Silence warning.
9252         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9253         (cl-byte-compile-throw): Remove.
9254         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9256         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9257         closures.
9259         * emacs-lisp/cconv.el: New file.
9261         * emacs-lisp/bytecomp.el: Use lexical binding instead of
9262         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
9263         (byte-compile-initial-macro-environment):
9264         Handle declare-function here.
9265         (byte-compile--lexical-environment): New var.
9266         (byte-stack-ref, byte-stack-set, byte-discardN)
9267         (byte-discardN-preserve-tos): New lap codes.
9268         (byte-interactive-p): Don't use any more.
9269         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9270         New macros.
9271         (byte-compile-lapcode): Use them and handle new lap codes.
9272         (byte-compile-obsolete): Remove.
9273         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9274         (byte-compile-arglist-warn): Check late def of inlinable funs.
9275         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9276         since they should have been expanded by now.
9277         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9278         (byte-compile-from-buffer): Remove unused second arg.
9279         (byte-compile-preprocess): New function.
9280         (byte-compile-toplevel-file-form): New function to distinguish
9281         file-form calls from outside from file-form calls from hunk-handlers.
9282         (byte-compile-file-form): Simplify.
9283         (byte-compile-file-form-defsubst): Remove.
9284         (byte-compile-file-form-defmumble): Simplify now that
9285         byte-compile-lambda always returns a byte-code-function.
9286         (byte-compile): Preprocess.
9287         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9288         Remove, not used any more.
9289         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9290         (byte-compile-make-args-desc): New funs.
9291         (byte-compile-lambda): Handle lexical functions.  Always return
9292         a byte-code-function.
9293         (byte-compile-reserved-constants): New var, to make up room for
9294         closed-over variables.
9295         (byte-compile-constants-vector): Obey it.
9296         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9297         (byte-compile-macroexpand-declare-function): New function.
9298         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9299         byte-code-functions.
9300         (byte-compile-form): Check obsolescence here.
9301         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9302         (byte-compile-variable-ref): Remove.
9303         (byte-compile-dynamic-variable-op): New fun.
9304         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9305         (byte-compile-variable-set): New funs.
9306         (byte-compile-discard): Add 2 args.
9307         (byte-compile-stack-ref, byte-compile-stack-set)
9308         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9309         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9310         macroexpand-all instead.
9311         (byte-compile-quote-form): Remove.
9312         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9313         (byte-compile-bind, byte-compile-unbind): New funs.
9314         (byte-compile-let): Handle let* and lexical binding.
9315         (byte-compile-let*): Remove.
9316         (byte-compile-catch, byte-compile-unwind-protect)
9317         (byte-compile-track-mouse, byte-compile-condition-case):
9318         Handle a new :fun-body form, used for lexical scoping.
9319         (byte-compile-save-window-excursion)
9320         (byte-compile-with-output-to-temp-buffer): Remove.
9321         (byte-compile-defun): Simplify.
9322         (byte-compile-stack-adjustment): New fun.
9323         (byte-compile-out): Use it.
9324         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9326         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9327         handler any more.
9329         * emacs-lisp/byte-opt.el: Use lexical binding.
9330         (byte-inline-lapcode): Remove (to bytecomp).
9331         (byte-compile-inline-expand): Pay attention to inlining to/from
9332         lexically bound code.
9333         (byte-compile-unfold-lambda): Don't handle byte-code-functions
9334         any more.
9335         (byte-optimize-form-code-walker): Don't handle save-window-excursion
9336         any more and don't call compiler-macros.
9337         (byte-compile-splice-in-already-compiled-code): Remove.
9338         (byte-code): Don't inline any more.
9339         (disassemble-offset): Receive `bytes' as argument rather than via
9340         dynamic scoping.
9341         (byte-compile-tag-number): Declare before first use.
9342         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9343         `return' even if make-spliceable.
9344         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9345         obsolete interactive-p.
9346         (byte-optimize-lapcode): Optimize new lap-codes.
9347         Don't trip up on new form of `byte-constant' lap code.
9349         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9351         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9353         * custom.el (custom-initialize-default, custom-declare-variable):
9354         Use `defvar'.
9356         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9357         New variables.
9358         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9359         (COMPILE_FIRST): Add macroexp and cconv.
9360         * makefile.w32-in: Mirror changes in Makefile.in.
9362         * vc/cvs-status.el:
9363         * vc/diff-mode.el:
9364         * vc/log-edit.el:
9365         * vc/log-view.el:
9366         * vc/smerge-mode.el:
9367         * textmodes/bibtex-style.el:
9368         * textmodes/css.el:
9369         * startup.el:
9370         * uniquify.el:
9371         * minibuffer.el:
9372         * newcomment.el:
9373         * reveal.el:
9374         * server.el:
9375         * mpc.el:
9376         * emacs-lisp/smie.el:
9377         * doc-view.el:
9378         * dired.el:
9379         * abbrev.el: Use lexical binding.
9381 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
9383         * info.el (info-display-manual): New function.
9385 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9387         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9389 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
9391         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
9392         an entry for that server in rcirc-authinfo.  (Bug#8385)
9394 2011-03-31  Glenn Morris  <rgm@gnu.org>
9396         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9398         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9400 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
9402         * progmodes/python.el (python-default-interpreter)
9403         (python-python-command-args, python-jython-command-args)
9404         (python-which-shell, python-which-args, python-which-bufname)
9405         (python-file-queue, python-comint-output-filter-function)
9406         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9407         variables and functions.
9409 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9411         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9412         (completion-in-region-mode): New minor mode.
9413         (completion-in-region): Use it.
9414         (completion-in-region--data, completion-in-region-mode-map): New vars.
9415         (completion-in-region--postch): New function.
9416         (completion--capf-misbehave-funs, completion--capf-safe-funs):
9417         New vars.
9418         (completion--capf-wrapper): New function.
9419         (completion-at-point): Use it to track well-behavedness of
9420         hook functions.
9421         (completion-help-at-point): New command.
9423 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
9425         * vc/add-log.el (add-change-log-entry): Don't use whitespace
9426         syntax class to search for whitespace on a single line
9427         (Message-ID: <4D938140.4030905@redhat.com>).
9429 2011-03-30  Leo Liu  <sdl.web@gmail.com>
9431         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9432         New commands.
9433         (edit-abbrevs-map): Bind them here.
9434         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
9436 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
9438         * allout.el (allout-hide-by-annotation, allout-flag-region):
9439         Reduce possibility of overlay leakage by making them volatile.
9441         * allout-widgets.el (allout-widgets-tally): Define as nil so the
9442         hash is not shared between buffers.  Mode initialization is
9443         responsible for giving it a useful starting value.
9444         (allout-item-span): Reduce possibility of overlay leakage by
9445         making them volatile.
9446         (allout-widgets-count-buttons-in-region): Add diagnostic function
9447         for tracking down button overlay leaks.
9449 2011-03-29  Leo Liu  <sdl.web@gmail.com>
9451         * ido.el (ido-read-internal): Use the default history var
9452         minibuffer-history if no HISTORY is specified.
9454 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
9456         * net/imap.el (imap-shell-open, imap-process-connection-type):
9457         Use imap-process-connection-type for 'shell' streams as well as
9458         Kerberos, SSL, other subprocesses.
9460 2011-03-28  Leo Liu  <sdl.web@gmail.com>
9462         * abbrev.el (abbrev-table-empty-p): New function.
9463         (prepare-abbrev-list-buffer): Place empty abbrev tables after
9464         nonempty ones.  (Bug#5937)
9466 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
9468         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9470 2011-03-27  Leo Liu  <sdl.web@gmail.com>
9472         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9473         for foreground and background colors.
9474         (ansi-color-make-color-map): Adapt.
9476 2011-03-25  Leo Liu  <sdl.web@gmail.com>
9478         * midnight.el (midnight-time-float): Remove.  Note it calculates
9479         the microsecond component incorrectly and seconds-to-time does the
9480         same job.
9481         Remove redundant (require 'timer).
9483         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9484         (ido-completions): Remove unused arguments.  (Bug#8329)
9486 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9488         * minibuffer.el (completion--flush-all-sorted-completions):
9489         Remove itself from hook.
9490         (completion-at-point): Let the functions perform the completion
9491         immediately and return nil or t.
9492         * comint.el (comint-dynamic-complete-functions): Now identical to
9493         completion-at-point-functions.
9494         (comint-dynamic-list-input-ring): Remove unused var `index'.
9495         (comint--match-partial-filename, comint--unquote&expand-filename):
9496         New funs, split from comint-match-partial-filename.
9497         (comint-dynamic-complete): Use completion-at-point.
9498         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9500 2011-03-24  Drew Adams  <drew.adams@oracle.com>
9502         * thingatpt.el: Support `defun'.
9504 2011-03-23  Leo Liu  <sdl.web@gmail.com>
9506         * abbrevlist.el: Move to obsolete/abbrevlist.el.
9508         * help-mode.el (help-mode-finish): Tweak regexp.
9510 2011-03-23  Glenn Morris  <rgm@gnu.org>
9512         * eshell/esh-opt.el (eshell-eval-using-options):
9513         Do not bind unused local variable `eshell-option-stub'.
9515         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9517 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
9519         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9520         keymap variable in `with-no-warnings' to avoid a warning when the
9521         keymap has been already `defconst'ed.
9523 2011-03-22  Leo Liu  <sdl.web@gmail.com>
9525         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9526         encode all chars in abbrevs; otherwise use emacs-mule or
9527         utf-8-emacs.  (Bug#8308)
9529 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
9531         * simple.el (backward-delete-char-untabify):
9532         Avoid warning about using `delete-backward-char'.
9534         * image.el (image-type-file-name-regexps): Make it variable.
9535         `imagemagick-register-types' modifies it, and the user may want
9536         to add new extensions for known image types.
9537         (imagemagick-register-types): Throw error if not using ImageMagick.
9539 2011-03-22  Leo Liu  <sdl.web@gmail.com>
9541         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9542         located before rcirc-prompt-end-marker.
9543         (rcirc-complete): Error if point is not after rcirc prompt.
9544         Handle the case when table is nil.
9545         (rcirc-user-authenticated): Define to fix compiler warning.
9547 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
9549         * custom.el (custom--inhibit-theme-enable): Make it affect only
9550         custom-theme-set-variables and custom-theme-set-faces.
9551         (provide-theme): Ignore custom--inhibit-theme-enable.
9552         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9553         (custom-enabling-themes): Delete variable.
9554         (enable-theme): Accept only loaded themes as arguments.
9555         Ignore the special custom-enabled-themes variable.
9556         (custom-enabled-themes): Forbid themes from setting this.
9557         Eliminate use of custom-enabling-themes.
9558         (custom-push-theme): Quote "changed" custom var entry.
9560 2011-03-21  Leo Liu  <sdl.web@gmail.com>
9562         * ido.el (ido-read-internal): Add ido-selected to history instead
9563         of user input.
9565 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9567         * subr.el (deferred-action-list, deferred-action-function):
9568         Mark obsolete.
9570 2011-03-21  Leo Liu  <sdl.web@gmail.com>
9572         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9573         change on 2011-02-13 (bug#8309).
9575         * minibuffer.el (read-file-name-function): Change default value.
9576         (read-file-name--defaults): Rename from read-file-name-defaults.
9577         (read-file-name-default): Rename from read-file-name.
9578         (read-file-name): Call read-file-name-function.
9580 2011-03-21  Glenn Morris  <rgm@gnu.org>
9582         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9583         Doc fixes.
9585 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
9587         * cus-theme.el: Add missing provide statement.
9588         (customize-create-theme): Extract theme value correctly.
9589         (custom-theme-visit-theme): Autoload.
9590         (customize-create-theme): Prompt before inserting default faces.
9592 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
9594         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9595         units and musical notes.
9597 2011-03-20  Leo Liu  <sdl.web@gmail.com>
9599         * ido.el (ido-read-internal): Use completing-read-default.
9600         (ido-completing-read): Fix compatibility with completing-read.
9602 2011-03-20  Christian Ohler  <ohler@gnu.org>
9604         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9605         (ert-delete-all-tests): Use `called-interactively-p' rather than
9606         `interactive-p'.
9607         (ert--make-xrefs-region): Respect END.
9609 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
9611         * dired-aux.el (dired-create-directory): Signal an error if the
9612         directory already exists (Bug#8246).
9614         * facemenu.el (list-colors-display): Call list-faces-display
9615         inside with-help-window.
9616         (list-colors-print): Use display property to align the final
9617         column, instead of checking window-width.
9619 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
9621         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
9622         windows-nt systems.
9623         (emerge-protect-metachars): Quote correctly for ms-dos and
9624         windows-nt systems.
9626 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
9628         * info.el (info-initialize): Replace all uses of `:' with
9629         path-separator for compatibility with non-Unix systems.
9630         Cache quoting of path-separator.  (Bug#8258)
9632 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
9634         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9635         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9636         (mouse-avoidance-mode): Fix typos in docstrings.
9638 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
9640         * startup.el (package-subdirectory-regexp): Move from package.el.
9641         Omit \\` and \\', and let callers add them.
9643         * emacs-lisp/package.el (package-strip-version)
9644         (package-load-all-descriptors): Add \\` and \\' to
9645         package-subdirectory-regexp before using it.
9646         (package-untar-buffer): New arg DIR; ensure that file untars only
9647         into this expected directory.  Remove superfluous delete-region.
9648         (package-unpack): Caller changed.
9649         (package-tar-file-info): Use package-subdirectory-regexp.
9651 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9653         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9654         diff-mode-shared-map (bug#8284).
9655         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
9657 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9659         * calendar/time-date.el (format-seconds): Use assoc instead of
9660         assoc-string, since assoc-string doesn't exist in XEmacs.
9662 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
9664         * custom.el (custom-known-themes): Reflow docstring.
9665         (custom-theme-load-path): Fix typo in docstring.
9666         (load-theme): Fix typo in error message.
9667         (custom-available-themes, custom-variable-theme-value):
9668         Use `let', not `let*'.
9670 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
9672         * calc/README: Mention inclusion of musical notes.
9674         * calc/calc-units.el (calc-lu-quant): Rename from
9675         `calc-logunits-quantity'.
9676         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9677         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9678         (calc-db): Rename from `calc-dblevel'.
9679         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9680         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9681         (calc-np): Rename from `calc-nplevel'.
9682         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9683         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9684         (calc-lu-plus): Rename from `calc-logunits-add'.
9685         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9686         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9687         (calc-lu-minus): Rename from `calc-logunits-sub'.
9688         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9689         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9690         (calc-lu-times): Rename from `calc-logunits-mul'.
9691         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9692         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9693         (calc-lu-divide): Rename from `calc-logunits-div'.
9694         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9695         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9697         * calc/calc-ext.el (calc-init-extensions): Update the names of the
9698         functions being autoloaded.
9700         * calc/calc.el (calc-lu-power-reference): Rename from
9701         `calc-logunits-power-reference'.
9702         (calc-lu-field-reference): Rename from
9703         `calc-logunits-field-reference'.
9705         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9707 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9709         * minibuffer.el (completion-all-sorted-completions):
9710         Use :completion-cycle-penalty text property if present.
9712 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
9714         * allout.el (allout-yank-processing): Adjust for new rebulleting
9715         regime so bullet being yanked is used without prompting the user
9716         for a choice.
9718 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
9720         * startup.el (command-line): Warn the user that _emacs is deprecated.
9722 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
9724         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9725         (delphi-verbose, delphi-comment-face, delphi-string-face)
9726         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9727         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9728         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9729         (delphi-new-comment-line, delphi-font-lock-defaults)
9730         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9731         Fix typos in docstrings.
9733 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
9735         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
9736         Invert the roles of character and string values for INSTEAD, so a
9737         string is used for the more common case of a defaulting prompt.
9739 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9741         * progmodes/ruby-mode.el (ruby-backward-sexp):
9742         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9743         * play/gamegrid.el (gamegrid-make-face):
9744         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9745         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9746         * notifications.el (notifications-notify):
9747         * net/xesam.el (xesam-search-engines):
9748         * net/quickurl.el (quickurl-list-insert):
9749         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9751 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
9753         * startup.el (command-line): Update package subdirectory regexp.
9755 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9757         * allout.el (allout-abbreviate-flattened-numbering)
9758         (allout-mode-deactivate-hook): Fix up obsolescence "date".
9760         * subr.el (read-char-choice): Only show the cursor after the prompt,
9761         not after the answer.
9763 2011-03-15  Kevin Ryde  <user42@zip.com.au>
9765         * help-fns.el (variable-at-point): Skip leading quotes, if any
9766         (bug#8253).
9768 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9770         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9771         warning message.
9773 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
9775         * shell.el (shell): When called interactively, offer to change the
9776         shell file name on remote hosts.
9778 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
9780         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9781         integration for LDAP parameters.  The host, base, user or binddn,
9782         and secret tokens can be specified in a netrc file, for instance.
9783         This is optional because an `auth-source' parameter must be
9784         specified in the search attributes.
9786 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
9788         * help.el (describe-mode): Link to the mode's definition (bug#8185).
9790 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9792         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9793         into declaration.  Remove redundant and harmful binding.
9795 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
9797         * files.el (file-ownership-preserved-p): Pass `integer' as an
9798         explicit 2nd argument to `file-attributes'.  If the file's owner
9799         is the Administrators group on Windows, and the current user is
9800         Administrator, consider that a match.
9802         * server.el (server-ensure-safe-dir): Consider server directory
9803         safe on MS-Windows if its owner is the Administrators group while
9804         the current Emacs user is Administrator.  Use `=' to compare
9805         numerical UIDs, since they could be integers or floats.
9807 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
9809         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9811 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
9813         Sync with Tramp 2.2.1.
9815         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9817         * net/trampver.el: Update release number.
9819 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9821         * progmodes/compile.el (compilation--previous-directory): Fix up
9822         various nil/dead-marker mismatches (bug#8014).
9823         (compilation-directory-properties, compilation-error-properties):
9824         Don't call it at a position past the one we're about to change.
9826         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9827         Disable obsolescence warnings in the file that declares it.
9829 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
9831         * allout-widgets.el (allout-widgets-tally):
9832         Initialize allout-widgets-tally as a hash table rather than nil to
9833         prevent mode-line redisplay warnings.  Also, clarify the module
9834         description and fix a comment typo.
9836 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
9838         * help-fns.el (describe-variable): Don't complete keywords.
9839         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9841 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
9843         * emacs-lisp/package.el (package-version-join): Impose a standard
9844         string representation for pre/alpha/beta version lists.
9845         (package-unpack-single): Standardize the directory name by passing
9846         it through package-version-join.
9847         (package-strip-rcs-id): Accept any version string that does not
9848         signal an error in version-to-list.
9850 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
9852         * simple.el (delete-trailing-whitespace): Return nil for the
9853         benefit of `write-file-functions'.
9855 2011-03-10  Glenn Morris  <rgm@gnu.org>
9857         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9859         * vc/vc-git.el (vc-git-program): New option.
9860         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9861         (vc-git--call): Use it.
9863         * eshell/esh-util.el (eshell-condition-case): Doc fix.
9865         * cus-edit.el (Custom-newline): If no button at point, look
9866         for a subgroup button at start-of-line.  (Bug#2298)
9868         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9870 2011-03-10  Julien Danjou  <julien@danjou.info>
9872         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9873         `cursor-type' is nil.
9875 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
9877         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9879 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
9881         * allout.el Summary: Change so yank of distinctive-bullet items
9882         preserves the existing header prefix, rebulleting it if necessary,
9883         rather than replacing it.  This is necessary for proper operation
9884         of cooperative addons like allout-widgets.
9885         (allout-make-topic-prefix, allout-rebullet-heading):
9886         Change SOLICIT arg to INSTEAD, and interpret additionally a string
9887         value as alternate bullet to be used, instead of prompting the user
9888         for a bullet character.
9890 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
9892         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9893         Do not use `tramp-file-name-port', because this returns also
9894         `tramp-default-port'.
9896 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9898         * net/rcirc.el (rcirc-handler-001): Remove useless
9899         with-rcirc-process-buffer.
9900         (rcirc-check-auth-status): Swap arguments to string-match.
9902 2011-03-09  Glenn Morris  <rgm@gnu.org>
9904         * shell.el (shell-mode):
9905         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
9907         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9908         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
9910 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
9912         * emacs-lisp/package.el (package-refresh-contents)
9913         (package-menu-execute): Use condition-case-no-debug.
9915 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
9917         * simple.el (shell-command-to-string): Use `process-file'.
9919         * emacs-lisp/package.el (package-tar-file-info): Handle also
9920         remote files.
9922         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9923         Use `equal' for upload base check.
9925 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
9927         * textmodes/texinfo.el (texinfo-environments):
9928         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
9930 2011-03-08  Glenn Morris  <rgm@gnu.org>
9932         * cus-start.el (cursor-in-non-selected-windows):
9933         Fix :set quoting oddness.  (Bug#8192)
9935         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9936         in some setf expressions.  (Bug#2159)
9938 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
9940         * custom.el (custom-available-themes): Return themes in
9941         alphabetical order.
9943 See ChangeLog.15 for earlier changes.
9945 ;; Local Variables:
9946 ;; coding: utf-8
9947 ;; End:
9949   Copyright (C) 2011-2012  Free Software Foundation, Inc.
9951   This file is part of GNU Emacs.
9953   GNU Emacs is free software: you can redistribute it and/or modify
9954   it under the terms of the GNU General Public License as published by
9955   the Free Software Foundation, either version 3 of the License, or
9956   (at your option) any later version.
9958   GNU Emacs is distributed in the hope that it will be useful,
9959   but WITHOUT ANY WARRANTY; without even the implied warranty of
9960   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9961   GNU General Public License for more details.
9963   You should have received a copy of the GNU General Public License
9964   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.