Merge from emacs-24; up to 2012-05-05T02:50:20Z!monnier@iro.umontreal.ca
[emacs.git] / lisp / ChangeLog
blob817175ebfeb0196d38fae3c073cee0f34cc183dc
1 2012-09-05  Glenn Morris  <rgm@gnu.org>
3         * emulation/cua-rect.el (cua--init-rectangles):
4         * textmodes/picture.el (picture-mode-map):
5         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6         like forward-char and backward-char.  (Bug#12317)
8 2012-09-05  Leo Liu  <sdl.web@gmail.com>
10         * progmodes/flymake.el (flymake-warning-re): New variable.
11         (flymake-parse-line): Use it.
13 2012-09-05  Glenn Morris  <rgm@gnu.org>
15         * calendar/holidays.el (holiday-christian-holidays):
16         Rename an entry.  (Bug#12289)
18 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
21         (bug#12222).
23 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
25         * loadup.el: Load macroexp.  Remove hack.
26         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
27         (macroexp--expand-all): Use it to get better warnings.
28         (macroexp--backtrace, macroexp--trim-backtrace-frame)
29         (internal-macroexpand-for-load): New functions.
30         (macroexp--pending-eager-loads): New var.
31         (emacs-startup-hook): New hack to replace one in loadup.el.
32         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
33         (cl--compiler-macro-cXXr): Move to top, before they can be used.
34         (cl-psetf): Simplify.
35         (cl-defstruct): Add indent rule.
37 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
39         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
40         over `user-mail-address' for the SMTP MAIL FROM envelope.
41         (smtpmail-via-smtp): Ditto.
43 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
45         * progmodes/ruby-mode.el: Clean up keybindings.
46         (ruby-mode-map): Don't bind ruby-electric-brace,
47         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
48         backward-kill-word, reindent-then-newline-and-indent.
49         (ruby-mark-defun): Remove.
50         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
51         (ruby-mode): Set local beginning-of-defun-function and
52         end-of-defun-function values.
54 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
56         * window.el (temp-buffer-window-setup-hook)
57         (temp-buffer-window-show-hook): New hooks.
58         (temp-buffer-window-setup, temp-buffer-window-show)
59         (with-temp-buffer-window): New functions.
60         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
61         (special-display-popup-frame): Make sure the window used shows BUFFER.
63         * help.el (temp-buffer-resize-mode): Fix doc-string.
64         (resize-temp-buffer-window): New optional argument WINDOW.
66         * files.el (recover-file, save-buffers-kill-emacs):
67         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
69 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
71         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
72         remote definition of `default-directory', ensure we can connect.
74 2012-09-02  Juri Linkov  <juri@jurta.org>
76         Toggle whitespace matching mode with M-s SPC.
77         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
79         * isearch.el (search-whitespace-regexp): Doc fix.
80         Remove cons cell customization.
81         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
82         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
83         New variables.
84         (isearch-forward, isearch-forward-regexp): Doc fix.
85         (isearch-toggle-lax-whitespace): New command.
86         (search-forward-lax-whitespace, search-backward-lax-whitespace)
87         (re-search-forward-lax-whitespace)
88         (re-search-backward-lax-whitespace): New functions.
89         (isearch-whitespace-regexp): Remove function.
90         (isearch-query-replace): Let-bind replace-search-function and
91         replace-re-search-function.
92         (isearch-occur): Let-bind search-spaces-regexp according to the
93         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
94         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
95         condition for C-q SPC.
96         (isearch-search-fun-default): Use new functions mentioned above.
97         (isearch-search-forward, isearch-search-backward): Remove functions.
98         (isearch-search): Don't let-bind search-spaces-regexp.
99         (isearch-lazy-highlight-space-regexp): Remove variable.
100         (isearch-lazy-highlight-lax-whitespace)
101         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
102         (isearch-lazy-highlight-new-loop): Use them.
103         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
105 2012-09-02  Chong Yidong  <cyd@gnu.org>
107         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
109 2012-09-02  Glenn Morris  <rgm@gnu.org>
111         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
113 2012-09-01  Glenn Morris  <rgm@gnu.org>
115         * term.el: Tidy up menu definitions.
116         (term-mode-map): Use easymenu for In/Out, Complete menus.
117         (term-pager-break-map): Initialize in the defvar.
118         (term-terminal-menu, term-signals-menu): Define with easymenu.
119         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
120         (term-pager-menu): New, extracted from term-process-pager.
121         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
122         (term-update-mode-line): Propertize line/char and page items.
123         (term-process-pager): Move keymap initialization elsewhere.
125 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
127         * window.el (switch-to-prev-buffer): Handle additional values of
128         BURY-OR-KILL argument.  Don't switch in minibuffer window.
129         (switch-to-next-buffer): Don't switch in minibuffer window.
130         (quit-restore-window): New function based on quit-window.
131         Handle additional values of former KILL argument.
132         (quit-window): Call quit-restore-window with appropriate
133         interpretation of KILL argument.
134         (display-buffer-below-selected): New buffer display action
135         function.
137 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
139         * minibuffer.el (completion-at-point-functions): Complete docstring
140         (bug#12254).
142 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
144         Better seed support for (random).
145         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
146         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
147         * play/mpuz.el, play/tetris.el, play/zone.el:
148         * calc/calc-comb.el (math-init-random-base):
149         * play/blackbox.el (bb-init-board):
150         * play/life.el (life):
151         * server.el (server-use-tcp):
152         * type-break.el (type-break):
153         Remove unnecessary call to (random t).
154         * net/sasl.el (sasl-unique-id-function):
155         Change (random t) to (random), now that the latter is more random.
156         * play/life.el (life-initialized): Remove no-longer-needed var.
158 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
160         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
161         Consider frame's buffer predicate when choosing the buffer.
162         (Bug#12081)
164 2012-08-30  Richard Stallman  <rms@gnu.org>
166         * simple.el (special-mode-map): Delete binding for `z'.
168 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
170         * progmodes/compile.el (compilation-always-kill): Doc fix.
172 2012-08-30  Chong Yidong  <cyd@gnu.org>
174         * window.el (display-buffer-reuse-frames): Make the obsolescence
175         message more informative.
177 2012-08-30  Glenn Morris  <rgm@gnu.org>
179         * paren.el (show-paren-delay):
180         Add a :set function.  Doc fix.  (Bug#12297)
182 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
184         * progmodes/compile.el (compilation-always-kill): New var.
185         (compilation-start): Use it.
187 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
189         * simple.el (read-only-mode): Move from files.el for bootstrapping.
190         * files.el (read-only-mode): Move to simple.el.
192         * files.el (read-only-mode): New minor mode.
193         (toggle-read-only): Use it and mark obsolete.
194         (find-file--read-only):
195         * vc/vc.el (vc-next-action, vc-checkout):
196         * vc/vc-cvs.el (vc-cvs-checkout):
197         * obsolete/vc-mcvs.el (vc-mcvs-update):
198         * ffap.el (ffap--toggle-read-only): Update callers.
200 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
202         * eshell/esh-ext.el (eshell-external-command): Do not examine
203         remote shell scripts.
204         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
206         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
207         "/usr/local/sbin".
209 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
211         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
213 2012-08-28  Leo Liu  <sdl.web@gmail.com>
215         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
216         completion-at-point.  (Bug#12220)
218         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
220         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
222 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
224         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
225         be buffer-local; add delete-trailing-whitespace (bug#12259).
227 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
229         * progmodes/hideif.el (hif-compress-define-list):
230         Fix typo.  (Bug#11951)
232 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
234         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
235         buffer local setting.
237         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
238         rcirc-encode-coding-system.
240 2012-08-28  Leo Liu  <sdl.web@gmail.com>
242         * net/rcirc.el (rcirc-split-message): New function.
243         (rcirc-send-message): Use it.  (Bug#12051)
245 2012-08-28  Juri Linkov  <juri@jurta.org>
247         * info.el (Info-fontify-node): Hide empty lines at the end of
248         the node.  (Bug#12272)
250 2012-08-27  Drew Adams  <drew.adams@oracle.com>
252         * dired.el (dired-pop-to-buffer): Make window start at beginning
253         of buffer (Bug#12281).
255 2012-08-26  Chong Yidong  <cyd@gnu.org>
257         * window.el (special-display-regexps, special-display-frame-alist)
258         (special-display-buffer-names, special-display-function)
259         (display-buffer-reuse-frames): Mark as obsolete.
261         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
263         * help.el (help-print-return-message): Don't treat
264         display-buffer-reuse-frames specially.
266 2012-08-26  Chong Yidong  <cyd@gnu.org>
268         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
269         New variable, replacing gdb-frame-parameters.
270         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
271         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
272         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
273         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
274         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
275         the functions directly with gdb-display-buffer-other-frame-action.
276         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
277         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
278         (gdb-display-stack-buffer, gdb-display-locals-buffer)
279         (gdb-display-registers-buffer): Define directly.
280         (def-gdb-display-buffer): Macro deleted.
281         (gdb-display-buffer): Remove second and third args, callers don't
282         use them.  Defer to the default display-buffer behavior, apart
283         from making windows dedicated.
284         (gdb-setup-windows): Don't call display-buffer unnecessarily.
286         * progmodes/gud.el (gud-display-line): Just use display-buffer.
288         * window.el (display-buffer-pop-up-frame): Handle a
289         pop-up-frame-parameters alist entry.
290         (display-buffer): Document it.
292 2012-08-26  Chong Yidong  <cyd@gnu.org>
294         * isearch.el (search-whitespace-regexp): Make string and nil
295         values apply to both ordinary and regexp search.  Allow a cons
296         cell value to distinguish between the two.
297         (isearch-whitespace-regexp, isearch-search-forward)
298         (isearch-search-backward): New functions.
299         (isearch-occur, isearch-search-fun-default, isearch-search)
300         (isearch-lazy-highlight-new-loop): Use them.
301         (isearch-forward, isearch-forward-regexp): Doc fix.
303 2012-08-26  Chong Yidong  <cyd@gnu.org>
305         * faces.el (help-argument-name): Always inherit from italic
306         (Bug#12213).
308 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
310         * window.el (window--even-window-heights): Even heights when
311         WINDOW and the selected window form a vertical combination.
312         (display-buffer-use-some-window): Provide that window used gets
313         sized back by quit-window.  (Bug#11880) and (Bug#12091)
315 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
317         Fix file time stamp problem with bzr and CVS (Bug#12001).
318         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
319         in the file's time stamp, since the version control system loses
320         that information.
322 2012-08-22  Juri Linkov  <juri@jurta.org>
324         * info.el (Info-fontify-node): Hide the suffix of the
325         Info file name in the header line.  (Bug#12187)
327 2012-08-22  Glenn Morris  <rgm@gnu.org>
329         * calendar/cal-tex.el (cal-tex-weekly-common):
330         Restore leading blank page.
332 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
334         * misc.el (forward-to-word, backward-to-word): Activate or extend
335         the region under `shift-select-mode'.  (Bug#12231)
337 2012-08-22  Bastien Guerry  <bzg@gnu.org>
339         * progmodes/executable.el (executable-prefix): Set to "#!" instead
340         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
341         gives details on why the space is never needed.
343 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
345         * window.el (walk-window-tree, window-with-parameter):
346         New optional argument MINIBUF to control whether these functions
347         should run on the minibuffer window.
348         (window-at-side-list): Don't operate on minibuffer window.
349         (window-in-direction): Simplify and rewrite doc-string.
350         (window--size-ignore): Rename to window--size-ignore-p.
351         Update callers.
352         (display-buffer-in-atom-window, window--major-non-side-window)
353         (window--major-side-window, display-buffer-in-major-side-window)
354         (delete-side-window, display-buffer-in-side-window):
355         New functions.
356         (window--side-check, window-deletable-p, delete-window)
357         (delete-other-windows, split-window): Handle side windows and
358         atomic windows appropriately.
359         (window--display-buffer): Call display-buffer-record-window also
360         when the window buffer did not change.
362 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
364         * help-fns.el (help-fns--key-bindings):
365         Abbreviate non-symbol remap targets.  (Bug#12174)
367 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
369         * dired.el (dired-mark-remembered): Don't clobber point.
370         (Bug#11795)
372 2012-08-22  Glenn Morris  <rgm@gnu.org>
374         * progmodes/bug-reference.el (bug-reference): New custom group.
375         (bug-reference-bug-regexp): Make it a defcustom.
377 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
379         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
380         (js-paren-indent-offset, js-square-indent-offset)
381         (js-curly-indent-offset): Add :safe (Bug#12257).
383 2012-08-22  Edward O'Connor  <hober0@gmail.com>
385         * json.el (json-key-format): Add error properties.
386         (json-encode-key): New function.
387         (json-encode-hash-table, json-encode-alist, json-encode-plist):
388         Use json-encode-key.
390 2012-08-22  Glenn Morris  <rgm@gnu.org>
392         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
393         (cal-tex-leftday, cal-tex-rightday): Remove functions.
394         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
395         Update for above change.
397 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
399         * cus-face.el (custom-face-attributes): Fix customize type for the
400         :underline attribute.  (Bug#11805)
402 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
404         * window.el (window-point-1, set-window-point-1): Remove.
405         (window-in-direction, record-window-buffer)
406         (set-window-buffer-start-and-point, split-window-below)
407         (window--state-get-1, display-buffer-record-window):
408         Replace calls to window-point-1 and set-window-point-1 by calls to
409         window-point and set-window-point respectively.
411 2012-08-21  Glenn Morris  <rgm@gnu.org>
413         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
414         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
415         Use it.
417         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
418         (cal-tex-shortday): New function.
419         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
420         (cal-tex-cursor-filofax-daily): Use the above.
422         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
423         New functions.
424         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
425         (cal-tex-cursor-filofax-week): Use them.
427         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
428         New constants.
429         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
430         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
432         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
433         (cal-tex-end-document): Don't rely on buffer name.
435         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
436         Use cal-tex-vspace.
437         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
438         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
439         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
440         Use cal-tex-arg.
442         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
443         (cal-tex-cursor-week, cal-tex-cursor-week2)
444         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
445         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
446         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
447         (cal-tex-insert-preamble, cal-tex-b-document)
448         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
449         Improve cal-tex-cmd usage.
451         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
452         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
453         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
454         (cal-tex-weekly-paper): New function.
455         (cal-tex-cursor-week, cal-tex-cursor-week2)
456         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
457         (cal-tex-cursor-day): Use it.
459         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
460         (cal-tex-cursor-filofax-week): Remove leading blank page.
462         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
463         Add autoload cookie.  For now at least, don't use color, since
464         no other cal-tex function does.
466         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
467         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
468         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
470 2012-08-21  Juri Linkov  <juri@jurta.org>
472         * info.el (Info-file-attributes): New variable.
473         (info-insert-file-contents): Add file attributes to
474         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
475         `Info-toc-nodes' when previous modtime of the Info file is less
476         than new modtime.
477         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
478         of info.el.  (Bug#12230)
480 2012-08-20  Glenn Morris  <rgm@gnu.org>
482         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
483         * calendar/holidays.el (calendar-holiday-list):
484         Report errors with display-warning rather than beep'n'sleep.
486 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
488         * net/tramp.el (tramp-accept-process-output): Accept only output
489         from PROC.  Otherwise, process filters and sentinels might be
490         confused.  (Bug#12145)
492 2012-08-20  Chong Yidong  <cyd@gnu.org>
494         * descr-text.el (describe-text-properties-1): Use overlays-in to
495         report on empty overlays (Bug#3322).
497 2012-08-20  Glenn Morris  <rgm@gnu.org>
499         * mail/rmailout.el (rmail-output-read-file-name):
500         Trap and report errors in rmail-output-file-alist elements.
502         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
503         since most non-font-lock faces are not also variables).
505 2012-08-20  Edward Reingold  <reingold@iit.edu>
507         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
508         New function.  (Bug12160)
510 2012-08-19  Glenn Morris  <rgm@gnu.org>
512         * mail/rmailout.el (rmail-output-read-file-name):
513         Fix previous change (when the alist is nil or does not match).
515 2012-08-19  Chong Yidong  <cyd@gnu.org>
517         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
518         (Bug#12228).
520 2012-08-18  Chong Yidong  <cyd@gnu.org>
522         * simple.el (yank-handled-properties): New defcustom.
523         (yank-excluded-properties): Add font-lock-face and category.
524         (yank): Doc fix.
526         * subr.el (remove-yank-excluded-properties):
527         Obey yank-handled-properties.  The special handling of font-lock-face
528         and category is now done this way, instead of being hard-coded.
529         (insert-for-yank-1): Remove font-lock-face handling.
530         (yank-handle-font-lock-face-property)
531         (yank-handle-category-property): New function.
533 2012-08-17  Glenn Morris  <rgm@gnu.org>
535         * mail/rmailout.el (rmail-output-read-file-name):
536         Check rmail-output-file-alist against the full message body
537         in the correct rmail buffer.  (Bug#12214)
539 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
541         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
542         Eliminate superfluous prompt.  (Bug#12203)
544 2012-08-17  Chong Yidong  <cyd@gnu.org>
546         * mouse.el (mouse-appearance-menu): If x-select-font returns a
547         font spec, set the font directly (Bug#3228).
549 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
551         * window.el (delete-window): Fix last fix.
553 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
555         * window.el (window-valid-p): Move to window.c.
556         (window-child, window-child-count, window-last-child)
557         (window-normalize-window, window-combined-p)
558         (window-combinations, window-atom-root, window-min-size)
559         (window-sizable, window-sizable-p, window-size-fixed-p)
560         (window-min-delta, window-max-delta, window--resizable)
561         (window--resizable-p, window-resizable, window-total-size)
562         (window-full-height-p, window-full-width-p, window-body-size)
563         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
564         (minimize-window, window-deletable-p, delete-window)
565         (delete-other-windows, set-window-buffer-start-and-point)
566         (next-buffer, previous-buffer, split-window, balance-windows-2)
567         (set-window-text-height, window-buffer-height)
568         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
569         (truncated-partial-width-window-p): Minor code adjustments.
570         In doc-strings state whether the argument window has to denote a
571         live, valid or any window.
573 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
575         * progmodes/subword.el (subword-forward-function)
576         (subword-backward-function, subword-forward-regexp)
577         (subword-backward-regexp): New variables.
578         (subword-forward, subword-forward-internal, subword-backward-internal):
579         Use new variables, eg so that different "word" definitions
580         can be easily used.  (Bug#11411)
582 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
584         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
585         for composite selectors.
586         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
587         operation just because we can't find a previous revision.
589 2012-08-15  Chong Yidong  <cyd@gnu.org>
591         * frame.el (set-frame-font): Accept font objects.
593 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
595         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
597 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
599         * man.el (Man-overstrike-face, Man-underline-face)
600         (Man-reverse-face): Remove variables.
601         (Man-overstrike, Man-underline, Man-reverse): New faces.
602         (Man-fontify-manpage): Use them instead of the variables.
603         (Man-cleanup-manpage): Comment change.
604         (Man-ansi-color-map): New variable.
605         (Man-fontify-manpage): Use it.
606         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
608         Implement ANSI SGR parameters 22-27 (bug#12146).
609         * ansi-color.el (ansi-colors): Doc fix.
610         (ansi-color-context, ansi-color-context-region): Doc fix.
611         (ansi-color--find-face): New function.
612         (ansi-color-apply, ansi-color-apply-on-region): Use it.
613         Rename the local variable `face' to `codes' since it is now a list of
614         ansi codes.  Doc fix.
615         (ansi-color-get-face): Remove.
616         (ansi-color-parse-sequence): New function, derived from
617         ansi-color-get-face.
618         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
619         codes 22-27.
621 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
623         * subr.el (read-passwd): Allow use from a minibuffer.
625 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
627         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
628         inside comments and strings as identifiers.
630         * progmodes/gud.el (gud-tooltip-print-command): Quote the
631         expression to evaluate.  This allows to evaluate expressions with
632         embedded whitespace.
633         (gud-tooltip-tips): Add a blank before the newline in the
634         message-box text, for the benefit of message-box emulation on
635         MS-Windows.
637         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
638         messages from GDB, pop them up in a tooltip to give feedback to
639         user.
640         (gdb-tooltip-print-1): Quote the expression to evaluate.
641         This allows to evaluate expressions with embedded whitespace.
642         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
643         if the TTY name is nil or empty (which happens when communicating
644         with the inferior via pipes, e.g. on MS-Windows).
645         (gdb-internals): If GDB sends a "&\n" empty debugging message,
646         don't send that to the GUD buffer.
648 2012-08-14  Glenn Morris  <rgm@gnu.org>
650         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
651         Optimize away setq-default with no args, as for setq.  (Bug#12195)
653 2012-08-14  Chong Yidong  <cyd@gnu.org>
655         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
657         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
658         (Bug#12085).
660 2012-08-14  Glenn Morris  <rgm@gnu.org>
662         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
664 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
666         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
667         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
668         Use cached shell name.
670 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
672         * progmodes/python.el (python-shell-send-string):
673         (python-shell-send-setup-code): Do not use `format' with `message'.
675 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
677         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
678         (ruby-percent-literal-beg-re): New constant.
679         (ruby-syntax-general-delimiters-goto-beg): Rename to
680         `ruby-syntax-enclosing-percent-literal', improve literal type check.
681         (ruby-syntax-propertize-general-delimiters): Rename to
682         `ruby-syntax-propertize-percent-literal', it's a shorter and more
683         popular term.  Adjust comments everywhere.
684         (ruby-syntax-propertize-percent-literal): Only propertize when not
685         inside a simple string or comment.  When the literal is unclosed,
686         leave the text after it unpropertized.
687         (ruby-syntax-methods-before-regexp): New constant.
688         (ruby-syntax-propertize-function): Use it to recognize regexps.
689         Don't look at the text after regexp, just use the whitelist.
691 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
693         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
694         non-nil always load the compiled file if it exists.  (Bug#12197)
696 2012-08-14  Chong Yidong  <cyd@gnu.org>
698         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
699         (hi-lock-set-pattern): When deciding whether to use font lock or
700         overlays, look at font-lock-mode instead of font-lock-fontified
701         (Bug#12168).
702         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
703         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
705 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
707         * subr.el (internal--after-with-selected-window): Fix typo
708         (Bug#12193).
710 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
712         Use `completion-table-dynamic' for completion functions.
713         * progmodes/python.el
714         (python-shell-completion--do-completion-at-point)
715         (python-shell-completion--get-completions):
716         Remove functions.
717         (python-shell-completion-complete-at-point): New function.
718         (python-completion-complete-at-point): Use it.
720 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
722         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
723         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
725 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
727         * subr.el (function-get): Refine `autoload' arg so it can also
728         autoload functions for gv.el (bug#12191).
729         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
730         autoloads macros.
732         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
733         Prefer pcase-let over destructuring-bind.
734         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
735         Also, remove whitespace as we go, rather than after accumulating the
736         various places.
738         * subr.el (internal--before-with-selected-window)
739         (internal--after-with-selected-window): Fix typo seleted->selected.
740         (with-selected-window): Adjust callers.
741         Reported by Dmitry Gutov <dgutov@yandex.ru>.
743 2012-08-13  Bastien Guerry  <bzg@gnu.org>
745         * window.el (special-display-popup-frame): Minor docstring
746         enhancement.  (Bug#12172)
748 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
750         * tar-mode.el (tar-header-data-end): Only ignore size for files of
751         type 1-6.
752         (tar-header-block-summarize, tar-get-descriptor): Handle pax
753         extended headers.
755         * files.el (hack-local-variables-filter): Remove useless eval.
757 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
759         * subr.el (with-selected-window): Fix last change.
761 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
763         * subr.el (internal--before-with-seleted-window)
764         (internal--after-with-seleted-window): New functions.
765         (with-selected-window): Use them, to replace dependency on
766         tty-top-frame.
768 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
770         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
771         binding for `newline'.
772         (ruby-move-to-block): When moving backward, stop at block opening,
773         not indentation.
774         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
775         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
776         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
777         `ruby-toggle-block'.
779 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
781         * ibuffer.el (ibuffer-do-toggle-read-only):
782         * dired.el (dired-toggle-read-only):
783         * buff-menu.el (Buffer-menu-toggle-read-only):
784         * bindings.el (mode-line-toggle-read-only):
785         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
787 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
789         * descr-text.el (describe-char): Put the overlays over the
790         "displayed as" character.
792 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
794         * calc/calc-units.el (math-default-units-table): Give an
795         initial value.
796         (math-put-default-units): Add options to put composite units and
797         unit systems in the default units table.
798         (calc-convert-units): Send composite units to
799         `math-put-default-units' when appropriate.
801 2012-08-11  Glenn Morris  <rgm@gnu.org>
803         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
805         * tutorial.el (help-with-tutorial):
806         * emacs-lisp/copyright.el (copyright-update-directory):
807         * emacs-lisp/autoload.el (autoload-find-generated-file)
808         (autoload-find-file): Disable local eval: (for insurance).
810         * files.el (hack-local-variables-filter): If an eval: form is not
811         known to be safe, and enable-local-variables is :safe, then ignore
812         the form totally, as is done for non-eval forms.  (Bug#12155)
813         This is CVE-2012-3479.
815 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
817         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
818         (rx-form): Simplify.
820 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
822         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
823         ?, _, and : are symbol constituents, ! is not (but kinda should be).
824         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
825         (ruby-syntax-propertize-function): Adjust for changes in
826         `ruby-syntax-propertize-heredoc'.
828 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
830         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
831         binding (use `M-;' instead).
832         (ruby-singleton-class-p): New function.
833         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
835 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
837         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
839 2012-08-10  Chong Yidong  <cyd@gnu.org>
841         * progmodes/python.el (python-shell-get-process-name): Don't mess
842         with same-window-buffer-names.
844         * eshell/eshell.el (eshell-add-to-window-buffer-names)
845         (eshell-remove-from-window-buffer-names): Make obsolete.
846         (eshell-buffer-name, eshell-unload-hook): Don't use them.
847         (eshell): Just use pop-to-buffer-same-window instead.
849 2012-08-10  Chong Yidong  <cyd@gnu.org>
851         * bindings.el: Bind M-= back to count-words-region.
853         * simple.el (count-words-region): Accept a prefix arg for acting
854         on the entire buffer.
855         (count-words--buffer-message): New helper function.
857 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
859         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
860         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
861         (event-start, event-end): Use posn-at-point to return a more
862         informative posn.
863         (posnp): New function.
864         * mouse.el (popup-menu-normalize-position): Use it.
866 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
868         * mouse.el (popup-menu-normalize-position): New function.
869         (popup-menu): Use `popup-menu-normalize-position' to normalize
870         the form for POSITION argument.
872         * term/x-win.el (x-menu-bar-open):
873         Use the value returend from (posn-at-point) as position
874         passed to `popup-menu'.
876 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
878         * calc/calccomp.el (math-compose-expr): Add extra argument
879         indicating that parentheses should be put around products in
880         denominators.  Give multiplication precedence over division during
881         composition.
883 2012-08-09  Chong Yidong  <cyd@gnu.org>
885         * man.el (Man-switches, Man-sed-command, Man-awk-command)
886         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
887         (Man-untabify-command, manual-program): Convert to defcustom
888         (Bug#10429).
890         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
892         * descr-text.el (describe-char): Don't insert extra newlines
893         (Bug#10127).
895         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
896         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
898         * align.el (align-region): Delete temporary markers (Bug#10047).
899         Plus some code cleanups.
901 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
903         * progmodes/python.el (python-pdbtrack-tracked-buffer)
904         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
905         (python-shell-internal-last-output): Use make-local-variable
906         instead of make-variable-buffer-local.
908 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
910         * progmodes/python.el: Enhancements to forward-sexp.
911         (python-nav-forward-sexp): Rename from
912         python-nav-forward-sexp-function.
913         (python-nav--forward-sexp, python-nav--backward-sexp):
914         New functions.
916 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
918         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
919         modes and simplification modes.
921 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
923         * delsel.el (delete-selection-pre-hook): Don't propagate the
924         file-supersession signals (bug#12161).
926 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
928         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
929         (cl-map-extents): Add compatibility aliases (bug#12135).
931 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
933         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
934         tests by `ignore-error'.
935         (tramp-find-shell): Open also a new shell, when cache is already
936         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
938 2012-08-08  Juri Linkov  <juri@jurta.org>
940         * bookmark.el: Add `defaults' property to the bookmark record.
941         (bookmark-current-buffer): Doc fix.
942         (bookmark-make-record): Add `defaults' property with default values
943         to the bookmark record.
944         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
945         with `bookmark-insert-current-bookmark'.
946         (bookmark-set): Get `defaults' property from the bookmark record
947         and use it in `read-from-minibuffer'.
948         (bookmark-insert-current-bookmark): Remove function.
950         * info.el (Info-bookmark-make-record): Add `defaults' property
951         with values of canonical Info node name, the current Info file
952         name and the current Info node name.  (Bug#12107)
954 2012-08-08  Juri Linkov  <juri@jurta.org>
956         * files.el (basic-save-buffer): Use `buffer-name' as the default
957         of `read-file-name' when buffer is not visiting a file (bug#12128).
959 2012-08-08  Juri Linkov  <juri@jurta.org>
961         * info.el (Info-isearch-search): Doc fix.
962         (Info-search): Change search-failed message from "initial node" to
963         "end of node" (bug#12078).
964         (Info-isearch-search): Change `isearch-string-state' to
965         `isearch--state-string'.
967 2012-08-08  Glenn Morris  <rgm@gnu.org>
969         * language/persian.el: Remove file.
970         * language/misc-lang.el: Move unique part of persian.el here.
971         * loadup.el: Remove language/persian.
973 2012-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
975         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
977 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
979         * progmodes/python.el Fixed defsubst warning.
980         (python-syntax-context) Rename from python-info-ppss-context.
981         (python-syntax-context-type): Rename from
982         python-info-ppss-context-type.
983         (python-syntax-comment-or-string-p): Rename from
984         python-info-ppss-comment-or-string-p.
986 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
988         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
990 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
992         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
993         a defcustom that is quoted with backquote.
995         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
996         Fix handling of interactive spec when the body uses return.
997         (math-do-arg-check, math-define-function-body): Use backquote forms.
998         * calc/calc-ext.el (math-defcache): Likewise.
999         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1000         * allout.el (allout-new-exposure): Likewise.
1001         * calc/calcalg2.el (math-tracing-integral): Likewise.
1002         * info.el (Info-last-menu-item): Likewise.
1003         * emulation/vip.el (vip-loop): Likewise.
1004         * textmodes/artist.el (artist-funcall): Likewise.
1005         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1006         Construct menu-item directly.
1008         * progmodes/autoconf.el (font-lock-syntactic-keywords):
1009         Don't declare.
1011 2012-08-07  Chong Yidong  <cyd@gnu.org>
1013         * simple.el (deactivate-mark): Preserve text properties when
1014         saving the primary selection (Bug#8384).
1016 2012-08-07  Kevin Ryde  <user42@zip.com.au>
1018         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1019         (woman-parse-numeric-value): On a bad .IP line, issue a warning
1020         and continue processing (Bug#12110).
1022 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1024         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1025         syntax-propertize-function (bug#10095).
1027 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1029         * help-fns.el (help-fns--key-bindings, help-fns--signature)
1030         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1031         describe-function-1.
1032         (describe-function-1): Use them.  Move compiler macro after sig.
1033         (help-fns--compiler-macro): Use function-get.  Assume we're already in
1034         standard-output.  Adjust layout to new call order.
1036         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1037         re-binding a symbol that has a symbol-macro (bug#12119).
1039 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
1041         * language/persian.el: New file.  (Bug#11812)
1042         * loadup.el: Add language/persian.el.
1044 2012-08-06  Chong Yidong  <cyd@gnu.org>
1046         * window.el (window--maybe-raise-frame): New function.
1047         (window--display-buffer): Split off from here.
1048         (display-buffer-reuse-window, display-buffer-pop-up-frame)
1049         (display-buffer-pop-up-window, display-buffer-use-some-window):
1050         Obey an inhibit-switch-frame action alist entry.
1051         (display-buffer): Update doc.
1053         * replace.el (occur-after-change-function): Avoid losing focus by
1054         using the inhibit-switch-frame display parameter (Bug#12139).
1056 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
1058         Make internal shell process buffer names start with space.
1059         * progmodes/python.el (python-shell-make-comint): Add optional
1060         argument INTERNAL.
1061         (run-python-internal): Use it.
1062         (python-shell-internal-get-or-create-process): Check for new
1063         internal buffer names.
1065 2012-08-06  Glenn Morris  <rgm@gnu.org>
1067         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
1068         Do less getting and setting of environment variables.
1070 2012-08-05  Chong Yidong  <cyd@gnu.org>
1072         * proced.el (proced): Add substitution string to docstring to
1073         trigger autoloading of the proced library on C-h f (Bug#1768).
1075         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1076         Don't show defvars which have no second argument (Bug#8638).
1078         * imenu.el (imenu-generic-expression): Move documentation here
1079         from imenu--generic-function.
1080         (imenu--generic-function): Refer to imenu-generic-expression.
1082 2012-08-05  Vegard Ã˜ye  <vegard_oye@hotmail.com>  (tiny change)
1084         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1085         indentation declaration.
1086         (viper-loop): Add indentation declaration (Bug#7025).
1088 2012-08-05  Chong Yidong  <cyd@gnu.org>
1090         * help-fns.el (describe-variable): Add hyperlink for
1091         directory-local variables files.  Improve buffer-local and
1092         permanent-local reporting; suggested by MON KEY (Bug#6644).
1094         * help-mode.el (help-dir-local-var-def): New button type.
1096         * files.el (kill-buffer-hook): Provide a defvar.
1098 2012-08-05  Glenn Morris  <rgm@gnu.org>
1100         * eshell/esh-ext.el (eshell/addpath):
1101         Also update eshell-path-env.  (Bug#12013)
1103 2012-08-05  Chong Yidong  <cyd@gnu.org>
1105         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
1107         * fringe.el (fringe-styles): Add docstring.
1108         (fringe--check-mode): New function.
1109         (set-fringe-mode, set-fringe-style): Use it.
1110         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1112         * files.el (set-auto-mode): Fix invalid setq call.
1114 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1116         * isearch.el: Misc simplification; use defstruct.
1117         (isearch-mode-map): Dense maps now work like sparse ones.
1118         (isearch--state): New defstruct.
1119         (isearch-string-state, isearch-message-state, isearch-point-state)
1120         (isearch-success-state, isearch-forward-state)
1121         (isearch-other-end-state, isearch-word-state, isearch-error-state)
1122         (isearch-wrapped-state, isearch-barrier-state)
1123         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1124         replaced by defstruct's accessors.
1125         (isearch--set-state): Rename from isearch-top-state and change
1126         calling convention.
1127         (isearch-push-state): Use new isearch--get-state.
1128         (isearch-toggle-word): Disable regexp when enabling word.
1129         (isearch-message-prefix): Remove unused arg _c-q-hack.
1130         (isearch-message-suffix): Remove unused arg _ellipsis.
1132 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
1134         * simple.el (list-processes--refresh): For a server use :host or
1135         :local as the address.
1136         (list-processes): Doc fix.
1138 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>  (tiny change)
1140         * lisp/mpc.el: Support password in host argument.
1141         (mpc--proc-connect): Parse and use new password element.
1142         Set mpc-proc variable instead of returning process.
1143         (mpc-proc): Adjust accordingly.
1145 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
1147         * whitespace.el (whitespace-display-mappings): Use Unicode
1148         codepoints, instead of emacs-mule codepoints.  See
1149         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1150         for the details.
1152         * files.el (file-truename): Don't skip symlink-chasing part on
1153         windows-nt.  Incorporate the resolution of 8+3 short aliases on
1154         Windows into the loop that recursively chases symlinks.
1155         Compare directory and its parent case-insensitively on MS-Windows and
1156         MS-DOS.
1158 2012-08-03  Chong Yidong  <cyd@gnu.org>
1160         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1162         * sort.el (sort-regexp-fields): Doc fix.
1164 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
1166         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1167         labels regex position point at the expected place.
1169 2012-08-03  MON KEY  <monkey@sandpframing.com>
1171         * net/imap.el (imap-interactive-login, imap-authenticate)
1172         (imap-mailbox-lsub, imap-mailbox-list)
1173         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1174         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1175         (imap-parse-response): Doc fix.
1177 2012-08-03  João Távora  <joaotavora@gmail.com>
1179         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1180         if sexp scanning does not move point (Bug#5734).
1182 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
1184         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1185         Add listings, minted, and ctable packages.
1186         (reftex-label-alist-builtin): Move listings, minted, and ctable
1187         entries before LaTeX.
1188         (reftex-label-alist): Docfix.
1190 2012-08-02  Bastien Guerry  <bzg@gnu.org>
1192         * replace.el (occur): Fix docstring (bug#12122).
1194 2012-08-02  Glenn Morris  <rgm@gnu.org>
1196         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1198 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
1200         Obsolete alias inactivate-current-input-method-function (Bug#10150).
1201         * international/mule-cmds.el: Create
1202         inactivate-current-input-method-function as an obsolete alias for
1203         deactivate-current-input-method-function.  See Katsumi Yamaoka in
1204         <http://bugs.gnu.org/10150#46>.
1206 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
1208         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1209         of nested `if's.
1211 2012-08-01  Glenn Morris  <rgm@gnu.org>
1213         * progmodes/autoconf.el (autoconf-definition-regexp):
1214         Add AH_TEMPLATE, adjust submatch numbering.
1215         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1216         (autoconf-current-defun-function): Update for above change.
1217         (autoconf-current-defun-function): First skip to end of current word.
1219 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
1221         * calendar/cal-html.el (cal-html-insert-agenda-days):
1222         Fix typo.  (Bug#12018)
1224 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
1226         Shell processes: enhancements to startup and CEDET compatibility.
1227         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1228         (python-shell-make-comint): accept-process-output at startup.
1229         (run-python-internal): Set inferior-python-mode-hook to nil.
1230         (python-shell-internal-get-or-create-process): call sit-for.
1231         (python-preoutput-result): Add obsolete alias.
1232         (python-shell-internal-send-string): Use it.
1233         (python-shell-send-setup-code): Remove call to
1234         accept-process-output.
1236 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
1238         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1239         (Bug#12108)
1241 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
1243         * calc-mode.el (calc-basic-simplification-mode): Rename from
1244         `calc-limited-simplification-mode'.
1245         (calc-alg-simplification-mode): New function.
1246         (calc-set-simplify-mode):  Adjust message.
1248         * calc.el (calc-set-mode-line): Adjust mode line display for
1249         basic simplification mode.
1251         * calc-help.el (calc-m-prefix-help): Update help message.
1253         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1254         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1256 2012-07-31  Bastien Guerry  <bzg@gnu.org>
1258         * man.el (man): Fix comment.  (bug#12101)
1260 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
1262         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1263         Don't return a non-nil value when no suitable buffer was found.
1265 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
1267         * progmodes/python.el (run-python-internal): Disable font lock for
1268         internal shells.
1270 2012-07-30  Stefan Merten  <smerten@oekonux.de>
1272         * rst.el: Silence `checkdoc-ispell'.
1273         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1274         (rst-official-version, rst-official-cvs-rev)
1275         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1276         (rst-mode-map): New key binding.
1278 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
1280         Update .PHONY listings in makefiles.
1281         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1282         autoloads, update-subdirs, updates, bzr-update, update-authors,
1283         compile-onefile, compile-calc, backup-compiled-files,
1284         compile-after-backup, compile-one-process, mh-autoloads,
1285         bootstrap-clean, distclean, maintainer-clean.
1287 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
1289         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1290         (calc-set-mode-line): Don't display "AlgSimp ".
1292         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1293         (calc-lim-simplify-mode): New function.
1294         (calc-set-simplify-mode): Default to 'alg.
1295         (calc-default-simplify-mode): Make algebraic simplifications
1296         the default.
1298         * calc/calc-ext.el (calc-init-extensions): Remove binding for
1299         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
1301         * calc/calc-help.el (calc-m-prefix-help): Change messages to
1302         indicate new simplification modes.
1304         * calc/README: Mention new default simplification mode.
1306         * calc/calc.el (math-normalize-error): New variable.
1307         (math-normalize): Set `math-normalize-error' to t
1308         when there's an error.
1310         * calc/calc-alg.el (math-simplify): Don't simplify when
1311         `math-normalize' returns an error.
1313 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
1315         * international/mule-cmds.el (set-locale-environment): Revert last
1316         change, since display-graphic-p returns nil when this function is
1317         called during startup.  Instead...
1319         * term/w32console.el (terminal-init-w32console): ...setup the
1320         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
1322 2012-07-29  Juri Linkov  <juri@jurta.org>
1324         * simple.el (goto-line): Don't display default line number in the
1325         prompt because it should be displayed by `read-number' (bug#9952).
1326         Add the current line number to the defaults of `goto-line' to
1327         allow its easier modification by users with `M-n' (bug#9201).
1329         * subr.el (read-number): Support multiple default values like in
1330         other minibuffer reading functions.  Replace `read' with
1331         `string-to-number' for consistency with `number-to-string'.
1333 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
1335         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1336         * emulation/viper-init.el (viper-deactivate-input-method-action):
1337         Rename from viper-inactivate-input-method-action.
1338         (viper-deactivate-input-method):
1339         Rename from viper-inactivate-input-method.
1340         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1341         * international/mule-cmds.el (deactivate-input-method):
1342         Rename from inactivate-input-method.
1343         Also run input-method-deactivate-hook.
1344         (deactivate-current-input-method-function):
1345         Rename from inactivate-current-input-method-function.
1346         (input-method-deactivate-hook): New hook.
1347         (input-method-inactivate-hook): Mark obsolete.
1348         (inactivate-input-method): Mark obsolete.
1350         * international/quail.el (quail-activate):
1351         Also run quail-deactivate-hook.
1352         (quail-deactivate): Rename from quail-inactivate.
1353         * international/robin.el (robin-activate):
1354         Also run robin-deactivate-hook.
1355         (robin-deactivate): Rename from robin-inactivate.
1357 2012-07-29  Chong Yidong  <cyd@gnu.org>
1359         * simple.el (indicate-copied-region): New function.
1360         (kill-ring-save): Split off from here.
1362         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1363         (kill-rectangle): Set deactivate-mark to t on read-only error.
1365         * register.el (copy-to-register, copy-rectangle-to-register):
1366         Deactivate the mark, and use indicate-copied-region (Bug#10056).
1367         (append-to-register, prepend-to-register):
1368         Call 2012-07-29  Juri Linkov  <juri@jurta.org>
1370         * simple.el (async-shell-command-buffer): New defcustom.
1371         (shell-command): Use it.  (Bug#4719)
1373 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
1375         * international/mule-cmds.el (set-locale-environment): In a
1376         console session on MS-Windows, set up keyboard and terminal
1377         encoding from the OEM codepage, not the ANSI codepage.
1378         (Bug#12055)
1380 2012-07-28  Chong Yidong  <cyd@gnu.org>
1382         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1383         gdb-get-location.
1385 2012-07-28  Leo Liu  <sdl.web@gmail.com>
1387         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1388         the alist (bug#12029).
1390 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
1392         * makefile.w32-in (custom-deps, finder-data, updates, compile)
1393         (compile-always, compile-first)
1394         ($(lisp)/calendar/cal-loaddefs.el)
1395         ($(lisp)/calendar/diary-loaddefs.el)
1396         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1397         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1398         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1399         instead of on update-subdirs.
1400         (bootstrap-clean): Delete $(lisp)/subdirs.el.
1402 2012-07-28  Chong Yidong  <cyd@gnu.org>
1404         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1405         directory if vc-deduce-backend returns nil (Bug#7350).
1407         * simple.el (delete-trailing-lines): New option.
1408         (delete-trailing-whitespace): Obey it (Bug#11879).
1410 2012-07-28  David Engster  <deng@randomsample.de>
1412         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1413         Explanation of new 'symbol-qnames feature in doc-strings.
1414         (xml-maybe-do-ns): Return expanded names as plain symbols if
1415         'symbol-qnames was provided in XML-NS argument (Bug#11916).
1416         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1418 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
1420         Consistent completion in inferior python with emacs -nw.
1421         * progmodes/python.el (inferior-python-mode): replace "<tab>"
1422         binding in inferior-python-mode-map with "\t".
1423         (python-shell-completion-complete-at-point)
1424         (python-completion-complete-at-point): Remove interactive spec.
1426 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
1428         * calc/calccomp.el (math-compose-expr): Undo previous change.
1430 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
1432         * progmodes/python.el (python-mode-map): Add keybinding for
1433         run-python.
1434         (python-shell-make-comint): Fix pop-to-buffer call.
1435         (run-python): Autoload.  New arg SHOW.
1436         (python-shell-get-or-create-process): Do not pop python process
1437         buffer.
1439 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
1441         * notifications.el (notifications-on-action-signal)
1442         (notifications-on-closed-signal): Use also the bus address for the map.
1443         (notifications-notify, notifications-close-notification)
1444         (notifications-get-capabilities):  Add optional argument BUS.
1446 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
1448         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1449         Add support for the lstlisting and minted environments, and for the
1450         ctable macro.
1451         * textmodes/reftex.el (reftex-compile-variables): Also recognize
1452         labels written in keyvals syntax.
1454 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
1456         * calc/calccomp.el (math-compose-expr): Use parentheses when
1457         there is a product in the denominator of a fraction.
1459 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
1461         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1462         ($(lisp)/calendar/diary-loaddefs.el)
1463         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1464         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1465         Fixes failures in parallel bootstrap because subdirs.el is being
1466         rewritten while the autoload files are built at the same time,
1467         which needs to load subdirs.el.
1469 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
1471         * mouse.el (popup-menu): Fix doc-string and re-indent code.
1472         (mouse-drag-line): Don't exit tracking when a switch-frame or
1473         switch-window event occurs (Bug#12006).
1475 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1477         * mouse.el (popup-menu): Fix last change.
1479 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1481         Autoload from Lisp with more care.  Follow aliases when looking for
1482         function properties.
1483         * subr.el (autoloadp): New function.
1484         (symbol-file): Use it.
1485         (function-get): New function.
1486         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1487         autoload-do-load.
1488         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1489         (lisp-indent-function):
1490         * emacs-lisp/gv.el (gv-get):
1491         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1492         * emacs-lisp/byte-opt.el (byte-optimize-form):
1493         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1494         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1495         Use function-get.
1496         * emacs-lisp/cl.el: Don't propagate function properties any more.
1498         * speedbar.el (speedbar-add-localized-speedbar-support):
1499         * emacs-lisp/disass.el (disassemble-internal):
1500         * desktop.el (desktop-load-file):
1501         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1502         (describe-function-1):
1503         * emacs-lisp/find-func.el (find-function-noselect):
1504         * emacs-lisp/elp.el (elp-instrument-function):
1505         * emacs-lisp/advice.el (ad-has-proper-definition):
1506         * apropos.el (apropos-safe-documentation, apropos-macrop):
1507         * emacs-lisp/debug.el (debug-on-entry):
1508         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1509         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1510         * calc/calc.el (name): Use autoloadp & autoload-do-load.
1512 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
1514         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1515         function, not an obsolete variable (Bug#12046).
1517 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
1519         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
1521 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
1523         * emacs-lisp/pp.el (pp-display-expression): Select old selected
1524         window only if it is still live (Bug#12034).
1526 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
1528         * subr.el (redirect-frame-focus): Add advertised calling
1529         convention (Bug#12030).
1531 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
1533         Prefer typical American spelling for "acknowledgment".
1534         * vc/add-log.el (change-log-acknowledgment): Rename from
1535         change-log-acknowledgement, with an alias for the old name.
1537 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
1539         * calc-alg.el (math-simplify-divide): Don't cross multiply
1540         in an equation when the lhs is a variable.
1542 2012-07-24  Julien Danjou  <julien@danjou.info>
1544         * net/netrc.el (netrc-find-service-number, netrc-store-data):
1545         Remove, unused.
1547 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
1549         * startup.el (command-line): Don't display an empty user name in
1550         the error message about non-existent home directory, when
1551         init-file-user was set to an empty string.  See
1552         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1553         for the details and context.
1555 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1557         * ses.el (ses-cell-formula-aset): New macro.
1558         (ses-cell-references-aset): New macro.
1559         (ses-cell-p): New function.
1560         (ses-rename-cell): Do no longer rely on complex operations like
1561         ses-cell-set-formula or ses-set-cell to change the cell and handle
1562         the undo at the same time, but rather use lower level new macros
1563         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1564         the undo directly. Refresh the mode line.
1566 2012-07-21  Leo Liu  <sdl.web@gmail.com>
1568         * progmodes/cc-cmds.el (c-defun-name):
1569         Use match-string-no-properties instead for consistency.
1571 2012-07-20  Leo Liu  <sdl.web@gmail.com>
1573         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1574         (Bug#7879)
1576         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1578 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1580         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1581         * progmodes/bug-reference.el, misearch.el: Provide themselves
1582         (bug#11915).
1584         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1585         of narrowed buffer (bug#11966).
1587 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1589         * ses.el (ses-rename-cell): Set new name also in reference list of
1590         cells of which the renamed cell depends.
1592 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
1594         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1595         to check whether menu-bar is shown or not.  If not shown,
1596         show the menu-bar as a popup menu instead of using tmm.
1597         * mouse.el (popup-menu): Accept `point' as `position' argument.
1599 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
1601         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1602         up inside string symbol literal (bug#11923).
1604 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
1606         * startup.el (fancy-startup-text): Read the whole tutorial, not
1607         just its first 256 bytes.  Prevents gibberish in display of the
1608         tutorial title.
1610 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
1612         Drop idle buffer compaction due to an absence of the
1613         proved efficiency.
1614         * compact.el: Remove.
1616 2012-07-19  Sam Steingold  <sds@gnu.org>
1618         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1619         vc-bzr-pull & vc-bzr-merge-branch.
1620         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1621         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1622         for consistency with compilation-error-regexp-alist.
1623         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1624         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1625         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1626         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1628 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1630         * emacs-lisp/chart.el: Use lexical-binding.
1631         (chart-emacs-storage): Don't hardcode the list of entries.
1633 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
1635         Next round of tweaks caused by Fgarbage_collect changes.
1636         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1638 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
1640         Compact buffers when idle.
1641         * compact.el: New file.
1643 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1645         * subr.el (eventp): Presume that if it looks vaguely like an event,
1646         it's an event (bug#10190).
1648 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
1650         Enhancements to ppss related code (thanks Stefan).
1651         * progmodes/python.el (python-indent-context)
1652         (python-indent-calculate-indentation, python-indent-dedent-line)
1653         (python-indent-electric-colon, python-nav-forward-block)
1654         (python-mode-abbrev-table)
1655         (python-info-assignment-continuation-line-p): Simplify checks
1656         for ppss context.
1657         (python-info-continuation-line-p): Cleanup.
1658         (python-info-ppss-context): Do not catch 'quote.
1659         (python-info-ppss-context-type)
1660         (python-info-ppss-comment-or-string-p): Simplify.
1662 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
1664         * progmodes/python.el: Enhancements to eldoc support.
1665         (python-info-current-symbol): New function.
1666         (python-eldoc-at-point): Use python-info-current-symbol.
1667         (python-info-current-defun): Fix cornercase on first defun scan.
1668         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1669         and signal error when no inferior python process is available.
1671 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
1673         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1674         assume it's always t.
1675         (vc-git-registered): Remove caching, the function is only called
1676         once.
1677         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1679 2012-07-18  Chong Yidong  <cyd@gnu.org>
1681         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1683         * simple.el (count-words): Report on narrowing (Bug#9959).
1685         * bindings.el: Bind M-= to count-words.
1687         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1689 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
1691         * progmodes/sh-script.el (sh-imenu-generic-expression):
1692         Capture a function with `function' keyword and without parentheses
1693         like "function FOO" (bug#11856).
1695 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
1697         * window.el (split-window-sensibly): Make WINDOW argument
1698         optional.
1700 2012-07-18  Chong Yidong  <cyd@gnu.org>
1702         * subr.el (keyboard-translate): Doc fix (Bug#7261).
1704         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1705         and make C-x 8 RET exit isearch (Bug#11439).
1707         * international/iso-transl.el: Move isearch-mode-map key
1708         definitions to isearch.el.
1710 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1712         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1713         (eieio-defclass): Use gv-define-setter when possible.
1715 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
1717         Reflect recent changes in Fgarbage_collect.
1718         * emacs-lisp/chart.el (chart-emacs-storage): Change to
1719         reflect new format of data returned by Fgarbage_collect.
1721 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
1723         New utility functions + python-info-ppss-context fix (Bug#11910).
1724         * progmodes/python.el (python-info-beginning-of-block-statement-p)
1725         (python-info-ppss-comment-or-string-p): New functions.
1726         (python-info-ppss-context): Small fix for string check.
1728 2012-07-17  Juri Linkov  <juri@jurta.org>
1730         * dired-aux.el (dired-do-async-shell-command): Doc fix.
1731         (dired-do-async-shell-command): Don't add `*' at the end of the
1732         command (Bug#11815).
1733         (dired-do-shell-command): Doc fix.
1734         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1735         Join the individual commands using either "&" or ";" as the
1736         separator depending on the values of these trailing characters.
1737         At the end re-add the trailing "&".  (Bug#10598)
1739         * simple.el (async-shell-command): Sync the interactive spec with
1740         `shell-command'.  Doc fix.
1741         (shell-command): Doc fix.
1743 2012-07-17  Juri Linkov  <juri@jurta.org>
1745         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
1747 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
1749         Final renames and doc fixes for movement commands (bug#11899).
1750         * progmodes/python.el (python-nav-beginning-of-statement):
1751         Rename from python-nav-statement-start.
1752         (python-nav-end-of-statement): Rename from
1753         python-nav-statement-end.
1754         (python-nav-beginning-of-block): Rename from
1755         python-nav-block-start.
1756         (python-nav-end-of-block): Rename from python-nav-block-end.
1758 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
1760         * progmodes/python.el (python-shell-send-string-no-output):
1761         Allow accept-process-output to quit, keeping shell process ready for
1762         future interactions (Bug#11868).
1764 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1766         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1768         * emacs-lisp/elint.el (elint-find-args-in-code):
1769         Use help-function-arglist, so as to handle lexical byte-code.
1771         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1772         change (bug#11826).
1774 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1776         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1777         Avoid spuriously marking the buffer as modified because of c-is-sws.
1779         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1780         as not-a-comment (bug#11946).
1782         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1783         for uninterned vars.
1785         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1786         Use read-event since we don't really want to read chars but bytes.
1788         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1789         $$..$$ but also $..$ using regexps (bug#11953).
1790         Use tex-verbatim for \url and \path.
1791         (tex-font-lock-keywords): Define as defconst like the others.
1792         (tex-common-initialization): Don't use font-lock-syntax-table any more.
1794 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
1796         * international/mule-cmds.el (ucs-insert): Make it an obsolete
1797         alias for insert-char.
1799 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
1801         * progmodes/python.el: Simplified imenu implementation.
1802         (python-nav-jump-to-defun): Remove command.
1803         (python-mode-map): Use `imenu' instead.
1804         (python-nav-list-defun-positions-cache)
1805         (python-imenu-include-defun-type, python-imenu-make-tree)
1806         (python-imenu-subtree-root-label, python-imenu-index-alist):
1807         Remove vars.
1808         (python-nav-list-defun-positions, python-nav-read-defun)
1809         (python-imenu-tree-assoc, python-imenu-make-element-tree)
1810         (python-imenu-make-tree, python-imenu-create-index):
1811         Remove functions.
1812         (python-mode): Update to interact with imenu by setting
1813         `imenu-extract-index-name-function' only.
1815 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
1817         * progmodes/python.el: Enhancements to navigation commands.
1818         (python-nav-backward-sentence)
1819         (python-nav-forward-sentence): Remove.
1820         (python-nav-backward-statement, python-nav-forward-statement)
1821         (python-nav-statement-start, python-nav-statement-end)
1822         (python-nav-backward-block, python-nav-forward-block)
1823         (python-nav-block-start, python-nav-block-end)
1824         (python-nav-forward-sexp-function)
1825         (python-info-current-line-comment-p)
1826         (python-info-current-line-empty-p): New functions.
1827         (python-indent-context): Use `python-nav-statement-start'.
1829 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
1831         * eshell/em-ls.el (eshell/ls): Use `apply'.
1833         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1834         multi-hops, instead of Tramp internals.
1836         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1838         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1839         when F1 and F2 are located on different hosts.
1841 2012-07-14  Chong Yidong  <cyd@gnu.org>
1843         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1844         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1845         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1846         (xterm-mouse--read-event-sequence-1000)
1847         (xterm-mouse--read-event-sequence-1006): New functions.  For old
1848         mouse protocol, handle M-mouse-X events correctly.
1849         (xterm-mouse-event): New arg specifying mouse protocol.
1850         (turn-on-xterm-mouse-tracking-on-terminal)
1851         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
1852         sequence to toggle extended coordinates on newer XTerms.
1853         This appears to be harmless on terminals which do not support this.
1855 2012-07-14  Leo Liu  <sdl.web@gmail.com>
1857         Add fringe bitmap indicators for flymake.  (Bug#11253)
1858         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1859         (flymake-make-overlay): New arg BITMAP.
1860         (flymake-error-bitmap, flymake-warning-bitmap)
1861         (flymake-fringe-indicator-position): New user variables.
1863         * fringe.el: New bitmap exclamation-mark.
1865 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
1867         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1868         also (Bug#7879).
1870 2012-07-14  Chong Yidong  <cyd@gnu.org>
1872         * electric.el (electric-pair-post-self-insert-function): Fix pair
1873         insertion in empty-region case (Bug#11520).
1875 2012-07-14  Chong Yidong  <cyd@gnu.org>
1877         * bindings.el: Consolidate ctl-x-r-map bindings.
1878         Bind copy-rectangle-as-kill to C-x r w.
1880         * rect.el, register.el: Move bindings to bindings.el.
1882 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
1884         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1886 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1888         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
1890 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
1892         * bindings.el (top): Use `mapc' instead of `mapcar'.
1894         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1896 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
1898         * progmodes/sql.el (sql-comint): Suppress the check for program on
1899         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
1900         (Bug#11908)
1902 2012-07-13  Chong Yidong  <cyd@gnu.org>
1904         * bindings.el: Assign a non-nil permanent-local property to
1905         per-buffer variables which lack a default value (Bug#11930).
1907         * help-fns.el (describe-variable): In the "automatically becomes
1908         local" notice, take note of permanent-local variables.
1910 2012-07-13  Chong Yidong  <cyd@gnu.org>
1912         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
1913         to allow printing the message when called from Lisp.
1915         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1916         Remove toggle-read-only.
1918         * bs.el (bs-toggle-readonly):
1919         * buff-menu.el (Buffer-menu-toggle-read-only):
1920         Remove with-no-warnings around toggle-read-only.
1922         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1923         Remove with-no-warnings around toggle-read-only.
1924         (ffap-read-only, ffap-read-only-other-window)
1925         (ffap-read-only-other-frame): Callers changed.
1927         * help-mode.el: Don't require view package.
1928         (help-mode-finish): Set buffer-read-only instead of calling
1929         toggle-read-only.
1931         * bindings.el (mode-line-toggle-read-only):
1932         * dired.el (dired-toggle-read-only):
1933         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1934         with non-nil second arg.
1936         * emacs-lisp/eieio-custom.el (eieio-customize-object):
1937         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1938         directly.
1940 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
1942         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1943         not incf.
1945 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1947         More CL cleanups and reduction of use of cl.el.
1948         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1949         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1950         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1951         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1952         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1953         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1954         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1955         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1956         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1957         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1958         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1959         * eshell/em-cmpl.el, eshell/em-banner.el:
1960         * calendar/parse-time.el: Use cl-lib.
1961         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1962         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1963         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1964         * term/ns-win.el, term.el, shell.el, ps-samp.el:
1965         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1966         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1967         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1968         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1969         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1970         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1971         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1972         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1973         `lambda' rather than with `quote'.
1974         (eshell-do-opt): Adjust accordingly.
1975         (eshell-process-option): Simplify.
1976         * eshell/esh-var.el:
1977         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1978         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1979         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1980         to `pcase--dontcare'.
1981         * emacs-lisp/cl.el (labels): Mark obsolete.
1982         (cl--letf, letf): Move to cl-lib.
1983         (cl--letf*, letf*): Remove.
1984         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1985         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1986         (cl-progv): Rewrite.
1987         (cl--letf, cl-letf): Move from cl.el.
1988         (cl-letf*): New macro.
1989         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1991 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
1993         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1995 2012-07-11  Chong Yidong  <cyd@gnu.org>
1997         * vc/log-edit.el (log-edit-vc-backend): New variable.
1998         (log-edit): Doc fix.
2000         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
2001         argument of log-edit to set up all local variables.
2002         (vc-start-logentry): New optional arg specifying VC backend.
2004         * vc/vc.el (vc-checkin): Use it.
2005         (vc-deduce-fileset): Handle Log Edit buffers.
2006         (vc-diff): Make first argument optional too.
2008         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2010 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
2012         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2013         command, just in case.  The function is not needed anymore.
2014         (eshell-external-command): Do not call `eshell-remote-command'.
2016 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2018         Reduce use of (require 'cl).
2019         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2020         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2021         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2022         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2023         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2024         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2025         * battery.el, avoid.el, abbrev.el: Use cl-lib.
2026         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2027         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2028         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2029         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2030         * calculator.el, autorevert.el, apropos.el: Don't require CL.
2031         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2032         (byte-compile-unfold-bcf, byte-compile-check-variable):
2033         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2034         (byte-compile-nilconstp):
2035         * emacs-lisp/autoload.el (make-autoload): Use pcase.
2036         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2038         * emacs-lisp/gv.el (cond): Make it a valid place.
2039         (if): Simplify slightly.
2041         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2042         (pcase--self-quoting-p): New function.
2043         (pcase--u1): Use it.
2045 2012-07-10  Glenn Morris  <rgm@gnu.org>
2047         * emacs-lisp/authors.el (authors-fixed-entries):
2048         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2050 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
2052         Rename configure.in to configure.ac (Bug#11603).
2053         * emacs-lisp/authors.el (authors-canonical-file-name):
2054         * progmodes/autoconf.el (autoconf-mode):
2055         Prefer configure.ac to configure.in.
2057 2012-07-08  Chong Yidong  <cyd@gnu.org>
2059         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2060         Implement the mouse-1-click-follows-link handling properly.
2062         * info.el (Info-link-keymap): Use follow-link mechanism for
2063         header-line links (Bug#374).
2065         * simple.el (deactivate-mark): Do not set the primary selection
2066         if another program has acquired it (Bug#11772).
2068 2012-07-07  Kevin Ryde  <user42@zip.com.au>
2070         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2071         (woman-decode-region): Replace escaped-escapes without destroying
2072         bold or underline (Bug#11552).
2073         (woman2-process-escapes): Handle nofill regions (Bug#11591).
2075 2012-07-07  Chong Yidong  <cyd@gnu.org>
2077         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
2078         (interprogram-cut-function, interprogram-paste-function):
2079         Mention that we typically mean the clipboard.
2081 2012-07-06  Glenn Morris  <rgm@gnu.org>
2083         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
2085         * files.el (toggle-read-only): Restrict message to interactive use.
2087 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
2089         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2091         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2093 2012-07-06  Glenn Morris  <rgm@gnu.org>
2095         * Makefile.in (compile-one-process): Rename from "recompile".
2097         * Makefile.in (bzr-update): "compile" is the same as "recompile
2098         autoloads", but parallelizable, so use that instead.
2100 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
2102         * window.el (quit-window): Always restore window height when
2103         it's saved in quit-restore parameter (Bug#11810).
2105 2012-07-06  Glenn Morris  <rgm@gnu.org>
2107         * simple.el (kill-whole-line): Doc tweak.
2109 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
2111         * files.el (file-relative-name): Compare file names
2112         case-insensitively if on MS-Windows or MS-DOS, or if
2113         read-file-name-completion-ignore-case is non-nil.  Don't use
2114         case-fold-search for this purpose.  (Bug#11827)
2116 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
2118         * calendar/cal-dst.el (calendar-current-time-zone):
2119         Return calendar-current-time-zone-cache if non-nil.
2121 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
2122 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
2124         * calendar/cal-dst.el (calendar-current-time-zone):
2125         Return calendar-current-time-zone-cache if non-nil.
2127 2012-07-06  Glenn Morris  <rgm@gnu.org>
2129         * Makefile.in (cvs-update): Remove old alias.
2131 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
2133         Sync with Tramp 2.2.6-pre.
2135         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2136         compatible declaration.
2138         * net/tramp-cmds.el (tramp-append-tramp-buffers):
2139         Protect `list-load-path-shadows' call.
2141         * net/tramp-compat.el (top): Require packages, which aren't
2142         autoloaded anymore for XEmacs.  Protect call of
2143         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2144         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
2145         it hurts at least for SXEmacs.
2146         (tramp-compat-temporary-file-directory): In XEmacs, there is no
2147         standard-value for `temporary-file-directory'.
2149         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2150         Redirect stderr to /dev/null.
2151         (tramp-sh-handle-write-region): uid and gid can be floats.
2152         Reported by Russell Sim <russell.sim@gmail.com>.
2153         (tramp-sh-handle-vc-registered): Hide errors.
2154         (tramp-vc-file-name-handler): Use dummy results for `process-file'
2155         and `start-file-process'.
2156         (tramp-maybe-open-connection): Check also whether `non-essential'
2157         is bound.
2159 2012-07-04  Chong Yidong  <cyd@gnu.org>
2161         * xml.el (xml--parse-buffer): Use xml-syntax-table.
2162         (xml-parse-tag): Likewise, and avoid changing entity tables.
2163         (xml-syntax-table): Define from scratch, making sure not to give
2164         x2000 and other Unicode spaces whitespace syntax, since those are
2165         not spaces in XML.
2166         (xml-parse-fragment): Delete unused function.
2167         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2168         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2169         (xml-entity-ref, xml-pe-reference-re)
2170         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2171         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2172         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2173         (xml-entity-value-re): Use syntax references in regexps where
2174         possible; no need to define inside a let-binding.
2175         (xml-parse-dtd): Use xml-pe-reference-re.
2176         (xml-entity-or-char-ref-re): New defconst.
2177         (xml-parse-string, xml-substitute-special): Use it.
2179 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2181         * files.el (locate-dominating-file): Allow `name' to be a predicate.
2182         (find-file--read-only): New function.
2183         (find-file-read-only, find-file-read-only-other-window)
2184         (find-file-read-only-other-frame): Use it.
2185         (insert-file-contents-literally): Don't `fset'.
2186         (get-free-disk-space): Use locate-dominating-file.
2188         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2189         function is already compiled.
2191         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
2193 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
2195         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2196         files on the same host.
2198 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
2200         * help-fns.el (describe-function-1): Only call
2201         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
2203 2012-07-03  Chong Yidong  <cyd@gnu.org>
2205         * xml.el: Protect parser against XML bombs.
2206         (xml-entity-expansion-limit): New variable.
2207         (xml-parse-string, xml-substitute-special): Use it.
2208         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2210 2012-07-03  Glenn Morris  <rgm@gnu.org>
2212         * progmodes/bug-reference.el (bug-reference-bug-regexp):
2213         Allow linking to specific messages in debbugs reports (eg 123#5).
2215 2012-07-02  Chong Yidong  <cyd@gnu.org>
2217         * xml.el: Fix entity and character reference expansion, allowing
2218         them to expand into markup as per XML spec.
2219         (xml-default-ns): New variable.
2220         (xml-entity-alist): Use XML spec definitions for lt and amp.
2221         (xml-parse-region): Make first two arguments optional.
2222         Discard text properties.
2223         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2224         All callers changed.
2225         (xml-parse-tag): Call xml-parse-tag-1.  For backward
2226         compatibility, this function should not modify buffer contents.
2227         (xml-parse-tag-1): Fix opening-tag regexp.
2228         (xml-parse-string): Rewrite, handling entity and character
2229         references properly.
2230         (xml--entity-replacement-text): Signal an error if a parameter
2231         entity is undefined.
2233 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2235         * comint.el (comint-output-filter): Filter out repeated prompts.
2237         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2238         and file-name-absolute-p.
2239         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2240         internal calls.
2242 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
2244         Spelling fixes.
2245         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2246         Rename from byte-compile--refiy-function.  All uses changed.
2248 2012-07-01  Chong Yidong  <cyd@gnu.org>
2250         * xml.el (xml--parse-buffer): New function.  Move most of
2251         xml-parse-region here.
2252         (xml-parse-region): Copy region into a temporary buffer, since
2253         parameter entity substitution requires changing buffer contents.
2254         Use xml--parse-buffer.
2255         (xml-parse-file): Use xml--parse-buffer.
2256         (xml-parse-dtd): Make parameter entity substitution work right.
2257         Use proper regexps for ELEMENT declarations (Bug#7172).
2259 2012-06-30  Glenn Morris  <rgm@gnu.org>
2261         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2263         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2264         Remove outdated and unnecessary dbus declarations.
2266 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
2268         * emacs-lisp/timer.el (timer-until): Subtract results of
2269         float-time, instead of taking float-time of the result of
2270         time-subtract, since float-time signals an error for negative time
2271         arguments.
2273 2012-06-30  Chong Yidong  <cyd@gnu.org>
2275         * xml.el (xml-*-re): Convert defvars into defconsts, and
2276         eval-and-compile them so eval-and-compile works on derivatives.
2277         (xml--entity-replacement-text): Use eval-and-comple.
2279 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
2281         * vc/vc-git.el (vc-git-registered): Use cache property
2282         `git-registered'.
2283         (vc-git-mode-line-string): Call `vc-working-revision' instead of
2284         `vc-git-working-revision' in order to benefit from the cache.
2285         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
2287 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
2289         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2290         removed (likely outside Emacs).  (Bug#11757)
2292 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2294         * emacs-lisp/cl-lib.el: Require macroexp.
2296 2012-06-30  Chong Yidong  <cyd@gnu.org>
2298         * xml.el: Implement XML parameter entities.
2299         (xml-parameter-entity-alist): New variable.
2300         (xml-parse-region, xml-parse-fragment): Preserve previous values
2301         of xml-entity-alist and xml-parameter-entity-alist, so that
2302         repeated calls on different documents do not change them.
2303         (xml-parse-tag): Fix doctype regexp.
2304         (xml--entity-replacement-text): New function.
2305         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
2306         properly requires url retrieval which is unimplemented.
2307         (xml-escape-string): Doc fix.
2309 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2311         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2313 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
2315         * fringe.el (fringe-mode): Doc fix.
2317 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
2319         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2320         is non-nil.
2321         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2322         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
2324 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
2326         * calendar/cal-dst.el (calendar-current-time-zone):
2327         Return calendar-current-time-zone-cache if non-nil.
2329 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
2331         * progmodes/which-func.el (which-func-format):
2332         Add mouse-face.  (Bug#11698)
2334 2012-06-29  Leo Liu  <sdl.web@gmail.com>
2336         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2338 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2340         * minibuffer.el (minibuffer-confirm-exit-commands):
2341         Add completion-at-point (bug#11725).
2343 2012-06-29  Glenn Morris  <rgm@gnu.org>
2345         * progmodes/f90.el (f90-font-lock-keywords-2):
2346         Add some preprocessor elements.  (Bug#10499)
2348 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2350         * progmodes/cperl-mode.el (cperl-update-syntaxification):
2351         Use syntax-propertize (bug#11739).
2353 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
2355         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2357 2012-06-28  Julien Danjou  <julien@danjou.info>
2359         * term.el (term-handle-colors-array): Use a set of new faces to
2360         color the terminal.  Also uses :inverse-video property.
2361         (term-default-fg-color): Set to nil by default, deprecate in favor
2362         of `term-face'.
2363         (term-default-bg-color): Set to nil by default, deprecate in favor
2364         of `term-face'.
2365         (term-current-face): Use `term-face' by default.
2366         (term-bold-attribute): Variable deleted.
2368 2012-06-28  Glenn Morris  <rgm@gnu.org>
2370         * simple.el (completion-list-mode-finish):
2371         Don't use toggle-read-only.  (Since completion-list-mode has
2372         a special mode-class, it wasn't doing anything extra anyway.)
2374 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2376         Make inlining of other-mode interpreted functions work (bug#11799).
2377         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2378         (byte-compile): Use it to fix compilation of lexical-binding closures.
2379         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2380         function, if needed.
2382 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2384         * help-mode.el (help-make-xrefs): Don't just withstand
2385         cyclic-variable-indirection but any error in documentation-property.
2387         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2388         memory use.
2389         * bindings.el (bindings--define-key): New function.
2390         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2391         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2392         * bindings.el: Use it to purecopy define-key bindings.
2394         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2396         * emacs-lisp/cl.el (flet): Mark obsolete.
2397         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2398         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2399         * progmodes/js.el (js-c-fill-paragraph):
2400         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2401         (ebrowse-switch-member-buffer-to-derived-class):
2402         * play/5x5.el (5x5-solver): Use cl-flet.
2404         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
2405         (cl--symbol-function): New macro.
2406         (cl--letf, cl--letf*): Use it.
2408         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2409         Strip "toggle-" if any.
2411 2012-06-27  Glenn Morris  <rgm@gnu.org>
2413         * info.el (Info-default-directory-list): Move here from paths.el.
2414         * paths.el: Remove file, which is now empty.
2415         * loadup.el: No longer load "paths".
2417         * custom.el (custom-initialize-delay): Doc fix.
2419         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2420         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2421         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2422         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2423         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2424         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2425         * eshell/eshell.el (eshell-defgroup): Remove alias.
2427 2012-06-27  Chong Yidong  <cyd@gnu.org>
2429         * help.el (help-enable-auto-load): New variable.
2431         * help-fns.el (help-fns--autoloaded-p): New function.
2432         (describe-function-1): Refer to a function as "autoloaded" if it
2433         was autoloaded at any time in the past.  Perform autoloading if
2434         help-enable-auto-load is non-nil.
2436 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
2438         * makefile.w32-in (compile, compile-always): Depend on
2439         update-subdirs, not on subdirs.el.  Otherwise, several different
2440         sub-targets of 'bootstrap' running in parallel could
2441         simultaneously write to subdirs.el, producing a garbled file.
2443 2012-06-26  Sam Steingold  <sds@gnu.org>
2445         * files.el (file-name-base): New convenience function.
2446         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2447         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2448         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2449         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2450         * textmodes/ispell.el, textmodes/reftex-ref.el:
2451         * textmodes/tex-mode.el: Use it.
2452         Did not touch cedet and org because they are maintained elsewhere.
2454 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
2456         * calendar/calendar.el (calendar-exit): Don't try to delete or
2457         iconify last frame.  See:
2458         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2460 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
2462         * server.el (server-process-filter): Remember dir in the
2463         process's `server-client-directory' properties.
2465 2012-06-24  Chong Yidong  <cyd@gnu.org>
2467         * xml.el (xml-parse-tag): Correctly handle comment embedded in
2468         non-tag text.
2470 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
2472         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2474 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2476         * help-fns.el (describe-variable): Don't croak when doc is not found.
2477         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2478         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2479         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2480         * emacs-lisp/smie.el (smie-next-sexp): CSE.
2481         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2482         ((lambda ..) ..).
2483         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2485 2012-06-23  Chong Yidong  <cyd@gnu.org>
2487         * info.el (Info-mouse-follow-link): Accept symbol values of
2488         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
2489         (Info-fontify-node): Use Info-link-keymap for all navigation
2490         buttons, with link-args property to perform the desired action.
2491         (Info-link-keymap): Doc fix.
2492         (Info-next-link-keymap, Info-prev-link-keymap)
2493         (Info-up-link-keymap): Delete now-unused keymaps.
2495 2012-06-23  Chong Yidong  <cyd@gnu.org>
2497         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2499         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2500         system abbrevs.
2502         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2504 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2506         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2507         (bug#11719).
2509         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2510         the requote function doesn't work properly (bug#11714).
2512 2012-06-23  Glenn Morris  <rgm@gnu.org>
2514         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2516 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2518         Further GV/CL cleanups.
2519         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2520         gv-expander.
2521         (gv--defun-declaration): New function.
2522         (defun-declarations-alist): Use it.
2523         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2524         (gv-place): Autoload.
2525         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2526         original definition of dotimes and dolist.
2527         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2528         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2529         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2530         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2531         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2532         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2533         to the function's definition.
2534         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2535         * window.el:
2536         * files.el:
2537         * faces.el:
2538         * env.el: Don't use CL.
2540 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
2542         Support higher-resolution time stamps (Bug#9000).
2544         * calendar/time-date.el (with-decoded-time-value): New arg
2545         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
2546         (encode-time-value): New optional arg PICO.  New type 3.
2547         (time-to-seconds) [!float-time]: Support the new picoseconds
2548         component if it's used.
2549         (seconds-to-time, time-subtract, time-add):
2550         Support ps-resolution time stamps as well.
2552         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
2553         (timerp): Timer vectors now have length 9, not 8.
2554         (timer--time): Support new-style (4-part) time stamps.
2555         (timer-next-integral-multiple-of-time): Time stamps now have
2556         picosecond resolution, so take a bit more care about rounding.
2557         (timer-relative-time, timer-inc-time): New optional arg psecs.
2558         (timer-set-time-with-usecs): Set psecs to 0.
2559         (timer--activate): Check psecs component, too.
2561         * proced.el (proced-time-lessp): Support ps-resolution stamps.
2563 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2565         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2566         Move the non-essential binding to the post/pre-command-hook where it is
2567         more obviously correct.
2569         * subr.el (read-passwd): Don't use a history at all.
2570         * savehist.el (savehist-save): Remove password saved accidentally
2571         because of the above bug.
2573 2012-06-22  Bastien Guerry  <bzg@gnu.org>
2575         * files.el (toggle-read-only): Display a message telling whether
2576         the buffer is read-only or not (bug#11726).
2578 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2580         * emacs-lisp/gv.el: New file.
2581         * subr.el (push, pop): Extend to generalized variables.
2582         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2583         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2584         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
2585         gv-define-simple-setter, and gv-define-expander.
2586         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
2587         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2588         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2589         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2590         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2591         gv-letplace.
2592         (cl-defstruct): Don't define setf-method any more.
2593         * emacs-lisp/cl.el (flet): Don't autoload.
2594         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2595         (define-setf-expander, defsetf, define-modify-macro)
2596         (cl-struct-setf-expander): Move from cl-lib.el.
2597         * emacs-lisp/syntax.el:
2598         * emacs-lisp/ewoc.el:
2599         * emacs-lisp/smie.el:
2600         * emacs-lisp/cconv.el:
2601         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2602         (timer--time): Use gv-define-simple-setter.
2603         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2604         to avoid coding-system problems in subr.el.  Adjust all users.
2605         (macroexp--maxsize, macroexp-small-p): New functions.
2606         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2607         * scroll-bar.el (scroll-bar-mode):
2608         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2609         (normal-erase-is-backspace-mode): Don't use the `eq' place.
2610         * winner.el (winner-configuration, winner-make-point-alist)
2611         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2612         * files.el (locate-file-completion-table): Avoid list*.
2614 2012-06-22  Chong Yidong  <cyd@gnu.org>
2616         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2617         (dired-create-files): Doc fix (Bug#11329).
2618         (dired-do-copy): Doc fix (Bug#11334).
2619         (dired-mark-read-string): Doc fix (Bug#11553).
2621         * dired.el (dired-recursive-copies, dired-recursive-deletes):
2622         Doc fix (Bug#11326).
2623         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
2624         (dired-dwim-target): Doc fix.
2626         * wdired.el (wdired-mode): Doc fix.
2628 2012-06-22  Glenn Morris  <rgm@gnu.org>
2630         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2631         (pcmpl-rpm-cache-stamp-file): New constant.
2632         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2633         (pcmpl-rpm-packages): Optionally cache list of packages.
2635         * pcmpl-rpm.el (pcmpl-rpm): New group.
2636         (pcmpl-rpm-query-options): New option.
2637         (pcmpl-rpm-packages): No need to inline it.
2638         Use pcmpl-rpm-query-options.
2640         * calendar/calendar.el (calendar-in-read-only-buffer):
2641         Avoid some needless mode changes.
2643 2012-06-21  Chong Yidong  <cyd@gnu.org>
2645         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2646         (desktop-path): Remove . from the default value (Bug#10977).
2647         (desktop-read): Use user-emacs-directory if desktop-path is nil.
2649 2012-06-20  Chong Yidong  <cyd@gnu.org>
2651         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2653 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
2655         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2656         (bug#11201).
2658 2012-06-20  Chong Yidong  <cyd@gnu.org>
2660         * term.el (term-window-width): Handle the case of a missing right
2661         fringe (Bug#8837).
2662         (term-check-size): Use window-text-height (Bug#5445).
2663         (term-mode): Use define-derived-mode.  Minor cleanups.
2664         Set font-lock-defaults (Bug#7692).
2665         (term-move-columns, term-insert-char, term-emulate-terminal)
2666         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
2668 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
2670         * net/ange-ftp.el (ange-ftp-get-passwd):
2671         Bind `enable-recursive-minibuffers'.
2672         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2674 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
2676         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2678 2012-06-19  Glenn Morris  <rgm@gnu.org>
2680         * progmodes/python.el (python-mode): Derive from prog-mode.
2682 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2684         * emulation/edt.el (edt-default-menu-bar-update-buffers)
2685         (edt-user-menu-bar-update-buffers): New functions.
2686         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2688 2012-06-19  Chong Yidong  <cyd@gnu.org>
2690         * subr.el (with-selected-window): Preserve the selected window's
2691         terminal's top-frame (Bug#4702).
2693         * window.el (save-selected-window): Likewise.
2695 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2697         * progmodes/python.el (python-rx-constituents): Move backquote.
2698         (python-skeleton-define, python-define-auxiliary-skeleton):
2699         Use `declare'.
2701 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
2703         * minibuffer.el (read-file-name-default): Revert the patch from
2704         2012-06-17.
2706 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2708         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2709         (pcase--u1, pcase--q1): Don't use apply-partially.
2711 2012-06-18  Glenn Morris  <rgm@gnu.org>
2713         * progmodes/python.el (python-proc, python-buffer)
2714         (python-send-receive, python-send-string): Fix obsolete versions.
2716 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
2718         * window.el (special-display-p): Completely remove stringp
2719         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2721 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
2723         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2725         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2727         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2728         * net/tramp-sh.el (tramp-maybe-open-connection):
2729         Throw if `non-essential' is non-nil.
2731 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
2733         * window.el (special-display-p): Signal an error if BUFFER-NAME
2734         is not a string (Bug#11713).
2736 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
2738         * progmodes/python.el (python-info-beginning-of-backslash):
2739         Rename from python-info-beginning-of-backlash, as a spelling fix.
2741 2012-06-17  Chong Yidong  <cyd@gnu.org>
2743         * term.el (term-emulate-terminal): If term-check-size is called,
2744         move point to the process mark without resetting point (Bug#4635).
2746 2012-06-17  Glenn Morris  <rgm@gnu.org>
2748         * international/mule-cmds.el (mule-menu-keymap)
2749         (set-language-environment, set-locale-environment): Doc tweaks.
2751 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
2753         * cus-face.el (custom-face-attributes): Add wave-style underline
2754         attribute.
2755         * faces.el (set-face-attribute): Update docstring to describe
2756         wave-style underline attribute.
2758 2012-06-16  Chong Yidong  <cyd@gnu.org>
2760         * term/xterm.el (terminal-init-xterm): Discard input before
2761         querying background mode (Bug#10959).
2763 2012-06-16  Stefan Merten  <smerten@oekonux.de>
2765         * textmodes/rst.el: Added and corrected some comments.
2766         (rst-re-alist-def): Improve symbol syntax.
2767         (rst-mode-syntax-table): Correct syntax entries.
2768         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2769         (rst-official-version, rst-official-cvs-rev): Update version
2770         information.
2772 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
2774         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2775         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2777 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
2779         * progmodes/python.el: New python.el merge.
2780         (python-guess-indent): Obsolete var.
2781         (python-indent-guess-indent-offset): New defcustom.
2782         (python-indent): Obsolete var.
2783         (python-indent-offset): New defcustom.
2784         (python-python-command, python-jython-command): Delete var.
2785         (python-shell-interpreter): New defcustom.
2786         (python-pdbtrack-do-tracking-p): Delete var.
2787         (python-pdbtrack-activate): New defcustom.
2788         (python-use-skeletons): Obsolete var.
2789         (python-skeleton-autoinsert): New defcustom.
2790         (inferior-python-filter-regexp, python-continuation-offset)
2791         (python-honour-comment-indentation, python-indent-string-contents)
2792         (python-jython-packages, python-mode-hook)
2793         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2794         (python-shell-prompt-alist)
2795         (python-source-modes): Delete defcustoms.
2796         (python-check-buffer-name, python-eldoc-setup-code)
2797         (python-eldoc-string-code, python-ffap-setup-code)
2798         (python-ffap-string-code, python-fill-comment-function)
2799         (python-fill-decorator-function, python-fill-paren-function)
2800         (python-fill-string-function, python-imenu-include-defun-type)
2801         (python-imenu-make-tree, python-imenu-subtree-root-label)
2802         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2803         (python-shell-compilation-regexp-alist)
2804         (python-shell-completion-module-string-code)
2805         (python-shell-completion-pdb-string-code)
2806         (python-shell-completion-setup-code)
2807         (python-shell-completion-string-code)
2808         (python-shell-enable-font-lock, python-shell-exec-path)
2809         (python-shell-extra-pythonpaths)
2810         (python-shell-internal-buffer-name, python-shell-interpreter-args)
2811         (python-shell-process-environment)
2812         (python-shell-prompt-block-regexp)
2813         (python-shell-prompt-output-regexp)
2814         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2815         (python-shell-send-setup-max-wait, python-shell-setup-codes)
2816         (python-shell-virtualenv-path): New defcustoms.
2817         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2818         (inferior-python-mode-syntax-table, python--prompt-regexp)
2819         (python-buffer, python-command python-python-command)
2820         (python-default-template, python-imports, python-indent-index)
2821         (python-indent-list, python-indent-list-length)
2822         (python-mode-running, python-pdbtrack-is-tracking-p)
2823         (python-preoutput-continuation, python-preoutput-leftover)
2824         (python-preoutput-result, python-preoutput-skip-next-prompt)
2825         (python-prev-dir/file, python-recursing)
2826         (python-saved-check-command, python-version-checked)
2827         (python-which-func-length-limit)
2828         (view-return-to-alist): Delete vars.
2829         (python-check-custom-command, python-dotty-syntax-table)
2830         (python-imenu-index-alist, python-indent-current-level)
2831         (python-indent-dedenters, python-indent-levels)
2832         (python-nav-beginning-of-defun-regexp)
2833         (python-nav-list-defun-positions-cache)
2834         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2835         (python-shell-internal-buffer)
2836         (python-skeleton-available): New vars.
2837         (def-python-skeleton): Delete macro.
2838         (python-skeleton-define): New macro.
2839         (python-define-auxiliary-skeleton, python-rx): New macros.
2840         (python-insert-class): Delete command.
2841         (python-skeleton-class): New command.
2842         (python-insert-def): Delete command.
2843         (python-skeleton-def): New command.
2844         (python-insert-for): Delete command.
2845         (python-skeleton-for): New command.
2846         (python-insert-if): Delete command.
2847         (python-skeleton-if): New command.
2848         (python-insert-try/except, python-insert-try/finally): Delete commands.
2849         (python-skeleton-try): New command.
2850         (python-insert-while): Delete command.
2851         (python-skeleton-while): New command.
2852         (python-backspace): Delete command.
2853         (python-indent-dedent-line-backspace): New command.
2854         (python-electric-colon): Delete command.
2855         (python-indent-electric-colon): New command.
2856         (python-guess-indent): Delete command.
2857         (python-indent-guess-indent-offset): New command.
2858         (python-shift-left): Delete command.
2859         (python-indent-shift-left): New command.
2860         (python-shift-right): Delete command.
2861         (python-indent-shift-right): New command.
2862         (python-find-function): Delete command.
2863         (python-nav-jump-to-defun): New command.
2864         (python-next-statement): Delete command.
2865         (python-nav-forward-sentence): New command.
2866         (python-previous-statement): Delete command.
2867         (python-nav-backward-sentence): New command.
2868         (python-fill-paragraph): Delete command.
2869         (python-fill-paragraph-function): New command.
2870         (python-send-buffer): Delete command.
2871         (python-shell-send-buffer): New command.
2872         (python-send-defun): Delete command.
2873         (python-shell-send-defun): New command.
2874         (python-send-region, python-send-region-and-go): Delete commands.
2875         (python-shell-send-region)
2876         (python-shell-switch-to-shell): New commands.
2877         (python-send-string): Delete command.
2878         (python-shell-send-string): New command.
2879         (python-switch-to-python): Delete command.
2880         (python-shell-switch-to-shell): New command.
2881         (python-describe-symbol): Delete command.
2882         (python-eldoc-at-point): New command.
2883         (python--set-prompt-regexp, python-args-to-list)
2884         (python-after-info-look, python-check-version)
2885         (python-check-comint-prompt, python-find-imports)
2886         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2887         (python-unload-function, python-expand-template)
2888         (python-maybe-jython, python-preoutput-filter)
2889         (python-pdbtrack-get-source-buffer)
2890         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2891         (python-pdbtrack-toggle-stack-tracking)
2892         (python-pdbtrack-track-stack-file, python-initial-text)
2893         (python-first-word, python-comment-line-p, python-send-command)
2894         (python-setup-brm, python-sentinel, python-set-proc)
2895         (python-skip-out, python-input-filter, python-outdent-p)
2896         (python-outline-level, python-backslash-continuation-line-p)
2897         (python-end-of-block, python-end-of-statement, python-mark-block)
2898         (python-beginning-of-block, python-beginning-of-statement)
2899         (python-blank-line-p, python-beginning-of-string)
2900         (python-open-block-statement-p): Delete functions.
2901         (python-indent-line, python-indent-line-1): Delete functions.
2902         (python-indent-line): New function.
2903         (python-indentation-levels): Delete function.
2904         (python-indent-calculate-levels): New function.
2905         (python-proc): Delete function.
2906         (python-shell-get-process): New function.
2907         (python-send-receive): Delete function.
2908         (python-shell-send-string-no-output): New function.
2909         (python-module-path): Delete function.
2910         (python-ffap-module-path): New function.
2911         (python-completion-at-point)
2912         (python-symbol-completions): Delete functions.
2913         (python-completion-complete-at-point): New function.
2914         (python-load-file): Delete function.
2915         (python-shell-send-file): New function.
2916         (python-calculate-indentation): Delete function.
2917         (python-indent-calculate-indentation): New function.
2918         (python-skip-comments/blanks): Delete function.
2919         (python-util-forward-comment): New function.
2920         (python-continuation-line-p): Delete function.
2921         (python-info-continuation-line-p): New function.
2922         (python-which-func, python-current-defun): Delete function.
2923         (python-info-current-defun): New function.
2924         (python-beginning-of-defun): Delete function.
2925         (python-nav-beginning-of-defun): New function.
2926         (python-close-block-statement-p)
2927         (python-block-end-p): Delete function.
2928         (python-info-closing-block): New function.
2929         (python-comint-output-filter-function)
2930         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2931         (python-fill-comment, python-fill-decorator, python-fill-paren)
2932         (python-fill-string, python-imenu-make-element-tree)
2933         (python-imenu-make-tree, python-imenu-tree-assoc)
2934         (python-indent-context, python-indent-dedent-line)
2935         (python-indent-line-function)
2936         (python-indent-post-self-insert-function)
2937         (python-indent-toggle-levels)
2938         (python-info-assignment-continuation-line-p)
2939         (python-info-beginning-of-backlash)
2940         (python-info-block-continuation-line-p)
2941         (python-info-closing-block-message)
2942         (python-info-line-ends-backslash-p)
2943         (python-info-looking-at-beginning-of-defun)
2944         (python-info-ppss-context, python-info-ppss-context-type)
2945         (python-nav-list-defun-positions, python-nav-read-defun)
2946         (python-nav-sentence-end, python-nav-sentence-start)
2947         (python-pdbtrack-comint-output-filter-function)
2948         (python-pdbtrack-set-tracked-buffer)
2949         (python-shell-calculate-exec-path)
2950         (python-shell-calculate-process-environment)
2951         (python-shell-completion--do-completion-at-point)
2952         (python-shell-completion--get-completions)
2953         (python-shell-completion-complete-at-point)
2954         (python-shell-completion-complete-or-indent)
2955         (python-shell-get-or-create-process)
2956         (python-shell-get-process-name)
2957         (python-shell-internal-get-or-create-process)
2958         (python-shell-internal-get-process-name)
2959         (python-shell-internal-send-string, python-shell-make-comint)
2960         (python-shell-parse-command, python-shell-send-setup-code)
2961         (python-skeleton-add-menu-items)
2962         (python-util-clone-local-variables, python-util-position)
2963         (run-python-internal, python-indentation-levels)
2964         (python-nav-beginning-of-defun)
2965         (python-completion-complete-at-point): New functions.
2966         (run-python): Change arguments.  New API requirements.
2968 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2970         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2971         (bug#11649).
2973         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2974         (macroexp--expand-all): Use it.
2976         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2977         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2978         Use `cl-function' instead.
2980 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
2982         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2983         Suggested by Stefan Monnier while discussing bug#11657.
2985 2012-06-14  Sam Steingold  <sds@gnu.org>
2987         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2989 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2991         * play/doctor.el (doctor-doc): Remove parameter and use
2992         doctor-sent instead of sent.
2993         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
2995 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2997         * files.el: Require cl-lib.
2998         (file-name-non-special): Replace case -> cl-case.
3000         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3002         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3003         mapping from #' to function*.
3005 2012-06-13  Chong Yidong  <cyd@gnu.org>
3007         * mouse.el (mouse-drag-track): Do not set the mark if the user
3008         releases the mouse without selecting anything (Bug#11588).
3010 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3012         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3013         as well (bug#11646).
3015         * loadup.el: Count byte-code functions as well.
3017         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3018         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3020         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3021         (bug#11649).  Add cl-defun and cl-defmacro.
3023 2012-06-13  Drew Adams  <drew.adams@oracle.com>
3025         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3026         Fix last change.
3028 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
3030         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3031         Otherwise, it blocks in batch mode.
3033 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
3035         * help-mode.el (bookmark-make-record-default): Declare.
3037 2012-06-13  Chong Yidong  <cyd@gnu.org>
3039         * emacs-lisp/package.el (list-packages): Compute a list of
3040         packages that are newly-available since the last list-packages
3041         invocation.
3042         (package-menu--new-package-list): New var.
3043         (package-menu--generate, package-menu--print-info)
3044         (package-menu--status-predicate, package-menu-mark-install):
3045         Handle new status label "new".
3047 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3049         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3050         conversion to backquotes.
3052 2012-06-12  Chong Yidong  <cyd@gnu.org>
3054         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3055         Rename from gud-inhibit-global-bindings.
3057         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3059         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3060         hook from nxml-glyph-set-hook.
3062         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3063         declaration.
3065         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3067         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3068         Convert to defcustom.
3070 2012-06-12  Drew Adams  <drew.adams@oracle.com>
3072         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3073         New functions.
3074         (help-mode): Use them.
3076 2012-06-11  Glenn Morris  <rgm@gnu.org>
3078         * progmodes/fortran.el (fortran-font-lock-keywords-3):
3079         Use preprocessor face for directives.
3080         (fortran-directive-re): Doc fix.
3082 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3084         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3085         conversion to backquotes (bug#11652).
3087         Fix compiler-expansion of CL's cXXr functions (bug#11673).
3088         * emacs-lisp/cl-lib.el (cl--defalias): New function.
3089         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3090         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3091         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3092         (cl-ninth, cl-tenth): Mark them as inlinable.
3093         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3094         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3095         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3096         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3097         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3098         (cl-list*, cl-adjoin): Don't put an autoload manually.
3099         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3100         (cl--compiler-macro-list*): Add autoload cookie.
3101         (cl--compiler-macro-cXXr): New function.
3103         * help-fns.el (help-fns--compiler-macro): New function extracted from
3104         describe-function-1; follow aliases and use `compiler-macro' property.
3105         (describe-function-1): Use it.
3107 2012-06-11  Chong Yidong  <cyd@gnu.org>
3109         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3110         is uninstalled, if imagemagick is installed.
3112 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3114         * emacs-lisp/cl-lib.el: Use lexical-binding.
3115         (cl-map-extents, cl-maclisp-member): Remove.
3116         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3117         (cl--set-substring, cl--block-wrapper, cl--block-throw)
3118         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3119         * emacs-lisp/cl-extra.el: Use lexical-binding.
3120         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3121         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3122         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3123         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3124         * emacs-lisp/cl-seq.el: Use lexical-binding.
3125         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3126         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3127         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3128         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3129         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3130         CL's internals.
3132 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
3134         Sync with Tramp 2.2.6-pre.
3136         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3137         `print-length' and `print-level' to nil, in order to avoid
3138         truncation.  Reported by Christopher Schmidt
3139         <christopher@ristopher.com>.
3141         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3143         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3144         New defmacro.
3145         (tramp-compat-copy-directory): Add optional argument
3146         COPY-CONTENTS.  It is not handled yet.
3148         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3149         (tramp-ftp-file-name-p): Simplify.
3151         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3152         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3153         connection vector.
3155         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3156         (tramp-methods): Do not use `tramp-password-end-of-line'.
3157         (tramp-completion-function-alist-putty): Handle UNIX case.
3158         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3159         (tramp-do-file-attributes-with-stat)
3160         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3161         gid as real numbers.  They could run out of integer range on cygwin.
3162         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3163         (tramp-sh-handle-expand-file-name): Handle hops.
3164         (tramp-open-connection-setup-interactive-shell):
3165         Use `tramp-cleanup'.  Move check for busyboxes ...
3166         (tramp-find-shell): ... here.  Simplify implementation.
3167         Set "remote-shell" property also for alternative shells.
3168         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3169         If failing, a regular file would be written otherwise.
3170         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
3171         (tramp-find-inline-encoding): Cache the coding commands in the
3172         process cache.  Apply test command on the remote side, if defined.
3173         (tramp-find-inline-compress): Cache the compress commands in the
3174         process cache.
3175         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3176         when requested.  Handle hops.
3177         (tramp-current-connection): New defvar.
3178         (tramp-maybe-open-connection): Use `tramp-cleanup'.
3179         Throw `suppress', if there was a failed connection shortly before.
3180         Handle user interrupt.  (Bug#10187)
3181         (tramp-get-inline-compress, tramp-get-inline-coding):
3182         Read connection properties from the process cache.
3184         * net/tramp-smb.el (tramp-smb-server-version)
3185         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3186         New defconsts.
3187         (tramp-smb-prompt): Extend for powershell prompt.
3188         (tramp-smb-file-name-handler-alist): Add handlers for
3189         `process-file', `shell-command' and `start-file-process'.
3190         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3191         (tramp-smb-winexe-shell-command-switch): New defcustoms.
3192         (tramp-smb-file-name-p): Simplify.
3193         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3194         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3195         (tramp-smb-shell-quote-argument): New defuns.
3196         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3197         Implement using "tar".  By this, time-stamps are preserved.
3198         (tramp-smb-handle-copy-file): Handle also the case of directories.
3199         (tramp-smb-do-file-attributes-with-stat)
3200         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3201         Use `tramp-get-connection-buffer').
3202         (tramp-smb-handle-rename-file): Use "rename", when source and
3203         target are on the same share.
3204         (tramp-smb-maybe-open-connection): Handle wrong passwords.
3205         Use `tramp-smb-server-version'.
3206         (tramp-smb-wait-for-output): Remove prompt.
3208         * net/tramp.el (top): Require 'cl.
3209         (tramp-methods, tramp-rsh-end-of-line):
3210         Remove `tramp-password-end-of-line' from docstring.
3211         (tramp-save-ad-hoc-proxies): New defcustom.
3212         (tramp-completion-function-alist): Adapt docstring.
3213         (tramp-default-password-end-of-line): Remove defcustom.
3214         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
3215         (tramp-user-regexp, tramp-file-name-regexp-unified)
3216         (tramp-file-name-regexp-url): Extend regexp by hop separator.
3217         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3218         (tramp-remote-file-name-spec-regexp): New defconst.
3219         (tramp-file-name-structure): Extend structure for hops.
3220         (tramp-get-method-parameter): Move up.
3221         (tramp-file-name-p, tramp-dissect-file-name)
3222         (with-parsed-tramp-file-name): Handle hops.
3223         (tramp-file-name-hop): New defun.
3224         (tramp-make-tramp-file-name): New optional arg HOP.
3225         (tramp-message-show-progress-reporter-message): New defvar.
3226         (tramp-with-progress-reporter): Use it.  We cannot use
3227         `tramp-message-show-message' here, because this suppresses also
3228         error buffers.
3229         (tramp-error-with-buffer): Suppress buffer view, if
3230         `tramp-message-show-message' is nil.
3231         Use `tramp-get-connection-buffer'.
3232         (tramp-cleanup): New defun.
3233         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3234         (tramp-file-name-handler): If `debug-on-error' is set, propagate
3235         an error unchanged.
3236         (tramp-completion-handle-file-name-all-completions): Handle hops.
3237         Fix an error when called from ido.
3238         (tramp-completion-dissect-file-name): Use better local variable
3239         name.  Add hop to the vector.
3240         (tramp-handle-insert-file-contents): Use progress-reporter for the
3241         whole scenario.
3242         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3243         to `t'.
3244         (tramp-check-for-regexp): Simplify search.
3245         (tramp-enter-password): Remove it.  Move implementation ...
3246         (tramp-action-password): ... here.
3247         (tramp-mode-string-to-int, tramp-local-host-p)
3248         (tramp-make-tramp-temp-file, tramp-read-passwd)
3249         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3250         Set tramp-autoload cookie.
3252         * net/trampver.el: Update release number.
3254 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3255             Michael Albinus  <michael.albinus@gmx.de>
3257         * net/tramp.el (tramp-set-completion-function): Fix docstring.
3258         (tramp-parse-group, tramp-parse-file)
3259         (tramp-parse-shostkeys-sknownhosts): New defuns.
3260         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3261         (tramp-parse-shosts-group, tramp-parse-sconfig)
3262         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3263         (tramp-parse-sknownhosts, tramp-parse-hosts)
3264         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3265         Use them.
3266         (tramp-parse-passwd-group, tramp-parse-netrc-group)
3267         (tramp-parse-putty-group): Don't narrow.
3268         (tramp-parse-putty): Make a loop.
3269         (tramp-file-name-handler): Catch the `suppress' signal.
3271 2012-06-11  Chong Yidong  <cyd@gnu.org>
3273         * image.el (imagemagick-register-types): Put the ImageMagick entry
3274         at the end of image-type-file-name-regexps.
3276 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
3278         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3279         (pcase, pcase-let*, pcase-dolist): Use them.
3281 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3283         * emacs-lisp/pcase.el (pcase--let*): New function.
3284         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
3285         (pcase--expand): Use macroexp-let².
3287 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3289         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3290         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3291         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3292         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3293         * emacs-lisp/derived.el: Use pcase instead of `cl'.
3294         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3296 2012-06-10  Glenn Morris  <rgm@gnu.org>
3298         * mail/rmail.el (rmail-yank-current-message): Leave point at
3299         correct position.  (Bug#11660)
3301 2012-06-10  Chong Yidong  <cyd@gnu.org>
3303         * allout-widgets.el: Fix code header.
3305 2012-06-10  Chong Yidong  <cyd@gnu.org>
3307         * cus-edit.el (customize-changed-options-previous-release):
3308         Bump to 24.1.
3310 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
3312         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3314 2012-06-09  Chong Yidong  <cyd@gnu.org>
3316         * ebuff-menu.el (electric-buffer-list): Preserve header line.
3318 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
3320         * window.el (special-display-popup-frame): Don't use
3321         window--display-buffer (Bug#11651).
3323 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
3325         Fix parallel builds: make sure loaddefs.el is not being written
3326         while Lisp files are compiled.
3327         (compile): Don't depend on 'mh-autoloads'.
3328         (compile-CMD, compile-SH): Depend on 'autoloads'.
3329         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3331         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
3333 2012-06-09  Chong Yidong  <cyd@gnu.org>
3335         * face-remap.el (face-remap-add-relative, face-remap-set-base)
3336         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3337         Doc fixes (Bug#11225).
3339 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3341         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3342         a function if there's a clear indication that it has a compiler-macro.
3343         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3344         (macro-declarations-alist): Add arglist to declaration functions.
3345         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3346         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3347         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3348         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3349         Also add autoload to find the compiler macro.
3350         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3351         (cl--compiler-macro-member, cl--compiler-macro-assoc)
3352         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3353         (cl--compiler-macro-get): New functions, replacing calls to
3354         cl-define-compiler-macro.
3355         (cl-typep) [compiler-macro]: Use macroexp-let².
3357 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
3359         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3360         string properly, fixes Bug#11473.
3362 2012-06-08  Chong Yidong  <cyd@gnu.org>
3364         * faces.el (set-face-attribute): Doc fix.
3365         (modify-face): Don't use :bold and :italic.
3366         (error, warning, success): Tweak definitions.
3368         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3369         (custom-modified, custom-set, custom-changed, custom-themed)
3370         (custom-saved, custom-button, custom-button-mouse)
3371         (custom-button-pressed, custom-state, custom-comment-tag)
3372         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3373         (custom-group-subtitle): Use new-style face specs.
3374         (custom-invalid-face, custom-rogue-face, custom-modified-face)
3375         (custom-set-face, custom-changed-face, custom-saved-face)
3376         (custom-button-face, custom-button-pressed-face)
3377         (custom-documentation-face, custom-state-face)
3378         (custom-comment-face, custom-comment-tag-face)
3379         (custom-variable-tag-face, custom-variable-button-face)
3380         (custom-face-tag-face, custom-group-tag-face-1)
3381         (custom-group-tag-face): Remove obsolete face alias.
3383         * epa.el (epa-validity-high, epa-validity-medium)
3384         (epa-validity-low, epa-mark, epa-field-name, epa-string)
3385         (epa-field-name, epa-field-body):
3386         * font-lock.el (font-lock-comment-face, font-lock-string-face)
3387         (font-lock-keyword-face, font-lock-builtin-face)
3388         (font-lock-function-name-face, font-lock-variable-name-face)
3389         (font-lock-type-face, font-lock-constant-face):
3390         * ido.el (ido-first-match, ido-only-match, ido-subdir)
3391         (ido-virtual, ido-indicator, ido-incomplete-regexp):
3392         * speedbar.el (speedbar-button-face, speedbar-file-face)
3393         (speedbar-directory-face, speedbar-tag-face)
3394         (speedbar-selected-face, speedbar-highlight-face)
3395         (speedbar-separator-face):
3396         * whitespace.el (whitespace-newline, whitespace-space)
3397         (whitespace-hspace, whitespace-tab, whitespace-trailing)
3398         (whitespace-line, whitespace-space-before-tab)
3399         (whitespace-space-after-tab, whitespace-indentation)
3400         (whitespace-empty):
3401         * emulation/cua-base.el (cua-global-mark):
3402         * eshell/em-prompt.el (eshell-prompt):
3403         * net/newst-plainview.el (newsticker-new-item-face)
3404         (newsticker-old-item-face, newsticker-immortal-item-face)
3405         (newsticker-obsolete-item-face, newsticker-date-face)
3406         (newsticker-statistics-face, newsticker-default-face):
3407         * net/newst-reader.el (newsticker-feed-face)
3408         (newsticker-extra-face, newsticker-enclosure-face):
3409         * net/newst-treeview.el (newsticker-treeview-face)
3410         (newsticker-treeview-new-face, newsticker-treeview-old-face)
3411         (newsticker-treeview-immortal-face)
3412         (newsticker-treeview-obsolete-face)
3413         (newsticker-treeview-selection-face):
3414         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3415         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3416         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3417         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3418         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3419         (nxml-outline-active-indicator, nxml-outline-ellipsis):
3420         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3421         (mpuz-text):
3422         * progmodes/vera-mode.el (vera-font-lock-number)
3423         (vera-font-lock-function, vera-font-lock-interface):
3424         * textmodes/table.el (table-cell): Use new-style face specs, and
3425         don't use the old :bold and :italic attributes.
3427         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3428         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3429         (ebrowse-member-class, ebrowse-progress): Likewise.
3430         (ebrowse-tree-mark-face, ebrowse-root-class-face)
3431         (ebrowse-file-name-face, ebrowse-default-face)
3432         (ebrowse-member-attribute-face, ebrowse-member-class-face)
3433         (ebrowse-progress-face): Remove obsolete faces.
3435         * progmodes/flymake.el (flymake-errline, flymake-warnline):
3436         Inherit from error and warning faces respectively.
3438         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3439         Likewise.
3440         (flyspell-incorrect-face, flyspell-duplicate-face):
3441         Remove obsolete aliases.
3443 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
3445         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3446         Avoid infloop.
3448 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3450         * startup.el (argv, argi): Make lexically scoped.
3451         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3452         * emacs-lisp/cl-macs.el: Use lexical-binding.
3453         Rename cl-bind-* to cl--bind-*.
3454         * files.el: Don't require `cl' since it doesn't use it.
3455         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3457 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
3459         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3460         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3461         instead of calling external sort utility.
3462         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3464 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
3466         * descr-text.el (describe-char): Mention how to insert the
3467         character, if the current input method doesn't support it.
3468         See the discussion in this thread for the details:
3469         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3471 2012-06-08  Sam Steingold  <sds@gnu.org>
3473         * bindings.el (global-map): Bind XF86Forward to next-buffer and
3474         XF86Back to previous-buffer.
3475         (minibuffer-local-map): Bind them to next-history-element and
3476         previous-history-element respectively.
3477         * help-mode.el (help-mode-map): Bind them to help-go-forward and
3478         help-go-back respectively.
3479         * info.el (Info-mode-map): Bind them to Info-history-forward and
3480         Info-history-back respectively.
3481         These are the keys next to Up on the ThinkPad keyboard.
3483 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3485         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3486         * emacs-lisp/cl-macs.el: Provide itself.
3487         (cl--labels-convert-cache): New var.
3488         (cl--labels-convert): New function.
3489         (cl-flet, cl-labels): New implementation with new semantics, relying on
3490         lexical-binding.
3491         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3492         (cl-closure-vars, cl--function-convert-cache)
3493         (cl--function-convert): Move from cl-macs.el.
3494         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3495         rename by removing the "cl-" prefix.
3496         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3498 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3500         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3501         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3502         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3503         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3504         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3505         (cl-hash-table-count): Add old compatibility aliases.
3507         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3508         Use macroexpand-all-environment instead.
3509         (cl--old-macroexpand): New var.
3510         (cl--sm-macroexpand): New function.
3511         (cl-symbol-macrolet): Use it during macro expansion.
3512         (cl--function-convert-cache): New var.
3513         (cl--function-convert): New function, extracted from
3514         cl-macroexpand-all.
3515         (cl-lexical-let): Use it.
3517         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3518         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3519         (cl-member): Remove old alias.
3521         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3522         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3523         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3524         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3525         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3526         (cl-macroexpand-cmacs): Remove var.
3527         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3528         Use macroexpand-all instead.
3530 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3532         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3533         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3534         (macroexp-copyable-p): New functions and macros.
3535         * emacs-lisp/edebug.el (edebug-unwrap):
3536         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3537         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3538         (pcase--let*): Remove.
3539         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3540         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
3541         macroexp-const-p instead.
3542         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3544         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3545         instead of "cl-" for internal definitions.  Use macroexp-const-p.
3546         (cl-old-bc-file-form): Remove var.
3547         (cl-const-exprs-p): Remove fun.
3548         (cl-labels, cl-macrolet): Use backquote.
3549         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
3550         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3551         (cl-define-setf-expander): Rename from cl-define-setf-method.
3552         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3554         * international/mule-cmds.el: Don't require CL.
3555         (view-hello-file): Don't use `letf'.
3557 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3559         * tmm.el (tmm-prompt): Use string-prefix-p.
3560         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3561         (tmm-add-prompt): Use minibuffer-completion-help.
3562         (tmm-delete-map): Remove.
3564         * subr.el (kbd): Make it its own function.
3566 2012-06-07  Stefan Merten  <smerten@oekonux.de>
3568         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3569         Silence compiler warnings.  Fix versions.
3570         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
3571         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
3572         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
3573         (rst-package-emacs-version-alist): Correct Emacs version to
3574         represent major merge with upstream.
3575         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
3577 2012-06-06  Glenn Morris  <rgm@gnu.org>
3579         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3580         Only print environment variables if set.
3582 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3584         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3585         (macroexp--cons): Rename from maybe-cons.
3586         (macroexp--accumulate): Rename from macroexp-accumulate.
3587         (macroexp--all-forms): Rename from macroexpand-all-forms.
3588         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3589         (macroexp--expand-all): Rename from macroexpand-all-1.
3591 2012-06-06  Sam Steingold  <sds@gnu.org>
3593         * calendar/calendar.el (calendar-in-read-only-buffer):
3594         Call `special-mode' to enable the standard read-only keybindings.
3596 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3598         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3599         with "loading" messages (bug#11635).
3601 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
3603         * files.el (enable-remote-dir-locals): New option.
3604         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
3606         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3607         Ensure, that the temp directory is local.
3609         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3610         `temporary-file-directory'.
3612         * progmodes/python.el (python-send-region): Ensure, that the
3613         temporary file is created also in the remote case.
3615 2012-06-06  Glenn Morris  <rgm@gnu.org>
3617         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3618         (vc-rcs-update-changelog): Use it.
3620         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
3622         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3623         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3624         (vc-sccs-diff): Replace use of the external vcdiff script.
3626 2012-06-05  Glenn Morris  <rgm@gnu.org>
3628         * ledit.el: Move to obsolete/.
3630 2012-06-05  Sam Steingold  <sds@gnu.org>
3632         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
3633         patch (Bug#11140).
3635 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3637         * emacs-lisp/cust-print.el: Move to obsolete.
3639         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3640         compiler-macro expansion.
3642         Add native compiler-macro support.
3643         * emacs-lisp/macroexp.el (macroexpand-all-1):
3644         Support compiler-macros directly.  Properly follow aliases and apply
3645         the compiler macros more thoroughly.
3646         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3647         macroexpand now properly follows aliases.
3648         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3649         (cl-compiler-macroexpand): Use new prop.
3650         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3652         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3654 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
3656         * window.el (get-lru-window, get-mru-window, get-largest-window):
3657         New argument NOT-SELECTED to avoid picking the selected window.
3658         (window--display-buffer-1, window--display-buffer-2): Replace by
3659         new function window--display-buffer
3660         (display-buffer-same-window, display-buffer-reuse-window)
3661         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3662         Use window--display-buffer.
3663         (display-buffer-use-some-window): Remove temporary dedication
3664         hack by calling get-lru-window and get-largest-window with
3665         NOT-SELECTED argument non-nil.  Call window--display-buffer.
3667 2012-06-05  Glenn Morris  <rgm@gnu.org>
3669         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3670         Replace external vcdiff script.
3672 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3674         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3676 2012-06-04  Chong Yidong  <cyd@gnu.org>
3678         * image.el (imagemagick-types-inhibit): Revert last change.
3679         Add INFO and M.
3680         (imagemagick-enabled-types): Remove CIN and EPS*.
3682 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3684         * emacs-lisp/cl-lib.el: Rename from cl.el.
3685         * emacs-lisp/cl.el: New compatibility file.
3686         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3687         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3688         to obey the "cl-" prefix.
3689         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3691 2012-06-03  Glenn Morris  <rgm@gnu.org>
3693         * emacs-lisp/authors.el (authors-aliases): Addition.
3695         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3696         Fix :version.
3698 2012-06-03  Stefan Merten  <smerten@oekonux.de>
3700         * textmodes/rst.el: Add comments.
3701         (rst-transition, rst-adornment): New faces.
3702         (rst-adornment-faces-alist): Make default safe to reevaluate.
3703         Fixes
3704         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3705         Improve customization tags.
3706         (rst-define-level-faces): Clarify meaning.
3708 2012-06-03  Chong Yidong  <cyd@gnu.org>
3710         * progmodes/compile.el (compilation-mode-line-fail)
3711         (compilation-mode-line-run, compilation-mode-line-exit):
3712         New faces.
3713         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3715 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
3717         * progmodes/which-func.el (which-func-update-ediff-windows):
3718         New function.  Use it in ediff-select-hook (Bug#11478).
3720 2012-06-03  Chong Yidong  <cyd@gnu.org>
3722         * bindings.el: Remove explicit help text from format-mode-line.
3723         It is now supplied by mode-line-default-help-echo.
3724         (mode-line-front-space, mode-line-end-spaces)
3725         (mode-line-misc-info): New variables.
3726         (mode-line-modes, mode-line-position): Move the default value to
3727         the variable definition.
3728         (mode-line-default-help-echo): New defcustom.
3729         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3730         (mode-line-modified-help-echo): New functions.
3731         (mode-line-mule-info, mode-line-modified): Use them.
3732         (mode-line-eol-desc, propertized-buffer-identification):
3733         Consistency fixes for help text.
3734         (mode-line-coding-system-map): Allow using mouse-3 to invoke
3735         set-buffer-file-coding-system (Bug#289).
3736         (mode-line-mule-info-help-echo): Update help text.
3738 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3740         * simple.el (execute-extended-command): Set real-this-command
3741         (bug#11506).
3743 2012-06-02  Chong Yidong  <cyd@gnu.org>
3745         Remove incorrect uses of "modeline" in comments, docstrings, and
3746         function/variable names (Bug#10329).
3748         * cus-edit.el (mode-line):
3749         * dframe.el (dframe-mouse-hscroll):
3750         * emacs-lisp/re-builder.el:
3751         * emacs-lisp/easy-mmode.el (define-minor-mode):
3752         * frame.el (set-frame-name):
3753         * help.el (lookup-minor-mode-from-indicator):
3754         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3755         * progmodes/cc-cmds.el (c-toggle-auto-newline)
3756         (c-toggle-hungry-state):
3757         * progmodes/antlr-mode.el (antlr-language-alist):
3758         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3759         * progmodes/vhdl-mode.el (vhdl-mode):
3760         * progmodes/which-func.el (which-func, which-func-cleanup-function):
3761         * term/ns-win.el (ns-face-at-pos):
3762         * term/sup-mouse.el (sup-mouse-report):
3763         * textmodes/flyspell.el (flyspell-mode-line-string):
3764         * textmodes/ispell.el (ispell-highlight-face):
3765         * textmodes/reftex-global.el:
3766         * vc/vc-arch.el (vc-arch-mode-line-string):
3767         * vc/vc-cvs.el (vc-cvs-mode-line-string):
3768         * vc/vc-git.el (vc-git-mode-line-string):
3769         * vc/vc-hooks.el (vc-display-status)
3770         (vc-default-mode-line-string):
3771         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3773         * ansi-color.el (ansi-color-faces-vector): Change default faces.
3775         * dired.el (dired-sort-set-mode-line): Rename from
3776         dired-sort-set-modeline.  All callers changed.
3778         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3779         eshell-status-in-modeline.
3781         * foldout.el (foldout-mode-line-string): Rename from
3782         foldout-modeline-string.  All callers changed.
3783         (foldout-update-mode-line): Rename from foldout-update-modeline.
3785         * subr.el (redraw-modeline): Make into obsolete alias.
3787         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3788         timeclock-modeline-display.  Make old name an alias.
3789         (timeclock-update-mode-line): Likewise.  All callers changed.
3790         (timeclock-mode-line-display): No need to check before using
3791         add-hook.
3792         (timeclock-relative, timeclock-day-over-hook)
3793         (timeclock-use-elapsed, timeclock-mode-string)
3794         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3796         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3797         crisp-mode-modeline-string.
3799         * play/solitaire.el (solitaire-build-mode-line): Rename from
3800         solitaire-build-modeline.  All callers changed.
3802         * play/zone.el (zone-hiding-mode-line): Rename from
3803         zone-hiding-modeline.  All callers changed.
3804         (zone): Remove unusued `modeline-hidden-level' property.
3806         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3807         xscheme-modeline-initialize.  All callers changed.
3809         * strokes.el (strokes-lighter): Rename from
3810         strokes-modeline-string.
3812         * textmodes/sgml-mode.el (html-face-tag-alist)
3813         (html-tag-face-alist): Use mode-line face instead of obsolete
3814         alias modeline.
3816 2012-06-02  Stefan Merten  <smerten@oekonux.de>
3818         * textmodes/rst.el: Always require `cl'.
3819         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
3821 2012-06-02  Chong Yidong  <cyd@gnu.org>
3823         * image.el (imagemagick-enabled-types): Rename from
3824         imagemagick-types-enable.  Add many more types.
3825         (imagemagick-types-inhibit): Change default to nil.
3826         (imagemagick-filter-types): Caller changed.
3828 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3830         * emacs-lisp/cl-macs.el: Use backquotes.
3831         (cl-transform-function-property): Use eval-and-compile rather than
3832         abusing `require'.
3833         (defstruct): Use declare-function instead of with-no-warnings.
3835         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3836         (byte-compile-output-docform): Re-add the print-circle bindings.
3837         (byte-compile-fix-header): Use #$ just because it's shorter.
3838         (byte-compile-output-file-form): Remove defun/defmacro.
3840 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
3842         * simple.el (choose-completion): Remove now obsolete binding for
3843         owindow.
3845 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
3847         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3848         in order to avoid "Stack overflow in regexp matcher".
3850 2012-05-31  Glenn Morris  <rgm@gnu.org>
3852         * image.el: For clarity, call imagemagick-register-types at
3853         top-level, rather than relying on a custom :initialize.
3854         (imagemagick-types-enable): New option.  (Bug#11557)
3855         (imagemagick-filter-types): New function.  (Bug#7406)
3856         (imagemagick-register-types): Use imagemagick-filter-types.
3857         If disabling support, remove elements altogether rather
3858         than using an impossible regexp.
3859         (imagemagick-types-inhibit): Give it the default init function.
3861 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3863         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3864         Handle arbitrary file name lengths (Bug#11585).
3866 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
3868         * desktop.el (desktop-read): Clear previous and next buffers for
3869         all windows and bury *Messages* buffer (bug#11556).
3871 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3873         Add `declare' for `defun'.  Align `defmacro's with it.
3874         * emacs-lisp/easy-mmode.el (define-minor-mode)
3875         (define-globalized-minor-mode): Don't autoload the var definitions.
3876         * emacs-lisp/byte-run.el: Use lexical-binding.
3877         (defun-declarations-alist, macro-declarations-alist): New vars.
3878         (defmacro, defun): Use them.
3879         (make-obsolete, define-obsolete-function-alias)
3880         (make-obsolete-variable, define-obsolete-variable-alias):
3881         Use `declare'.
3882         (macro-declaration-function): Mark obsolete.
3883         * emacs-lisp/autoload.el: Use lexical-binding.
3884         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
3886 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3888         * textmodes/ispell.el (ispell-with-no-warnings):
3889         Define as a macro.
3890         (ispell-kill-ispell, ispell-change-dictionary):
3891         Use `called-interactively-p' for Emacs instead of obsolete
3892         `interactive-p'.
3894 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3896         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3897         (macro-declaration-function): Move var from C code.
3898         (macro-declaration-function): Define function with defalias.
3899         * emacs-lisp/macroexp.el (macroexpand-all-1):
3900         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3901         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3902         defun/defmacro any more.
3903         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3904         Provide fallback for unknown arglist.
3905         (byte-compile-arglist-warn): Change calling convention.
3906         (byte-compile-output-file-form): Move print-vars binding.
3907         (byte-compile-output-docform): Simplify accordingly.
3908         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3909         (byte-compile-defmacro-declaration): Remove.
3910         (byte-compile-file-form-defmumble): Generalize to defalias.
3911         (byte-compile-output-as-comment): Return byte-positions.
3912         Simplify callers accordingly.
3913         (byte-compile-lambda): Use `assert'.
3914         (byte-compile-defun, byte-compile-defmacro): Remove.
3915         (byte-compile-file-form-defalias):
3916         Use byte-compile-file-form-defmumble.
3917         (byte-compile-defalias-warn): Remove.
3919 2012-05-29  Stefan Merten  <smerten@oekonux.de>
3921         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
3922         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
3924         (rst-mode-abbrev-table): Merge definition.
3925         (rst-mode): Make sure `font-lock-defaults' is buffer local.
3926         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3928 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
3930         * calendar/icalendar.el
3931         (icalendar-export-region): Export UID properly.
3933 2012-05-29  Leo Liu  <sdl.web@gmail.com>
3934         * calendar/icalendar.el (icalendar-import-format):
3935         Add `icalendar-import-format-uid' (Bug#11525).
3936         (icalendar-import-format-uid): New.
3937         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3938         Export UID.
3940 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3942         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3943         different alternative patterns.
3944         (pcase-codegen): Be more careful to preserve identity.
3945         (pcase--u1): Don't forget to mark vars as used.
3947         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3948         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3949         (byte-compile-from-buffer): ...rather than here.
3951         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3952         functions from byte-compile-function-environment.
3954 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
3956         * window.el (window-deletable-p): Avoid deleting the root window
3957         of a frame with an active minibuffer.
3959 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
3961         * simple.el (choose-completion): Use quit-window (Bug#11567).
3963 2012-05-29  Chong Yidong  <cyd@gnu.org>
3965         * whitespace.el (whitespace-cleanup): Fix usage of
3966         whitespace-empty-at-bob-regexp (Bug#11492).
3968 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3970         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3971         revert (Bug#11488).
3973 2012-05-29  Juri Linkov  <juri@jurta.org>
3975         * isearch.el (isearch-mode-map): Bind `M-s _' to
3976         `isearch-toggle-symbol'.  Bind `M-s c' to
3977         `isearch-toggle-case-fold'.
3978         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3979         (isearch-forward): Add `M-s _' to the docstring.
3980         (isearch-forward-symbol, isearch-toggle-case-fold)
3981         (isearch-symbol-regexp): New functions.  (Bug#11381)
3983 2012-05-29  Juri Linkov  <juri@jurta.org>
3985         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
3986         (isearch-occur, isearch-search-and-update): If `isearch-word' is
3987         a function, call it to get the regexp.
3988         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3989         property `isearch-message-prefix' instead of the string "word ".
3990         (isearch-search-fun-default): For the case of `isearch-word',
3991         return a lambda that calls re-search-forward/re-search-backward
3992         with a regexp returned by `word-search-regexp' or by the function
3993         in `isearch-word'.
3995 2012-05-29  Juri Linkov  <juri@jurta.org>
3997         * isearch.el (isearch-search-fun-default): New function.
3998         (isearch-search-fun): Move default part to the new function
3999         `isearch-search-fun-default'.
4000         (isearch-search-fun-function): Set the default value to
4001         `isearch-search-fun-default'.  (Bug#11381)
4003         * comint.el (comint-history-isearch-end):
4004         Use `isearch-search-fun-default'.
4005         (comint-history-isearch-search): Use `isearch-search-fun-default'
4006         and remove spacial case for `isearch-word'.
4007         (comint-history-isearch-wrap): Remove spacial case for
4008         `isearch-word'.
4010         * hexl.el (hexl-isearch-search-function):
4011         Use `isearch-search-fun-default'.
4013         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4014         Use `word-search-regexp' for `isearch-word'.
4016         * misearch.el (multi-isearch-search-fun):
4017         Use `isearch-search-fun-default'.
4019         * simple.el (minibuffer-history-isearch-search):
4020         Use `isearch-search-fun-default' and remove spacial case for
4021         `isearch-word'.
4022         (minibuffer-history-isearch-wrap): Remove spacial case for
4023         `isearch-word'.
4025         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4026         Remove spacial case for `isearch-word'.
4027         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4029 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4031         Decrease XEmacs incompatibilities.
4032         * textmodes/flyspell.el (flyspell-check-pre-word-p):
4033         Use `string-match'.
4034         (flyspell-delete-region-overlays): Use alternative definition for
4035         XEmacs.
4036         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4037         (flyspell-word): Use `process-kill-without-query' if XEmacs.
4038         (flyspell-mode-on): Use `interactive-p' if XEmacs.
4039         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4040         `define-obsolete-face-alias' under XEmacs, but old method.
4042         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4043         `with-no-warnings' definition or Emacs alias.
4044         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4045         (ispell-word): Do not use `region-p' if XEmacs.
4047 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4049         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4050         Check for `ispell-dictionary-base-alist' instead of full
4051         `ispell-dictionary-alist'.
4052         (ispell-init-process): Show spellchecker when starting new Ispell
4053         process.
4055 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4057         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4058         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4060 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
4062         * version.el (motif-version-string, gtk-version-string)
4063         (ns-version-string): Declare.
4065 2012-05-27  Juri Linkov  <juri@jurta.org>
4067         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4068         after the `eval-defun-1' specialcaseing
4069         like in `edebug-eval-defun' (bug#10181).
4071         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4072         like in `eval-defun-1'.
4074 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
4076         * mail/sendmail.el (mail-yank-region):
4077         Recognize rmail-yank-current-message in addition to insert-buffer.
4078         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
4079         a *mail* buffer created through rmail-start-mail with sendmail as
4080         mail-user-agent.
4082 2012-05-27  Chong Yidong  <cyd@gnu.org>
4084         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4085         Default to 256 (Bug#11267).
4087         * help.el (describe-mode): Doc fix.
4089 2012-05-26  Glenn Morris  <rgm@gnu.org>
4091         * w32-fns.el (w32-init-info): Remove.
4092         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4094         * info.el (info-initialize): For self-contained NS builds, put the
4095         included info/ directory at the front.  (Bug#2791)
4097         * paths.el (Info-default-directory-list): Make it a defcustom,
4098         mainly so that we can use custom-initialize-delay.
4100 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4102         * subr.el (buffer-has-markers-at): Mark obsolete.
4104         * subr.el (lambda): Use declare.
4106         * emacs-lisp/lisp-mode.el (lambda):
4107         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4109 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4111         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
4113 2012-05-26  Glenn Morris  <rgm@gnu.org>
4115         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4117 2012-05-25  Glenn Morris  <rgm@gnu.org>
4119         * paths.el: Remove no-byte-compile.
4120         * loadup.el: No need to load paths.el uncompiled.
4122         * image.el (imagemagick-types-inhibit): Doc fix.
4124         * version.el: Remove no-byte-compile and associated formatting.
4125         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
4126         is ancient code from when there was an "inc-vers.el".
4128 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4130         * progmodes/gdb-mi.el: Minor style changes.
4131         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4132         Turn into minor modes.
4133         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4134         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4135         (gdb-shell): Remove unneeded let-binding.
4136         (gdb-get-many-fields): Eliminate O(n²) behavior.
4138 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
4140         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4141         platforms that don't link in fontset.c.
4143 2012-05-25  Juri Linkov  <juri@jurta.org>
4145         Use the same diff color scheme as in modern VCSes (bug#10181).
4147         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4148         to avoid confusion with `diff-added' that now uses green colors.
4149         (diff-removed): Use shades of red.
4150         (diff-added): Use shades of green.
4151         (diff-changed): Leave just the yellow color.
4152         (diff-use-changed-face): New variable.
4153         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4154         how to highlight context diff changes.
4155         (diff-refine-change): Use shades of yellow.
4156         (diff-refine-removed): New face that uses shades of red.
4157         (diff-refine-added): New face that uses shades of green.
4158         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4159         `diff-refine-removed' in the call to `smerge-refine-subst'
4160         depending on the value of `diff-use-changed-face'.
4162         * vc/smerge-mode.el (smerge-mine): Use shades of red.
4163         (smerge-other): Use shades of green.
4164         (smerge-base): Use shades of yellow.
4165         (smerge-refined-change): Empty face.
4166         (smerge-refined-removed): New face that uses shades of red.
4167         (smerge-refined-added): New face that uses shades of green.
4168         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
4169         args `props-r' and `props-a', and use them.  Doc fix.
4170         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4171         on its value use different faces `smerge-refined-change',
4172         `smerge-refined-removed', `smerge-refined-added' in the call to
4173         `smerge-refine-subst'.
4175         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4176         Add face condition `min-colors 88' with shades of red.
4177         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4178         `min-colors 88' with shades of green.
4179         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4180         `min-colors 88' with shades of yellow.
4182 2012-05-24  Glenn Morris  <rgm@gnu.org>
4184         * paths.el (prune-directory-list, remote-shell-program): Move to...
4185         * files.el (prune-directory-list, remote-shell-program): ...here.
4186         For the latter, delay initialization, prefer ssh, just search PATH.
4188         * paths.el (term-file-prefix): Move to faces.el (the only user).
4189         * faces.el (term-file-prefix): Move here, make it a defcustom.
4191         * paths.el (news-directory, news-path, news-inews-program):
4192         Move to gnus/nnspool.el.
4194         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4196         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4197         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4198         Make the latter a defcustom, with a delayed initialization.
4200         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4201         These were deleted from Gnus itself late 2010.
4203 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
4205         * progmodes/which-func.el (which-func-ff-hook):
4206         Check against user-error, not error.
4208         * emacs-lisp/edebug.el (top): Do not load or set up loading of
4209         cl-specs.el, which no longer exists.
4211 2012-05-22  Glenn Morris  <rgm@gnu.org>
4213         * info.el (info-emacs-bug): New command.
4214         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4215         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4217 2012-05-21  Glenn Morris  <rgm@gnu.org>
4219         * makefile.w32-in (update-subdirs-SH):
4220         * Makefile.in (update-subdirs): Update for moved update-subdirs.
4222 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4224         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4226         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4227         Simplify Maven regexp, and make sure the file can't start with a space
4228         (bug#11517).
4230 2012-05-21  Glenn Morris  <rgm@gnu.org>
4232         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4233         Scrap superfluous subshells.
4235 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4237         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4238         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4240 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
4242         * calc/calc.el (calc-ensure-consistent-units): New variable.
4244         * calc/calc-units.el (math-consistent-units-p)
4245         (math-check-unit-consistency): New functions.
4246         (calc-quick-units, calc-convert-units):
4247         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4248         is non-nil.
4249         (calc-extract-units): Fix typo.
4251 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4253         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4255         * textmodes/flyspell.el: Commenting style, plus code simplifications.
4256         (flyspell-default-deplacement-commands): Don't spell check after
4257         repeated window/frame switches (e.g. triggered by mouse-movement).
4258         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4259         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4260         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4261         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4262         Remove unused vars.
4263         (flyspell-get-casechars, flyspell-get-not-casechars):
4264         Simplify; Don't bother removing a ] just to add it back.
4265         * textmodes/ispell.el (ispell-program-name): Use executable-find.
4267 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4269         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4270         New functions.
4271         (math-function-table): Add support for more C functions.
4273 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4275         * textmodes/flyspell.el (flyspell-check-pre-word-p)
4276         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4277         Protect delay handling for otherchars against empty otherchars.
4279 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4281         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4282         their respective macro declarations.
4283         * skeleton.el (define-skeleton):
4284         * progmodes/compile.el (define-compilation-mode):
4285         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4286         (define-ibuffer-filter):
4287         * emacs-lisp/generic.el (define-generic-mode):
4288         * emacs-lisp/easy-mmode.el (define-minor-mode)
4289         (define-globalized-minor-mode):
4290         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4291         * emacs-lisp/byte-run.el (defsubst):
4292         * custom.el (deftheme): Add doc-string metadata.
4294 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4296         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4298 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4300         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4302         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4303         * emacs-lisp/cl-macs.el: Idem.
4304         * emacs-lisp/cl-specs.el: Remove.
4306 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4308         Minor renaming of internal CL functions and variables.
4309         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4310         (cl--position): Rename from cl-position.
4311         (cl--delete-duplicates): Rename from cl-delete-duplicates.
4312         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4313         (cl--random-state): Rename from *random-state*.
4315 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4317         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4318         parens around the arg list (bug#11499).
4320 2012-05-17  Juri Linkov  <juri@jurta.org>
4322         * isearch.el (word-search-regexp, word-search-backward)
4323         (word-search-forward, word-search-backward-lax)
4324         (word-search-forward-lax): Move functions from search.c
4325         (bug#10145, bug#11381).
4327 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4329         * textmodes/flyspell.el (flyspell-check-pre-word-p)
4330         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4331         Delay for otherchars as for normal word components.
4333 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4335         * minibuffer.el (completion--sifn-requote): Fix last change.
4336         (minibuffer-local-must-match-filename-map):
4337         Move define-obsolete-variable-alias before its var.
4339 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4341         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4343         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4344         behavior.
4345         (completion--string-equal-p): New function.
4346         (completion--twq-all): Use it to get better assertion failure data.
4348         Only handle ".." and '..' quoting in shell-mode (bug#11466).
4349         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4350         (shell--requote-argument): New functions.
4351         (shell-completion-vars): Use them.
4352         (shell--parse-pcomplete-arguments): Rename from
4353         shell-parse-pcomplete-arguments.
4354         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
4355         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4356         Obey comint-file-name-quote-list.
4358         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4359         (smie-indent-keyword): Use it.
4361 2012-05-14  Stefan Merten  <smerten@oekonux.de>
4363         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4365 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4367         * net/rlogin.el (rlogin-mode-map): Fix last change.
4369 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
4371         * mail/smtpmail.el (smtpmail-send-command): Send the command and
4372         the following \r\n using a single `process-send-string', since the
4373         Lotus SMTP server refuses to accept any commands if they are sent
4374         with two `process-send-string's (Bug#11444).
4376 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4378         * shell.el (shell-parse-pcomplete-arguments):
4379         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
4381 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
4383         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
4384         (image-transform-scale, image-transform-right-angle-fudge): New vars.
4385         (image-transform-width, image-transform-fit-width): New functions.
4386         (image-transform-properties): Use them.
4387         (image-transform-check-size): New function.
4388         (image-toggle-display-image): Use it (for testing).
4389         (image-transform-set-rotation): Reduce angle mod 360.
4390         Delete obsolete comment.
4392 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
4394         * image-mode.el: Fix scaling (bug#11399).
4395         (image-transform-resize): Doc fix.
4396         (image-transform-properties): Default scale is 1 and height should
4397         be an integer.
4399 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
4401         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4402         than hard-coding `car', to fix misbehavior when moving forward.
4404 2012-05-13  Chong Yidong  <cyd@gnu.org>
4406         * emacs-lisp/tabulated-list.el (tabulated-list-format)
4407         (tabulated-list-entries, tabulated-list-padding)
4408         (tabulated-list-sort-key): Make permanent-local.
4410         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4411         (electric-buffer-list): Put electric buffer menu
4412         command descriptions in this docstring, instead of the docstring
4413         of electric-buffer-menu-mode.  Code cleanups.
4414         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
4415         Electric-buffer-menu-mode.
4416         (electric-buffer-update-highlight): Minor code cleanup.
4418 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
4420         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4421         (Bug#11447)
4423 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4425         Move define-obsolete-variable-alias before the var's definition.
4426         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4427         * tooltip.el (tooltip-hook):
4428         * textmodes/reftex-toc.el (reftex-toc-map):
4429         * textmodes/reftex-sel.el (reftex-select-label-map)
4430         (reftex-select-bib-map):
4431         * textmodes/reftex-index.el (reftex-index-map)
4432         (reftex-index-phrases-map):
4433         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4434         * progmodes/meta-mode.el (meta-mode-map):
4435         * novice.el (disabled-command-hook):
4436         * loadhist.el (unload-hook-features-list):
4437         * frame.el (blink-cursor):
4438         * files.el (find-file-not-found-hooks, write-file-hooks)
4439         (write-contents-hooks):
4440         * emulation/tpu-edt.el (GOLD-map):
4441         * emacs-lock.el (emacs-lock-from-exiting):
4442         * emacs-lisp/generic.el (generic-font-lock-defaults):
4443         * emacs-lisp/chart.el (chart-map):
4444         * dos-fns.el (register-name-alist):
4445         * dired-x.el (dired-omit-files-p):
4446         * desktop.el (desktop-enable):
4447         * cus-edit.el (custom-mode-hook):
4448         * buff-menu.el (buffer-menu-mode-hook):
4449         * bookmark.el (bookmark-read-annotation-text-func)
4450         (bookmark-exit-hooks):
4451         * allout.el (allout-mode-deactivate-hook)
4452         (allout-exposure-change-hook, allout-structure-added-hook)
4453         (allout-structure-deleted-hook, allout-structure-shifted-hook):
4454         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4455         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4456         comes before the corresponding variable's definition.
4458 2012-05-12  Chong Yidong  <cyd@gnu.org>
4460         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
4461         (Buffer-menu-mouse-select): Restore function (Bug#11459).
4462         (Buffer-menu-mode-map): Bind it.
4463         (Buffer-menu--pretty-name): Add a mouse-face property.
4465 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4467         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
4468         (prolog-upper-case-string, prolog-lower-case-string)
4469         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4470         (prolog-use-smie, prolog-smie-grammar): New vars.
4471         (prolog-smie-forward-token, prolog-smie-backward-token)
4472         (prolog-smie-rules): New funs.
4473         (prolog-comment-indent): Remove.
4474         (prolog-mode-variables): Use default comment indentation instead.
4475         Setup SMIE.
4476         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4477         (prolog-mode): Don't call them any more.
4478         (prolog-electric-colon, prolog-electric-dash)
4479         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4481         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4483         * minibuffer.el (completion--twq-all): Again, allow case differences.
4485         * term.el: Move keymap initialization code to be more idiomatic.
4486         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4487         (term-terminal-menu): Move initialization into declaration.
4488         (term-escape-char): Let the user set it in her .emacs.
4490         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4491         Provide SMIE-based indentation (not enabled by default yet).
4492         (sh-mode-map): Don't bind electric keys.
4493         Use electric-pair-mode instead of skeleton-pair.
4494         (sh-assignment-regexp): Fit within 80 columns.
4495         (sh-indent-supported): Specify actual shell name instead of boolean.
4496         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4497         (sh-maybe-here-document): Use it.  Make obsolete.
4498         (sh-electric-here-document-mode) New minor mode.
4499         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
4500         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4501         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4502         (sh-smie-rc-grammar, sh-use-smie): New vars.
4503         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4504         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4505         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4506         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4507         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4508         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4509         (sh-set-shell): Use smie-setup if requested.
4511         * term.el (term-set-escape-char): Properly set term-escape-char.
4512         See http://stackoverflow.com/questions/10524656.
4514 2012-05-10  Chong Yidong  <cyd@gnu.org>
4516         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4517         Use url-generic-parse-url, and handle host names and Windows
4518         filenames properly.
4519         (ffap-url-unwrap-remote): Use url-generic-parse-url.
4520         (ffap-url-unwrap-remote): Accept list values, specifying a list of
4521         URL schemes to work on.
4522         (ffap--toggle-read-only): New function.
4523         (ffap-read-only, ffap-read-only-other-window)
4524         (ffap-read-only-other-frame): Use it.
4525         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4526         necessary for ffap-url-unwrap-remote.
4528 2012-05-10  Dave Abrahams  <dave@boostpro.com>
4530         * cus-start.el (create-lockfiles): Add it.
4532 2012-05-09  Chong Yidong  <cyd@gnu.org>
4534         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4535         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4537 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4539         * shell.el (shell-completion-vars): Fix last change (bug#11348).
4541 2012-05-09  Chong Yidong  <cyd@gnu.org>
4543         * ansi-color.el (ansi-color-process-output): Check for validity of
4544         comint-last-output-start before using it.  This avoids a bad
4545         interaction with gdb-mi's input/output buffer.
4547 2012-05-09  Glenn Morris  <rgm@gnu.org>
4549         * files.el (dir-locals-read-from-file):
4550         Mention dir-locals in any error message.
4552 2012-05-09  Chong Yidong  <cyd@gnu.org>
4554         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4555         package (Bug#11410).
4557         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4558         variables into description.
4560 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4562         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4563         shell-delimiter-argument-list (bug#11348).
4564         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4566 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
4568         * textmodes/rst.el: Silence byte-compiler warnings.
4569         (rst-re-alist, rst-reset-section-caches): Move around.
4570         (rst-re): Use `characterp', not `char-valid-p'.
4571         (font-lock-beg, font-lock-end): Declare.
4573         * progmodes/idlw-shell.el (specs): Remove reference to deleted
4574         variable `idlwave-shell-activate-alt-keybindings' and simplify.
4576         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4578 2012-05-08  Glenn Morris  <rgm@gnu.org>
4580         * files.el (auto-mode-alist): Treat ".make" like ".mk".
4582 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4584         * vc/log-edit.el: Add GNU coding standards highlighting.
4585         (log-edit-font-lock-gnu-style)
4586         (log-edit-font-lock-gnu-keywords): New vars.
4587         (log-edit-font-lock-keywords): New fun.
4588         (log-edit-mode): Don't fold case in font-lock.
4589         (log-edit-font-lock-keywords): Do not assume case-folding.
4591         * imenu.el: Misc cleanup.  Make docstrings out of comments.
4592         Use lexical-binding.
4593         (imenu--index-alist, imenu--last-menubar-index-alist)
4594         (imenu-menubar-modified-tick): Use defvar-local.
4595         (imenu--split-menu): Remove unused var.
4596         (imenu--cleanup-seen): Declare as global.
4597         (imenu--cleanup): Use dolist.
4599         * subr.el (defvar-local): Add debug spec and doc-string position.
4601 2012-05-08  Glenn Morris  <rgm@gnu.org>
4603         * language/burmese.el, language/cham.el, language/czech.el:
4604         * language/english.el, language/georgian.el, language/greek.el:
4605         * language/japanese.el, language/khmer.el, language/korean.el:
4606         * language/lao.el, language/misc-lang.el, language/romanian.el:
4607         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4608         * language/thai.el, language/utf-8-lang.el:
4609         Remove no-byte-compile setting.
4611         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
4613 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4615         * progmodes/make-mode.el (makefile-browse):
4616         Remove unnecessary interactive.  (Bug#11324)
4618 2012-05-07  Glenn Morris  <rgm@gnu.org>
4620         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4622         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4624 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4626         * loadup.el: Preload newcomment.el.
4627         * newcomment.el: Move autoload-only code to toplevel.
4629         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4630         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4631         Handle new :right-align column property.
4632         (tabulated-list-print-col): Idem, plus use `display' text-property to
4633         try and preserve alignment for variable pitch fonts.
4635 2012-05-07  Chong Yidong  <cyd@gnu.org>
4637         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4638         (tabulated-list-use-header-line): New var.
4639         (tabulated-list-init-header): Use it.
4640         (tabulated-list-print-fake-header): New function.
4641         (tabulated-list-print): Use it.
4642         (tabulated-list-sort-button-map): Add non-header-line commands.
4643         (tabulated-list-init-header): Add column name property to basic
4644         labels as well.
4645         (tabulated-list-col-sort): Handle non-header-line button case.
4646         (tabulated-list--sort-by-column-name): Fix a corner case.
4648         * buff-menu.el (list-buffers--refresh):
4649         Handle Buffer-menu-use-header-line.
4651 2012-05-06  Chong Yidong  <cyd@gnu.org>
4653         * buff-menu.el: Convert to Tabulated List mode.
4654         (Buffer-menu-buffer+size-width): Make obsolete.
4655         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4656         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4657         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
4658         documentation into docstring of buffer-menu.
4659         (Buffer-menu-toggle-files-only): Add an informative message.
4660         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4661         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4662         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4663         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4664         (Buffer-menu-execute, Buffer-menu-select)
4665         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4666         (Buffer-menu-bury): Use Tabulated List machinery.
4667         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4668         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
4669         Delete.
4670         (list-buffers--refresh): New function.
4671         (list-buffers-noselect): Use it.
4672         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4673         (Buffer-menu--pretty-file-name): New helper functions.
4675         * loadup.el: Preload tabulated-list.
4677         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4678         tabulated-list-sort-column.
4679         (tabulated-list-init-header): Add the initial aligning space even
4680         if tabulated-list-padding is zero.
4682 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
4684         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4685         whose cdr is not a cons cell correctly (bug#11038).
4687 2012-05-06  Chong Yidong  <cyd@gnu.org>
4689         * emacs-lisp/tabulated-list.el (tabulated-list-format):
4690         Accept additional plist in column descriptors.
4691         (tabulated-list-init-header): Obey it.
4692         (tabulated-list-get-entry): New function.
4693         (tabulated-list-put-tag): Use it.  Use string-width instead of
4694         length.
4695         (tabulated-list--column-number): New function.
4696         (tabulated-list-print): Use it.
4697         (tabulated-list-print-col): New function.
4698         Set `tabulated-list-column-name' property on each column's text.
4699         (tabulated-list-print-entry): Use it.
4700         (tabulated-list-delete-entry, tabulated-list-set-col):
4701         New functions.
4702         (tabulated-list-sort-column): New command (Bug#11337).
4704         * buff-menu.el (list-buffers): Move C-x C-b binding from
4705         buff-menu.el to bindings.el.
4707         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4708         :advertised-binding feature.
4710 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
4712         * progmodes/compile.el (compilation-internal-error-properties):
4713         Calculate start position correctly when end-col is set but
4714         end-line is not (Bug#11382).
4716 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
4718         * man.el (Man-unindent): Use text-property-default-nonsticky to
4719         prevent untabify from inheriting face properties (Bug#11408).
4721 2012-05-05  Stefan Merten  <smerten@oekonux.de>
4723         * textmodes/rst.el: Major merge with upstream development up to
4724         Docutils SVN r7399 / rst.el V1.2.1.
4726         Clarify maintainership and authors.
4728         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4729         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4730         (rst-official-version, rst-official-cvs-rev, rst-version)
4731         (rst-package-emacs-version-alist): New functions and variables
4732         for version information.
4734         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4735         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4736         (rst-mode-syntax-table, rst-mode): New and corrected functions
4737         and variables representing reStructuredText features.
4739         (rst-re): New function for reStructuredText regexes.  Use in
4740         many places.
4742         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4743         (rst-mode-map): Rebind keys.
4745         (rst-mode-lazy, rst-font-lock-keywords)
4746         (rst-font-lock-extend-region)
4747         (rst-font-lock-extend-region-internal)
4748         (rst-font-lock-extend-region-extend)
4749         (rst-font-lock-find-unindented-line-limit)
4750         (rst-font-lock-find-unindented-line-match)
4751         (rst-adornment-level, rst-font-lock-adornment-level)
4752         (rst-font-lock-adornment-match)
4753         (rst-font-lock-handle-adornment-pre-match-form)
4754         (rst-font-lock-handle-adornment-matcher): Major revision of
4755         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
4757         (rst-preferred-adornments, rst-adjust-hook)
4758         (rst-new-adornment-down, rst-preferred-bullets)
4759         (rst-preferred-bullets, rst-indent, rst-indent-width)
4760         (rst-indent-field, rst-indent-literal-normal)
4761         (rst-indent-literal-minimized, rst-indent-comment): Change,
4762         extend and improve customization.
4764         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4765         (rst-normalize-cursor-position, rst-get-decoration)
4766         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4767         (rst-rstrip, rst-toc-insert-find-delete-contents)
4768         (rst-shift-fill-region, rst-compute-bullet-tabs)
4769         (rst-debug-print-tabs, rst-debug-mark-found)
4770         (rst-shift-region-guts, rst-shift-region-right)
4771         (rst-shift-region-left, rst-use-char-classes)
4772         (rst-font-lock-keywords-function)
4773         (rst-font-lock-indentation-point)
4774         (rst-font-lock-find-unindented-line-begin)
4775         (rst-font-lock-find-unindented-line-end)
4776         (rst-font-lock-find-unindented-line)
4777         (rst-font-lock-adornment-point, rst-font-lock-level)
4778         (rst-adornment-level-alist): Remove functions and variables.
4780         (rst-compare-adornments, rst-get-adornment-match)
4781         (rst-suggest-new-adornment, rst-get-adornments-around)
4782         (rst-adornment-complete-p, rst-get-next-adornment)
4783         (rst-adjust-adornment, rst-display-adornments-hierarchy)
4784         (rst-straighten-adornments): Standardize function names to
4785         use "adornment" instead of "decoration".  Correct callers.
4786         Similar standardizing in many places.
4788         (rst-update-section, rst-adjust, rst-promote-region)
4789         (rst-enumerate-region, rst-bullet-list-region)
4790         (rst-repeat-last-character): Correct use of `interactive'.
4792         (rst-classify-adornment, rst-find-all-adornments)
4793         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4794         (rst-find-leftmost-column, rst-repeat-last-character):
4795         Refactor functions.
4797         (rst-find-title-line, rst-reset-section-caches)
4798         (rst-get-adornments-around, rst-adjust-adornment-work)
4799         (rst-arabic-to-roman, rst-roman-to-arabic)
4800         (rst-insert-list-pos, rst-insert-list-new-item)
4801         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4802         New functions.
4804         (rst-all-sections, rst-section-hierarchy)
4805         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4806         New variables.
4808         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4809         configuration instead of only buffer.  Change where necessary.
4811         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4812         (rst-shift-region, rst-adaptive-fill): New functions for
4813         indentation and filling.
4815         (rst-comment-line-break, rst-comment-indent)
4816         (rst-comment-insert-comment, rst-comment-region)
4817         (rst-uncomment-region): New functions for handling comments.
4819         (rst-compile): Quote shell arguments.
4821         (rst-compile-pdf-preview, rst-compile-slides-preview):
4822         Delete temporary files after use.
4824 2012-05-05  Glenn Morris  <rgm@gnu.org>
4826         * calendar/cal-html.el: Optionally include holidays in the output.
4827         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4828         (cal-html-holidays): New option.
4829         (cal-html-css-default): Add holiday entry.
4830         (holiday-in-range): Autoload it.
4831         (cal-html-htmlify-entry): Add optional class argument.
4832         (cal-html-htmlify-list): Add optional holidays argument.
4833         (cal-html-insert-agenda-days): Include holidays in the output.
4834         (cal-html-one-month): Maybe include holidays.
4836         * calendar/holidays.el (holiday-in-range):
4837         Move here from cal-tex-list-holidays.
4838         * calendar/cal-tex.el (cal-tex-list-holidays):
4839         Make it an obsolete alias for holiday-in-range.  Update all callers.
4841 2012-05-05  Chong Yidong  <cyd@gnu.org>
4843         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4844         Nextstep.
4846 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
4848         * files.el (file-auto-mode-skip): New var.
4849         (set-auto-mode-1): Use it.
4851 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4853         * repeat.el: Use lexical-binding.
4854         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4855         (repeat-undo-count): Remove.
4856         (repeat):
4857         * progmodes/octave-mod.el (octave-abbrev-start):
4858         * progmodes/f90.el (f90-abbrev-start):
4859         * face-remap.el (text-scale-adjust):
4860         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4862         * emacs-lisp/pcase.el (pcase--let*): New function.
4863         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4864         a bit more.
4865         (pcase--split-pred): Be more clever about ruling out overlap between
4866         a predicate and some constant pattern.
4867         (pcase--q1): Use `null' instead of (eq foo nil).
4869         * subr.el (setq-local, defvar-local): New macros.
4870         (kbd): Redefine as an alias.
4871         (with-selected-window): Leave unrelated frames alone.
4872         (set-temporary-overlay-map): New function.
4874 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4876         * subr.el (user-error): New function.
4877         * window.el (switch-to-buffer):
4878         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4879         (smerge-match-conflict):
4880         * simple.el (previous-matching-history-element)
4881         (next-matching-history-element, goto-history-element, undo-more)
4882         (undo-start):
4883         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4884         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4885         (next-file, tags-loop-scan, list-tags, complete-tag):
4886         * progmodes/compile.el (compilation-loop):
4887         * mouse.el (mouse-minibuffer-check):
4888         * man.el (Man-bgproc-sentinel, Man-goto-page):
4889         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4890         (Info-history-forward, Info-follow-reference, Info-menu)
4891         (Info-extract-menu-item, Info-extract-menu-counting)
4892         (Info-forward-node, Info-backward-node, Info-next-menu-item)
4893         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4894         (Info-next-reference, Info-prev-reference, Info-index)
4895         (Info-index-next, Info-follow-nearest-node)
4896         (Info-copy-current-node-name):
4897         * imenu.el (imenu--make-index-alist)
4898         (imenu-default-create-index-function, imenu-add-to-menubar):
4899         * files.el (basic-save-buffer, recover-file):
4900         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4901         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4902         (checkdoc-message-text, checkdoc-defun):
4903         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4904         * cus-edit.el (customize-changed-options, customize-rogue)
4905         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4906         (custom-variable-mark-to-reset-standard)
4907         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4908         (custom-file):
4909         * completion.el (check-completion-length):
4910         * comint.el (comint-search-arg)
4911         (comint-previous-matching-input-string-position)
4912         (comint-previous-matching-input)
4913         (comint-replace-by-expanded-history-before-point, comint-send-input)
4914         (comint-copy-old-input, comint-backward-matching-input)
4915         (comint-goto-process-mark, comint-set-process-mark):
4916         * calendar/calendar.el (calendar-cursor-to-date): Use it.
4917         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4919 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4921         * dabbrev.el (dabbrev--ignore-case-p): New function.
4922         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4923         Use it.
4925         * files.el (automount-dir-prefix): Mark as obsolete.
4927 2012-05-04  Glenn Morris  <rgm@gnu.org>
4929         * patcomp.el, play/bruce.el: Move to obsolete/.
4931 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
4933         Fix minor Y10k bugs.
4934         * arc-mode.el (archive-unixdate):
4935         * autoinsert.el (auto-insert-alist):
4936         * calc/calc-forms.el (math-this-year):
4937         * emacs-lisp/copyright.el (copyright-current-year)
4938         (copyright-update-year, copyright):
4939         * tar-mode.el (tar-clip-time-string):
4940         * time.el (display-time-update):
4941         Don't assume years have 4 digits.
4943 2012-05-04  Chong Yidong  <cyd@gnu.org>
4945         * dos-w32.el (file-name-buffer-file-type-alist)
4946         (direct-print-region-use-command-dot-com):
4947         * ffap.el (ffap-menu-regexp):
4948         * find-file.el (ff-special-constructs):
4949         * follow.el (follow-debug):
4950         * forms.el (forms--debug):
4951         * iswitchb.el (iswitchb-all-frames):
4952         * ido.el (ido-all-frames):
4953         * emacs-lisp/timer.el (timer-max-repeats):
4954         * mail/feedmail.el (feedmail-mail-send-hook)
4955         (feedmail-mail-send-hook-queued):
4956         * mail/footnote.el (footnote-signature-separator):
4957         * mail/mailabbrev.el (mail-alias-separator-string)
4958         (mail-abbrev-mode-regexp):
4959         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4960         * progmodes/idlwave.el (idlwave-libinfo-file)
4961         (idlwave-default-completion-case-is-down)
4962         (idlwave-library-routines): Convert defvars to defcustoms.
4964         * mail/rmail.el (rmail-decode-mime-charset):
4965         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4966         (idlwave-shell-fix-inserted-breaks)
4967         (idlwave-shell-activate-alt-keybindings)
4968         (idlwave-shell-use-breakpoint-glyph):
4969         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4971 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4973         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4975 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
4977         * progmodes/verilog-mode.el (font-lock-keywords):
4978         Fix mis-highligting auto.  Reported by Craig Barner.
4979         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4980         defines from global name space. Reported by Dan Dever.
4981         (verilog-auto-reset, verilog-auto-reset-widths)
4982         (verilog-auto-tieoff): Support using unbased numbers for
4983         AUTORESET and AUTOTIEOFF.
4984         (verilog-submit-bug-report): Update variable list.
4985         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4986         parenthesis from not matching. Reported by Michael Rytting.
4987         (verilog-auto-template-lint): Fix hash error when linting modules
4988         with no used templates.
4989         (verilog-warn, verilog-warn-error)
4990         (verilog-warn-fatal): When non-interactive report multiple
4991         warnings before exiting.  Suggested by Brad Dobbie.
4992         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4993         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4994         to report unused template errors.  Reported by Brad Dobbie.
4995         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4996         nets, bug438. Reported by Vns Blore.
4997         (verilog-auto-inout-module, verilog-auto-reg)
4998         (verilog-read-decls, verilog-read-sub-decls-sig)
4999         (verilog-signals-edit-wire-reg, verilog-signals-with):
5000         Fix passing of Verilog data types in ANSI input/output ports
5001         such as "output logic" into the AUTOs. Special case "wire" and
5002         "reg" for backwards compatibility presuming Verilog 2001.
5003         (verilog-auto-ascii-enum): Add "auto enum" as alias.
5004         (verilog-preprocess): Fix replication of preprocess output.
5005         Reported by Brad Dobbie.
5006         (verilog-auto-inst-interfaced-ports):
5007         Create verilog-auto-inst-interfaced-ports, bug429.
5008         Reported by Julian Gorfajn.
5009         (verilog-after-save-font-hook)
5010         (verilog-before-save-font-hook): New variable.
5011         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5012         (verilog-save-font-mods): Wrap disabling fontification, reported
5013         by David Rogoff.
5014         (verilog-do-indent, verilog-pretty-declarations-auto)
5015         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5016         Reported by Pierre-David Pfister.
5017         (verilog-set-auto-endcomments): Fix endtask auto comments outside
5018         of class declarations, bug292.  Reported by Kevin Heilman.
5019         (verilog-read-decls): Fix 'parameter type' not appearing in
5020         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
5021         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5022         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5023         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5024         Reported by David Kravitz.
5026 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
5028         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5029         assignment with tests in ifs and for loops.
5030         (verilog-extended-complete-re, verilog-complete-reg): Change so
5031         that DPI inport functions don't look like fuction declarations.
5032         (verilog-pretty-expr): Don't line up assignment
5033         operations to the test and increment in if and for loops
5034         (verilog-extended-complete-re, verilog-complete-reg): Change so
5035         that DPI inport functions don't look like fuction declarations.
5037 2012-05-03  Kenichi Handa  <handa@m17n.org>
5039         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
5040         decoding, and show a warning message without signaling an error
5041         (Bug#11282).
5043 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5045         * emacs-lisp/bytecomp.el
5046         (byte-compile-file-form-custom-declare-variable): Compile all elements,
5047         since cconv.el might have introduced :fun-body, internal-make-closure,
5048         and friends for bytecomp to handle (bug#11391).
5049         * custom.el (defcustom): Avoid ((λ ..) ..).
5051 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5053         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5055 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
5057         * notifications.el (dbus-debug):
5058         * term/linux.el (gpm-mouse-enable):
5059         * term/screen.el (xterm-register-default-colors): Declare.
5061 2012-05-02  Chong Yidong  <cyd@gnu.org>
5063         * cus-start.el (gc-cons-percentage, exec-suffixes)
5064         (dos-display-scancodes, dos-hyper-key, dos-super-key)
5065         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5066         (make-cursor-line-fully-visible, void-text-area-pointer)
5067         (font-list-limit): Add customization data.
5069         * allout.el (allout-exposure-change-functions)
5070         (allout-structure-added-functions)
5071         (allout-structure-deleted-functions)
5072         (allout-structure-shifted-functions): Rename abnormal hooks from
5073         *-hook, and convert to defcustoms.
5074         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5075         Convert to defcustoms.
5076         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5078         * allout-widgets.el: Hook callers changed.
5080 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
5082         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5083         the yanked message in preference to the default value of
5084         buffer-file-coding-system.
5086 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
5088         * window.el (display-buffer--action-function-custom-type):
5089         Fix entry.
5091 2012-05-02  Alan Mackenzie  <acm@muc.de>
5093         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5095 2012-05-01  Glenn Morris  <rgm@gnu.org>
5097         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5099         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
5101         * cus-edit.el (custom-variable-documentation): Simplify with format.
5103 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5104             Stefan Monnier  <monnier@iro.umontreal.ca>
5106         * simple.el (suggest-key-bindings, execute-extended-command):
5107         Move from keyboard.c.
5109 2012-05-01  Chong Yidong  <cyd@gnu.org>
5111         * follow.el: Eliminate advice.
5112         (set-process-filter, process-filter, sit-for): Advice deleted.
5113         (follow-mode-off-hook): Obsolete hook removed.
5114         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5115         Vars deleted.
5116         (follow-auto): Use a :set function.
5117         (follow-mode): Rewritten.  Don't advise process filters.
5118         (follow-switch-to-current-buffer-all, follow-scroll-up)
5119         (follow-scroll-down): Assume follow-mode is bound.
5120         (follow-comint-scroll-to-bottom)
5121         (follow-align-compilation-windows): New functions.
5122         (follow--window-sorter): New function.
5123         (follow-all-followers): Use it to explicitly sort windows by their
5124         positions; don't make assumptions about next-window order.
5125         (follow-windows-start-end, follow-delete-other-windows-and-split)
5126         (follow-calc-win-start): Doc fix.
5127         (follow-windows-aligned-p, follow-select-if-visible): Don't call
5128         vertical-motion unnecessarily.
5129         (follow-adjust-window): New function.
5130         (follow-post-command-hook): Use it.
5131         (follow-call-set-process-filter, follow-call-process-filter)
5132         (follow-intercept-process-output, follow-tidy-process-filter-alist)
5133         (follow-stop-intercept-process-output, follow-generic-filter):
5134         Functions deleted.
5135         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
5136         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5137         New functions, replacing advice on scroll-bar-* commands.
5138         (follow-mwheel-scroll): New function (Bug#4112).
5140         * comint.el (comint-adjust-point): New function.
5141         (comint-postoutput-scroll-to-bottom): Use it.
5142         Call follow-comint-scroll-to-bottom for Follow mode buffers.
5144 2012-05-01  Glenn Morris  <rgm@gnu.org>
5146         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5147         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5148         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5149         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5150         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5151         Remove no-byte-compile setting.
5153 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5155         * minibuffer.el (completion-table-with-quoting): Fix compatibility
5156         all-completions code to not return a number in the last cdr.
5158 2012-04-30  Leo Liu  <sdl.web@gmail.com>
5160         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5161         read-only error.
5163 2012-04-29  Chong Yidong  <cyd@gnu.org>
5165         * follow.el (follow-calc-win-end): Rewrite to handle partial
5166         screen lines correctly (Bug#8390).
5167         (follow-avoid-tail-recenter): Minor cleanup.
5169 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5171         Avoid the obsolete `assoc' package.
5172         * speedbar.el (speedbar-refresh): Avoid adelete.
5173         (speedbar-file-lists): Simplify and avoid aput.
5174         * man.el (Man--sections, Man--refpages): New vars, replacing
5175         Man-sections-alist and Man-refpages-alist.
5176         (Man-build-section-alist, Man-build-references-alist):
5177         Use them; avoid aput.
5178         (Man--last-section, Man--last-refpage): New vars.
5179         (Man-follow-manual-reference): Use them.
5180         Use the `default' arg of completing-read.
5181         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
5183 2012-04-27  Chong Yidong  <cyd@gnu.org>
5185         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5187         * startup.el (x-apply-session-resources): New function.
5189         * term/ns-win.el (ns-initialize-window-system):
5190         * term/w32-win.el (w32-initialize-window-system):
5191         * term/x-win.el (x-initialize-window-system): Use it to properly
5192         set menu-bar-mode and other vars from X resources, even if the
5193         initial frame is not a window-system frame (Bug#2299).
5195         * subr.el (read-key): Avoid running filter function when setting
5196         up temporary tool bar entries (Bug#9922).
5198 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
5200         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5201         (Bug#11344)
5203 2012-04-27  Chong Yidong  <cyd@gnu.org>
5205         * select.el (xselect--encode-string): New function, split from
5206         xselect-convert-to-string.
5207         (xselect-convert-to-string): Use it.
5208         (xselect-convert-to-filename, xselect-convert-to-os)
5209         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5210         returned strings are properly encoded (Bug#11315).
5212 2012-04-27  Chong Yidong  <cyd@gnu.org>
5214         * simple.el (delete-active-region): Move to killing custom group.
5216 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
5218         * progmodes/which-func.el (which-func-current): Quote %
5219         characters for mode-line processing.
5221 2012-04-27  Chong Yidong  <cyd@gnu.org>
5223         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5224         reaching eob (Bug#11286).
5226 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
5228         * progmodes/gdb-mi.el (gdb-control-level): New variable.
5229         (gdb): Make it buffer-local and init to zero.
5230         (gdb-control-commands-regexp): New variable.
5231         (gdb-send): Don't wrap in "-interpreter-exec console" if
5232         gdb-control-level is positive.  Increment gdb-control-level
5233         whenever the command matches gdb-control-commands-regexp, and
5234         decrement it each time the command is "end".  (Bug#11279)
5236 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
5238         * window.el (adjust-window-trailing-edge, enlarge-window)
5239         (shrink-window, window-resize):
5240         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5241         windows (Bug#11276).
5243 2012-04-27  Chong Yidong  <cyd@gnu.org>
5245         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
5246         fix "missing prefix" warning.  All callers changed.
5248 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5250         * emacs-lisp/assoc.el: Move to obsolete/.
5252 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5254         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
5256         * term/ns-win.el (ns-define-service):
5257         * progmodes/pascal.el (pascal-goto-defun):
5258         * progmodes/js.el (js--read-tab):
5259         * progmodes/etags.el (tags-lazy-completion-table):
5260         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5261         * emacs-lisp/ewoc.el (ewoc--wrap):
5262         * emacs-lisp/assoc.el (aput, adelete, amake):
5263         * doc-view.el (doc-view-convert-current-doc):
5264         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5266 2012-04-26  Chong Yidong  <cyd@gnu.org>
5268         * image.el (image-type-from-buffer): Only return supported image
5269         type (Bug#9045).
5271         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5272         value, for symmetry with diff-end-of-hunk.
5273         (diff-split-hunk, diff-find-source-location)
5274         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5275         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5276         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5277         compute the relevant hunk or file properly (Bug#6005).
5278         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5280 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5282         * vc/vc-mtn.el:
5283         * vc/vc-hg.el:
5284         * vc/vc-git.el:
5285         * vc/vc-dir.el:
5286         * vc/vc-cvs.el:
5287         * vc/vc-bzr.el:
5288         * vc/vc-arch.el:
5289         * vc/vc.el: Replace lexical-let by lexical-binding.
5290         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5291         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5292         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5294 2012-04-26  Chong Yidong  <cyd@gnu.org>
5296         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5297         (diff-mode-shared-map): Bind it to / and [remap undo].
5299         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5300         (ediff-window-setup-function): Use it as the default, to set up
5301         windows based on whether the current frame is graphical (Bug#2138).
5302         (ediff-choose-window-setup-function-automatically): Make obsolete.
5304         * vc/ediff-init.el: Always define ediff-pixel-width/height.
5306 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5308         * ffap.el: Remove old code for obsolete package.
5309         (ffap-complete-as-file-p): Remove.
5311         Use completion-table-with-quoting for comint and pcomplete.
5312         * comint.el (comint--unquote&requote-argument)
5313         (comint--unquote-argument, comint--requote-argument): New functions.
5314         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5315         (comint-quote-filename): Use regexp-opt-charset.
5316         (comint--common-suffix, comint--common-quoted-suffix)
5317         (comint--table-subvert): Remove.
5318         (comint-unquote-function, comint-requote-function): New vars.
5319         (comint--complete-file-name-data): Use them with
5320         completion-table-with-quoting.
5321         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5322         * pcomplete.el (pcomplete-arg-quote-list)
5323         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5324         (pcomplete-unquote-argument-function): Default to non-nil.
5325         (pcomplete-unquote-argument): Simplify.
5326         (pcomplete--common-quoted-suffix): Remove.
5327         (pcomplete-requote-argument-function): New var.
5328         (pcomplete--common-suffix): New function.
5329         (pcomplete-completions-at-point): Use completion-table-with-quoting
5330         and completion-table-subvert.
5332         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5333         (minibuffer--double-dollars): Preserve properties.
5334         (completion--sifn-requote): New function.
5335         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5337         * minibuffer.el: Add support for completion of quoted/escaped data.
5338         (completion-table-with-quoting, completion-table-subvert): New funs.
5339         (completion--twq-try, completion--twq-all): New functions.
5340         (completion--nth-completion): New function.
5341         (completion-try-completion, completion-all-completions): Use it.
5343 2012-04-25  Leo Liu  <sdl.web@gmail.com>
5345         * progmodes/python.el (python-pdbtrack-get-source-buffer):
5346         Use compilation-message if available to find real filename.
5348 2012-04-25  Chong Yidong  <cyd@gnu.org>
5350         * vc/diff-mode.el (diff-setup-whitespace): New function.
5351         (diff-mode): Use it.
5353         * vc/diff.el (diff-sentinel):
5354         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5355         Whitespace mode variables based on diff style (Bug#8612).
5357 2012-04-25  Leo Liu  <sdl.web@gmail.com>
5359         * progmodes/python.el (python-send-region): Add suffix .py to the
5360         temp file.
5362         * files.el (auto-mode-alist): Use javascript-mode instead.
5364 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
5366         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
5368         * net/soap-client.el (soap-resolve-references-for-sequence-type)
5369         (soap-resolve-references-for-array-type): Hack to prevent self
5370         references, see Bug#9.
5371         (soap-parse-envelope): Report the contents of the 'detail' node
5372         when receiving a fault reply.
5373         (soap-parse-envelope): Report the contents of the entire 'detail' node.
5375         * net/soap-inspect.el (soap-sample-value-for-simple-type)
5376         (soap-inspect-simple-type): New function.
5378         * net/soap-client.el (soap-simple-type): New struct.
5379         (soap-default-xsd-types, soap-default-soapenc-types)
5380         (soap-decode-basic-type, soap-encode-basic-type):
5381         support unsignedInt and double basic types.
5382         (soap-resolve-references-for-simple-type)
5383         (soap-parse-simple-type, soap-encode-simple-type): New function.
5384         (soap-parse-schema): Parse xsd:simpleType declarations.
5386         * net/soap-client.el (soap-default-xsd-types)
5387         (soap-default-soapenc-types): Add integer, byte and anyURI types.
5388         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5389         the local name of "soapenc:Array".
5390         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
5391         decoding integer, byte and anyURI xsd types.
5393 2012-04-25  Chong Yidong  <cyd@gnu.org>
5395         * cus-edit.el (custom-buffer-create-internal): Update header text.
5397 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
5399         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5400         settings on 'system-type', not on 'window-system'.  On MS-Windows,
5401         set interactive-mode on in GDB.
5403 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5405         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5406         (ruby-syntax-propertize-regexp): Remove.
5407         (ruby-syntax-propertize-function): Split regexp into chunks.
5408         Match following code directly.
5410 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
5412         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5413         (ruby-syntax-propertize-regexp): New function.
5414         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5415         by a special keyword.
5417         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5418         (ruby-syntax-general-delimiters-goto-beg)
5419         (ruby-syntax-propertize-general-delimiters): New functions.
5420         (ruby-syntax-propertize-function): Use them to handle GDL.
5421         (ruby-font-lock-keywords): Move old handling of GDL...
5422         (ruby-font-lock-syntactic-keywords): .. to here.
5423         (ruby-calculate-indent): Adjust indentation for GDL.
5425 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
5427         * notifications.el (top): Remove unneeded declarations.
5428         (notifications-specification-version): Change to "1.2".
5429         (notifications-interface, notifications-notify-method)
5430         (notifications-close-notification-method): Fix docstring.
5431         (notifications-get-capabilities-method): New defconst.
5432         (notifications-notify): Add :action-items, :resident and
5433         :transient hints.  Change "image_data" to "image-data" and
5434         "image_path" to "image-path".
5435         (notifications-get-capabilities): New defun.
5437 2012-04-24  Leo Liu  <sdl.web@gmail.com>
5439         * progmodes/python.el: Move hideshow setup to the end.
5441 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
5443         * window.el (handle-select-window): Clear echo area since this is
5444         no more done by read_char (Bug#11304).
5446 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5448         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5449         and `/ M' to filter-derived-mode.
5450         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5451         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5452         (ibuffer-mark-by-mode): Use default rather than initial-input.
5453         (ibuffer-filter-by-derived-mode): Autoload and require-match.
5455 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
5457         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5458         (ibuffer-filter-by-derived-mode): New filter.
5459         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5461 2012-04-23  Andreas Politz  <politza@fh-trier.de>
5463         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5465 2012-04-23  Chong Yidong  <cyd@gnu.org>
5467         * cus-edit.el (customize-apropos, customize-apropos-options):
5468         Disable matching of non-option variables (Bug#11176).
5469         (customize-option, customize-option-other-window)
5470         (customize-changed-options): Doc fix.
5471         (customize-apropos-options, customize-apropos-faces)
5472         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5474         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
5475         Fix word list splitting (Bug#11132).
5476         (apropos-symbol, apropos-keybinding, apropos-label)
5477         (apropos-property, apropos-function-button)
5478         (apropos-variable-button, apropos-misc-button): New faces.
5479         (apropos-symbol-face, apropos-keybinding-face)
5480         (apropos-label-face, apropos-property-face, apropos-match-face):
5481         Variables removed (Bug#8396).
5482         (apropos-library-button, apropos-format-plist, apropos-print)
5483         (apropos-print-doc, apropos-describe-plist): Callers changed.
5485 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
5487         * net/xesam.el (xesam-mode-map): Use let-bound map in
5488         initialization.  (Bug#11292)
5490 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5492         Preserve ispell session localwords when switching back to
5493         original buffer.
5495         * textmodes/ispell.el (ispell-buffer-session-localwords):
5496         New buffer-local variable to hold buffer session localwords.
5497         (ispell-kill-ispell): Add option 'clear to delete session
5498         localwords.
5499         (ispell-command-loop, ispell-change-dictionary)
5500         (ispell-buffer-local-words): Preserve session localwords when
5501         needed.
5503         * textmodes/flyspell.el (flyspell-process-localwords)
5504         (flyspell-do-correct): Preserve session localwords when needed.
5506 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5508         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5509         using obsolete `translation-table-for-input'.
5510         (ispell-word, ispell-process-line, ispell-complete-word):
5511         Use plain `insert' instead of removed `ispell-insert-word'.
5513 2012-04-22  Chong Yidong  <cyd@gnu.org>
5515         * cus-edit.el (custom-variable-menu)
5516         (custom-variable-reset-saved, custom-face-menu)
5517         (custom-face-reset-saved): If there is no saved value, make the
5518         "reset-saved" operation bring back the default (Bug#9509).
5519         (custom-face-state): Properly detect themed faces.
5521         * faces.el (face-spec-set): Stop supporting deprecated form of
5522         third arg.
5524 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
5526         Move functions from C to Lisp.  Make non-blocking method calls
5527         the default.  Implement further D-Bus standard interfaces.
5529         * net/dbus.el (dbus-message-internal): Declare function.
5530         Remove unneeded function declarations.
5531         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5532         (dbus-message-type-method-return, dbus-message-type-error)
5533         (dbus-message-type-signal): Declare variables.  Remove local
5534         definitions.
5535         (dbus-interface-dbus, dbus-interface-peer)
5536         (dbus-interface-introspectable, dbus-interface-properties)
5537         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5538         Adapt docstring.
5539         (dbus-interface-objectmanager): New defconst.
5540         (dbus-call-method, dbus-call-method-asynchronously)
5541         (dbus-send-signal, dbus-method-return-internal)
5542         (dbus-method-error-internal, dbus-register-service)
5543         (dbus-register-signal, dbus-register-method): New defuns, moved
5544         from dbusbind.c
5545         (dbus-call-method-handler, dbus-setenv)
5546         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5547         New defuns.
5548         (dbus-call-method-non-blocking): Make it an obsolete function.
5549         (dbus-unregister-object, dbus-unregister-service)
5550         (dbus-handle-event, dbus-register-property)
5551         (dbus-property-handler): Obey the new structure of
5552         `bus-registered-objects'.
5553         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
5554         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5555         Use `dbus-call-method'.
5557 2012-04-22  Chong Yidong  <cyd@gnu.org>
5559         * cus-edit.el (custom-commands, custom-reset-menu)
5560         (Custom-reset-standard): Tweak labels.
5561         (custom-reset-button-menu): Change default to t.
5562         (custom-buffer-create-internal): For the custom-reset-button-menu
5563         case, put the revert button first.
5564         (custom-group-subtitle): New face.
5565         (custom-group-value-create): Align docstring to a specific column.
5567         * wid-edit.el (widget-documentation-link-add): Don't handle
5568         indentation in this function.
5569         (widget-documentation-string-indent-to): New function.
5570         (widget-documentation-string-value-create): Use it.
5572         * autorevert.el (auto-revert):
5573         * epg-config.el (epg):
5574         * ibuffer.el (ibuffer):
5575         * mpc.el (mpc):
5576         * ses.el (ses):
5577         * eshell/eshell.el (eshell):
5578         * net/ange-ftp.el (ange-ftp):
5579         * progmodes/ebnf2ps.el (postscript):
5580         * progmodes/flymake.el (flymake):
5581         * progmodes/prolog.el (prolog):
5582         * progmodes/verilog-mode.el (verilog-mode):
5583         * progmodes/which-func.el (which-func):
5584         * term/xterm.el (xterm):
5585         * textmodes/picture.el (picture):
5586         * textmodes/tildify.el (tildify):
5587         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5588         customization buffers.
5590 2012-04-22  Alan Mackenzie  <acm@muc.de>
5592         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5593         Adding a ) can hide the resulting (..) from searches.  Fix it.
5594         Bound the backward search to the position of the existing (.
5596 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
5598         * progmodes/verilog-mode.el (verilog-mode): Check whether
5599         which-func-modes is t before adding verilog-mode.
5600         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5602 2012-04-21  Leo Liu  <sdl.web@gmail.com>
5604         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
5606 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
5608         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5609         filling of the last column of a table (Bug#5635).
5610         (woman-find-next-control-line): New arg, specifying an additional
5611         regexp component for the control line.
5612         (woman2-roff-buffer): Use it.
5613         (woman-break-table): New function.
5614         (woman2-TS): Use it.
5616 2012-04-21  Chong Yidong  <cyd@gnu.org>
5618         * woman.el (woman-set-buffer-display-table, woman-decode-region)
5619         (woman-horizontal-escapes, woman-negative-vertical-space)
5620         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5621         (WoMan-warn-ignored): Use ?\s instead of ?\ .
5623 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5625         * minibuffer.el (completion-file-name-table): Complete user names.
5627 2012-04-20  Leo Liu  <sdl.web@gmail.com>
5629         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5630         and pcase-let*.
5632 2012-04-20  Chong Yidong  <cyd@gnu.org>
5634         * server.el (server-execute): Respect initial-buffer-choice if it
5635         is a string and there are no files to open (Bug#2825).
5636         (server-create-window-system-frame, server-create-tty-frame):
5637         Don't switch buffers here.
5638         (server-process-filter): Only try to open a window system frame if
5639         compiled with graphical support (Bug#8314).
5641 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
5643         * battery.el (battery-echo-area-format): Display remaining time
5644         for sysfs backend too (Bug#11269).
5645         (battery-linux-sysfs): Fix conditional for the charge.
5647 2012-04-20  Chong Yidong  <cyd@gnu.org>
5649         * progmodes/gdb-mi.el (gdb): Revert previous change.
5650         (gdb-inferior-io--init-proc): New function.
5651         (gdb-init-1): Use it.
5652         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5653         responsible for allocating a new pty and hooking it to gdb when
5654         the old pty gets an EIO due to process exit.
5655         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
5656         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5657         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5659 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
5661         * window.el (window-min-size, window-sizable, window-min-delta)
5662         (window-max-delta, window--resizable, window-resizable)
5663         (window-total-size, window-full-height-p, window-full-width-p)
5664         (window-in-direction, window--resize-mini-window, window-resize)
5665         (window--resize-child-windows-normal)
5666         (window--resize-child-windows, window--resize-siblings)
5667         (window--resize-this-window, adjust-window-trailing-edge)
5668         (enlarge-window, shrink-window): Doc fixes.
5670 2012-04-20  Chong Yidong  <cyd@gnu.org>
5672         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5673         New function to call delete-process on the gdb-inferior buffer's pty.
5674         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5675         pty process (Bug#11273).
5676         (gdb-update): New arg to suppress talking to the gdb process.
5677         (gdb-done-or-error): Use it.
5678         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5679         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5680         sentinel not being called.
5682         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5684         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5686 2012-04-20  Glenn Morris  <rgm@gnu.org>
5688         * net/network-stream.el (open-network-stream): Doc fix.
5690 2012-04-20  Chong Yidong  <cyd@gnu.org>
5692         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5694 2012-04-20  Alan Mackenzie  <acm@muc.de>
5696         Ensure searching for keywords is case sensitive.
5698         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5699         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5700         (c-defun-name, c-mark-function, c-cpp-define-name)
5701         (c-comment-indent, c-scan-conditionals, c-indent-defun)
5702         (c-context-line-break): Bind case-fold-search to nil.
5704         * progmodes/cc-mode.el (c-font-lock-fontify-region):
5705         Bind case-fold-search to nil.
5707 2012-04-20  Chong Yidong  <cyd@gnu.org>
5709         * mail/sendmail.el (mail-bury): Call return action with the right
5710         Rmail buffer (Bug#11242).
5712         * server.el (server-process-filter): Handle corner case where both
5713         tty and nowait options are present (Bug#11102).
5715 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
5717         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
5718         (top level): Put into the executable the ident-style '$Id:' tag on
5719         windows-nt as well.
5721 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5723         * electric.el (electric-indent-post-self-insert-function): Check that
5724         electric-indent-mode is enabled in current buffer.
5726 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
5728         * imenu.el (imenu-progress-message): Restore; it is "used" in
5729         erc/erc-imenu.el and net/snmp-mode.el.
5731 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
5733         * avoid.el (mouse-avoidance-mode): Mark unused arg.
5734         (mouse-avoidance-nudge-mouse): Remove unused binding.
5736         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5738         * descr-text.el (describe-char):
5739         * progmodes/python.el (python-describe-symbol):
5740         Don't call `toggle-read-only', set `buffer-read-only'.
5742         * imenu.el (imenu-default-goto-function): Mark unused args.
5743         (imenu-progress-message): Remove obsolete macro; all callers changed.
5745         * subr.el (keymap-canonicalize): Remove unused binding.
5746         (read-passwd): Mark unused arg.
5748         * tutorial.el (tutorial--display-changes): Remove unused binding.
5749         (tutorial--save-tutorial-to): Remove unused variable.
5751         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5752         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5753         (package-generate-autoloads, package-menu--generate)
5754         (package-menu--find-upgrades): Remove unused bindings.
5756         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5757         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
5758         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5759         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5760         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5761         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5762         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5763         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5764         (cua-delete-char-rectangle): Mark unused args.
5765         (cua-align-rectangle): Remove unused binding.
5767         * mail/rmail.el (compilation--message->loc)
5768         (epa--find-coding-system-for-mime-charset): Declare.
5770         * net/dbus.el (dbus-register-service): Declare.
5771         (dbus-name-owner-changed-handler): Remove unused binding.
5773         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5774         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5775         (nxml-scan-backward-within): Mark unused arg.
5776         (nxml-dynamic-markup-word): Remove unused binding.
5778         * mouse.el (mouse-menu-major-mode-map):
5779         * emacs-lisp/authors.el (authors-scan-change-log)
5780         (authors-add-to-author-list):
5781         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5782         * emacs-lisp/smie.el (smie-auto-fill):
5783         * mail/sendmail.el (mail-bury):
5784         * mail/unrmail.el (unrmail):
5785         * net/tls.el (open-tls-stream):
5786         * textmodes/picture.el (picture-mouse-set-point):
5787         Remove unused bindings.
5789 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
5791         * net/tramp.el (tramp-action-password): Let-bind
5792         `enable-recursive-minibuffers' to t.
5794 2012-04-18  Sam Steingold  <sds@gnu.org>
5796         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5797         instead of 'string to accommodate values like [f11].
5798         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5799         * progmodes/gdb-mi.el: Likewise.
5801 2012-04-18  Leo Liu  <sdl.web@gmail.com>
5803         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5804         current buffer.
5805         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5806         LOCAL is nil.
5808 2012-04-18  Chong Yidong  <cyd@gnu.org>
5810         * simple.el (line-move): Use forward-line if in batch mode
5811         (Bug#11053).
5813 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
5815         * files.el (after-find-file): Do not try to add a final newline if
5816         the buffer is read-only (Bug#11156).
5818 2012-04-17  Richard Stallman  <rms@gnu.org>
5820         * mail/rmail.el (rmail-start-mail):
5821         Pass (rmail-mail-return...) for the return-action.
5822         Pass (rmail-yank-current-message...) for the yank-action.
5823         (rmail-yank-current-message): New function.
5824         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5825         (rmail-reply): Likewise.
5826         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5828         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
5829         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
5830         buffer, not newbuf.
5832 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
5834         * server.el (server-ensure-safe-dir): Simplify.
5836 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5838         * emacs-lisp/smie.el: Provide smarter auto-filling.
5839         (smie-auto-fill): New function.
5840         (smie-setup): Use it.
5842         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5844 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
5846         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5847         (comment-indent): Use it.
5849 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5851         * ses.el: The overall change is to add cell renaming, that is
5852         setting fancy names for cell symbols other than name matching
5853         "\\`[A-Z]+[0-9]+\\'" regexp .
5854         (ses-localvars): Add ses--renamed-cell-symb-list.
5855         (ses-create-cell-variable): New defun.
5856         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
5857         (ses-relocate-formula): Relocate formulas only for cells the
5858         symbols of which are not renamed, i.e. symbols whose names do not
5859         match regexp "\\`[A-Z]+[0-9]+\\'".
5860         (ses-relocate-all): Relocate values only for cells the symbols of
5861         which are not renamed.
5862         (ses-load): Create cells variables as the (ses-cell ...) are read,
5863         in order to check row col consistency with cell symbol name only
5864         for cells that are not renamed.
5865         (ses-replace-name-in-formula): New defun.
5866         (ses-rename-cell): New defun.
5868 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
5870         * progmodes/perl-mode.el (perl-indent-parens-as-block):
5871         New option (bug#11118).
5872         (perl-calculate-indent): Respect it.
5874 2012-04-17  Glenn Morris  <rgm@gnu.org>
5876         * dired-aux.el (dired-mark-read-string): Doc fix.
5878 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
5880         * dired-aux.el (dired-mark-read-string): Offer optional completion.
5881         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
5883 2012-04-17  Glenn Morris  <rgm@gnu.org>
5885         * mouse.el (mouse-drag-track):
5886         * speedbar.el (speedbar-frame-mode):
5887         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5889 2012-04-16  Leo Liu  <sdl.web@gmail.com>
5891         * progmodes/python.el: Trivial cleanup.
5893 2012-04-16  Glenn Morris  <rgm@gnu.org>
5895         * vc/vc.el (vc-string-prefix-p):
5896         * vc/pcvs-util.el (cvs-string-prefix-p):
5897         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5898         * mpc.el (mpc-string-prefix-p):
5899         Make all of these into obsolete aliases for string-prefix-p.
5900         Update callers.
5901         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5903         * textmodes/two-column.el: Move custom options to the start.
5904         (frame-width): Remove compat definition.
5905         (2C-associate-buffer, 2C-dissociate):
5906         Use with-current-buffer rather than save-excursion.
5907         (2C-dissociate): Force a mode-line update.
5908         (2C-autoscroll): Use ignore-errors.
5910         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5911         Autoload trivia.
5913         * emacs-lisp/cl-extra.el (*random-state*):
5914         Remove unnecessary declaration.
5916         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5918         * play/cookie1.el (cookie-snarf):
5919         Give an explicit error if input file cannot be read.
5921         * play/yow.el (yow-file): Use expand-file-name rather than concat.
5923         * progmodes/perl-mode.el (c-macro-expand):
5924         Remove unnecessary autoload (it is in loaddefs.el).
5926         * textmodes/picture.el (picture-desired-column)
5927         (picture-update-desired-column): Convert comments to doc-strings.
5928         (picture-substitute): Remove function.
5929         (picture-mode-map): Initialize in the defvar.
5931         * woman.el: Remove eval-after-load for tar-mode.
5932         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5933         (woman-tar-extract-file): Autoload it.
5935         * frame.el (automatic-hscrolling): Make this alias obsolete.
5937 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5939         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
5940         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
5941         (ispell-dictionary-base-alist): Revert to original XEmacs
5942         friendly version for default.  [:alpha:] will be added in
5943         `ispell-set-spellchecker-params' if needed.
5945 2012-04-16  Chong Yidong  <cyd@gnu.org>
5947         * image.el (imagemagick--file-regexp): New variable.
5948         (imagemagick-register-types): Use it.
5949         (imagemagick-types-inhibit): Add :set function.  Allow new value
5950         of t to inhibit all types.
5952         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5953         so we can preload it.
5955         * loadup.el (fboundp): Preload regexp-opt, needed by
5956         imagemagick-register-types.
5958 2012-04-15  Chong Yidong  <cyd@gnu.org>
5960         * frame.el (scrolling): Remove nearly unused customization group.
5962         * scroll-all.el (scroll-all-mode): Move to windows group.
5964 2012-04-15  Chong Yidong  <cyd@gnu.org>
5966         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5968 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5970         Avoid the use of ((lambda ...) ...) in lexical-binding code.
5971         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
5973 2012-04-15  Glenn Morris  <rgm@gnu.org>
5975         * simple.el (process-file-side-effects): Doc fix.
5977 2012-04-15  Glenn Morris  <rgm@gnu.org>
5979         * international/mule-cmds.el (set-language-environment): Doc fix.
5981 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
5983         * server.el (server-auth-key, server-generate-key): Doc fixes.
5984         (server-get-auth-key): Doc fix.  Use `string-match-p'.
5985         (server-start): Reflow docstring.
5987 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
5989         * server.el (server-generate-key): `called-interactively-p'
5990         requires a parameter.
5992 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
5994         * server.el (server-auth-key): New variable.
5995         (server-generate-key, server-get-auth-key): New function.
5996         (server-start): Use the new variable and functions to allow
5997         setting a permanent server key (bug#9423).
5999 2012-04-14  Leo Liu  <sdl.web@gmail.com>
6001         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6003 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
6005         Spelling fixes.
6006         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6007         Emacs uses American spelling.
6009 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
6011         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6012         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
6013         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6014         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
6016 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6018         * progmodes/which-func.el (which-func-modes): Change default.
6020 2012-04-14  Kim F. Storm  <storm@cua.dk>
6022         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6023         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6025 2012-04-14  Chong Yidong  <cyd@gnu.org>
6027         * custom.el (custom-theme-set-variables): Doc fix.
6029 2012-04-14  Glenn Morris  <rgm@gnu.org>
6031         * international/mule.el (set-auto-coding-for-load): Doc fix.
6033 2012-04-14  Alan Mackenzie  <acm@muc.de>
6035         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6036         imenu work again for Objective C Mode.  Correct the *-index values,
6037         these having been disturbed by a previous change in 2011-08.
6039         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6040         Correct two search limits.
6042 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6044         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6046 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
6048         * international/characters.el: Fix sorting.
6050 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6052         * international/characters.el: Add more missing Latin case pairs.
6054 2012-04-14  Glenn Morris  <rgm@gnu.org>
6056         * files.el (dir-locals-set-class-variables): Doc fix.
6058 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6060         * international/characters.el: Add set-case-syntax-pair call for
6061         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6062         counterpart.  (Bug#11209)
6064         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
6066 2012-04-14  Glenn Morris  <rgm@gnu.org>
6068         * calendar/holidays.el (calendar-check-holidays): Doc fix.
6070 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6072         * textmodes/ispell.el (ispell-dictionary-base-alist):
6073         Add data for Hebrew.
6075 2012-04-14  Chong Yidong  <cyd@gnu.org>
6077         * net/rcirc.el (rcirc-cmd-quit):
6078         Revert 2012-03-18 change (Bug#11192).
6080 2012-04-14  Glenn Morris  <rgm@gnu.org>
6082         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6084 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6086         * minibuffer.el (completion-in-region-mode-map):
6087         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
6089 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
6091         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6093 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
6095         * minibuffer.el (minibuffer-local-filename-syntax): New variable
6096         to allow `C-M-f' and `C-M-b' to move to the nearest path
6097         separator (bug#9511).
6099 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
6101         * avoid.el: Require cl when compiling.  And also move the
6102         `provide' to the end.
6104 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6106         * avoid.el (mouse-avoidance-banish-position): New variable.
6107         (mouse-avoidance-banish-destination): Use it (bug#10165).
6109 2012-04-13  Leo Liu  <sdl.web@gmail.com>
6111         * progmodes/which-func.el (which-func-modes): Add objc-mode.
6113 2012-04-13  Ken Brown  <kbrown@cornell.edu>
6115         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
6116         this is no longer needed now that cygstart understands file:// URLs.
6117         (browse-url-filename-alist): For the same reason, don't modify
6118         file:// URLs on Cygwin.
6120 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6122         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6123         the region on shift if the binding is already shifted (bug#11221).
6125 2012-04-12  Glenn Morris  <rgm@gnu.org>
6127         * mail/mailpost.el: Move to obsolete/.
6129 2012-04-12  Drew Adams  <drew.adams@oracle.com>
6131         * imenu.el (imenu--generic-function): Ignore invisible definitions
6132         (bug#10123).
6134 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
6136         * hexl.el (hexl-bits): New variable.
6137         (hexl-options): Mention the variable in the doc string.
6138         (hexl-rulerise, hexl-line-displen): New functions.
6139         (hexl-mode): Mention the new variable.
6140         (hexl-mode, hexl-current-address, hexl-current-address):
6141         Use the displen.
6142         (hexl-ascii-start-column): New function.
6143         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6144         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6146 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6148         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6149         '("-i" ENCODING), in 2 separate command-line arguments, to specify
6150         the encoding, as expected by hunspell.
6152 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6154         * battery.el (battery--linux-sysfs-regexp): New const.
6155         (battery-status-function): Use it.  Remove yeeloong special case.
6156         (battery-yeeloong-sysfs): Remove.
6157         (battery-echo-area-format): Remove yeeloong special case.
6159 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6161         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6162         Reported by Noah Friedman.
6164         * subr.el (read-passwd): Use read-string.
6166 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6168         * vcursor.el (vcursor-move): Increase the priority of the overlay
6169         (bug#9663).
6171 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6173         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6174         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6176 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
6178         * textmodes/artist.el (artist-mode): Convert artist-mode to use
6179         define-minor-mode (bug#10760).
6181 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
6183         * progmodes/grep.el (rgrep): Tweak the find command line so
6184         that directories matching `grep-find-ignored-files' won't be
6185         pruned (bug#10351).
6187 2012-04-11  Chong Yidong  <cyd@gnu.org>
6189         * startup.el (command-line): Remove support for long-obsolete
6190         variable font-lock-face-attributes.
6192 2012-04-11  Glenn Morris  <rgm@gnu.org>
6194         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6196 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6198         * window.el (window--state-get-1): Obey window-point-insertion-type.
6200 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
6202         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6203         to previous function when point is on the first character of a
6204         function.  Take care of that in `narrow-to-defun' (bug#6157).
6206 2012-04-11  Glenn Morris  <rgm@gnu.org>
6208         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6209         not just file-errors.
6211         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6212         (vc-bzr-sha1): Use internal sha1.
6214 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6216         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6218 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
6220         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6221         that start in the middle of the line (bug#10496).
6223 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
6225         * battery.el (battery-linux-proc-acpi): Only one battery is
6226         discharged at a time, but that seems to confuse battery.el when
6227         computing `rate-type' for the battery not being discharged
6228         (bug#10332).
6230 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6232         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6234         * international/quail.el: Use dolist and simplify.
6235         (quail-define-package, quail-update-keyboard-layout)
6236         (quail-define-rules): Use dolist.
6237         (quail-insert-kbd-layout, quail-get-translation): CSE.
6239         * tmm.el: Use dolist, remove left over hook.
6240         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6241         Use dolist.
6242         (calendar-load-hook): Don't mess with it.
6244         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6245         Use derived-mode-p.  Run the diff asynchronously.
6247 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6249         * obsolete/mouse-sel.el: Add an Obsolete-since header.
6251 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
6253         * misc.el: Display absolute path of loaded DLLs (bug#10424).
6254         (list-dynamic-libraries--loaded): New function.
6255         (list-dynamic-libraries--refresh): Use it.
6257 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
6259         * progmodes/python.el (python-fill-paragraph):
6260         Make python-fill-region in a multiline string work when font-lock is
6261         disabled (bug#7018).
6263 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
6265         * language/european.el (cp775): Add oem/legacy (en)coding on
6266         DOS/MS Windows for the Baltic languages.  There are still plenty
6267         of texts written in this encoding/codepage (bug#6519).
6269 2012-04-10  Glenn Morris  <rgm@gnu.org>
6271         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6272         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6274 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
6276         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6277         next-line "n" and previous-line "p" in order to make recentf more
6278         consistent with ibuffer, dired or org-mode (bug#9387).
6280 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6282         * image.el (put-image): Return the overlay created instead of the
6283         optional input string (bug#7834).  Note that this may break code
6284         that is (for some reason or other) depending on `put-image'
6285         returning the string.
6287         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6289         * simple.el (zap-to-char): Allow zapping using input methods
6290         (bug#1580).
6292         * textmodes/fill.el (fill-region): Leave point and mark where they
6293         were before filling (bug#5399).
6295 2012-04-09  Glenn Morris  <rgm@gnu.org>
6297         * version.el (emacs-bzr-get-version):
6298         Handle lightweight checkouts of local branches.
6300 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
6302         * international/characters.el: Recover lost case pairs.  (Bug#11209)
6304 2012-04-09  Chong Yidong  <cyd@gnu.org>
6306         * custom.el (custom-variable-p): Return nil for non-symbol
6307         arguments instead of signaling an error.
6308         (user-variable-p): Obsolete alias for custom-variable-p.
6310         * apropos.el (apropos-variable):
6311         * files-x.el (read-file-local-variable):
6312         * simple.el (set-variable):
6313         * woman.el (woman-mini-help):
6314         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6316 2012-04-09  Glenn Morris  <rgm@gnu.org>
6318         * startup.el (normal-top-level): Don't look for leim-list.el
6319         in places where it will not be found.  (Bug#910)
6321         * international/mule-cmds.el (set-default-coding-systems):
6322         * files.el (normal-mode):
6323         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
6324         This function was removed with ucs-tables.el in 2008.
6326 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
6328         * textmodes/ispell.el (ispell-check-version): For hunspell, set
6329         ispell-encoding8-command to "-i", without a trailing space.
6330         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6331         separate command-line arguments, to specify the encoding, since
6332         that's how hunspell expects it.
6334 2012-04-08  Glenn Morris  <rgm@gnu.org>
6336         * loadup.el: Load bindings before cus-start.
6337         This reduces somewhat the number of "rogue" settings in emacs -Q.
6339 2012-04-07  Glenn Morris  <rgm@gnu.org>
6341         * version.el (emacs-bzr-get-version): New function.
6342         (emacs-bzr-version): New variable.
6343         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
6344         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6346 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
6348         * international/uni-bidi.el, international/uni-category.el:
6349         * international/uni-combining.el, international/uni-decimal.el:
6350         * international/uni-decomposition.el, international/uni-digit.el:
6351         * international/uni-lowercase.el, international/uni-mirrored.el:
6352         * international/uni-name.el, international/uni-numeric.el:
6353         * international/uni-titlecase.el, international/uni-uppercase.el:
6354         Update for Unicode 6.1.
6356 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
6358         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6360 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6362         * window.el (shrink-window): Mention the `window-min-height'
6363         variable in the doc string.
6365 2012-04-05  Bastien Guerry  <bzg@altern.org>
6367         * color.el (color-lighten-name): Fix typo.
6369 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6371         * server.el (server--on-display-p): New function.
6372         (server--on-display-p): Use it.
6374 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
6376         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6377         (bug#11145).
6379 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6381         * comint.el (comint--common-quoted-suffix): Check string boundary
6382         before comparing (bug#11158).
6383         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6385 2012-04-04  Chong Yidong  <cyd@gnu.org>
6387         * minibuffer.el (completion-extra-properties): Doc fix.
6389         * subr.el (delayed-warnings-hook): Doc fix.
6391 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
6393         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6394         selection (Bug#11159).
6395         (epa-insert-keys): Inform that the default public key will be
6396         exported if no key is selected.
6398 2012-04-04  Richard Stallman  <rms@gnu.org>
6400         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6402 2012-04-03  Chong Yidong  <cyd@gnu.org>
6404         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6405         mail-insert-file, not its obsolete alias mail-attach-file.
6407 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
6409         * notifications.el (notifications-notify): Fix docstring.
6411 2012-04-02  Glenn Morris  <rgm@gnu.org>
6413         * emacs-lisp/authors.el (authors-aliases): Another addition.
6415 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
6417         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6418         `tramp-compat-call-process' instead of `tramp-local-call-process'.
6419         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6421 2012-04-01  Chong Yidong  <cyd@gnu.org>
6423         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6424         Handle root directory properly.
6425         (copy-directory): Caller changed.
6427         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6428         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6430 2012-03-31  Glenn Morris  <rgm@gnu.org>
6432         * term/xterm.el (xterm-extra-capabilities): Doc fix.
6434         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
6436         * calendar/calendar.el (calendar-window-list)
6437         (calendar-hide-window): Restore.  (Bug#11140)
6438         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6440         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6442 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6444         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6445         Check if file is a symlink (Bug#10489).
6447         * files.el (copy-directory): Likewise.
6449 2012-03-30  Chong Yidong  <cyd@gnu.org>
6451         * image.el (imagemagick-types-inhibit)
6452         (imagemagick-register-types): Doc fix.
6454 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6456         * textmodes/ispell.el (ispell-get-extended-character-mode):
6457         Disable extended-char-mode for hunspell.  hunspell does not support it
6458         and treats ~word as ordinary words in pipe mode.
6460 2012-03-30  Glenn Morris  <rgm@gnu.org>
6462         * tutorial.el (help-with-tutorial): Ensure local variables don't
6463         happen to make the buffer read-only.  (Bug#11127)
6465 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6467         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6468         (perl-calculate-indent): Return `noindent' in strings.
6470 2012-03-28  Sam Steingold  <sds@gnu.org>
6472         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6473         instead of the broken adhockery which does not prevent calendar
6474         buffers from being displayed at random after exit.
6475         (calendar-window-list, calendar-hide-window): Remove the broken
6476         adhockery.
6478 2012-03-28  Glenn Morris  <rgm@gnu.org>
6480         * replace.el (query-replace-map): Doc fix.
6482 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
6484         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6485         contents.  (Bug#11109)
6487 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6489         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6490         (bug#11077).
6491         (avl-tree--check, avl-tree--check-node): New funs.
6493 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
6495         * window.el (switch-to-visible-buffer): New option.
6496         (switch-to-prev-buffer, switch-to-next-buffer):
6497         Observe switch-to-visible-buffer.  Make sure that checking for a window
6498         showing a buffer already is done on the same frame.
6500 2012-03-27  Glenn Morris  <rgm@gnu.org>
6502         * startup.el (mail-host-address): Doc fix.
6504 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6506         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6507         than 197 variables.
6509 2012-03-26  Ami Fischman  <ami@fischman.org>
6511         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6513 2012-03-26  Glenn Morris  <rgm@gnu.org>
6515         * files.el (save-buffers-kill-emacs): Doc fix.
6517         * startup.el (normal-top-level, command-line, command-line-1):
6518         Give them doc strings.
6520 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
6522         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
6523         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
6525 2012-03-25  Chong Yidong  <cyd@gnu.org>
6527         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6528         theme if it was previously enabled before (Bug#11031).
6530         * cus-theme.el (custom-theme-write-faces): Retrieve current face
6531         spec with custom-face-get-current-spec if its :shown-value is not
6532         determined yet (Bug#9337).
6533         (customize-create-theme, custom-theme-revert): Doc fixes.
6535         * button.el (button-at): Minor addition to docstring.
6537 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
6539         * vc/vc.el (vc-merge): Fix a prompt.
6541 2012-03-24  Chong Yidong  <cyd@gnu.org>
6543         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6544         point (Bug#9623).
6546         * button.el (button-at): Minor addition to docstring.
6548 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6550         * newcomment.el (comment-choose-indent): No space after BOL.
6552 2012-03-22  Sam Steingold  <sds@gnu.org>
6554         * window.el (switch-to-prev-buffer): Revert last patch because the
6555         bug turned out to be an advertised feature (Elisp manual 28.14).
6557 2012-03-22  Glenn Morris  <rgm@gnu.org>
6559         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
6560         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6562 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6564         * net/network-stream.el (network-stream-open-starttls): Make error
6565         message under Windows be less misleading.
6567 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
6569         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6570         understands (bug#9942).
6572 2012-03-22  Chong Yidong  <cyd@gnu.org>
6574         * simple.el (end-of-visible-line): Handle return value of
6575         next-single-property-change properly (Bug#9371).
6577 2012-03-22  Kenichi Handa  <handa@m17n.org>
6579         * international/quail.el (quail-insert-kbd-layout): Fix previous
6580         change.  To avoid unwanted bidi reordering, use
6581         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6583 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
6585         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6586         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6587         (ruby-beginning-of-indent): Be more careful with the difference
6588         between word-boundary and symbol boundary.
6589         (ruby-mode-syntax-table): Make : a symbol constituent.
6591 2012-03-21  Andreas Politz  <politza@fh-trier.de>
6593         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6595 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6597         * progmodes/etags.el (tags-completion-at-point-function):
6598         Improve last fix.
6600         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6602 2012-03-21  Sam Steingold  <sds@gnu.org>
6604         * progmodes/etags.el (tags-completion-at-point-function):
6605         Avoid the error when point is inside the pattern.
6607 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
6609         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6610         line (Bug#10855).
6612 2012-03-21  Drew Adams  <drew.adams@oracle.com>
6614         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6616 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
6618         * ido.el (ido-set-current-directory, ido-read-internal)
6619         (ido-choose-completion-string, ido-completion-help): Handle nil
6620         value of ido-completion-buffer (Bug#11008).
6622 2012-03-21  Sam Steingold  <sds@gnu.org>
6624         * window.el (switch-to-prev-buffer): Do not switch to a visible
6625         window previous buffer, just like with the frame previous buffers.
6627 2012-03-21  Chong Yidong  <cyd@gnu.org>
6629         * faces.el (make-face, make-empty-face, copy-face):
6630         * face-remap.el (face-remap-add-relative, face-remap-set-base):
6631         Doc fixes.
6633 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6635         * wid-edit.el (widget-complete-field): Remove (bug#11051).
6636         (widget-complete): Remove broken use of it.
6638 2012-03-20  Chong Yidong  <cyd@gnu.org>
6640         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6641         Use string-width and truncate-string-width to handle arbitrary
6642         characters.
6644 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
6646         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6647         to draw rectangles, not squares.  (Regression introduced by revno
6648         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6650 2012-03-18  Chong Yidong  <cyd@gnu.org>
6652         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6653         it is not yet defined (for temacs).
6655 2012-03-18  Leo Liu  <sdl.web@gmail.com>
6657         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
6659 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
6661         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6662         (ispell-choices-win-default-height, ispell-silently-savep)
6663         (ispell-dictionary-alist, ispell-encoding8-command)
6664         (ispell-check-version, ispell-aspell-find-dictionary)
6665         (ispell-valid-dictionary-list, ispell-words-keyword)
6666         (ispell-get-word, ispell-internal-change-dictionary)
6667         (ispell-region, ispell-skip-region-list)
6668         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6669         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6670         (ispell-message-text-end, ispell-message)
6671         (ispell-buffer-local-parsing): Doc fix.
6673 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
6675         * htmlfontify.el: Add support for code block fontification for ODT
6676         export (Bug #9914).
6677         (hfy-optimisations): Define new option
6678         `body-text-only'
6679         (hfy-fontify-buffer): Honor above setting.
6680         (hfy-begin-span, hfy-end-span): New routines factored out form
6681         `hfy-fontify-buffer'.
6682         (hfy-begin-span-handler, hfy-end-span-handler): New variables
6683         that permit insertion of custom tags.
6684         (hfy-fontify-buffer): Use above handlers.
6685         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6686         (hfy-face-to-css): Re-defined to be a variable.
6687         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
6688         over multiple runs.  This is made possible by having the caller let
6689         bind a special variable `hfy-user-sheet-assoc'.
6690         (htmlfontify-string): New defun.
6691         (hfy-compile-face-map): Make sure that the last char in the
6692         buffer is correctly fontified.
6693         (hfy-face-resolve-face): Whitespace only change.
6695 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
6697         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6698         message more clear.
6700 2012-03-16  Leo Liu  <sdl.web@gmail.com>
6702         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6704 2012-03-16  Alan Mackenzie  <acm@muc.de>
6706         Further optimise the handling of large macros.
6708         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6709         limit to a call of `c-literal-limits'.
6710         (c-determine-+ve-limit): New function.
6711         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6712         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
6713         In CASE 5B, restrict a search limit to 500.
6714         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6716         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6717         Restrict macro bounds to +-500 from after-change's BEG END.
6719 2012-03-16  Leo Liu  <sdl.web@gmail.com>
6721         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6723 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
6725         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
6726         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
6728 2012-03-16  Glenn Morris  <rgm@gnu.org>
6730         * view.el (view-buffer, view-buffer-other-window)
6731         (view-buffer-other-frame): Doc fixes re special mode-class.
6733         * subr.el (eval-after-load): If named feature is provided not from
6734         a file, run after-load forms.  (Bug#10946)
6736         * calendar/calendar.el (calendar-insert-at-column):
6737         Handle non-unit-width characters a bit better.  (Bug#10978)
6739 2012-03-15  Chong Yidong  <cyd@gnu.org>
6741         * emacs-lisp/ring.el (ring-extend): New function.
6742         (ring-insert+extend): Extend the ring correctly (Bug#11019).
6744         * comint.el (comint-read-input-ring)
6745         (comint-add-to-input-history): Grow comint-input-ring lazily.
6747 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6749         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6750         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6752         * imenu.el: Fix multiple inheritance breakage (bug#9199).
6753         (imenu-add-to-menubar): Don't add a redundant index.
6754         (imenu-update-menubar): Handle a dynamically composed keymap.
6756 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
6758         * mail/sendmail.el (mail-encode-header):
6759         Bind rfc2047-encode-encoded-words to nil.
6761 2012-03-13  Glenn Morris  <rgm@gnu.org>
6763         * calendar/calendar.el (calendar-string-spread):
6764         Handle non-unit-width characters a bit better.  (Bug#10978)
6766 2012-03-13  Leo Liu  <sdl.web@gmail.com>
6768         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6769         directory and file as argument (Bug#10822).
6771 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
6773         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6774         For dynamically generated code, follow $PC.
6775         (gdb-disassembly-handler-custom): Handle no function name case.
6777 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
6779         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6780         * emulation/ws-mode.el (ws-query-replace):
6781         * sort.el (sort-regexp-fields):
6782         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
6784 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6786         * dabbrev.el: Fix cycle completion order (bug#10963).
6787         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6788         (dabbrev-completion): Don't use an obarray; provide
6789         a cycle-sort-function.
6791 2012-03-12  Leo Liu  <sdl.web@gmail.com>
6793         * simple.el (kill-new): Use equal-including-properties for comparison.
6794         (kill-do-not-save-duplicates): Doc fix.
6796 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6798         * dabbrev.el: Fix cycle completion (bug#10963).
6799         Use lexical binding and wrap to 80 columns.
6800         (dabbrev-completion): Delay computing the list of completions.
6802 2012-03-12  Kenichi Handa  <handa@m17n.org>
6804         * international/quail.el (quail-insert-kbd-layout): Surround each
6805         row by LRO and PDF instead of inserting many LRMs.  Pad the left
6806         and right of each non-spacing marks.  Insert invisible space
6807         between lower and upper characters to prevent composition.
6809 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6811         * minibuffer.el (minibuffer-complete): Don't get confused when the
6812         function is run twice via different commands (bug#10958).
6813         (complete-with-action): Fix docstring.
6815 2012-03-12  Chong Yidong  <cyd@gnu.org>
6817         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6818         (nxml-completion-at-point-function): New function.
6819         (nxml-mode): Use it.
6820         (nxml-bind-meta-tab-to-complete-flag): Default to t.
6822         * emacs-lisp/package.el (package-unpack, package-unpack-single):
6823         Load generated autoloads file before byte compiling (Bug#10970).
6824         (package--make-autoloads-and-compile): New helper fun.
6826 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
6828         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6830 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
6832         * autorevert.el (auto-revert-handler): Ensure, that
6833         file-readable-p is applied only for local files or in
6834         auto-revert-tail-mode.
6836 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
6838         * server.el (server-eval-at): Handle non-tcp connections.
6839         Decode result string.
6841         * server.el (server-msg-size): New constant.
6842         (server-reply-print): New function.
6843         (server-eval-and-print): Use it.
6844         (server-eval-at): Use server-quote-arg and server-unquote-arg.
6845         Handle -print-nonl.
6847 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
6849         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6850         (Bug#10987).
6852 2012-03-11  Chong Yidong  <cyd@gnu.org>
6854         * simple.el (goto-line): Doc fix (Bug#9938).
6856         * subr.el (save-window-excursion): Doc fix (Bug#9979).
6858         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6859         when finished (Bug#10963).
6861 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
6863         * window.el (split-window-below): Fix bug in case where
6864         split-window-keep-point is nil (Bug#10971).
6866 2012-03-11  Juri Linkov  <juri@jurta.org>
6868         * replace.el (replace-highlight): Set isearch-word to nil
6869         unconditionally.  (Bug#10887)
6871 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
6873         * net/mairix.el (mairix-replace-invalid-chars): Rename from
6874         mairix-replace-illegal-chars; all callers changed.  Don't remove
6875         ^, ~, and = characters: they are meaningful in mairix search specs.
6876         (mairix-widget-create-query): Add usage information about mairix
6877         search forms: negating words, searching for substrings, etc.
6879 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
6881         * international/fontset.el (font-encoding-alist): Add an entry for
6882         ksx1001 (Bug#5667).
6884 2012-03-10  Richard Stallman  <rms@gnu.org>
6886         * mail/sendmail.el (mail-encode-header):
6887         Set rfc2047-encode-encoded-words.
6889         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6891         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6892         view buffer means not swapped.
6893         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6894         (rmail-write-region-annotate): Error if real text has disappeared.
6896         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6898 2012-03-10  Chong Yidong  <cyd@gnu.org>
6900         * emulation/cua-rect.el (cua--init-rectangles):
6901         * emulation/cua-base.el (cua--init-keymaps):
6902         Add delete-forward-char to remappings (Bug#9666).
6904 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
6906         * speedbar.el (speedbar-unhighlight-one-tag-line):
6907         Avoid unhighlighting due to frame switching (Bug#10275).
6909 2012-03-10  Chong Yidong  <cyd@gnu.org>
6911         * minibuffer.el (completion-in-region, completion-help-at-point):
6912         Give the completion field overlay a high priority (Bug#6830).
6914         * dired.el (dired-goto-file): Recognize absolute file name
6915         listings (Bug#7126).
6916         (dired-goto-file-1): New helper function.
6917         (dired-toggle-read-only): Inhibit warnings.
6919 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
6921         * net/dbus.el (dbus-property-handler): Return empty array if
6922         there are no properties.
6924 2012-03-09  Leo Liu  <sdl.web@gmail.com>
6926         * savehist.el (savehist-printable): Stricter check for string
6927         value (Bug#10937).
6929 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
6931         * mail/smtpmail.el (smtpmail-send-it):
6932         Bind coding-system-for-write to *-unix, so that FCC files are kept in
6933         valid mbox format.
6935 2012-03-09  Glenn Morris  <rgm@gnu.org>
6937         * files.el (dir-locals-find-file):
6938         Don't check result is regular, readable.
6939         (dir-locals-read-from-file): Demote errors.
6941 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
6943         * international/quail.el (quail-insert-kbd-layout):
6944         Insert invisible LRM characters before each character in a keyboard
6945         layout cell, to prevent their reordering by bidi display engine.
6946         For details, see the discussion in
6947         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6949 2012-03-08  Alan Mackenzie  <acm@muc.de>
6951         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6952         the starting position; make it extend the marked region when
6953         invoked repeatedly - all under appropriate circumstances.
6954         Fixes bugs #5525, #10906.
6956 2012-03-08  Glenn Morris  <rgm@gnu.org>
6958         * files.el (locate-dominating-file, dir-locals-find-file):
6959         Undo 2012-03-06 change.
6961 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
6963         * international/quail.el (quail-help):
6964         Force bidi-paragraph-direction be left-to-right.  See discussion in
6965         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6966         for the reason.
6968 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
6970         Avoid superfluous registering of signals.  (Bug#10807)
6972         * notifications.el (notifications-on-action-object)
6973         (notifications-on-close-object): New defvars.
6974         (notifications-on-action-signal, notifications-on-closed-signal):
6975         Unregister the signal if not needed any longer.
6976         (notifications-notify): Register `notifications-action-signal' or
6977         `notifications-closed-signal', if :on-action or :on-close has been
6978         passed as argument.
6980 2012-03-07  Chong Yidong  <cyd@gnu.org>
6982         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6983         non-X platforms.
6985 2012-03-06  Glenn Morris  <rgm@gnu.org>
6987         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6988         (x-disown-selection-internal, x-get-selection-internal):
6989         Doc fix (add arglist signatures).  (Bug#10783)
6991 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
6993         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6994         Handle breakpoints with no "type".
6996 2012-03-06  Glenn Morris  <rgm@gnu.org>
6998         * files.el (locate-dominating-file): Add optional predicate argument.
6999         (dir-locals-find-file): Make use of above change.
7001 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
7003         * info.el (Info-insert-dir): Also try "dir.gz".
7005 2012-03-06  Glenn Morris  <rgm@gnu.org>
7007         * files.el (dir-locals-find-file):
7008         Ignore non-readable or non-regular files.  (Bug#10928)
7010         * files.el (locate-dominating-file): Doc fix.
7012 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
7014         * calendar/calendar.el (calendar-set-mode-line):
7015         `getenv' returns a string.  (Bug#10951)
7017 2012-03-05  Leo Liu  <sdl.web@gmail.com>
7019         * simple.el (backward-delete-char-untabify): Constrain point to
7020         field (Bug#10939).
7022         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7024 2012-03-05  Chong Yidong  <cyd@gnu.org>
7026         * simple.el (count-words): If called from Lisp, return the word
7027         count, for symmetry with `count-lines'.  Arglist changed.
7028         (count-words--message): Args changed.  Consolidate counting code
7029         from count-words and count-words-region.
7030         (count-words-region): Caller changed.
7031         (count-lines-region): Make it an obsolete alias.
7033 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
7035         * saveplace.el (save-place-to-alist)
7036         (save-place-ignore-files-regexp): Allow value nil to disable this
7037         feature.
7039 2012-03-04  Chong Yidong  <cyd@gnu.org>
7041         * faces.el (face-spec-reset-face): For the default face, reset the
7042         attributes to default values (Bug#10748).
7044 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7046         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7047         previous patch: Check `message-send-mail-function', and not the
7048         default function (bug#10897).
7050 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
7052         * notifications.el (notifications-on-action-signal)
7053         (notifications-on-closed-signal): Check for unique service name of
7054         incoming event.  Fix error in removing entry.
7055         (top): Register for signals with wildcard service name.
7056         (notifications-notify): Use daemon unique service name for map entries.
7058 2012-03-04  Chong Yidong  <cyd@gnu.org>
7060         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
7062 2012-03-04  Glenn Morris  <rgm@gnu.org>
7064         * abbrev.el (copy-abbrev-table, abbrev-table-p)
7065         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7066         (expand-abbrev, define-abbrev-table): Doc fixes.
7068 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7070         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7071         `message-default-send-mail-function' and not `send-mail-function'
7072         when doing the prompting for `sendmail-query-once' before sending
7073         in Message buffers (bug#10897).
7075         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7076         This is inconsistent with all the other stream functions, which leave
7077         the setting up to the higher levels (if so wanted) (bug#10931).
7079 2012-03-02  Alan Mackenzie  <acm@muc.de>
7081         Depessimize the handling of very large macros.
7083         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7084         (c-macro-cache-syntactic): New variables to implement a one
7085         element macro cache.
7086         (c-invalidate-macro-cache): New function.
7087         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7088         Adapt to use the new cache.
7089         (c-state-safe-place): Use better the cache of safe positions.
7090         (c-state-semi-nonlit-pos-cache)
7091         (c-state-semi-nonlit-pos-cache-limit):
7092         New variables for...
7093         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
7094         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
7095         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7096         Use c-state-semi-safe-place.
7098         * progmodes/cc-langs.el (c-get-state-before-change-functions):
7099         Add c-invalidate-macro-cache to the C, C++, Obj entries.
7101 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
7103         * jka-compr.el (jka-compr-call-process):
7104         Apply `file-accessible-directory-p' only when the default directory is
7105         not remote.
7107 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
7109         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
7110         access of FILE2, if FILE1 does not exist.
7112         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7113         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7115         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7116         Add "PAGER=" to `process-environment'.
7118 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
7120         * progmodes/sql.el: Bug fix
7121         (sql-get-login-ext): Save login values in globals.
7122         (sql-get-login): Use new version of `sql-get-login-ext'.
7123         (sql-interactive-mode): Set global `sql-connection' to nil.
7124         (sql-connect): Set global values for connection.
7125         (sql-product-interactive): Save global values as buffer local.
7127 2012-02-29  Leo Liu  <sdl.web@gmail.com>
7129         * abbrev.el (define-abbrevs): Reset sys to nil.
7131 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7133         * files.el (file-equal-p): Rename from `files-equal-p'.
7134         Return nil when one or both files don't exist.
7135         (file-subdir-of-p): Now only top directory must exists,
7136         return nil if it doesn't.
7137         (copy-directory): No need to test with `file-subdir-of-p' after
7138         creating dir.
7139         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7140         to `file-equal-p'.
7142 2012-02-28  Glenn Morris  <rgm@gnu.org>
7144         * shell.el (shell-mode):
7145         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7146         * play/landmark.el (landmark-font-lock-face-O):
7147         * play/handwrite.el (handwrite):
7148         * play/gomoku.el (gomoku-O):
7149         * net/browse-url.el (browse-url-browser-display):
7150         * international/mule.el (define-charset):
7151         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7152         * filesets.el (filesets-find-file-delay):
7153         * eshell/em-xtra.el (eshell-xtra):
7154         * eshell/em-unix.el (eshell-grep):
7155         * emulation/viper.el (viper-mode):
7156         * emacs-lisp/regexp-opt.el (regexp-opt-group):
7157         * emacs-lisp/easymenu.el (easy-menu-define):
7158         * calendar/timeclock.el (timeclock-use-display-time):
7159         * bs.el (bs-mode):
7160         * bookmark.el (bookmark-save-flag):
7161         Doc fix (standardize possessive apostrophe usage).
7163 2012-02-27  Chong Yidong  <cyd@gnu.org>
7165         * emulation/viper-cmd.el (viper-intercept-ESC-key):
7166         Fix key-binding lookup for ESC key (Bug#9146).
7168         * font-lock.el (font-lock-specified-p): Rename from
7169         font-lock-spec-present.  Callers changed.
7171 2012-02-27  Daniel Hackney  <dan@haxney.org>
7173         * emacs-lisp/package.el (package-compute-transaction):
7174         Handle holding a package version to t in package-load-list.
7176 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
7178         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7179         (tramp-get-inode, tramp-get-device): Use cached values.
7181 2012-02-26  Alan Mackenzie  <acm@muc.de>
7183         Check there is a font-lock specification before doing initial
7184         fontification.
7186         * font-core.el (font-lock-mode): Move the conditional from
7187         :after-hook to font-lock-initial-fontify.
7188         (font-lock-default-function): Move the check for a specification
7189         to font-lock-spec-present.
7191         * font-lock.el (font-lock-initial-fontify): Call ...
7192         (font-lock-spec-present): New function.
7194 2012-02-26  Jim Blandy  <jimb@red-bean.com>
7196         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7197         (gdb-send): Apply it to the operand of the '-interpreter-exec
7198         console' command, so that we can pass arguments with (say) quotes
7199         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
7201 2012-02-26  Chong Yidong  <cyd@gnu.org>
7203         * help-fns.el (describe-function-1): Clarify description of
7204         remapping (Bug#10844).
7206         * files.el (files-equal-p): Doc fix.
7207         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
7208         and quit the loop once a mismatch is found.
7210 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
7212         * bs.el (bs--show-with-configuration): Don't throw an error
7213         if the window cannot be split; otherwise, subsequent calls to
7214         bs-show fail, restoring a stale window config.  (Bug#10882)
7216 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
7218         * term/ns-win.el (global-map): Bind ns-drag-file to
7219         ns-find-file (Bug#5855, Bug#10050).
7221 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
7223         * calendar/parse-time.el (parse-time-string): Allow extractor to
7224         return nil.
7226 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
7228         * net/tramp.el (tramp-file-name-for-operation):
7229         Add `files-equal-p' and `file-subdir-of-p'.
7231         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7232         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7233         Add COPY-CONTENTS argument.
7235 2012-02-25  Chong Yidong  <cyd@gnu.org>
7237         Add custom groups for VC backends, for consistency with vc-bzr.
7239         * vc/vc-arch.el (vc-arch):
7240         * vc/vc-cvs.el (vc-cvs):
7241         * vc/vc-git.el (vc-git):
7242         * vc/vc-hg.el (vc-hg):
7243         * vc/vc-mtn.el (vc-mtn):
7244         * vc/vc-rcs.el (vc-rcs):
7245         * vc/vc-sccs.el (vc-sccs):
7246         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7247         All relevant defcustoms reassigned.
7249 2012-02-25  Chong Yidong  <cyd@gnu.org>
7251         * newcomment.el (comment-styles): Add autoload (Bug#10868).
7253         * term/x-win.el (x-initialize-window-system): Reduce default for
7254         x-selection-timeout to 5 seconds (Bug#8869).
7256 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7258         * files.el (files-equal-p, file-subdir-of-p): New functions.
7259         (copy-directory): Error when trying to copy a directory on itself.
7260         Add missing copy-contents arg to tramp handler.
7261         * dired-aux.el (dired-copy-file-recursive): Same.
7262         (dired-create-files): Modify destination when source is equal to
7263         dest when copying files.
7264         Return also when dest is a subdir of source.  (Bug#10489)
7266 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
7268         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7269         (Bug#10874)
7271 2012-02-23  Alan Mackenzie  <acm@muc.de>
7273         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7274         parameter "after-hook:" to allow the expansion to run code after
7275         the execution of the mode hooks.
7277         * font-lock.el (font-lock-initial-fontify): New function extracted
7278         from font-lock-mode-internal.
7280         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
7281         :after-hook.
7283 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7285         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7286         (completion--cache-all-sorted-completions): New function.
7287         (completion-all-sorted-completions): Use it.
7288         (completion--do-completion, minibuffer-force-complete):
7289         Use it to re-instate the flush hook.
7291         * icomplete.el (icomplete-completions): Replace last fix with a better
7292         one (bug#10850).
7294 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
7296         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7297         when it might call us back infinitely (bug#10797).
7299 2012-02-23  Glenn Morris  <rgm@gnu.org>
7301         * minibuffer.el (completion-category-overrides): Doc fix.
7303 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7305         * minibuffer.el (completion-table-with-context): Fix inf-loop.
7306         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7308 2012-02-23  Glenn Morris  <rgm@gnu.org>
7310         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
7311         (authors-obsolete-files-regexps, authors-ignored-files)
7312         (authors-ambiguous-files, authors-renamed-files-alist):
7313         Add more entries.
7315 2012-02-23  Juri Linkov  <juri@jurta.org>
7317         * isearch.el (isearch-occur): Sync interactive spec with occur's
7318         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
7320         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7322 2012-02-22  Juri Linkov  <juri@jurta.org>
7324         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7325         (ucs-insert): Doc fix.  Check for hex digits in the string.
7326         Don't display `nil' in the error message.  (Bug#10857)
7328 2012-02-22  Alan Mackenzie  <acm@muc.de>
7330         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
7332 2012-02-22  Glenn Morris  <rgm@gnu.org>
7334         * ffap.el (ffap-c-path):
7335         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
7337 2012-02-22  Chong Yidong  <cyd@gnu.org>
7339         * custom.el (load-theme): Doc fix.
7341 2012-02-22  Glenn Morris  <rgm@gnu.org>
7343         * dired-x.el (dired-guess-shell-alist-default):
7344         Remove escape sequences from nroff output.  (Bug#172)
7346 2012-02-21  Glenn Morris  <rgm@gnu.org>
7348         * vc/emerge.el (emerge-defvar-local):
7349         Set `permanent-local' property rather than unused `preserved'.
7351         * textmodes/picture.el (picture-delete-char): New alias.
7352         (picture-mode-map): Use it.  (Bug#10860)
7353         (picture-mode): Doc fix.
7355 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
7357         * newcomment.el (uncomment-region-default): Remove unused binding.
7359 2012-02-21  Glenn Morris  <rgm@gnu.org>
7361         * textmodes/picture.el (picture-motion, picture-motion-reverse)
7362         (picture-self-insert, picture-tab-chars): Doc fix.
7363         (picture-mode-map): Fix C-a, C-e.
7365 2012-02-20  Glenn Morris  <rgm@gnu.org>
7367         * emacs-lisp/authors.el (authors-aliases): Add another entry.
7369 2012-02-20  Leo Liu  <sdl.web@gmail.com>
7371         * icomplete.el (icomplete-completions): Check FROM arg before
7372         passing to substring (Bug#10850).
7374 2012-02-19  Chong Yidong  <cyd@gnu.org>
7376         * comint.el: Require ansi-color.
7377         (comint-output-filter-functions): Add ansi-color-process-output.
7379         * ansi-color.el: Don't set comint-output-filter-functions; it is
7380         now in the initial value defined in comint.el.
7381         (ansi-color-apply-face-function): New variable.
7382         (ansi-color-apply-on-region): Use it.
7383         (ansi-color-apply-overlay-face): New function.
7385         * shell.el (shell): No need to require ansi-color.
7386         (shell-mode): Use ansi-color-apply-face-function to highlight
7387         color escapes using font-lock-face property (Bug#10835).
7389 2012-02-19  Chong Yidong  <cyd@gnu.org>
7391         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7392         mode-line formats (Bug#10839).
7394 2012-02-18  Glenn Morris  <rgm@gnu.org>
7396         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7398         * mail/undigest.el (unforward-rmail-message): Doc fix.
7400         * saveplace.el (save-place-ignore-files-regexp): Add :version.
7402 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
7404         * international/characters.el (script-list): Sync with the latest
7405         Unicode Character Database.
7407 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
7409         * international/titdic-cnv.el: Remove duplicate coding tag.
7410         * language/cham.el: Likewise.
7411         * language/tai-viet.el: Likewise.
7413 2012-02-18  Glenn Morris  <rgm@gnu.org>
7415         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7416         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7417         (calendar-bahai-all-holidays-flag, calendar-other-dates):
7418         * calendar/diary-lib.el (diary-abbreviated-year-flag):
7419         * calendar/holidays.el (holiday-bahai-holidays)
7420         (calendar-holidays, list-holidays):
7421         Use utf-8 Bahá'í in doc-strings, menus, etc.
7423 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
7425         * saveplace.el (save-place-ignore-files-regexp): New variable
7426         allowing for excluding files from saving their location of point.
7427         The default value matches the temporary commit message editing
7428         files from Git, SVN, Bazaar, and Mercurial.
7429         (save-place-to-alist): Use it.
7431 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
7432             Stefan Monnier  <monnier@iro.umontreal.ca>
7434         * newcomment.el (uncomment-region-default): Don't leave extra space
7435         when an arg is provided (bug#8150).
7437 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
7439         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
7441 2012-02-17  Glenn Morris  <rgm@gnu.org>
7443         * net/socks.el: Require network-stream.  (Bug#10599)
7445 2012-02-17  Kenichi Handa  <handa@m17n.org>
7447         * international/charprop.el:
7448         * international/uni-name.el:
7449         * international/uni-old-name.el:
7450         * international/uni-comment.el: Regenerate.
7452 2012-02-16  Glenn Morris  <rgm@gnu.org>
7454         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7455         Interactively in calendar buffer, give an error if not on a date.
7457 2012-02-15  Glenn Morris  <rgm@gnu.org>
7459         * shell.el (shell-delimiter-argument-list):
7460         Revert 2011-02-17 change.  (Bug#8027)
7462 2012-02-15  Chong Yidong  <cyd@gnu.org>
7464         * minibuffer.el (completion-at-point-functions): Doc fix.
7466         * custom.el (defcustom): Doc fix; note use of defvar.
7468 2012-02-15  Glenn Morris  <rgm@gnu.org>
7470         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7471         Doc fixes.
7473 2012-02-14  Glenn Morris  <rgm@gnu.org>
7475         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7477 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
7479         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7480         way the ports list is computed.
7481         (smtpmail-query-smtp-server): Prompt the user for a port number if
7482         we can't connect to any of the standard ports (bug#10810).
7484 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
7486         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7488 2012-02-13  Glenn Morris  <rgm@gnu.org>
7490         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
7492 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
7494         * net/gnutls.el (gnutls-trustfiles): New variable.
7495         (gnutls-negotiate): Use it.
7497 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
7499         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7500         does its stuff if Gnus is running.
7502 2012-02-13  Alan Mackenzie  <acm@muc.de>
7504         Fix a loop in c-set-fl-decl-start.
7506         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
7507         c-backward-syntactic-ws actually moves backwards.
7509 2012-02-13  Leo Liu  <sdl.web@gmail.com>
7511         * net/rcirc.el (rcirc-markup-attributes): Move point to the
7512         beginning so that all \C-o chars are removed.
7514 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
7516         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
7518 2012-02-12  Alan Mackenzie  <acm@muc.de>
7520         Fix infinite loop with long macros.
7521         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
7523 2012-02-12  Chong Yidong  <cyd@gnu.org>
7525         * window.el (display-buffer): Doc fix (Bug#10785).
7527 2012-02-12  Glenn Morris  <rgm@gnu.org>
7529         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7530         (x-disown-selection-internal, x-get-selection-internal):
7531         Sync docs with the xselect.c versions.
7533         * allout-widgets.el: Add missing license notice.
7535 2012-02-11  Glenn Morris  <rgm@gnu.org>
7537         * select.el (x-get-selection-internal, x-own-selection-internal)
7538         (x-disown-selection-internal):
7539         * x-dnd.el (x-get-selection-internal): Update declarations.
7541         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7543         * window.el (window-sides-slots):
7544         * tool-bar.el (tool-bar-position):
7545         * term/xterm.el (xterm-extra-capabilities):
7546         * ses.el (ses-self-reference-early-detection):
7547         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7548         (verilog-auto-wire-type)
7549         (verilog-auto-delete-trailing-whitespace)
7550         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7551         (verilog-auto-tieoff-declaration):
7552         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7553         (sql-oracle-statement-starters, sql-oracle-scan-on):
7554         * progmodes/prolog.el (prolog-align-comments-flag)
7555         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7556         (prolog-left-indent-regexp, prolog-paren-indent-p)
7557         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7558         (prolog-types, prolog-mode-specificators)
7559         (prolog-determinism-specificators, prolog-directives)
7560         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7561         (prolog-electric-dot-flag)
7562         (prolog-electric-dot-full-predicate-template)
7563         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7564         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7565         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7566         (prolog-program-switches, prolog-prompt-regexp)
7567         (prolog-debug-on-string, prolog-debug-off-string)
7568         (prolog-trace-on-string, prolog-trace-off-string)
7569         (prolog-zip-on-string, prolog-zip-off-string)
7570         (prolog-use-standard-consult-compile-method-flag)
7571         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7572         (prolog-imenu-max-lines, prolog-info-predicate-index)
7573         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7574         (prolog-char-quote-workaround):
7575         * progmodes/cc-vars.el (c-defun-tactic):
7576         * net/tramp.el (tramp-encoding-command-interactive)
7577         (tramp-local-end-of-line):
7578         * net/soap-client.el (soap-client):
7579         * net/netrc.el (netrc-file):
7580         * net/gnutls.el (gnutls):
7581         * minibuffer.el (completion-category-overrides)
7582         (completion-cycle-threshold)
7583         (completion-pcm-complete-word-inserts-delimiters):
7584         * man.el (Man-name-local-regexp):
7585         * mail/feedmail.el (feedmail-display-full-frame):
7586         * international/characters.el (glyphless-char-display-control):
7587         * eshell/em-ls.el (eshell-ls-date-format):
7588         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7589         (lisp-lambda-list-keyword-parameter-indentation)
7590         (lisp-lambda-list-keyword-parameter-alignment):
7591         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7592         * dired-x.el (dired-omit-verbose):
7593         * cus-theme.el (custom-theme-allow-multiple-selections):
7594         * calc/calc.el (calc-highlight-selections-with-faces)
7595         (calc-lu-field-reference, calc-lu-power-reference)
7596         (calc-note-threshold):
7597         * battery.el (battery-mode-line-limit):
7598         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7599         (archive-7z-update):
7600         * allout.el (allout-prefixed-keybindings)
7601         (allout-unprefixed-keybindings)
7602         (allout-inhibit-auto-fill-on-headline)
7603         (allout-flattened-numbering-abbreviation):
7604         * allout-widgets.el (allout-widgets-auto-activation)
7605         (allout-widgets-icons-dark-subdir)
7606         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7607         (allout-widgets-theme-dark-background)
7608         (allout-widgets-theme-light-background)
7609         (allout-widgets-item-image-properties-emacs)
7610         (allout-widgets-item-image-properties-xemacs)
7611         (allout-widgets-run-unit-tests-on-load)
7612         (allout-widgets-time-decoration-activity)
7613         (allout-widgets-hook-error-post-time)
7614         (allout-widgets-track-decoration):
7615         Add missing :version tags to new defcustoms and defgroups.
7617         * progmodes/sql.el (sql-ansi-statement-starters)
7618         (sql-oracle-statement-starters): Add custom type.
7620         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7621         (prolog-system-version): Give it a type.
7623 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
7625         * term/pc-win.el (x-select-text, x-selection-owner-p)
7626         (x-own-selection-internal, x-disown-selection-internal)
7627         (x-get-selection-internal): Sync doc strings and argument lists
7628         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
7630 2012-02-11  Leo Liu  <sdl.web@gmail.com>
7632         * progmodes/python.el (python-end-of-statement): Fix infinite
7633         loop.  (Bug#10788)
7635 2012-02-10  Glenn Morris  <rgm@gnu.org>
7637         * international/mule-cmds.el (unify-8859-on-encoding-mode)
7638         (unify-8859-on-decoding-mode): Properly mark as obsolete.
7640 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
7642         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7643         about SMTP before checking the From header.
7645         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
7646         into own function for reuse by emacsbug.el.
7648 2012-02-10  Leo Liu  <sdl.web@gmail.com>
7650         * subr.el (condition-case-unless-debug): Rename from
7651         condition-case-no-debug.  All callers changed.
7652         (with-demoted-errors): Fix caller.
7654         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7655         * nxml/rng-valid.el (rng-do-some-validation):
7656         * emacs-lisp/package.el (package-refresh-contents)
7657         (package-menu-execute):
7658         * desktop.el (desktop-create-buffer):
7659         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
7661 2012-02-10  Glenn Morris  <rgm@gnu.org>
7663         * textmodes/bibtex.el:
7664         Add missing :version tags for new/changed defcustoms.
7666         * files.el (remote-file-name-inhibit-cache): Doc fixes.
7668 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
7670         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7671         (smtpmail-via-smtp): Use it, or fall back on the From address.
7672         (smtpmail-send-it): Ditto.
7674 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7676         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7677         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
7678         (byte-compile-tmp-var): New const.
7679         (byte-compile-defvar): Use it to minimize .elc size.
7680         Just use `defvar' rather than simulate it (bug#10761).
7682 2012-02-09  Glenn Morris  <rgm@gnu.org>
7684         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
7686         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7687         Add :version tags.
7689         * progmodes/compile.el (compilation-error-screen-columns)
7690         (compilation-first-column, compilation-filter-start): Doc fixes.
7692         * vc/log-view.el (log-view-toggle-entry-display):
7693         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7695         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7696         (report-emacs-bug-can-use-xdg-email):
7697         (report-emacs-bug-insert-to-mailer): Doc fixes.
7698         (report-emacs-bug): Message fix.
7700         * net/browse-url.el (browse-url-can-use-xdg-open)
7701         (browse-url-xdg-open): Doc fixes.
7703         * electric.el (electric-indent-mode, electric-pair-mode)
7704         (electric-layout-rules, electric-layout-mode): Doc fixes.
7705         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7707 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
7709         * server.el (server-unselect-display): Don't inadvertently kill
7710         the current buffer.  (Bug#10729)
7712 2012-02-08  Glenn Morris  <rgm@gnu.org>
7714         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7715         (sql-list-table): Doc fixes.
7717         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7718         Comment out (does nothing).
7720         * completion.el (dynamic-completion-mode):
7721         * dirtrack.el (dirtrack-debug-mode):
7722         * electric.el (electric-layout-mode):
7723         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7724         * face-remap.el (text-scale-mode, buffer-face-mode):
7725         * iimage.el (iimage-mode):
7726         * image-mode.el (image-transform-mode):
7727         * minibuffer.el (completion-in-region-mode):
7728         * scroll-lock.el (scroll-lock-mode):
7729         * simple.el (next-error-follow-minor-mode):
7730         * tar-mode.el (tar-subfile-mode):
7731         * tooltip.el (tooltip-mode):
7732         * vcursor.el (vcursor-use-vcursor-map):
7733         * wid-browse.el (widget-minor-mode):
7734         * emulation/tpu-edt.el (tpu-edt-mode):
7735         * emulation/tpu-extras.el (tpu-cursor-free-mode):
7736         * international/iso-ascii.el (iso-ascii-mode):
7737         * language/thai-util.el (thai-word-mode):
7738         * mail/supercite.el (sc-minor-mode):
7739         * net/goto-addr.el (goto-address-mode):
7740         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7741         * progmodes/cwarn.el (cwarn-mode):
7742         * progmodes/flymake.el (flymake-mode):
7743         * progmodes/glasses.el (glasses-mode):
7744         * progmodes/hideshow.el (hs-minor-mode):
7745         * progmodes/pascal.el (pascal-outline-mode):
7746         * textmodes/enriched.el (enriched-mode):
7747         * vc/smerge-mode.el (smerge-mode):
7748         Doc fixes (minor mode argument).
7750 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
7752         * ls-lisp.el (ls-lisp-sanitize): New function.
7753         (ls-lisp-insert-directory): Use it to fix or remove any elements
7754         in file-alist with missing attributes.  (Bug#4673)
7756 2012-02-07  Alan Mackenzie  <acm@muc.de>
7758         Fix spurious recognition of c-in-knr-argdecl.
7760         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7761         putative K&R region.
7763 2012-02-07  Alan Mackenzie  <acm@muc.de>
7765         * progmodes/cc-engine.el (c-forward-objc-directive):
7766         Prevent looping in "#pragma mark @implementation".
7768 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
7770         * notifications.el (notifications-on-closed-signal): Make `reason'
7771         optional.  (Bug#10744)
7773 2012-02-07  Glenn Morris  <rgm@gnu.org>
7775         * emacs-lisp/easy-mmode.el (define-minor-mode):
7776         Doc fixes for the macro and the mode it defines.
7778         * image.el (imagemagick-types-inhibit): Doc fix.
7780         * cus-start.el (imagemagick-render-type): Add it.
7782 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
7784         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7785         Set the default at load time, too, so that `font-lock-fontify-buffer'
7786         can be called without setting up the entire mode first.  This fixes
7787         a bug in `mm-inline-text' with C MIME parts.
7789 2012-02-06  Chong Yidong  <cyd@gnu.org>
7791         * simple.el (list-processes--refresh): Delete exited processes
7792         (Bug#8094).
7794         * comint.el (comint-next-prompt): next-single-char-property-change
7795         and prev-single-char-property-change never return nil (Bug#8657).
7797         * custom.el (defcustom): Doc fix (Bug#9711).
7799 2012-02-05  Chong Yidong  <cyd@gnu.org>
7801         * cus-edit.el (custom-variable-reset-backup): Quote the value
7802         before storing it in the customized-value property (Bug#6712).
7803         (custom-display): Add a customization type tag.
7804         (custom-buffer-create-internal): Improve tooltip message.
7806         * wid-edit.el (widget-field-value-get): New optional arg to
7807         suppress trailing whitespace truncation.
7808         (character): Use it (Bug#2689).
7810 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
7812         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7813         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7815 2012-02-05  Chong Yidong  <cyd@gnu.org>
7817         * cus-edit.el (custom-variable-value-create): For mismatched
7818         types, show the current value (Bug#7600).
7820         * custom.el (defcustom): Doc fix.
7822 2012-02-05  Glenn Morris  <rgm@gnu.org>
7824         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7826 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
7828         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7829         (pp-buffer): Use `ignore-errors', `looking-at-p'.
7830         (pp-last-sexp): Use `looking-at-p'.
7832 2012-02-04  Glenn Morris  <rgm@gnu.org>
7834         * files.el (revert-buffer):
7835         Doc fix (mention revert-buffer-in-progress-p).
7837         * emacs-lisp/ert-x.el (ert-simulate-command):
7838         Check deferred-action-list (which is obsolete) is bound.
7840         * subr.el (with-wrapper-hook): Doc fixes.
7842         * simple.el (filter-buffer-substring-functions)
7843         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7845 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
7847         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7848         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
7850 2012-02-04  Leo Liu  <sdl.web@gmail.com>
7852         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7854 2012-02-04  Glenn Morris  <rgm@gnu.org>
7856         * image.el (image-extension-data): Add obsolete alias.
7858         * isearch.el (isearch-update): Doc fix.
7860         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7862         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7864 2012-02-03  Glenn Morris  <rgm@gnu.org>
7866         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
7867         (image-animate-timeout): Doc fix.
7869         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7871 2012-02-02  Glenn Morris  <rgm@gnu.org>
7873         * server.el (server-auth-dir): Doc fix.
7874         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
7876         * subr.el (run-mode-hooks): Doc fix.
7878 2012-02-02  Juri Linkov  <juri@jurta.org>
7880         * image-mode.el (image-toggle-display-image): Remove tautological
7881         `major-mode' from the `derived-mode-p' test.
7883 2012-02-02  Kenichi Handa  <handa@m17n.org>
7885         * composite.el (compose-region): Cancel previous change.
7887 2012-02-02  Kenichi Handa  <handa@m17n.org>
7889         * composite.el (compose-region, compose-string): Signal error for
7890         a null string component (Bug#6988).
7892 2012-02-01  Chong Yidong  <cyd@gnu.org>
7894         * view.el (view-buffer-other-window, view-buffer-other-frame):
7895         Handle special modes like view-buffer (Bug#10650).
7896         (view-buffer): Simplify.
7898         * frame.el (set-frame-font): Tweak meaning of third argument.
7900         * dynamic-setting.el (font-setting-change-default-font):
7901         Use set-frame-font (Bug#9982).
7903 2012-02-01  Glenn Morris  <rgm@gnu.org>
7905         * progmodes/compile.el (compilation-internal-error-properties):
7906         Respect compilation-first-column in the "*compilation*" buffer.
7908         * emacs-lisp/easy-mmode.el (define-minor-mode):
7909         Relax :variable's test for a named function.
7911 2012-01-31  Alan Mackenzie  <acm@muc.de>
7913         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7914         off by one error.
7916 2012-01-31  Chong Yidong  <cyd@gnu.org>
7918         * frame.el (set-frame-font): New arg ALL-FRAMES.
7920         * menu-bar.el (menu-set-font): Use set-frame-font.
7922         * faces.el (face-spec-reset-face): Don't apply unspecified
7923         attribute values to the default face.
7925 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
7927         * progmodes/cwarn.el (cwarn): Remove dead link.
7928         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7929         Remove * from defcustom docstrings.
7930         (turn-on-cwarn-mode): Make obsolete.
7931         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7932         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7934 2012-01-31  Glenn Morris  <rgm@gnu.org>
7936         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
7937         Fix :variable handling of mode a symbol not equal to modefun.
7938         Allow named functions to be used as the cdr of :variable.
7940 2012-01-30  Glenn Morris  <rgm@gnu.org>
7942         * emacs-lisp/authors.el (authors-fixed-entries):
7943         Remove reference to deleted file rnewspost.el.
7945 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
7947         * window.el (window-with-parameter): Remove unused variable `windows'.
7948         (window--side-check): Remove unused variable `code'.
7949         (window--resize-siblings): Remove unused variable `first'.
7950         (adjust-window-trailing-edge): Remove unused variable `failed'.
7951         (window-deletable-p, window--delete): Remove unused variable `buffer'.
7952         Use `let', not `let*'.
7953         (balance-windows-2): Remove unused variable `found'.
7954         (window--state-put-2): Remove unused variable `splits'.
7955         (window-state-put): Remove unused variable `selected'.
7956         (same-window-p): Use `string-match-p'.
7957         (display-buffer-assq-regexp): Remove unused variable `value'.
7958         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7959         Mark argument ALIST as ignored.
7960         (pop-to-buffer): Remove unused variable `old-window'.
7962 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
7964         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7965         and .lzma compressed files.
7967 2012-01-29  Chong Yidong  <cyd@gnu.org>
7969         * frame.el (window-system-default-frame-alist): Doc fix.
7971         * dynamic-setting.el (font-setting-change-default-font): Don't
7972         change the default face if SET-FONT argument is non-nil (Bug#9982).
7974 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
7976         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7978 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
7980         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7981         breakpoints in files outside current directory (Bug#6098).
7983 2012-01-29  Chong Yidong  <cyd@gnu.org>
7985         * progmodes/python.el: Require ansi-color at top-level.
7987         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7988         Define and use in Emacs Lisp mode (Bug#9360).
7989         (lisp-mode-abbrev-table): Add doc.
7990         (lisp-mode-variables): Don't set local-abbrev-table.
7991         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7993 2012-01-28  Roland Winkler  <winkler@gnu.org>
7995         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7997 2012-01-28  Roland Winkler  <winkler@gnu.org>
7999         * textmodes/bibtex.el (bibtex-entry-alist): New function.
8000         (bibtex-set-dialect): Use it.  Either set global values of
8001         dialect-dependent variables or bind these variables buffer-locally
8002         (Bug#10254).
8003         (bibtex-mode): Call bibtex-set-dialect via
8004         hack-local-variables-hook.
8005         (bibtex-dialect): Update docstring.
8006         Add safe-local-variable predicate.
8007         (bibtex-entry-alist, bibtex-field-alist): Initialize via
8008         bibtex-set-dialect.
8009         (bibtex-mode-map): Define menu for each dialect.
8010         (bibtex-entry): Fix docstring.
8012 2012-01-28  Chong Yidong  <cyd@gnu.org>
8014         * eshell/esh-arg.el (eshell-quote-argument): New function.
8016         * eshell/esh-ext.el (eshell-invoke-batch-file):
8017         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8018         first arg to eshell-parse-command (Bug#10523).
8020 2012-01-28  Drew Adams  <drew.adams@oracle.com>
8022         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8023         `default-directory' is non-nil.
8025 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
8027         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8028         line that displays system-configuration-options.  (Bug#9924)
8030 2012-01-28  Drew Adams  <drew.adams@oracle.com>
8032         * descr-text.el (describe-char): Show information about POS, in
8033         addition to information about the character at POS.  Improve and
8034         update the doc string.  Change "code point" to "code point in
8035         charset", to avoid confusion with the character's Unicode code
8036         point shown above that.  (Bug#10129)
8038 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
8040         * descr-text.el (describe-char): Show the raw character, not only
8041         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
8042         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8043         for the reasons.
8045 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
8047         * emacs-lisp/package.el (package-install):
8048         Run package-refresh-contents if there is no archive yet (Bug#9798).
8050 2012-01-28  Chong Yidong  <cyd@gnu.org>
8052         * emacs-lisp/package.el (package-maybe-load-descriptor):
8053         New function, split from package-maybe-load-descriptor.
8054         (package-maybe-load-descriptor): Use it.
8055         (package-download-transaction): Fully load required packages
8056         inside the loop, so that `require' calls work (Bug#10593).
8057         (package-install): No need to call package-initialize now.
8059 2012-01-28  Chong Yidong  <cyd@gnu.org>
8061         * simple.el (deactivate-mark): Doc fix (Bug#8614).
8063         * tooltip.el (tooltip-mode): Doc fix.
8064         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8066         * frame.el (set-cursor-color): Doc fix (Bug#352).
8068         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8069         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8071         * cus-edit.el (custom-buffer-create-internal): Fix search button
8072         action (Bug#10542).
8073         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
8075 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
8077         * dired.el (dired-mark-files-regexp):
8078         Include any subdirectory components.  (Bug#10445)
8080 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
8082         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8083         Handle [host]:port syntax.  (Bug#10533)
8085 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
8087         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8089 2012-01-26  Glenn Morris  <rgm@gnu.org>
8091         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8092         * term.el (term-raw-escape-map): Use Control-X-prefix.
8093         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
8095 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
8097         * window.el (window-state-get, window--state-get-1): Don't deal
8098         with fixed-sizeness of windows.  Simplify code.
8100 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
8102         * window.el (window--state-get-1, window--state-put-2):
8103         Don't save and restore the mark.
8105 2012-01-25  Chong Yidong  <cyd@gnu.org>
8107         * custom.el (custom-variable-p): Doc fix.
8109 2012-01-25  Glenn Morris  <rgm@gnu.org>
8111         * dired.el (dired-goto-file): Handle some of the more common
8112         characters that `ls -b' escapes.  (Bug#10596)
8114         * progmodes/compile.el (compilation-next-error-function):
8115         Respect compilation-first-column in the "*compilation*" buffer.
8116         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
8118         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
8120 2012-01-24  Glenn Morris  <rgm@gnu.org>
8122         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
8124 2012-01-24  Julien Danjou  <julien@danjou.info>
8126         * color.el (color-rgb-to-hsl): Fix value computing.
8127         (color-hue-to-rgb): New function.
8128         (color-hsl-to-rgb): New function.
8129         (color-clamp, color-saturate-hsl, color-saturate-name)
8130         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8131         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8133 2012-01-24  Glenn Morris  <rgm@gnu.org>
8135         * vc/vc-rcs.el (vc-rcs-create-tag):
8136         * vc/vc-sccs.el (vc-sccs-create-tag):
8137         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
8139 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
8141         * eshell/esh-util.el (eshell-read-hosts-file):
8142         Skip comment lines.  (Bug#10549)
8144         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
8146 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
8148         * subr.el (display-delayed-warnings): Doc fix.
8149         (collapse-delayed-warnings): New function to collapse identical
8150         adjacent warnings.
8151         (delayed-warnings-hook): Add it.
8153 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
8155         * net/tramp.el (tramp-action-login): Set connection property "login-as".
8157         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8158         (tramp-default-user-alist): Don't add "pscp".
8159         (tramp-do-copy-or-rename-file-out-of-band): Use connection
8160         property "login-as", if set.  (Bug#10530)
8162 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
8164         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8165         "plink1" and "psftp".  (Bug#10530)
8167 2012-01-21  Kenichi Handa  <handa@m17n.org>
8169         * international/mule-cmds.el (prefer-coding-system): Show a
8170         warning message if the default value of file-name-coding-system
8171         was not changed.
8173 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
8175         * windmove.el (windmove-reference-loc):
8176         Fix windmove-reference-loc miscalculation.
8178 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
8180         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8181         default unit.
8183 2012-01-21  Glenn Morris  <rgm@gnu.org>
8185         * international/mule.el (auto-coding-alist): Add .tbz.
8187         * files.el (local-enable-local-variables): Doc fix.
8188         (inhibit-local-variables-regexps): Rename from
8189         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
8190         Doc fix.  Add some extensions from auto-coding-alist.
8191         (inhibit-local-variables-suffixes):
8192         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
8193         (inhibit-local-variables-p):
8194         New function, extracted from set-auto-mode-1.
8195         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
8196         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
8197         (hack-local-variables): Doc fix.  Make the mode-only case
8198         respect enable-local-variables and friends.
8199         Respect inhibit-local-variables-regexps for file-locals, but
8200         not for directory-locals.
8201         (set-visited-file-name):
8202         Take account of inhibit-local-variables-regexps.
8203         Whether it applies may change as the file name is changed.
8204         * jka-cmpr-hook.el (jka-compr-install):
8205         * jka-compr.el (jka-compr-uninstall):
8206         Update for inhibit-first-line-modes-suffixes name change.
8208 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
8210         * help-macro.el (make-help-screen): Temporarily restore original
8211         binding for minor-mode-map-alist (Bug#10454).
8213 2012-01-19  Julien Danjou  <julien@danjou.info>
8215         * color.el (color-name-to-rgb): Use the white color to find the max
8216         color component value and return correctly computed values.
8217         (color-name-to-rgb): Add missing float conversion for max value.
8219 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
8221         * window.el (window--state-get-1, window-state-get): Do not use
8222         special state value for window-persistent-parameters.
8223         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
8224         (window--state-put-2): Reset all window parameters to nil before
8225         assigning values of persistent parameters.
8227 2012-01-18  Alan Mackenzie  <acm@muc.de>
8229         Eliminate sluggishness and hangs in fontification of "semicolon
8230         deserts".
8232         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8233         Change value 10000 -> 3000.
8234         (c-state-safe-place): Reformulate so it doesn't stack up an
8235         infinite number of wrong entries in c-state-nonlit-pos-cache.
8236         (c-determine-limit-get-base, c-determine-limit): New functions to
8237         determine backward search limits disregarding literals.
8238         (c-find-decl-spots): Amend commenting.
8239         (c-cheap-inside-bracelist-p): New function which detects "={".
8241         * progmodes/cc-fonts.el
8242         (c-make-font-lock-BO-decl-search-function): Give a limit to a
8243         backward search.
8244         (c-font-lock-declarations): Fix an occurrence of point being
8245         undefined.  Check additionally for point being in a bracelist or
8246         near a macro invocation without a semicolon so as to avoid a
8247         fruitless time consuming search for a declarator.  Give a more
8248         precise search limit for declarators using the new
8249         c-determine-limit.
8251 2012-01-18  Glenn Morris  <rgm@gnu.org>
8253         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8254         (set-auto-mode): Doc fixes.
8256 2012-01-17  Glenn Morris  <rgm@gnu.org>
8258         * isearch.el (search-nonincremental-instead): Fix doc typo.
8260         * dired.el (dired-insert-directory): Handle newlines in directory name.
8261         (dired-build-subdir-alist): Unescape newlines in directory name.
8263 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
8265         * net/tramp.el (tramp-local-end-of-line): New defcustom.
8266         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8267         (tramp-action-terminal): Use it.  (Bug#10530)
8269 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8271         * minibuffer.el (completion--replace): Strip properties (bug#10062).
8273 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
8275         * window.el (window-state-ignored-parameters): Remove variable.
8276         (window--state-get-1): Rename argument MARKERS to IGNORE.
8277         Handle persistent window parameters.  Make copy of clone-of
8278         parameter only if requested.  (Bug#10348)
8279         (window--state-put-2): Install a window parameter only if it has
8280         a non-nil value or an existing parameter shall be overwritten.
8282 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
8284         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8286 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
8288         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8289         don't pass the (nil) value of `upnode' to string-match.
8291 2012-01-14  Chong Yidong  <cyd@gnu.org>
8293         * startup.el (command-line): Fix X resource class for cursorColor.
8294         Fix values recognized by the cursorBlink resource.
8296 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
8298         * epg.el (epg--make-temp-file): Avoid permission race condition
8299         when running on old Emacs versions (bug#10403).
8301 2012-01-14  Glenn Morris  <rgm@gnu.org>
8303         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8305 2012-01-13  Alan Mackenzie  <acm@muc.de>
8307         Fix filling for when filladapt mode is enabled.
8309         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8310         c-mask-paragraph, pass in `fill-paragraph' rather than
8311         `fill-region-as-paragraph'.  (This is a reversion of a previous
8312         change.)
8313         * progmodes/cc-mode.el (c-basic-common-init):
8314         Make fill-paragraph-handle-comment buffer local and set it to nil.
8316 2012-01-13  Glenn Morris  <rgm@gnu.org>
8318         * dired.el (dired-switches-escape-p): New function.
8319         (dired-insert-directory): Use dired-switches-escape-p.
8320         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
8322         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
8324 2012-01-12  Glenn Morris  <rgm@gnu.org>
8326         * mail/sendmail.el (mail-mode): Update paragraph-separate for
8327         changes in adaptive-fill-regexp.  (Bug#10276)
8329 2012-01-11  Alan Mackenzie  <acm@muc.de>
8331         Fix Emacs bug #10463 - put `widen's around the critical spots.
8333         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
8334         widen around each invocation of c-state-pp-to-literal.  Remove an
8335         unused let variable.
8337 2012-01-11  Glenn Morris  <rgm@gnu.org>
8339         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
8340         Doc fix.
8342 2012-01-10  Chong Yidong  <cyd@gnu.org>
8344         * net/network-stream.el (network-stream-open-starttls):
8345         Avoid emitting a confusing error message when the server gives a bad
8346         response to the capability command.
8348 2012-01-10  Glenn Morris  <rgm@gnu.org>
8350         * mail/unrmail.el (unrmail): Tweak previous change.
8352 2012-01-09  Chong Yidong  <cyd@gnu.org>
8354         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8356 2012-01-08  Alan Mackenzie  <acm@muc.de>
8358         Optimise font locking in long enum definitions.
8360         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8361         arm to a cond form to handle enums.
8362         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8363         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8365 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8367         * files.el (move-file-to-trash): Preserve default file modes on error.
8368         (Bug#10401)
8370 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8372         * faces.el (set-face-attribute): Clarify the meaning of the nil
8373         frame (bug#10294).
8375         * subr.el (with-selected-frame): Mention that the selected frame
8376         is restored (bug#9980).
8378         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8379         (bug#9759).
8381         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
8382         (password-read): Don't autoload unused function.
8384 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
8386         * progmodes/which-func.el (which-func-mode): Turn into a
8387         non-interactive function and mark as obsolete (bug#10428).
8389 2012-01-06  Chong Yidong  <cyd@gnu.org>
8391         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8392         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8393         functions, along with 1 and -1.
8395 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
8397         * time.el (display-time-load-average)
8398         (display-time-default-load-average): Doc fixes.  See the thread
8399         starting at
8400         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8401         for the details.
8403 2012-01-06  Glenn Morris  <rgm@gnu.org>
8405         * mail/unrmail.el (unrmail): Give an explicit error if the input file
8406         has no messages.  (Bug#10377)
8408         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8409         than Info-edit.  (Bug#10385)
8411         * time.el (display-time-load-average, display-time-next-load-average):
8412         Doc fixes.
8414         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8415         local setting of buffer-read-only to the input buffer.  (Bug#10419)
8417         * calendar/calendar.el (calendar-mode):
8418         Locally set scroll-margin to 0.  (Bug#10379)
8420 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
8422         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
8424 2012-01-05  Glenn Morris  <rgm@gnu.org>
8426         * eshell/em-unix.el (diff-no-select): Autoload it.
8427         (eshell/diff): Use diff-no-select.  (Bug#10420)
8429 2012-01-05  Chong Yidong  <cyd@gnu.org>
8431         * shell.el (shell-dynamic-complete-functions): Revert last change.
8432         (shell-command-completion-function): New function.
8433         (shell-completion-vars): Use it to implement
8434         shell-completion-execonly (Bug#10417).
8436         * custom.el (enable-theme): Don't set custom-safe-themes.
8438         * cus-theme.el (custom-theme-merge-theme):
8439         Ignore custom-enabled-themes and custom-safe-themes.
8441 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
8443         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8444         first prompt in `sql-interacive-mode'.
8445         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
8446         keywords.
8447         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
8448         (sql-product-interactive): Bug fix: Set `sql-buffer' in
8449         context of original buffer.  Invoke `sql-login-hook'.
8451 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
8453         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8454         letters in cite-prefix.
8456 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8458         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8460 2012-01-03  Chong Yidong  <cyd@gnu.org>
8462         * shell.el (shell-dynamic-complete-functions):
8463         Put pcomplete-completions-at-point, so as to try
8464         comint-filename-completion first (Bug#10417).
8466 2012-01-02  Richard Stallman  <rms@gnu.org>
8468         * battery.el (battery-status-function):
8469         Detect when to use battery-yeeloong-sysfs.
8470         (battery-echo-area-format): Add string for Yeeloong.
8471         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8472         (battery-yeeloong-sysfs): New function.
8474 2012-01-02  Chong Yidong  <cyd@gnu.org>
8476         * dirtrack.el (dirtrack-list): Eliminate unused third element.
8477         (dirtrack): Merge code for handling relative filenames in prompt
8478         from shell-dir-cookie-watcher.
8479         (dirtrack-debug-message): New arg to avoid excess format calls.
8481         * shell.el (shell-dir-cookie-re): Variable deleted.
8482         (shell-dir-cookie-watcher): Function deleted.
8483         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8484         with dirtrack-mode.
8486 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
8488         * term/w32-win.el (dynamic-library-alist) <gnutls>:
8489         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
8490         libgnutls-26.dll.
8492 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
8494         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8496 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
8498         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8499         headers of non-MIME messages, when rmail-enable-mime is non-nil.
8501 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
8503         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8504         also for alternative shells.
8505         (tramp-open-connection-setup-interactive-shell): Check, whether
8506         the shell is a busybox.
8507         (tramp-send-command): Don't suppress multiple prompts for
8508         busyboxes, it hurts.
8510 2011-12-28  Chong Yidong  <cyd@gnu.org>
8512         * progmodes/gdb-mi.el (gdb-get-source-file-list)
8513         (gdb-get-source-file): Move mode line update to
8514         gdb-get-source-file (Bug#10087).
8516 2011-12-25  Chong Yidong  <cyd@gnu.org>
8518         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8519         gud-gdb-marker-filter without taking it as an argument.
8520         (gud-gdb-run-command-fetch-lines): Caller changed.
8521         (gud-gdb-completion-function): New variable.
8522         (gud-gdb-completion-at-point): Use it.
8523         (gud-gdb-completions-1): Split from gud-gdb-completions.
8525         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8526         function as separate arguments.
8527         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8528         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8529         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8530         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8531         (gdb-stopped, def-gdb-auto-update-trigger)
8532         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
8533         (gdb-get-changed-registers, gdb-get-main-selected-frame):
8534         Callers changed.
8535         (gud-gdbmi-completions): New function.
8536         (gdb): Use it for generating the completion table.
8538 2011-12-24  Alan Mackenzie  <acm@muc.de>
8540         Introduce a mechanism to widen the region used in context font
8541         locking.  Use this to protect declarations from losing their contexts.
8543         * progmodes/cc-langs.el (c-before-font-lock-functions):
8544         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
8545         (c-before-context-fontification-functions): New defvar, a list of
8546         functions to be run just before context (etc.) font locking.
8548         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
8549         New, functionality extracted from
8550         c-neutralize-syntax-in-and-mark-CPP.
8551         (c-in-after-change-fontification): New variable.
8552         (c-after-change): Set c-in-after-change-fontification.
8553         (c-set-fl-decl-start): Rejig its interface, so it can be called
8554         from both after-change and context fontifying.
8555         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8556         New functions.
8557         (c-standard-font-lock-fontify-region-function): New variable.
8558         (c-font-lock-fontify-region): New function.
8560 2011-12-24  Juri Linkov  <juri@jurta.org>
8562         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8563         (Bug#10348)
8565 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
8567         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8568         existence of source file.  (Bug#10325)
8570 2011-12-23  Alan Mackenzie  <acm@muc.de>
8572         Fix unstable fontification inside templates.
8574         * progmodes/cc-langs.el (c-before-font-lock-functions):
8575         Newly created from the singular version.  The (c c++ objc) entry now
8576         additionally has c-set-fl-decl-start.  The other languages (apart
8577         from AWK) have that as a single entry.
8579         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8580         The functionality for "local" declarations has been extracted to
8581         c-set-fl-decl-start.
8583         * progmodes/cc-mode.el (c-common-init, c-after-change):
8584         Changes due to pluralisation of c-before-font-lock-functions.
8585         (c-set-fl-decl-start): New function, extracted from
8586         c-font-lock-enclosing-decls and enhanced.
8588 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
8590         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8592 2011-12-22  Juri Linkov  <juri@jurta.org>
8594         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
8596 2011-12-22  Chong Yidong  <cyd@gnu.org>
8598         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8600 2011-12-21  Drew Adams  <drew.adams@oracle.com>
8602         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
8604 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
8606         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8608 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
8610         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
8611         highlighting and support.  Fix up comments for capitalization.
8612         (cfengine-mode-debug): New var.
8613         (cfengine3-mode): Change the modeline indicator to "CFE3".
8614         (cfengine3-font-lock-keywords): Improve defun highlighting.
8615         (cfengine2-actions): Rename from `cfengine-actions'.
8616         (cfengine2-font-lock-keywords): Rename from
8617         `cfengine-font-lock-keywords'.
8618         (cfengine2-imenu-expression): Rename from
8619         `cfengine-imenu-expression'.
8620         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8621         (cfengine2-beginning-of-defun): Rename from
8622         `cfengine-beginning-of-defun'.
8623         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8624         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8625         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
8626         modeline indicator to "CFE2".
8627         (cfengine-mode): Defalias to `cfengine-auto-mode'.
8628         (cfengine-mode-abbrevs): Mark obsolete.
8630 2011-12-21  Chong Yidong  <cyd@gnu.org>
8632         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8633         filename argument.
8635 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
8637         * window.el (window-normalize-buffer-to-display): Remove.
8638         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8640 2011-12-19  Chong Yidong  <cyd@gnu.org>
8642         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8643         Don't signal an error in a predicate function; return non-nil.
8644         (vc-dir-mark-file): Move the error here.
8645         (vc-dir-mark-unmark): If acting on the region, keep going if one
8646         of the entries cannot be marked/unmarked.
8647         (vc-dir-mark-all-files): If current entry is a directory, mark
8648         only child files, as documented.
8650 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8652         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8653         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8654         addition.
8656 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
8658         * term/ns-win.el (ns-get-selection-internal)
8659         (ns-store-selection-internal): Declare.
8660         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8661         Declare as obsolete.
8662         (ns-get-pasteboard, ns-paste-secondary):
8663         Use ns-get-selection-internal.
8664         (ns-set-pasteboard,  ns-copy-including-secondary):
8665         Use ns-store-selection-internal.
8667 2011-12-17  Chong Yidong  <cyd@gnu.org>
8669         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
8670         (vc-deduce-fileset): Doc fix.
8672 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
8674         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8676 2011-12-13  Sam Steingold  <sds@gnu.org>
8678         * man.el (Man-getpage-in-background): When running under a
8679         window-system, ignore $MANWIDTH and $COLUMNS.
8681 2011-12-15  Kenichi Handa  <handa@m17n.org>
8683         * language/ethio-util.el: Change coding tag to utf-8-emacs.
8684         (setup-ethiopic-environment-internal): Comment out key-binding for
8685         ethio-toggle-punctuation.
8687 2011-12-13  Alan Mackenzie  <acm@muc.de>
8689         Add the switch statement to AWK Mode.
8691         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
8692         "default" to the keywords regexp.
8694         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
8695         expression as the rest.
8696         (c-nonlabel-token-key): Allow string literals for AWK.
8697         Refactor for the other modes.
8699         Large brace-block initialisation makes CC Mode slow: Fix.
8700         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
8701         routines.  Limit backward searching in c-font-lock-enclosing.decl.
8703         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8704         pp-state and literal type in addition to the limits.
8705         (c-state-safe-place): New defun, extracted from c-state-literal-at.
8706         (c-state-literal-at): Use the above new defun.
8707         (c-slow-in-literal, c-fast-in-literal): Remove.
8708         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
8710         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8711         being in a literal.  Add a limit for backward searching.
8713         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8714         c-slow-in-literal.
8716 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8718         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8720 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
8722         * window.el (delete-other-windows): Use correct frame in call to
8723         window-with-parameter.
8725 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
8727         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8728         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8729         (makefile-gmake-statements, makefile-makepp-statements):
8730         Use it and add new makepp keywords.
8731         (makefile-makepp-font-lock-keywords): Add new patterns.
8732         (makefile-match-function-end): Match new [...] and [[...]].
8734 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
8736         * ses.el (ses-call-printer-return, ses-cell-property-get)
8737         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8738         (ses-create-cell-variable, ses-reset-header-string)
8739         (ses-cell-set-formula, ses-repair-cell-reference-all)
8740         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8741         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8742         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8743         (ses-aset-with-undo, ses-load, ses-truncate-cell)
8744         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8745         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8746         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8747         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8748         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8749         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8750         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8751         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8753 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8755         * ses.el: The overall change is to add cell renaming, that is
8756         setting fancy names for cell symbols other than name matching
8757         "\\`[A-Z]+[0-9]+\\'" regexp .
8758         (ses-create-cell-variable): New defun.
8759         (ses-relocate-formula): Relocate formulas only for cells the
8760         symbols of which are not renamed, i.e. symbols whose names do not
8761         match regexp "\\`[A-Z]+[0-9]+\\'".
8762         (ses-relocate-all): Relocate values only for cells the symbols of
8763         which are not renamed.
8764         (ses-load): Create cells variables as the (ses-cell ...) are read,
8765         in order to check row col consistency with cell symbol name only
8766         for cells that are not renamed.
8767         (ses-replace-name-in-formula): New defun.
8768         (ses-rename-cell): New defun.
8770 2011-12-11  Chong Yidong  <cyd@gnu.org>
8772         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8773         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8775 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
8777         * window.el (other-window): Fix docstring.
8779 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
8781         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
8782         `from' or `to' address before taking its substring.
8783         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
8784         encoded name is chopped in the middle of the encoded string, and
8785         thus displayed encoded.
8787 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
8789         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8791 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
8793         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
8794         to use texinfo-update-node and commands that call it if the
8795         Texinfo file uses @node lines without next/prev/up pointers.
8796         Correct outdated description about texinfo-master-menu.
8797         (texinfo-all-menus-update, texinfo-master-menu)
8798         (texinfo-update-node, texinfo-every-node-update)
8799         (texinfo-multiple-files-update): Doc fix.  Warn against updating
8800         all the @node lines.
8801         (texinfo-master-menu): Only call texinfo-update-node if the prefix
8802         argument is numeric.  Explain better in the doc string what the
8803         function really does.
8804         (texinfo-insert-master-menu-list): Improve the error message
8805         displayed if there's no menu in the Top node.
8806         (Bug#2975)  See also this thread:
8807         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8809 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
8811         * speedbar.el (speedbar-supported-extension-expressions):
8812         Add .adb and .ads, commonly used for Ada source code (bug#10256).
8814 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
8816         * printing.el (pr-mode-alist):
8817         * simple.el (filter-buffer-substring-functions)
8818         (completion-list-insert-choice-function):
8819         * window.el (window-with-parameter, window-atom-root)
8820         (window-sides-slots, window-size-fixed, window-min-delta)
8821         (window-max-delta, window--resize-mini-window)
8822         (window--resize-child-windows-normal, window-tree)
8823         (delete-other-windows, quit-window, split-window)
8824         (display-buffer-record-window, special-display-buffer-names)
8825         (special-display-regexps, special-display-popup-frame)
8826         (same-window-p, split-window-sensibly)
8827         (display-buffer-overriding-action, display-buffer-alist)
8828         (display-buffer-base-action, display-buffer, switch-to-buffer)
8829         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8830         (fit-window-to-buffer, recenter-positions)
8831         (mouse-autoselect-window-state, mouse-autoselect-window-select):
8832         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8833         and remove unneeded backslashes in docstrings.
8835 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8837         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8839         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8840         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8841         end in ".mk".
8842         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8843         when reading the makefile (bug#10116).
8845 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8847         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8848         (bug#10116).
8850 2011-12-06  Glenn Morris  <rgm@gnu.org>
8852         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8854 2011-12-06  Chong Yidong  <cyd@gnu.org>
8856         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8858 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
8860         * textmodes/table.el (table-shorten-cell): Fix typo.
8862 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
8864         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8866 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
8868         * descr-text.el (describe-char): Fix display of strong
8869         right-to-left characters and directional embeddings and overrides.
8871         * simple.el (what-cursor-position): Fix display of codepoints of
8872         strong right-to-left characters.
8874 2011-12-05  Chong Yidong  <cyd@gnu.org>
8876         * faces.el (read-color): Doc fix.
8878 2011-12-05  Glenn Morris  <rgm@gnu.org>
8880         * align.el (align--set-marker): Add doc-string.
8881         Don't try to move something that is not a marker.  (Bug#10216)
8883 2011-12-04  Glenn Morris  <rgm@gnu.org>
8885         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8886         overly zealous deletion of trailing whitespace.
8888 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
8890         * server.el (server-delete-client): On Windows, do not try to delete
8891         the only terminal.
8892         (server-process-filter): On Windows, treat requests for a tty frame as
8893         if they were for a GUI frame if the running server is in GUI mode.
8895 2011-12-03  Glenn Morris  <rgm@gnu.org>
8897         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
8899 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8901         * electric.el: Streamline electric-indent's hook.
8902         (electric-indent-chars): Revert to simple list.
8903         (electric-indent-functions): New var.
8904         (electric-indent-post-self-insert-function): Use it.
8906         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8907         there's no inferior buffer (bug#10196).
8908         (prolog-consult-compile): Don't use toggle-read-only.
8910 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
8912         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8913         interrupt.  (Bug#10187)
8915 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8917         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8918         (bug#9160).
8920         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8921         (bug#10191).
8923 2011-12-02  Juri Linkov  <juri@jurta.org>
8925         * info.el (Info-search): Display "end of manual" when Isearch
8926         reaches the end of single-file Info manual.  (Bug#9918)
8928 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
8930         * isearch.el (isearch-message-prefix): Run the input method part
8931         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
8933 2011-12-02  Juri Linkov  <juri@jurta.org>
8935         * isearch.el (isearch-occur): Use `word-search-regexp' for
8936         `isearch-word'.
8937         (isearch-search-and-update): Add condition for `isearch-word' and
8938         call `word-search-regexp'.  (Bug#10145)
8940 2011-12-01  Glenn Morris  <rgm@gnu.org>
8942         * eshell/em-hist.el (eshell-hist-initialize):
8943         Handle eshell-history-size nil and HISTSIZE set or unset.
8944         (eshell-history-file-name, eshell-history-size): Fix custom type.
8946 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8948         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8950 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
8952         * progmodes/verilog-mode.el (verilog-pretty-expr):
8953         Rework verilog-pretty-expr to handle new assignment operators in system
8954         verilog, such as += *= and the like.
8955         (verilog-assignment-operator-re): Regular expression to find the
8956         assigment operator in a verilog assignment.
8957         (verilog-assignment-operation-re): Regular expression to find an
8958         assignment statement for pretty-expr.
8959         (verilog-in-attribute-p): Query returns true if point is in an
8960         attribute context; used to skip these for expression line up from
8961         pretty-expr.
8962         (verilog-in-parameter-p): Query returns true if point is in an
8963         parameter definition context; used to skip these for expression
8964         line up from pretty-expr.
8965         (verilog-in-parenthesis-p): Query returns true if point is in a
8966         parenthetical expression, specifically ( ) but not [ ] or { };
8967         used by pretty-expr.
8968         (verilog-just-one-space): If there is no space, don't add one.
8969         (verilog-get-lineup-indent-2): Specifically skip just attribute
8970         contexts for expression lineup, rather than skipping all
8971         parenthetical expressions.
8972         (verilog-calculate-indent): Fix comment, and fix indent.
8973         (verilog-do-indent): Indent declarations in lists (suggested by
8974         Joachim Lechner).
8975         (verilog-mode-abbrev-table): Populate abbrev mode with the various
8976         skeleton items.
8977         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8978         by Alain Mellan).
8980 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
8982         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8983         parameters with embedded comments.  Reported by Ray Stevens.
8984         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8985         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8986         Reported by Tim Holt.
8987         (verilog-auto): Fix AUTOing a upper module then AUTOing module
8988         instantiated by upper module causing wrong expansion until AUTOed a
8989         second time.  Reported by K C Buckenmaier.
8990         (verilog-diff-auto): Fix showing .* as a difference when
8991         `verilog-auto-star-save' off.  Reported by Dan Dever.
8992         (verilog-auto-reset, verilog-read-always-signals)
8993         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8994         temporary signals in reset list if
8995         verilog-auto-reset-blocking-in-non is nil, and match assignment
8996         style to each signal's assignment type, bug381.
8997         Reported by Thomas Esposito.
8998         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8999         (verilog-uvm-statement-re): Support UVM indentation and
9000         highlighting, with old OVM keywords only.
9001         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
9002         Support AUTOTIEOFF creating non-wire data types.
9003         Suggested by Jonathan Greenlaw.
9004         (verilog-auto-insert-lisp, verilog-delete-to-paren)
9005         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9006         (verilog-inject-sense, verilog-read-inst-pins)
9007         (verilog-read-sub-decls, verilog-read-sub-decls-line):
9008         Fix mismatching parenthesis inside commented out code when deleting
9009         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
9010         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9011         non-numeric vector width.  Reported by Alex Reed.
9012         (verilog-auto-ascii-enum): Add "onehot" option to work around not
9013         detecting signals with parameter widths.  Reported by Alex Reed.
9014         (verilog-auto-delete-trailing-whitespace):
9015         With `verilog-auto-delete-trailing-whitespace' remove trailing
9016         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
9017         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9018         Fix verilog-scan-cache corruption when running user AUTO expansion
9019         hooks that call indentation routines.
9020         (verilog-simplify-range-expression): Fix typo ignoring lower case
9021         identifiers.
9022         (verilog-delete-auto): Fix delete-autos to also remove user created
9023         automatics, as long as they start with AUTO.
9024         (verilog-batch-diff-auto, verilog-diff-auto)
9025         (verilog-diff-function): Add `verilog-diff-auto' and bind to
9026         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
9027         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9028         (verilog-in-paren-quick, verilog-re-search-backward-quick)
9029         (verilog-re-search-forward-quick, verilog-syntax-ppss):
9030         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
9031         is disabled and its cache will get corrupt, causing AUTOS not to
9032         expand.  Instead use only -quick functions.
9033         (verilog-scan-region): Fix scanning over escaped quotes.
9034         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9035         (verilog-re-search-backward-quick)
9036         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9037         related functions now ignore strings, to fix misparsing of strings
9038         with magic comments embedded in them.
9039         (verilog-read-auto-template):
9040         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9041         Reported by Brad Dobbie.
9042         (verilog-read-auto-template):
9043         Fix 'verilog-auto-inst-template-numbers' with comments.
9044         Reported by Brad Dobbie.
9045         (verilog-auto-inst, verilog-auto-inst-param)
9046         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9047         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
9048         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
9049         debugging templates without merge conflicts, bug357.
9050         Reported by Brad Dobbie.
9051         (verilog-read-auto-template):
9052         Fix verilog-auto-inst-template-numbers with multiple templates.
9053         Reported by Brad Dobbie.
9054         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9055         abbrevs so user won't be asked to save.
9056         (verilog-read-auto-lisp-present): Fix to start at beginning of
9057         buffer in case called outside of verilog-auto.
9058         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9059         to "X-2".  Reported by Matthew Myers.
9060         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9061         all inputs from module templates.  Reported by Leith Johnson.
9062         (verilog-module-inside-filename-p): Fix locating programs as with
9063         modules.
9064         (verilog-auto-inst-port): Fix vl-width expressions when using
9065         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
9066         (verilog-decls-get-regs, verilog-decls-get-signals,
9067         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9068         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9069         verilog-read-decls): Combine reg and wire structures into one var
9070         structure to represent SystemVerilog concepts.
9071         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9072         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
9073         (verilog-auto-wire-type, verilog-insert-definition):
9074         Add verilog-auto-wire-type and AUTOLOGIC to support using
9075         SystemVerilog "logic" keyword instead of "wire"/"reg".
9076         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9077         to declares outputs that also have assignments (presumably in an
9078         ifdef or generate if so there's not a driver conflict).
9079         Reported by Matthew Myers.
9080         (verilog-auto-declare-nettype, verilog-insert-definition):
9081         Add verilog-auto-declare-nettype to fix declarations using
9082         `default_nettype none.  Reported by Julian Gorfajn.
9083         (verilog-read-always-signals-recurse, verilog-read-decls)
9084         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9085         malformed end statement, bug325.  Reported by Joshua Wise and
9086         Andrew Drake.
9087         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9088         (verilog-inst-comment-re): Fix not deleting Interfaced comment
9089         when expanding .* in interfaces, bug320.
9090         Reported by Pierre-David Pfister.
9091         (verilog-read-module-name): Fix import statements between module
9092         name and open parenthesis, bug317.
9093         Reported by Pierre-David Pfister.
9094         (verilog-simplify-range-expression): Fix simplification of
9095         multiplications inside AUTOWIRE connections, bug303.
9096         (verilog-auto-inst-port): Support parameter expansion in
9097         multidimensional arrays.
9098         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9099         after "assert property".  Reported by Julian Gorfajn.
9100         (verilog-simplify-range-expression): Fix "couldn't merge" errors
9101         with multiplication, bug303.
9102         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9103         Reported by Jan Frode Lonnum.
9105 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
9107         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9108         (hfy-shell-file-name, hfy-shell):
9109         * international/fontset.el (x-decompose-font-name): Fix typos.
9111 2011-11-29  Ken Brown  <kbrown@cornell.edu>
9113         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9114         (gdb-version): Remove defvar.
9115         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9116         (gdb-gud-context-command, gdb-non-stop-handler)
9117         (gdb-current-context-command, gdb-stopped): Use it.
9118         (gdb-init-1): Enable pretty printing here.
9119         (gdb-non-stop-handler): Don't enable pretty-printing here.
9120         Check to see if the target supports non-stop mode; if not, turn off
9121         non-stop mode.  Use the following.
9122         (gdb-check-target-async): New defun.
9123         (gud-watch, gdb-stopped): Fix whitespace.
9124         (gdb-get-source-file): Don't try to display the source file if
9125         `gdb-main-file' is nil.
9127 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9129         * align.el: Try to generate fewer markers (bug#10047).
9130         (align--set-marker): New macro.
9131         (align-region): Use it.
9133 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9135         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9137 2011-11-29  Chong Yidong  <cyd@gnu.org>
9139         * indent.el (indent-for-tab-command, indent-according-to-mode):
9140         Doc fix.
9141         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
9143 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
9145         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9146         aware of remote file names.  (Bug#10124)
9148 2011-11-29  Chong Yidong  <cyd@gnu.org>
9150         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9152 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9154         * files.el (find-file): Don't use force-same-window (bug#10144).
9155         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9156         use pop-to-buffer if the selected window can't be used.
9157         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9159 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
9161         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9162         special-mode-map.
9164 2011-11-28  Chong Yidong  <cyd@gnu.org>
9166         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9168 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
9170         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9171           gdb-get-source-file-list on gdb-create-source-file-list.
9173 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
9175         * whitespace.el (whitespace-newline): Use a different foreground
9176         color for 16-color light-background displays.
9178 2011-11-24  Chong Yidong  <cyd@gnu.org>
9180         * window.el (display-buffer--special-action): Doc fix.
9182 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
9184         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9185         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9186         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9187         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9188         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9189         (avl-tree-stack-first):
9190         * emacs-lisp/cconv.el (cconv--analyse-use):
9191         * net/gnutls.el (gnutls-negotiate): Fix typos.
9193 2011-11-24  Glenn Morris  <rgm@gnu.org>
9195         * lpr.el (lpr-windows-system, lpr-lp-system):
9196         * mail/binhex.el (binhex-begin-line):
9197         * progmodes/grep.el (grep-history, grep-find-history):
9198         * textmodes/flyspell.el:
9199         * vc/pcvs-defs.el (cvs-global-menu):
9200         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9201         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9202         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9204         * net/tls.el: Fix case of "GnuTLS".
9206         * paths.el (rmail-file-name): Format doc-string for make-docfile.
9208         * version.el (emacs-build-system): Give it a doc-string.
9210 2011-11-24  Juri Linkov  <juri@jurta.org>
9212         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9214 2011-11-24  Glenn Morris  <rgm@gnu.org>
9216         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9217         if called on a non-mime message just toggle the headers.  (Bug#8006)
9219 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
9221         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9222         (allout-lead-with-comment-string, allout-structure-deleted-hook)
9223         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9224         (allout-rebullet-heading, allout-open-sibtopic)
9225         (allout-toggle-current-subtree-encryption)
9226         (allout-toggle-subtree-encryption, allout-encrypt-string)
9227         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9228         (allout-distinctive-bullets-string, allout-auto-activation):
9229         * window.el (window-normalize-buffer-to-display):
9230         * progmodes/verilog-mode.el (verilog-batch-indent):
9231         * textmodes/bibtex.el (bibtex-field-braces-opt)
9232         (bibtex-field-strings-opt):
9233         * vc/cvs-status.el (cvs-tree-merge):
9234         Fix typos.
9236 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
9238         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9239         `non-essential' to t, in order to avoid remote connections.
9241 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
9243         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9244         On MS-DOS and MS-Windows, compare with loaddefs.el
9245         case-insensitively.
9247 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
9249         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
9251 2011-11-23  Glenn Morris  <rgm@gnu.org>
9253         * paths.el (rmail-file-name): Reformat the doc-string so that it
9254         is picked up.
9256         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9257         (rmail-auto-file): Ignore case in the "special" field names,
9258         as mail-fetch-field does for all others.
9260         * mail/rmail.el (rmail-forward):
9261         * mail/rmailkwd.el (rmail-set-label):
9262         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9263         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
9265         * mail/rmail.el (rmail-current-message): Doc fix.
9267         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
9269 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9271         * server.el (server-eval-and-print): Allow C-g (bug#6585).
9273 2011-11-22  Glenn Morris  <rgm@gnu.org>
9275         * mail/rmailmm.el (test-rmail-mime-handler)
9276         (test-rmail-mime-bulk-handler)
9277         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9279 2011-11-21  Juri Linkov  <juri@jurta.org>
9281         * calc/calc.el (calc-read-key-sequence):
9282         Let-bind `input-method-function' to nil.  (Bug#10018)
9284 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9286         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9287         Tell the caller that the next line needs recomputation, even
9288         though it doesn't start a sexp (bug#10094).
9290 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9292         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9294 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9296         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9297         Use force-same-window.
9299 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
9301         * descr-text.el (describe-char-unicode-data):
9302         * json.el (json-string-escape):
9303         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9304         (Footnote-unicode, Footnote-style-p):
9305         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9307 2011-11-20  Chong Yidong  <cyd@gnu.org>
9309         * window.el (replace-buffer-in-windows): Restore interactive spec.
9311 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9313         * electric.el (electric-indent-mode): Fix last change (too optimistic).
9315         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9316         (byte-compile-global-not-obsolete-vars): New var.
9317         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9318         Use it.
9319         (byte-compile-warn-obsolete): Align text with the one in *Help*.
9321 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
9323         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9324         * progmodes/pascal.el (electric-pascal-equal):
9325         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9326         * xml.el (xml-substitute-special): Fix typos.
9328 2011-11-20  Glenn Morris  <rgm@gnu.org>
9330         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9331         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9332         Doc fixes.
9333         (rmail-decode-mime-charset): Mark as obsolete.
9335         * mail/rmailsum.el (rmail-message-regexp-p-1):
9336         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9337         Before using mime functions, check they are set.  (Bug#10077)
9339 2011-11-19  Juri Linkov  <juri@jurta.org>
9341         * info.el (Info-finder-find-node): Use `package--builtins' instead
9342         of `package-alist'.  Use node names formed by the pattern "Keyword "
9343         and the keyword name.
9345 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
9347         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
9349 2011-11-19  Juri Linkov  <juri@jurta.org>
9351         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9352         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
9353         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9354         `old-history', `old-history-forward'.  Add let-binding
9355         `window-selected'.  Remove calls to `kill-buffer',
9356         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
9357         before calling `Info-find-node', so `Info-find-node-2' will reread
9358         the Info file.  Restore window positions only when `window-selected'
9359         is non-nil.
9361 2011-11-19  Juri Linkov  <juri@jurta.org>
9363         * isearch.el (isearch-lazy-highlight-new-loop):
9364         Remove condition `(not isearch-error)'.  (Bug#9918)
9366         * misearch.el (multi-isearch-search-fun): Add condition
9367         `(not bound)' to ignore lazy-highlighting search.
9368         Add the search-failed message "end of multi" when the end of
9369         multi-sequence is reached.  Uncapitalize the search-failed
9370         message "Repeat for next buffer".
9372         * info.el (Info-search): Add the search-failed message
9373         "end of the manual" when the end of the manual is reached
9374         in Isearch mode.
9376 2011-11-19  Juri Linkov  <juri@jurta.org>
9378         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9379         Use non-destructive `remove' instead of `delete' because
9380         `Info-history-list' stored to `Info-isearch-initial-history-list' in
9381         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9383 2011-11-19  Juri Linkov  <juri@jurta.org>
9385         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9386         to nil instead of binding `search-ring' and `regexp-search-ring'.
9387         (Bug#9185)
9389 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
9391         * simple.el (line-move): Force movement by logical lines for any
9392         hscrolled window, not only when auto-hscroll-mode is on.
9393         (line-move-visual): Update doc string to that effect.  (Bug#10076)
9395 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
9397         * language/european.el (macintosh): Define as alias for mac-roman.
9399 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
9401         * mail/rmailmm.el (rmail-mime-display-header)
9402         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9403         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9404         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9405         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9406         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9407         of a raw aref.
9408         (rmail-mime-entity-segment): To get past the tagline, move forward
9409         2 more lines, to account for the 2 empty lines that precede and
9410         follow the line with the buttons.
9411         (rmail-mime-update-tagline): Move one more line, to get past the
9412         empty line that follows the buttons in the tagline.  (Bug#9520)
9414 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
9416         * window.el (window-max-delta-1, window-min-delta-1)
9417         (window-min-size-1, window-state-get-1, window-state-put-1)
9418         (window-state-put-2): Use "window--" prefix.
9420 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9422         * emacs-lisp/smie.el: Improve warnings and conflict detection.
9423         (smie-warning-count): New var.
9424         (smie-set-prec2tab): Use it.
9425         (smie-bnf->prec2): Improve warnings.  Add docstring.
9426         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9427         (smie-bnf--set-class): New function.
9428         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
9429         corner case.
9431         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9432         (compilation-error-properties, compilation-move-to-column):
9433         Handle compilation-first-column while in the target buffer.
9435         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9436         Don't hardcode point-min==1.
9438         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9439         (eshell-rewrite-for-command): Remove workaround.
9440         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9441         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9442         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9444         * files-x.el (modify-file-local-variable): Obey commenting conventions.
9446 2011-11-17  Glenn Morris  <rgm@gnu.org>
9448         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9449         Ignore buffer-local generated-autoload-file if it is the same
9450         as the global value.  (Bug#10049)
9452 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
9454         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9455         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9456         (reftex-toc-previous-heading, reftex-toc-max-level)
9457         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9458         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9459         (reftex-toc-do-promote, reftex-toc-promote-prepare)
9460         (reftex-toc-promote-action, reftex-toc-extract-section-number)
9461         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9462         (reftex-toc-rename-label, reftex-toc-visit-location)
9463         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9464         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9465         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9466         leaving "*toc*" only for references to the buffer.
9468 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
9470         * window.el (window-resize, delete-window, split-window):
9471         Replace window-splits by window-combination-resize.
9472         * cus-start.el (window-splits): Replace by window-combination-resize.
9474 2011-11-17  Glenn Morris  <rgm@gnu.org>
9476         * progmodes/sh-script.el (sh-font-lock-keywords-var):
9477         Make bash entry derive from sh entry, not shell entry.
9479 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
9481         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9482         local file name.
9484 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
9486         * menu-bar.el (menu-bar-file-menu):
9487         * printing.el (pr-ps-utility):
9488         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9489         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9490         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9491         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9492         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9493         (icalendar--convert-cyclic-to-ical)
9494         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9495         (icalendar--convert-ical-to-diary)
9496         (icalendar--convert-recurring-to-diary)
9497         (icalendar--convert-non-recurring-all-day-to-diary)
9498         (icalendar-import-format-sample):
9499         * progmodes/idlw-shell.el (idlwave-shell-mode):
9500         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9501         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9502         (vhdl-ps-print-init): Fix typos.
9504 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
9506         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9507         FSF and collapse date sequence, obscure author/maintainer email address
9508         better, remove extra version line, track relocation of author's webpage.
9510         * progmodes/python.el (python-pdbtrack-input-prompt)
9511         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9512         regular python pdb prompts.  Adjustments shamelessly taken exactly as
9513         suggested in EmacsWiki page (tiny change):
9514         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
9516 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
9518         * expand.el (expand-pos, expand-index, expand-point):
9519         Remove redundant info from docstring.
9520         (expand-add-abbrevs): Doc fix.
9521         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9522         (expand-sample-perl-mode-expand-list): Fix typos.
9524         * net/dbus.el (dbus-event-member-name):
9525         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9526         * term/pc-win.el (msdos-create-frame-with-faces):
9527         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9529 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
9531         * window.el (split-window, window-state-get-1)
9532         (window-state-put-1, window-state-put-2): Rename occurrences of
9533         window-nest to window-combination-limit.
9534         * cus-start.el (window-nest): Rename to window-combination-limit.
9536 2011-11-16  Chong Yidong  <cyd@gnu.org>
9538         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9539         regexp (Bug#10033).
9541 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9543         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9544         `completing-read' will remove *Completions* and will preserve
9545         current-buffer for us.
9546         (tmm-add-prompt): Users of *Completions* will always (re)set its
9547         major mode.
9548         (tmm-old-comp-map): Remove.
9550 2011-11-16  Glenn Morris  <rgm@gnu.org>
9552         * mail/rmailedit.el: Require rmailmm when compiling.
9553         (rmail-old-mime-state): New declaration.
9554         (rmail-edit-current-message): If editing a mime message,
9555         edit the "raw" message from the mbox buffer.
9556         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
9558 2011-11-15  Glenn Morris  <rgm@gnu.org>
9560         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9561         which wasn't being used.  Add optional arg to force given state.
9562         (rmail-mime): Add optional arg to force given state.
9564 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
9566         * allout.el (allout-encryption-plaintext-sanitization-regexps):
9567         * frame.el (display-mm-dimensions-alist):
9568         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9569         (outline-move-subtree-down):
9570         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9571         (newsticker--treeview-do-get-node):
9572         * net/quickurl.el (quickurl-list-buffer-name):
9573         * progmodes/dcl-mode.el (dcl-mode):
9574         * progmodes/gdb-mi.el (gdb-mapcar*):
9575         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9577 2011-11-15  Glenn Morris  <rgm@gnu.org>
9579         * mail/rmail.el (rmail-file-coding-system): It's only ever used
9580         in a boolean sense, so just make it a boolean, and fix the doc.
9581         (rmail-show-mime-function, rmail-mime-feature)
9582         (rmail-require-mime-maybe): Doc fixes.
9583         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9585         * mail/rmailmm.el (rmail-show-mime): Doc fix.
9587 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
9589         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9590         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9591         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9592         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9594 2011-11-15  Glenn Morris  <rgm@gnu.org>
9596         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9597         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9598         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9599         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9600         (rmail-mime, rmail-show-mime): Doc fixes.
9602         * term/ns-win.el (mode-line-frame-identification):
9603         Leave it alone.  (Bug#10051)
9605         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
9607         * mail/rmailout.el (rmail-output-to-rmail-buffer):
9608         Handle empty buffers.  (Bug#9978)
9610 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
9612         * international/mule.el (define-charset):
9613         * mail/rmailmm.el (rmail-mime-find-header-encoding):
9614         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9615         * progmodes/verilog-mode.el (verilog-backward-token):
9616         * textmodes/ispell.el (lookup-words):
9617         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9619 2011-11-14  Glenn Morris  <rgm@gnu.org>
9621         * progmodes/executable.el
9622         (executable-make-buffer-file-executable-if-script-p):
9623         Handle file-modes returning nil.
9625         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9626         message - not necessary, and causes problems.  (Bug#9831)
9628         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9630         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9632         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9633         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
9634         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9636 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
9638         * window.el (window-resize, delete-window): Use window-splits
9639         variable instead of function.
9640         (window-state-get-1, window-state-put-2, window-state-put):
9641         Don't deal with windows' splits status.
9643 2011-11-12  Glenn Morris  <rgm@gnu.org>
9645         * apropos.el (apropos-do-all, apropos-library, apropos-value)
9646         (apropos-documentation): Doc fixes.
9648 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
9650         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9651         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9653 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9655         * electric.el (electric-indent-post-self-insert-function): Make it
9656         possible for a char to only indent in some circumstances.
9657         (electric-indent-mode): Simplify.
9659 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
9661         * window.el (windows-with-parameter): Remove unused function.
9662         (windows-at-side): Rename to window-at-side-list.
9663         (window-check, window-atom-check, window-atom-check-1)
9664         (window-side-check, window-size-ignore, window-size-fixed-1)
9665         (window-in-direction-2): Prefix with "window--".
9666         (window-tree-1): Rename to window--subtree, fix doc-string.
9668 2011-11-11  Glenn Morris  <rgm@gnu.org>
9670         * subr.el (eval-after-load): If FILE is already loaded,
9671         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
9673 2011-11-10  Glenn Morris  <rgm@gnu.org>
9675         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9676         Call svn via vc-svn-command rather than vc-do-command.
9677         (vc-svn-command): Add --non-interactive.  (Bug#9993)
9678         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9680         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9681         Add toggle-read-only.  (Bug#7292)
9682         * files.el (toggle-read-only): Mention that it should only
9683         be used interactively.  (Bug#10006)
9685 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9687         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9688         Adjust regexp for OCaml warnings.
9690         * electric.el (electric-pair-post-self-insert-function): Let user
9691         turn it off buffer-locally (bug#9932).
9693         * progmodes/python.el (python-beginning-of-statement):
9694         Rewrite (bug#2703).
9696         * progmodes/compile.el: Better handle TABs (bug#9749).
9697         (compilation-internal-error-properties)
9698         (compilation-next-error-function): Obey the target buffer's
9699         compilation-error-screen-columns.
9701 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
9703         * progmodes/meta-mode.el: Remove obsolete comments.
9704         (meta-right-comment-regexp, meta-ignore-comment-regexp):
9705         Fix typos in docstrings.
9707 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
9709         * window.el (window-size-fixed-p): Rewrite doc-string.
9710         (window-resizable-p): Rename to window--resizable-p.  Update callers.
9711         (window--resizable): New function.  Make all callers of
9712         window-resizable call window--resizable instead.
9713         (window-resizable): Rewrite in terms of window--resizable.
9715 2011-11-08  Glenn Morris  <rgm@gnu.org>
9717         * progmodes/delphi.el (delphi-mode-syntax-table):
9718         Let define-derived-mode define a proper syntax table.  (Bug#9994)
9720 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9722         * window.el: Stay away from defsubst.
9723         (window-list-no-nils): Remove.
9724         (window-state-get-1, window-state-get): Use backquote instead.
9726 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9728         * emacs-lisp/find-func.el (find-function-read):
9729         Fix incorrect use of default argument in `completing-read'.
9731 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
9733         * window.el (display-buffer-function, special-display-function):
9734         Mention display-buffer-record-window but do not mention
9735         help-setup parameter in doc-strings.
9736         (window-min-delta): Fix doc-string typo.
9738 2011-11-08  Chong Yidong  <cyd@gnu.org>
9740         * window.el (window-total-height, window-total-width): Doc fix.
9741         (window-body-size): Move from C.
9742         (window-body-height, window-body-width): Move to C.
9744 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9746         * window.el: Make special-display like display-buffer-alist (bug#9532).
9747         (display-buffer--special-action): New function, morphed
9748         from display-buffer--special.
9749         (display-buffer): Use it to handle special-display-buffers at higher
9750         priority (just after display-buffer-alist).
9751         (display-buffer-fallback-action, display-buffer--other-frame-action)
9752         (pop-to-buffer-same-window): Remove display-buffer--special.
9754 2011-11-07  Glenn Morris  <rgm@gnu.org>
9756         * calendar/cal-menu.el (cal-menu-set-date-title):
9757         Do nothing if not in a calendar.  (Bug#9976)
9759 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9761         * files.el (find-file): Always use selected-window.
9763 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
9765         * window.el (window-combinations): Make WINDOW argument
9766         mandatory.  Rewrite doc-string.
9767         (walk-window-subtree, window-atom-check, window-min-delta)
9768         (window-max-delta, window--resize-this-window)
9769         (window--resize-root-window-vertically, window-tree)
9770         (balance-windows, window-state-put): Rewrite doc-strings as to
9771         not mention the term "subwindow".
9772         (window--resize-subwindows-skip-p): Rename to
9773         window--resize-child-windows-skip-p.
9774         (window--resize-subwindows-normal): Rename to
9775         window--resize-child-windows-normal.
9776         (window--resize-subwindows): Rename to
9777         window--resize-child-windows.
9778         (window-or-subwindow-p): Rename to window--in-subtree-p.
9780 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
9782         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9783         Ensure that mbox format messages end in two newlines (Bug#9974).
9785 2011-11-06  Chong Yidong  <cyd@gnu.org>
9787         * window.el (window-combination-p): Function deleted; its
9788         side-effect is not used in any existing code.
9789         (window-combinations, window-combined-p): Call window-*-child
9790         directly.
9792 2011-11-05  Chong Yidong  <cyd@gnu.org>
9794         * window.el (window-valid-p): Rename from window-any-p.
9795         (window-size-ignore, window-state-get): Callers changed.
9796         (window-normalize-window): Rename from window-normalize-any-window.
9797         New arg LIVE-ONLY, replacing window-normalize-live-window.
9798         (window-normalize-live-window): Delete.
9799         (window-combination-p, window-combined-p, window-combinations)
9800         (walk-window-subtree, window-atom-root, window-min-size)
9801         (window-sizable, window-sizable-p, window-size-fixed-p)
9802         (window-min-delta, window-max-delta, window-resizable)
9803         (window-resizable-p, window-full-height-p, window-full-width-p)
9804         (window-current-scroll-bars, window-point-1, set-window-point-1)
9805         (window-at-side-p, window-in-direction, window-resize)
9806         (adjust-window-trailing-edge, maximize-window, minimize-window)
9807         (window-deletable-p, delete-window, delete-other-windows)
9808         (record-window-buffer, unrecord-window-buffer)
9809         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9810         (quit-window, split-window, window-state-put)
9811         (set-window-text-height, fit-window-to-buffer)
9812         (shrink-window-if-larger-than-buffer): Callers changed.
9814 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
9816         * mail/rmail.el (rmail-simplified-subject): Decode subject with
9817         rfc2047-decode-string.
9818         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9819         warnings.
9821         * window.el (window-body-height, window-body-width): Mention in
9822         the doc string that the return values are in frame's canonical
9823         units.  (Bug#9949)
9825 2011-11-03  Alan Mackenzie  <acm@muc.de>
9827         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9828         change in cc-engine.el.
9830 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9832         * window.el (switch-to-buffer): Use `force-same-window' interactively.
9834 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
9836         * window.el (quit-window): Call unrecord-window-buffer after
9837         showing another buffer in the window.  (Bug#9937)
9838         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
9840 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
9842         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9843         Accept status with more than 9 shelves.  (Bug#9935)
9844         Reported by Colin D Bennett <colin@gibibit.com>.
9846 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
9848         * help.el (with-help-window): Don't reference
9849         temp-buffer-show-specifiers in doc-string.
9851 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
9853         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9854         menu-item.
9856 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9858         * whitespace.el: New version 13.2.2.
9859         (whitespace-newline-mode): Disable properly.  Reported by Sarah
9860         <EmacsWiki>.
9862 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
9864         * net/newst-treeview.el: Remove "Time-stamp".
9865         (newsticker--group-manage-orphan-feeds): Do not call
9866         newsticker--treeview-tree-update.
9867         (newsticker-treeview-update, newsticker-treeview):
9868         Call newsticker--treeview-tree-update if necessary.
9870 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
9872         * window.el (window-iso-combination-p, window-iso-combined-p)
9873         (window-iso-combinations): Remove "iso-" infix.
9874         Suggested by Chong Yidong.
9875         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9876         (window-max-delta-1, window-resize, window--resize-siblings)
9877         (window--resize-this-window, adjust-window-trailing-edge)
9878         (split-window, balance-windows-1)
9879         (shrink-window-if-larger-than-buffer):
9880         * calendar/calendar.el (calendar-generate-window):
9881         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
9883 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9885         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9886         in place (bug#9907).
9887         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9888         (eshell-rewrite-if-command, eshell-rewrite-for-command)
9889         (eshell-structure-basic-command, eshell-rewrite-while-command)
9890         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9891         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9892         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9893         (eshell-do-pipelines-synchronously, eshell-eval-command):
9894         Use backquotes and prefer setq to set.
9895         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9896         (eshell-macrop): Use functionp.
9897         (eshell-do-eval): Handle multiple expressions in `while' body.
9899 2011-10-30  Chong Yidong  <cyd@gnu.org>
9901         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9902         instead of set-mark (Bug#9810).
9904 2011-10-30  Chong Yidong  <cyd@gnu.org>
9906         * window.el (split-window-below, split-window-right): Rename from
9907         split-window-above-each-other and split-window-side-by-side
9908         respectively.  All callers changed.
9909         (split-window-sensibly, split-window-sensibly): Use them.
9910         (split-window-keep-point): Doc fix.
9912         * isearch.el: Add isearch-scroll property to split-window-below
9913         and split-window-right.
9915         * follow.el (follow-mode):
9916         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9917         * progmodes/ada-xref.el (ada-gdb-application):
9918         * emulation/vip.el (vip-buffer-in-two-windows):
9919         * image-dired.el (image-dired-dired-with-window-configuration):
9920         * dired-x.el (dired-do-find-marked-files):
9921         * dired.el (dired-pop-to-buffer):
9922         * bs.el (bs--show-with-configuration):
9923         * vc/emerge.el (emerge-setup-windows):
9924         * textmodes/two-column.el (2C-two-columns):
9925         * textmodes/reftex-toc.el (reftex-toc):
9926         * progmodes/gdb-mi.el (gdb-setup-windows):
9927         * progmodes/fortran.el (fortran-window-create):
9928         * net/newst-treeview.el (newsticker--treeview-window-init):
9929         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9930         * emulation/tpu-edt.el (tpu-gold-map):
9931         * emulation/crisp.el (crisp-mode-map):
9932         * calendar/calendar.el (calendar-basic-setup): Callers changed.
9934 2011-10-29  Chong Yidong  <cyd@gnu.org>
9936         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9938         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9940         * textmodes/flyspell.el (flyspell-word): Fix char offset for
9941         forged Ispell output (Bug#7904).
9943         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9945 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9947         * doc-view.el: Avoid ugly errors about not finding nil.
9948         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9949         (doc-view-dvipdf-program, doc-view-unoconv-program)
9950         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9951         Avoid nil or absolute file name as default value.
9952         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9954 2011-10-28  Alan Mackenzie  <acm@muc.de>
9956         * progmodes/cc-defs.el (c-version): -> 5.32.2.
9958 2011-10-28  Alan Mackenzie  <acm@muc.de>
9960         Amend the handling of c-beginning/end-of-defun in nested declaration
9961         scopes.
9963         * progmodes/cc-vars.el (c-defun-tactic): Move here from
9964         cc-langs.el.  Change it to a defcustom.
9966         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9967         cc-vars.el.
9969         * progmodes/cc-engine.el (c-beginning-of-statement-1):
9970         Prevent "class foo : bar" being spuriously recognized as a label.
9972         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
9973         Add parameter `inclusive' (to include enclosing braces in the region).
9974         (c-widen-to-enclosing-decl-scope): New function.
9975         (c-while-widening-to-decl-block): New macro.
9976         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9977         outward for defun boundaries, and correspondingly change symbol
9978         `respect-enclosure' to `go-outward'.
9979         (c-declaration-limits): Change algorithm to report only the "innermost"
9980         defun's boundaries.
9982 2011-10-28  Deniz Dogan  <deniz@dogan.se>
9984         * net/rcirc.el (rcirc-mode): Use hard newlines.
9986 2011-10-28  Alan Mackenzie  <acm@muc.de>
9988         Amend to indent and fontify macros "which include their own semicolon"
9989         correctly, using the "virtual semicolon" mechanism.
9991         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
9993         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9994         Recode to scan one line at a time rather than having \n and \r
9995         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
9996         (c-forward-label): Amend for virtual semicolons.
9997         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
9999         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10000         of the new C macros.
10002         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
10003         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10004         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
10005         (c-opt-cpp-macro-define): Make into a full language variable.
10006         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10007         AWK Mode (including \n, \r) removed, no longer needed.
10009         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10010         Invoke c-make-macro-with-semi-re.
10012         * progmodes/cc-vars.el (c-macro-with-semi-re):
10013         (c-macro-names-with-semicolon): New variables.
10014         (c-make-macro-with-semi-re): New function.
10016 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10018         * vc/log-edit.el: Fill empty field rather than adding new one.
10019         (log-edit-add-field): New function.
10020         (log-edit-insert-changelog): Use it.
10022 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10024         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10026 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10028         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10029         (gdb--check-interpreter): New function.
10030         (gdb): Use it.
10032 2011-10-27  Glenn Morris  <rgm@gnu.org>
10034         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10035         (least-positive-float, least-negative-float)
10036         (least-positive-normalized-float, least-negative-normalized-float)
10037         (float-epsilon, float-negative-epsilon):
10038         Remove unnecessary declarations.
10040         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10041         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10042         (least-positive-float, least-negative-float)
10043         (least-positive-normalized-float, least-negative-normalized-float)
10044         (float-epsilon, float-negative-epsilon): Add doc-strings,
10045         based on those in cl.texi.
10047         * files.el (set-visited-file-name): If the major-mode changed,
10048         reload the local variables.  (Bug#9796)
10050 2011-10-27  Chong Yidong  <cyd@gnu.org>
10052         * subr.el (change-major-mode-after-body-hook): New hook.
10053         (run-mode-hooks): Run it.
10055         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10056         Use change-major-mode-before-body-hook.
10058         * simple.el (fundamental-mode):
10059         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10060         change introducing fundamental-mode-hook.
10062 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
10064         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
10066 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
10068         * ido.el (ido-file-name-all-completions-1): Do not require
10069         tramp.el explicitly.  (Bug#7583)
10071 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10073         * progmodes/octave-mod.el:
10074         * progmodes/octave-inf.el: Update maintainer.
10076 2011-10-26  Chong Yidong  <cyd@gnu.org>
10078         * subr.el (with-wrapper-hook): Rewrite doc.
10080 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
10082         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
10083         filenames "/method:foo:".  (Bug#9793)
10085 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10087         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10088         (bug#9865).
10090 2011-10-24  Glenn Morris  <rgm@gnu.org>
10092         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
10094 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
10096         * notifications.el: Add the requirement of a running D-Bus session
10097         bus to the Commentary.
10099 2011-10-24  Juri Linkov  <juri@jurta.org>
10101         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10102         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10103         (Bug#9364)
10105 2011-10-24  Juri Linkov  <juri@jurta.org>
10107         * info.el (Info-following-node-name-re): Add newline to the list
10108         of allowed characters for leading space.  (Bug#9824)
10110 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10112         * progmodes/octave-inf.el (inferior-octave-mode-map):
10113         Fix C-c C-h binding.
10114         * progmodes/octave-mod.el (octave-help): Remove.
10116 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
10118         Sync with Tramp 2.2.3.
10120         * net/tramp-cache.el (top): Pacify byte-compiler using
10121         `init-file-user' and `site-run-file'.
10123         * net/trampver.el: Update release number.
10125 2011-10-23  Chong Yidong  <cyd@gnu.org>
10127         * files.el (toggle-read-only): Remove obsolete comment about
10128         version control.
10130         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10131         for toggle-read-only.  Note that this hasn't called vc-next-action
10132         since 2008-05-02, though it wasn't documented at the time.
10134         * vc/ediff-init.el (ediff-toggle-read-only-function):
10135         Use toggle-read-only.
10137 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
10139         Fix bug #9560, sporadic wrong indentation; improve instrumentation
10140         of c-parse-state.
10142         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10143         correct faulty logical expression.
10144         (c-parse-state-state, c-record-parse-state-state):
10145         (c-replay-parse-state-state): New defvar/defuns.
10146         (c-debug-parse-state): Use new functions.
10148 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
10150         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
10151         last fix.  Use window-in-direction correctly.
10153 2011-10-21  Chong Yidong  <cyd@gnu.org>
10155         * progmodes/idlwave.el (idlwave-mode):
10156         * progmodes/vera-mode.el (vera-mode): No need to set
10157         require-final-newline; that's done in prog-mode.
10158         Suggested by Stefan Monnier.
10160 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
10162         * mouse.el (mouse-drag-window-above)
10163         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10164         (mouse-drag-mode-line-1, mouse-drag-header-line)
10165         (mouse-drag-vertical-line-rightward-window): Remove.
10166         (mouse-drag-line): New function.
10167         (mouse-drag-mode-line, mouse-drag-header-line)
10168         (mouse-drag-vertical-line): Call mouse-drag-line.
10169         * window.el (window-at-side-p, windows-at-side): New functions.
10171 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
10173         * tar-mode.el (tar-grind-file-mode):
10174         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
10176 2011-10-21  Chong Yidong  <cyd@gnu.org>
10178         * progmodes/idlwave.el (idlwave-mode):
10179         * progmodes/vera-mode.el (vera-mode):
10180         Use mode-require-final-newline.
10182 2011-10-20  Glenn Morris  <rgm@gnu.org>
10184         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
10186 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
10188         * emulation/cua-base.el (cua-set-mark): Fix case of string.
10190 2011-10-20  Chong Yidong  <cyd@gnu.org>
10192         * emulation/cua-base.el (cua-mode):
10193         * mail/footnote.el (footnote-mode):
10194         * mail/mailabbrev.el (mail-abbrevs-mode):
10195         * net/xesam.el (xesam-minor-mode):
10196         * progmodes/bug-reference.el (bug-reference-mode):
10197         * progmodes/cap-words.el (capitalized-words-mode):
10198         * progmodes/compile.el (compilation-minor-mode)
10199         (compilation-shell-minor-mode):
10200         * progmodes/gud.el (gud-tooltip-mode):
10201         * progmodes/hideif.el (hide-ifdef-mode):
10202         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10203         * progmodes/subword.el (subword-mode):
10204         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10205         * progmodes/which-func.el (which-function-mode):
10206         * term/tvi970.el (tvi970-set-keypad-mode):
10207         * term/vt100.el (vt100-wide-mode):
10208         * textmodes/flyspell.el (flyspell-mode):
10209         * textmodes/ispell.el (ispell-minor-mode):
10210         * textmodes/nroff-mode.el (nroff-electric-mode):
10211         * textmodes/paragraphs.el (use-hard-newlines):
10212         * textmodes/refill.el (refill-mode):
10213         * textmodes/reftex.el (reftex-mode):
10214         * textmodes/rst.el (rst-minor-mode):
10215         * textmodes/sgml-mode.el (html-autoview-mode)
10216         (sgml-electric-tag-pair-mode):
10217         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10218         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10219         * emulation/crisp.el (crisp-mode):
10220         * emacs-lisp/eldoc.el (eldoc-mode):
10221         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10222         minor mode behavior.
10224 2011-10-19  Juri Linkov  <juri@jurta.org>
10226         * descr-text.el (describe-char): Add #x2010 and #x2011 to
10227         the list of hard-coded chars with escape-glyph face.
10229 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10231         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10233 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
10235         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10236         running process.
10238 2011-10-19  Glenn Morris  <rgm@gnu.org>
10240         * vc/vc-bzr.el (vc-bzr-after-dir-status):
10241         Ignore ignored files.  (Bug#9726)
10243 2011-10-19  Chong Yidong  <cyd@gnu.org>
10245         Doc fix for minor modes, stating that an omitted argument enables
10246         the mode unconditionally when called from Lisp.
10248         * abbrev.el (abbrev-mode):
10249         * allout.el (allout-mode):
10250         * autoinsert.el (auto-insert-mode):
10251         * autoarg.el (autoarg-mode, autoarg-kp-mode):
10252         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10253         (global-auto-revert-mode):
10254         * battery.el (display-battery-mode):
10255         * composite.el (global-auto-composition-mode)
10256         (auto-composition-mode):
10257         * delsel.el (delete-selection-mode):
10258         * desktop.el (desktop-save-mode):
10259         * dired-x.el (dired-omit-mode):
10260         * dirtrack.el (dirtrack-mode):
10261         * doc-view.el (doc-view-minor-mode):
10262         * double.el (double-mode):
10263         * electric.el (electric-indent-mode, electric-pair-mode):
10264         * emacs-lock.el (emacs-lock-mode):
10265         * epa-hook.el (auto-encryption-mode):
10266         * follow.el (follow-mode):
10267         * font-core.el (font-lock-mode):
10268         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10269         * help.el (temp-buffer-resize-mode):
10270         * hilit-chg.el (highlight-changes-mode)
10271         (highlight-changes-visible-mode):
10272         * hi-lock.el (hi-lock-mode):
10273         * hl-line.el (hl-line-mode, global-hl-line-mode):
10274         * icomplete.el (icomplete-mode):
10275         * ido.el (ido-everywhere):
10276         * image-file.el (auto-image-file-mode):
10277         * image-mode.el (image-minor-mode):
10278         * iswitchb.el (iswitchb-mode):
10279         * jka-cmpr-hook.el (auto-compression-mode):
10280         * linum.el (linum-mode):
10281         * longlines.el (longlines-mode):
10282         * master.el (master-mode):
10283         * mb-depth.el (minibuffer-depth-indicate-mode):
10284         * menu-bar.el (menu-bar-mode):
10285         * minibuf-eldef.el (minibuffer-electric-default-mode):
10286         * mouse-sel.el (mouse-sel-mode):
10287         * msb.el (msb-mode):
10288         * mwheel.el (mouse-wheel-mode):
10289         * outline.el (outline-minor-mode):
10290         * paren.el (show-paren-mode):
10291         * recentf.el (recentf-mode):
10292         * reveal.el (reveal-mode, global-reveal-mode):
10293         * rfn-eshadow.el (file-name-shadow-mode):
10294         * ruler-mode.el (ruler-mode):
10295         * savehist.el (savehist-mode):
10296         * scroll-all.el (scroll-all-mode):
10297         * scroll-bar.el (scroll-bar-mode):
10298         * server.el (server-mode):
10299         * shell.el (shell-dirtrack-mode):
10300         * simple.el (auto-fill-mode, transient-mark-mode)
10301         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10302         (line-number-mode, column-number-mode, size-indication-mode)
10303         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10304         * strokes.el (strokes-mode):
10305         * time.el (display-time-mode):
10306         * t-mouse.el (gpm-mouse-mode):
10307         * tool-bar.el (tool-bar-mode):
10308         * tooltip.el (tooltip-mode):
10309         * type-break.el (type-break-mode-line-message-mode)
10310         (type-break-query-mode):
10311         * view.el (view-mode):
10312         * whitespace.el (whitespace-mode, whitespace-newline-mode)
10313         (global-whitespace-mode, global-whitespace-newline-mode):
10314         * xt-mouse.el (xterm-mouse-mode): Doc fix.
10316         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10317         Fix autogenerated docstring.
10319 2011-10-19  Juri Linkov  <juri@jurta.org>
10321         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10322         by checking environment variables "DESKTOP_SESSION" and
10323         "XDG_CURRENT_DESKTOP".  (Bug#9779)
10325 2011-10-19  Juri Linkov  <juri@jurta.org>
10327         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10328         (browse-url-chromium-program, browse-url-chromium-arguments):
10329         New defcustoms.
10330         (browse-url-default-browser): Check for `browse-url-chromium' and
10331         call `browse-url-chromium-program'.
10332         (browse-url-chromium): New command.  (Bug#9779)
10334 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
10336         * facemenu.el (list-colors-duplicates): On Windows, detect more
10337         duplicates by assuming that only colors matching "^System" are
10338         special "system colors".  (Bug#9722)
10340 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10342         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10343         to distinguish the author from the committer.
10345 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
10347         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10349 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
10351         * international/mule.el (sgml-html-meta-auto-coding-function):
10352         Add support for detecting encoding in HTML5 specified only as
10353         <meta charset="UTF-8">.  Implementation just makes http-equiv and
10354         content-type parts from HTML4 encoding string optional.  (Bug#9716)
10356 2011-10-18  Glenn Morris  <rgm@gnu.org>
10358         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
10360 2011-10-18  Chong Yidong  <cyd@gnu.org>
10362         * faces.el (cursor): Doc fix.
10364 2011-10-17  Chong Yidong  <cyd@gnu.org>
10366         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10368 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
10370         * dirtrack.el (dirtrack): Support shell buffers with path
10371         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
10373 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
10375         * json.el: Bump version to 1.3 and note change in History.
10376         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10378 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10380         * comint.el (comint-insert-input, comint-send-input)
10381         (comint-get-old-input-default, comint-backward-matching-input)
10382         (comint-next-prompt): Use nil instead of `input' for field property of
10383         past user input (bug#114).
10385         * minibuffer.el (completion--replace): Inherit surrounding properties
10386         (bug#114).
10387         (minibuffer-complete-and-exit): Use it.
10389         * comint.el (comint--table-subvert): Quote the all-completions output
10390         (bug#9160).
10392 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
10394         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
10396         * menu-bar.el (menu-bar-file-menu): Add entry for making new
10397         window on right of selected.  (Bug#9350) Reword other window
10398         entries and separate them from frame entries.
10400 2011-10-15  Glenn Morris  <rgm@gnu.org>
10402         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10403         Doc fixes.
10405 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
10407         * net/network-stream.el (network-stream-open-starttls):
10408         Improve detection of failure due to lack of TLS support.
10410         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10411         putting the input text in front and in bold.
10413 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10415         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10417         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10418         empty buffer.
10420         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10421         unread-command-events rather than pushing yet-another event.
10423 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
10425         * mail/sendmail.el (sendmail-query-once): Improve the wording of
10426         the explanation of the possible choices.  Make the options passed
10427         to completing-read shorter.
10429 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10431         * textmodes/flyspell.el (flyspell-large-region): Make sure
10432         extended character mode is used if defined (Bug#1339).
10434 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
10436         * simple.el (what-cursor-position): Fix the display of the
10437         character info for LRE, LRO, RLE, and RLO characters by appending
10438         an invisible PDF.
10440 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10442         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10443         even in case of error; add debug spec; simplify data flow.
10444         (with-timeout-handler): Remove.
10446 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
10448         Fix Bug#6019, Bug#9315.
10450         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10451         complete `buffer-file-name', the local file name part could look
10452         remotely (for example on VMS).
10454         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10455         `tramp-run-real-handler'.
10456         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10457         already quoted by '"'.
10459         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10460         Let `file-name-handler-alist' be nil, the local file name part
10461         could look remotely (for example on VMS).
10463 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10465         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10466         from here...
10467         (flyspell-post-command-hook): ...to here.
10469 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10471         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10472         if not needed.
10473         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
10474         using completion.  Protect against "slow" callers.
10475         Remove the "message hack".
10477 2011-10-11  Juri Linkov  <juri@jurta.org>
10479         * isearch.el (isearch-lazy-highlight-word): New variable.
10480         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10481         Use it.  (Bug#9727)
10483 2011-10-11  Glenn Morris  <rgm@gnu.org>
10485         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10486         like f90-previous-statement does.
10488 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10490         * eshell/eshell.el (eshell-command): History should be saved
10491         only in interactive use, to avoid error.
10493 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10495         * minibuffer.el (completion-file-name-table): Fix last change,
10496         i.e. ignore normal errors but not the other ones.
10498 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
10500         * window.el (special-display-buffer-names)
10501         (special-display-regexps): Remove some remnants of earlier
10502         changes from doc-strings.
10503         (quit-windows-on): New function.
10505         * vc/vc.el (vc-revert, vc-rollback):
10506         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10507         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
10508         (Bug#6183) (Bug#7074) (Bug#7447)
10510 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
10512         * window.el (frame-auto-hide-function): Add version tag.
10513         (Bug#9699)
10515 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
10517         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10518         condition.
10520 2011-10-09  Leo Liu  <sdl.web@gmail.com>
10522         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10523         (Bug#9701)
10525 2011-10-08  Glenn Morris  <rgm@gnu.org>
10527         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10528         before the first code statement zero indent.  (Bug#9690)
10530 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
10532         * simple.el (count-words-region): Always count in the region.
10533         Report the number of lines and characters too.
10534         (count-words): New command, which counts in the buffer if the
10535         region is inactive, as count-words-region used to.
10536         (count-words--message): New function.  Handle plurals.
10537         (count-lines-region): Make it an alias for count-words-region.
10539         * bindings.el (esc-map): Replace count-lines-region with
10540         count-words-region.
10542 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
10544         * window.el (window--delete): Delete dedicated frame
10545         unconditionally when argument KILL is non-nil.  (Bug#9699)
10546         (switch-to-buffer): Fix doc-string typo.
10548 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10550         * eshell/eshell.el (eshell-command): Avoid using hooks.
10552 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
10554         * bindings.el ([M-left],[M-right]): Bind to left-word and
10555         right-word respectively.
10557 2011-10-07  Glenn Morris  <rgm@gnu.org>
10559         * cus-start.el (debug-on-quit): Fix custom type.
10561 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10563         * subr.el (define-key-after): Clarify that the function is not
10564         useful for non-menu keymaps.
10566         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10568 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10570         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
10571         in current minibuffer (Fix bug with recursive minibuffers).
10573 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
10575         * progmodes/gdb-mi.el (gdb): Doc fix.
10577 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
10579         * window.el (frame-auto-hide-function): New option replacing
10580         frame-auto-delete.  Suggested by Stefan Monnier.
10581         (window--delete): Call frame-auto-hide-function instead of
10582         investigating frame-auto-delete.
10583         (window-point-1, set-window-point-1): New functions.
10584         (window-in-direction, record-window-buffer, window-state-get-1)
10585         (display-buffer-record-window): Use window-point-1 instead of
10586         window-point.
10587         (set-window-buffer-start-and-point): Use set-window-point-1.
10589 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10591         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10593 2011-10-05  Glenn Morris  <rgm@gnu.org>
10595         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10596         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
10598 2011-10-05  Leo Liu  <sdl.web@gmail.com>
10600         * subr.el (read-char-choice): Fix argument to buffer-live-p which
10601         works with buffer object.
10603 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10605         * mpc.el (mpc-tool-bar-map): Add labels.
10607 2011-10-04  Glenn Morris  <rgm@gnu.org>
10609         * calendar/holidays.el (calendar-check-holidays): Doc fix.
10611 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
10613         * window.el (window--delete): New function.
10614         (frame-auto-delete): Resuscitate option.
10615         (bury-buffer, replace-buffer-in-windows)
10616         (quit-window): Rewrite using window--delete.
10617         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10618         Pass display-buffer-mark-dedicated to window--display-buffer-2
10619         (Bug#9639).
10621 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10623         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10624         returns a list (bug#9554).  Add remote file name completion.
10625         * comint.el (comint--table-subvert): Curry and get quote&unquote
10626         functions as arguments.
10627         (comint--complete-file-name-data): Adjust call accordingly.
10628         * pcomplete.el (pcomplete--table-subvert): Remove.
10629         (pcomplete-completions-at-point): Use comint--table-subvert instead.
10631         * minibuffer.el (completion-table-case-fold): Use currying.
10632         (completion--styles-type, completion--cycling-threshold-type):
10633         New constants.
10634         (completion-styles, completion-category-overrides)
10635         (completion-cycle-threshold): Use them.
10636         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10637         completion-table-case-fold.
10639 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
10641         * minibuffer.el (completion-category-overrides): Fix type of styles
10642         and add more user friendly tags (bug#9660).
10644 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10646         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10647         (mule-input-method-string): New widget.
10648         (default-input-method, language-info-custom-alist): Use it.
10650 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10652         * pcomplete.el: Require comint.
10653         (pcomplete--common-suffix): Remove.
10654         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10655         (pcomplete--table-subvert): Sync with comint--table-subvert.
10656         (pcomplete--entries): Use comint-completion-file-name-table.
10657         * comint.el (comint-unquote-filename): Simplify.
10658         (comint-completion-file-name-table): New function (bug#9616).
10659         (comint--complete-file-name-data): Use it.
10661         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10662         (pcmpl-gnu-tar-buffer): Remove.
10663         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
10664         around.  Make sure pcomplete-suffix-list is only changed temporarily.
10665         Don't look inside the tar's file if it's too large.
10667 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
10669         * cus-edit.el (custom-mode-map):
10670         * epa.el (epa-key-list-mode-map):
10671         * man.el (Man-mode-map):
10672         * startup.el (splash-screen-keymap):
10673         * simple.el (special-mode-map): Use scroll-up-command and
10674         scroll-down-command.
10676         * progmodes/idlw-help.el (idlwave-help-mode-map):
10677         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10678         * net/newst-plainview.el (newsticker-mode-map):
10679         * emulation/ws-mode.el (wordstar-mode-map):
10680         * emulation/vi.el (vi-com-map):
10681         * calc/calc-graph.el (calc-graph-show-dumb):
10682         * term/sun.el (terminal-init-sun):
10683         * term/ns-win.el (global-map):
10684         * progmodes/grep.el (grep-mode-map):
10685         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10686         * mail/rmail.el (rmail-mode-map):
10687         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10689         * custom.el (custom-safe-themes, load-theme): Treat value of t for
10690         custom-safe-themes as special.
10692 2011-10-01  Julien Danjou  <julien@danjou.info>
10694         * notifications.el (notifications-notify): Fix docstring.
10696 2011-10-01  Per Starbäck  <per@starback.se>
10698         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
10700 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
10702         * startup.el (command-line-1): Fix last fix by inserting
10703         initial-scratch-message into *scratch* before displaying it.
10704         (Bug#9605) and (Bug#9636)
10706 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
10708         * simple.el (line-move): If auto-hscroll-mode is disabled and the
10709         window is hscrolled, move by logical lines.  (Bug#9607)
10710         (line-move-visual): Update the doc string to the above effect.
10712 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
10714         * window.el (display-buffer-record-window): When WINDOW is the
10715         selected window use `point' instead of `window-point'.  (Bug#9626)
10717         * startup.el (command-line-1): Use insert-before-markers when
10718         inserting initial-scratch-message.  (Bug#9605)
10720         * help.el (help-window): Remove variable.
10722 2011-09-29  Glenn Morris  <rgm@gnu.org>
10724         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10726 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
10728         * descr-text.el (describe-char-categories): Accept category
10729         descriptions more than one line long.
10731 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10733         * simple.el (delete-trailing-whitespace): Fix last change.
10735         * progmodes/perl-mode.el (perl-syntax-propertize-function):
10736         Don't confuse "y => 3" as the beginning of a `y' operation.
10738         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10739         object has more than 4 slots (bug#9613).
10741 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
10743         * subr.el (with-output-to-temp-buffer):
10744         * net/quickurl.el (quickurl, quickurl-browse-url):
10745         Fix typos in docstrings.
10747 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
10749         * minibuffer.el (completion-styles)
10750         (completion-category-overrides): Cross reference each other in doc
10751         strings.
10753 2011-09-27  Glenn Morris  <rgm@gnu.org>
10755         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10756         to split-string.  (Bug#9606)
10758 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10760         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10761         (bug#9615).
10763 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
10765         * emacs-lisp/package.el (list-packages): Fix echo area message.
10767 2011-09-27  Leo Liu  <sdl.web@gmail.com>
10769         * ido.el (ido-read-internal): Accept cons cell HIST arg.
10771 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
10773         * net/dbus.el (dbus-unregister-object): Don't release services for
10774         registered signals.  (Bug#9581)
10776 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
10778         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10779         function that picks between cfengine 2 and 3 support
10780         automatically.  Update docs accordingly.
10782 2011-09-22  Kenichi Handa  <handa@m17n.org>
10784         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10785         ZERO.
10786         (indian-itrans-v5-table-for-tamil): New variable.
10787         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10789 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
10791         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10792         that's true if the current command involved collapsing of text.
10793         It's reset to false at the beginning of the next command.
10794         (allout-post-command-business): Move the cursor to the beginning
10795         of entry if the cursor is hidden and collapsing activity just
10796         happened.
10798 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
10800         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10801         tracking (Bug#9541).
10803 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
10805         * net/newst-reader.el (newsticker-html-renderer)
10806         (newsticker-show-news): Automatically load html rendering package
10807         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
10808         because w3m-fill-column is let-bound" and the error "Symbol's value
10809         as variable is void: w3m-fill-column".
10811 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
10813         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10814         Release services only if they are defined.  (Bug#9581)
10816 2011-09-23  Richard Stallman  <rms@gnu.org>
10818         * textmodes/paragraphs.el (forward-sentence): For backwards case,
10819         distinguish start of paragraph from start of its text.
10821         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10823         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10824         (rmail-generate-viewer-buffer): Put that hook on view buffer.
10825         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10827 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
10829         * international/mule-diag.el (mule-diag): Insert a newline after
10830         each fontset description.
10832 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10834         * simple.el (delete-trailing-whitespace):
10835         Document last change; simplify.
10837 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
10839         * simple.el (delete-trailing-whitespace): Also delete
10840         extra newlines at the end of the buffer.
10842         * textmodes/picture.el: Make motion commands obey shift-select-mode.
10843         (picture-newline): Use forward-line so as to ignore fields.
10845 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10847         * subr.el (with-wrapper-hook): Fix edebug spec.
10849 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10851         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10852         (bug#4538).
10854 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
10856         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10857         Fix nasty bug using wrong cached values.
10859 2011-09-23  Alan Mackenzie  <acm@muc.de>
10861         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10863 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
10865         * window.el (pop-to-buffer): Ensure right window is selected if we
10866         chose another frame.
10868 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
10870         * simple.el (what-cursor-position): Use get-char-property-change
10871         and next-single-char-property-change, to be able to show display
10872         properties that come from overlays as well as text properties.
10874 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
10876         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10878         * cmuscheme.el (run-scheme, switch-to-scheme):
10879         * cus-edit.el (customize-group, custom-buffer-create)
10880         (customize-browse):
10881         * info.el (info):
10882         * shell.el (shell):
10883         * mail/sendmail.el (mail):
10884         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10886 2011-09-22  Richard Stallman  <rms@gnu.org>
10888         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10889         move back only to line beg, don't move back over blank lines.
10891 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
10893         * files.el (copy-directory): Set directory attributes only in case
10894         they could be retrieved from the source directory.  (Bug#9565)
10896 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
10898         * progmodes/hideshow.el (hs-looking-at-block-start-p)
10899         (hs-find-block-beginning, hs-hide-level-recursive):
10900         Ignore strings as well as comments.  (Bug#9502)
10902 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
10904         * progmodes/sql.el (sql-comint-postgres):
10905         Convert port number to a string.  (Bug#9566)
10907 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
10909         * window.el (quit-window): Undedicate window when switching to
10910         previous buffer.  Reported by Thierry Volpiatto
10911         <thierry.volpiatto@gmail.com>.
10912         (special-display-popup-frame): When popping up a new frame reset
10913         its previous buffers to nil.  Simplify code.
10915 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
10917         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10918         and process filter, as done also in `shell-command'.
10920 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
10922         * window.el (set-window-buffer-start-and-point):
10923         Call set-window-start with NOFORCE argument t.
10924         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10925         (quit-window): Reword doc-string.  Handle new format of
10926         quit-restore parameter.  Don't delete window if it has a
10927         previous buffer we can show instead of the present one.
10928         (display-buffer-record-window): Rewrite using a new format for
10929         the quit-restore window parameter
10930         (special-display-popup-frame, display-buffer-same-window)
10931         (display-buffer-reuse-window, display-buffer-pop-up-frame)
10932         (display-buffer-pop-up-window, display-buffer-use-some-window):
10933         Adapt symbol passed to display-buffer-record-window.
10934         * help.el (help-window-setup): Handle new format of quit-restore
10935         parameter.
10937 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10939         * faces.el (face-list): Fix docstring (bug#9564).
10941         * window.el (display-buffer--action-function-custom-type):
10942         Don't include internal functions in the Custom interface.
10944 2011-09-20  Juri Linkov  <juri@jurta.org>
10946         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10947         (Info-forward-node, Info-backward-node, Info-next-preorder)
10948         (Info-last-preorder): Use it.  (Bug#9528)
10950 2011-09-20  Juri Linkov  <juri@jurta.org>
10952         * info.el (Info-last-preorder): Visit last menu item only when
10953         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10955 2011-09-20  Julien Danjou  <julien@danjou.info>
10957         * password-cache.el (password-cache-remove): Remove entries even if the
10958         value is nil, so that password with a nil value (negative caching) is
10959         possible to invalidate.
10961 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
10963         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10964         all whitespace around breakpoint.  (Bug#9553)
10965         (f90-find-breakpoint): Only break at whitespace inside a comment.
10967 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10969         * minibuffer.el (completion-file-name-table): Keep track of errors.
10970         (completion-table-with-predicate): Handle the case where pred1 is nil.
10971         * pcomplete.el (pcomplete-completions-at-point): Simplify.
10973 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10975         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10976         (debugger-return-value): Signal an error if the debugging context does
10977         not await any return value.
10979         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10980         * image-mode.el (image-toggle-display-text)
10981         (image-toggle-display-image): Stay away from evil `intangible'.
10983 2011-09-19  Leo Liu  <sdl.web@gmail.com>
10985         * replace.el (occur-revert-arguments): Make it permanent-local.
10986         (occur-mode): Don't call font-lock-defontify.
10988 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
10990         * net/ldap.el (ldap-search-internal): Don't push empty search
10991         result (Bug#9508).
10993 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10995         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10997 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
10999         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11000         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11002 2011-09-18  Juri Linkov  <juri@jurta.org>
11004         * buff-menu.el (Buffer-menu-mode-map):
11005         * dired.el (dired-mode-map):
11006         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11007         (lisp-interaction-mode-map):
11008         * emacs-lisp/package.el (package-menu-mode-map):
11009         * epa.el (epa-key-list-mode-map):
11010         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11011         (menu-bar-options-menu):
11012         * outline.el (outline-mode-menu-bar-map):
11013         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11014         * vc/vc-dir.el (vc-dir-menu-map):
11015         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11016         Capitalize non-function content words in menu item strings.
11018         * dired.el (dired-mode-map): Add menu item for
11019         `image-dired-dired-toggle-marked-thumbs'.
11021 2011-09-18  Juri Linkov  <juri@jurta.org>
11023         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11024         to `isearch-case-fold-search' and restore its original value
11025         after the `isearch-mode' call.
11027 2011-09-18  Juri Linkov  <juri@jurta.org>
11029         * progmodes/grep.el (grep-process-setup): Don't check code for 1
11030         because `zgrep' returns 1 for successful matches (bug#9226).
11032 2011-09-18  Juri Linkov  <juri@jurta.org>
11034         * info.el (Info-extract-menu-node-name): Check the second match
11035         for empty string (second test-case of bug#9528).
11036         (Info-last-preorder): Let-bind `Info-history' to nil to not add
11037         intermediate nodes to the history (first test-case of bug#9528).
11039 2011-09-18  Juri Linkov  <juri@jurta.org>
11041         * info.el (Info-mode-syntax-table): New variable.
11042         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
11044 2011-09-18  Juri Linkov  <juri@jurta.org>
11046         * info.el (Info-file-supports-index-cookies):
11047         Increment line-beginning-position's arg from 3 to 4 because makeinfo
11048         outputs one more line for long file names (bug#4142).
11050 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
11052         * newcomment.el (comment-normalize-vars): If prompting for
11053         comment-start, set comment-start-skip too (Bug#8424).
11055 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
11057         * icomplete.el: Fix previous fix of Bug#5849.
11058         (icomplete-mode): Don't set completion-show-inline-help.
11059         (icomplete-minibuffer-setup): Set completion-show-inline-help
11060         locally during icompletion.
11062 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
11064         * woman.el (woman2-process-escapes): Don't delete unrecognized
11065         escapes (Bug#7843).
11067         * files.el (inhibit-first-line-modes-regexps): Add image files.
11068         (hack-local-variables-prop-line): Return nil for malformed
11069         prop-lines (Bug#9044).
11071 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
11073         * net/tramp.el (top): Don't require 'shell.
11074         (tramp-methods): Fix docstring.
11075         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
11076         Return complete remote file name.  Handle "smb" case.
11077         Use `tramp-tmpdir', if defined for the respective method.
11078         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11080         * net/tramp-compat.el (top): Require 'shell.
11082         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11083         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11084         `tramp-current-host'.
11085         (tramp-get-remote-tmpdir): Remove.
11087         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11088         `tramp-tmpdir' entries.
11089         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11090         (tramp-smb-handle-file-attributes): Ignore errors.
11091         (tramp-smb-wait-for-output): Check also for process end.
11093 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11095         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11096         when sending QUIT (bug#9312).
11098 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
11100         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11101         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11102         occur-mode-display-occurrence.
11103         (occur-edit-mode): Add usage message.
11104         (occur-cease-edit): New command.
11105         (occur-after-change-function): Use text properties to find the
11106         position of the prefix text.
11107         (occur-engine): Set stickiness of prefix text properties.
11109 2011-09-17  Glenn Morris  <rgm@gnu.org>
11111         * progmodes/etags.el (complete-tag):
11112         Fix call to completion-in-region.  (Bug#9526)
11114 2011-09-17  Juri Linkov  <juri@jurta.org>
11116         * textmodes/ispell.el (ispell-word): Add to the error message
11117         the word, ispell program name and current dictionary (bug#9121).
11118         (ispell-tex-arg-end): Capitalize "error" in the error message.
11120 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
11122         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11123         check.  (Bug#4251)
11125 2011-09-17  Juri Linkov  <juri@jurta.org>
11127         * window.el (window-safe-min-height, window-safe-min-width):
11128         Fix typos (followup to bug#9522).
11130 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
11132         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11134 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
11136         * simple.el (line-move): If goal-column is set, move by logical
11137         lines, not by display lines.  (Bug#971)
11138         (next-line, previous-line, goal-column, line-move-visual): Doc fix
11139         to reflect the above change.
11141 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11143         * image.el (imagemagick-register-types): Use regexp-opt.
11145 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
11147         * window.el (display-buffer-base-action): Rename from
11148         display-buffer-default-action.  Make default value empty.
11149         (display-buffer-overriding-action): Convert to defvar.
11150         (display-buffer-fallback-action): New var.
11152 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
11154         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11155         declaration.
11156         (package--add-to-archive-contents): If there is a duplicate entry
11157         with an older version, remove it.
11158         (package-menu-mark-delete, package-menu-mark-install)
11159         (package-menu-mark-unmark): Make unused args optional.
11160         (package-menu-mark-obsolete-for-deletion):
11161         Use package-menu-get-status instead of a regexp search.
11162         (package-menu-get-status): Use tabulated-list-entry.
11163         (package-menu-mark-upgrades): New command.
11164         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
11165         (package-menu-execute): Do installation before deletion.
11166         (package-menu-refresh, package-menu-execute): Use derived-mode-p
11167         instead of checking major-mode.
11168         (package-menu--find-upgrades): New function.
11170 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11172         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11173         passwords in the log buffer.
11174         (smtpmail-process-filter): Update the process marker so that the
11175         "broken by peer" status message is inserted in the right place.
11177 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11179         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11180         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11181         bibtex-completion-at-point-function.
11182         (bibtex-completion-at-point-function): Use them.
11184         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11186         * mpc.el (mpc-constraints-tag-lookup): New function.
11187         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11188         also to browser "album|playlist".
11190 2011-09-14  Juri Linkov  <juri@jurta.org>
11192         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
11193         (isearch-edit-string): Use length of `isearch-string' when
11194         `isearch-fail-pos' returns nil.
11195         (isearch-message): Remove duplicate code and call
11196         `isearch-fail-pos' with arg `t'.
11198 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
11200         * replace.el (occur-mode-goto-occurrence): Don't force using other
11201         window (Bug#9499).
11203         * dired-aux.el (dired-do-chmod): Don't provide initial input.
11205 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
11207         * window.el (display-buffer-window): Remove.
11208         (display-buffer-record-window): Use help-setup window parameter
11209         instead of variable display-buffer-window.
11210         (display-buffer-function, special-display-buffer-names)
11211         (special-display-function): Mention help-setup parameter instead
11212         of display-buffer-window in doc-string.
11213         * help.el (help-window-setup): New argument help-window.
11214         Use help-window-setup parameter instead of display-buffer-window.
11215         Reword some messages.
11216         (with-help-window): Pass window used for displaying the buffer
11217         to help-window-setup.  Don't set display-buffer-window.
11219 2011-09-13  Glenn Morris  <rgm@gnu.org>
11221         * emacs-lisp/debug.el (debugger-make-xrefs):
11222         Preserve point.  (Bug#9462)
11224 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
11226         * window.el (window-deletable-p): Use next-frame.
11228 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
11230         * window.el (window-auto-delete): Remove.
11231         (window-deletable-p): Remove argument FORCE.  Don't deal with
11232         dedication and previous buffers.
11233         (switch-to-prev-buffer): Don't delete window.
11234         (delete-windows-on): Delete a window's frame if and only if the
11235         window is dedicated.
11236         (replace-buffer-in-windows): Delete buffer's window or frame if
11237         and only if window is dedicated.
11238         (quit-window): Handle quit-restore as before last change.
11239         (bury-buffer): Delete window only if window-deletable-p returns t.
11241 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
11243         * window.el (window-deletable-p): Never delete the last frame on a
11244         given terminal.
11246 2011-09-13  Glenn Morris  <rgm@gnu.org>
11248         * help.el (describe-key-briefly): Copy previous standard-output change.
11250 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
11252         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
11254 2011-09-13  Glenn Morris  <rgm@gnu.org>
11256         * emacs-lisp/lisp-mode.el (lisp-indent-function):
11257         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11259 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
11261         * dired-aux.el (dired-mark-read-string): Don't return default
11262         value on empty input (Bug#9361).
11263         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11264         Omit initial minibuffer contents.
11265         (dired-do-chmod): Signal an error on empty input.
11266         (dired-mark-read-string): Don't return default on empty input.
11268         * files.el (file-modes-symbolic-to-number): Doc fix.
11270 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11272         * international/mule-cmds.el (ucs-completions): Remove.
11273         (read-char-by-name): Use complete-with-action instead; add metadata.
11275 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
11277         * window.el (display-buffer--action-function-custom-type)
11278         (display-buffer--action-custom-type): New vars.
11279         (display-buffer-alist, display-buffer-default-action)
11280         (display-buffer-overriding-action): Add defcustom types.
11282         * frame.el (delete-other-frames): Doc fix (Bug#276).
11284 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11286         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11288 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
11290         Change modes that used same-window-* vars to use switch-to-buffer.
11292         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11293         Use switch-to-buffer.
11295         * cus-edit.el (customize-group, custom-buffer-create)
11296         (customize-browse, custom-buffer-create-other-window):
11297         Use switch-to-buffer or switch-to-buffer-other-window.
11299         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11300         (Info-prev, Info-up, Info-speedbar-goto-node)
11301         (info-display-manual): Use switch-to-buffer.
11302         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11304         * mail/sendmail.el (mail): Use switch-to-buffer.
11305         (mail-recover): Use switch-to-buffer-other-window.
11307         * cmuscheme.el (run-scheme, switch-to-scheme):
11308         * ielm.el (ielm):
11309         * shell.el (shell):
11310         * net/rlogin.el (rlogin):
11311         * net/telnet.el (telnet, rsh):
11312         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11314 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
11316         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11318 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11320         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11321         so don't mention it (bug#9301).
11322         (dired-sort-toggle-or-edit): Clarify string further.
11324         * faces.el (face-spec-set-match-display): Make `(type graphic)'
11325         match `x', `w32' and `ns', like the manual says (bug#9029).
11327         * subr.el (eval-after-load): Doc string clarification (bug#9125).
11328         (process-kill-buffer-query-function): Mention the buffer name in
11329         the query.
11331         * image-mode.el (image-next-line): The line parameter is mandatory
11332         (bug#9258).
11334         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11335         which can be useful (bug#9301).
11337         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11339         * subr.el (match-string): Mention that the current buffer should
11340         be the same as the search was done in (bug#9282).
11342         * facemenu.el: Disable the remove-* commands if the mark isn't
11343         active (bug#9162).
11345 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
11347         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11348         of display-buffer.
11349         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11351         * replace.el (occur-mode-goto-occurrence)
11352         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11353         and display-buffer.
11355         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11356         display-buffer.
11358         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11359         special-display and same-window variables.
11360         (mail-other-window): Use switch-to-buffer-other-window.
11361         (mail-other-frame): USe switch-to-buffer-other-frame.
11363         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11364         Use display-buffer-other-frame.
11365         (gdb-display-gdb-buffer): Use pop-to-buffer.
11367         * progmodes/gud.el (gud-goto-info): Use info-other-window.
11369         * progmodes/python.el: Don't set same-window-buffer-names.
11371         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11373         * window.el (display-buffer-alist): Add *Python*.
11375 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
11377         * window.el (display-buffer-alist): Add entry for buffers
11378         previously handled same-window-*.
11379         (display-buffer-alist, display-buffer-default-action)
11380         (display-buffer-overriding-action): Mark as risky.
11381         (display-buffer-alist): Document action function changes.
11382         (display-buffer--same-window-action)
11383         (display-buffer--other-frame-action): New variables.
11384         (switch-to-buffer, display-buffer-other-frame): Use them.
11385         (display-buffer): Rename reuse-frame entry to reusable-frames.
11386         (display-buffer-reuse-selected-window): Function deleted.
11387         (display-buffer-reuse-window): Handle reusable-frames alist entry.
11388         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11389         (display-buffer-special): New function.
11390         (display-buffer--maybe-pop-up-frame-or-window): Rename from
11391         display-buffer-reuse-or-pop-window.  Split off special-display
11392         part into display-buffer-special.
11393         (display-buffer-use-some-window): Don't perform any special
11394         pop-up-frames handling.
11395         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
11396         (display-buffer--maybe-same-window): Rename from
11397         display-buffer-maybe-same-window.
11399         * info.el: Don't set same-window-regexps.
11400         (info-setup): New function.
11401         (info-other-window, info): Call it.
11403         * cus-edit.el: Don't set same-window-regexps.
11404         (customize-group): New argument.
11405         (customize-group-other-window): Use it.
11406         (customize-face, customize-face-other-window): Likewise.
11407         (custom-buffer-create-other-window): Use pop-to-buffer directly.
11409         * net/rlogin.el:
11410         * net/telnet.el:
11411         * progmodes/gud.el: Don't set same-window-regexps.
11413         * cmuscheme.el:
11414         * ielm.el:
11415         * shell.el:
11416         * mail/sendmail.el:
11417         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11419 2011-09-10  Juri Linkov  <juri@jurta.org>
11421         * isearch.el (isearch-edit-string): Remove obsolete mention of
11422         `C-w' (`isearch-yank-word-or-char') from docstring.
11423         (isearch-query-replace): Fix typo in docstring (bug#9466).
11425 2011-09-10  Juri Linkov  <juri@jurta.org>
11427         * paren.el (show-paren-function): Don't show escaped parens.
11428         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
11430 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
11432         * mail/sendmail.el (mml-to-mime, mml-attach-file)
11433         (mm-default-file-encoding): Remove autoload forms, they are
11434         replaced with autoload cookies in mml.el and mm-encode.el.
11435         (mail-add-attachment): New command.
11436         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11437         (mail-mode): Mention mail-insert-file and mail-add-attachment in
11438         the doc string.
11439         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11441 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
11443         * simple.el (count-words-region): Use buffer if there's no region
11444         (bug#9429).
11446 2011-09-09  Juri Linkov  <juri@jurta.org>
11448         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11449         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11450         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
11452 2011-09-09  Alan Mackenzie  <acm@muc.de>
11454         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11455         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
11457 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
11459         Fix for Savannah bug#9392.
11460         * simple.el (mail-encode-mml): New defvar.
11462         * mail/rmail.el (mail-encode-mml): Add a defvar.
11463         (rmail-enable-mime-composing): Default to t.
11464         (rmail-forward): Use MIME method of forwarding only if both
11465         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11466         Set mail-encode-mml non-nil if the MIME method was used.
11468         * mail/sendmail.el (mml-to-mime): Add autoload form.
11469         (mail-encode-mml): Add a defvar.
11470         (mail-mode): Make mail-encode-mml buffer-local and initialize it
11471         to nil.
11472         (mail-send): If mail-encode-mml is non-nil, run the outgoing
11473         message through mml-to-mime, and reset mail-encode-mml to nil.
11475 2011-09-09  Glenn Morris  <rgm@gnu.org>
11477         * woman.el (woman-if-body): When processing an .el block,
11478         do not delete the next .el block as well.  (Bug#9447)
11479         (woman-special-characters): Add oq, cq, and hy characters.
11481 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
11483         * window.el (window-deletable-p): Make sure window is live before
11484         invoking window-prev-buffers.
11486 2011-09-08  Leo Liu  <sdl.web@gmail.com>
11488         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
11490 2011-09-08  Juri Linkov  <juri@jurta.org>
11492         * progmodes/compile.el (compilation-environment): Make it
11493         a defcustom (bug#8340).
11495 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
11497         * window.el (frame-auto-delete): Rename to window-auto-delete.
11498         Make it control auto-deletion of windows and/or frames.
11499         (window-deletable-p): New argument FORCE.  Rewrite conditions
11500         for deleting window/frame.  (Bug#9419)
11501         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11502         Rewrite handling of case when window/frame can be deleted.
11503         (delete-windows-on): Call window-deletable-p with new FORCE
11504         argument t.  (Bug#9456)
11506 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
11508         * help-mode.el (help-mode): Restore autoload.
11510 2011-09-07  Juri Linkov  <juri@jurta.org>
11512         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11513         `compilation-environment'.  Set buffer-local
11514         `compilation-environment' to `thisenv' later after (funcall mode).
11515         (Bug#8340)
11517         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
11518         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11519         instead of replacing its value.  (Bug#8340)
11521 2011-09-07  Juri Linkov  <juri@jurta.org>
11523         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11524         based on text properties put by `grep-filter' instead of matching
11525         escape sequences.
11526         (grep-mode): Set buffer-local `compilation-error-screen-columns'
11527         to the value of `grep-error-screen-columns' (bug#9438).
11529 2011-09-07  Juri Linkov  <juri@jurta.org>
11531         * simple.el (next-error-highlight, next-error-highlight-no-select):
11532         Doc fix (bug#9432).
11534 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
11536         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11537         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
11539 2011-09-07  Leo Liu  <sdl.web@gmail.com>
11541         * net/rcirc.el (rcirc-mode): Conditionally initialize
11542         rcirc-input-ring.
11544 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11546         * emacs-lisp/find-func.el (find-function-C-source): Only set
11547         find-function-C-source-directory after checking that we found a source
11548         file there (bug#9440).
11550 2011-09-06  Alan Mackenzie  <acm@muc.de>
11552         * isearch.el (isearch-other-meta-char): Wherever a key list is
11553         unread, "unread" the prefix arg, too.  This fixes bug #8901.
11555 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
11557         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11559 2011-09-05  Juri Linkov  <juri@jurta.org>
11561         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11563 2011-09-05  Juri Linkov  <juri@jurta.org>
11565         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11566         keeping point where processing of grep matches begins, and
11567         continue to delete remaining escape sequences from the same point.
11568         (grep-filter): Make leading zero optional in "0?1;31m" because
11569         git-grep emits "\033[1;31m" escape sequences unlike expected
11570         "\033[01;31m" as GNU Grep does (bug#9408).
11571         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11573 2011-09-05  Juri Linkov  <juri@jurta.org>
11575         * subr.el (y-or-n-p): Capitalize "yes".
11577 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
11579         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
11580         `tramp-cache-unload-hook' where appropriate.
11581         (tramp-methods): Rename `tramp-remote-sh' to
11582         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
11583         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11585         * net/tramp-sh.el (top): Don't require 'shell.
11586         (tramp-methods): Add `tramp-remote-shell' and
11587         `tramp-remote-shell-args' entries.
11588         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11589         (tramp-sh-handle-shell-command): Remove.
11590         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11591         Use `tramp-remote-shell'.
11593 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
11595         * mail/sendmail.el (sendmail-query-once-function): Delete.
11596         (sendmail-query-once): Save directly to send-mail-function.
11597         Update message-send-mail-function too.
11599         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11601 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
11603         * progmodes/python.el (python-mode-map): Use correct function to
11604         start python interpreter from menu-bar (as reported by Geert
11605         Kloosterman).
11606         (inferior-python-mode-map): Fix typo.
11607         (python-shell-map): Remove.
11609 2011-09-03  Deniz Dogan  <deniz@dogan.se>
11611         * net/rcirc.el (rcirc-print): Simplify code for
11612         rcirc-scroll-show-maximum-output.  There is no need to walk
11613         through all windows to find the right one.
11615 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
11617         * help.el (help-return-method): Doc fix.
11619 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
11621         * window.el (window-deletable-p): Don't return a non-nil value
11622         when there's a buffer that was shown in the window before.
11623         (Bug#9419)
11624         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11625         Set window's previous buffers to nil.
11627 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
11629         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11630         newline before and after the tag line, so it doesn't interfere
11631         with determining the paragraph direction of bidirectional text.
11633 2011-09-03  Leo Liu  <sdl.web@gmail.com>
11635         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
11637 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
11639         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
11640         (pop-to-buffer): Change interactive spec.  Pass second argument
11641         directly to display-buffer.
11642         (display-buffer): Fix interactive spec.  Use functionp to
11643         distinguish between a function and a list of functions.
11645         * abbrev.el (edit-abbrevs):
11646         * arc-mode.el (archive-extract):
11647         * autoinsert.el (auto-insert):
11648         * bookmark.el (bookmark-bmenu-list):
11649         * files.el (find-file):
11650         * view.el (view-buffer):
11651         * progmodes/compile.el (compilation-goto-locus):
11652         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11654 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
11656         * window.el (display-buffer-alist): Doc fix.
11657         (display-buffer): Add docstring.  Don't treat
11658         display-buffer-default specially.
11659         (display-buffer-reuse-selected-window)
11660         (display-buffer-same-window, display-buffer-maybe-same-window)
11661         (display-buffer-reuse-window, display-buffer-pop-up-frame)
11662         (display-buffer-pop-up-window)
11663         (display-buffer-reuse-or-pop-window)
11664         (display-buffer-use-some-window): New functions.
11665         (display-buffer-default-action): Use them.
11666         (display-buffer-default): Delete.
11667         (pop-to-buffer-1): Fix choice of actions.
11669 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11671         * minibuffer.el (completion--insert-strings): Don't get confused by
11672         completion entries that end with an LF char.
11674 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
11676         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11678 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
11680         * window.el (display-buffer): Restore interactive spec.
11681         (display-buffer-same-window, display-buffer-other-window):
11682         New functions.
11683         (pop-to-buffer-1): New function.  Use the above.
11684         (pop-to-buffer, pop-to-buffer-same-window): Use it.
11685         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
11687         * view.el (view-buffer-other-window, view-buffer-other-frame):
11688         Just use pop-to-buffer.
11690 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11692         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
11694 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
11696         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
11698 2011-08-31  Richard Stallman  <rms@gnu.org>
11700         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11701         of the separation of rmail-view-buffer from rmail-buffer.
11702         If you say no to "replace original", the decrypt is in the
11703         view buffer.  If you say yes, the decrypt goes into the
11704         rmail buffer also.
11706 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
11708         * window.el (display-buffer-window): Rewrite doc-string.
11709         (display-buffer-record-window): New function.
11710         (display-buffer-macro-specifiers)
11711         (display-buffer-even-window-sizes, display-buffer-set-height)
11712         (display-buffer-set-width, display-buffer-in-window)
11713         (display-buffer-reuse-window, display-buffer-split-specifiers)
11714         (display-buffer-side-specifiers, display-buffer-split-window-1)
11715         (display-buffer-split-window, display-buffer-split-atom-window)
11716         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11717         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11718         (display-buffer-other-window-means-other-frame)
11719         (display-buffer-normalize-special)
11720         (display-buffer-normalize-default)
11721         (display-buffer-normalize-argument)
11722         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11723         (display-buffer-normalize-specifiers, display-buffer-frame)
11724         (display-buffer-same-window, display-buffer-same-frame)
11725         (display-buffer-other-window)
11726         (display-buffer-same-frame-other-window)
11727         (display-buffer-other-frame, pop-to-buffer-same-window)
11728         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11729         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11730         (switch-to-buffer-same-frame)
11731         (switch-to-buffer-other-window-same-frame)
11732         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11733         (display-buffer-alist-set-1, display-buffer-alist-set-2)
11734         (display-buffer-alist-set): Remove.
11735         (display-buffer-function, special-display-buffer-names)
11736         (special-display-regexps, special-display-function):
11737         In doc-string refer to display-buffer-window and quit-restore
11738         parameter.
11739         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11740         (special-display-frame-alist, special-display-popup-frame)
11741         (same-window-buffer-names, same-window-regexps, same-window-p)
11742         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11743         (split-window-preferred-function, split-height-threshold)
11744         (split-width-threshold, window-splittable-p)
11745         (split-window-sensibly, window--try-to-split-window)
11746         (window--frame-usable-p, even-window-heights)
11747         (window--even-window-heights, window--display-buffer-1)
11748         (window--display-buffer-2, display-buffer-other-frame):
11749         Restore old Emacs 23 code, order and doc-strings where applicable.
11750         (display-buffer-default, display-buffer-assq-regexp): New functions.
11751         (display-buffer-alist): Rewrite doc-string.
11752         (display-buffer-default-action)
11753         (display-buffer-overriding-action): New variables.
11754         (display-buffer, switch-to-buffer): Rewrite.
11755         (pop-to-buffer): Restore Emacs 23 behavior but use
11756         window-normalize-buffer-to-display.
11757         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11758         Restore Emacs 23 behavior but use
11759         window-normalize-buffer-to-switch-to.
11760         (pop-to-buffer-same-window): Rewrite.
11761         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11762         Rewrite using Emacs 23 options.
11764 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
11766         * net/tramp.el (tramp-root-regexp): Remove.
11767         (tramp-completion-file-name-regexp-unified)
11768         (tramp-completion-file-name-regexp-separate)
11769         (tramp-completion-file-name-regexp-url): Don't use leading volume
11770         letter on w32 systems.  (Bug#5303, Bug#9311)
11771         (tramp-drop-volume-letter): Simplify definition.
11772         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11774 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11776         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11777         (bug#9356).
11779 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
11781         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
11783 2011-08-29  Juri Linkov  <juri@jurta.org>
11785         * isearch.el (isearch-done): Don't display message "Mark saved"
11786         when arg `edit' is non-nil to prevent its flicker in the echo area.
11788 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
11790         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11791         obsolete packages for deletion.
11793 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
11795         * help-mode.el (help-mode-map): Add special-mode-map to parent.
11796         (help-mode): Derive help-mode from special-mode.  Don't invoke
11797         view-mode from help-mode.
11798         (help-xref-override-view-map): Remove.
11799         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11800         view-mode is not used anymore.
11802 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
11804         * server.el (server-port): Doc fix.
11806         * cus-theme.el (custom-theme-choose-mode): Inherit from
11807         special-mode (Bug#9124).
11808         (custom-theme-choose-mode-map): Add special-mode to parent.
11810 2011-08-28  Alan Mackenzie  <acm@muc.de>
11812         * progmodes/cc-fonts.el
11813         (c-make-font-lock-BO-decl-search-function): New function.
11814         (c-basic-matchers-after - "Fontify the clauses after various
11815         keywords"): Extract the three keyword lists for the 3 erroneous
11816         constructs from the list of four, and use the new function above
11817         in place of an old one.
11819 2011-08-28  Deniz Dogan  <deniz@dogan.se>
11821         * net/rcirc.el (rcirc-insert-prev-input)
11822         (rcirc-insert-next-input): Remove unused argument.
11824 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11826         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11828 2011-08-27  Alan Mackenzie  <acm@muc.de>
11830         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11831         handle function pointer parameters properly.
11833 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
11835         * window.el (display-buffer-reuse-window): Fix case where
11836         selected window was reused with non-nil OTHER-WINDOW argument.
11837         (Bug#9381)
11839 2011-08-27  Deniz Dogan  <deniz@dogan.se>
11841         * net/rcirc.el (rcirc-check-auth-status): Adding support for
11842         oftc's NickServ messages.
11844 2011-08-27  Glenn Morris  <rgm@gnu.org>
11846         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
11848 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
11850         * emacs-lisp/package.el (package-install): Call package-initialize
11851         if called interactively.
11853 2011-08-26  Leo Liu  <sdl.web@gmail.com>
11855         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
11857 2011-08-25  Juri Linkov  <juri@jurta.org>
11859         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11860         `search-whitespace-regexp' (bug#9364).
11862 2011-08-25  Juri Linkov  <juri@jurta.org>
11864         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11865         `regexp-search-ring' to their global values to protect from
11866         updating by `read-from-minibuffer' (bug#9185).
11868 2011-08-25  Juri Linkov  <juri@jurta.org>
11870         * textmodes/ispell.el (ispell-command-loop): Add newline
11871         at the end of the "Use option `i'..." line.
11873 2011-08-25  Juri Linkov  <juri@jurta.org>
11875         * battery.el (display-battery-mode): If `battery-status-function'
11876         or `battery-mode-line-format' is nil, display the message and set
11877         `display-battery-mode' to nil (bug#9363).
11879 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
11881         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11882         bidi-string-mark-left-to-right; they are unnecessary now.
11884 2011-08-25  Deniz Dogan  <deniz@dogan.se>
11886         * net/quickurl.el: Documentation typo fixes.
11888 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
11890         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11892 2011-08-25  Glenn Morris  <rgm@gnu.org>
11894         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11896         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11897         (smtpmail-via-smtp): Handle nil response from smtp.
11899 2011-08-24  Juri Linkov  <juri@jurta.org>
11901         * proced.el (proced-marked): Inherit from `error' instead of
11902         `font-lock-warning-face'.
11904         * ibuffer.el (ibuffer-marked-face): Change default face from
11905         `font-lock-warning-face' to `warning'.
11906         (ibuffer-deletion-face): Change default face from
11907         `font-lock-type-face' to `error'.
11909         * battery.el (battery-update): Use the face `error' instead of
11910         `font-lock-warning-face' (bug#6117).
11912 2011-08-24  Juri Linkov  <juri@jurta.org>
11914         * faces.el (success): Change face color from "Green3" to
11915         "ForestGreen" on light background (bug#9353).
11917 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
11919         * window.el (quit-window): Rename from quit-restore-window.
11920         Use same arglist as old quit-window.
11921         (frame-auto-delete): Doc fix.
11923         * view.el (view-mode-exit): Use quit-window.
11925 2011-08-24  Juri Linkov  <juri@jurta.org>
11927         * isearch.el (isearch-ring-adjust1): Start visiting previous
11928         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11929         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11930         for empty search string (when the last search string is reused
11931         automatically) to adjust the isearch ring to the last element and
11932         prepare the correct index for further M-p commands (bug#9185).
11934 2011-08-24  Kenichi Handa  <handa@m17n.org>
11936         * international/ucs-normalize.el: If decomposition property of
11937         CHAR is the default one (i.e. a list of CHAR itself), treat it as
11938         nil.
11939         (nfd, nfkd): Likewise.
11941 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11943         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11944         from process filters aren't reliably transmitted to the surrounding
11945         accept-process-output.
11946         (mpc-proc-check): New function.
11947         (mpc-proc-sync): Use it (bug#8293)
11949 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11951         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11952         Add compatibility functions (bug#9313).
11954 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
11956         * cus-start.el (all): Add entry for bidi-paragraph-direction.
11958         * international/uni-bidi.el: Regenerate.
11960 2011-08-23  Kenichi Handa  <handa@m17n.org>
11962         * international/charprop.el:
11963         * international/uni-bidi.el:
11964         * international/uni-category.el:
11965         * international/uni-combining.el:
11966         * international/uni-comment.el:
11967         * international/uni-decimal.el:
11968         * international/uni-decomposition.el:
11969         * international/uni-digit.el:
11970         * international/uni-lowercase.el:
11971         * international/uni-mirrored.el:
11972         * international/uni-name.el:
11973         * international/uni-numeric.el:
11974         * international/uni-old-name.el:
11975         * international/uni-titlecase.el:
11976         * international/uni-uppercase.el: Regenerate.
11978 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
11980         * help.el (help-window-setup): Fix message displayed when other
11981         window is reused.  (Bug#9341)
11983 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11985         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11986         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11988         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11989         Mark obsolete.
11990         * shell.el (shell-parse-pcomplete-arguments): New function.
11991         (shell-completion-vars): Use it instead (bug#9160).
11993 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11995         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11996         strings and comments (bug#9333).
11998         * emacs-lisp/debug.el (debug-arglist): New function.
11999         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
12000         (debug-on-entry-1): Handle interpreted closures (bug#9120).
12002 2011-08-22  Juri Linkov  <juri@jurta.org>
12004         * progmodes/compile.el (compilation-mode-font-lock-keywords):
12005         Revert regexp that highlights output switches to its old
12006         pre-2010-10-28 value and remove one `?' from it (bug#9319).
12008         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12009         to check for empty output (bug#9226).
12011 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
12013         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12014         symbol-constituent as the default, as that stops font-lock from
12015         working properly (Bug#8843).
12017 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12019         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12020         `coding-system-for-*' around the process open call to avoid
12021         auth-source side effects.
12022         (smtpmail-try-auth-methods): Expand the secret password.
12023         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12024         probe hangs.
12026 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
12028         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12030         * emacs-lisp/find-func.el (find-function-noselect): New arg
12031         lisp-only.
12033         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12034         signal an error for built-in functions (Bug#6664).
12036 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12038         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12039         (smtpmail-try-auth-methods): Use it.
12041 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
12043         * font-lock.el (font-lock-fontify-region)
12044         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12045         (font-lock-default-unfontify-buffer)
12046         (font-lock-default-fontify-region)
12047         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12049         * progmodes/compile.el (compilation-error-properties):
12050         Fix confusion between file struct and message struct (Bug#9319).
12051         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12052         `ant' regexp.
12054         * net/browse-url.el (browse-url-firefox): Don't call
12055         browse-url-firefox-sentinel unless using -remote (Bug#9328).
12057 2011-08-20  Glenn Morris  <rgm@gnu.org>
12059         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12061         * tutorial.el (tutorial--default-keys): Update some default bindings.
12063         * files.el (hack-local-variables): Fully ignore case for "mode:".
12065 2011-08-20  Alan Mackenzie  <acm@muc.de>
12067         Resolve invalid use of a regexp in regexp-opt.
12069         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12070         detection for a java annotation.
12072         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
12073         detection for a java annotation.
12075         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12076         handling for java.
12077         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12079 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
12081         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12082         (Bug#9274).
12084 2011-08-20  Alan Mackenzie  <acm@muc.de>
12086         Fontify CPP expressions correctly when starting in the middle of
12087         such a construct.  Mainly for when jit-lock etc. starts a chunk
12088         here.
12090         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
12091         variable.
12092         (c-make-font-lock-search-form): New function, extracted from
12093         c-make-font-lock-search-function.
12094         (c-make-font-lock-search-function): Use the above function.
12095         (c-make-font-lock-context-search-function): New function.
12096         (c-cpp-matchers): Enhance the preprocessor expression case with
12097         the above function
12098         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12099         which takes an expression.
12101         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12103 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
12105         * window.el (display-buffer-reuse-window)
12106         (display-buffer-pop-up-window): Don't reuse or split a side
12107         window.
12109 2011-08-19  Glenn Morris  <rgm@gnu.org>
12111         * files.el (hack-local-variables-prop-line, hack-local-variables):
12112         Downcase "Mode:".  (Bug#9331)
12114 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
12116         * international/characters.el: Add L and R categories.
12118         * subr.el (bidi-string-mark-left-to-right): Rename from
12119         string-mark-left-to-right.  Use category search.
12121         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12123 2011-08-18  Juri Linkov  <juri@jurta.org>
12125         * faces.el (error, warning, success): New faces with definitions
12126         copied from old default values of `font-lock-warning-face',
12127         `compilation-warning', `compilation-info' (bug#6117).
12129         * font-lock.el (font-lock-warning-face): Inherit from `error'.
12131         * progmodes/compile.el (compilation-error): Inherit from `error'.
12132         (compilation-warning): Inherit from `warning'.
12133         (compilation-info): Inherit from `success'.
12135         * dired.el (dired-marked): Inherit from `warning'.
12136         (dired-flagged): Inherit from `error'.
12138 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12140         * mail/smtpmail.el (auth-source): Require to avoid problems with
12141         binding variables (bug#9298).  Also clean up some unused
12142         autoloads.
12144         * net/network-stream.el (network-stream-open-starttls):
12145         Support using starttls.el without using gnutls-cli.
12147 2011-08-17  Juri Linkov  <juri@jurta.org>
12149         * progmodes/grep.el (rgrep): Handle the case when
12150         `grep-find-command' is a cons cell (bug#9278).
12152 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
12154         * window.el (display-buffer-pop-up-frame): Run frame creation
12155         function with BUFFER current (as special-display-popup-frame
12156         does).  Reported by Drew Adams.
12158 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
12160         * epa-mail.el: Simplify GnuPG group expansion using
12161         epg-expand-group.
12162         (epa-mail-group-alist, epa-mail-group-modtime)
12163         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12164         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12165         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12166         Remove.
12168 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
12170         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12172 2011-08-16  Alan Mackenzie  <acm@muc.de>
12174         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12175         Correct, to avoid the inside of macros.
12177 2011-08-16  Richard Stallman  <rms@gnu.org>
12179         * epa-mail.el: Handle GnuPG group definitions.
12180         (epa-mail-group-alist, epa-mail-group-modtime)
12181         (epa-mail-gnupg-conf-file): New variables.
12182         (epa-mail-parse-groups, epa-mail-sync-groups)
12183         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12184         (epa-mail-expand-recipients): New functions.
12185         (epa-mail-encrypt): Call epa-mail-expand-recipients.
12187         * mail/rmail.el (rmail-epa-decrypt): New command.
12189         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12190         Don't bind buffer-read-only, just inhibit-read-only.
12191         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12192         (epa-decrypt-armor-in-region): Make error message clearer.
12194 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12196         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12197         and "a2b" to "ab" for `prefix'.
12199 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
12201         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12202         filter groups.
12203         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
12204         Fourquet (Bug#8804).
12206 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
12208         * startup.el (argi): Declare as global variable (bug#9275).
12210 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
12212         * subr.el (string-mark-left-to-right): Search the entire string
12213         for RTL script, not just the terminating character.  Doc fix.
12215 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12217         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12218         New function.
12219         (js--regexp-literal, js-syntax-propertize-function): Remove.
12220         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12221         (js-mode-map): Don't rebind electric keys.
12222         (js-insert-and-indent): Remove.
12223         (js-mode): Setup electric-layout and electric-indent instead.
12225         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12227 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
12229         * epa.el (epa-progress-callback-function): Fix the logic of
12230         displaying progress.
12231         * epa-file.el (epa-file-insert-file-contents): Make progress
12232         display more user-friendly.
12233         (epa-file-write-region): Ditto.
12235 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
12237         * subr.el (string-mark-left-to-right): New function.
12239         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12240         Use string-mark-left-to-right.
12241         (list-buffers-noselect): Caller changed.
12243         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12244         Use string-mark-left-to-right.
12245         (tabulated-list-print): Recenter after moving point.
12247 2011-08-10  Juri Linkov  <juri@jurta.org>
12249         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12250         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12251         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12253 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
12255         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12256         (Bug#7554).
12258 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12260         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12261         character.  (Bug#6594)
12263 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
12265         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12266         (image-dired--with-db-file): New macro.
12267         (image-dired-write-tags, image-dired-remove-tag)
12268         (image-dired-create-gallery-lists, image-dired-write-comments)
12269         (image-dired-get-comment, image-dired-mark-tagged-files)
12270         (image-dired-list-tags, image-dired-gallery-generate): Use it.
12271         (image-dired-gallery-generate): Use insert-file-contents.
12273         * time.el (display-time-world-list, display-time-world-display):
12274         * time-stamp.el (time-stamp-string):
12275         * vc/add-log.el (add-change-log-entry): Use setenv instead of
12276         set-time-zone-rule (Bug#7337).
12278 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
12280         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12281         (epg-error-to-string, epg-errors-to-string): New function.
12282         (epg-wait-for-completion): Reverse errors list.
12283         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12284         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12285         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12286         (epg-sign-keys, epg-generate-key-from-file)
12287         (epg-generate-key-from-string): Format errors by using
12288         epg-errors-to-string (bug#9255).
12289         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12291 2011-08-07  Juri Linkov  <juri@jurta.org>
12293         * faces.el (list-faces-display): Remove extra angle bracket
12294         from `help-mode-map'.
12296         * info.el (Info-history-toc-nodes): Doc fix.
12298         * longlines.el (longlines-mode): Doc fix.
12300 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12302         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12303         of statements and in a few more cases (bug#9183).
12305         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12306         New functions.
12307         (cl-transform-lambda): Use them (bug#9239).
12309 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
12311         * window.el (display-buffer-same-window)
12312         (display-buffer-same-frame, display-buffer-other-window)
12313         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12314         (pop-to-buffer-other-window)
12315         (pop-to-buffer-same-frame-other-window)
12316         (pop-to-buffer-other-frame): Make them defuns.
12317         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12319 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12321         * subr.el (make-composed-keymap): Move from C.  Change calling
12322         convention, and improve docstring to bring attention to a subtle point.
12323         * minibuffer.el (completing-read-default): Adjust accordingly.
12325 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
12327         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12328         (tramp-open-shell): Use `tramp-shell-quote-argument'.
12330         * net/trampver.el: Update release number.
12332 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12334         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12335         "in" (bug#9190).
12337 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12339         * mail/sendmail.el (sendmail-query-once): Restore the current
12340         buffer after querying (bug#9074).
12342         * dired.el (dired-flagged): Use different faces for marked and
12343         flagged files (bug#6117).
12345         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12346         (bug#4433).
12348         * ido.el (ido-mode): Switch off the message if called
12349         non-interactively.
12351         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12352         before 587, since it appears that that's more likely to work for
12353         more people.
12355         * cus-edit.el (custom-file): When running under emacs -q, always
12356         refuse to save the customizations, even if the .emacs file doesn't
12357         exist.
12359         * info.el: Remove the `Info-beginning-of-buffer' function
12360         (bug#8325).
12362         * net/network-stream.el (network-stream-open-starttls):
12363         Use `starttls-available-p' to see whether starttls.el can be used.
12365 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
12367         * window.el (display-buffer-in-window): Don't set dedicated status
12368         of window here (Bug#9215).
12369         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12370         (display-buffer-pop-up-side-window)
12371         (display-buffer-in-side-window): Set dedicated status of window here.
12373 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12375         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12376         before binding generated-autoload-file.
12378 2011-08-01  Deniz Dogan  <deniz@dogan.se>
12380         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12382 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
12384         Sync with Tramp 2.2.2.
12386         * net/trampver.el: Update release number.
12388 2011-07-30  Juri Linkov  <juri@jurta.org>
12390         * dired-aux.el (dired-touch-initial): Remove function.
12391         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12392         current time, and `default' to the last modification time of the
12393         current marked file (bug#6887).
12395 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
12397         * simple.el (goto-line): Use string-to-number to provide a
12398         numeric argument to read-number (bug#9163).
12400 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
12402         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12403         connection process, it could be nil.
12405 2011-07-27  Leo Liu  <sdl.web@gmail.com>
12407         Simplify url handling in rcirc-mode.
12409         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12410         (rcirc-browse-url-at-mouse): Remove.
12411         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12413 2011-07-26  Alan Mackenzie  <acm@muc.de>
12415         Fontify bitfield declarations properly.
12417         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12418         (c-symbol-chars): Now exported as a lang variable.
12419         (c-not-primitive-type-keywords): New lang variable.
12421         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12422         QT keyword "more" to prevent "more slots: ...." being spuriously
12423         parsed as a bitfield declaration.
12425         * progmodes/cc-engine.el (c-beginning-of-statement-1):
12426         Refactor and enhance to handle bitfield declarations.
12427         (c-punctuation-in): New function.
12428         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12429         declarations properly.
12431 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
12433         * calendar/icalendar.el (icalendar--all-events): Take care of
12434         multiple vcalendars in a single file.
12435         (icalendar--convert-float-to-ical): Checkdoc fixes.
12437 2011-07-25  Deniz Dogan  <deniz@dogan.se>
12439         * image.el (insert-image): Clarifying docstring.
12441 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
12443         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12444         `tramp-send-command-and-check' if there is no error.
12445         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12447 2011-07-22  Alan Mackenzie  <acm@muc.de>
12449         Prevent cc-langs.elc being loaded at run time.
12451         * progmodes/cc-mode.el: Remove two autoload forms which loaded
12452         cc-langs.
12454         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
12455         "(require 'cc-langs)".  Quote a form so it will evaluate at
12456         (cc-mode's) compilation time.
12458 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
12460         * net/tramp.el (tramp-file-name-handler): Avoid recursive
12461         loading.  (Bug#9114)
12463 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
12465         * window.el (display-buffer-pop-up-window)
12466         (display-buffer-pop-up-side-window)
12467         (display-buffer-in-side-window): Call display-buffer-set-height
12468         and display-buffer-set-width after setting the new window's
12469         buffer so `fit-window-to-buffer' and friends work on the right buffer.
12471 2011-07-20  Sam Steingold  <sds@gnu.org>
12473         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12474         (etags-tags-included-tables): Call `convert-standard-filename' on
12475         the file names contained in TAGS so that windows Emacs can handle
12476         TAGS files created by cygwin ctags.
12478 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12480         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12481         which apparently didn't work.
12483 2011-07-19  Roland Winkler  <winkler@gnu.org>
12485         * proced.el (proced-send-signal): For *Marked Processes* buffer
12486         put point at beginning of buffer.
12488 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
12490         * proced.el (proced-format): Make header lines align with the text
12491         (bug#1779).
12493 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12495         * view.el (view-buffer): Allow running in `special' modes if we're
12496         visiting a file (bug#8615).
12498 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
12500         * window.el (display-buffer-alist-of-strings-p)
12501         (display-buffer-alist-set-1, display-buffer-alist-set-2):
12502         New functions.
12503         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12504         more accurately.
12506 2011-07-18  Alan Mackenzie  <acm@muc.de>
12508         Fontify declarators properly when, e.g., a jit-lock chunk begins
12509         inside a declaration.
12511         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12513         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12514         New function.
12515         (c-complex-decl-matchers): Insert reference to
12516         c-font-lock-enclosing-decls.
12518         * progmodes/cc-engine.el (c-backward-single-comment):
12519         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12520         to nil around calls to (forward-comment -1).
12522 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12524         * image.el (put-image): Doc typo fix.
12526         * progmodes/etags.el (tags-search): Doc typo fix.
12528         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12529         password if we get errors 550 to 554.
12531 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12533         * net/gnutls.el (gnutls-log-level): Remove.
12535         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12536         indentation character (bug#6380).
12538         * files.el (buffer-offer-save): Made permanently local (bug#6241).
12540         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12541         to clarify what the problem is (bug#4291).
12543         * simple.el (current-kill): Clarify what
12544         `interprogram-paste-function' does (bug#7500).
12545         (auto-fill-mode): Document `auto-fill-function' in relation to
12546         `auto-fill-mode' (bug#2470).
12548 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
12550         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12551         method if slot is read-only (bug#9035).
12553 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
12555         * frame.el (select-frame-set-input-focus): New argument NORECORD.
12556         * window.el (pop-to-buffer): Select window used even if it was
12557         selected before, see discussion of (Bug#8615), (Bug#6954).
12558         Pass argument NORECORD on to select-frame-set-input-focus.
12560 2011-07-15  Glenn Morris  <rgm@gnu.org>
12562         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
12563         Respect help-form.
12565 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
12567         * net/gnutls.el (gnutls-min-prime-bits): New variable.
12568         (gnutls-negotiate): Use it.
12570 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12572         * net/gnutls.el (gnutls-negotiate):
12573         Upcase `gnutls-algorithm-priority'.
12575 2011-07-15  Glenn Morris  <rgm@gnu.org>
12577         * jka-compr.el (jka-compr-verbose): Move from here...
12578         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
12579         Add missing :version tag.
12580         * info.el: No need to require jka-compr when compiling.
12582 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12584         * net/gnutls.el (gnutls-algorithm-priority): New variable.
12585         (gnutls-negotiate): Use it.
12587         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12589         * info.el (Info-beginning-of-buffer): New command.
12590         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12591         announcing `b' as the key (bug#8325).
12592         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
12594         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12596         * international/mule-cmds.el
12597         (describe-specified-language-support): Make the error message
12598         clearer (bug#8905).
12600         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12602         * isearch.el (isearch-barrier): Add a doc string, since it's
12603         mentioned in a function doc string (bug#8678).
12605 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
12607         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12608         buffer argument (Bug#9083) and self-identifying label argument.
12610 2011-07-15  Glenn Morris  <rgm@gnu.org>
12612         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
12614 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12616         * man.el (Man-fontify-manpage): Fix message when formatting the
12617         man page (bug#7929).
12619 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
12621         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12622         argument LRM; if non-nil, append an invisible LRM character to the
12623         buffer name.
12624         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12625         last argument non-nil, when formatting buffer names.
12626         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12627         paragraph direction.
12629 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12631         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12632         the man page name (bug#7929).
12634         * image.el (put-image): Mention the `put-image' overlay property
12635         (bug#7834).
12637         * scroll-bar.el (set-scroll-bar-mode): Mention that
12638         `scroll-bar-mode' lists the values (bug#7772).
12640         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12641         command (bug#7729).
12643         * rect.el (apply-on-rectangle): Return the point after the last
12644         operation.
12645         (string-rectangle): Go to the point after the last operation
12646         (bug#7522).
12648         * printing.el (pr-toggle-region): Clarify the documentation
12649         slightly (bug#7493).
12651         * time.el (display-time-update):
12652         Allow `display-time-mail-function' to return nil (bug#7158).
12653         Fix suggested by Detlev Zundel.
12655         * vc/diff.el (diff): Clarify the order the file names are read
12656         (bug#7111).
12658         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12659         the doc string (bug#7015).
12661         * font-lock.el (font-lock-maximum-decoration): Mention what
12662         numeric levels mean (bug#6935).
12664         * startup.el (initial-buffer-choice): Don't mention the `none'
12665         selection, which is against policy.
12667 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
12669         * window.el (display-buffer-normalize-special):
12670         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
12672 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
12674         * subr.el (version<, version<=, version=): Mention "-CVS" and
12675         "-12345" alpha version numbers.
12677 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
12679         * bindings.el: Add advertised binding for set-mark-command
12680         (Bug#5772).
12682 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
12684         * bindings.el (mode-line-other-buffer):
12685         * bookmark.el (bookmark-bmenu-2-window):
12686         * bs.el (bs-cycle-next, bs-cycle-previous):
12687         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12688         switch-to-buffer.
12690         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12691         Delete.
12693 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
12695         * follow.el (follow-debug-message, follow-redisplay):
12696         * jka-cmpr-hook.el (with-auto-compression-mode):
12697         Fix typos in docstrings.
12699 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12701         * subr.el (with-silent-modifications): Clarify somewhat what the
12702         macro inhibits (bug#6525).
12704         * simple.el (eval-expression): Note what it does if called
12705         interactively (bug#6495).
12707 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
12709         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12710         Use pop-to-buffer buffer-or-name if it is nil.
12712         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12713         Remove switch-to-buffer.
12715 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12717         * files.el (make-directory): Clarify that an error will be raised
12718         if there's an error (bug#6397).
12720         * startup.el (initial-buffer-choice): Add `none' as a choice
12721         (bug#6234).
12723         * subr.el (add-hook): Clarify section about buffer-local hooks
12724         (bug#6218).
12726         * dired.el (dired-flagged): Clarify doc string (bug#6117).
12728 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
12730         * tabify.el (untabify): Preserve the current column so that point
12731         doesn't move (bug#6032).
12733 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12735         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12736         Rewrite to avoid awkward possessive "s" (bug#5986).
12738 2011-07-13  Glenn Morris  <rgm@gnu.org>
12740         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
12741         (dired-insert-directory): Give a message the first time
12742         if ls is found not to support --dired.
12744 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12746         * simple.el (toggle-truncate-lines): Clarify what is toggled
12747         (bug#5580).  Text by Drew Adams.
12749 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
12751         * simple.el (blink-matching-open): Make the error message from the
12752         last change less verbose.
12754 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
12756         * font-lock.el (font-lock-comment-face): Use the high contrast
12757         "yellow" color for font-lock-comment-face on low color terminals
12758         using a dark background color (bug#4221).
12760 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12762         * dired.el (dired-insert-set-properties): Make the doc string
12763         reflect what it does now (bug#5325).
12765         * simple.el (blink-matching-open): Say that we were unable to find
12766         the match within the limit, if we're limited (bug#5122).
12768         * international/mule-cmds.el (prefer-coding-system): Add an
12769         example (bug#4869).
12771         * progmodes/etags.el (tags-search): Document `file-list-form'
12772         (bug#4731).
12774 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
12776         * net/browse-url.el (browse-url-default-browser)
12777         (browse-url-browser-function): Make the default browser choice a
12778         bit more logical (bug#4300).  Also clean up the doc string.
12780 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
12782         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12783         binary endings (bug#4440).
12785 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12787         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12788         which can be pretty annoying (bug#8971).
12790         * jka-compr.el (jka-compr-verbose): New variable, and use
12791         throughout (bug#8971).
12793         * info.el (Info-find-file): Fall back on the installation
12794         directory if we can't find the info node anywhere else.
12796 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
12798         * vc/vc.el (vc-revert-file):
12799         Don't set file time-stamp in the past.  (Bug#5181)
12801 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12803         * files.el (after-find-file): Give a better error message when
12804         trying to find a symlink that points to a file that doesn't exist
12805         (bug#4398).
12807         * progmodes/cc-vars.el: Remove (probably) misleading comment
12808         (bug#4396).
12810 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
12812         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12814 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
12816         * mouse-sel.el: Hack restoring functionality, while keeping
12817         compatibility with 2010-07-03 changes to mouse selection.
12818         (mouse-sel-primary-overlay): New var.
12819         (mouse-sel-selection-alist): Use it.
12820         (mouse-sel-mode): Doc fix; remove points that are default features
12821         of mouse.el.
12823 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
12825         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12826         Fix previous fix (bug#2490).
12828 2011-07-12  Roland Winkler  <winkler@gnu.org>
12830         * textmodes/bibtex.el (bibtex-initialize):
12831         Use pop-to-buffer-same-window.
12832         (bibtex-search-entries): Fix interactive call.
12834 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12836         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12837         Fontise bytecomp Error lines more correctly (bug#2490).
12838         Fix suggested by Johan BockgÃ¥rd.
12840         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12842         * dired-x.el (dired-guess-default): Use `delete-dups'.
12844 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
12846         * dired.el (dired-mark-prompt):
12847         * dired-aux.el (dired-read-shell-command): Doc fix.
12849 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12851         * mail/sendmail.el (sendmail-query-once):
12852         Use `customize-save-variable' unconditionally, now that it works under
12853         emacs -Q.
12855         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12857         * cus-edit.el (custom-file): Take an optional no-error variable.
12858         (customize-save-variable): Set the variable, and give a warning if
12859         running under "emacs -q".
12861 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
12863         * loadhist.el (unload-feature-special-hooks):
12864         Add `auto-coding-functions', `fill-nobreak-predicate' and
12865         `find-directory-functions' (bug#5327).
12867 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12869         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12871         * cus-edit.el (custom-guess-name-alist): -alist variables should
12872         use the `alist' type (bug#3120).  Suggested by Drew Adams.
12874         * printing.el: Add documentation to all the `pr-toggle-' commands.
12876 2011-07-11  Leo Liu  <sdl.web@gmail.com>
12878         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12879         backends where it makes sense (bug#2623).
12881 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12883         * dired-x.el (dired-guess-default): Remove duplicate shell command
12884         entries (bug#2028).
12885         (dired-guess-default): Fix grammar in doc string (bug#2028).
12886         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
12888         * subr.el (remove-duplicates): New conveniency function.
12890 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12892         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12893         (bug#1526).
12895 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
12897         * window.el (display-buffer-normalize-default): Don't invert
12898         meaning of even-window-heights.  Reported by Eli Zaretskii
12899         <eliz@gnu.org>.
12901 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
12903         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12905 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
12907         * window.el (display-buffer): Fix arguments to
12908         display-buffer-reuse-window in last change.
12910         * faces.el (link): Use a less saturated blue on light backgrounds.
12912         * startup.el (fancy-startup-text, fancy-about-text)
12913         (fancy-startup-tail): Use font-lock faces, for background safety.
12915 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
12917         * emulation/viper-cmd.el (viper-change-state-to-vi):
12918         Limit triggering of abbrev expansion (Bug#9038).
12920 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
12922         * window.el (display-buffer-default-specifiers): Remove.
12923         (display-buffer-macro-specifiers): Remove default specifiers.
12924         (display-buffer-alist): Default to nil.
12925         (display-buffer-reuse-window): New optional argument other-window.
12926         (display-buffer-pop-up-window): Allow splitting internal
12927         windows.  Check whether a live window was created.
12928         (display-buffer-other-window-means-other-frame)
12929         (display-buffer-normalize-arguments): Rename to
12930         display-buffer-normalize-argument and rewrite.  Set the
12931         other-window specifier.
12932         (display-buffer-normalize-special): New function.
12933         (display-buffer-normalize-options): Rename to
12934         display-buffer-normalize-default and rewrite.
12935         (display-buffer-normalize-options-inhibit): Remove.
12936         (display-buffer-normalize-specifiers): Rewrite.
12937         (display-buffer): Process other-window specifier and call
12938         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
12939         more faithfully.
12940         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
12941         (display-buffer-alist-set): Don't handle 'unset default values.
12942         (display-buffer-in-window, display-buffer-alist-set):
12943         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
12944         <tassilo@member.fsf.org>.
12946 2011-07-09  Leo Liu  <sdl.web@gmail.com>
12948         * register.el (insert-register): Restore accidental change on
12949         2011-06-26.  (Bug#9028)
12951 2011-07-09  Glenn Morris  <rgm@gnu.org>
12953         * subr.el (remq): Handle the empty list.  (Bug#9024)
12955 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
12957         * mail/sendmail.el (send-mail-function): No longer delay custom
12958         initialization.
12959         * custom.el (custom-initialize-delay): Doc fix.
12961 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12963         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12965 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
12967         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12968         human-friendly prompt.
12970 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12972         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12973         provided by a particular plugin.
12975 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12977         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12978         save customizations (with "emacs -Q"), just set the variable
12979         instead of erroring out.
12981         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12983 2011-07-08  Juri Linkov  <juri@jurta.org>
12985         * arc-mode.el (archive-zip-expunge, archive-zip-update)
12986         (archive-zip-update-case): Use 7z if found by `executable-find'.
12987         The order of searching the available programs is the same as in
12988         `archive-zip-extract' (bug#8968).
12990 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
12992         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12993         (menu-bar-options-menu): Tweak descriptions.
12995 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12997         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12998         menu items into verb phrases (bug#1421).  Also refill to fit under
12999         80 columns.
13001 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
13003         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13004         (Info-read-node-name): Doc fix (Bug#1084).
13006         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13007         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13008         (end-of-sexp, beginning-of-sexp)
13009         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13010         (forward-symbol, forward-same-syntax, word-at-point)
13011         (sentence-at-point): Doc fix (Bug#1144).
13013 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13015         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13016         should cover it (bug#1281).
13018         * cus-edit.el (custom-show): Mark as obsolete.
13020         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
13021         negotiation fails, then possibly try again with a non-encrypted
13022         connection (bug#9017).
13024         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13025         be used.
13027 2011-07-07  Richard Stallman  <rms@gnu.org>
13029         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13030         property, and handle its changed format.
13031         Look for the correct line number.
13032         Use file's line contents (but not past first =) to find
13033         correct line in message.
13035 2011-07-07  Kenichi Handa  <handa@m17n.org>
13037         * international/characters.el (build-unicode-category-table):
13038         Delete it.
13039         (unicode-category-table): Set it by unicode-property-table-internal.
13041         * international/mule-cmds.el (char-code-property-alist): Move to
13042         to src/chartab.c.
13043         (get-char-code-property): Call unicode-property-table-internal to
13044         load a file.  Call get-unicode-property-internal where necessary.
13045         (put-char-code-property): Call unicode-property-table-internal to
13046         load a file.  Call put-unicode-property-internal where necessary.
13047         put-unicode-property-internal where necessary.
13048         (char-code-property-description):
13049         Call unicode-property-table-internal to load a file.
13051         * international/charprop.el:
13052         * international/uni-bidi.el:
13053         * international/uni-category.el:
13054         * international/uni-combining.el:
13055         * international/uni-comment.el:
13056         * international/uni-decimal.el:
13057         * international/uni-decomposition.el:
13058         * international/uni-digit.el:
13059         * international/uni-lowercase.el:
13060         * international/uni-mirrored.el:
13061         * international/uni-name.el:
13062         * international/uni-numeric.el:
13063         * international/uni-old-name.el:
13064         * international/uni-titlecase.el:
13065         * international/uni-uppercase.el: Regenerate.
13067         * loadup.el: Load international/charprop.el before
13068         international/characters.
13070 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
13072         * window.el (next-buffer, previous-buffer): Signal an error if
13073         called from a minibuffer window.
13075         * bindings.el: Revert 2011-07-04 change.
13077 2011-07-06  Richard Stallman  <rms@gnu.org>
13079         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13080         (rmail-mime-insert-bulk, rmail-mime-insert-text):
13081         Treat markers like ints.
13082         (rmail-mime-entity): Doc fix.
13084 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13086         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13087         defcustom again for backwards compatibility.
13089         * simple.el (shell-command-on-region): Fill.
13091         * dired-aux.el (dired-kill-line): Add a doc string.
13093         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13094         to "\\sw\\|\\s_" (bug#358).
13096         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13097         (dired-unmark-backward): Ditto.
13098         (dired-flag-backup-files): Ditto.
13100         * dired-x.el (dired-mark-sexp): Ditto.
13102 2011-07-06  Richard Stallman  <rms@gnu.org>
13104         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13105         (rmail-mime-entity): New arg TRUNCATED.
13106         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13107         New functions.
13108         (rmail-mime-save): Warn if entity is truncated.
13109         (rmail-mime-toggle-hidden): Likewise, for showing.
13110         (rmail-mime-process-multipart): Record when an entity is truncated.
13112         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13113         if ENTITY is a string.
13115 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13117         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
13118         of faces when `M-C-x'-ing their definitions (bug#8378).
13119         Also clean up the code slightly.
13121         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
13122         because that makes the colors go away.
13124         * mail/sendmail.el (send-mail-function): Change the default to
13125         `sendmail-query-once'.
13126         (sendmail-query-once): Add an autoload cookie.
13128         * net/network-stream.el (network-stream-open-starttls): Try using
13129         a plain connection even if the server offered STARTTLS, and we
13130         kinda wanted to use it, if Emacs doesn't have any STARTTLS
13131         capability.  This should make smtpmail.el work in slightly more
13132         configurations.
13134 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
13136         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13137         New defun.
13138         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13140 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
13142         * progmodes/sql.el: Version 3.0
13143         (sql-product-alist): Add product :completion-object,
13144         :completion-column, and :statement attributes.
13145         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
13146         (sql-mode-syntax-table): Mark all punctuation.
13147         (sql-font-lock-keywords-builder): Temporarily remove fallback on
13148         ansi keywords.
13149         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
13150         (sql-mode-oracle-font-lock-keywords): Improve.
13151         (sql-oracle-show-reserved-words): New function for development.
13152         (sql-product-font-lock): Simplify for source code buffers.
13153         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13154         New functions.
13155         (sql-highlight-product): Set product specific syntax table.
13156         (sql-mode-map): Add statement movement functions.
13157         (sql-ansi-statement-starters, sql-oracle-statement-starters):
13158         New variable.
13159         (sql-statement-regexp, sql-beginning-of-statement)
13160         (sql-end-of-statement, sql-signum): New functions.
13161         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
13162         (sql-show-sqli-buffer): Bug fix.
13163         (sql-interactive-mode): Store connection data as buffer local.
13164         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
13165         with sql-interactive-mode.
13166         (sql-save-connection): Save buffer local settings.
13167         (sql-connection-menu-filter): Change menu entry name.
13168         (sql-product-interactive): Bug fix.
13169         (sql-preoutput-hold): New variable.
13170         (sql-interactive-remove-continuation-prompt): Bug fixes.
13171         (sql-debug-redirect): New variable.
13172         (sql-str-literal): New function.
13173         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
13174         Redesign.
13175         (sql-oracle-save-settings, sql-oracle-restore-settings)
13176         (sql-oracle-list-all, sql-oracle-list-table): New functions.
13177         (sql-completion-object, sql-completion-column)
13178         (sql-completion-sqlbuf): New variables.
13179         (sql-build-completions-1, sql-build-completions)
13180         (sql-try-completion): New functions.
13181         (sql-read-table-name): Use them.
13182         (sql-contains-names): New buffer local variable.
13183         (sql-list-all, sql-list-table): Use it.
13184         (sql-oracle-completion-types): New variable.
13185         (sql-oracle-completion-object, sql-sqlite-completion-object)
13186         (sql-postgres-completion-object): New functions.
13188 2011-07-06  Glenn Morris  <rgm@gnu.org>
13190         * window.el (pop-to-buffer): Doc fix.
13192 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
13194         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13196 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
13198         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
13200         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
13202 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
13204         * button.el (button): Inherit from link face.  Suggested by Dan
13205         Nicolaescu.
13207 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13209         * progmodes/gdb-mi.el: Fit in 80 columns.
13210         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13211         switch-to-buffer.
13213         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13214         if imenu is simply not configured (bug#8941).
13216 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
13218         * allout.el (allout-post-undo-hook): New allout outline-change
13219         event hook to signal undo activity.
13220         (allout-post-command-business): Run allout-post-undo-hook if an
13221         undo just occurred.
13222         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13223         * allout-widgets.el (allout-widgets-after-undo-function):
13224         Ensure the integrity of the current item's decoration after it has been
13225         in the vicinity of an undo.
13226         (allout-widgets-mode): Include allout-widgets-after-undo-function
13227         on the new allout-post-undo-hook.
13229 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13231         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13232         Let define-derived-mode define it.
13233         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13234         cycles of abbrev-table inheritance (bug#8998).
13236 2011-07-05  Roland Winkler  <winkler@gnu.org>
13238         * textmodes/bibtex.el: Add support for biblatex.
13239         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13240         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13241         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13242         (bibtex-entry-alist, bibtex-field-alist): New variables.
13243         (bibtex-entry-field-alist): Obsolete alias for
13244         bibtex-BibTeX-entry-alist.
13245         (bibtex-entry-alist, bibtex-field-alist): New widgets.
13246         (bibtex-set-dialect): New command.
13247         (bibtex-entry-type, bibtex-entry-head)
13248         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13249         Bind via bibtex-set-dialect.
13250         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13251         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13252         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13253         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13254         Define via bibtex-set-dialect.
13255         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13256         Obey bibtex-no-opt-remove-re.
13257         (bibtex-vec-push, bibtex-vec-incr): New functions.
13258         (bibtex-format-entry, bibtex-field-list)
13259         (bibtex-print-help-message, bibtex-validate)
13260         (bibtex-search-entries): Use new format of bibtex-entry-alist.
13262 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13264         * progmodes/compile.el (compilation-goto-locus):
13265         * net/tramp-cmds.el (tramp-append-tramp-buffers):
13266         * bs.el (bs-cycle-next, bs-cycle-previous):
13267         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13268         * bindings.el (mode-line-other-buffer):
13269         * autoinsert.el (auto-insert):
13270         * arc-mode.el (archive-extract):
13271         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13273 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
13275         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13276         Fix check of `emacs-lock-unlockable-modes'.
13277         Coerce true values of `emacs-lock--try-unlocking' to t.
13279 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
13281         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13282         * emacs-lock.el: New file.
13284 2011-07-05  Julien Danjou  <julien@danjou.info>
13286         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13287         than `boundp' to check if face is set.
13289 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
13291         * register.el (registerv-make):
13292         * window.el (window-min-height): Fix typos in docstrings.
13294 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
13296         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
13297         Update doc string.
13299 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
13301         * server.el (server-execute): Catch quit and call
13302         `server-return-error' to pass the error back to emacsclient and
13303         close the connection (bug#8942).
13305 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
13307         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13308         insecure exception for current topic.  Also note that auto-saves
13309         are handled differently.
13311         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13312         State variables for tracking auto-save inhibition situation.
13314         (allout-write-contents-hook-handler): Rename from
13315         'allout-write-file-hook-handler', and describe how it depends on
13316         write-contents-functions sensitivity to non-nil value to prevent
13317         file write.
13319         (allout-auto-save-hook-handler): Remove.  auto-save does not check
13320         this in individual buffers, only in the starting buffer, so this
13321         is not the right way for us to inhibit auto-save in a buffer
13322         according to its condition.
13324         (allout-mode): Use new allout-write-contents-hook-handler, and
13325         only with write-contents-functions.  Remove auto-save provisions -
13326         they're implemented elsewhere.
13328         (allout-before-change-handler): If undo is in progress, note that
13329         for attention of allout-post-command-business.
13331         (allout-post-command-business): If the command we're following was
13332         an undo, check for change in the status of encrypted items and
13333         adjust auto-save inhibitions accordingly.
13335         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13336         according to whether there are or aren't any plain-text topics
13337         pending encryption.
13339         (allout-inhibit-auto-save-info-for-decryption):
13340         Adjust buffer-saved-size and some allout state to inhibit auto-saves
13341         if there are plain-text topics pending encryption.
13343         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13344         buffer-saved-size and some allout state to not inhibit auto-saves
13345         if there are no longer any plain-text topics pending encryption.
13347         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13348         No longer provide for exemption of the current topic.
13350 2011-07-04  Juri Linkov  <juri@jurta.org>
13352         Add 7z operations to delete and save changed members (bug#8968).
13353         * arc-mode.el (archive-7z-expunge, archive-7z-update):
13354         New defcustoms.
13355         (archive-7z-write-file-member): New function.
13356         (archive-7z-summarize): Fix the number of dashes in the
13357         listing output.
13359 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13361         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13362         (bug#8958).
13364 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
13366         * bindings.el: Ignore next-buffer and previous-buffer in
13367         minibuffer-local-map.
13369         * font-lock.el (font-lock-builtin-face): Change light background
13370         color to dark slate blue (Bug#6693).
13372 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
13374         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13376 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13378         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13379         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13380         Add switch-to-buffer.
13382 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13384         * isearch.el (isearch-search-fun-function): Clarify further the
13385         meaning of the function returned.
13387 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
13389         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13391         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13392         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13393         Use it.
13394         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
13395         `tramp-default-remote-path' does not exist.
13396         (tramp-send-command-and-read): New optional argument NOERROR.
13397         (tramp-open-connection-setup-interactive-shell)
13398         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13399         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13400         (tramp-process-sentinel): Flush also process' connection property.
13401         (tramp-sh-handle-start-file-process): Do not set process
13402         sentinel.  It is done now ...
13403         (tramp-maybe-open-connection): ... here.  (Bug#8929)
13405 2011-07-04  MON KEY  <monkey@sandpframing.com>
13407         * play/animate.el (animate-string): Doc fixes and allow changing
13408         the buffer name (bug#5417).
13410 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13412         * play/animate.el (animation-buffer-name): Rename from *animate*.
13414 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
13416         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13417         This is simpler and helps future-proof the code.
13418         (timer-until): Use time-subtract and float-time.
13419         (timer--time-less-p): Use time-less-p.
13421 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
13423         * type-break.el (timep): Use the value of `float-time' to avoid a
13424         byte-compiler warning.
13426         * server.el (server-eval-and-print): Return any result, even nil.
13428 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
13430         * type-break.el: Accept time formats that the builtins accept.
13431         (timep, type-break-time-difference): Accept any format that
13432         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13433         This is simpler and helps future-proof the code.
13434         (type-break-time-difference): Round rather than ignoring
13435         subseconds components.
13437 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13439         * info.el (Info-apropos-matches): Make non-interactive, since it
13440         doesn't seem to do anything useful as a command (bug#8829).
13442 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
13444         * frame.el (frame-background-mode, frame-set-background-mode):
13445         Move from faces.el.
13446         (frame-default-terminal-background): New function.
13448         * custom.el (custom-push-theme): Don't record faces in `changed'
13449         theme; this doesn't work correctly for per-frame face settings.
13450         (disable-theme): Use face-set-after-frame-default to reset faces.
13451         (custom--frame-color-default): New function.
13453 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13455         * dired.el (dired-flagging-regexp): Remove unused variable
13456         (bug#8769).
13458 2011-03-29  Kevin Ryde  <user42@zip.com.au>
13460         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13461         `perl-Test2' extend to match possible "fail #N" rep count
13462         (bug#8377).
13464 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13466         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13467         `smtpmail-via-smtp' now returns the error instead of nil.
13469         * isearch.el (isearch-search-fun-function): Clarify the doc string
13470         (bug#8101).
13472 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
13474         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13475         unnecessary spaces (bug#8987).
13477 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13479         * net/network-stream.el (open-network-stream): Use the
13480         :end-of-capability command thoughout.
13482 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
13484         * net/network-stream.el (open-network-stream): Add the
13485         :end-of-capability command parameter, used by pop3.el.
13487 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13489         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13491         * fringe.el (fringe-query-style): Remove redundant text " (type ?
13492         for list)" (bug#6475).
13494         * files.el (file-expand-wildcards): Ignore non-readable
13495         sub-directories while trying to find matches instead of signaling
13496         an error (bug#6297).
13498         * man.el (Man-reference-regexp): Allow matching possible
13499         word-wrapped references (bug#6289).
13501         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13502         for consistency with the other vc buffers (bug#6197).
13503         (vc-checkin): Ditto.
13505         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13507         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13509 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13511         * custom.el (defcustom): Clarify that :set is only used in the
13512         Customize user interface (bug#6089).
13514         * progmodes/flymake.el (flymake-mode): If the buffer isn't
13515         associated with a file, refuse to run instead of erroring out
13516         (bug#6084).
13518         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13519         the doc string, since it appears that using `fill-column' always
13520         controls the width (bug#7845).
13522         * simple.el (shell-command-on-region): Say where the error output
13523         went if `shell-command-default-error-buffer' is set (bug#6857).
13525 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
13527         * allout.el (allout-yank-processing): Adjust cursor position for
13528         backwards-deleted space.
13530         (allout-rebullet-heading): Register changes with
13531         allout-exposure-changed-hook, so the modified topic is properly
13532         decorated.
13534 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13536         * minibuffer.el (completion-in-region): Document PREDICATE
13537         (bug#7136).
13539         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13540         of keyword/argument pairs (bug#6904).
13542         * replace.el (multi-occur):
13543         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
13545 2011-07-02  Drew Adams  <drew.adams@oracle.com>
13547         * dired.el (dired-mark-if): Make the message about whether it's
13548         marking or unmarking clearer (bug#8523).
13550 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13552         * disp-table.el (display-table-print-array): New function.
13553         (describe-display-table): Use it to print the vectors more pretty
13554         (Bug#8859).
13556 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
13558         * window.el (window-state-get-1): Don't assign clone numbers.
13559         Add clone-of item to list of window parameters.
13560         (window-state-put-2): Don't process clone numbers.
13561         (display-buffer-alist): Fix doc-string.
13563 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13565         * subr.el (remq): Don't allocate if it's not needed.
13566         (keymap--menu-item-binding, keymap--menu-item-with-binding)
13567         (keymap--merge-bindings): New functions.
13568         (keymap-canonicalize): Use them to refine the canonicalization.
13569         * minibuffer.el (minibuffer-local-completion-map)
13570         (minibuffer-local-must-match-map): Move initialization from C.
13571         (minibuffer-local-filename-completion-map): Move initialization from C;
13572         don't inherit from anything here.
13573         (minibuffer-local-filename-must-match-map): Make obsolete.
13574         (completing-read-default): Use make-composed-keymap to combine
13575         minibuffer-local-filename-completion-map with either
13576         minibuffer-local-must-match-map or
13577         minibuffer-local-filename-completion-map.
13579 2011-07-01  Glenn Morris  <rgm@gnu.org>
13581         * type-break.el (type-break-time-sum): Use dolist.
13583         * textmodes/flyspell.el (flyspell-word-search-backward):
13584         Replace CL function.
13586 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13588         * mouse.el (mouse--strip-first-event): New function.
13589         (function-key-map): Use it to map fringe clicks to normal clicks
13590         by default.
13592         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13593         (vc-bzr-revision-completion-table): Add support for annotate and date.
13595         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13596         inherit from parent.
13598 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13600         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
13601         (dired-show-file-type): Doc fixup (bug#8818).
13603         * dired.el (dired-mode): Fix up the doc string as suggested by
13604         Drew Adams (bug#8817).
13606         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13607         cookie, since the manual says that it should be possible to add
13608         this function to `find-file-hook' (bug#8709).
13610 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
13612         * progmodes/cfengine.el: Moved all cfengine3.el functionality
13613         here.  Noted Ted Zlatanov as the maintainer.
13614         (cfengine-common-settings, cfengine-common-syntax): New functions
13615         to set up common things between `cfengine-mode' and
13616         `cfengine3-mode'.
13617         (cfengine3-mode): New mode.
13618         (cfengine3-defuns cfengine3-defuns-regex
13619         (cfengine3-class-selector-regex cfengine3-category-regex)
13620         (cfengine3-vartypes cfengine3-font-lock-keywords)
13621         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
13622         (cfengine3-indent-line): Add from cfengine3.el.
13624 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
13626         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13628         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13630 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
13632         * window.el (same-window-buffer-names, same-window-regexps)
13633         (same-window-p, special-display-frame-alist)
13634         (special-display-popup-frame, special-display-function)
13635         (special-display-buffer-names, special-display-regexps)
13636         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13637         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13638         (split-window-preferred-function, split-height-threshold)
13639         (split-width-threshold, even-window-heights)
13640         (display-buffer-mark-dedicated, window-splittable-p)
13641         (split-window-sensibly, window-safely-shrinkable-p):
13642         Un-obsolete.
13643         (display-buffer): Don't spread args with function specifier
13644         because special-display-popup-frame won't like it.
13646 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
13648         Time-stamp simplifications and fixes.
13649         These improve accuracy slightly, and future-proof the code
13650         against some potential changes to current-time format.
13652         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13653         by using time-since and float-time.
13655         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13656         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
13657         + NNN microseconds".
13659         * type-break.el (type-break-time-sum): Rewrite using time-add.
13661         * play/hanoi.el (hanoi-current-time-float): Remove.
13662         All uses replaced by float-time.
13664         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13665         This yields a more-accurate answer.
13666         (rng-time-to-float): Remove; no longer needed.
13668         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13670         * calendar/timeclock.el (timeclock-seconds-to-time):
13671         Defalias to seconds-to-time, since they're the same thing.
13673         * emacs-lisp/elp.el (elp-elapsed-time):
13674         * emacs-lisp/benchmark.el (benchmark-elapse):
13675         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13677 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13679         * window.el (bury-buffer): Don't iconify the only frame.
13680         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13681         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
13683 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
13685         * eshell/em-smart.el (eshell-smart-display-navigate-list):
13686         Add mouse-yank-primary.
13688 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
13690         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13692 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13694         * emacs-lisp/find-func.el (find-library--load-name): New fun.
13695         (find-library-name): Use it to find relative load names when provided
13696         absolute file name (bug#8803).
13698 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13700         * textmodes/flyspell.el (flyspell-word): Consider words that
13701         differ only in case as potential doublons (bug#5687).
13703         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13704         Remove two rather uninteresting debugging-like messages to make
13705         debbugs.el more silent.
13707         * comint.el (comint-password-prompt-regexp): Accept "Response" as
13708         a password-like phrase.
13710 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
13712         * progmodes/cc-guess.el: New file.
13714         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
13716         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13717         derived from `c-basic-common-init'.
13719         * progmodes/cc-mode.el (top-level): Require cc-guess.
13720         (c-basic-common-init): Use `cc-choose-style-for-mode'.
13722 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
13724         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13726 2011-06-30  Alan Mackenzie  <acm@muc.de>
13728         * progmodes/cc-engine.el (c-guess-continued-construct):
13729         Correct the handling of template-args-cont, particularly for when font
13730         lock is disabled.  Name this case as "CASE G".
13732 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
13734         * allout.el (allout-yank-processing): Fix injection of extra space
13735         between bullet and non-whitespace character in first topic when
13736         pasting, ensuring that the actual spacing in the pasted topic
13737         following the bullet char is preserved.  This extra space was
13738         causing pasted encrypted topics to get a decrypted status even
13739         when the content was actually still encrypted.  Now the decryption
13740         status from before the paste is preserved.
13742         (allout-flag-region): Set all allout overlays so they evaporate
13743         when reduced to zero length (evanescent), to prevent overlay
13744         leakage.
13746 2011-06-30  Glenn Morris  <rgm@gnu.org>
13748         * w32-fns.el (w32-charset-info-alist): Declare.
13750         * find-dired.el (find-grep-options): Simplify.
13752         * term/ns-win.el (ns-set-resource): Declare.
13754         * ses.el (row, col): Declare dynamic variables honestly.
13756         * textmodes/reftex-parse.el (index-tags): Declare.
13758 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
13760         * cus-edit.el (customize-push-and-save): New function.
13762         * files.el (hack-local-variables-confirm): Use it.
13764         * custom.el (load-theme): New arg NO-CONFIRM.
13765         Use customize-push-and-save (Bug#8720).
13766         (custom-enabled-themes): Doc fix.
13768         * cus-theme.el (customize-create-theme)
13769         (custom-theme-merge-theme): Callers to load-theme changed.
13771 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13773         * thingatpt.el (thing-at-point-short-url-regexp): Require that
13774         short URLs have at least one dot in them (bug #7614).
13776         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13777         nil, because using a pty is apparently too slow (bug #895).
13779 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13781         * mail/sendmail.el (sendmail-query-once): New function.
13782         (sendmail-query-once-function): New variable.
13784 2011-06-29  Glenn Morris  <rgm@gnu.org>
13786         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13788         * ses.el (top-level): Require cl when compiling.
13789         (ses-set-localvars): Fix error statement.
13790         Call it at compile time to silence a storm of warnings.
13792 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
13794         * window.el (normalize-live-buffer): Rename to
13795         window-normalize-buffer.
13796         (normalize-live-frame): Rename to window-normalize-frame.
13797         (normalize-any-window): Rename to window-normalize-any-window.
13798         (normalize-live-window): Rename to window-normalize-live-window.
13799         (make-window-atom): Rename to window-make-atom.
13800         (window-resize-reset): Rename to window--resize-reset.
13801         (window-resize-reset-1): Rename to window--resize-reset-1.
13802         (resize-mini-window): Rename to window--resize-mini-window.
13803         (resize-subwindows-skip-p): Rename to
13804         window--resize-subwindows-skip-p.
13805         (resize-subwindows-normal): Rename to
13806         window--resize-subwindows-normal.
13807         (resize-subwindows): Rename to window--resize-subwindows.
13808         (resize-other-windows): Rename to window--resize-siblings.
13809         (resize-this-window): Rename to window--resize-this-window.
13810         (resize-root-window): Rename to window--resize-root-window.
13811         (resize-root-window-vertically): Rename to
13812         window--resize-root-window-vertically.
13813         (normalize-buffer-to-display): Rename to
13814         window-normalize-buffer-to-display.
13815         (normalize-buffer-to-switch-to): Rename to
13816         window-normalize-buffer-to-switch-to.
13817         Correspondingly update all callers of the functions listed
13818         above.
13819         (display-buffer-alist, display-buffer-normalize-arguments)
13820         (display-buffer-normalize-options, display-buffer)
13821         (display-buffer-alist-set): Use "function" instead of
13822         "fun-with-args".
13824 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
13826         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13827         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
13828         debbugs.gnu.org.  Mention acknowledgment email.
13830 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13832         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13833         buffer multibyteness, since it shouldn't matter.
13835 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
13837         * window.el (display-buffer-in-side-window): Handle dedicated
13838         windows as in display-buffer-reuse-window.
13839         (display-buffer-normalize-alist): Use value of override
13840         specifier.
13841         (display-buffer-normalize-specifiers): Use value of
13842         other-window-means-other-frame specifier.
13843         (display-buffer-alist): Rewrite some texts in widgets.
13844         (display-buffer): Spread arguments when calling function
13845         specified by fun-with-args.
13847 2011-06-28  Deniz Dogan  <deniz@dogan.se>
13849         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13850         Unnest `let'.
13852         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13853         selectors (Bug#5732).
13854         (css-proprietary-nmstart-re): Use `regexp-opt'.
13856 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
13858         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13859         (eshell-ls-date-format): New defcustom.
13860         (eshell-ls-file): Use it.
13862 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13864         * help-fns.el (describe-variable): Fix message for terminal-local vars.
13866 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
13868         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13869         (ange-ftp-make-tmp-name): New arg.
13870         (ange-ftp-file-local-copy): Use it.
13872 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
13874         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13875         no-conversion (Bug#8870).
13877 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
13879         * window.el (window-right, window-left, window-child)
13880         (window-child-count, window-last-child)
13881         (window-iso-combination-p, walk-window-tree-1)
13882         (window-atom-check-1, window-tree-1, delete-window)
13883         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13884         new naming conventions - window-vchild, window-hchild,
13885         window-next and window-prev are now called window-top-child,
13886         window-left-child, window-next-sibling and window-prev-sibling
13887         respectively.
13888         (resize-window-reset): Rename to window-resize-reset.
13889         (resize-window-reset-1): Rename to window-resize-reset-1.
13890         (resize-window): Rename to window-resize.
13891         (window-min-height, window-min-width)
13892         (resize-mini-window, resize-this-window, resize-root-window)
13893         (resize-root-window-vertically, adjust-window-trailing-edge)
13894         (enlarge-window, shrink-window, maximize-window)
13895         (minimize-window, delete-window, quit-restore-window)
13896         (split-window, balance-windows, balance-windows-area-adjust)
13897         (balance-windows-area, window-state-put-2)
13898         (display-buffer-even-window-sizes, display-buffer-set-height)
13899         (display-buffer-set-width, set-window-text-height)
13900         (fit-window-to-buffer): Rename all "resize-window" prefixed
13901         calls to use the "window-resize" prefix convention.
13902         (display-buffer-alist): Fix symbol for label specifier.
13903         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13904         corresponding specifier.
13905         Reported by Juanma Barranquero <lekktu@gmail.com>.
13907 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13909         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13910         convention.
13911         (ses-call-printer): Does not pass an empty string to formatter when the
13912         cell is empty to keep from barking printer Calc math-format-value.
13914 2011-06-27  Richard Stallman  <rms@gnu.org>
13916         * battery.el (battery-mode-line-limit): New variable.
13917         (battery-update): Handle it.
13919         * mail/rmailmm.el (rmail-mime-process-multipart):
13920         Handle truncated messages.
13922 2011-06-27  Glenn Morris  <rgm@gnu.org>
13924         * progmodes/flymake.el (flymake-err-line-patterns):
13925         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
13927 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
13929         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
13930         (ses--clean-!, ses--clean-_): New functions.
13931         (ses-range): Add configurability of readout order, and conversion
13932         to Calc vector.
13934         * ses.el (ses-repair-cell-reference-all): New function.
13935         (ses-cell-symbol): Set macro as safe, so that it can be used in
13936         formulas.
13938         * ses.el: Update cycle detection algorithm.
13939         (ses-localvars): Add ses--Dijkstra-attempt-nb and
13940         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
13941         (ses-set-localvars): New function.
13942         (ses-make-cell): Add property-list as a cell element.
13943         (ses-cell-property-get-fun, ses-cell-property-get)
13944         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
13945         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13946         New functions.
13947         (ses-cell-property-set, ses-cell-property-pop)
13948         (ses-cell-property-get-handle): New macro.
13949         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13950         New aliases, used for code readability.
13951         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13952         cycle detection.
13953         (ses-self-reference-early-detection): New defcustom.
13954         (ses-formula-references): Robustify against self-referring cells.
13955         (ses-mode): Use ses-set-localvars.
13956         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13957         before lauching the update processing.
13958         (ses-initialize-Dijkstra-attempt): New function.
13959         (ses-recalculate-cell): Update for cycle detection based on
13960         Dijkstra algorithm.
13962         * ses.el: Fix commenting and indenting convention.
13964 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13966         * bs.el (bs-cycle-next): Complete last change.
13968 2011-06-27  Drew Adams  <drew.adams@oracle.com>
13970         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13972 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13974         * net/network-stream.el (network-stream-open-starttls):
13975         Don't re-get capabilities unless we've reestablished connection.
13976         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13978         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13979         to binary to possibly avoid line encoding issues on Windows (among
13980         other things).
13982 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13984         * net/network-stream.el (open-network-stream): Return an :error
13985         saying what the problem was, if possible.
13987         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13988         server.
13990         * net/network-stream.el (network-stream-open-starttls): If we
13991         wanted to use STARTTLS, and the server offered it, but we weren't
13992         able to because we had no STARTTLS support, then close the connection.
13993         (open-network-stream): Return an :error element, if present.
13995 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
13997         * hl-line.el (hl-line-sticky-flag): Doc fix.
13998         (global-hl-line-sticky-flag): New option (Bug#8323).
13999         (global-hl-line-highlight): Obey it.
14001         * vc/vc.el (vc-revert-show-diff): Default to t.
14003 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
14005         * allout-widgets.el (allout-widgets-post-command-business):
14006         Stop decorating intermediate isearch matches.  They're not being
14007         undecorated when an isearch is continued past, and isearch
14008         automatically collapses them.  This leads to "widget leaks", where
14009         decorated items accumulate in collapsed areas.  Lines with lots of
14010         hidden widgets can slow down cursor travel, substantially.
14011         Too much complicated machinery would be needed to ensure undecoration,
14012         so we're doing without this nicety.
14014         (allout-widgets-tally-string): Don't try to do a hash-table-count
14015         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
14016         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14017         *Messages* when allout-widgets-maintain-tally is t.
14019 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
14021         * window.el (display-buffer-normalize-argument): Rename to
14022         display-buffer-normalize-arguments.  Handle special meaning of
14023         LABEL argument.  Respect special-display-function when popping up
14024         a new frame.  Fix code searching for a window showing the buffer
14025         on another frame.
14026         (display-buffer-normalize-specifiers):
14027         Call display-buffer-normalize-arguments.
14028         (display-buffer-in-window): Don't undedicate the window if its
14029         buffer remains the same.
14030         Reported by Drew Adams <drew.adams@oracle.com>.
14031         (display-buffer-alist): Add choice for same-window macro
14032         specfier.
14033         (display-buffer): Mention special meaning of LABEL argument in
14034         doc-string.  Fix quoting.  Don't pop up a new frame even as
14035         fallback.
14037 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
14039         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14040         avoid deleting the current window in some cases (bug#8911).
14042 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
14044         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14045         (Bug#8934)
14047 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14049         * net/network-stream.el (network-stream-open-starttls):
14050         Use built-in TLS support if `gnutls-available-p' is true.
14051         (network-stream-open-tls): Ditto.
14053 2011-06-26  Leo Liu  <sdl.web@gmail.com>
14055         * register.el (registerv): New struct.
14056         (registerv-make): New function.
14057         (jump-to-register, describe-register-1, insert-register):
14058         Support the jump-func, print-func and insert-func slot of a registerv
14059         struct.  (Bug#8415)
14061 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
14063         * vc/vc.el (vc-revert-show-diff): New defcustom.
14064         (vc-diff-internal): New arg specifying diff buffer.
14065         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
14066         reuse an existing *vc-diff* buffer (Bug#8927).
14068         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14070 2011-06-26  Glenn Morris  <rgm@gnu.org>
14072         * progmodes/f90.el (f90-critical-indent): New option.
14073         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14074         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14075         (f90-mode): Doc fix.
14076         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14077         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14078         (f90-beginning-of-block, f90-next-block, f90-indent-region)
14079         (f90-match-end): Handle block, critical.
14081 2011-06-25  Glenn Morris  <rgm@gnu.org>
14083         * calendar/diary-lib.el (diary-included-files): Doc fix.
14084         (diary-include-files): New function, extracted from
14085         diary-include-other-diary-files and diary-mark-included-diary-files.
14086         (diary-include-other-diary-files, diary-mark-included-diary-files):
14087         Just call diary-include-files.
14088         (diary-mark-entries): Reset diary-included-files on first call.
14090         * calendar/diary-lib.el (diary-mark-entries)
14091         (diary-mark-included-diary-files):
14092         Visit included diary-files in temp buffers.
14094         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14095         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14096         (f90-start-block-re, f90-imenu-generic-expression)
14097         (f90-looking-at-program-block-start, f90-no-block-limit):
14098         Add support for submodules.
14100         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14101         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
14103 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
14105         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14106         buffer-file-type before setting its value, to avoid disastrous
14107         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
14109 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
14111         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14113         * ses.el (ses-unload-function):
14114         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14116         * proced.el (proced-unload-function):
14117         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14119 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
14121         * server.el (server-create-window-system-frame): Add parameters arg.
14122         (server-process-filter): Doc fix.  Handle frame-parameters.
14124 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
14126         Fix bug#8730, bug#8781.
14128         * loadhist.el (unload--set-major-mode): New function.
14129         (unload-feature): Use it.
14131         * progmodes/python.el (python-after-info-look): Add autoload cookie.
14132         (python-unload-function): New function.
14134 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14136         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14138 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
14140         * net/browse-url.el (browse-url-firefox-program): Add icecat to
14141         the candidates list.
14143 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
14145         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14147 2011-06-23  Richard Stallman  <rms@gnu.org>
14149         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14150         (rmail-variables): Set next-error-move-function.
14151         (rmail-what-message): Take argument POS.
14152         (rmail-next-error-move): New function.
14154 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14156         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14157         messages for adjacent non-terminals.
14159 2011-06-23  Richard Stallman  <rms@gnu.org>
14161         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
14162         (rmail-show-message-1): Preserve buffer modified flag.
14163         (rmail-start-mail): Don't specify use of rmail-mail-return;
14164         that's done by mail-bury now.
14165         (rmail-mail-return): Handle arg NEWBUF.
14167 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
14169         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14170         SIZE is a number.
14172 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
14174         * window.el (get-lru-window, get-mru-window)
14175         (get-largest-window): Never return a minibuffer window.
14176         (display-buffer-pop-up-window): Fix a bug that could lead to
14177         reusing the minibuffer window.
14178         (display-buffer): Pass original specifier argument to
14179         display-buffer-function instead of the normalized one.
14180         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14182 2011-06-22  Leo Liu  <sdl.web@gmail.com>
14184         * minibuffer.el (completing-read-function)
14185         (completing-read-default): Move from minibuf.c
14187 2011-06-22  Richard Stallman  <rms@gnu.org>
14189         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14190         to Rmail even if not started by a special Rmail command.
14192         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14193         Copy the buffer currently showing just one message.
14195 2011-06-22  Roland Winkler  <winkler@gnu.org>
14197         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14198         (bibtex-clean-entry): First delete the old key so that a
14199         customized algorithm for generating the new key does not get
14200         confused by the old key.
14201         (bibtex-url): Obey regexp of first step.
14202         (bibtex-search-entries): Do not use add-to-list with local
14203         list-var.
14205 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14207         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14208         stored a user name, then query for the password first, instead of
14209         waiting for SMTP to give an error message and the trying again.
14211 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
14213         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14214         BUFFER in call-process.
14216 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14218         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14219         QUIT twice.
14220         (smtpmail-try-auth-methods): Require user name and password from
14221         auth-source.
14223 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
14225         * window.el (display-buffer-default-specifiers)
14226         (display-buffer-alist): Remove entries for pop-up-frame-alist.
14227         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
14228         (split-window): Normalize SIDE argument (Bug#8916).
14230         * frame.el (pop-up-frame-alist, pop-up-frame-function)
14231         (special-display-frame-alist, special-display-popup-frame):
14232         Remove duplicate declarations.  These are now in window.el.
14234 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14236         * mail/smtpmail.el (smtpmail-via-smtp):
14237         Set :use-starttls-if-possible so that we always use STARTTLS if the
14238         server supports it.  SMTP servers that support STARTTLS commonly
14239         require it.
14241         * net/network-stream.el (network-stream-open-starttls): Support
14242         upgrading to STARTTLS always, even if we don't have built-in support.
14243         (open-network-stream): Add the :always-query-capabilities keyword.
14245         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14246         upgrades with `open-network-stream', and rely solely on
14247         auth-source for all credentials.  Big changes throughout the file,
14248         but in particular:
14249         (smtpmail-auth-credentials): Remove.
14250         (smtpmail-starttls-credentials): Remove.
14251         (smtpmail-via-smtp): Check for servers saying they want AUTH after
14252         MAIL FROM, too.
14254         * net/network-stream.el (network-stream-open-starttls):
14255         Provide support for client certificates both for external and built-in
14256         STARTTLS.
14257         (auth-source): Require.
14258         (open-network-stream): Document the :client-certificate keyword.
14259         (network-stream-certificate): Change cert-cert to cert and
14260         cert-key to key.
14262 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
14264         * net/tramp-cache.el (top): Don't load the persistency file when
14265         "emacs -Q" has been called.
14267 2011-06-21  Tim Harper  <timcharper@gmail.com>
14269         * term/ns-win.el (ns-initialize-window-system):
14270         Set application-specific `ApplePressAndHoldEnabled' system
14271         resource to NO as it is not yet supported by the NS port.
14273 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
14275         * misc.el (list-dynamic-libraries--refresh): Compute header here...
14276         (list-dynamic-libraries): ...not here.
14278 2011-06-21  Leo Liu  <sdl.web@gmail.com>
14280         * subr.el (sha1): Implement sha1 using secure-hash.
14282 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
14284         * window.el (display-buffer-alist): In default value do not
14285         enforce searching a window on any but the selected frame.
14286         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14287         (display-buffer-select-window): Remove function.
14288         (display-buffer-in-window): When a window on another frame gets
14289         reused, do not select it any more but just raise its frame if
14290         necessary (Bug#8851) and (Bug#8856).
14291         (display-buffer-normalize-options): Handle pop-up-frames related
14292         options more faithfully.
14293         (pop-to-buffer): Don't rely on `display-buffer' selecting the
14294         window if it is on another frame.
14295         (display-buffer-alist, display-buffer-default-specifiers):
14296         Don't make new frame unsplittable by default.
14297         (display-buffer-normalize-argument): Fix doc-string typo and use
14298         'same-frame-other-window instead of 'other-window when associating
14299         with display-buffer-macro-specifiers.
14301 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
14303         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14304         New functions.
14305         (5x5-mode-map, 5x5-mode-menu): Bind them.
14306         (5x5-draw-grid): Tweak the solver's rendering.
14308 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14310         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14311         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14313 2011-06-21  Drew Adams  <drew.adams@oracle.com>
14315         * menu-bar.el: Use function variable instead of switch-to-buffer.
14316         (menu-bar-select-buffer-function): New variable.
14317         (menu-bar-update-buffers): Use it (bug#8876).
14319 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14321         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14322         variable's status.
14324 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
14326         * x-dnd.el (x-dnd-version-from-flags)
14327         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14328         and long as number (Bug#8899).
14329         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14331 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14333         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
14334         (completion-try-completion, completion-all-completions): Compute the
14335         metadata argument if it's missing; make it optional (bug#8795).
14337         * wid-edit.el: Use lex-bind and move towards completion-at-point.
14338         (widget-complete): Use new :completion-function property.
14339         (widget-completions-at-point): New function.
14340         (default): Use :completion-function instead of :complete.
14341         (widget-default-completions): Rename from widget-default-complete;
14342         Rewrite.
14343         (widget-string-complete, widget-file-complete, widget-color-complete):
14344         Remove functions.
14345         (file, symbol, function, variable, coding-system, color):
14346         * international/mule-cmds.el (default-input-method, charset)
14347         (language-info-custom-alist):
14348         * cus-edit.el (face): Use new property :completions.
14350         * progmodes/pascal.el (pascal-completions-at-point): New function.
14351         (pascal-mode): Use it.
14352         (pascal-mode-map): Use completion-at-point.
14353         (pascal-toggle-completions): Make obsolete.
14354         (pascal-complete-word, pascal-show-completions):
14355         * progmodes/octave-mod.el (octave-complete-symbol):
14356         Redefine as obsolete alias.
14357         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14358         Signal absence of completion info for old Octave,
14359         (inferior-octave-complete): Redefine as obsolete alias.
14360         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14361         (meta-completions-at-point): Rename from meta-complete-symbol and
14362         adapt it for use on completion-at-point-functions.
14363         (meta-common-mode): Use it.
14364         (meta-looking-at-backward, meta-match-buffer): Remove.
14365         (meta-complete-symbol): Redefine as obsolete alias.
14366         (meta-common-mode-map): Use completion-at-point.
14367         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14368         (makefile-mode-map): Use completion-at-point.
14369         (makefile-completions-at-point): Rename from makefile-complete and
14370         adapt it for use on completion-at-point-functions.
14371         (makefile-mode): Use it.
14372         (makefile-complete): Redefine as obsolete alias.
14374 2011-06-20  Deniz Dogan  <deniz@dogan.se>
14376         * net/rcirc.el: Delete trailing whitespaces once and for all.
14378 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
14380         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14382 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
14384         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14386         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14388 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
14390         * window.el (display-buffer-other-window-means-other-frame):
14391         Call display-buffer-normalize-alist.
14392         (display-buffer-normalize-specifiers-1): Rename to
14393         display-buffer-normalize-argument.  New argument other-frame.
14394         Rewrite.
14395         (display-buffer-normalize-specifiers-2): Rename to
14396         display-buffer-normalize-options.
14397         (display-buffer-normalize-alist-1): New function.
14398         (display-buffer-normalize-specifiers-3): Rename to
14399         display-buffer-normalize-alist.
14400         Call display-buffer-normalize-alist-1.
14401         (display-buffer-normalize-options-inhibit): New variable.
14402         (display-buffer-normalize-specifiers): Rewrite calling
14403         display-buffer-normalize-alist,
14404         display-buffer-normalize-argument, and
14405         display-buffer-normalize-options.  Don't call the latter if
14406         display-buffer-normalize-options-inhibit is non-nil.
14407         (frame-auto-delete): New option.
14408         (window-deletable-p): Use frame-auto-delete.
14409         (window-list-no-nils, window-state-ignored-parameters)
14410         (window-state-get-1, window-state-get, window-state-put-list)
14411         (window-state-put-1, window-state-put-2, window-state-put):
14412         New functions.
14413         (display-buffer-normalize-options): Move special-display-p group
14414         after pop-up-frame group (Bug#8851) and (Bug#8856).
14416 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
14418         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14419         groups (Bug#8776).
14420         (rx-submatch-n): New function.
14421         (rx): Document it.
14423         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14424         (Bug#8768).
14426         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14428         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14430         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14431         anytime existing face settings are present (Bug#8889).
14433         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14434         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14435         Remove unused argument.
14437 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
14439         * window.el (display-buffer-default-specifiers):
14440         Remove pop-up-frame.  Add pop-up-window-min-height,
14441         pop-up-window-min-width, and another reuse-window specifier
14442         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
14443         (display-buffer-normalize-specifiers-2):
14444         Handle split-height-threshold and split-width-threshold also when
14445         pop-up-windows is unset.  Add a reuse-window specifier for the
14446         case popping up a new window fails.
14447         (special-display-popup-frame): Remove double quoting.
14448         (display-buffer-normalize-specifiers-1): Fix thinko.
14450 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14452         * shell.el (shell-completion-vars): Set pcomplete-termination-string
14453         according to comint-completion-addsuffix.
14455         * pcomplete.el: Convert to lexical binding and fix bug#8819.
14456         (pcomplete-suffix-list): Mark as obsolete.
14457         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14458         pcomplete-seen in the closure.
14459         (pcomplete-comint-setup): Setup completion-at-point as well.
14460         (pcomplete--entries): New function.
14461         (pcomplete--env-regexp): New var.
14462         (pcomplete-entries): Rewrite to work with partial-completion and
14463         without relying on pcomplete-suffix-list.
14464         (pcomplete-pare-list): Remove, unused.
14466 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
14468         * window.el (display-buffer-alist): Set pop-up-window-min-height
14469         and pop-up-window-min-width in default value.  Reported by
14470         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
14471         other-window-means-other-frame.
14472         (display-buffer-macro-specifiers): Comment out entry for
14473         other-window specifier.
14474         (display-buffer-other-window-means-other-frame): New function.
14475         (display-buffer-normalize-specifiers-1): New arguments
14476         buffer-name and label.  Treat other-window case specially.
14477         (display-buffer-normalize-specifiers-2): Treat other-window case
14478         specially.
14479         (display-buffer-normalize-specifiers-3): New function.
14480         (display-buffer-normalize-specifiers):
14481         Call display-buffer-normalize-specifiers-3.
14483 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
14485         * window.el (same-window-p): Fix two typos introduced when
14486         adding with-no-warnings.
14487         (display-buffer-normalize-specifiers-1): Don't check
14488         pop-up-frames for 'unset initialization.
14489         (display-buffer-normalize-specifiers-2): Major rewrite using
14490         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14491         (pop-up-frames, display-buffer-reuse-frames)
14492         (display-buffer-mark-dedicated): Don't initialize to 'unset.
14493         Suggested by David Engster <deng@randomsample.de>.
14494         (even-window-heights): Initialize to 'unset.
14495         (display-buffer-alist-set): Handle new 'unset initializations.
14496         (display-buffer-macro-specifiers): Don't pop up a new frame in the
14497         other window case.
14499 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
14501         * window.el (display-buffer-normalize-specifiers-1):
14502         Respect current value of pop-up-frames for most reasonable values of
14503         second argument of display-buffer (Bug#8865).
14504         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14505         (switch-to-buffer-other-window-same-frame)
14506         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
14507         Adams (Bug#8875).
14508         (display-buffer): Don't check noninteractive when calling
14509         display-buffer-pop-up-frame.
14510         (display-buffer-pop-up-frame): Never pop up a frame in
14511         noninteractive mode (Bug#8857).
14512         (enlarge-window, shrink-window): Don't report an error when the
14513         window can't be resized as requested (Bug#8862).
14515 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14517         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14519         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14521         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14523 2011-06-15  Alan Mackenzie  <acm@muc.de>
14525         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14526         for declarators, disable knr checking to speed up for normal files.
14527         2: Refactor, replacing a sequence of nested if forms by a cond form.
14529 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14531         * net/network-stream.el (open-network-stream): Add the keyword
14532         :always-query-capabilities for the case where you want to force a
14533         `plain' network connection, but the protocol still requires the
14534         capabilitiy command (i.e., SMTP and EHLO).
14536         * subr.el (process-live-p): Rename from `process-alive-p' for
14537         consistency with other `-live-p' functions.
14539 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14541         * window.el (same-window-buffer-names, same-window-regexps)
14542         (special-display-frame-alist, special-display-popup-frame)
14543         (special-display-function, special-display-buffer-names)
14544         (special-display-regexps, pop-up-frame-alist)
14545         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14546         (pop-up-windows, split-window-preferred-function)
14547         (split-height-threshold, split-width-threshold, even-window-heights)
14548         (display-buffer-mark-dedicated): Don't encourage the use of
14549         display-buffer-alist from Elisp code.
14551 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
14553         * progmodes/python.el (python-mode): Derive from prog-mode.
14554         * progmodes/ps-mode.el (ps-mode):
14555         * progmodes/mixal-mode.el (mixal-mode):
14556         * progmodes/cfengine.el (cfengine-mode):
14557         * progmodes/ld-script.el (ld-script-mode): Likewise.
14559 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
14561         * window.el (display-buffer-alist): Trim default value to avoid
14562         popping up a new frame (Bug#8857) or reusing an arbitrary window
14563         on another frame.
14564         (display-buffer): Do not fall back on popping up a new frame in
14565         batch mode (Bug#8857).
14567 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
14569         * cus-theme.el (describe-theme-1): Use custom-theme-p.
14570         (custom-theme-summary): New function.
14571         (customize-themes): Use it.
14573 2011-06-13  Glenn Morris  <rgm@gnu.org>
14575         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14577 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
14579         * help.el (help-window): Remove variable.
14580         (help-window-point-marker, temp-buffer-max-height)
14581         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14582         (help-print-return-message): Don't set help-window.
14583         (resize-temp-buffer-window): Rewrite cod eand doc-string.
14584         (help-window-setup-finish): Remove.
14585         (help-window-display-message, help-window-setup)
14586         (with-help-window): Major rewrite based on new
14587         display-buffer-window variable.
14589         * help-mode.el (help-mode-finish): Remove help-window related
14590         code.
14592         * view.el (view-exits-all-viewing-windows): Remove reference to
14593         view-return-to-alist in doc-string.
14594         (view-return-to-alist): Make obsolete.
14595         (view-buffer): Call pop-to-buffer-same-window and remove
14596         undo-window code.
14597         (view-buffer-other-window): Call pop-to-buffer-other-window and
14598         simplify code.  Ignore second argument.
14599         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14600         simplify code.  Ignore second argument.
14601         (view-return-to-alist-update): Make obsolete.
14602         (view-mode-enter): Rename second argument to QUIT-RESTORE.
14603         Rewrite using quit-restore window parameters.
14604         (view-mode-exit): Rename second argument to EXIT-ONLY.
14605         Rewrite using quit-restore-window.
14606         (View-exit, View-exit-and-edit, View-leave, View-quit)
14607         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14608         appropriate arguments.
14609         (view-end-message): Use quit-restore window parameter.
14611         * window.el (display-buffer-function): Rewrite doc-string.
14612         (display-buffer-window, display-buffer-alist): New variables.
14613         (display-buffer-split-specifiers)
14614         (display-buffer-side-specifiers)
14615         (display-buffer-macro-specifiers): New constants.
14616         (display-buffer-even-window-sizes, display-buffer-set-height)
14617         (display-buffer-set-width, display-buffer-select-window)
14618         (display-buffer-in-window, display-buffer-reuse-window)
14619         (display-buffer-split-window-1, display-buffer-split-window)
14620         (display-buffer-split-atom-window, display-buffer-pop-up-window)
14621         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14622         (display-buffer-in-side-window, normalize-buffer-to-display)
14623         (display-buffer-normalize-specifiers-1)
14624         (display-buffer-normalize-specifiers-2)
14625         (display-buffer-normalize-specifiers, display-buffer-frame):
14626         New functions.
14627         (display-buffer): Major rewrite.
14628         (display-buffer-other-window, display-buffer-other-frame)
14629         (pop-to-buffer, switch-to-buffer-other-window)
14630         (switch-to-buffer-other-frame): Rewrite.
14631         (display-buffer-same-window, display-buffer-same-frame)
14632         (display-buffer-same-frame-other-window)
14633         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14634         (pop-to-buffer-other-window)
14635         (pop-to-buffer-same-frame-other-window)
14636         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14637         (switch-to-buffer-other-window-same-frame): New functions.
14638         (same-window-p, special-display-p): Rewrite disabling warnings.
14639         Make obsolete.
14640         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14641         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14642         Make obsolete
14643         (same-window-buffer-names, same-window-regexps)
14644         (special-display-frame-alist, special-display-popup-frame)
14645         (special-display-function, special-display-buffer-names)
14646         (special-display-regexps, pop-up-frame-alist)
14647         (pop-up-frame-function, split-window-preferred-function)
14648         (split-height-threshold, split-width-threshold)
14649         (even-window-heights): Make obsolete.
14651 2011-06-12  Glenn Morris  <rgm@gnu.org>
14653         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
14654         Misc simplifications.
14656 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
14658         * window.el (window-safely-shrinkable-p): Restore function which
14659         was inadvertently removed in change from 2011-06-11.  Declare as
14660         obsolete.
14662         * calendar/calendar.el (calendar-generate-window):
14663         Use window-iso-combined-p instead of combination of one-window-p and
14664         window-safely-shrinkable-p.
14666 2011-06-12  Glenn Morris  <rgm@gnu.org>
14668         * progmodes/fortran.el (fortran-mode-syntax-table):
14669         * progmodes/f90.el (f90-mode-syntax-table):
14670         Set % to punctuation.  (Bug#8820)
14671         (f90-find-tag-default): Remove, no longer needed.
14673 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
14675         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14677 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
14679         * image.el (image-animated-p): Return animation delay in seconds.
14680         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14681         (image-animate-timeout): Remove DELAY argument.  Don't assume
14682         every subimage has the same delay; get it from image-animated-p.
14683         (image-animate): Caller changed.
14685 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
14687         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14688         to ignored backtrace functions.
14690 2011-06-11  Glenn Morris  <rgm@gnu.org>
14692         * calendar/appt.el (appt-disp-window-function): Doc fix.
14693         (appt-check): Handle overlapping appointments.  (Bug#8337)
14695 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
14697         * window.el (window-tree-1, window-tree): New functions, moving
14698         the latter to window.el.
14699         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14700         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14701         (bw-refresh-edges): Remove.
14702         (balance-windows-1, balance-windows-2): New functions.
14703         (balance-windows): Rewrite in terms of window tree functions,
14704         balance-windows-1 and balance-windows-2.
14705         (bw-adjust-window): Remove.
14706         (balance-windows-area-adjust): New function with functionality of
14707         bw-adjust-window but using resize-window.
14708         (set-window-text-height): Rewrite doc-string.
14709         Use normalize-live-window and resize-window.
14710         (enlarge-window-horizontally, shrink-window-horizontally):
14711         Rename argument to DELTA.
14712         (window-buffer-height): New function.
14713         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14714         Rewrite using new window resize routines.
14715         (kill-buffer-and-window, mouse-autoselect-window-select):
14716         Use ignore-errors instead of condition-case.
14717         (quit-window): Call delete-frame instead of delete-windows-on
14718         for the only buffer on frame.
14720 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
14722         * loadup.el (top-level): Load window before files for the sake
14723         of replace-buffer-in-windows.
14725         * files.el (read-buffer-to-switch)
14726         (switch-to-buffer-other-window)
14727         (switch-to-buffer-other-frame, display-buffer-other-frame):
14728         Move to window.el.
14730         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14731         (previous-buffer): Move to window.el.
14733         * bindings.el (unbury-buffer): Move to window.el.
14735         * window.el (delete-other-windows-vertically): Move after
14736         definition of delete-other-windows.
14737         (other-window, delete-windows-on, replace-buffer-in-windows):
14738         Move here from window.c.
14739         (record-window-buffer, unrecord-window-buffer)
14740         (set-window-buffer-start-and-point, switch-to-prev-buffer)
14741         (switch-to-next-buffer): New functions.
14742         (get-next-valid-buffer, last-buffer, next-buffer): Move here
14743         from simple.el.  Call switch-to-next-buffer.
14744         (previous-buffer): Move here from simple.el.
14745         Call switch-to-prev-buffer.
14746         (bury-buffer): Move here from buffer.c.  Switch to previous
14747         buffer when window cannot be deleted.
14748         (unbury-buffer): Move here from bindings.el.
14749         (ctl-x-map): Move binding for other-window from window.c to
14750         here.
14751         (read-buffer-to-switch, switch-to-buffer-other-window)
14752         (switch-to-buffer-other-frame): Move here from files.el.
14753         (normalize-buffer-to-switch-to): New functions.
14754         (switch-to-buffer): Move here from buffer.c.
14755         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
14757 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
14759         * window.el (window-min-height, window-min-width): Move here
14760         from window.c.  Add defcustoms and rewrite doc-strings.
14761         (resize-mini-window, resize-window): New functions.
14762         (adjust-window-trailing-edge, enlarge-window, shrink-window):
14763         Move here from window.c.
14764         (maximize-window, minimize-window): New functions.
14765         (delete-window, delete-other-windows, split-window): Move here
14766         from window.c.
14767         (window-split-min-size): New function.
14768         (split-window-keep-point): Mention split-window-above-each-other
14769         instead of split-window-vertically.
14770         (split-window-above-each-other, split-window-vertically):
14771         Rename split-window-vertically to split-window-above-each-other
14772         and provide defalias for old definition.
14773         (split-window-side-by-side, split-window-horizontally):
14774         Rename split-window-horizontally to split-window-side-by-side
14775         and provide defalias for the old definition.
14776         (ctl-x-map): Move bindings for delete-window,
14777         delete-other-windows and enlarge-window here from window.c.
14778         Replace bindings for split-window-vertically and
14779         split-window-horizontally by bindings for
14780         split-window-above-each-other and split-window-side-by-side.
14782         * cus-start.el (all): Remove entries for window-min-height and
14783         window-min-width.  Add entries for window-splits and
14784         window-nest.
14786 2011-06-09  Glenn Morris  <rgm@gnu.org>
14788         * calendar/appt.el (appt-mode-line): New function.
14789         (appt-check, appt-disp-window): Use it.
14791         * files.el (hack-one-local-variable-eval-safep):
14792         Allow minor-modes with explicit +/-1 arguments.
14794 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
14796         * term/xterm.el (xterm): Add defgroup.
14797         (xterm-extra-capabilities): Add defcustom to supply known xterm
14798         capabilities, skip querying them, or query them (default).
14799         (terminal-init-xterm): Use it.
14800         (terminal-init-xterm-modify-other-keys): New function to set up
14801         modifyOtherKeys support to simplify `terminal-init-xterm'.
14803 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
14805         * window.el (resize-window-reset, resize-window-reset-1)
14806         (resize-subwindows-skip-p, resize-subwindows-normal)
14807         (resize-subwindows, resize-other-windows, resize-this-window)
14808         (resize-root-window, resize-root-window-vertically)
14809         (window-deletable-p, window-or-subwindow-p)
14810         (frame-root-window-p): New functions.
14812 2011-06-09  Glenn Morris  <rgm@gnu.org>
14814         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14815         (ange-ftp-get-files): Use it.
14817 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
14819         * mail/sendmail.el (mail-recover-1, mail-recover):
14820         * files.el (recover-file, recover-session):
14821         Handle dired-listing-switches not being just a single short option.
14823 2011-06-09  Glenn Morris  <rgm@gnu.org>
14825         * calendar/appt.el (appt-display-message, appt-disp-window):
14826         Handle lists of appointments.
14828 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
14830         * window.el (one-window-p): Move down in code.
14831         Rewrite doc-string.
14832         (window-current-scroll-bars): Rewrite doc-string.
14833         Normalize live window argument.
14834         (walk-windows, get-window-with-predicate, count-windows):
14835         Rewrite doc-string.  Use window-list-1.
14836         (window-in-direction-2, window-in-direction, get-mru-window):
14837         New functions.
14839 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
14841         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14842         Doc fix (Bug#8713).
14844 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
14846         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14848 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
14850         * loadhist.el (unload-feature-special-hooks):
14851         Add `comint-output-filter-functions'.
14853 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
14855         * calendar/appt.el (appt-check): Move some initializations into the let.
14857 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
14859         * window.el (window-height): Defalias to window-total-height.
14860         (window-width): Defalias to window-body-width.
14862 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
14864         * image-mode.el (image-toggle-animation): New command.
14865         (image-mode-map): Bind it to RET.
14866         (image-mode): Update message.
14867         (image-toggle-display-image): Avoid a spurious cache flush.
14868         (image-transform-rotation): Doc fix.
14869         (image-transform-properties): Return quickly in the normal case.
14870         (image-animate-loop): Rename from image-animate-max-time.
14872         * image.el (image-animate-max-time): Move to image-mode.el.
14873         (create-animated-image): Remove unnecessary function.
14874         (image-animate): Rename from image-animate-start.  New arg.
14875         (image-animate-stop): Remove; just use image-animate-timer.
14876         (image-animate-timer): Use car-safe.
14877         (image-animate-timeout): Rename argument.
14879 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
14881         * window.el (get-lru-window, get-largest-window): Move here from
14882         window.c.  Rename first argument to ALL-FRAMES.
14883         Rephrase doc-strings.
14884         (get-buffer-window-list): Rewrite using window-list-1.
14885         Rephrase doc-string.
14886         (window-safe-min-height, window-safe-min-width): New constants.
14887         (window-size-ignore, window-min-size, window-min-size-1)
14888         (window-sizable, window-sizable-p, window-size-fixed-1)
14889         (window-size-fixed-p, window-min-delta-1, window-min-delta)
14890         (window-max-delta-1, window-max-delta, window-resizable)
14891         (window-resizable-p, window-total-height, window-total-width)
14892         (window-body-width): New functions.
14893         (window-full-height-p, window-full-width-p): Rewrite using
14894         window-total-size.
14895         (window-body-height): Rewrite using window-body-size.
14897 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
14899         * window.el (window-right, window-left, window-child)
14900         (window-child-count, window-last-child, window-any-p)
14901         (normalize-live-buffer, normalize-live-frame)
14902         (normalize-any-window, normalize-live-window)
14903         (window-iso-combination-p, window-iso-combined-p)
14904         (window-iso-combinations)
14905         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14906         (windows-with-parameter, window-with-parameter)
14907         (window-atom-root, make-window-atom, window-atom-check-1)
14908         (window-atom-check, window-side-check, window-check):
14909         New functions.
14910         (ignore-window-parameters, window-sides, window-sides-vertical)
14911         (window-sides-slots): New variables.
14912         (window-size-fixed): Move down in code.  Minor doc-string fix.
14914 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
14916         * comint.el (comint-dynamic-complete-as-filename)
14917         (comint-dynamic-complete-filename): Correctly call
14918         completion-in-region.
14920 2011-06-05  Deniz Dogan  <deniz@dogan.se>
14922         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14923         in last change.
14925 2011-06-05  Deniz Dogan  <deniz@dogan.se>
14927         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14928         (rcirc): Use it to prompt for encryption.
14930 2011-06-05  Roland Winkler  <winkler@gnu.org>
14932         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14933         (bibtex-search-entries): New command bound to C-c C-a.
14934         (bibtex-display-entries): New function.
14936 2011-06-05  Roland Winkler  <winkler@gnu.org>
14938         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14939         (bibtex-insert-kill): After yanking insert newline if necessary.
14940         (bibtex-initialize): Call bibtex-string-files-init only once.
14941         (bibtex-mode): Do not call easy-menu-add.
14942         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14943         (bibtex-yank): Set arg properly if nil.
14945 2011-06-05  Roland Winkler  <winkler@gnu.org>
14947         * textmodes/bibtex.el (bibtex-search-entry-globally):
14948         New variable.
14949         (bibtex-search-entry): Use it.
14951 2011-06-05  Roland Winkler  <winkler@gnu.org>
14953         * textmodes/bibtex.el (bibtex-entry-format): New option
14954         sort-fields.
14955         (bibtex-format-entry, bibtex-reformat): Honor this option.
14956         (bibtex-parse-entry): Return fields in proper order.
14958 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
14960         * doc-view.el (doc-view-remove-if): Move computation of result out
14961         of `dolist' to silence misleading lexical-binding warning.
14963 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
14965         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14966         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14968 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
14970         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14971         "SunOS 5.10".
14973 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
14975         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14976         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14977         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14978         (tramp-parse-putty):
14979         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14980         (tramp-completion-function-alist-ssh)
14981         (tramp-completion-function-alist-telnet)
14982         (tramp-completion-function-alist-su)
14983         (tramp-completion-function-alist-putty): Set `tramp-autoload'
14984         cookie.
14986         * net/tramp-ftp.el:
14987         * net/tramp-sh.el:
14988         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14989         load "tramp.el" `tramp-set-completion-function'.
14991 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14993         * shell.el: Require and use pcomplete.
14994         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14995         (shell-completion-vars): Set pcomplete-default-completion-function.
14997 2011-06-04  Deniz Dogan  <deniz@dogan.se>
14999         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15000         `memq' (Bug#8799).
15002 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15004         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15006 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
15008         * bs.el (bs--mark-unmark, bs--nth-wrapper):
15009         * mpc.el (mpc-select-extend, mpc-songpointer-context):
15010         * vc/log-view.el (log-view-beginning-of-defun):
15011         * vc/smerge-mode.el (smerge-apply-resolution-patch)
15012         (smerge-refine-forward, smerge-refine-chopup-region):
15013         Silence warning for unused `dotimes' counter variables.
15015 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15017         * net/tramp.el (tramp-with-progress-reporter): Rename from
15018         with-progress-reporter.  Use `declare'.
15019         * net/tramp-smb.el:
15020         * net/tramp-sh.el:
15021         * net/tramp-gvfs.el: Update all uses.
15023 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
15025         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15026         buffer isn't killed before making it current.
15028 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15030         Silence various byte-compiler warnings.
15031         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15032         `access-type' and new obsolescence format.
15033         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15034         new format.
15035         (byte-compile-check-variable): New `access-type' argument.
15036         Only warn if the access-type is obsolete.
15037         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15038         (byte-compile-variable-set): Adjust callers.
15039         * help-fns.el (describe-variable): Adjust to new obsolescence format.
15040         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15041         setting it as obsolete.
15042         * simple.el (minibuffer-completing-symbol):
15043         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15044         access as obsolete.
15045         * minibuffer.el (minibuffer-completing-file-name): Don't make it
15046         obsolete yet.
15047         * international/quail.el (quail-mouse-choose-completion): Remove unused
15048         code referring to obsolete var.
15049         (quail-choose-completion-string): Remove.
15050         * server.el (server-clients-with, server-kill-buffer-query-function)
15051         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15052         * proced.el (proced-send-signal):
15053         * emacs-lisp/lisp.el (lisp-complete-symbol):
15054         Replace completion-annotate-function with completion-extra-properties.
15056 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15058         * simple.el (goto-line): Use read-number.
15059         (overriding-map-is-bound): Remove.
15060         (saved-overriding-map): Change default.
15061         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15062         Take the map as argument.
15063         (universal-argument, negative-argument, digit-argument): Use it.
15064         (restore-overriding-map): Adjust.
15065         (do-auto-fill): Use fill-forward-paragraph.
15066         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15068         * minibuffer.el (minibuffer-inactive-mode-map): New var.
15069         (minibuffer-inactive-mode): New major mode.
15070         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15071         the *Messages* buffer" hack.
15072         (mouse-popup-menubar): Don't burp if the event is a normal key.
15074         Miscellaneous tweaks.
15075         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15076         lexical scoping as in subr.el's dolist and dotimes.
15077         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15078         Silence compiler warning.
15079         * thingatpt.el (forward-whitespace): Trivial coding style fix.
15080         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15081         * international/ccl.el (ccl-compile): Trivial simplification.
15082         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15083         * emacs-lisp/testcover.el (testcover-end): Remove spurious
15084         `printflag' argument.
15085         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15086         Purecopy the whole obsolescence data.
15088 2011-06-01  Leo Liu  <sdl.web@gmail.com>
15090         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15091         improve doc-string as suggested by Marco Pessotto
15092         <melmothx@gmail.com>.
15093         (rcirc-print): Fix last change.
15095 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15097         * minibuffer.el (complete-with-action): Return nil for the metadata and
15098         boundaries of non-functional tables.
15099         (completion-table-dynamic): Return nil for the metadata.
15100         (completion-table-with-terminator): Add default case, using
15101         complete-with-action.
15102         (completion--metadata): New function.
15103         (completion-all-sorted-completions, minibuffer-completion-help): Use it
15104         to try and avoid pathological performance problems.
15105         (completion--embedded-envvar-table): Return `category' metadata.
15107 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15109         * subr.el (process-alive-p): New tiny convenience function.
15111 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15113         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15114         content but also its previous major mode.
15116 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
15118         * emacs-lisp/debug.el (debug): Restore the previous content of the
15119         *Backtrace* buffer when we exit with C-M-c.
15121 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15123         * minibuffer.el: Add metadata method to completion tables.
15124         (completion-category-overrides): New defcustom.
15125         (completion-metadata, completion--field-metadata)
15126         (completion-metadata-get, completion--styles)
15127         (completion--cycle-threshold): New functions.
15128         (completion-try-completion, completion-all-completions):
15129         Add `metadata' argument to choose completion-styles.
15130         (completion--do-completion): Use metadata to choose cycling.
15131         (completion-all-sorted-completions): Use metadata for sorting.
15132         Remove :completion-cycle-penalty which is not needed any more.
15133         (completion--try-word-completion): Add `metadata' argument.
15134         (minibuffer-completion-help): Check metadata for annotation function
15135         and sorting.
15136         (completion-file-name-table): Return `category' metadata.
15137         (minibuffer-completing-file-name): Make obsolete.
15138         * simple.el (minibuffer-completing-symbol): Make obsolete.
15139         * icomplete.el (icomplete-completions): Pass new `metadata' param to
15140         completion-try-completion.
15142 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15144         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15146 2011-05-30  Leo Liu  <sdl.web@gmail.com>
15148         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
15149         (rcirc-print): Decode all incoming messages (bug#8744).
15150         (rcirc-decode-coding-system): Allow value nil for automatic coding
15151         system detection.
15153 2011-06-01  Glenn Morris  <rgm@gnu.org>
15155         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15157 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
15159         * image.el (image-animate-max-time): Allow nil and t values.
15160         Default to nil.
15161         (create-animated-image): Doc fix.
15162         (image-animate-start): Remove second arg; just use
15163         image-animate-max-time.
15164         (image-animate-timeout): Doc fix.  Args changed.
15166         * image-mode.el (image-toggle-display-image): Ensure that the
15167         image spec passed to the animate timer is the same object as in
15168         the buffer's display property (Bug#6981).
15169         (image-transform-properties): Doc fix.
15171         * image.el (image-animate-max-time): Default to nil.
15173 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
15175         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15176         entire buffer list (Bug#8184).
15178 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
15180         * image.el (imagemagick-types-inhibit)
15181         (imagemagick-register-types): Doc fix.
15183 2011-05-29  Deniz Dogan  <deniz@dogan.se>
15185         * net/rcirc.el (rcirc): Use the user's stored encryption method by
15186         default.
15188 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
15190         * select.el: Don't perform clipboard-manager saving in hooks;
15191         leave the hooks empty.
15193 2011-05-28  Leo Liu  <sdl.web@gmail.com>
15195         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15196         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
15197         (occur-edit-mode): New major mode (Bug#8463).
15198         (occur-after-change-function): New function.
15199         (occur-engine): Give Occur tags a read-only property.
15201 2011-05-28  Kevin Ryde  <user42@zip.com.au>
15203         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15205 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
15207         * bindings.el (help-echo): Make the initial non-indicator dash
15208         empty on graphical terminals (Bug#7295).
15210         * files.el (auto-mode-alist): Move config rule after the
15211         in-stripping one (Bug#8547).
15213         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15215         * startup.el (normal-splash-screen): Remove gratuitous mode-line
15216         setting (Bug#8740).
15218 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
15220         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15221         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15222         (Bug#8539).
15224 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
15226         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15228 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
15230         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15231         (hs-hide-block-at-point, hs-find-block-beginning)
15232         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15233         (Bug#8279).
15235 2011-05-28  Glenn Morris  <rgm@gnu.org>
15237         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
15239 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
15241         * help-fns.el (describe-function-1): If the function is a derived
15242         major mode, print the parent mode.
15244         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15245         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15247 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15249         * minibuffer.el (completion--capf-wrapper): Check applicability before
15250         returning non-nil for non-exclusive completion data.
15251         * progmodes/etags.el (tags-completion-at-point-function):
15252         * info-look.el (info-lookup-completions-at-point): Mark as
15253         non-exclusive.
15254         (info-complete): Adjust accordingly.
15256         * info-look.el: Convert to lexical-binding and completion-at-point.
15257         (info-lookup-completions-at-point): New function.
15258         (info-complete): Use it and completion-in-region.
15260 2011-05-28  Drew Adams  <drew.adams@oracle.com>
15262         * isearch.el: Let M-e start with point at the first mismatched char.
15263         (isearch-fail-pos): New function.
15264         (isearch-edit-string): Use it.
15266 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
15268         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15270 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
15272         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
15273         traversal functions for avl-trees.
15274         (avl-tree--stack): New struct.
15275         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15276         (avl-tree-enter): Add optional `updatefun' arg.
15277         (avl-tree--do-enter): Add optional `updatefun' arg.
15278         Change return value.
15279         (avl-tree-delete): Add optional `test' and `nilflag' args.
15280         (avl-tree--do-delete): Add `test' and `nilflag' args.
15281         Change return value.
15282         (avl-tree-member): Add optional `nilflag'
15283         (avl-tree-member-p): New function.
15284         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15285         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15286         (avl-tree-stack-empty-p): New functions.
15288         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15289         avl-tree--del-balance1 and make it work both ways.
15290         (avl-tree--del-balance2): Remove.
15291         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15292         make it work both ways.
15293         (avl-tree--enter-balance2): Remove.
15294         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15295         New macros.
15296         (avl-tree--mapc, avl-tree-map): Add direction argument.
15298 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
15300         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15302 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
15304         * select.el: Support clipboard managers with built-in function
15305         x-clipboard-manager-save, via delete-frame-functions and
15306         kill-emacs-hook.
15307         (xselect-convert-to-targets): Add MULTIPLE target to list.
15308         (xselect-convert-to-save-targets): New function.
15310 2011-05-27  Kenichi Handa  <handa@m17n.org>
15312         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15313         let-binding rfc2047-encode-encoded-words to nil.
15315 2011-05-27  Glenn Morris  <rgm@gnu.org>
15317         * mail/emacsbug.el: Don't require url-util.
15319         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
15321         * files.el (set-auto-mode):
15322         Also respect mode: entries at the end of the file.  (Bug#8586)
15324 2011-05-26  Glenn Morris  <rgm@gnu.org>
15326         * files.el (hack-local-variables-prop-line, hack-local-variables):
15327         Downcase mode names, as seems to be traditional.
15328         (hack-local-variables, hack-local-variables-apply): Doc fixes.
15330         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15331         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
15333 2011-05-25  Julien Danjou  <julien@danjou.info>
15335         * textmodes/rst.el (rst-define-level-faces): Do not define face
15336         symbol if it is already defined.
15338 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15340         * play/5x5.el (5x5-new-game, 5x5-randomize):
15341         Reset 5x5-solver-output to nil when a new grid is cast.
15342         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15343         these debugging traces, as defmacro breaks the compiled code.
15345 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
15347         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15349 2011-05-24  Leo Liu  <sdl.web@gmail.com>
15351         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15352         (vc-bzr-sha1): Adapt.
15354         * sha1.el: Remove.  Function `sha1' is now builtin.
15356         * bindings.el: Provide sha1 feature.
15358 2011-05-24  Kenichi Handa  <handa@m17n.org>
15360         * mail/sendmail.el: Require `rfc2047'.
15361         (mail-insert-from-field): Do not perform RFC2047 encoding.
15362         (mail-encode-header): New function.
15363         (sendmail-send-it): Set buffer-file-coding-system of the work
15364         buffer to the return value of select-message-coding-system.
15365         Call mail-encode-header.
15367         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15369 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
15371         * mail/supercite.el (sc-default-cite-frame):
15372         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
15374 2011-05-24  Glenn Morris  <rgm@gnu.org>
15376         * progmodes/python.el (brm-menu): Declare.
15378         * emulation/viper.el (viper-set-hooks): Declare.
15380         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15381         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15382         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15383         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15384         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15385         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15387 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15389         Add an :exit-function for completion-at-point.
15391         * minibuffer.el (completion--done): New fun.
15392         (completion--do-completion): Use it.  New arg `expect-exact'.
15393         (minibuffer-complete, minibuffer-complete-word): Don't output message,
15394         since completion--do-completion does it for us now.
15395         (minibuffer-force-complete): Use completion--done and
15396         completion--replace.  Handle sole-completion case with more care.
15397         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15398         (completion-extra-properties): New var.
15399         (completion-annotate-function): Make obsolete.
15400         (minibuffer-completion-help): Adjust accordingly.
15401         Use completion-list-insert-choice-function.
15402         (completion-at-point, completion-help-at-point):
15403         Bind completion-extra-properties.
15404         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15405         * simple.el (completion-list-insert-choice-function): New var.
15406         (completion-setup-function): Preserve it.
15407         (choose-completion): Pay attention to it, shuffle the code a bit.
15408         (choose-completion-string): New arg `insert-function'.
15410         * textmodes/bibtex.el: Convert to lexical binding.
15411         (bibtex-mode-map): Use completion-at-point.
15412         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15413         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15414         (bibtex-complete): Define as obsolete alias.
15415         (bibtex-complete-internal): Remove.
15416         (bibtex-format-entry): Remove unused sub-group in regexp.
15417         * shell.el (shell--command-completion-data)
15418         (shell-environment-variable-completion):
15419         * pcomplete.el (pcomplete-completions-at-point):
15420         * comint.el (comint--complete-file-name-data): Use :exit-function
15421         instead of completion-table-with-terminator so it also works for
15422         choose-completion.
15424 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15426         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15428         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15429         (bug#8710).
15431         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15433 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
15435         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15436         customization variable and implement: If non-nil, auto-fill will
15437         be inhibited while on topic's header line.
15439 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15441         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
15442         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
15443         always have a solution in grid size = 5 cases.
15444         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15445         (5x5-solver-output, 5x5-log-buffer): New vars.
15446         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15447         Make these variables buffer local to achieve 5x5 multi-session-ness.
15448         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15449         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15450         (5x5-solve-suggest): New funs.
15451         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15452         randomize a grid so that we ensure that there is always a solution.
15453         (5x5-make-random-grid): Allow other movement than flipping.
15455 2011-05-23  Kevin Ryde  <user42@zip.com.au>
15457         * emacs-lisp/advice.el (ad-read-advised-function):
15458         Use `function-called-at-point' as the default, if it has
15459         advice and passes PREDICATE.
15461 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15463         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15464         byte-compile-lambda if it's actually a lambda.
15466         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15467         Fix function quoting.  Use backquote better.
15469 2011-05-22  Yuanle Song  <sylecn@gmail.com>
15471         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15472         matching (Bug#8516).
15474 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
15476         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15477         different face (Bug#8178).
15479 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
15481         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15482         defface (Bug#8144).
15484 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15486         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15487         funcall as well (bug#8712).  Warn when performing those conversions.
15488         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15490         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15492 2011-05-22  Glenn Morris  <rgm@gnu.org>
15494         * files.el (hack-local-variables-prop-line): Small simplifications.
15495         (hack-local-variables, hack-local-variables-prop-line):
15496         If MODE-ONLY, return the mode, rather than just `t'.
15498 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15500         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15502 2011-05-21  Glenn Morris  <rgm@gnu.org>
15504         * files.el (hack-local-variables-prop-line, hack-local-variables):
15505         If only interested in the mode, don't bother doing the other stuff.
15507         * image-mode.el (image-after-revert-hook):
15508         Redraw all frames on which the image is visible.  (Bug#8567)
15510         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
15512         * wid-edit.el (widget-checklist-match-inline):
15513         Fix 2011-04-19 change.  (Bug#8649)
15515 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15517         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15518         Also allow singlespace after single-letter capitals followed by a dot.
15520         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15521         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15523 2011-05-20  Nix  <nix@esperi.org.uk>
15525         * files.el (basic-save-buffer-2):
15526         Fix handling of break-hardlink-on-save with non-existent files.
15528 2011-05-19  Deniz Dogan  <deniz@dogan.se>
15530         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
15531         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
15533 2011-05-19  Glenn Morris  <rgm@gnu.org>
15535         * progmodes/f90.el (f90-type-def-re):
15536         Handle "type, bind(c)".  (Bug#8691)
15538         * emacs-lisp/autoload.el (batch-update-autoloads):
15539         Set autoload-excludes by parsing loadup.el rather than Makefiles.
15541 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
15543         * net/tramp.el (tramp-process-actions): Set "first-password-request"
15544         property for the correct connection in case of multihops.
15546 2011-05-18  Glenn Morris  <rgm@gnu.org>
15548         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
15549         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15551         Rationalize calendar handling of day and month abbrev-arrays.
15552         * calendar/calendar.el (calendar-customized-p): New function.
15553         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15554         (calendar-day-name-array, calendar-month-name-array): Doc fix.
15555         Add :set function.
15556         (calendar-abbrev-length, calendar-day-abbrev-array)
15557         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15558         (calendar-day-abbrev-array, calendar-month-abbrev-array):
15559         Elements may no longer be nil.
15560         (calendar-day-name, calendar-month-name):
15561         Update for changed nature of abbrev arrays.
15562         * calendar/diary-lib.el (diary-name-pattern):
15563         Update for changed nature of abbrev arrays.
15564         (diary-mark-entries-1): Update calendar-make-alist calls.
15565         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15566         * calendar/cal-html.el (cal-html-day-abbrev-array):
15567         Simply inherit from calendar-day-abbrev-array.
15569 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15571         * progmodes/grep.el (grep-mode): Disable default
15572         compilation-directory-matcher setting (bug#8684).
15574 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
15576         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15577         instead of "head" and "tail".  There were problems with SunOS 5.9,
15578         and it performs better.
15580 2011-05-17  Glenn Morris  <rgm@gnu.org>
15582         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15584         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15585         Replace obsolete function.
15587         * shell.el (pcomplete-parse-arguments-function): Declare.
15589         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15590         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15591         (appt-check): Doc fixes.
15592         (appt-disp-window-function, appt-delete-window-function):
15593         Remove needless special case in custom :type.
15594         (appt-display-count): Default to 0, not nil.
15595         (appt-check): Reset appt-display-count to 0, not nil.
15597 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
15599         * progmodes/python.el (python-font-lock-keywords):
15600         Add the Python 3.X keyword "nonlocal" (bug#8639).
15602 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15604         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15606 2011-05-16  Kevin Ryde  <user42@zip.com.au>
15608         * info-look.el (makefile-automake-mode): New setups, looking in
15609         automake manual, then makefile-mode.
15610         (makefile-mode): Remove automake manual, have it just in
15611         makefile-automake-mode since there's various things different or
15612         not relevant to plain make.
15613         (makefile-mode): Remove "other-modes" non-existent automake-mode,
15614         believe a hypothetical automake-mode would go to makefile-mode,
15615         not the other way around.
15617 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
15619         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15620         hunk-end tags (Bug#8672).
15622         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15623         vc-annotate-show-diff-revision-at-line (Bug#8671).
15625 2011-05-14  Glenn Morris  <rgm@gnu.org>
15627         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15628         in the middle of an existing one with multiple authors.  (Bug#8645)
15629         (change-log-font-lock-keywords): Also handle multiple author lines
15630         with leading tabs.  (Bug#8644)
15632         * calendar/appt.el (appt-check): Rename some local variables.
15633         Some simplification/reordering.
15635         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15636         (feedmail-sendmail-f-doesnt-sell-me-out)
15637         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15638         (feedmail-debug-sit-for, feedmail-queue-express-hook)
15639         (feedmail-queue-runner-message-sender): Set :version.
15640         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15641         (bbdb-dwim-net-address, vm-mail): Declare.
15642         (feedmail-binmail-gnulinuxish-template):
15643         Rename from feedmail-binmail-linuxish-template.
15644         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15645         Use insert-buffer-substring.
15647 2011-05-14  Bill Carpenter  <bill@carpenter.org>
15649         * mail/feedmail.el (feedmail-patch-level): Increase.
15650         (feedmail-debug): New custom group.
15651         (feedmail-confirm-outgoing-timeout)
15652         (feedmail-sendmail-f-doesnt-sell-me-out)
15653         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15654         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15655         (feedmail-sender-line, feedmail-from-line)
15656         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
15657         (feedmail-spray-this-address)
15658         (feedmail-spray-address-fiddle-plex-list)
15659         (feedmail-queue-use-send-time-for-date)
15660         (feedmail-queue-use-send-time-for-message-id)
15661         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15662         (feedmail-buffer-eating-function):
15663         Doc fixes.
15664         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15665         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15666         (feedmail-message-action-scroll-down): New functions.
15667         (feedmail-queue-directory, feedmail-queue-draft-directory):
15668         Use expand-file-name.
15669         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15670         Remove C-v help entry.
15671         (feedmail-queue-buffer-file-name): New variable.
15672         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15673         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15674         (feedmail-message-action-send-strong, feedmail-message-action-edit)
15675         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15676         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15677         (feedmail-message-action-toggle-spray)
15678         (feedmail-run-the-queue-no-prompts)
15679         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15680         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15681         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15682         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15683         (feedmail-envelope-deducer, feedmail-fiddle-from)
15684         (feedmail-fiddle-sender, feedmail-default-date-generator)
15685         (feedmail-fiddle-date, feedmail-fiddle-message-id)
15686         (feedmail-fiddle-spray-address)
15687         (feedmail-fiddle-list-of-spray-fiddle-plexes)
15688         (feedmail-fiddle-list-of-fiddle-plexes)
15689         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15690         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15691         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15692         Change default.  Doc fix.
15693         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15694         (feedmail-binmail-linuxish-template): New constant.
15695         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
15696         Respect feedmail-sendmail-f-doesnt-sell-me-out.
15697         (feedmail-send-it): Add debug call.
15698         Use feedmail-queue-buffer-file-name, and
15699         feedmail-send-it-immediately-wrapper.
15700         (feedmail-message-action-send): Add debug call.
15701         Use feedmail-send-it-immediately-wrapper.
15702         (feedmail-queue-express-to-queue): Add debug call.
15703         Run feedmail-queue-express-hook.
15704         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
15705         (feedmail-message-action-help-blat):
15706         Rename from feedmail-queue-send-edit-prompt-help-first.
15707         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
15708         Check line-endings.  Handle errors better.
15709         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15710         Doc fix.  Add debug call.
15711         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
15712         Use feedmail-queue-send-edit-prompt-inner.
15713         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15714         (feedmail-queue-send-edit-prompt-inner): New function, extracted
15715         from feedmail-queue-send-edit-prompt.
15716         (feedmail-queue-send-edit-prompt-help)
15717         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15718         (feedmail-tidy-up-slug): Add debug call.
15719         Respect feedmail-queue-slug-suspect-regexp.
15720         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15721         (feedmail-dump-message-to-queue): Add debug call.
15722         Expand queue-directory.
15723         (feedmail-dump-message-to-queue): Change message slightly.
15724         Use feedmail-say-chatter.
15725         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
15726         (feedmail-send-it-immediately-wrapper): New function.
15727         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
15728         Insert empty string rather than newline.  Handle full-frame case.
15729         Use catch/throw.  Use feedmail-say-chatter.
15730         (feedmail-fiddle-from): Try mail-host-address.
15731         (feedmail-default-message-id-generator): Doc fix.
15732         Bind system-time-locale.  Handle missing end.
15733         (feedmail-fiddle-x-mailer): Add debug call.
15734         Handle feedmail-x-mailer-line being nil.
15735         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15736         Add debug call.  Use buffer-substring-no-properties.
15737         (feedmail-say-debug, feedmail-say-chatter): New functions.
15738         (feedmail-find-eoh): Give an explicit error.
15740 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
15742         * net/newst-treeview.el (newsticker-treeview-face): Change default
15743         family from helvetica to sans.
15744         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
15745         etc/images/newsticker.
15747         * net/newst-reader.el (newsticker-feed-face): Change default
15748         family from helvetica to sans.
15750         * net/newst-plainview.el (newsticker-new-item-face)
15751         (newsticker-old-item-face, newsticker-immortal-item-face)
15752         (newsticker-obsolete-item-face, newsticker-date-face)
15753         (newsticker-statistics-face): Change default family from
15754         helvetica to sans.
15755         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
15756         etc/images/newsticker.
15758         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15759         (newsticker--process-auto-mark-filter-match): Tell user about
15760         auto-marking.
15762 2011-05-13  Didier Verna  <didier@xemacs.org>
15764         Common Lisp indentation improvements on defmethod and lambda-lists.
15765         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15766         TODO entries.
15767         (lisp-lambda-list-keyword-parameter-indentation)
15768         (lisp-lambda-list-keyword-parameter-alignment)
15769         (lisp-lambda-list-keyword-alignment): New customizable user options.
15770         (lisp-indent-defun-method): Improve docstring.
15771         (extended-loop-p): Fix comment.
15772         (lisp-indent-lambda-list-keywords-regexp): New variable.
15773         (lisp-indent-lambda-list): New function.
15774         (lisp-indent-259): Use it.
15775         (lisp-indent-defmethod): Support for more than one
15776         method qualifier and properly indent methods lambda-lists.
15777         (defgeneric): Provide a missing common-lisp-indent-function property.
15779 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15781         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15782         bounds for the empty string (bug#8667).
15784 2011-05-13  Glenn Morris  <rgm@gnu.org>
15786         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15788         * mail/sendmail.el (sendmail-program): Try executable-find first.
15789         (sendmail-send-it): `sendmail-program' cannot be unbound.
15791         * calendar/appt.el (appt-make-list): Simplify.
15792         (appt-time-msg-list): Doc fix.
15793         (appt-check): Change mode-line message at the time of the appointment.
15795 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
15797         * progmodes/ld-script.el (ld-script-keywords)
15798         (ld-script-builtins): Update keywords list.
15800 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15802         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15804         * shell.el (shell-completion-vars): New function.
15805         (shell-mode):
15806         * simple.el (read-shell-command): Use it.
15807         (blink-matching-open): No need for " [...]" in minibuffer-message.
15809 2011-05-12  Glenn Morris  <rgm@gnu.org>
15811         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15812         (appt-check): Simplify.
15814 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
15816         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
15817         literal "/dev/null".
15819 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15821         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15822         Fix typo.
15824 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
15826         * progmodes/which-func.el (which-function):
15827         Use add-log-current-defun instead of add-log-current-defun-function,
15828         which might not be defined (Bug#8260).
15830 2011-05-12  Glenn Morris  <rgm@gnu.org>
15832         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15833         Let byte-compile-initial-macro-environment always take precedence.
15835 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15837         * net/rcirc.el: Add support for SSL/TLS connections.
15838         (rcirc-server-alist): New field `encryption'.
15839         (rcirc): Check `encryption' settings.
15840         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
15841         Merge make-local-variable into `set'.
15842         (rcirc--connection-open-p): New function.
15843         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15844         the process is not a network process (e.g. running gnutls-cli).
15845         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15846         Make rcirc-(en|de)code-coding-system local here.
15847         (rcirc-mode): Merge make-local-variable into `set'.
15848         (rcirc-parent-buffer): Make permanent buffer-local.
15849         (rcirc-multiline-minor-mode): Don't do it here.
15850         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15851         there's no server buffer.
15853 2011-05-11  Glenn Morris  <rgm@gnu.org>
15855         * newcomment.el (comment-kill): Prefix "unused" local.
15857         * term/w32console.el (get-screen-color): Declare.
15859         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15860         Handle symbol elements of byte-compile-initial-macro-environment.
15862 2011-05-10  Leo Liu  <sdl.web@gmail.com>
15864         * bookmark.el (bookmark-bmenu-mode-map):
15865         Bind bookmark-bmenu-search to `/'.
15867         * mail/footnote.el: Convert to utf-8 encoding.
15868         (footnote-unicode-string, footnote-unicode-regexp): New variable.
15869         (Footnote-unicode): New function.
15870         (footnote-style-alist): Add unicode style to the list.
15871         (footnote-style): Doc fix.
15873 2011-05-10  Jim Meyering  <meyering@redhat.com>
15875         Fix doubled-word typos.
15876         * international/quail.el (quail-insert-kbd-layout): and and -> and
15877         * kermit.el: and and -> and
15878         * net/ldap.el (ldap-search-internal): to to -> to
15879         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15880         * progmodes/js.el (js-mode): and and -> and
15881         * textmodes/artist.el (artist-move-to-xy): at at -> at
15882         (artist-draw-region-trim-line-endings): if if -> if
15883         And Safetyc -> Safety.
15884         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15886 2011-05-10  Glenn Morris  <rgm@gnu.org>
15887             Stefan Monnier  <monnier@iro.umontreal.ca>
15889         * files.el (hack-one-local-variable-eval-safep):
15890         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
15892 2011-05-10  Glenn Morris  <rgm@gnu.org>
15894         * calendar/diary-lib.el (diary-list-entries-hook)
15895         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15896         (diary-nongregorian-marking-hook, diary-list-entries)
15897         (diary-include-other-diary-files, diary-mark-entries)
15898         (diary-mark-included-diary-files): Doc fixes.
15900 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
15902         * misc.el: Require tabulated-list.el during compilation.
15904 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
15906         * progmodes/compile.el (compilation-start):
15907         Run compilation-filter-hook for the async case too.
15908         (compilation-filter-hook): Doc fix.
15910 2011-05-09  Deniz Dogan  <deniz@dogan.se>
15912         * wdired.el: Remove outdated installation comment.  Fix usage
15913         comment.
15915 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
15917         * misc.el: Implement new command `list-dynamic-libraries'.
15918         (list-dynamic-libraries--loaded-only-p): New variable.
15919         (list-dynamic-libraries--refresh): New function.
15920         (list-dynamic-libraries): New command.
15922 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
15924         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15925         Fix the ant regexp to handle end-line and end-column info from jikes.
15926         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
15927         higher priority to avoid clobbering by gnu.
15929 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
15931         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15932         if the face has existing theme settings (Bug#8454).
15934 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
15936         * progmodes/perl-mode.el (perl-imenu-generic-expression):
15937         Only match variables declared via `my' or `our' (Bug#8261).
15939         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15940         special file names `.' and `..' (Bug#8259).
15942 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
15944         * progmodes/grep.el (grep-mode-font-lock-keywords):
15945         Remove buffer-changing entries.
15946         (grep-filter): New function.
15947         (grep-mode): Add it to compilation-filter-hook.
15949         * progmodes/compile.el (compilation-filter-hook)
15950         (compilation-filter-start): New defvars.
15951         (compilation-filter): Call compilation-filter-hook prior to
15952         updating the process mark.
15954 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15956         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15958 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
15960         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15961         mailclient-send-it even if window-system is nil.  (Bug#8595)
15963         * term/w32console.el (terminal-init-w32console):
15964         Call get-screen-color and use its output to set the frame
15965         background-mode.  (Bug#8597)
15967 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15969         Make bytecomp.el understand that defmethod defines funs (bug#8631).
15970         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15971         New functions.
15972         (defgeneric, eieio--defmethod): Use them.
15973         (eieio-defgeneric): Remove.
15974         (defmethod): Call defgeneric in a way visible to the byte-compiler.
15976 2011-05-07  Glenn Morris  <rgm@gnu.org>
15978         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15979         Use let rather than let*.
15980         (timeclock-find-discrep): Remove unused local.
15982         * calendar/diary-lib.el (diary-comment-start): Doc fix.
15984         * calendar/appt.el (appt-time-msg-list): Doc fix.
15986 2011-05-06  Noah Friedman  <friedman@splode.com>
15988         * apropos.el (apropos-print-doc): Only use
15989         emacs-lisp-docstring-fill-column when it is bound to an integer,
15990         per that variable's documentation.
15992 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15994         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
15995         and warnings are not silently discarded (e.g. use -d instead of -P).
15997 2011-05-06  Glenn Morris  <rgm@gnu.org>
15999         * calendar/appt.el (appt-message-warning-time): Doc fix.
16000         (appt-warning-time-regexp): New option.
16001         (appt-make-list): Respect appt-message-warning-time.
16003         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16004         New options.
16005         (diary-add-to-list): Strip comments from the displayed string.
16006         (diary-mode): Set comment-start and comment-end.
16008         * vc/diff-mode.el (smerge-refine-subst): Declare.
16009         (diff-refine-hunk): Don't require smerge-mode when compiling.
16011 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
16013         * simple.el (list-processes): Return nil as the docstring says.
16015 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
16017         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16018         to "".
16019         (ange-ftp-write-region, ange-ftp-insert-file-contents)
16020         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16021         determining of binary transfer.  (Bug#7383)
16023 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
16025         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16026         Fix port computation bug.  (Bug#8618)
16028 2011-05-05  Glenn Morris  <rgm@gnu.org>
16030         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16032         * simple.el (shell-dynamic-complete-functions)
16033         (comint-dynamic-complete-functions): Declare.
16035         * net/network-stream.el (gnutls-negotiate):
16036         * simple.el (tabulated-list-print): Fix declarations.
16038         * progmodes/gud.el (syntax-symbol, syntax-point):
16039         Remove unnecessary and incorrect declarations.
16041         * emacs-lisp/check-declare.el (check-declare-scan):
16042         Handle byte-compile-initial-macro-environment in bytecomp.el
16044 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16046         Fix earlier half-done eieio-defmethod change (bug#8338).
16047         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16048         Streamline and change calling convention.
16049         (defmethod): Adjust accordingly and simplify.
16050         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16051         new eieio--defmethod.
16052         (slot-boundp): Minor CSE simplification.
16054 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
16056         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16057         (glasses-make-readable): Use glasses-separate-capital-groups.
16059 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
16061         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16062         (warning-series): Doc fix.
16063         (display-warning): Don't try to create the buffer if we just found it.
16065 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
16067         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16068         (autoload-find-generated-file): New function.
16069         (generate-file-autoloads): Bind generated-autoload-file to
16070         buffer-file-name.
16071         (update-file-autoloads, update-directory-autoloads):
16072         Use autoload-find-generated-file.  If called interactively, prompt for
16073         output file (Bug#7989).
16074         (batch-update-autoloads): Doc fix.
16076 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
16078         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16080 2011-05-04  Glenn Morris  <rgm@gnu.org>
16082         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16083         function, so it follows changes in calendar-date-style.
16084         (diary-fancy-date-matcher): New function.
16085         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16086         (diary-fancy-font-lock-fontify-region-function):
16087         Use diary-fancy-date-pattern as a function.
16089         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16090         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
16092 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
16094         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16095         instead of positional arguments.  Allow :keylist and :crlfiles
16096         arguments.
16097         (open-gnutls-stream): Call it.
16099         * net/network-stream.el (network-stream-open-starttls): Adjust to
16100         call `gnutls-negotiate' with :process and :hostname arguments.
16102 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16104         * minibuffer.el (completion--message): New function.
16105         (completion--do-completion, minibuffer-complete)
16106         (minibuffer-force-complete, minibuffer-complete-word): Use it.
16107         (completion--do-completion): Don't ignore completion-auto-help when in
16108         icomplete-mode.
16110         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16111         internal encoding (e.g. tibetan zero is not whitespace).
16112         (global-whitespace-mode): Prefer save-current-buffer.
16113         (whitespace-trailing-regexp): Remove useless save-match-data.
16114         (whitespace-empty-at-bob-regexp): Minor simplification.
16116 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
16118         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16120 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
16122         * textmodes/ispell.el (ispell-add-per-file-word-list):
16123         Use `concat' to create string for insertion.
16125 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16127         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16128         Avoid open-line which runs post-self-insert-hook.
16129         (bibtex-fill-entry): Remove unused `end' var.
16131 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
16133         * textmodes/ispell.el (ispell-add-per-file-word-list):
16134         Protect against `nil' value of `comment-start' (Bug#8579).
16136 2011-05-03  Leo Liu  <sdl.web@gmail.com>
16138         * isearch.el (isearch-yank-pop): New command.
16139         (isearch-mode-map): Bind it to `M-y'.
16140         (isearch-forward): Mention it.
16142 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16144         * simple.el (minibuffer-complete-shell-command): Remove.
16145         (minibuffer-local-shell-command-map): Use completion-at-point.
16146         (read-shell-command): Setup completion vars here instead.
16147         (read-expression-map): Bind TAB to symbol completion.
16149         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16150         error directly rather via storing it into `results'.
16152 2011-05-02  Leo Liu  <sdl.web@gmail.com>
16154         * vc/diff.el: Fix description.
16156 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16158         * server.el (server-eval-at): New function.
16160 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16162         * net/network-stream.el (open-network-stream): Take a :nowait
16163         parameter and pass it on to `make-network-process'.
16164         (network-stream-open-plain): Ditto.
16166 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16168         * faces.el (face-spec-set-match-display): Don't match toolkit
16169         options on terminal frames.
16171 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16173         * progmodes/pascal.el: Use lexical binding.
16174         (pascal-mode-map): Remove author preferences.
16176         * pcomplete.el (pcomplete-std-complete): Don't abuse
16177         completion-at-point.
16179 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
16181         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16182         removing code that has been dead since 1991 or so.
16184         * startup.el (command-line): When warning about "_emacs", use a
16185         delayed warning to allow the user to filter it out.
16187 2011-04-28  Deniz Dogan  <deniz@dogan.se>
16189         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16190         user has not joined.
16192 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16194         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16195         aren't any completions at point.
16197 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
16199         * subr.el (display-delayed-warnings): New function.
16200         (delayed-warnings-hook): New variable.
16202 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16204         * minibuffer.el (completion-at-point, completion-help-at-point):
16205         Don't presume that a given completion-at-point-function will always
16206         use the same calling convention.
16208         * pcomplete.el (pcomplete-completions-at-point):
16209         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
16210         pcomplete-seen is non-nil.
16211         (pcomplete-comint-setup): Also recognize the new comint/shell
16212         completion functions.
16213         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16214         pcomplete-seen is non-nil.
16216 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
16218         * calendar/icalendar.el (diary-lib): Add require statement.
16219         (icalendar--create-uid): Read out a uid from a text-property on
16220         the first character in the entry.  This allows for code to add its
16221         own uid to the entry.
16222         (icalendar--convert-float-to-ical): Add export of
16223         `diary-float'-entries save for those with the optional DAY
16224         argument.
16226 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
16228         * subr.el (shell-quote-argument): Use alternate escaping strategy
16229         when we spot a variable reference in a string.
16231 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
16233         * cus-start.el (all): Define customization for debug-on-event.
16235 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
16237         * subr.el (shell-quote-argument): Escape correctly under Windows.
16239 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16241         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16243 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
16245         * net/tramp.el (tramp-process-actions): Add POS argument.
16246         Delete region between POS and (pos).
16248         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16249         Use `nil' position in `tramp-process-actions' call.
16250         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16252         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16253         position in `tramp-process-actions' call.
16255         * net/trampver.el: Update release number.
16257 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16259         * custom.el (defcustom): Obey lexical-binding.
16261         Fix octave-inf completion problems reported by Alexander Klimov.
16262         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16263         Inherit from octave-mode-syntax-table.
16264         (inferior-octave-mode): Set info-lookup-mode.
16265         (inferior-octave-completion-at-point): New function.
16266         (inferior-octave-complete): Use it and completion-in-region.
16267         (inferior-octave-dynamic-complete-functions): Use it as well, and use
16268         comint-filename-completion.
16269         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16270         symbol elements which shouldn't be word elements.
16271         (octave-font-lock-keywords, octave-beginning-of-defun)
16272         (octave-function-header-regexp): Adjust regexps accordingly.
16273         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16275 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
16277         * net/gnutls.el (gnutls-errorp): Declare before first use.
16279 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
16281         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16282         verify-error, and verify-hostname-error parameters.  Check whether
16283         default trustfile exists before going to use it.  Add missing
16284         argument to gnutls-message-maybe call.  Return value.
16285         Reported by Claudio Bley <claudio.bley@gmail.com>.
16286         (open-gnutls-stream): Add usage example.
16288         * net/network-stream.el (network-stream-open-starttls): Give host
16289         parameter to `gnutls-negotiate'.
16290         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
16291         * subr.el (shell-quote-argument): Escape correctly under Windows.
16293 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
16295         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16296         Use correct match group (bug#8438).
16298 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
16300         * emacs-lisp/package.el (package-built-in-p): Fix typo.
16301         (package-menu--generate): New arg specifying packages to show.
16302         (package-menu-refresh, package-menu-execute, list-packages):
16303         Callers changed.
16304         (package-show-package-list): New function, replacing deleted
16305         package--list-packages (renamed because it is non-internal).
16307         * finder.el (finder-list-matches): Use package-show-package-list
16308         instead of deleted package--list-packages.
16310         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16311         Based on a previous implementation by Juanma Barranquero (Bug#8366).
16312         (vc-annotate-mode-map): Bind it to RET.
16314 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
16316         * progmodes/etags.el (next-file): Don't use set-buffer to change
16317         buffers (Bug#8478).
16319 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
16321         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16323         * apropos.el (apropos-label-face): Avoid variable-pitch face.
16324         (apropos-accumulator): Doc fix.
16325         (apropos-function, apropos-macro, apropos-command)
16326         (apropos-variable, apropos-face, apropos-group, apropos-widget)
16327         (apropos-plist): Add face property.
16328         (apropos-symbols-internal): Fix indentation.
16329         (apropos-print): Simplify help, and recognize apropos-multi-type.
16330         (apropos-print-doc): Use button-type-get to extract the button's
16331         face property.  Fill docstring (Bug#8352).
16333 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
16335         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16337         * play/mpuz.el (mpuz-silent): Doc fix.
16338         (mpuz-mode-map): Use mapc.
16339         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16340         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16341         Fix typos in docstrings.
16343         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16344         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16346         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16348 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
16350         * minibuffer.el (completion--do-completion): Avoid the "Next char
16351         not unique" prompt if icomplete-mode is enabled (Bug#5849).
16353         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16354         mouse-2 into unread-command-events, it is interpreted correctly.
16356         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
16357         (image-toggle-display): Doc fix.
16359 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
16361         * textmodes/page.el (what-page): Use line-number-at-pos to
16362         calculate line number (Bug#6825).
16364 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
16366         * eshell/esh-mode.el (find-tag-interactive): Declare function.
16367         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16368         Pass argument NO-DEFAULT to `find-tag-interactive'.
16370 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
16372         Lexical-binding cleanup.
16374         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16375         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16376         * progmodes/ada-prj.el (ada-prj-initialize-values)
16377         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16378         (ada-prj-show-value):
16379         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16380         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16381         (antlr-invalidate-context-cache, antlr-options-menu-filter)
16382         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16383         * progmodes/bug-reference.el (bug-reference-push-button):
16384         * progmodes/fortran.el (fortran-line-length):
16385         * progmodes/glasses.el (glasses-change):
16386         * progmodes/octave-mod.el (octave-fill-paragraph):
16387         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16388         (python-pdbtrack-grub-for-buffer, python-sentinel):
16389         * progmodes/sql.el (sql-save-connection):
16390         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16391         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16392         Mark unused parameters.
16394         * progmodes/compile.el (compilation--flush-directory-cache)
16395         (compilation--flush-parse, compile-internal): Mark unused parameters.
16396         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16397         (compilation-next-error-function): Remove unused variable `timestamp'.
16399         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16400         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16402         * progmodes/dcl-mode.el (dcl-end-of-command):
16403         Remove unused variable `start'.
16404         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16405         (dcl-option-value-basic, dcl-option-value-offset)
16406         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16407         Mark unused parameters.
16408         (dcl-save-local-variable): Remove unused variable `val'.
16409         (mode): Declare.
16411         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16412         Mark unused parameters.
16413         (delphi-ignore-changes): Move before first use.
16414         (delphi-charset-token-at): Remove unused variable `start'.
16415         (delphi-else-start): Remove unused variable `if-count'.
16416         (delphi-comment-block-start, delphi-comment-block-end):
16417         Remove unused variable `kind'.
16418         (delphi-indent-line): Remove unused variable `new-point'.
16420         * progmodes/ebrowse.el (ebrowse-files-list)
16421         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16422         Mark unused parameters.  Don't quote `lambda'.
16423         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16424         Don't quote `lambda'.
16425         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16426         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16427         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16428         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16429         Use `ignore-errors'.
16430         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16431         (ebrowse-view/find-file-and-search-pattern)
16432         (ebrowse-view/find-member-declaration/definition):
16433         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16434         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16435         Rename parameter PREFIX-ARG to PREFIX.
16436         (ebrowse-tags-read-name): Remove unused variables `start' and
16437         `member-info'.
16438         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16439         to `tags-file'.
16441         * progmodes/etags.el (local-find-tag-hook): Declare.
16442         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16443         Mark unused parameters.
16445         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16446         (executable-interpret): Mark unused parameter.
16448         * progmodes/flymake.el (flymake-process-sentinel)
16449         (flymake-after-change-function)
16450         (flymake-create-temp-with-folder-structure)
16451         (flymake-get-include-dirs-dot): Mark unused parameters.
16452         (flymake-safe-delete-directory): Remove unused variable `err'.
16454         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16455         (speedbar-timer-fn, speedbar-line-text)
16456         (speedbar-change-expand-button-char, speedbar-delete-subblock)
16457         (speedbar-center-buffer-smartly): Declare functions.
16458         (gdb-find-watch-expression): Remove unused variable `array'.
16459         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16460         (gdb-starting): Mark unused parameters.
16461         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16462         (gdb-table-string): Remove unused variable `res'.
16463         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16464         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16465         (gdb-display-buffer): Remove unused variable `cur-size'.
16467         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16468         allow lexical-binding compilation.
16469         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16470         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16471         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16472         Mark unused parameters.
16473         (gud-gdb-marker-filter): Remove unused variable `match'.
16474         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16475         lambda expressions and funcall them, instead of using `fset'.
16477         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16478         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16480         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16481         variable `header-beg'; use `let'.
16483         * progmodes/icon.el (indent-icon-exp): Remove unused variables
16484         `restart', `last-sexp' and `at-do'.
16486         * progmodes/js.el (js--debug): Mark unused parameter.
16487         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16488         (js--splice-into-items): Remove unused variable `item'.
16489         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16491         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16492         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16493         (makefile-complete): Remove unused variable `try'.
16494         (makefile-fill-paragraph, makefile-match-function-end):
16495         Mark unused parameters.
16497         * progmodes/octave-inf.el (inferior-octave-complete):
16498         Remove unused variable `proc'.
16499         (inferior-octave-output-digest): Mark unused parameter.
16501         * progmodes/perl-mode.el (perl-calculate-indent):
16502         Remove unused variable `err'.
16504         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16505         (prolog-indent-line): Mark unused parameters.
16506         (prolog-indent-line): Remove unused variable `beg'.
16508         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16509         (reporter-dont-compact-list): Declare.
16511         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16512         Remove unused variable `char'.
16513         (sh-debug): Mark unused parameter.
16514         (sh-get-indent-info): Remove unused variable `start'.
16515         (sh-calculate-indent): Remove unused variable `var'.
16517         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16518         (simula-electric-keyword): Remove unused variable `null'.
16519         (simula-search-backward, simula-search-forward): Remove unused
16520         variables `begin' and `end'.
16522         * progmodes/vera-mode.el (vera-guess-basic-syntax):
16523         Remove unused variable `pos'.
16524         (vera-electric-tab, vera-comment-uncomment-region):
16525         Mark unused parameters.
16526         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16528 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
16530         * emacs-lisp/package.el (package--builtins, package-alist)
16531         (package-load-descriptor, package-built-in-p, package-activate)
16532         (define-package, package-installed-p)
16533         (package-compute-transaction, package-buffer-info)
16534         (package--push): Doc fix.  Distinguish more clearly between
16535         version strings and version lists.
16537 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
16539         Lexical-binding cleanup.
16541         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16542         (5x5-make-mutate-best):
16543         * play/fortune.el (fortune-in-buffer):
16544         * play/gomoku.el (gomoku-init-display):
16545         * play/solitaire.el (solitaire, solitaire-do-check):
16546         * play/tetris.el (tetris-default-update-speed-function):
16547         Mark unused parameters.
16549         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16550         (bubbles--shift): Remove unused variable `char-org'.
16551         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
16552         (bubbles--show-images): Remove unused variable `char'.
16554         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16555         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16556         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16557         (decipher-analyze-buffer): Use ?\s.
16558         (decipher-make-checkpoint): Remove unused variable `mapping'.
16560         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16562         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16563         Remove unused variable `result'; use `let'.
16565         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16566         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16567         (gametree-children-shown-p, gametree-compute-reduced-score):
16568         Use `ignore-errors'.
16570         * play/handwrite.el (ps-lpr-switches): Declare.
16571         (handwrite): Remove unused variables `pmin' and `lastp'.
16573         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16575         * play/landmark.el (landmark-init-display)
16576         (landmark-update-naught-weights): Mark unused parameters.
16577         (landmark-y): Remove unused variable `noise'.  Simplify.
16578         (landmark-human-plays): Remove unused variable `score'.
16580         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16581         (mpuz-try-proposal): Remove unused variable `game'.
16583         * play/zone.el (life-patterns): Declare.
16585 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
16587         * vc/vc.el (ediff-vc-internal): Declare function.
16589 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16591         * shell.el: Use lexical-binding and std completion UI.
16592         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16593         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16594         comint-preoutput-filter-functions rather than on
16595         comint-output-filter-functions.
16596         (shell-command-completion, shell--command-completion-data)
16597         (shell-filename-completion, shell-environment-variable-completion)
16598         (shell-c-a-p-replace-by-expanded-directory): New functions.
16599         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16600         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16601         (shell-dynamic-complete-environment-variable): Use them.
16602         (shell-dynamic-complete-as-environment-variable)
16603         (shell-dynamic-complete-as-command): Remove.
16604         (shell-match-partial-variable): Match past point.
16605         * comint.el: Clean up use of completion-at-point-functions.
16606         (comint-completion-at-point): New function.
16607         (comint-mode): Use it completion-at-point-functions.
16608         (comint-dynamic-complete): Make it obsolete.
16609         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16610         (comint-c-a-p-replace-by-expanded-history): New function.
16611         (comint-dynamic-complete-functions)
16612         (comint-replace-by-expanded-history): Use it.
16613         * minibuffer.el (completion-table-with-terminator): Allow dynamic
16614         termination strings.  Try harder to avoid second try-completion.
16615         (completion-in-region-mode-map): Disable bindings that don't work yet.
16617         * comint.el: Use lexical-binding.  Require CL.
16618         (comint-dynamic-complete-functions): Use comint-filename-completion.
16619         (comint-completion-addsuffix): Tweak custom type.
16620         (comint-filename-completion, comint--common-suffix)
16621         (comint--common-quoted-suffix, comint--table-subvert)
16622         (comint--complete-file-name-data): New functions.
16623         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16624         (comint-dynamic-list-filename-completions): Use them.
16625         (comint-dynamic-simple-complete): Make obsolete.
16627         * minibuffer.el (completion-in-region-mode):
16628         Keep completion-in-region-mode--predicate global.
16629         (completion-in-region--postch):
16630         Assume completion-in-region-mode--predicate is not null.
16632         * progmodes/flymake.el (flymake-start-syntax-check-process):
16633         Obey `dir'.  Simplify.
16635         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16636         we're in VC after all.
16638 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
16640         * vc/vc.el (vc-diff-build-argument-list-internal)
16641         (vc-version-ediff, vc-ediff): New commands.
16642         (vc-version-diff): Use vc-diff-build-argument-list-internal.
16644 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16646         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16647         add sanity check.
16649         * obsolete/erc-hecomplete.el: Make obsolete.
16650         * obsolete/: Standardize obsolescence info in the header.
16652 2011-04-20  Glenn Morris  <rgm@gnu.org>
16654         * calendar/solar.el (solar-horizontal-coordinates):
16655         Use the longitude argument rather than `calendar-longitude'.
16656         (solar-date-next-longitude): Remove unused locals.
16658 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16660         * whitespace.el: New version 13.2.1.
16662 2011-04-20  felix  <EmacsWiki>  (tiny change)
16664         * whitespace.el (global-whitespace-mode): Keep highlight when
16665         switching between major modes on a file.
16667 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16669         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16670         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16671         multi-line comments as well.
16673 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
16675         Lexical-binding cleanup.
16677         * arc-mode.el (archive-mode-revert):
16678         * cmuscheme.el (scheme-interactively-start-process):
16679         * custom.el (custom-initialize-delay):
16680         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16681         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16682         * emacs-lock.el (emacs-lock-clear-sentinel):
16683         * ezimage.el (defezimage):
16684         * follow.el (follow-avoid-tail-recenter):
16685         * fringe.el (set-fringe-mode-1):
16686         * generic-x.el (bat-generic-mode-compile):
16687         * help-mode.el (help-info-variable, help-do-xref)
16688         (help-mode-revert-buffer):
16689         * help.el (view-emacs-todo):
16690         * iswitchb.el (iswitchb-completion-help):
16691         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16692         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16693         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16694         * locate.el (locate-update):
16695         * longlines.el (longlines-encode-region)
16696         (longlines-after-change-function):
16697         * outline.el (outline-isearch-open-invisible):
16698         * ps-def.el (declare-function, charset-dimension, char-width)
16699         (encode-char):
16700         * ps-mule.el (ps-mule-plot-string):
16701         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16702         (recentf-edit-list-select, recentf-edit-list-validate)
16703         (recentf-open-files-action):
16704         * rect.el (delete-whitespace-rectangle-line)
16705         (rectangle-number-line-callback):
16706         * register.el (window-configuration-to-register)
16707         (frame-configuration-to-register):
16708         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16709         * select.el (xselect-convert-to-string, xselect-convert-to-length)
16710         (xselect-convert-to-targets, xselect-convert-to-delete)
16711         (xselect-convert-to-filename, xselect-convert-to-charpos)
16712         (xselect-convert-to-lineno, xselect-convert-to-colno)
16713         (xselect-convert-to-os, xselect-convert-to-host)
16714         (xselect-convert-to-user, xselect-convert-to-class)
16715         (xselect-convert-to-name, xselect-convert-to-integer)
16716         (xselect-convert-to-atom, xselect-convert-to-identity):
16717         * subr.el (declare, ignore, process-kill-without-query)
16718         (text-clone-maintain):
16719         * terminal.el (te-get-char, te-tic-sentinel):
16720         * tool-bar.el (tool-bar-make-keymap):
16721         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16722         * type-break.el (type-break-mode, type-break-noninteractive-query):
16723         * view.el (View-back-to-mark):
16724         * wid-browse.el (widget-browse-action, widget-browse-widget)
16725         (widget-browse-widgets, widget-browse-sexp):
16726         * widget.el (define-widget-keywords):
16727         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16728         Mark unused parameters.
16730         * align.el (align-adjust-col-for-rule): Mark unused parameter.
16731         (align-areas): Remove unused variable `look'.
16732         (align-region): Remove unused variables `real-end' and `pos-list'.
16734         * apropos.el (apropos-score-doc): Remove unused variable `i'.
16736         * bindings.el (mode-line-modified, mode-line-remote):
16737         Mark unused parameters.
16738         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16740         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16741         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16743         * comint.el (comint-history-isearch-pop-state)
16744         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16745         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16746         (comint-substitute-in-file-name): Doc fix.
16748         * completion.el (cmpl-statistics-block): Mark unused parameter.
16749         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16750         (save-completions-to-file, load-completions-from-file):
16751         Remove unused local variable `e'.
16753         * composite.el (compose-chars): Remove unused variable `len'.
16754         (lgstring-insert-glyph): Remove unused variable `g'.
16755         (compose-glyph-string): Remove unused variables `ascent',
16756         `descent', `lbearing' and `rbearing'.
16757         (compose-glyph-string-relative): Remove unused variables
16758         `lbearing', `rbearing' and `wadjust'.
16759         (compose-gstring-for-graphic): Remove unused variables `header',
16760         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
16761         (compose-gstring-for-terminal): Remove unused variables `header'
16762         and `nchars'.  Use `let', not `let*'.
16764         * cus-edit.el (Custom-set, Custom-save, custom-reset)
16765         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16766         (Custom-buffer-done, custom-buffer-create-internal)
16767         (custom-browse-visibility-action, custom-browse-group-tag-action)
16768         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16769         (widget-magic-mouse-down-action, custom-toggle-parent)
16770         (custom-add-parent-links, custom-toggle-hide-variable)
16771         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16772         (custom-toggle-hide-face, face, hook, custom-group-link-action)
16773         (custom-face-menu-create, custom-variable-menu-create, get)
16774         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16775         (custom-reset-standard-save-and-update): Remove unused variable `value'.
16776         (customize-apropos): Remove unused variable `tests'.
16777         (custom-group-value-create): Remove unused variable `hidden-p'.
16778         (sort-fold-case): Declare.
16780         * cus-theme.el (custom-reset-standard-faces-list)
16781         (custom-reset-standard-variables-list): Declare.
16782         (customize-create-theme, custom-theme-revert, custom-theme-write)
16783         (custom-theme-choose-mode, customize-themes, custom-theme-save):
16784         Mark unused parameters.
16786         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16788         * delim-col.el (delimit-columns-max): Move defvar before first use.
16790         * descr-text.el (describe-char-categories): Don't quote `lambda'.
16791         (describe-char): Don't quote `lambda'.  Mark unused parameter.
16793         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16794         (auto-insert): Declare.
16795         (desktop-restore-file-buffer): Rename desktop-* parameters;
16796         mark unused ones.
16797         (desktop-create-buffer): Rename desktop-* parameters and bind them.
16798         (desktop-buffer): Rename desktop-* parameters.
16800         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16801         (dframe-reposition-frame-xemacs, dframe-help-echo)
16802         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16803         Mark unused parameters.
16805         * dired-aux.el (backup-extract-version-start, overwrite-query)
16806         (overwrite-backup-query, rename-regexp-query)
16807         (rename-non-directory-query): Declare.
16808         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16809         (dired-add-entry): Remove unused variable `orig-file-name'.
16810         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16811         Use parameter PRESERVE-TIME instead of accessing dynamic variable
16812         `dired-copy-preserve-time' directly.
16813         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16814         (dired-insert-subdir-newpos): Rename unused variable `pos'.
16816         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16817         (dired-virtual-revert, dired-make-relative-symlink):
16818         Mark unused parameters.
16819         (manual-program): Declare.
16820         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16821         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16822         wrapped in `with-no-warnings' to avoid replacing one warning by another.
16824         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16826         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16828         * echistory.el (electric-history-in-progress, Helper-return-blurb):
16829         Declare.
16831         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16833         * electric.el (Electric-command-loop): Rename parameter
16834         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16836         * expand.el (expand-in-literal): Remove unused variable `here'.
16838         * facemenu.el (facemenu-add-new-color):
16839         Remove unused variable `docstring'.
16841         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16842         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16843         (face-attr-construct): Mark unused parameter.  Doc fix.
16844         (read-color): Remove unused variable `hex-string'.
16846         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16847         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16848         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16849         (display-buffer-other-frame): Remove unused variable `old-window'.
16850         (kill-buffer-hook): Declare.
16851         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16852         Mark unused parameters.
16853         (after-find-file): Pass 1 to `auto-save-mode', not t.
16855         * files-x.el (auto-insert): Declare.
16856         (modify-file-local-variable-prop-line): Remove unused variable `val'.
16858         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
16859         variable `buf'.  Mark unused parameter.
16860         (find-lisp-insert-directory): Mark unused parameter.
16862         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16863         (format-encode-region): Remove unused variables `cur-buf' and `result'.
16864         (format-common-tail): Remove, unused.
16865         (format-deannotate-region): Remove unused variable `loc'.
16866         (format-annotate-region): Remove unused variable `p'.
16867         (format-annotate-single-property-change): Remove unused variables
16868         `default' and `tail'.
16870         * forms.el (read-file-filter): Declare.
16871         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16873         * frame.el (frame-creation-function-alist): Mark unused parameter.
16874         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16876         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16877         Remove unused parameters.
16878         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16879         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16881         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16882         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16883         (hfy-prepare-tag-map): Mark unused parameters.
16884         (htmlfontify-buffer): Use `called-interactively-p'.
16886         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16887         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16888         (ibuffer-do-occur): Mark unused parameters.
16889         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16890         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16892         * ibuffer.el: Don't quote `lambda'.
16893         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16894         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16895         Mark unused parameters.
16897         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16898         (ido-completing-read): Mark unused parameters.
16899         (ido-copy-current-word): Mark unused parameters;
16900         remove unused variable `name'.
16901         (ido-sort-merged-list): Remove unused parameter `dirs'.
16903         * ielm.el (ielm-input-sender): Mark unused parameter.
16904         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16905         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16906         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16907         `ielm-string' as a dynamic variable accessible from the IELM prompt.
16908         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
16910         * image-dired.el (image-dired-display-thumbs): Remove unused
16911         variables `curr-file' and `count'.
16912         (image-dired-remove-tag): Remove unused variable `start'.
16913         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16914         variable `curr-file'
16915         (image-dired-rotate-original): Remove unused variable `temp-file'.
16916         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16917         Remove unused variable `file'.
16918         (image-dired-gallery-generate): Remove unused variable `curr'.
16919         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16921         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16923         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16925         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16927         * isearch.el (minibuffer-history-symbol): Declare.
16928         (isearch-edit-string): Remove unused variable `err'.
16929         (isearch-message-prefix, isearch-message-suffix):
16930         Mark unused parameters.
16932         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16934         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16936         * makesum.el (double-column): Remove unused variable `cnt'.
16938         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16939         (ido-ignore-item-temp-list): Declare.
16941         * mouse-drag.el (mouse-drag-throw): Remove unused variables
16942         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16943         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16944         (mouse-drag-drag): Remove unused variables `mouse-delta' and
16945         `mouse-col-delta'.
16947         * mouse-sel.el (mouse-extend-internal):
16948         Remove unused variable `orig-window-frame'.
16950         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16951         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16952         Move declarations before first use.
16953         (pcomplete-opt): Mark unused parameters; doc fix.
16955         * proced.el (proced-revert): Mark unused parameter.
16956         (proced-send-signal): Remove unused variable `err'.
16958         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16959         Rename parameter PREFIX-ARG to ARG.
16960         (ps-basic-plot-string, ps-basic-plot-whitespace):
16961         Mark unused parameters.
16963         * replace.el (replace-count): Define.
16964         (occur-revert-function): Mark unused parameters.
16965         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16966         (isearch-case-fold-search, isearch-string): Declare.
16967         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16968         bind `case-fold-search'.  Remove unused variables `beg' and `end',
16969         and simplify.
16970         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16971         COUNT and bind `replace-count'.
16972         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16973         to COUNT.
16975         * savehist.el (print-readably, print-string-length): Declare.
16977         * shadowfile.el (shadow-expand-cluster-in-file-name):
16978         Remove unused variable `cluster'.
16979         (shadow-copy-file): Remove unused variable `i'.
16980         (shadow-noquery, shadow-clusters, shadow-site-cluster)
16981         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16982         (shadow-define-literal-group, shadow-define-regexp-group)
16983         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16985         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16986         (shell): Use `called-interactively-p'.
16987         (shell-directory-tracker): Remove unused variable `chdir-failure'.
16989         * simple.el (compilation-context-lines, comint-file-name-quote-list)
16990         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16991         (delete-backward-char): Remove unused variable `ocol'.
16992         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16993         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16994         (event-apply-hyper-modifier, event-apply-shift-modifier)
16995         (event-apply-control-modifier, event-apply-meta-modifier):
16996         Mark unused parameters.
16997         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16998         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17000         * speedbar.el (speedbar-ignored-directory-expressions)
17001         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17002         (speedbar-find-file, speedbar-dir-follow)
17003         (speedbar-directory-buttons-follow, speedbar-tag-find)
17004         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17005         (speedbar-buffers-line-directory, speedbar-buffer-click):
17006         Mark unused parameters.
17007         (speedbar-tag-file): Remove unused variable `mode'.
17008         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17010         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17012         * talk.el (talk): Remove unused variable `display'.
17014         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17015         (tar-write-region-annotate): Mark unused parameter.
17017         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17018         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17019         Declare them, wrapped in `with-no-warnings' to avoid replacing one
17020         warning by another.
17022         * time-stamp.el (time-stamp-string-preprocess):
17023         Remove unused variable `require-padding'.
17025         * tree-widget.el (widget-glyph-enable): Declare.
17026         (tree-widget-action): Mark unused parameter.
17028         * w32-fns.el (x-get-selection): Mark unused parameter.
17029         (autoload-make-program, generated-autoload-file): Declare.
17031         * wdired.el (wdired-revert): Mark unused parameters.
17032         (wdired-xcase-word): Remove unused variable `err'.
17034         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17035         (whitespace-help-scroll): Remove unused variable `data-help'.
17037         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17038         (widget-image-insert, widget-after-change, default)
17039         (widget-default-format-handler, widget-default-notify)
17040         (widget-default-prompt-value, widget-info-link-action)
17041         (widget-url-link-action, widget-function-link-action)
17042         (widget-variable-link-action, widget-file-link-action)
17043         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17044         (widget-field-prompt-internal, widget-field-action, widget-field-match)
17045         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17046         (widget-insert-button-action, widget-delete-button-action, visibility)
17047         (widget-documentation-link-action, widget-documentation-string-action)
17048         (widget-const-prompt-value, widget-regexp-match, symbol)
17049         (widget-coding-system-prompt-value)
17050         (widget-key-sequence-value-to-external, sexp)
17051         (widget-sexp-value-to-internal, character, vector, cons)
17052         (widget-choice-prompt-value, widget-boolean-prompt-value)
17053         (widget-color--choose-action): Mark unused parameters.
17054         (widget-item-match-inline, widget-choice-match-inline)
17055         (widget-checklist-match, widget-checklist-match-inline)
17056         (widget-group-match): Rename parameter VALUES to VALS.
17057         (widget-field-value-set): Remove unused variable `size'.
17058         (widget-color-action): Remove unused variables `value' and `start'.
17060         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
17061         variable `dir'.  Doc fix.
17062         (windmove-find-other-window): Don't pass it.
17064         * window.el (count-windows): Mark unused parameter.
17065         (bw-adjust-window): Remove unused variable `err'.
17067         * woman.el (woman-file-name): Remove unused variable `default'.
17068         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17069         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17070         (global-font-lock-mode): Declare.
17071         (woman-decode-region): Mark unused parameter.
17072         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17074         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17075         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17076         (x-dnd-handle-moz-url): Remove unused variable `title'.
17077         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17079         * xml.el (xml-parse-tag, xml-parse-attlist):
17080         Remove unused variable `pos'.
17082 2011-04-19  Glenn Morris  <rgm@gnu.org>
17084         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17085         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17086         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17087         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17088         * calendar/cal-html.el (cal-html-insert-minical):
17089         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17090         (calendar-mark-date-pattern):
17091         Prefix "unused" locals.
17093         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17094         optional argument `style'.
17096         * calendar/appt.el (appt-make-list):
17097         * calendar/cal-china.el (calendar-chinese-date-string):
17098         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17099         (diary-hebrew-yahrzeit):
17100         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17101         * calendar/calendar.el (calendar-generate-window):
17102         * calendar/time-date.el (time-to-days):
17103         Remove unused local variables.
17105 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
17107         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17108         glyphless-char-display table.
17109         (tabulated-list-glyphless-char-display): New var.
17111 2011-04-18  Sam Steingold  <sds@gnu.org>
17113         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17114         to acknowledgments.
17116 2011-04-17  Glenn Morris  <rgm@gnu.org>
17118         * calendar/diary-lib.el (diary-sexp-entry):
17119         * calendar/holidays.el (holiday-sexp):
17120         Set debug-on-error rather than the removed stack-trace-on-error.
17122 2011-04-16  Glenn Morris  <rgm@gnu.org>
17124         * progmodes/f90.el: Use lexical-binding.
17125         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17127 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17129         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17130         (mail-mode): Setup mailalias completion here instead.
17131         * mail/mailalias.el: Use lexical-binding.
17132         (pattern, mailalias-done): Declare dynamic.
17133         (mail-completion-at-point-function): New function, from mail-complete.
17134         (mail-complete): Use it.
17135         (mail-completion-expand): New function.
17136         (mail-get-names): Use it.
17137         (mail-directory, mail-directory-process, mail-directory-stream):
17138         Don't use `pattern' for lexically bound arg.
17140         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17142         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17143         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17144         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17146         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17147         (byte-save-window-excursion, byte-temp-output-buffer-setup)
17148         (byte-interactive-p): Define them again, for use when inlining
17149         old code.
17151 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
17153         * loadup.el: Use `string-to-number', not `string-to-int'.
17155 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17157         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17158         gud-gdb-complete-command.
17159         (gud-gdb-completions): New function, from gud-gdb-complete-command.
17160         (gud-gdb-completion-at-point): New function.
17161         (gud-gdb-completions): Remove.
17163 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
17165         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17166         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
17167         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17168         whether `executable-find' is bound.
17170         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17172 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17174         * minibuffer.el (completion-in-region-mode-predicate)
17175         (completion-in-region-mode--predicate): New vars.
17176         (completion-in-region, completion-in-region--postch)
17177         (completion-in-region-mode): Use them.
17178         (completion--capf-wrapper): Also return the hook function.
17179         (completion-at-point, completion-help-at-point):
17180         Adjust and provide a predicate.
17182         Preserve arg names for advice of subr and lexical functions (bug#8457).
17183         * help-fns.el (help-function-arglist): Consolidate the subr and
17184         new-byte-code cases.  Add argument `preserve-names' to extract names
17185         from the docstring when needed.
17186         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17187         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17188         (ad-arglist): Use help-function-arglist's new arg.
17189         (ad-definition-type): Use cond.
17191 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
17193         * autorevert.el (auto-revert-handler):
17194         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17195         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17196         Don't quote lambda.
17198         * image-mode.el (image-transform-set-scale):
17199         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17201 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17203         * net/network-stream.el (network-stream-open-starttls): Only do
17204         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
17205         Upgrades via gnutls-cli are too slow to be done opportunistically.
17207 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
17209         * dframe.el (dframe-current-frame): Remove spurious quote.
17211 2011-04-12  Glenn Morris  <rgm@gnu.org>
17213         * calendar/cal-tex.el (cal-tex-end-document):
17214         Try to automatically use latin1 input if needed.
17216         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17217         Don't try to cons a mark onto an empty element.
17219 2011-04-11  Leo Liu  <sdl.web@gmail.com>
17221         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17222         buffers.
17223         (ido-kill-buffer-at-head): Support killing virtual buffers.
17225 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
17227         * minibuffer.el (completion-show-inline-help): New var.
17228         (completion--do-completion, minibuffer-complete)
17229         (minibuffer-force-complete, minibuffer-complete-word):
17230         Inhibit minibuffer messages if completion-show-inline-help is nil.
17232         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17233         to avoid interference from inline help (Bug#5849).
17235 2011-04-10  Leo Liu  <sdl.web@gmail.com>
17237         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17238         Fix typo.
17240 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
17242         * image-mode.el (image-toggle-display-image): Signal an error if
17243         not in Image mode.
17244         (image-transform-mode, image-transform-resize)
17245         (image-transform-set-rotation): Doc fix.
17246         (image-transform-set-resize): Delete.
17247         (image-transform-set-scale, image-transform-fit-to-height)
17248         (image-transform-fit-to-width): Handle image-toggle-display-image
17249         and image-transform-resize directly.
17251 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
17253         * doc-view.el (doc-view-fit-width-to-window)
17254         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17255         New functions for fitting the shown image to the Emacs window size.
17256         (doc-view-mode-map): Add bindings for the new functions.
17258 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
17260         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
17261         Fix typo in docstring.
17263 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
17265         * files.el (file-size-human-readable): Produce one digit after
17266         decimal, like "ls -lh" does.
17268         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17269         the file size representation.
17271         * simple.el (list-processes): If async subprocesses are not
17272         available, error out with a clear error message.
17274 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
17276         * help.el (help-form-show): New function, to be called from C.
17277         Put help-form output in a buffer named differently than *Help*.
17279 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
17281         * files.el (file-size-human-readable): New function.
17283         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17284         computing the representation inline.  Don't require `cl'.
17286 2011-04-08  Glenn Morris  <rgm@gnu.org>
17288         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17290         * net/browse-url.el (browse-url-firefox):
17291         Test system-type, not system-configuration.
17293         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17294         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17295         Use log-edit-empty-buffer-p.  (Bug#7598)
17297         * net/rlogin.el (rlogin-process-connection-type): Simplify.
17298         (rlogin-mode-map): Initialize in the defvar.
17299         (rlogin): Use ignore-errors.
17301         * replace.el (occur-mode-map): Some fixes for menu items.
17303 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17305         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
17307 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
17309         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17310         issuing unused warnings.
17312         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17313         macro directly.
17315         * simple.el: Lisp reimplement of list-processes.  Based on an
17316         earlier reimplementation by Leo Liu, but using tabulated-list.el.
17317         (process-menu-mode): New major mode.
17318         (list-processes--refresh, list-processes):
17319         (process-menu-visit-buffer): New functions.
17321         * files.el (save-buffers-kill-emacs): Don't assume any return
17322         value of list-processes, which is undocumented anyway.
17324 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
17326         * emacs-lisp/tabulated-list.el: New file.
17328         * emacs-lisp/package.el: Use Tabulated List mode.
17329         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17330         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
17331         table format using Tabulated List mode variables.
17332         (package--push): New macro, replacing package-list-maybe-add.
17333         (package-menu--generate): Use package--push.  Renamed from
17334         package--generate-package-list.
17335         (package-menu-refresh, list-packages): Use it.
17336         (package-menu--print-info): Rename from package-print-package.
17337         Return insertion data instead of inserting it directly.
17338         (package-menu-describe-package, package-menu-execute):
17339         Use tabulated-list-get-id.
17340         (package-menu-mark-delete, package-menu-mark-install)
17341         (package-menu-mark-unmark, package-menu-backup-unmark)
17342         (package-menu-mark-obsolete-for-deletion):
17343         Use tabulated-list-put-tag.
17344         (package--list-packages, package-menu-revert)
17345         (package-menu-get-package, package-menu-get-version)
17346         (package-menu-sort-by-column): Functions deleted.
17347         (package-menu-package-list, package-menu-sort-key): Vars deleted.
17348         (package-menu--status-predicate, package-menu--version-predicate)
17349         (package-menu--name-predicate)
17350         (package-menu--description-predicate): Handle arguments in the
17351         Tabulated List format.
17352         (package-list-packages-no-fetch): Call list-packages.
17354 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
17356         * files.el (after-find-file-from-revert-buffer): Remove variable.
17357         (after-find-file): Don't bind it.
17358         (revert-buffer-in-progress-p): New variable.
17359         (revert-buffer): Bind it.
17360         Pass nil for `after-find-file-from-revert-buffer'.
17362         * saveplace.el (save-place-find-file-hook): Use new variable
17363         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17365 2011-04-06  Glenn Morris  <rgm@gnu.org>
17367         * Makefile.in (AUTOGEN_VCS): New variable.
17368         (autoloads): Use $AUTOGEN_VCS.
17370         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17371         * calendar/calendar.el (calendar-mode-map):
17372         Check for toolkit scroll bars.  (Bug#8305)
17374 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
17376         * minibuffer.el (completion-in-region--postch)
17377         (completion-in-region-mode): Remove unnecessary messages.
17379 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
17381         * font-lock.el (font-lock-refresh-defaults):
17382         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17383         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17385         * info.el (Info-directory-list, Info-read-node-name-2)
17386         (Info-split-parameter-string): Doc fixes.
17387         (Info-virtual-nodes): Reflow docstring.
17388         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17389         (Info-apropos-toc-nodes, info-finder, Info-get-token)
17390         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17391         Fix typos in docstrings.
17392         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17393         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17394         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17395         (Info-restore-desktop-buffer): Mark unused parameters.
17396         (Info-directory-find-file, Info-directory-find-node)
17397         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17398         (Info-virtual-index-find-node, Info-apropos-find-file)
17399         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
17400         Mark unused parameters; fix typos in docstrings.
17401         (Info-virtual-index): Remove unused local variable `nodename'.
17403 2011-04-05  Deniz Dogan  <deniz@dogan.se>
17405         * net/rcirc.el: Update my e-mail address.
17406         (rcirc-mode-map): Remove M-o binding.
17408 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
17410         * startup.el (command-line): Save the cursor's theme-face
17411         directly, instead of using face-override-spec.
17413         * custom.el (load-theme): Minor optimization in assigning faces.
17415 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
17417         * help-fns.el (describe-variable): Complete all variables having
17418         documentation, including keywords.
17419         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17421 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
17423         Convert to lexical-binding.
17425         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17426         (bs--get-marked-string, bs--get-modified-string)
17427         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17428         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17429         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17431         * ehelp.el (electric-help-execute-extended)
17432         (electric-help-ctrl-x-prefix):
17433         * hexl.el (hexl-revert-buffer-function):
17434         * linum.el (linum-after-change, linum-after-scroll):
17435         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17437         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17439 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
17441         * epa-dired.el:
17442         * epa-mail.el:
17443         * epa-hook.el:
17444         * epa-file.el:
17445         * epa.el:
17446         * epg.el: Use lexical binding.
17448 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
17450         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17452         * textmodes/flyspell.el (flyspell-word): Recognize default
17453         dictionary case for flyspell-mark-duplications-exceptions.
17454         Use regexp matching for languages.
17455         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17456         default dictionary (Bug#7926).
17458 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
17460         * emacs-lisp/package.el (package--with-work-buffer):
17461         Recognize https URLs.
17463         * net/network-stream.el: Move from gnus/proto-stream.el.
17464         Change prefix to network-stream throughout.
17465         (open-protocol-stream): Merge into open-network-stream, leaving
17466         open-protocol-stream as an alias.  Handle nil BUFFER args.
17468         * subr.el (open-network-stream): Move to net/network-stream.el.
17470 2011-04-02  Glenn Morris  <rgm@gnu.org>
17472         * find-dired.el (find-exec-terminator): New option.
17473         (find-ls-option): Test for -ls support.
17474         (find-ls-subdir-switches): Test for -b in find-ls-option.
17475         (find-dired, find-grep-dired): Doc fixes.
17476         (find-dired): Use find-exec-terminator.
17478         * find-dired.el (find-ls-option, find-ls-subdir-switches)
17479         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17480         (find-name-arg): Remove purecopy.
17482         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17483         (grep-compute-defaults): Check for `-exec COMMAND +' support.
17484         Set grep-find-use-xargs, grep-find-command, and grep-find-template
17485         accordingly.  Don't add the null-device if not needed.
17487         * files.el (save-some-buffers): Doc fix.
17489 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
17491         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17493 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
17495         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17496         Use `dolist' rather than `mapcar'.
17498 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17500         Add lexical binding.
17502         * subr.el (apply-partially): Use new closures rather than CL.
17503         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17504         (dolist, dotimes): Use slightly different expansion for lexical code.
17505         (functionp): Move to C.
17506         (letrec): New macro.
17507         (with-wrapper-hook): Use it and apply-partially instead of CL.
17508         (eval-after-load): Preserve lexical-binding.
17509         (save-window-excursion, with-output-to-temp-buffer): Turn them
17510         into macros.
17512         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17514         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17515         than the arglist.
17516         (help-add-fundoc-usage): Don't add `Not documented'.
17517         (help-function-arglist): Handle closures, subroutines, and new
17518         byte-code-functions.
17519         (help-make-usage): Remove leading underscores.
17520         (describe-function-1): Handle closures.
17521         (describe-variable): Use special-variable-p for completion.
17523         * files.el (lexical-binding): Declare safe.
17525         * emacs-lisp/pcase.el: Don't use destructuring-bind.
17526         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
17527         (pcase): Add `let' pattern.
17528         Change memoization so it actually works.
17529         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17530         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17531         <let>: New case.
17533         * emacs-lisp/macroexp.el: Use lexical binding.
17534         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
17535         Don't convert ' to #' without checking that it's indeed quoting
17536         a lambda.
17538         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
17539         Use eval-sexp-add-defvars.
17540         (eval-sexp-add-defvars): New fun.
17542         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17544         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17545         Don't autoload.
17546         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17547         than the internal `byte-compile-lambda'.
17548         (defmethod): Don't hide code under quotes.
17549         (eieio-defmethod): New `code' argument.
17551         * emacs-lisp/eieio-comp.el: Remove.
17553         * emacs-lisp/edebug.el (edebug-eval-defun)
17554         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17555         (edebug-toggle): Avoid `eval'.
17557         * emacs-lisp/disass.el (disassemble-internal): Handle new
17558         `closure' objects.
17559         (disassemble-1): Handle new byte codes.
17561         * emacs-lisp/cl.el (pushnew): Silence warning.
17563         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17564         (cl-byte-compile-throw): Remove.
17565         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17567         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17568         closures.
17570         * emacs-lisp/cconv.el: New file.
17572         * emacs-lisp/bytecomp.el: Use lexical binding instead of
17573         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
17574         (byte-compile-initial-macro-environment):
17575         Handle declare-function here.
17576         (byte-compile--lexical-environment): New var.
17577         (byte-stack-ref, byte-stack-set, byte-discardN)
17578         (byte-discardN-preserve-tos): New lap codes.
17579         (byte-interactive-p): Don't use any more.
17580         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17581         New macros.
17582         (byte-compile-lapcode): Use them and handle new lap codes.
17583         (byte-compile-obsolete): Remove.
17584         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17585         (byte-compile-arglist-warn): Check late def of inlinable funs.
17586         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17587         since they should have been expanded by now.
17588         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17589         (byte-compile-from-buffer): Remove unused second arg.
17590         (byte-compile-preprocess): New function.
17591         (byte-compile-toplevel-file-form): New function to distinguish
17592         file-form calls from outside from file-form calls from hunk-handlers.
17593         (byte-compile-file-form): Simplify.
17594         (byte-compile-file-form-defsubst): Remove.
17595         (byte-compile-file-form-defmumble): Simplify now that
17596         byte-compile-lambda always returns a byte-code-function.
17597         (byte-compile): Preprocess.
17598         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17599         Remove, not used any more.
17600         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17601         (byte-compile-make-args-desc): New funs.
17602         (byte-compile-lambda): Handle lexical functions.  Always return
17603         a byte-code-function.
17604         (byte-compile-reserved-constants): New var, to make up room for
17605         closed-over variables.
17606         (byte-compile-constants-vector): Obey it.
17607         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17608         (byte-compile-macroexpand-declare-function): New function.
17609         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17610         byte-code-functions.
17611         (byte-compile-form): Check obsolescence here.
17612         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17613         (byte-compile-variable-ref): Remove.
17614         (byte-compile-dynamic-variable-op): New fun.
17615         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17616         (byte-compile-variable-set): New funs.
17617         (byte-compile-discard): Add 2 args.
17618         (byte-compile-stack-ref, byte-compile-stack-set)
17619         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17620         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17621         macroexpand-all instead.
17622         (byte-compile-quote-form): Remove.
17623         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17624         (byte-compile-bind, byte-compile-unbind): New funs.
17625         (byte-compile-let): Handle let* and lexical binding.
17626         (byte-compile-let*): Remove.
17627         (byte-compile-catch, byte-compile-unwind-protect)
17628         (byte-compile-track-mouse, byte-compile-condition-case):
17629         Handle a new :fun-body form, used for lexical scoping.
17630         (byte-compile-save-window-excursion)
17631         (byte-compile-with-output-to-temp-buffer): Remove.
17632         (byte-compile-defun): Simplify.
17633         (byte-compile-stack-adjustment): New fun.
17634         (byte-compile-out): Use it.
17635         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17637         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17638         handler any more.
17640         * emacs-lisp/byte-opt.el: Use lexical binding.
17641         (byte-inline-lapcode): Remove (to bytecomp).
17642         (byte-compile-inline-expand): Pay attention to inlining to/from
17643         lexically bound code.
17644         (byte-compile-unfold-lambda): Don't handle byte-code-functions
17645         any more.
17646         (byte-optimize-form-code-walker): Don't handle save-window-excursion
17647         any more and don't call compiler-macros.
17648         (byte-compile-splice-in-already-compiled-code): Remove.
17649         (byte-code): Don't inline any more.
17650         (disassemble-offset): Receive `bytes' as argument rather than via
17651         dynamic scoping.
17652         (byte-compile-tag-number): Declare before first use.
17653         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17654         `return' even if make-spliceable.
17655         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17656         obsolete interactive-p.
17657         (byte-optimize-lapcode): Optimize new lap-codes.
17658         Don't trip up on new form of `byte-constant' lap code.
17660         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17662         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17664         * custom.el (custom-initialize-default, custom-declare-variable):
17665         Use `defvar'.
17667         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17668         New variables.
17669         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17670         (COMPILE_FIRST): Add macroexp and cconv.
17671         * makefile.w32-in: Mirror changes in Makefile.in.
17673         * vc/cvs-status.el:
17674         * vc/diff-mode.el:
17675         * vc/log-edit.el:
17676         * vc/log-view.el:
17677         * vc/smerge-mode.el:
17678         * textmodes/bibtex-style.el:
17679         * textmodes/css-mode.el:
17680         * startup.el:
17681         * uniquify.el:
17682         * minibuffer.el:
17683         * newcomment.el:
17684         * reveal.el:
17685         * server.el:
17686         * mpc.el:
17687         * emacs-lisp/smie.el:
17688         * doc-view.el:
17689         * dired.el:
17690         * abbrev.el: Use lexical binding.
17692 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
17694         * info.el (info-display-manual): New function.
17696 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17698         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17700 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
17702         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
17703         an entry for that server in rcirc-authinfo.  (Bug#8385)
17705 2011-03-31  Glenn Morris  <rgm@gnu.org>
17707         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17709         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17711 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
17713         * progmodes/python.el (python-default-interpreter)
17714         (python-python-command-args, python-jython-command-args)
17715         (python-which-shell, python-which-args, python-which-bufname)
17716         (python-file-queue, python-comint-output-filter-function)
17717         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17718         variables and functions.
17720 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17722         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17723         (completion-in-region-mode): New minor mode.
17724         (completion-in-region): Use it.
17725         (completion-in-region--data, completion-in-region-mode-map): New vars.
17726         (completion-in-region--postch): New function.
17727         (completion--capf-misbehave-funs, completion--capf-safe-funs):
17728         New vars.
17729         (completion--capf-wrapper): New function.
17730         (completion-at-point): Use it to track well-behavedness of
17731         hook functions.
17732         (completion-help-at-point): New command.
17734 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
17736         * vc/add-log.el (add-change-log-entry): Don't use whitespace
17737         syntax class to search for whitespace on a single line
17738         (Message-ID: <4D938140.4030905@redhat.com>).
17740 2011-03-30  Leo Liu  <sdl.web@gmail.com>
17742         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17743         New commands.
17744         (edit-abbrevs-map): Bind them here.
17745         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
17747 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
17749         * allout.el (allout-hide-by-annotation, allout-flag-region):
17750         Reduce possibility of overlay leakage by making them volatile.
17752         * allout-widgets.el (allout-widgets-tally): Define as nil so the
17753         hash is not shared between buffers.  Mode initialization is
17754         responsible for giving it a useful starting value.
17755         (allout-item-span): Reduce possibility of overlay leakage by
17756         making them volatile.
17757         (allout-widgets-count-buttons-in-region): Add diagnostic function
17758         for tracking down button overlay leaks.
17760 2011-03-29  Leo Liu  <sdl.web@gmail.com>
17762         * ido.el (ido-read-internal): Use the default history var
17763         minibuffer-history if no HISTORY is specified.
17765 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
17767         * net/imap.el (imap-shell-open, imap-process-connection-type):
17768         Use imap-process-connection-type for 'shell' streams as well as
17769         Kerberos, SSL, other subprocesses.
17771 2011-03-28  Leo Liu  <sdl.web@gmail.com>
17773         * abbrev.el (abbrev-table-empty-p): New function.
17774         (prepare-abbrev-list-buffer): Place empty abbrev tables after
17775         nonempty ones.  (Bug#5937)
17777 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
17779         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17781 2011-03-27  Leo Liu  <sdl.web@gmail.com>
17783         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17784         for foreground and background colors.
17785         (ansi-color-make-color-map): Adapt.
17787 2011-03-25  Leo Liu  <sdl.web@gmail.com>
17789         * midnight.el (midnight-time-float): Remove.  Note it calculates
17790         the microsecond component incorrectly and seconds-to-time does the
17791         same job.
17792         Remove redundant (require 'timer).
17794         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17795         (ido-completions): Remove unused arguments.  (Bug#8329)
17797 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17799         * minibuffer.el (completion--flush-all-sorted-completions):
17800         Remove itself from hook.
17801         (completion-at-point): Let the functions perform the completion
17802         immediately and return nil or t.
17803         * comint.el (comint-dynamic-complete-functions): Now identical to
17804         completion-at-point-functions.
17805         (comint-dynamic-list-input-ring): Remove unused var `index'.
17806         (comint--match-partial-filename, comint--unquote&expand-filename):
17807         New funs, split from comint-match-partial-filename.
17808         (comint-dynamic-complete): Use completion-at-point.
17809         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17811 2011-03-24  Drew Adams  <drew.adams@oracle.com>
17813         * thingatpt.el: Support `defun'.
17815 2011-03-23  Leo Liu  <sdl.web@gmail.com>
17817         * abbrevlist.el: Move to obsolete/abbrevlist.el.
17819         * help-mode.el (help-mode-finish): Tweak regexp.
17821 2011-03-23  Glenn Morris  <rgm@gnu.org>
17823         * eshell/esh-opt.el (eshell-eval-using-options):
17824         Do not bind unused local variable `eshell-option-stub'.
17826         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17828 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
17830         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17831         keymap variable in `with-no-warnings' to avoid a warning when the
17832         keymap has been already `defconst'ed.
17834 2011-03-22  Leo Liu  <sdl.web@gmail.com>
17836         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17837         encode all chars in abbrevs; otherwise use emacs-mule or
17838         utf-8-emacs.  (Bug#8308)
17840 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
17842         * simple.el (backward-delete-char-untabify):
17843         Avoid warning about using `delete-backward-char'.
17845         * image.el (image-type-file-name-regexps): Make it variable.
17846         `imagemagick-register-types' modifies it, and the user may want
17847         to add new extensions for known image types.
17848         (imagemagick-register-types): Throw error if not using ImageMagick.
17850 2011-03-22  Leo Liu  <sdl.web@gmail.com>
17852         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17853         located before rcirc-prompt-end-marker.
17854         (rcirc-complete): Error if point is not after rcirc prompt.
17855         Handle the case when table is nil.
17856         (rcirc-user-authenticated): Define to fix compiler warning.
17858 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
17860         * custom.el (custom--inhibit-theme-enable): Make it affect only
17861         custom-theme-set-variables and custom-theme-set-faces.
17862         (provide-theme): Ignore custom--inhibit-theme-enable.
17863         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17864         (custom-enabling-themes): Delete variable.
17865         (enable-theme): Accept only loaded themes as arguments.
17866         Ignore the special custom-enabled-themes variable.
17867         (custom-enabled-themes): Forbid themes from setting this.
17868         Eliminate use of custom-enabling-themes.
17869         (custom-push-theme): Quote "changed" custom var entry.
17871 2011-03-21  Leo Liu  <sdl.web@gmail.com>
17873         * ido.el (ido-read-internal): Add ido-selected to history instead
17874         of user input.
17876 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17878         * subr.el (deferred-action-list, deferred-action-function):
17879         Mark obsolete.
17881 2011-03-21  Leo Liu  <sdl.web@gmail.com>
17883         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17884         change on 2011-02-13 (bug#8309).
17886         * minibuffer.el (read-file-name-function): Change default value.
17887         (read-file-name--defaults): Rename from read-file-name-defaults.
17888         (read-file-name-default): Rename from read-file-name.
17889         (read-file-name): Call read-file-name-function.
17891 2011-03-21  Glenn Morris  <rgm@gnu.org>
17893         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17894         Doc fixes.
17896 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
17898         * cus-theme.el: Add missing provide statement.
17899         (customize-create-theme): Extract theme value correctly.
17900         (custom-theme-visit-theme): Autoload.
17901         (customize-create-theme): Prompt before inserting default faces.
17903 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
17905         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17906         units and musical notes.
17908 2011-03-20  Leo Liu  <sdl.web@gmail.com>
17910         * ido.el (ido-read-internal): Use completing-read-default.
17911         (ido-completing-read): Fix compatibility with completing-read.
17913 2011-03-20  Christian Ohler  <ohler@gnu.org>
17915         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17916         (ert-delete-all-tests): Use `called-interactively-p' rather than
17917         `interactive-p'.
17918         (ert--make-xrefs-region): Respect END.
17920 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
17922         * dired-aux.el (dired-create-directory): Signal an error if the
17923         directory already exists (Bug#8246).
17925         * facemenu.el (list-colors-display): Call list-faces-display
17926         inside with-help-window.
17927         (list-colors-print): Use display property to align the final
17928         column, instead of checking window-width.
17930 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
17932         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
17933         windows-nt systems.
17934         (emerge-protect-metachars): Quote correctly for ms-dos and
17935         windows-nt systems.
17937 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
17939         * info.el (info-initialize): Replace all uses of `:' with
17940         path-separator for compatibility with non-Unix systems.
17941         Cache quoting of path-separator.  (Bug#8258)
17943 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
17945         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17946         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17947         (mouse-avoidance-mode): Fix typos in docstrings.
17949 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
17951         * startup.el (package-subdirectory-regexp): Move from package.el.
17952         Omit \\` and \\', and let callers add them.
17954         * emacs-lisp/package.el (package-strip-version)
17955         (package-load-all-descriptors): Add \\` and \\' to
17956         package-subdirectory-regexp before using it.
17957         (package-untar-buffer): New arg DIR; ensure that file untars only
17958         into this expected directory.  Remove superfluous delete-region.
17959         (package-unpack): Caller changed.
17960         (package-tar-file-info): Use package-subdirectory-regexp.
17962 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17964         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17965         diff-mode-shared-map (bug#8284).
17966         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
17968 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17970         * calendar/time-date.el (format-seconds): Use assoc instead of
17971         assoc-string, since assoc-string doesn't exist in XEmacs.
17973 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
17975         * custom.el (custom-known-themes): Reflow docstring.
17976         (custom-theme-load-path): Fix typo in docstring.
17977         (load-theme): Fix typo in error message.
17978         (custom-available-themes, custom-variable-theme-value):
17979         Use `let', not `let*'.
17981 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
17983         * calc/README: Mention inclusion of musical notes.
17985         * calc/calc-units.el (calc-lu-quant): Rename from
17986         `calc-logunits-quantity'.
17987         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17988         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17989         (calc-db): Rename from `calc-dblevel'.
17990         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17991         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17992         (calc-np): Rename from `calc-nplevel'.
17993         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17994         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17995         (calc-lu-plus): Rename from `calc-logunits-add'.
17996         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17997         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17998         (calc-lu-minus): Rename from `calc-logunits-sub'.
17999         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18000         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18001         (calc-lu-times): Rename from `calc-logunits-mul'.
18002         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18003         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18004         (calc-lu-divide): Rename from `calc-logunits-div'.
18005         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18006         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18008         * calc/calc-ext.el (calc-init-extensions): Update the names of the
18009         functions being autoloaded.
18011         * calc/calc.el (calc-lu-power-reference): Rename from
18012         `calc-logunits-power-reference'.
18013         (calc-lu-field-reference): Rename from
18014         `calc-logunits-field-reference'.
18016         * calc/calc-help.el (calc-l-prefix-help):
18017         Mention musical note functions.
18019 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18021         * minibuffer.el (completion-all-sorted-completions):
18022         Use :completion-cycle-penalty text property if present.
18024 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
18026         * allout.el (allout-yank-processing): Adjust for new rebulleting
18027         regime so bullet being yanked is used without prompting the user
18028         for a choice.
18030 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
18032         * startup.el (command-line): Warn the user that _emacs is deprecated.
18034 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
18036         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18037         (delphi-verbose, delphi-comment-face, delphi-string-face)
18038         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18039         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18040         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18041         (delphi-new-comment-line, delphi-font-lock-defaults)
18042         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18043         Fix typos in docstrings.
18045 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
18047         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
18048         Invert the roles of character and string values for INSTEAD, so a
18049         string is used for the more common case of a defaulting prompt.
18051 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18053         * progmodes/ruby-mode.el (ruby-backward-sexp):
18054         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18055         * play/gamegrid.el (gamegrid-make-face):
18056         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18057         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18058         * notifications.el (notifications-notify):
18059         * net/xesam.el (xesam-search-engines):
18060         * net/quickurl.el (quickurl-list-insert):
18061         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18063 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
18065         * startup.el (command-line): Update package subdirectory regexp.
18067 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18069         * allout.el (allout-abbreviate-flattened-numbering)
18070         (allout-mode-deactivate-hook): Fix up obsolescence "date".
18072         * subr.el (read-char-choice): Only show the cursor after the prompt,
18073         not after the answer.
18075 2011-03-15  Kevin Ryde  <user42@zip.com.au>
18077         * help-fns.el (variable-at-point): Skip leading quotes, if any
18078         (bug#8253).
18080 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18082         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18083         warning message.
18085 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
18087         * shell.el (shell): When called interactively, offer to change the
18088         shell file name on remote hosts.
18090 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
18092         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18093         integration for LDAP parameters.  The host, base, user or binddn,
18094         and secret tokens can be specified in a netrc file, for instance.
18095         This is optional because an `auth-source' parameter must be
18096         specified in the search attributes.
18098 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
18100         * help.el (describe-mode): Link to the mode's definition (bug#8185).
18102 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18104         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18105         into declaration.  Remove redundant and harmful binding.
18107 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
18109         * files.el (file-ownership-preserved-p): Pass `integer' as an
18110         explicit 2nd argument to `file-attributes'.  If the file's owner
18111         is the Administrators group on Windows, and the current user is
18112         Administrator, consider that a match.
18114         * server.el (server-ensure-safe-dir): Consider server directory
18115         safe on MS-Windows if its owner is the Administrators group while
18116         the current Emacs user is Administrator.  Use `=' to compare
18117         numerical UIDs, since they could be integers or floats.
18119 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
18121         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18123 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
18125         Sync with Tramp 2.2.1.
18127         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18129         * net/trampver.el: Update release number.
18131 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18133         * progmodes/compile.el (compilation--previous-directory): Fix up
18134         various nil/dead-marker mismatches (bug#8014).
18135         (compilation-directory-properties, compilation-error-properties):
18136         Don't call it at a position past the one we're about to change.
18138         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18139         Disable obsolescence warnings in the file that declares it.
18141 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
18143         * allout-widgets.el (allout-widgets-tally):
18144         Initialize allout-widgets-tally as a hash table rather than nil to
18145         prevent mode-line redisplay warnings.  Also, clarify the module
18146         description and fix a comment typo.
18148 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
18150         * help-fns.el (describe-variable): Don't complete keywords.
18151         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18153 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
18155         * emacs-lisp/package.el (package-version-join): Impose a standard
18156         string representation for pre/alpha/beta version lists.
18157         (package-unpack-single): Standardize the directory name by passing
18158         it through package-version-join.
18159         (package-strip-rcs-id): Accept any version string that does not
18160         signal an error in version-to-list.
18162 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
18164         * simple.el (delete-trailing-whitespace): Return nil for the
18165         benefit of `write-file-functions'.
18167 2011-03-10  Glenn Morris  <rgm@gnu.org>
18169         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18171         * vc/vc-git.el (vc-git-program): New option.
18172         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18173         (vc-git--call): Use it.
18175         * eshell/esh-util.el (eshell-condition-case): Doc fix.
18177         * cus-edit.el (Custom-newline): If no button at point, look
18178         for a subgroup button at start-of-line.  (Bug#2298)
18180         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18182 2011-03-10  Julien Danjou  <julien@danjou.info>
18184         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18185         `cursor-type' is nil.
18187 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
18189         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18191 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
18193         * allout.el: Change so yank of distinctive-bullet items
18194         preserves the existing header prefix, rebulleting it if necessary,
18195         rather than replacing it.  This is necessary for proper operation
18196         of cooperative addons like allout-widgets.
18197         (allout-make-topic-prefix, allout-rebullet-heading):
18198         Change SOLICIT arg to INSTEAD, and interpret additionally a string
18199         value as alternate bullet to be used, instead of prompting the user
18200         for a bullet character.
18202 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
18204         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18205         Do not use `tramp-file-name-port', because this returns also
18206         `tramp-default-port'.
18208 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
18210         * net/rcirc.el (rcirc-handler-001): Remove useless
18211         with-rcirc-process-buffer.
18212         (rcirc-check-auth-status): Swap arguments to string-match.
18214 2011-03-09  Glenn Morris  <rgm@gnu.org>
18216         * shell.el (shell-mode):
18217         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
18219         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18220         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
18222 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
18224         * emacs-lisp/package.el (package-refresh-contents)
18225         (package-menu-execute): Use condition-case-no-debug.
18227 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
18229         * simple.el (shell-command-to-string): Use `process-file'.
18231         * emacs-lisp/package.el (package-tar-file-info): Handle also
18232         remote files.
18234         * emacs-lisp/package-x.el (package-upload-buffer-internal):
18235         Use `equal' for upload base check.
18237 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
18239         * textmodes/texinfo.el (texinfo-environments):
18240         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
18242 2011-03-08  Glenn Morris  <rgm@gnu.org>
18244         * cus-start.el (cursor-in-non-selected-windows):
18245         Fix :set quoting oddness.  (Bug#8192)
18247         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18248         in some setf expressions.  (Bug#2159)
18250 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
18252         * custom.el (custom-available-themes): Return themes in
18253         alphabetical order.
18255 See ChangeLog.15 for earlier changes.
18257 ;; Local Variables:
18258 ;; coding: utf-8
18259 ;; End:
18261   Copyright (C) 2011-2012  Free Software Foundation, Inc.
18263   This file is part of GNU Emacs.
18265   GNU Emacs is free software: you can redistribute it and/or modify
18266   it under the terms of the GNU General Public License as published by
18267   the Free Software Foundation, either version 3 of the License, or
18268   (at your option) any later version.
18270   GNU Emacs is distributed in the hope that it will be useful,
18271   but WITHOUT ANY WARRANTY; without even the implied warranty of
18272   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18273   GNU General Public License for more details.
18275   You should have received a copy of the GNU General Public License
18276   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.