Minor fixes for the function obsolescence feature.
[emacs.git] / lisp / ChangeLog
blob090a8bef4e97a6173b0a93b1542b63bdd83a779e
1 2012-09-25  Chong Yidong  <cyd@gnu.org>
3         * subr.el (declare): Doc fix.
5         * help-fns.el (help-fns--obsolete): Handle macros properly.
7 2012-09-25  Chong Yidong  <cyd@gnu.org>
9         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
10         this function obsolete.
12         * calendar/cal-x.el (calendar-two-frame-setup)
13         (calendar-only-one-frame-setup, calendar-one-frame-setup):
14         * calendar/calendar.el (american-calendar, european-calendar)
15         (calendar-for-loop):
16         * comint.el (comint-dynamic-simple-complete)
17         (comint-dynamic-complete-as-filename, comint-unquote-filename):
18         * desktop.el (desktop-load-default):
19         * dired-x.el (dired-omit-here-always)
20         (dired-hack-local-variables, dired-default-directory):
21         * emacs-lisp/derived.el (derived-mode-class):
22         * emacs-lisp/timer.el (timer-set-time-with-usecs):
23         * emacs-lock.el (toggle-emacs-lock):
24         * epa.el (epa-display-verify-result):
25         * epg.el (epg-sign-keys, epg-start-sign-keys)
26         (epg-passphrase-callback-function):
27         * eshell/esh-util.el (eshell-for):
28         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
29         (eshell-add-to-window-buffer-names):
30         * files.el (locate-file-completion):
31         * imenu.el (imenu-example--create-c-index)
32         (imenu-example--create-lisp-index)
33         (imenu-example--lisp-extract-index-name)
34         (imenu-example--name-and-position):
35         * international/mule-cmds.el (princ-list):
36         * international/mule-diag.el (decode-codepage-char):
37         * international/mule-util.el (detect-coding-with-priority):
38         * iswitchb.el (iswitchb-read-buffer):
39         * mail/mailalias.el (mail-complete):
40         * mail/sendmail.el (mail-sent-via):
41         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
42         (mouse-major-mode-menu):
43         * password-cache.el (password-read-and-add):
44         * pcomplete.el (pcomplete-parse-comint-arguments):
45         * progmodes/sh-script.el (sh-maybe-here-document):
46         * replace.el (query-replace-regexp-eval):
47         * savehist.el (savehist-load):
48         * simple.el (choose-completion-delete-max-match):
49         * term.el (term-dynamic-simple-complete):
50         * vc/ediff-init.el (ediff-check-version):
51         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
52         * vc/vc.el (vc-diff-switches-list):
53         * view.el (view-return-to-alist-update): Likewise.
55         * subr.el (eval-next-after-load, makehash, insert-string)
56         (assoc-ignore-representation, assoc-ignore-case): Use declare to
57         mark obsolete.
58         (mode-line-inverse-video): Variable deleted.
60         * international/mule-util.el (string-to-sequence): Remove.
62         * calendar/calendar.el (calendar-version):
63         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
64         (icalendar-convert-diary-to-ical):
65         * cus-edit.el (custom-mode):
66         * ansi-color.el (ansi-color-unfontify-region):
67         * international/latin1-disp.el (latin1-char-displayable-p):
68         * progmodes/cwarn.el (turn-on-cwarn-mode):
69         * progmodes/which-func.el (which-func-update-1): Use
70         define-obsolete-function-alias.
72         * net/newst-backend.el (newsticker-cache-filename):
73         * net/newst-treeview.el (newsticker-groups-filename): Fix
74         incorrect obsolescence declaration.
76         * allout.el (allout-passphrase-hint-string): Likewise.
77         (allout-init): Use a declare form to mark obsolete.
79         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
80         this applies to functions.
82         * iswitchb.el (iswitchb-read-buffer): Move code of
83         iswitchb-define-mode-map here, and delete that obsolete function.
85         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
86         font-lock-reference-face.
88 2012-09-25  Glenn Morris  <rgm@gnu.org>
90         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
91         Doc fixes.
93         * eshell/em-term.el (eshell-term-name):
94         Default to term-term-name.  (Bug#12485)
96 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
98         * progmodes/python.el (python-shell-send-buffer): Better handling
99         of "if __name__ == '__main__':" conditionals when sending the buffer.
101 2012-09-24  Glenn Morris  <rgm@gnu.org>
103         * eshell/esh-cmd.el (eshell-find-alias-function):
104         Tighten up file-name regexp.  (Bug#12499)
106 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
108         Enhancements for triple-quote string syntax.
109         * progmodes/python.el (python-quote-syntax): Remove.
110         (python-syntax-propertize-function): New value.
111         (python-syntax-count-quotes, python-syntax-stringify): New
112         functions.
114 2012-09-24  Chong Yidong  <cyd@gnu.org>
116         * mail/supercite.el (sc-version): Remove obsolete function.
117         (sc-describe): Don't mark as obsolete, since it is bound.
118         (sc-submit-bug-report): Remove.
120         * vc/log-edit.el (cvs-changelog-full-paragraphs)
121         (cvs-commit-buffer-require-final-newline): Remove.
122         (log-edit-require-final-newline)
123         (log-edit-changelog-full-paragraphs): Default to t.
125         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
126         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
127         * vc/vc.el (vc-checkout-carefully): Likewise.
129         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
130         (emerge-version): Remove.
132         * progmodes/compile.el (compile-internal): Remove.
133         (compilation-parse-errors-function): Fix typo.
135         * international/mule.el (set-char-table-default): Remove.
136         (set-coding-priority, make-coding-system, generic-char-p)
137         (charset-list, charset-bytes, charset-id): Use declare to mark
138         functions as obsolete.
140         * vc/pcvs-defs.el (cvs-buffer-name-alist)
141         (cvs-invert-ignore-marks): Remove references to obsolete vars.
142         * vc/vc-hooks.el (vc-default-registered): Don't use
143         vc-master-templates.
145         * font-lock.el (font-lock-reference-face): Use
146         define-obsolete-variable-alias.
148         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
149         * calendar/calendar.el (calendar-font-lock-keywords):
150         * calendar/diary-lib.el (diary-font-lock-keywords)
151         (diary-fancy-font-lock-keywords):
152         * textmodes/reftex-sel.el (reftex-insert-docstruct):
153         * textmodes/reftex-index.el (reftex-insert-index):
154         * textmodes/reftex-cite.el (reftex-format-bib-entry):
155         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
156         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
157         * progmodes/prolog.el (prolog-font-lock-keywords):
158         * progmodes/idlwave.el (idlwave-idl-keywords):
159         * progmodes/ada-mode.el (ada-font-lock-keywords):
160         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
162 2012-09-24  Glenn Morris  <rgm@gnu.org>
164         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
166 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
168         * progmodes/python.el (python-indent-line): More consistent cursor
169         movement behavior.
171 2012-09-23  Stefan Merten  <smerten@oekonux.de>
173         * textmodes/rst.el: Fix compiler warning.
175 2012-09-23  Roland Winkler  <winkler@gnu.org>
177         * textmodes/bibtex.el (bibtex-autokey-transcriptions): Transcribe
178         also LaTeX hyphenation.
179         (bibtex-reformat): Bug fix. Do not quote twice the elements of
180         bibtex-reformat-previous-options.
182 2012-09-23  Roland Winkler  <winkler@gnu.org>
184         * proced.el (proced-renice-command): New variable.
185         (proced-marked-processes): New function.
186         (proced-with-processes-buffer): New macro.
187         (proced-send-signal): Use them.
188         (proced-renice): New command bound to r.
190 2012-09-23  Roland Winkler  <winkler@gnu.org>
192         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
193         ibuffer-saved-filter-groups has one element, shortcut the call of
194         completing-read.  (Bug#12331)
196 2012-09-23  Chong Yidong  <cyd@gnu.org>
198         * bindings.el (mode-line-toggle-read-only):
199         * bs.el (bs-toggle-readonly):
200         * buff-menu.el (Buffer-menu-toggle-read-only):
201         * dired.el (dired-toggle-read-only):
202         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
204 2012-09-23  Chong Yidong  <cyd@gnu.org>
206         * image.el (image-type-available-p): Adapt to init-image-library
207         argument changes.
209 2012-09-22  Juri Linkov  <juri@jurta.org>
211         * dired.el (dired-mode-map): Add [remap read-only-mode] for
212         `dired-toggle-read-only'.  (Bug#12462)
214 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
216         * subr.el (temp-output-buffer-show): New function.
217         (with-output-to-temp-buffer): Call temp-output-buffer-show
218         instead of internal-temp-output-buffer-show.
220 2012-09-22  Chong Yidong  <cyd@gnu.org>
222         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
223         (Bug#12462).
225         * repeat.el (repeat): Doc fix (Bug#12348).
227         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
228         (Bug#10909).
230         * simple.el (shell-command-on-region): Doc fix.
231         (read-only-mode): Doc fix.
233 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
235         * emacs-lisp/timer.el (run-with-idle-timer)
236         (timer-activate-when-idle): Warn against reinvoking an idle timer
237         from within its own timer action.  (Bug#12447)
239 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
241         * cus-start.el (window-combination-limit): Add new optional
242         values.
243         * window.el (temp-buffer-window-show)
244         (window--try-to-split-window): Handle new values of
245         window-combination-limit (Bug#1806).
246         (split-window): Test window-combination-limit for t instead of
247         non-nil.
248         (display-buffer-at-bottom): New buffer display action function.
249         * help.el (temp-buffer-resize-regexps): New option.
250         (temp-buffer-resize-mode): Rewrite doc-string.
251         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
252         Don't resize reused window.  Suggested by Glenn Morris.
254 2012-09-22  Stefan Merten  <smerten@oekonux.de>
256         * textmodes/rst.el: Revamp section title faces.
257         (rst-official-version)
258         (rst-package-emacs-version-alist): Sync with official version
259         V1.4.0.
260         (rst-faces-defaults, rst-set-level-default)
261         (rst-level-face-max, rst-level-face-base-color)
262         (rst-level-face-base-light, rst-level-face-format-light)
263         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
264         (rst-adornment-faces-alist): Match new setup.
265         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
266         (rst-level-5, rst-level-6): New faces.
268 2012-09-22  Chong Yidong  <cyd@gnu.org>
270         * simple.el (undo): Handle indirect buffers (Bug#8207).
272 2012-09-21  Leo Liu  <sdl.web@gmail.com>
274         IDO: Disable match re-ordering for buffer switching.
275         * ido.el (ido-buffer-disable-smart-matches): New variable.
276         (ido-set-matches-1): Use it.  (Bug#2042)
278 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
280         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
281         Fix 2011-05-17 change.  (Bug#12418)
283 2012-09-21  Leo Liu  <sdl.web@gmail.com>
285         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
287 2012-09-21  Glenn Morris  <rgm@gnu.org>
289         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
290         Be more robust about locating simple.el.
292 2012-09-21  Glenn Morris  <rgm@gnu.org>
294         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
296 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
298         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
300 2012-09-20  Juri Linkov  <juri@jurta.org>
302         * replace.el (query-replace-read-from): Use `read-regexp' instead
303         of `read-from-minibuffer' when `regexp-flag' is non-nil.
304         (occur-read-primary-args): Use `read-regexp' instead of
305         `read-string'.
306         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
307         `read-from-minibuffer'.
308         * isearch.el (isearch-occur): Use `read-regexp' instead of
309         `read-string'.
310         * dired.el (dired-read-regexp): Use `read-regexp' instead of
311         `read-from-minibuffer'.
312         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
313         of `read-string'.  (Bug#7567)
315         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
316         and allow accepting a list of strings prepended to a list of
317         standard default values.  Doc fix.  (Bug#12321)
319         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
321         * replace.el (read-regexp): Don't add ": " when PROMPT already
322         ends with a colon and space.  (Bug#12321)
324 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
326         * doc-view.el (doc-view-display): Better fix for the cl-assertion
327         error.
329 2012-09-20  Stefan Merten  <smerten@oekonux.de>
331         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
332         Fixes feature request bug#11711.
333         (rst-mode): Create `imenu-create-index-function'.
334         (rst-get-stripped-line): Delete after refactoring.
335         (rst-section-tree, rst-section-tree-rec)
336         (rst-section-tree-point): Refactor and document properly.
337         (rst-imenu-find-adornments-for-position)
338         (rst-imenu-convert-cell, rst-imenu-create-index): New
339         function.
341 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
343         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
344         (macroexp--expand-all): Use it.
345         (macroexp--funcall-and-return): Remove by folding it into its sole
346         caller (macroexp--warn-and-return).
347         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
348         Use macroexp--obsolete-warning.
350         * calc/calc.el: Fix last change by removing the whole chunk, since it
351         was only needed back when Calc was not bundled.
353 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
355         * emacs-lisp/debug.el (debug): Restore assignment to
356         debugger-old-buffer removed on 2012-09-08.
358 2012-09-20  Juri Linkov  <juri@jurta.org>
360         * dired-aux.el (dired-diff): Remove (require 'diff) since
361         `diff-latest-backup-file' is now autoloaded.
363 2012-09-20  Chong Yidong  <cyd@gnu.org>
365         * vc/diff.el (diff-latest-backup-file): Autoload.
367 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
369         * calc/calc.el: Remove redundant autoload shape check.
370         (sel-mode): Don't defvar.
371         (calc-get-stack-element): Add `sel-mode' arg instead.
372         (calc-top, calc-top-list): Pass it this additional argument.
373         * calc/calc-store.el (calc-store-map):
374         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
375         (calc-map-equation, calc-outer-product, calc-inner-product):
376         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
378         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
380 2012-09-19  Juri Linkov  <juri@jurta.org>
382         * dired-aux.el (dired-diff): Add (require 'diff) because
383         `diff-latest-backup-file' is not autoloaded.
384         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
385         of `dired-get-filename' to t to not report error when there is
386         no default file on the current line.
388 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
390         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
391         macroexp--eval-if-compile.
392         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
393         (macroexp--expand-all): Use them (bug#12371).
395         * doc-view.el (doc-view-guess-paper-size)
396         (doc-view-scale-bounding-box): Fix unbound `caddr'.
398 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
400         New feature: set optimal slice from BoundingBox information.
401         * doc-view.el (doc-view-mode-map): Add keybinding.
402         (doc-view-menu): Add menu entry.
403         (doc-view-set-slice): Adapt docstring.
404         (doc-view-get-bounding-box, doc-view-guess-paper-size)
405         (doc-view-scale-bounding-box)
406         (doc-view-set-slice-from-bounding-box): New functions.
407         (doc-view-paper-sizes): New defvar.
409 2012-09-19  Glenn Morris  <rgm@gnu.org>
411         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
412         (byte-compile-log-warning): Autoload.  (Bug#12371)
414         * calendar/calendar.el (calendar-american-month-header)
415         (calendar-european-month-header, calendar-iso-month-header)
416         (calendar-month-header): New options.
417         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
418         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
420 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
422         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
424 2012-09-18  Juri Linkov  <juri@jurta.org>
426         * dired-aux.el (dired-diff): Restore original functionality of
427         getting the default value, but keep new feature of using the
428         latest existing backup file (`diff-latest-backup-file').
430 2012-09-18  Juri Linkov  <juri@jurta.org>
432         * dired.el (dired-mark): If the region is active in Transient Mark
433         mode, mark all files in the active region.  Doc fix.
434         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
435         Doc fix.  (Bug#10624)
437 2012-09-18  Juri Linkov  <juri@jurta.org>
439         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
440         attributes for M-n are pulled from the file at point.
441         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
442         Suggested by Drew Adams.  (Bug#10624)
444 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
446         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
447         whitespace after "end".
448         (ruby-do-end-to-brace): Collapse block to one line if it fits
449         within fill-column.
451 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
453         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
454         value.
455         (debug): Don't remove debugger window when debugger is expected
456         to be back.
458 2012-09-18  Chong Yidong  <cyd@gnu.org>
460         * custom.el (defface): Doc fix.
462         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
464 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
466         * progmodes/compile.el (compilation-start): Use compilation-always-kill
467         to initialize query-on-exit; then test that instead (bug#12288).
469 2012-09-17  Stefan Merten  <smerten@oekonux.de>
471         * textmodes/rst.el: Add support for `testcover'.
472         (rst-defcustom-testcover, rst-testcover-add-compose)
473         (rst-testcover-add-1value): New functions.
474         (rst-portable-mark-active-p): Replace by `use-region-p'.
475         (rst-update-section, rst-classify-adornment)
476         (rst-find-title-line): Mark `1value' forms.
477         (rst-classify-adornment): Remove superfluous form.
478         (rst-update-section, rst-get-adornments-around)
479         (rst-adornment-complete-p, rst-get-next-adornment)
480         (rst-adjust, rst-promote-region)
481         (rst-display-adornments-hierarchy, rst-straighten-adornments)
482         (rst-find-pfx-in-region, rst-section-tree-rec)
483         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
484         (rst-toc-node, rst-toc, rst-forward-section)
485         (rst-iterate-leftmost-paragraphs)
486         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
487         (rst-bullet-list-region)
488         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
489         (rst-compile-find-conf, rst-compile)
490         (rst-repeat-last-character): Fix style.
492 2012-09-17  Chong Yidong  <cyd@gnu.org>
494         * comint.el (comint--complete-file-name-data): Don't add a space
495         if the status is `sole'; that adds a gratuitous space in the
496         completion-cycling case (Bug#12092).
498         * pcomplete.el (pcomplete-completions-at-point): Likewise.
500 2012-09-17  Richard Stallman  <rms@gnu.org>
502         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
503         only in the mime-shown mode, not in raw mode.
504         (rmail-mime): Toggle off mime by displaying the message without
505         mime processing.  (Bug#12305)
507         * mail/rmail.el (rmail-retry-failure):
508         Turn off mime processing first.  (Bug#12037)
510         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
512 2012-09-17  Chong Yidong  <cyd@gnu.org>
514         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
515         (shell-dynamic-complete-functions): Convert to defcustom.
516         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
518         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
519         * comint.el (comint-prompt-read-only):
520         * custom.el (defcustom):
521         * hi-lock.el (hi-lock-mode):
522         * ibuffer.el (ibuffer-formats):
523         * ielm.el (ielm-prompt-read-only):
524         * novice.el (disable-command):
525         * saveplace.el (toggle-save-place):
526         * speedbar.el (speedbar-supported-extension-expressions):
527         * startup.el (auto-save-list-file-prefix, init-file-user)
528         (after-init-hook, inhibit-startup-echo-area-message):
529         * strokes.el (strokes-help):
530         * time-stamp.el (time-stamp):
531         * calendar/calendar.el (calendar, diary-file):
532         * calendar/diary-lib.el (diary-mail-entries, diary)
533         (diary-list-entries-hook):
534         * calendar/holidays.el (holidays, calendar-holidays):
535         * calendar/lunar.el (lunar-phases):
536         * calendar/solar.el (sunrise-sunset):
537         * emulation/edt.el (edt-load-keys):
538         * emulation/viper.el (viper-mode):
539         * eshell/em-alias.el (eshell-command-aliases-list):
540         * eshell/esh-util.el (eshell-convert-numeric-arguments):
541         * international/ogonek.el (ogonek-information):
542         * net/tramp-cmds.el (tramp-bug):
543         * net/quickurl.el (quickurl-reread-hook-postfix):
544         * play/decipher.el (decipher-font-lock-keywords):
545         * progmodes/cc-styles.el (c-set-style):
546         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
547         * progmodes/inf-lisp.el (inferior-lisp-prompt):
548         * progmodes/octave-mod.el (octave-mode):
549         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
550         * progmodes/verilog-mode.el (verilog-read-defines):
551         * textmodes/two-column.el (2C-mode): Likewise.
553 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
555         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
556         that holds many addresses.
558 2012-09-16  Chong Yidong  <cyd@gnu.org>
560         * align.el (align-areas): Call the indication function with
561         positions instead of markers for arguments (Bug#12343).
563         * files.el (parse-colon-path): Use split-string (Bug#12351).
565         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
566         (display-buffer-function): Mark as obsolete.
568         * progmodes/compile.el (compilation-parse-errors): Accept list
569         values similar to font-lock-keywords (Bug#12136).
570         Suggested by Oleksandr Manzyuk.
571         (compilation-error-regexp-alist): Doc fix.
573 2012-09-15  Glenn Morris  <rgm@gnu.org>
575         * version.el (emacs-bzr-version-bzr): New function.
576         (emacs-bzr-get-version): Add optional EXTERNAL argument.
578         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
579         checkouts, check the parent dirstate matches the branch.
580         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
581         empty string.
583         * version.el (emacs-bzr-version): Doc fix.
584         (emacs-bzr-version-dirstate): New function.
585         (emacs-bzr-get-version): For lightweight checkouts, if the parent
586         is local try and check that it matches the branch.  If not, just
587         use dirstate information.  (Bug#12441)
589 2012-09-14  Juri Linkov  <juri@jurta.org>
591         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
592         (Bug#12399)
594 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
596         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
598         * emacs-lisp/edebug.el: Miscellaneous cleanup.
599         Remove obsolete byte-compiler hack that tried to silence some warnings.
600         (edebug-submit-bug-report): Remove.
601         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
602         Remove aliases, use the un-prefixed name instead.
603         (edebug-pop-to-buffer): Consider other frames.
604         (edebug-original-read):: Make it more obvious that it's always defined.
605         (edebug--make-form-data-entry, edebug--form-data-name)
606         (edebug--form-data-begin, edebug--form-data-end): Rename from the
607         single-dashed name, and implement with cl-defstruct.
608         (edebug-set-form-data-entry): Use the standard accessors.
609         (edebug-make-top-form-data-entry): Use push.
610         (edebug-no-match): Drop useless `funcall'.
611         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
612         to functions.
613         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
614         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
615         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
616         (easy-menu-define, with-custom-print): Remove redundant specs.
617         (edebug-outside-overriding-local-map)
618         (edebug-outside-overriding-terminal-local-map): Remove, unused.
619         (edebug--display): Bind unread-command-events directly to nil rather
620         than binding it to unread-command-events and later setting it to nil.
621         (edebug--display): Kill edebug-eval-buffer here...
622         (edebug--recursive-edit): ...rather than here.
623         Bind standard-output and standard-input.
624         (edebug-eval): Check cl-macroexpand-all is fboundp.
625         (edebug-temp-display-freq-count): Fix last change.
627         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
628         * subr.el (noreturn, 1value): Add `debug' spec.
629         * emacs-lisp/advice.el: Require cl-lib.
630         (ad-copy-tree): Remove, use copy-tree instead.
631         (ad-dolist): Remove use dolist or cl-dolist instead.
632         (ad-do-return): Remove, use cl-return instead.
633         (defadvice): Add `debug' spec.
635 2012-09-13  Juri Linkov  <juri@jurta.org>
637         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
638         (Bug#12399)
640 2012-09-13  Glenn Morris  <rgm@gnu.org>
642         * calc/calc.el (math-compose-expr):
643         * calc/calc-ext.el (math-compose-expr):
644         * progmodes/cc-defs.el (cl-macroexpand-all):
645         * progmodes/cc-langs.el (delete-duplicates, mapcan)
646         (cl-macroexpand-all): Update declarations.
648         * vc/vc.el: No need to require ediff.
649         (ediff-load-version-control): Declare.
650         (ediff-vc-internal): Fix declaration.
651         (vc-version-ediff): Require ediff.
653 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
655         Use a more backwards-compatible timer format (Bug#12430).
656         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
657         being right after USECS, as that better supports old code that
658         inadvisedly looked directly at the timer vector.
660 2012-09-13  Kenichi Handa  <handa@gnu.org>
662         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
663         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
664         `coding-priority' property of these language environment.
666 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
668         Fix glitches caused by addition of psec to timers (Bug#12430).
669         * image.el (image-animate-timer):
670         * time.el (display-time-world-timer):
671         Use timer--function and timer--args rather than raw access to
672         timer vector.
674 2012-09-13  Glenn Morris  <rgm@gnu.org>
676         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
677         If not compiling a file, try using load-file-name.
679 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
681         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
682         Fix last change.
683         (edebug-update-eval-list): Use `push'.
685         * emacs-lisp/edebug.el: Use lexical-binding.
686         Remove the "edebug-" prefix from non-dynamically-scoped variables.
687         Mark unused args with underscore.
688         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
689         (edebug-form-data): Use defvar-local.
690         (edebug-make-before-and-after-form, edebug-make-after-form):
691         Use backquote.
692         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
693         Not dynamically scoped any more.
694         (edebug--enter-trace): Add arguments `function' and `args'.
695         Rename from edebug-enter-trace.
696         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
697         (edebug--update-coverage): Add `after-index' and `value' args.
698         Rename from edebug-update-coverage.
699         (edebug-slow-after): Call it accordingly.
700         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
701         edebug-recursive-edit.
702         (edebug--display): Call it accordingly.  Add args `value',
703         `offset-index', and `arg-mode'.  Rename from edebug-display.
704         (edebug-debugger, edebug): Call it accordingly.
705         (edebug-eval-display-list): Use dolist.
707 2012-09-12  Juri Linkov  <juri@jurta.org>
709         * info.el (Info-search): Don't check for isearch-mode and
710         isearch-regexp before let-binding search-spaces-regexp to
711         Info-search-whitespace-regexp.
712         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
713         search-whitespace-regexp if isearch-lax-whitespace or
714         isearch-regexp-lax-whitespace is non-nil.
715         (Info-mode): Don't set local variable search-whitespace-regexp.
716         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
718 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
720         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
721         (debugger-env-macro): Remove support for unread-command-char.
723         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
724         the temporary map re-appearing on emulation-mode-map-alists.
726         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
727         since 22.1.
729         * ehelp.el (with-electric-help): Accept functions in
730         electric-help-form-to-execute.
731         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
732         And replace unread-command-char -> unread-command-events.
734 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
736         Sync with Tramp 2.2.6.
738         * net/tramp.el (tramp-accept-process-output): Don't use
739         JUST-THIS-ONE in the XEmacs case.
741         * net/trampver.el: Update release number.
743 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
745         * emacs-lisp/debug.el (debugger-previous-window-height):
746         New variable.
747         (debug): When debugger-jumping-flag is non-nil try to restore
748         height of debugger window.  (Bug#8789)
750 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
752         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
753         overriding-local-map and pre/post-command-hook here.
754         (edebug-recursive-edit): Do it here instead (bug#12345).
755         (edebug-outside-unread-command-char): Remove all uses of
756         unread-command-char.
758         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
759         inhibit-debugger is bound instead.
761 2012-09-11  Bastien Guerry  <bzg@gnu.org>
763         * subr.el (set-temporary-overlay-map): Add a docstring.
764         (Bug#12346)
766 2012-09-11  Bastien Guerry  <bzg@gnu.org>
768         * minibuffer.el (completion-table-subvert): Fix docstring.
769         (Bug#12347)
771 2012-09-11  Bastien Guerry  <bzg@gnu.org>
773         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
775 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
777         * progmodes/sql.el: Version 3.1
778         (sql-db2-escape-newlines): New variable.
779         (sql-escape-newlines-filter): Use it.
781 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
783         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
785 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
787         * vc/diff-mode.el (diff-mode-menu):
788         Bind diff-remove-trailing-whitespace.
790 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
792         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
793         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
794         (emacs-lisp-byte-code-mode): New functions.
795         (eval-sexp-add-defvars): Don't skip defvars in column >0.
796         (eval-defun-2): Remove bogus interactive spec.
797         (lisp-indent-line): Remove redundant whole-exp code, now done in
798         indent-according-to-mode.
799         (save-match-data): Remove redundant indent data.
801         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
802         Use `declare'.
804 2012-09-09  Juri Linkov  <juri@jurta.org>
806         * replace.el (replace-regexp-lax-whitespace): New defcustom.
807         (replace-lax-whitespace, query-replace-regexp)
808         (query-replace-regexp-eval, replace-regexp): Doc fix.
809         (perform-replace, replace-highlight): Let-bind
810         isearch-lax-whitespace to replace-lax-whitespace and
811         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
813         * isearch.el (isearch-query-replace): Let-bind
814         replace-lax-whitespace to isearch-lax-whitespace and
815         replace-regexp-lax-whitespace to
816         isearch-regexp-lax-whitespace.  (Bug#10885)
818 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
820         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
822 2012-09-09  Alan Mackenzie  <acm@muc.de>
824         * progmodes/cc-engine.el (c-state-cache-init):
825         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
826         (c-record-parse-state-state):
827         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
829 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
831         * register.el (register-separator): Rename from
832         separator-register.  All uses changed.  Doc fix.
833         (register): Fix version.
835 2012-09-09  Chong Yidong  <cyd@gnu.org>
837         * replace.el (query-replace-map): Bind four new symbols for
838         requesting window scrolling.
840         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
841         query-replace-map (Bug#8948).
843         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
845         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
846         since they are now in query-replace-map.
848         * window.el (scroll-other-window-down): Make the arg optional.
850 2012-09-09  Chong Yidong  <cyd@gnu.org>
852         * files.el (hack-local-variables-confirm): Use quit-window to kill
853         the *Local Variables* buffer.
855 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
857         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
858         not just expect to be at its beginning.  Adjust callees.
859         Succeed when do-end block has no space before the pipe character.
860         (ruby-brace-to-do-end): When the original block is one-liner,
861         convert to multiline.  Reindent the result.
863 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
865         * register.el (register): New group.
866         (register-separator): New user option.
867         (increment-register): Route it to `append-to-register', if
868         register contains text.  Implication is that `C-x r +' can now be
869         used for appending to a text register (bug#12217).
870         (append-to-register, prepend-to-register): Add separator based on
871         `register-separator.
873 2012-09-08  Alan Mackenzie  <acm@muc.de>
875         AWK Mode: make auto-newline work when there's "==" in the pattern.
876         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
877         correctly.
878         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
879         Test more rigorously for "=" token.
881 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
883         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
884         Only fail when reached LIMIT.
886 2012-09-08  Chong Yidong  <cyd@gnu.org>
888         * dired.el (dired-mode-map): Don't bind M-=.
890         * dired-aux.el (dired-diff): Use backup file as default.
892 2012-09-08  Drew Adams  <drew.adams@oracle.com>
894         * subr.el (add-to-history): Fix delete usage (Bug#12314).
896 2012-09-08  Chong Yidong  <cyd@gnu.org>
898         * subr.el (syntax-after, syntax-class): Doc fix.
900 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
902         * window.el (display-buffer-in-previous-window): New buffer
903         display action function.
905         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
906         (debugger-previous-window): New variable.
907         (debug): Rewrite using display-buffer-in-previous-window,
908         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
910 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
912         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
914 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
916         * progmodes/python.el (python-shell-send-string):
917         When default-directory is remote, create temp file on remote
918         filesystem.
919         (python-shell-send-file): When file is remote, pass local view of
920         file paths to remote Python interpreter.  (Bug#12340)
922 2012-09-07  Chong Yidong  <cyd@gnu.org>
924         * window.el (switch-to-buffer): Doc fix (Bug#12181).
926         * files.el (after-find-file): Don't fail on a read-only buffer if
927         require-final-newline is `visit' or `visit-save' (Bug#11156).
929         * subr.el (read-char-choice): Allow quitting via ESC ESC.
931         * userlock.el (ask-user-about-supersession-threat):
932         Use read-char-choice (Bug#12093).
934 2012-09-07  Chong Yidong  <cyd@gnu.org>
936         * subr.el (buffer-narrowed-p): New function.
938         * ses.el (ses-widen):
939         * simple.el (count-words--buffer-message):
940         * net/browse-url.el (browse-url-of-buffer): Use it
942         * simple.el (count-words-region): Don't signal an error if there
943         is a non-nil prefix arg and the mark is not set.
945         * help.el (describe-key-briefly): Allow the message to be seen
946         when invoked from the minibuffer (Bug#7014).
948 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
950         * progmodes/ruby-mode.el (ruby-end-of-defun)
951         (ruby-beginning-of-defun): Simplify, allow indentation before
952         block beginning and end keywords.
953         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
954         (ruby-end-of-defun): Expect that the point is at the beginning of
955         the defun.
957 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
959         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
960         (bug#12367).
961         (cl--make-usage-args): Strip _ from argument names.
963 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
965         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
966         obsolete alias speedbar-key-map.
967         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
968         (vhdl-index-menu-init): Don't use obsolete variable
969         font-lock-maximum-size.
971 2012-09-06  Chong Yidong  <cyd@gnu.org>
973         * frame.el (window-system-version): Mark as obsolete.
975         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
976         of obsolete variable speedbar-key-map.
978 2012-09-06  Juri Linkov  <juri@jurta.org>
980         * replace.el (replace-lax-whitespace): New defcustom.
981         (query-replace, query-replace-regexp, query-replace-regexp-eval)
982         (replace-string, replace-regexp): Mention it in docstrings.
983         (perform-replace, replace-highlight): Let-bind
984         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
985         to the values of replace-lax-whitespace and regexp-flag.
986         Don't let-bind search-whitespace-regexp.  (Bug#10885)
988         * isearch.el (isearch-query-replace): Let-bind
989         replace-lax-whitespace instead of let-binding
990         replace-search-function and replace-re-search-function.
991         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
992         and isearch-regexp-lax-whitespace to lazy-highlight variables.
993         (isearch-toggle-symbol): Set isearch-regexp to nil
994         in isearch-word mode (like in isearch-toggle-word).
996 2012-09-06  Juri Linkov  <juri@jurta.org>
998         * replace.el (replace-search-function)
999         (replace-re-search-function): Set default values to nil.
1000         (perform-replace): Let-bind isearch-related variables based on
1001         replace-related values, call `isearch-search-fun' and let-bind
1002         the result to `search-function'.  Remove code that sets
1003         `search-function' and `search-string' separately for
1004         `delimited-flag'.
1005         (replace-highlight): Add new argument `delimited-flag' and
1006         rename other arguments to the names used in `perform-replace'.
1007         Let-bind `isearch-word' to the argument `delimited-flag'.
1008         (Bug#10885, bug#10887)
1010 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
1012         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1013         ruby-beginning-of-indent, simplify, allow all keywords to have
1014         indentation before them.
1015         (ruby-beginning-of-indent): Adjust for above.  Search until the
1016         found point is not inside a string or comment.
1017         (ruby-font-lock-keywords): Allow symbols to start with "@"
1018         character, give them higher priority than variables.
1019         (ruby-syntax-propertize-function)
1020         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1021         matchers.  Expression expansions are not comments when inside a
1022         string, and there comment syntax status is irrelevant.
1023         (ruby-match-expression-expansion): New function.  Check that
1024         expression expansion is inside a string, and it's not escaped.
1025         (ruby-font-lock-keywords): Use it.
1027 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
1029         * help.el (temp-buffer-max-height): New default value.
1030         (temp-buffer-resize-frames): New option.
1031         (resize-temp-buffer-window): Optionally resize frame.
1033         * window.el (fit-frame-to-buffer-bottom-margin): New option.
1034         (fit-frame-to-buffer): New function.
1036 2012-09-05  Glenn Morris  <rgm@gnu.org>
1038         * emulation/cua-rect.el (cua--init-rectangles):
1039         * textmodes/picture.el (picture-mode-map):
1040         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1041         like forward-char and backward-char.  (Bug#12317)
1043 2012-09-05  Leo Liu  <sdl.web@gmail.com>
1045         * progmodes/flymake.el (flymake-warning-re): New variable.
1046         (flymake-parse-line): Use it.
1048 2012-09-05  Glenn Morris  <rgm@gnu.org>
1050         * calendar/holidays.el (holiday-christian-holidays):
1051         Rename an entry.  (Bug#12289)
1053 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1055         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1056         (bug#12222).
1058 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1060         * loadup.el: Load macroexp.  Remove hack.
1061         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1062         (macroexp--expand-all): Use it to get better warnings.
1063         (macroexp--backtrace, macroexp--trim-backtrace-frame)
1064         (internal-macroexpand-for-load): New functions.
1065         (macroexp--pending-eager-loads): New var.
1066         (emacs-startup-hook): New hack to replace one in loadup.el.
1067         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1068         (cl--compiler-macro-cXXr): Move to top, before they can be used.
1069         (cl-psetf): Simplify.
1070         (cl-defstruct): Add indent rule.
1072 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
1074         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1075         over `user-mail-address' for the SMTP MAIL FROM envelope.
1076         (smtpmail-via-smtp): Ditto.
1078 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
1080         * progmodes/ruby-mode.el: Clean up keybindings.
1081         (ruby-mode-map): Don't bind ruby-electric-brace,
1082         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1083         backward-kill-word, reindent-then-newline-and-indent.
1084         (ruby-mark-defun): Remove.
1085         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
1086         (ruby-mode): Set local beginning-of-defun-function and
1087         end-of-defun-function values.
1089 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
1091         * window.el (temp-buffer-window-setup-hook)
1092         (temp-buffer-window-show-hook): New hooks.
1093         (temp-buffer-window-setup, temp-buffer-window-show)
1094         (with-temp-buffer-window): New functions.
1095         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1096         (special-display-popup-frame): Make sure the window used shows BUFFER.
1098         * help.el (temp-buffer-resize-mode): Fix doc-string.
1099         (resize-temp-buffer-window): New optional argument WINDOW.
1101         * files.el (recover-file, save-buffers-kill-emacs):
1102         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1104 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
1106         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1107         remote definition of `default-directory', ensure we can connect.
1109 2012-09-02  Juri Linkov  <juri@jurta.org>
1111         Toggle whitespace matching mode with M-s SPC.
1112         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1114         * isearch.el (search-whitespace-regexp): Doc fix.
1115         Remove cons cell customization.
1116         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1117         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1118         New variables.
1119         (isearch-forward, isearch-forward-regexp): Doc fix.
1120         (isearch-toggle-lax-whitespace): New command.
1121         (search-forward-lax-whitespace, search-backward-lax-whitespace)
1122         (re-search-forward-lax-whitespace)
1123         (re-search-backward-lax-whitespace): New functions.
1124         (isearch-whitespace-regexp): Remove function.
1125         (isearch-query-replace): Let-bind replace-search-function and
1126         replace-re-search-function.
1127         (isearch-occur): Let-bind search-spaces-regexp according to the
1128         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1129         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1130         condition for C-q SPC.
1131         (isearch-search-fun-default): Use new functions mentioned above.
1132         (isearch-search-forward, isearch-search-backward): Remove functions.
1133         (isearch-search): Don't let-bind search-spaces-regexp.
1134         (isearch-lazy-highlight-space-regexp): Remove variable.
1135         (isearch-lazy-highlight-lax-whitespace)
1136         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1137         (isearch-lazy-highlight-new-loop): Use them.
1138         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1140 2012-09-02  Chong Yidong  <cyd@gnu.org>
1142         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1144 2012-09-02  Glenn Morris  <rgm@gnu.org>
1146         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
1148 2012-09-01  Glenn Morris  <rgm@gnu.org>
1150         * term.el: Tidy up menu definitions.
1151         (term-mode-map): Use easymenu for In/Out, Complete menus.
1152         (term-pager-break-map): Initialize in the defvar.
1153         (term-terminal-menu, term-signals-menu): Define with easymenu.
1154         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
1155         (term-pager-menu): New, extracted from term-process-pager.
1156         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1157         (term-update-mode-line): Propertize line/char and page items.
1158         (term-process-pager): Move keymap initialization elsewhere.
1160 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
1162         * window.el (switch-to-prev-buffer): Handle additional values of
1163         BURY-OR-KILL argument.  Don't switch in minibuffer window.
1164         (switch-to-next-buffer): Don't switch in minibuffer window.
1165         (quit-restore-window): New function based on quit-window.
1166         Handle additional values of former KILL argument.
1167         (quit-window): Call quit-restore-window with appropriate
1168         interpretation of KILL argument.
1169         (display-buffer-below-selected): New buffer display action
1170         function.
1172 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1174         * minibuffer.el (completion-at-point-functions): Complete docstring
1175         (bug#12254).
1177 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
1179         Better seed support for (random).
1180         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1181         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1182         * play/mpuz.el, play/tetris.el, play/zone.el:
1183         * calc/calc-comb.el (math-init-random-base):
1184         * play/blackbox.el (bb-init-board):
1185         * play/life.el (life):
1186         * server.el (server-use-tcp):
1187         * type-break.el (type-break):
1188         Remove unnecessary call to (random t).
1189         * net/sasl.el (sasl-unique-id-function):
1190         Change (random t) to (random), now that the latter is more random.
1191         * play/life.el (life-initialized): Remove no-longer-needed var.
1193 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
1195         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1196         Consider frame's buffer predicate when choosing the buffer.
1197         (Bug#12081)
1199 2012-08-30  Richard Stallman  <rms@gnu.org>
1201         * simple.el (special-mode-map): Delete binding for `z'.
1203 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
1205         * progmodes/compile.el (compilation-always-kill): Doc fix.
1207 2012-08-30  Chong Yidong  <cyd@gnu.org>
1209         * window.el (display-buffer-reuse-frames): Make the obsolescence
1210         message more informative.
1212 2012-08-30  Glenn Morris  <rgm@gnu.org>
1214         * paren.el (show-paren-delay):
1215         Add a :set function.  Doc fix.  (Bug#12297)
1217 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
1219         * progmodes/compile.el (compilation-always-kill): New var.
1220         (compilation-start): Use it.
1222 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1224         * simple.el (read-only-mode): Move from files.el for bootstrapping.
1225         * files.el (read-only-mode): Move to simple.el.
1227         * files.el (read-only-mode): New minor mode.
1228         (toggle-read-only): Use it and mark obsolete.
1229         (find-file--read-only):
1230         * vc/vc.el (vc-next-action, vc-checkout):
1231         * vc/vc-cvs.el (vc-cvs-checkout):
1232         * obsolete/vc-mcvs.el (vc-mcvs-update):
1233         * ffap.el (ffap--toggle-read-only): Update callers.
1235 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
1237         * eshell/esh-ext.el (eshell-external-command): Do not examine
1238         remote shell scripts.
1239         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1241         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1242         "/usr/local/sbin".
1244 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1246         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1248 2012-08-28  Leo Liu  <sdl.web@gmail.com>
1250         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1251         completion-at-point.  (Bug#12220)
1253         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1255         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1257 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1259         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1260         be buffer-local; add delete-trailing-whitespace (bug#12259).
1262 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
1264         * progmodes/hideif.el (hif-compress-define-list):
1265         Fix typo.  (Bug#11951)
1267 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
1269         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1270         buffer local setting.
1272         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1273         rcirc-encode-coding-system.
1275 2012-08-28  Leo Liu  <sdl.web@gmail.com>
1277         * net/rcirc.el (rcirc-split-message): New function.
1278         (rcirc-send-message): Use it.  (Bug#12051)
1280 2012-08-28  Juri Linkov  <juri@jurta.org>
1282         * info.el (Info-fontify-node): Hide empty lines at the end of
1283         the node.  (Bug#12272)
1285 2012-08-27  Drew Adams  <drew.adams@oracle.com>
1287         * dired.el (dired-pop-to-buffer): Make window start at beginning
1288         of buffer (Bug#12281).
1290 2012-08-26  Chong Yidong  <cyd@gnu.org>
1292         * window.el (special-display-regexps, special-display-frame-alist)
1293         (special-display-buffer-names, special-display-function)
1294         (display-buffer-reuse-frames): Mark as obsolete.
1296         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1298         * help.el (help-print-return-message): Don't treat
1299         display-buffer-reuse-frames specially.
1301 2012-08-26  Chong Yidong  <cyd@gnu.org>
1303         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1304         New variable, replacing gdb-frame-parameters.
1305         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1306         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1307         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1308         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1309         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
1310         the functions directly with gdb-display-buffer-other-frame-action.
1311         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1312         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1313         (gdb-display-stack-buffer, gdb-display-locals-buffer)
1314         (gdb-display-registers-buffer): Define directly.
1315         (def-gdb-display-buffer): Macro deleted.
1316         (gdb-display-buffer): Remove second and third args, callers don't
1317         use them.  Defer to the default display-buffer behavior, apart
1318         from making windows dedicated.
1319         (gdb-setup-windows): Don't call display-buffer unnecessarily.
1321         * progmodes/gud.el (gud-display-line): Just use display-buffer.
1323         * window.el (display-buffer-pop-up-frame): Handle a
1324         pop-up-frame-parameters alist entry.
1325         (display-buffer): Document it.
1327 2012-08-26  Chong Yidong  <cyd@gnu.org>
1329         * isearch.el (search-whitespace-regexp): Make string and nil
1330         values apply to both ordinary and regexp search.  Allow a cons
1331         cell value to distinguish between the two.
1332         (isearch-whitespace-regexp, isearch-search-forward)
1333         (isearch-search-backward): New functions.
1334         (isearch-occur, isearch-search-fun-default, isearch-search)
1335         (isearch-lazy-highlight-new-loop): Use them.
1336         (isearch-forward, isearch-forward-regexp): Doc fix.
1338 2012-08-26  Chong Yidong  <cyd@gnu.org>
1340         * faces.el (help-argument-name): Always inherit from italic
1341         (Bug#12213).
1343 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
1345         * window.el (window--even-window-heights): Even heights when
1346         WINDOW and the selected window form a vertical combination.
1347         (display-buffer-use-some-window): Provide that window used gets
1348         sized back by quit-window.  (Bug#11880) and (Bug#12091)
1350 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1352         Fix file time stamp problem with bzr and CVS (Bug#12001).
1353         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1354         in the file's time stamp, since the version control system loses
1355         that information.
1357 2012-08-22  Juri Linkov  <juri@jurta.org>
1359         * info.el (Info-fontify-node): Hide the suffix of the
1360         Info file name in the header line.  (Bug#12187)
1362 2012-08-22  Glenn Morris  <rgm@gnu.org>
1364         * calendar/cal-tex.el (cal-tex-weekly-common):
1365         Restore leading blank page.
1367 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
1369         * misc.el (forward-to-word, backward-to-word): Activate or extend
1370         the region under `shift-select-mode'.  (Bug#12231)
1372 2012-08-22  Bastien Guerry  <bzg@gnu.org>
1374         * progmodes/executable.el (executable-prefix): Set to "#!" instead
1375         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
1376         gives details on why the space is never needed.
1378 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
1380         * window.el (walk-window-tree, window-with-parameter):
1381         New optional argument MINIBUF to control whether these functions
1382         should run on the minibuffer window.
1383         (window-at-side-list): Don't operate on minibuffer window.
1384         (window-in-direction): Simplify and rewrite doc-string.
1385         (window--size-ignore): Rename to window--size-ignore-p.
1386         Update callers.
1387         (display-buffer-in-atom-window, window--major-non-side-window)
1388         (window--major-side-window, display-buffer-in-major-side-window)
1389         (delete-side-window, display-buffer-in-side-window):
1390         New functions.
1391         (window--side-check, window-deletable-p, delete-window)
1392         (delete-other-windows, split-window): Handle side windows and
1393         atomic windows appropriately.
1394         (window--display-buffer): Call display-buffer-record-window also
1395         when the window buffer did not change.
1397 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
1399         * help-fns.el (help-fns--key-bindings):
1400         Abbreviate non-symbol remap targets.  (Bug#12174)
1402 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
1404         * dired.el (dired-mark-remembered): Don't clobber point.
1405         (Bug#11795)
1407 2012-08-22  Glenn Morris  <rgm@gnu.org>
1409         * progmodes/bug-reference.el (bug-reference): New custom group.
1410         (bug-reference-bug-regexp): Make it a defcustom.
1412 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
1414         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1415         (js-paren-indent-offset, js-square-indent-offset)
1416         (js-curly-indent-offset): Add :safe (Bug#12257).
1418 2012-08-22  Edward O'Connor  <hober0@gmail.com>
1420         * json.el (json-key-format): Add error properties.
1421         (json-encode-key): New function.
1422         (json-encode-hash-table, json-encode-alist, json-encode-plist):
1423         Use json-encode-key.
1425 2012-08-22  Glenn Morris  <rgm@gnu.org>
1427         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1428         (cal-tex-leftday, cal-tex-rightday): Remove functions.
1429         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1430         Update for above change.
1432 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
1434         * cus-face.el (custom-face-attributes): Fix customize type for the
1435         :underline attribute.  (Bug#11805)
1437 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
1439         * window.el (window-point-1, set-window-point-1): Remove.
1440         (window-in-direction, record-window-buffer)
1441         (set-window-buffer-start-and-point, split-window-below)
1442         (window--state-get-1, display-buffer-record-window):
1443         Replace calls to window-point-1 and set-window-point-1 by calls to
1444         window-point and set-window-point respectively.
1446 2012-08-21  Glenn Morris  <rgm@gnu.org>
1448         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1449         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1450         Use it.
1452         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1453         (cal-tex-shortday): New function.
1454         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1455         (cal-tex-cursor-filofax-daily): Use the above.
1457         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1458         New functions.
1459         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1460         (cal-tex-cursor-filofax-week): Use them.
1462         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1463         New constants.
1464         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1465         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1467         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1468         (cal-tex-end-document): Don't rely on buffer name.
1470         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1471         Use cal-tex-vspace.
1472         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1473         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
1474         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1475         Use cal-tex-arg.
1477         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1478         (cal-tex-cursor-week, cal-tex-cursor-week2)
1479         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1480         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1481         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1482         (cal-tex-insert-preamble, cal-tex-b-document)
1483         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1484         Improve cal-tex-cmd usage.
1486         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1487         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1488         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1489         (cal-tex-weekly-paper): New function.
1490         (cal-tex-cursor-week, cal-tex-cursor-week2)
1491         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1492         (cal-tex-cursor-day): Use it.
1494         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1495         (cal-tex-cursor-filofax-week): Remove leading blank page.
1497         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1498         Add autoload cookie.  For now at least, don't use color, since
1499         no other cal-tex function does.
1501         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1502         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1503         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1505 2012-08-21  Juri Linkov  <juri@jurta.org>
1507         * info.el (Info-file-attributes): New variable.
1508         (info-insert-file-contents): Add file attributes to
1509         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
1510         `Info-toc-nodes' when previous modtime of the Info file is less
1511         than new modtime.
1512         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1513         of info.el.  (Bug#12230)
1515 2012-08-20  Glenn Morris  <rgm@gnu.org>
1517         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1518         * calendar/holidays.el (calendar-holiday-list):
1519         Report errors with display-warning rather than beep'n'sleep.
1521 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
1523         * net/tramp.el (tramp-accept-process-output): Accept only output
1524         from PROC.  Otherwise, process filters and sentinels might be
1525         confused.  (Bug#12145)
1527 2012-08-20  Chong Yidong  <cyd@gnu.org>
1529         * descr-text.el (describe-text-properties-1): Use overlays-in to
1530         report on empty overlays (Bug#3322).
1532 2012-08-20  Glenn Morris  <rgm@gnu.org>
1534         * mail/rmailout.el (rmail-output-read-file-name):
1535         Trap and report errors in rmail-output-file-alist elements.
1537         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1538         since most non-font-lock faces are not also variables).
1540 2012-08-20  Edward Reingold  <reingold@iit.edu>
1542         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1543         New function.  (Bug12160)
1545 2012-08-19  Glenn Morris  <rgm@gnu.org>
1547         * mail/rmailout.el (rmail-output-read-file-name):
1548         Fix previous change (when the alist is nil or does not match).
1550 2012-08-19  Chong Yidong  <cyd@gnu.org>
1552         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1553         (Bug#12228).
1555 2012-08-18  Chong Yidong  <cyd@gnu.org>
1557         * simple.el (yank-handled-properties): New defcustom.
1558         (yank-excluded-properties): Add font-lock-face and category.
1559         (yank): Doc fix.
1561         * subr.el (remove-yank-excluded-properties):
1562         Obey yank-handled-properties.  The special handling of font-lock-face
1563         and category is now done this way, instead of being hard-coded.
1564         (insert-for-yank-1): Remove font-lock-face handling.
1565         (yank-handle-font-lock-face-property)
1566         (yank-handle-category-property): New function.
1568 2012-08-17  Glenn Morris  <rgm@gnu.org>
1570         * mail/rmailout.el (rmail-output-read-file-name):
1571         Check rmail-output-file-alist against the full message body
1572         in the correct rmail buffer.  (Bug#12214)
1574 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
1576         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1577         Eliminate superfluous prompt.  (Bug#12203)
1579 2012-08-17  Chong Yidong  <cyd@gnu.org>
1581         * mouse.el (mouse-appearance-menu): If x-select-font returns a
1582         font spec, set the font directly (Bug#3228).
1584 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
1586         * window.el (delete-window): Fix last fix.
1588 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
1590         * window.el (window-valid-p): Move to window.c.
1591         (window-child, window-child-count, window-last-child)
1592         (window-normalize-window, window-combined-p)
1593         (window-combinations, window-atom-root, window-min-size)
1594         (window-sizable, window-sizable-p, window-size-fixed-p)
1595         (window-min-delta, window-max-delta, window--resizable)
1596         (window--resizable-p, window-resizable, window-total-size)
1597         (window-full-height-p, window-full-width-p, window-body-size)
1598         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1599         (minimize-window, window-deletable-p, delete-window)
1600         (delete-other-windows, set-window-buffer-start-and-point)
1601         (next-buffer, previous-buffer, split-window, balance-windows-2)
1602         (set-window-text-height, window-buffer-height)
1603         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
1604         (truncated-partial-width-window-p): Minor code adjustments.
1605         In doc-strings state whether the argument window has to denote a
1606         live, valid or any window.
1608 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
1610         * progmodes/subword.el (subword-forward-function)
1611         (subword-backward-function, subword-forward-regexp)
1612         (subword-backward-regexp): New variables.
1613         (subword-forward, subword-forward-internal, subword-backward-internal):
1614         Use new variables, eg so that different "word" definitions
1615         can be easily used.  (Bug#11411)
1617 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1619         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1620         for composite selectors.
1621         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1622         operation just because we can't find a previous revision.
1624 2012-08-15  Chong Yidong  <cyd@gnu.org>
1626         * frame.el (set-frame-font): Accept font objects.
1628 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1630         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1632 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
1634         * man.el (Man-overstrike-face, Man-underline-face)
1635         (Man-reverse-face): Remove variables.
1636         (Man-overstrike, Man-underline, Man-reverse): New faces.
1637         (Man-fontify-manpage): Use them instead of the variables.
1638         (Man-cleanup-manpage): Comment change.
1639         (Man-ansi-color-map): New variable.
1640         (Man-fontify-manpage): Use it.
1641         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1643         Implement ANSI SGR parameters 22-27 (bug#12146).
1644         * ansi-color.el (ansi-colors): Doc fix.
1645         (ansi-color-context, ansi-color-context-region): Doc fix.
1646         (ansi-color--find-face): New function.
1647         (ansi-color-apply, ansi-color-apply-on-region): Use it.
1648         Rename the local variable `face' to `codes' since it is now a list of
1649         ansi codes.  Doc fix.
1650         (ansi-color-get-face): Remove.
1651         (ansi-color-parse-sequence): New function, derived from
1652         ansi-color-get-face.
1653         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
1654         codes 22-27.
1656 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1658         * subr.el (read-passwd): Allow use from a minibuffer.
1660 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
1662         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1663         inside comments and strings as identifiers.
1665         * progmodes/gud.el (gud-tooltip-print-command): Quote the
1666         expression to evaluate.  This allows to evaluate expressions with
1667         embedded whitespace.
1668         (gud-tooltip-tips): Add a blank before the newline in the
1669         message-box text, for the benefit of message-box emulation on
1670         MS-Windows.
1672         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1673         messages from GDB, pop them up in a tooltip to give feedback to
1674         user.
1675         (gdb-tooltip-print-1): Quote the expression to evaluate.
1676         This allows to evaluate expressions with embedded whitespace.
1677         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1678         if the TTY name is nil or empty (which happens when communicating
1679         with the inferior via pipes, e.g. on MS-Windows).
1680         (gdb-internals): If GDB sends a "&\n" empty debugging message,
1681         don't send that to the GUD buffer.
1683 2012-08-14  Glenn Morris  <rgm@gnu.org>
1685         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1686         Optimize away setq-default with no args, as for setq.  (Bug#12195)
1688 2012-08-14  Chong Yidong  <cyd@gnu.org>
1690         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1692         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1693         (Bug#12085).
1695 2012-08-14  Glenn Morris  <rgm@gnu.org>
1697         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1699 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
1701         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1702         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1703         Use cached shell name.
1705 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
1707         * progmodes/python.el (python-shell-send-string):
1708         (python-shell-send-setup-code): Do not use `format' with `message'.
1710 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
1712         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1713         (ruby-percent-literal-beg-re): New constant.
1714         (ruby-syntax-general-delimiters-goto-beg): Rename to
1715         `ruby-syntax-enclosing-percent-literal', improve literal type check.
1716         (ruby-syntax-propertize-general-delimiters): Rename to
1717         `ruby-syntax-propertize-percent-literal', it's a shorter and more
1718         popular term.  Adjust comments everywhere.
1719         (ruby-syntax-propertize-percent-literal): Only propertize when not
1720         inside a simple string or comment.  When the literal is unclosed,
1721         leave the text after it unpropertized.
1722         (ruby-syntax-methods-before-regexp): New constant.
1723         (ruby-syntax-propertize-function): Use it to recognize regexps.
1724         Don't look at the text after regexp, just use the whitelist.
1726 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
1728         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1729         non-nil always load the compiled file if it exists.  (Bug#12197)
1731 2012-08-14  Chong Yidong  <cyd@gnu.org>
1733         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1734         (hi-lock-set-pattern): When deciding whether to use font lock or
1735         overlays, look at font-lock-mode instead of font-lock-fontified
1736         (Bug#12168).
1737         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1738         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1740 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
1742         * subr.el (internal--after-with-selected-window): Fix typo
1743         (Bug#12193).
1745 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
1747         Use `completion-table-dynamic' for completion functions.
1748         * progmodes/python.el
1749         (python-shell-completion--do-completion-at-point)
1750         (python-shell-completion--get-completions):
1751         Remove functions.
1752         (python-shell-completion-complete-at-point): New function.
1753         (python-completion-complete-at-point): Use it.
1755 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
1757         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1758         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1760 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1762         * subr.el (function-get): Refine `autoload' arg so it can also
1763         autoload functions for gv.el (bug#12191).
1764         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1765         autoloads macros.
1767         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1768         Prefer pcase-let over destructuring-bind.
1769         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1770         Also, remove whitespace as we go, rather than after accumulating the
1771         various places.
1773         * subr.el (internal--before-with-selected-window)
1774         (internal--after-with-selected-window): Fix typo seleted->selected.
1775         (with-selected-window): Adjust callers.
1776         Reported by Dmitry Gutov <dgutov@yandex.ru>.
1778 2012-08-13  Bastien Guerry  <bzg@gnu.org>
1780         * window.el (special-display-popup-frame): Minor docstring
1781         enhancement.  (Bug#12172)
1783 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
1785         * tar-mode.el (tar-header-data-end): Only ignore size for files of
1786         type 1-6.
1787         (tar-header-block-summarize, tar-get-descriptor): Handle pax
1788         extended headers.
1790         * files.el (hack-local-variables-filter): Remove useless eval.
1792 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
1794         * subr.el (with-selected-window): Fix last change.
1796 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1798         * subr.el (internal--before-with-seleted-window)
1799         (internal--after-with-seleted-window): New functions.
1800         (with-selected-window): Use them, to replace dependency on
1801         tty-top-frame.
1803 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1805         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1806         binding for `newline'.
1807         (ruby-move-to-block): When moving backward, stop at block opening,
1808         not indentation.
1809         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1810         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1811         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1812         `ruby-toggle-block'.
1814 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1816         * ibuffer.el (ibuffer-do-toggle-read-only):
1817         * dired.el (dired-toggle-read-only):
1818         * buff-menu.el (Buffer-menu-toggle-read-only):
1819         * bindings.el (mode-line-toggle-read-only):
1820         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1822 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
1824         * descr-text.el (describe-char): Put the overlays over the
1825         "displayed as" character.
1827 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
1829         * calc/calc-units.el (math-default-units-table): Give an
1830         initial value.
1831         (math-put-default-units): Add options to put composite units and
1832         unit systems in the default units table.
1833         (calc-convert-units): Send composite units to
1834         `math-put-default-units' when appropriate.
1836 2012-08-11  Glenn Morris  <rgm@gnu.org>
1838         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1840         * tutorial.el (help-with-tutorial):
1841         * emacs-lisp/copyright.el (copyright-update-directory):
1842         * emacs-lisp/autoload.el (autoload-find-generated-file)
1843         (autoload-find-file): Disable local eval: (for insurance).
1845         * files.el (hack-local-variables-filter): If an eval: form is not
1846         known to be safe, and enable-local-variables is :safe, then ignore
1847         the form totally, as is done for non-eval forms.  (Bug#12155)
1848         This is CVE-2012-3479.
1850 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1852         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1853         (rx-form): Simplify.
1855 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
1857         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1858         ?, _, and : are symbol constituents, ! is not (but kinda should be).
1859         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1860         (ruby-syntax-propertize-function): Adjust for changes in
1861         `ruby-syntax-propertize-heredoc'.
1863 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
1865         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1866         binding (use `M-;' instead).
1867         (ruby-singleton-class-p): New function.
1868         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
1870 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1872         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1874 2012-08-10  Chong Yidong  <cyd@gnu.org>
1876         * progmodes/python.el (python-shell-get-process-name): Don't mess
1877         with same-window-buffer-names.
1879         * eshell/eshell.el (eshell-add-to-window-buffer-names)
1880         (eshell-remove-from-window-buffer-names): Make obsolete.
1881         (eshell-buffer-name, eshell-unload-hook): Don't use them.
1882         (eshell): Just use pop-to-buffer-same-window instead.
1884 2012-08-10  Chong Yidong  <cyd@gnu.org>
1886         * bindings.el: Bind M-= back to count-words-region.
1888         * simple.el (count-words-region): Accept a prefix arg for acting
1889         on the entire buffer.
1890         (count-words--buffer-message): New helper function.
1892 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1894         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1895         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1896         (event-start, event-end): Use posn-at-point to return a more
1897         informative posn.
1898         (posnp): New function.
1899         * mouse.el (popup-menu-normalize-position): Use it.
1901 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
1903         * mouse.el (popup-menu-normalize-position): New function.
1904         (popup-menu): Use `popup-menu-normalize-position' to normalize
1905         the form for POSITION argument.
1907         * term/x-win.el (x-menu-bar-open):
1908         Use the value returend from (posn-at-point) as position
1909         passed to `popup-menu'.
1911 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
1913         * calc/calccomp.el (math-compose-expr): Add extra argument
1914         indicating that parentheses should be put around products in
1915         denominators.  Give multiplication precedence over division during
1916         composition.
1918 2012-08-09  Chong Yidong  <cyd@gnu.org>
1920         * man.el (Man-switches, Man-sed-command, Man-awk-command)
1921         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1922         (Man-untabify-command, manual-program): Convert to defcustom
1923         (Bug#10429).
1925         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1927         * descr-text.el (describe-char): Don't insert extra newlines
1928         (Bug#10127).
1930         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1931         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1933         * align.el (align-region): Delete temporary markers (Bug#10047).
1934         Plus some code cleanups.
1936 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
1938         * progmodes/python.el (python-pdbtrack-tracked-buffer)
1939         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1940         (python-shell-internal-last-output): Use make-local-variable
1941         instead of make-variable-buffer-local.
1943 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
1945         * progmodes/python.el: Enhancements to forward-sexp.
1946         (python-nav-forward-sexp): Rename from
1947         python-nav-forward-sexp-function.
1948         (python-nav--forward-sexp, python-nav--backward-sexp):
1949         New functions.
1951 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
1953         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1954         modes and simplification modes.
1956 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1958         * delsel.el (delete-selection-pre-hook): Don't propagate the
1959         file-supersession signals (bug#12161).
1961 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1963         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1964         (cl-map-extents): Add compatibility aliases (bug#12135).
1966 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
1968         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1969         tests by `ignore-error'.
1970         (tramp-find-shell): Open also a new shell, when cache is already
1971         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
1973 2012-08-08  Juri Linkov  <juri@jurta.org>
1975         * bookmark.el: Add `defaults' property to the bookmark record.
1976         (bookmark-current-buffer): Doc fix.
1977         (bookmark-make-record): Add `defaults' property with default values
1978         to the bookmark record.
1979         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1980         with `bookmark-insert-current-bookmark'.
1981         (bookmark-set): Get `defaults' property from the bookmark record
1982         and use it in `read-from-minibuffer'.
1983         (bookmark-insert-current-bookmark): Remove function.
1985         * info.el (Info-bookmark-make-record): Add `defaults' property
1986         with values of canonical Info node name, the current Info file
1987         name and the current Info node name.  (Bug#12107)
1989 2012-08-08  Juri Linkov  <juri@jurta.org>
1991         * files.el (basic-save-buffer): Use `buffer-name' as the default
1992         of `read-file-name' when buffer is not visiting a file (bug#12128).
1994 2012-08-08  Juri Linkov  <juri@jurta.org>
1996         * info.el (Info-isearch-search): Doc fix.
1997         (Info-search): Change search-failed message from "initial node" to
1998         "end of node" (bug#12078).
1999         (Info-isearch-search): Change `isearch-string-state' to
2000         `isearch--state-string'.
2002 2012-08-08  Glenn Morris  <rgm@gnu.org>
2004         * language/persian.el: Remove file.
2005         * language/misc-lang.el: Move unique part of persian.el here.
2006         * loadup.el: Remove language/persian.
2008 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
2010         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2012 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
2014         * progmodes/python.el Fixed defsubst warning.
2015         (python-syntax-context) Rename from python-info-ppss-context.
2016         (python-syntax-context-type): Rename from
2017         python-info-ppss-context-type.
2018         (python-syntax-comment-or-string-p): Rename from
2019         python-info-ppss-comment-or-string-p.
2021 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
2023         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2025 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
2027         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2028         a defcustom that is quoted with backquote.
2030         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2031         Fix handling of interactive spec when the body uses return.
2032         (math-do-arg-check, math-define-function-body): Use backquote forms.
2033         * calc/calc-ext.el (math-defcache): Likewise.
2034         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2035         * allout.el (allout-new-exposure): Likewise.
2036         * calc/calcalg2.el (math-tracing-integral): Likewise.
2037         * info.el (Info-last-menu-item): Likewise.
2038         * emulation/vip.el (vip-loop): Likewise.
2039         * textmodes/artist.el (artist-funcall): Likewise.
2040         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2041         Construct menu-item directly.
2043         * progmodes/autoconf.el (font-lock-syntactic-keywords):
2044         Don't declare.
2046 2012-08-07  Chong Yidong  <cyd@gnu.org>
2048         * simple.el (deactivate-mark): Preserve text properties when
2049         saving the primary selection (Bug#8384).
2051 2012-08-07  Kevin Ryde  <user42@zip.com.au>
2053         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2054         (woman-parse-numeric-value): On a bad .IP line, issue a warning
2055         and continue processing (Bug#12110).
2057 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2059         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2060         syntax-propertize-function (bug#10095).
2062 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2064         * help-fns.el (help-fns--key-bindings, help-fns--signature)
2065         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2066         describe-function-1.
2067         (describe-function-1): Use them.  Move compiler macro after sig.
2068         (help-fns--compiler-macro): Use function-get.  Assume we're already in
2069         standard-output.  Adjust layout to new call order.
2071         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2072         re-binding a symbol that has a symbol-macro (bug#12119).
2074 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
2076         * language/persian.el: New file.  (Bug#11812)
2077         * loadup.el: Add language/persian.el.
2079 2012-08-06  Chong Yidong  <cyd@gnu.org>
2081         * window.el (window--maybe-raise-frame): New function.
2082         (window--display-buffer): Split off from here.
2083         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2084         (display-buffer-pop-up-window, display-buffer-use-some-window):
2085         Obey an inhibit-switch-frame action alist entry.
2086         (display-buffer): Update doc.
2088         * replace.el (occur-after-change-function): Avoid losing focus by
2089         using the inhibit-switch-frame display parameter (Bug#12139).
2091 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
2093         Make internal shell process buffer names start with space.
2094         * progmodes/python.el (python-shell-make-comint): Add optional
2095         argument INTERNAL.
2096         (run-python-internal): Use it.
2097         (python-shell-internal-get-or-create-process): Check for new
2098         internal buffer names.
2100 2012-08-06  Glenn Morris  <rgm@gnu.org>
2102         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2103         Do less getting and setting of environment variables.
2105 2012-08-05  Chong Yidong  <cyd@gnu.org>
2107         * proced.el (proced): Add substitution string to docstring to
2108         trigger autoloading of the proced library on C-h f (Bug#1768).
2110         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2111         Don't show defvars which have no second argument (Bug#8638).
2113         * imenu.el (imenu-generic-expression): Move documentation here
2114         from imenu--generic-function.
2115         (imenu--generic-function): Refer to imenu-generic-expression.
2117 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
2119         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2120         indentation declaration.
2121         (viper-loop): Add indentation declaration (Bug#7025).
2123 2012-08-05  Chong Yidong  <cyd@gnu.org>
2125         * help-fns.el (describe-variable): Add hyperlink for
2126         directory-local variables files.  Improve buffer-local and
2127         permanent-local reporting; suggested by MON KEY (Bug#6644).
2129         * help-mode.el (help-dir-local-var-def): New button type.
2131         * files.el (kill-buffer-hook): Provide a defvar.
2133 2012-08-05  Glenn Morris  <rgm@gnu.org>
2135         * eshell/esh-ext.el (eshell/addpath):
2136         Also update eshell-path-env.  (Bug#12013)
2138 2012-08-05  Chong Yidong  <cyd@gnu.org>
2140         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2142         * fringe.el (fringe-styles): Add docstring.
2143         (fringe--check-mode): New function.
2144         (set-fringe-mode, set-fringe-style): Use it.
2145         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2147         * files.el (set-auto-mode): Fix invalid setq call.
2149 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2151         * isearch.el: Misc simplification; use defstruct.
2152         (isearch-mode-map): Dense maps now work like sparse ones.
2153         (isearch--state): New defstruct.
2154         (isearch-string-state, isearch-message-state, isearch-point-state)
2155         (isearch-success-state, isearch-forward-state)
2156         (isearch-other-end-state, isearch-word-state, isearch-error-state)
2157         (isearch-wrapped-state, isearch-barrier-state)
2158         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2159         replaced by defstruct's accessors.
2160         (isearch--set-state): Rename from isearch-top-state and change
2161         calling convention.
2162         (isearch-push-state): Use new isearch--get-state.
2163         (isearch-toggle-word): Disable regexp when enabling word.
2164         (isearch-message-prefix): Remove unused arg _c-q-hack.
2165         (isearch-message-suffix): Remove unused arg _ellipsis.
2167 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
2169         * simple.el (list-processes--refresh): For a server use :host or
2170         :local as the address.
2171         (list-processes): Doc fix.
2173 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
2175         * lisp/mpc.el: Support password in host argument.
2176         (mpc--proc-connect): Parse and use new password element.
2177         Set mpc-proc variable instead of returning process.
2178         (mpc-proc): Adjust accordingly.
2180 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
2182         * whitespace.el (whitespace-display-mappings): Use Unicode
2183         codepoints, instead of emacs-mule codepoints.  See
2184         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2185         for the details.
2187         * files.el (file-truename): Don't skip symlink-chasing part on
2188         windows-nt.  Incorporate the resolution of 8+3 short aliases on
2189         Windows into the loop that recursively chases symlinks.
2190         Compare directory and its parent case-insensitively on MS-Windows and
2191         MS-DOS.
2193 2012-08-03  Chong Yidong  <cyd@gnu.org>
2195         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2197         * sort.el (sort-regexp-fields): Doc fix.
2199 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
2201         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2202         labels regex position point at the expected place.
2204 2012-08-03  MON KEY  <monkey@sandpframing.com>
2206         * net/imap.el (imap-interactive-login, imap-authenticate)
2207         (imap-mailbox-lsub, imap-mailbox-list)
2208         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2209         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2210         (imap-parse-response): Doc fix.
2212 2012-08-03  João Távora  <joaotavora@gmail.com>
2214         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2215         if sexp scanning does not move point (Bug#5734).
2217 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
2219         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2220         Add listings, minted, and ctable packages.
2221         (reftex-label-alist-builtin): Move listings, minted, and ctable
2222         entries before LaTeX.
2223         (reftex-label-alist): Docfix.
2225 2012-08-02  Bastien Guerry  <bzg@gnu.org>
2227         * replace.el (occur): Fix docstring (bug#12122).
2229 2012-08-02  Glenn Morris  <rgm@gnu.org>
2231         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2233 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
2235         Obsolete alias inactivate-current-input-method-function (Bug#10150).
2236         * international/mule-cmds.el: Create
2237         inactivate-current-input-method-function as an obsolete alias for
2238         deactivate-current-input-method-function.  See Katsumi Yamaoka in
2239         <http://bugs.gnu.org/10150#46>.
2241 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
2243         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2244         of nested `if's.
2246 2012-08-01  Glenn Morris  <rgm@gnu.org>
2248         * progmodes/autoconf.el (autoconf-definition-regexp):
2249         Add AH_TEMPLATE, adjust submatch numbering.
2250         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2251         (autoconf-current-defun-function): Update for above change.
2252         (autoconf-current-defun-function): First skip to end of current word.
2254 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
2256         * calendar/cal-html.el (cal-html-insert-agenda-days):
2257         Fix typo.  (Bug#12018)
2259 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
2261         Shell processes: enhancements to startup and CEDET compatibility.
2262         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2263         (python-shell-make-comint): accept-process-output at startup.
2264         (run-python-internal): Set inferior-python-mode-hook to nil.
2265         (python-shell-internal-get-or-create-process): call sit-for.
2266         (python-preoutput-result): Add obsolete alias.
2267         (python-shell-internal-send-string): Use it.
2268         (python-shell-send-setup-code): Remove call to
2269         accept-process-output.
2271 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
2273         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2274         (Bug#12108)
2276 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
2278         * calc-mode.el (calc-basic-simplification-mode): Rename from
2279         `calc-limited-simplification-mode'.
2280         (calc-alg-simplification-mode): New function.
2281         (calc-set-simplify-mode): Adjust message.
2283         * calc.el (calc-set-mode-line): Adjust mode line display for
2284         basic simplification mode.
2286         * calc-help.el (calc-m-prefix-help): Update help message.
2288         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2289         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2291 2012-07-31  Bastien Guerry  <bzg@gnu.org>
2293         * man.el (man): Fix comment.  (bug#12101)
2295 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
2297         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2298         Don't return a non-nil value when no suitable buffer was found.
2300 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
2302         * progmodes/python.el (run-python-internal): Disable font lock for
2303         internal shells.
2305 2012-07-30  Stefan Merten  <smerten@oekonux.de>
2307         * textmodes/rst.el: Silence `checkdoc-ispell'.
2308         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2309         (rst-official-version, rst-official-cvs-rev)
2310         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2311         (rst-mode-map): New key binding.
2313 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
2315         Update .PHONY listings in makefiles.
2316         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2317         autoloads, update-subdirs, updates, bzr-update, update-authors,
2318         compile-onefile, compile-calc, backup-compiled-files,
2319         compile-after-backup, compile-one-process, mh-autoloads,
2320         bootstrap-clean, distclean, maintainer-clean.
2322 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
2324         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2325         (calc-set-mode-line): Don't display "AlgSimp ".
2327         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2328         (calc-lim-simplify-mode): New function.
2329         (calc-set-simplify-mode): Default to 'alg.
2330         (calc-default-simplify-mode): Make algebraic simplifications
2331         the default.
2333         * calc/calc-ext.el (calc-init-extensions): Remove binding for
2334         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
2336         * calc/calc-help.el (calc-m-prefix-help): Change messages to
2337         indicate new simplification modes.
2339         * calc/README: Mention new default simplification mode.
2341         * calc/calc.el (math-normalize-error): New variable.
2342         (math-normalize): Set `math-normalize-error' to t
2343         when there's an error.
2345         * calc/calc-alg.el (math-simplify): Don't simplify when
2346         `math-normalize' returns an error.
2348 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
2350         * international/mule-cmds.el (set-locale-environment): Revert last
2351         change, since display-graphic-p returns nil when this function is
2352         called during startup.  Instead...
2354         * term/w32console.el (terminal-init-w32console): ...setup the
2355         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
2357 2012-07-29  Juri Linkov  <juri@jurta.org>
2359         * simple.el (goto-line): Don't display default line number in the
2360         prompt because it should be displayed by `read-number' (bug#9952).
2361         Add the current line number to the defaults of `goto-line' to
2362         allow its easier modification by users with `M-n' (bug#9201).
2364         * subr.el (read-number): Support multiple default values like in
2365         other minibuffer reading functions.  Replace `read' with
2366         `string-to-number' for consistency with `number-to-string'.
2368 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
2370         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2371         * emulation/viper-init.el (viper-deactivate-input-method-action):
2372         Rename from viper-inactivate-input-method-action.
2373         (viper-deactivate-input-method):
2374         Rename from viper-inactivate-input-method.
2375         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2376         * international/mule-cmds.el (deactivate-input-method):
2377         Rename from inactivate-input-method.
2378         Also run input-method-deactivate-hook.
2379         (deactivate-current-input-method-function):
2380         Rename from inactivate-current-input-method-function.
2381         (input-method-deactivate-hook): New hook.
2382         (input-method-inactivate-hook): Mark obsolete.
2383         (inactivate-input-method): Mark obsolete.
2385         * international/quail.el (quail-activate):
2386         Also run quail-deactivate-hook.
2387         (quail-deactivate): Rename from quail-inactivate.
2388         * international/robin.el (robin-activate):
2389         Also run robin-deactivate-hook.
2390         (robin-deactivate): Rename from robin-inactivate.
2392 2012-07-29  Chong Yidong  <cyd@gnu.org>
2394         * simple.el (indicate-copied-region): New function.
2395         (kill-ring-save): Split off from here.
2397         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2398         (kill-rectangle): Set deactivate-mark to t on read-only error.
2400         * register.el (copy-to-register, copy-rectangle-to-register):
2401         Deactivate the mark, and use indicate-copied-region (Bug#10056).
2402         (append-to-register, prepend-to-register):
2403         Call 2012-07-29  Juri Linkov  <juri@jurta.org>
2405         * simple.el (async-shell-command-buffer): New defcustom.
2406         (shell-command): Use it.  (Bug#4719)
2408 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
2410         * international/mule-cmds.el (set-locale-environment): In a
2411         console session on MS-Windows, set up keyboard and terminal
2412         encoding from the OEM codepage, not the ANSI codepage.
2413         (Bug#12055)
2415 2012-07-28  Chong Yidong  <cyd@gnu.org>
2417         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2418         gdb-get-location.
2420 2012-07-28  Leo Liu  <sdl.web@gmail.com>
2422         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2423         the alist (bug#12029).
2425 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
2427         * makefile.w32-in (custom-deps, finder-data, updates, compile)
2428         (compile-always, compile-first)
2429         ($(lisp)/calendar/cal-loaddefs.el)
2430         ($(lisp)/calendar/diary-loaddefs.el)
2431         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2432         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2433         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2434         instead of on update-subdirs.
2435         (bootstrap-clean): Delete $(lisp)/subdirs.el.
2437 2012-07-28  Chong Yidong  <cyd@gnu.org>
2439         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2440         directory if vc-deduce-backend returns nil (Bug#7350).
2442         * simple.el (delete-trailing-lines): New option.
2443         (delete-trailing-whitespace): Obey it (Bug#11879).
2445 2012-07-28  David Engster  <deng@randomsample.de>
2447         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2448         Explanation of new 'symbol-qnames feature in doc-strings.
2449         (xml-maybe-do-ns): Return expanded names as plain symbols if
2450         'symbol-qnames was provided in XML-NS argument (Bug#11916).
2451         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2453 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
2455         Consistent completion in inferior python with emacs -nw.
2456         * progmodes/python.el (inferior-python-mode): replace "<tab>"
2457         binding in inferior-python-mode-map with "\t".
2458         (python-shell-completion-complete-at-point)
2459         (python-completion-complete-at-point): Remove interactive spec.
2461 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
2463         * calc/calccomp.el (math-compose-expr): Undo previous change.
2465 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
2467         * progmodes/python.el (python-mode-map): Add keybinding for
2468         run-python.
2469         (python-shell-make-comint): Fix pop-to-buffer call.
2470         (run-python): Autoload.  New arg SHOW.
2471         (python-shell-get-or-create-process): Do not pop python process
2472         buffer.
2474 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
2476         * notifications.el (notifications-on-action-signal)
2477         (notifications-on-closed-signal): Use also the bus address for the map.
2478         (notifications-notify, notifications-close-notification)
2479         (notifications-get-capabilities): Add optional argument BUS.
2481 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
2483         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2484         Add support for the lstlisting and minted environments, and for the
2485         ctable macro.
2486         * textmodes/reftex.el (reftex-compile-variables): Also recognize
2487         labels written in keyvals syntax.
2489 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
2491         * calc/calccomp.el (math-compose-expr): Use parentheses when
2492         there is a product in the denominator of a fraction.
2494 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
2496         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2497         ($(lisp)/calendar/diary-loaddefs.el)
2498         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2499         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2500         Fixes failures in parallel bootstrap because subdirs.el is being
2501         rewritten while the autoload files are built at the same time,
2502         which needs to load subdirs.el.
2504 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
2506         * mouse.el (popup-menu): Fix doc-string and re-indent code.
2507         (mouse-drag-line): Don't exit tracking when a switch-frame or
2508         switch-window event occurs (Bug#12006).
2510 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2512         * mouse.el (popup-menu): Fix last change.
2514 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2516         Autoload from Lisp with more care.  Follow aliases when looking for
2517         function properties.
2518         * subr.el (autoloadp): New function.
2519         (symbol-file): Use it.
2520         (function-get): New function.
2521         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2522         autoload-do-load.
2523         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2524         (lisp-indent-function):
2525         * emacs-lisp/gv.el (gv-get):
2526         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2527         * emacs-lisp/byte-opt.el (byte-optimize-form):
2528         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2529         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2530         Use function-get.
2531         * emacs-lisp/cl.el: Don't propagate function properties any more.
2533         * speedbar.el (speedbar-add-localized-speedbar-support):
2534         * emacs-lisp/disass.el (disassemble-internal):
2535         * desktop.el (desktop-load-file):
2536         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2537         (describe-function-1):
2538         * emacs-lisp/find-func.el (find-function-noselect):
2539         * emacs-lisp/elp.el (elp-instrument-function):
2540         * emacs-lisp/advice.el (ad-has-proper-definition):
2541         * apropos.el (apropos-safe-documentation, apropos-macrop):
2542         * emacs-lisp/debug.el (debug-on-entry):
2543         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2544         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2545         * calc/calc.el (name): Use autoloadp & autoload-do-load.
2547 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
2549         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2550         function, not an obsolete variable (Bug#12046).
2552 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
2554         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
2556 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
2558         * emacs-lisp/pp.el (pp-display-expression): Select old selected
2559         window only if it is still live (Bug#12034).
2561 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
2563         * subr.el (redirect-frame-focus): Add advertised calling
2564         convention (Bug#12030).
2566 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
2568         Prefer typical American spelling for "acknowledgment".
2569         * vc/add-log.el (change-log-acknowledgment): Rename from
2570         change-log-acknowledgement, with an alias for the old name.
2572 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
2574         * calc-alg.el (math-simplify-divide): Don't cross multiply
2575         in an equation when the lhs is a variable.
2577 2012-07-24  Julien Danjou  <julien@danjou.info>
2579         * net/netrc.el (netrc-find-service-number, netrc-store-data):
2580         Remove, unused.
2582 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
2584         * startup.el (command-line): Don't display an empty user name in
2585         the error message about non-existent home directory, when
2586         init-file-user was set to an empty string.  See
2587         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2588         for the details and context.
2590 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2592         * ses.el (ses-cell-formula-aset): New macro.
2593         (ses-cell-references-aset): New macro.
2594         (ses-cell-p): New function.
2595         (ses-rename-cell): Do no longer rely on complex operations like
2596         ses-cell-set-formula or ses-set-cell to change the cell and handle
2597         the undo at the same time, but rather use lower level new macros
2598         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2599         the undo directly.  Refresh the mode line.
2601 2012-07-21  Leo Liu  <sdl.web@gmail.com>
2603         * progmodes/cc-cmds.el (c-defun-name):
2604         Use match-string-no-properties instead for consistency.
2606 2012-07-20  Leo Liu  <sdl.web@gmail.com>
2608         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2609         (Bug#7879)
2611         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2613 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2615         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2616         * progmodes/bug-reference.el, misearch.el: Provide themselves
2617         (bug#11915).
2619         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2620         of narrowed buffer (bug#11966).
2622 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2624         * ses.el (ses-rename-cell): Set new name also in reference list of
2625         cells of which the renamed cell depends.
2627 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
2629         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2630         to check whether menu-bar is shown or not.  If not shown,
2631         show the menu-bar as a popup menu instead of using tmm.
2632         * mouse.el (popup-menu): Accept `point' as `position' argument.
2634 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
2636         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2637         up inside string symbol literal (bug#11923).
2639 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
2641         * startup.el (fancy-startup-text): Read the whole tutorial, not
2642         just its first 256 bytes.  Prevents gibberish in display of the
2643         tutorial title.
2645 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
2647         Drop idle buffer compaction due to an absence of the
2648         proved efficiency.
2649         * compact.el: Remove.
2651 2012-07-19  Sam Steingold  <sds@gnu.org>
2653         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2654         vc-bzr-pull & vc-bzr-merge-branch.
2655         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2656         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2657         for consistency with compilation-error-regexp-alist.
2658         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2659         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2660         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2661         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2663 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2665         * emacs-lisp/chart.el: Use lexical-binding.
2666         (chart-emacs-storage): Don't hardcode the list of entries.
2668 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
2670         Next round of tweaks caused by Fgarbage_collect changes.
2671         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2673 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
2675         Compact buffers when idle.
2676         * compact.el: New file.
2678 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2680         * subr.el (eventp): Presume that if it looks vaguely like an event,
2681         it's an event (bug#10190).
2683 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
2685         Enhancements to ppss related code (thanks Stefan).
2686         * progmodes/python.el (python-indent-context)
2687         (python-indent-calculate-indentation, python-indent-dedent-line)
2688         (python-indent-electric-colon, python-nav-forward-block)
2689         (python-mode-abbrev-table)
2690         (python-info-assignment-continuation-line-p): Simplify checks
2691         for ppss context.
2692         (python-info-continuation-line-p): Cleanup.
2693         (python-info-ppss-context): Do not catch 'quote.
2694         (python-info-ppss-context-type)
2695         (python-info-ppss-comment-or-string-p): Simplify.
2697 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
2699         * progmodes/python.el: Enhancements to eldoc support.
2700         (python-info-current-symbol): New function.
2701         (python-eldoc-at-point): Use python-info-current-symbol.
2702         (python-info-current-defun): Fix cornercase on first defun scan.
2703         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2704         and signal error when no inferior python process is available.
2706 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
2708         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2709         assume it's always t.
2710         (vc-git-registered): Remove caching, the function is only called
2711         once.
2712         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2714 2012-07-18  Chong Yidong  <cyd@gnu.org>
2716         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2718         * simple.el (count-words): Report on narrowing (Bug#9959).
2720         * bindings.el: Bind M-= to count-words.
2722         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2724 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
2726         * progmodes/sh-script.el (sh-imenu-generic-expression):
2727         Capture a function with `function' keyword and without parentheses
2728         like "function FOO" (bug#11856).
2730 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
2732         * window.el (split-window-sensibly): Make WINDOW argument
2733         optional.
2735 2012-07-18  Chong Yidong  <cyd@gnu.org>
2737         * subr.el (keyboard-translate): Doc fix (Bug#7261).
2739         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2740         and make C-x 8 RET exit isearch (Bug#11439).
2742         * international/iso-transl.el: Move isearch-mode-map key
2743         definitions to isearch.el.
2745 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2747         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2748         (eieio-defclass): Use gv-define-setter when possible.
2750 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
2752         Reflect recent changes in Fgarbage_collect.
2753         * emacs-lisp/chart.el (chart-emacs-storage): Change to
2754         reflect new format of data returned by Fgarbage_collect.
2756 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2758         New utility functions + python-info-ppss-context fix (Bug#11910).
2759         * progmodes/python.el (python-info-beginning-of-block-statement-p)
2760         (python-info-ppss-comment-or-string-p): New functions.
2761         (python-info-ppss-context): Small fix for string check.
2763 2012-07-17  Juri Linkov  <juri@jurta.org>
2765         * dired-aux.el (dired-do-async-shell-command): Doc fix.
2766         (dired-do-async-shell-command): Don't add `*' at the end of the
2767         command (Bug#11815).
2768         (dired-do-shell-command): Doc fix.
2769         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2770         Join the individual commands using either "&" or ";" as the
2771         separator depending on the values of these trailing characters.
2772         At the end re-add the trailing "&".  (Bug#10598)
2774         * simple.el (async-shell-command): Sync the interactive spec with
2775         `shell-command'.  Doc fix.
2776         (shell-command): Doc fix.
2778 2012-07-17  Juri Linkov  <juri@jurta.org>
2780         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
2782 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2784         Final renames and doc fixes for movement commands (bug#11899).
2785         * progmodes/python.el (python-nav-beginning-of-statement):
2786         Rename from python-nav-statement-start.
2787         (python-nav-end-of-statement): Rename from
2788         python-nav-statement-end.
2789         (python-nav-beginning-of-block): Rename from
2790         python-nav-block-start.
2791         (python-nav-end-of-block): Rename from python-nav-block-end.
2793 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2795         * progmodes/python.el (python-shell-send-string-no-output):
2796         Allow accept-process-output to quit, keeping shell process ready for
2797         future interactions (Bug#11868).
2799 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2801         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2803         * emacs-lisp/elint.el (elint-find-args-in-code):
2804         Use help-function-arglist, so as to handle lexical byte-code.
2806         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2807         change (bug#11826).
2809 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2811         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2812         Avoid spuriously marking the buffer as modified because of c-is-sws.
2814         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2815         as not-a-comment (bug#11946).
2817         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2818         for uninterned vars.
2820         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2821         Use read-event since we don't really want to read chars but bytes.
2823         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2824         $$..$$ but also $..$ using regexps (bug#11953).
2825         Use tex-verbatim for \url and \path.
2826         (tex-font-lock-keywords): Define as defconst like the others.
2827         (tex-common-initialization): Don't use font-lock-syntax-table any more.
2829 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
2831         * international/mule-cmds.el (ucs-insert): Make it an obsolete
2832         alias for insert-char.
2834 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
2836         * progmodes/python.el: Simplified imenu implementation.
2837         (python-nav-jump-to-defun): Remove command.
2838         (python-mode-map): Use `imenu' instead.
2839         (python-nav-list-defun-positions-cache)
2840         (python-imenu-include-defun-type, python-imenu-make-tree)
2841         (python-imenu-subtree-root-label, python-imenu-index-alist):
2842         Remove vars.
2843         (python-nav-list-defun-positions, python-nav-read-defun)
2844         (python-imenu-tree-assoc, python-imenu-make-element-tree)
2845         (python-imenu-make-tree, python-imenu-create-index):
2846         Remove functions.
2847         (python-mode): Update to interact with imenu by setting
2848         `imenu-extract-index-name-function' only.
2850 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
2852         * progmodes/python.el: Enhancements to navigation commands.
2853         (python-nav-backward-sentence)
2854         (python-nav-forward-sentence): Remove.
2855         (python-nav-backward-statement, python-nav-forward-statement)
2856         (python-nav-statement-start, python-nav-statement-end)
2857         (python-nav-backward-block, python-nav-forward-block)
2858         (python-nav-block-start, python-nav-block-end)
2859         (python-nav-forward-sexp-function)
2860         (python-info-current-line-comment-p)
2861         (python-info-current-line-empty-p): New functions.
2862         (python-indent-context): Use `python-nav-statement-start'.
2864 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
2866         * eshell/em-ls.el (eshell/ls): Use `apply'.
2868         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2869         multi-hops, instead of Tramp internals.
2871         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2873         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2874         when F1 and F2 are located on different hosts.
2876 2012-07-14  Chong Yidong  <cyd@gnu.org>
2878         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2879         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2880         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2881         (xterm-mouse--read-event-sequence-1000)
2882         (xterm-mouse--read-event-sequence-1006): New functions.  For old
2883         mouse protocol, handle M-mouse-X events correctly.
2884         (xterm-mouse-event): New arg specifying mouse protocol.
2885         (turn-on-xterm-mouse-tracking-on-terminal)
2886         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
2887         sequence to toggle extended coordinates on newer XTerms.
2888         This appears to be harmless on terminals which do not support this.
2890 2012-07-14  Leo Liu  <sdl.web@gmail.com>
2892         Add fringe bitmap indicators for flymake.  (Bug#11253)
2893         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2894         (flymake-make-overlay): New arg BITMAP.
2895         (flymake-error-bitmap, flymake-warning-bitmap)
2896         (flymake-fringe-indicator-position): New user variables.
2898         * fringe.el: New bitmap exclamation-mark.
2900 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
2902         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2903         also (Bug#7879).
2905 2012-07-14  Chong Yidong  <cyd@gnu.org>
2907         * electric.el (electric-pair-post-self-insert-function): Fix pair
2908         insertion in empty-region case (Bug#11520).
2910 2012-07-14  Chong Yidong  <cyd@gnu.org>
2912         * bindings.el: Consolidate ctl-x-r-map bindings.
2913         Bind copy-rectangle-as-kill to C-x r w.
2915         * rect.el, register.el: Move bindings to bindings.el.
2917 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
2919         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2921 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
2923         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
2925 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
2927         * bindings.el (top): Use `mapc' instead of `mapcar'.
2929         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2931 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
2933         * progmodes/sql.el (sql-comint): Suppress the check for program on
2934         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
2935         (Bug#11908)
2937 2012-07-13  Chong Yidong  <cyd@gnu.org>
2939         * bindings.el: Assign a non-nil permanent-local property to
2940         per-buffer variables which lack a default value (Bug#11930).
2942         * help-fns.el (describe-variable): In the "automatically becomes
2943         local" notice, take note of permanent-local variables.
2945 2012-07-13  Chong Yidong  <cyd@gnu.org>
2947         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
2948         to allow printing the message when called from Lisp.
2950         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2951         Remove toggle-read-only.
2953         * bs.el (bs-toggle-readonly):
2954         * buff-menu.el (Buffer-menu-toggle-read-only):
2955         Remove with-no-warnings around toggle-read-only.
2957         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2958         Remove with-no-warnings around toggle-read-only.
2959         (ffap-read-only, ffap-read-only-other-window)
2960         (ffap-read-only-other-frame): Callers changed.
2962         * help-mode.el: Don't require view package.
2963         (help-mode-finish): Set buffer-read-only instead of calling
2964         toggle-read-only.
2966         * bindings.el (mode-line-toggle-read-only):
2967         * dired.el (dired-toggle-read-only):
2968         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2969         with non-nil second arg.
2971         * emacs-lisp/eieio-custom.el (eieio-customize-object):
2972         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2973         directly.
2975 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
2977         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2978         not incf.
2980 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2982         More CL cleanups and reduction of use of cl.el.
2983         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2984         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2985         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2986         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2987         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2988         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2989         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2990         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2991         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2992         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2993         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2994         * eshell/em-cmpl.el, eshell/em-banner.el:
2995         * calendar/parse-time.el: Use cl-lib.
2996         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2997         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2998         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2999         * term/ns-win.el, term.el, shell.el, ps-samp.el:
3000         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3001         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3002         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3003         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3004         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3005         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3006         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3007         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3008         `lambda' rather than with `quote'.
3009         (eshell-do-opt): Adjust accordingly.
3010         (eshell-process-option): Simplify.
3011         * eshell/esh-var.el:
3012         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3013         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3014         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3015         to `pcase--dontcare'.
3016         * emacs-lisp/cl.el (labels): Mark obsolete.
3017         (cl--letf, letf): Move to cl-lib.
3018         (cl--letf*, letf*): Remove.
3019         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3020         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3021         (cl-progv): Rewrite.
3022         (cl--letf, cl-letf): Move from cl.el.
3023         (cl-letf*): New macro.
3024         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3026 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
3028         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3030 2012-07-11  Chong Yidong  <cyd@gnu.org>
3032         * vc/log-edit.el (log-edit-vc-backend): New variable.
3033         (log-edit): Doc fix.
3035         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
3036         argument of log-edit to set up all local variables.
3037         (vc-start-logentry): New optional arg specifying VC backend.
3039         * vc/vc.el (vc-checkin): Use it.
3040         (vc-deduce-fileset): Handle Log Edit buffers.
3041         (vc-diff): Make first argument optional too.
3043         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3045 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
3047         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3048         command, just in case.  The function is not needed anymore.
3049         (eshell-external-command): Do not call `eshell-remote-command'.
3051 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3053         Reduce use of (require 'cl).
3054         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3055         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3056         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3057         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3058         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3059         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3060         * battery.el, avoid.el, abbrev.el: Use cl-lib.
3061         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3062         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3063         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3064         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3065         * calculator.el, autorevert.el, apropos.el: Don't require CL.
3066         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3067         (byte-compile-unfold-bcf, byte-compile-check-variable):
3068         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3069         (byte-compile-nilconstp):
3070         * emacs-lisp/autoload.el (make-autoload): Use pcase.
3071         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3073         * emacs-lisp/gv.el (cond): Make it a valid place.
3074         (if): Simplify slightly.
3076         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3077         (pcase--self-quoting-p): New function.
3078         (pcase--u1): Use it.
3080 2012-07-10  Glenn Morris  <rgm@gnu.org>
3082         * emacs-lisp/authors.el (authors-fixed-entries):
3083         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3085 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
3087         Rename configure.in to configure.ac (Bug#11603).
3088         * emacs-lisp/authors.el (authors-canonical-file-name):
3089         * progmodes/autoconf.el (autoconf-mode):
3090         Prefer configure.ac to configure.in.
3092 2012-07-08  Chong Yidong  <cyd@gnu.org>
3094         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3095         Implement the mouse-1-click-follows-link handling properly.
3097         * info.el (Info-link-keymap): Use follow-link mechanism for
3098         header-line links (Bug#374).
3100         * simple.el (deactivate-mark): Do not set the primary selection
3101         if another program has acquired it (Bug#11772).
3103 2012-07-07  Kevin Ryde  <user42@zip.com.au>
3105         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3106         (woman-decode-region): Replace escaped-escapes without destroying
3107         bold or underline (Bug#11552).
3108         (woman2-process-escapes): Handle nofill regions (Bug#11591).
3110 2012-07-07  Chong Yidong  <cyd@gnu.org>
3112         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3113         (interprogram-cut-function, interprogram-paste-function):
3114         Mention that we typically mean the clipboard.
3116 2012-07-06  Glenn Morris  <rgm@gnu.org>
3118         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
3120         * files.el (toggle-read-only): Restrict message to interactive use.
3122 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
3124         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3126         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3128 2012-07-06  Glenn Morris  <rgm@gnu.org>
3130         * Makefile.in (compile-one-process): Rename from "recompile".
3132         * Makefile.in (bzr-update): "compile" is the same as "recompile
3133         autoloads", but parallelizable, so use that instead.
3135 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
3137         * window.el (quit-window): Always restore window height when
3138         it's saved in quit-restore parameter (Bug#11810).
3140 2012-07-06  Glenn Morris  <rgm@gnu.org>
3142         * simple.el (kill-whole-line): Doc tweak.
3144 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
3146         * files.el (file-relative-name): Compare file names
3147         case-insensitively if on MS-Windows or MS-DOS, or if
3148         read-file-name-completion-ignore-case is non-nil.  Don't use
3149         case-fold-search for this purpose.  (Bug#11827)
3151 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
3153         * calendar/cal-dst.el (calendar-current-time-zone):
3154         Return calendar-current-time-zone-cache if non-nil.
3156 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
3157 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
3159         * calendar/cal-dst.el (calendar-current-time-zone):
3160         Return calendar-current-time-zone-cache if non-nil.
3162 2012-07-06  Glenn Morris  <rgm@gnu.org>
3164         * Makefile.in (cvs-update): Remove old alias.
3166 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
3168         Sync with Tramp 2.2.6-pre.
3170         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3171         compatible declaration.
3173         * net/tramp-cmds.el (tramp-append-tramp-buffers):
3174         Protect `list-load-path-shadows' call.
3176         * net/tramp-compat.el (top): Require packages, which aren't
3177         autoloaded anymore for XEmacs.  Protect call of
3178         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3179         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
3180         it hurts at least for SXEmacs.
3181         (tramp-compat-temporary-file-directory): In XEmacs, there is no
3182         standard-value for `temporary-file-directory'.
3184         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3185         Redirect stderr to /dev/null.
3186         (tramp-sh-handle-write-region): uid and gid can be floats.
3187         Reported by Russell Sim <russell.sim@gmail.com>.
3188         (tramp-sh-handle-vc-registered): Hide errors.
3189         (tramp-vc-file-name-handler): Use dummy results for `process-file'
3190         and `start-file-process'.
3191         (tramp-maybe-open-connection): Check also whether `non-essential'
3192         is bound.
3194 2012-07-04  Chong Yidong  <cyd@gnu.org>
3196         * xml.el (xml--parse-buffer): Use xml-syntax-table.
3197         (xml-parse-tag): Likewise, and avoid changing entity tables.
3198         (xml-syntax-table): Define from scratch, making sure not to give
3199         x2000 and other Unicode spaces whitespace syntax, since those are
3200         not spaces in XML.
3201         (xml-parse-fragment): Delete unused function.
3202         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3203         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3204         (xml-entity-ref, xml-pe-reference-re)
3205         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3206         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3207         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3208         (xml-entity-value-re): Use syntax references in regexps where
3209         possible; no need to define inside a let-binding.
3210         (xml-parse-dtd): Use xml-pe-reference-re.
3211         (xml-entity-or-char-ref-re): New defconst.
3212         (xml-parse-string, xml-substitute-special): Use it.
3214 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3216         * files.el (locate-dominating-file): Allow `name' to be a predicate.
3217         (find-file--read-only): New function.
3218         (find-file-read-only, find-file-read-only-other-window)
3219         (find-file-read-only-other-frame): Use it.
3220         (insert-file-contents-literally): Don't `fset'.
3221         (get-free-disk-space): Use locate-dominating-file.
3223         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3224         function is already compiled.
3226         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
3228 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
3230         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3231         files on the same host.
3233 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
3235         * help-fns.el (describe-function-1): Only call
3236         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
3238 2012-07-03  Chong Yidong  <cyd@gnu.org>
3240         * xml.el: Protect parser against XML bombs.
3241         (xml-entity-expansion-limit): New variable.
3242         (xml-parse-string, xml-substitute-special): Use it.
3243         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3245 2012-07-03  Glenn Morris  <rgm@gnu.org>
3247         * progmodes/bug-reference.el (bug-reference-bug-regexp):
3248         Allow linking to specific messages in debbugs reports (eg 123#5).
3250 2012-07-02  Chong Yidong  <cyd@gnu.org>
3252         * xml.el: Fix entity and character reference expansion, allowing
3253         them to expand into markup as per XML spec.
3254         (xml-default-ns): New variable.
3255         (xml-entity-alist): Use XML spec definitions for lt and amp.
3256         (xml-parse-region): Make first two arguments optional.
3257         Discard text properties.
3258         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3259         All callers changed.
3260         (xml-parse-tag): Call xml-parse-tag-1.  For backward
3261         compatibility, this function should not modify buffer contents.
3262         (xml-parse-tag-1): Fix opening-tag regexp.
3263         (xml-parse-string): Rewrite, handling entity and character
3264         references properly.
3265         (xml--entity-replacement-text): Signal an error if a parameter
3266         entity is undefined.
3268 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3270         * comint.el (comint-output-filter): Filter out repeated prompts.
3272         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3273         and file-name-absolute-p.
3274         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3275         internal calls.
3277 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
3279         Spelling fixes.
3280         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3281         Rename from byte-compile--refiy-function.  All uses changed.
3283 2012-07-01  Chong Yidong  <cyd@gnu.org>
3285         * xml.el (xml--parse-buffer): New function.  Move most of
3286         xml-parse-region here.
3287         (xml-parse-region): Copy region into a temporary buffer, since
3288         parameter entity substitution requires changing buffer contents.
3289         Use xml--parse-buffer.
3290         (xml-parse-file): Use xml--parse-buffer.
3291         (xml-parse-dtd): Make parameter entity substitution work right.
3292         Use proper regexps for ELEMENT declarations (Bug#7172).
3294 2012-06-30  Glenn Morris  <rgm@gnu.org>
3296         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3298         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3299         Remove outdated and unnecessary dbus declarations.
3301 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
3303         * emacs-lisp/timer.el (timer-until): Subtract results of
3304         float-time, instead of taking float-time of the result of
3305         time-subtract, since float-time signals an error for negative time
3306         arguments.
3308 2012-06-30  Chong Yidong  <cyd@gnu.org>
3310         * xml.el (xml-*-re): Convert defvars into defconsts, and
3311         eval-and-compile them so eval-and-compile works on derivatives.
3312         (xml--entity-replacement-text): Use eval-and-comple.
3314 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
3316         * vc/vc-git.el (vc-git-registered): Use cache property
3317         `git-registered'.
3318         (vc-git-mode-line-string): Call `vc-working-revision' instead of
3319         `vc-git-working-revision' in order to benefit from the cache.
3320         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
3322 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
3324         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3325         removed (likely outside Emacs).  (Bug#11757)
3327 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3329         * emacs-lisp/cl-lib.el: Require macroexp.
3331 2012-06-30  Chong Yidong  <cyd@gnu.org>
3333         * xml.el: Implement XML parameter entities.
3334         (xml-parameter-entity-alist): New variable.
3335         (xml-parse-region, xml-parse-fragment): Preserve previous values
3336         of xml-entity-alist and xml-parameter-entity-alist, so that
3337         repeated calls on different documents do not change them.
3338         (xml-parse-tag): Fix doctype regexp.
3339         (xml--entity-replacement-text): New function.
3340         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
3341         properly requires url retrieval which is unimplemented.
3342         (xml-escape-string): Doc fix.
3344 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3346         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3348 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
3350         * fringe.el (fringe-mode): Doc fix.
3352 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
3354         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3355         is non-nil.
3356         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3357         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
3359 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
3361         * calendar/cal-dst.el (calendar-current-time-zone):
3362         Return calendar-current-time-zone-cache if non-nil.
3364 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
3366         * progmodes/which-func.el (which-func-format):
3367         Add mouse-face.  (Bug#11698)
3369 2012-06-29  Leo Liu  <sdl.web@gmail.com>
3371         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3373 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3375         * minibuffer.el (minibuffer-confirm-exit-commands):
3376         Add completion-at-point (bug#11725).
3378 2012-06-29  Glenn Morris  <rgm@gnu.org>
3380         * progmodes/f90.el (f90-font-lock-keywords-2):
3381         Add some preprocessor elements.  (Bug#10499)
3383 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3385         * progmodes/cperl-mode.el (cperl-update-syntaxification):
3386         Use syntax-propertize (bug#11739).
3388 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
3390         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3392 2012-06-28  Julien Danjou  <julien@danjou.info>
3394         * term.el (term-handle-colors-array): Use a set of new faces to
3395         color the terminal.  Also uses :inverse-video property.
3396         (term-default-fg-color): Set to nil by default, deprecate in favor
3397         of `term-face'.
3398         (term-default-bg-color): Set to nil by default, deprecate in favor
3399         of `term-face'.
3400         (term-current-face): Use `term-face' by default.
3401         (term-bold-attribute): Variable deleted.
3403 2012-06-28  Glenn Morris  <rgm@gnu.org>
3405         * simple.el (completion-list-mode-finish):
3406         Don't use toggle-read-only.  (Since completion-list-mode has
3407         a special mode-class, it wasn't doing anything extra anyway.)
3409 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3411         Make inlining of other-mode interpreted functions work (bug#11799).
3412         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3413         (byte-compile): Use it to fix compilation of lexical-binding closures.
3414         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3415         function, if needed.
3417 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3419         * help-mode.el (help-make-xrefs): Don't just withstand
3420         cyclic-variable-indirection but any error in documentation-property.
3422         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3423         memory use.
3424         * bindings.el (bindings--define-key): New function.
3425         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3426         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3427         * bindings.el: Use it to purecopy define-key bindings.
3429         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3431         * emacs-lisp/cl.el (flet): Mark obsolete.
3432         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3433         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3434         * progmodes/js.el (js-c-fill-paragraph):
3435         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3436         (ebrowse-switch-member-buffer-to-derived-class):
3437         * play/5x5.el (5x5-solver): Use cl-flet.
3439         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
3440         (cl--symbol-function): New macro.
3441         (cl--letf, cl--letf*): Use it.
3443         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3444         Strip "toggle-" if any.
3446 2012-06-27  Glenn Morris  <rgm@gnu.org>
3448         * info.el (Info-default-directory-list): Move here from paths.el.
3449         * paths.el: Remove file, which is now empty.
3450         * loadup.el: No longer load "paths".
3452         * custom.el (custom-initialize-delay): Doc fix.
3454         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3455         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3456         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3457         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3458         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3459         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3460         * eshell/eshell.el (eshell-defgroup): Remove alias.
3462 2012-06-27  Chong Yidong  <cyd@gnu.org>
3464         * help.el (help-enable-auto-load): New variable.
3466         * help-fns.el (help-fns--autoloaded-p): New function.
3467         (describe-function-1): Refer to a function as "autoloaded" if it
3468         was autoloaded at any time in the past.  Perform autoloading if
3469         help-enable-auto-load is non-nil.
3471 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
3473         * makefile.w32-in (compile, compile-always): Depend on
3474         update-subdirs, not on subdirs.el.  Otherwise, several different
3475         sub-targets of 'bootstrap' running in parallel could
3476         simultaneously write to subdirs.el, producing a garbled file.
3478 2012-06-26  Sam Steingold  <sds@gnu.org>
3480         * files.el (file-name-base): New convenience function.
3481         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3482         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3483         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3484         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3485         * textmodes/ispell.el, textmodes/reftex-ref.el:
3486         * textmodes/tex-mode.el: Use it.
3487         Did not touch cedet and org because they are maintained elsewhere.
3489 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
3491         * calendar/calendar.el (calendar-exit): Don't try to delete or
3492         iconify last frame.  See:
3493         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3495 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
3497         * server.el (server-process-filter): Remember dir in the
3498         process's `server-client-directory' properties.
3500 2012-06-24  Chong Yidong  <cyd@gnu.org>
3502         * xml.el (xml-parse-tag): Correctly handle comment embedded in
3503         non-tag text.
3505 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
3507         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3509 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3511         * help-fns.el (describe-variable): Don't croak when doc is not found.
3512         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3513         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3514         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3515         * emacs-lisp/smie.el (smie-next-sexp): CSE.
3516         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3517         ((lambda ..) ..).
3518         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3520 2012-06-23  Chong Yidong  <cyd@gnu.org>
3522         * info.el (Info-mouse-follow-link): Accept symbol values of
3523         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
3524         (Info-fontify-node): Use Info-link-keymap for all navigation
3525         buttons, with link-args property to perform the desired action.
3526         (Info-link-keymap): Doc fix.
3527         (Info-next-link-keymap, Info-prev-link-keymap)
3528         (Info-up-link-keymap): Delete now-unused keymaps.
3530 2012-06-23  Chong Yidong  <cyd@gnu.org>
3532         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3534         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3535         system abbrevs.
3537         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3539 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3541         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3542         (bug#11719).
3544         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3545         the requote function doesn't work properly (bug#11714).
3547 2012-06-23  Glenn Morris  <rgm@gnu.org>
3549         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3551 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3553         Further GV/CL cleanups.
3554         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3555         gv-expander.
3556         (gv--defun-declaration): New function.
3557         (defun-declarations-alist): Use it.
3558         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3559         (gv-place): Autoload.
3560         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3561         original definition of dotimes and dolist.
3562         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3563         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3564         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3565         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3566         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3567         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3568         to the function's definition.
3569         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3570         * window.el:
3571         * files.el:
3572         * faces.el:
3573         * env.el: Don't use CL.
3575 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
3577         Support higher-resolution time stamps (Bug#9000).
3579         * calendar/time-date.el (with-decoded-time-value): New arg
3580         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
3581         (encode-time-value): New optional arg PICO.  New type 3.
3582         (time-to-seconds) [!float-time]: Support the new picoseconds
3583         component if it's used.
3584         (seconds-to-time, time-subtract, time-add):
3585         Support ps-resolution time stamps as well.
3587         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
3588         (timerp): Timer vectors now have length 9, not 8.
3589         (timer--time): Support new-style (4-part) time stamps.
3590         (timer-next-integral-multiple-of-time): Time stamps now have
3591         picosecond resolution, so take a bit more care about rounding.
3592         (timer-relative-time, timer-inc-time): New optional arg psecs.
3593         (timer-set-time-with-usecs): Set psecs to 0.
3594         (timer--activate): Check psecs component, too.
3596         * proced.el (proced-time-lessp): Support ps-resolution stamps.
3598 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3600         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3601         Move the non-essential binding to the post/pre-command-hook where it is
3602         more obviously correct.
3604         * subr.el (read-passwd): Don't use a history at all.
3605         * savehist.el (savehist-save): Remove password saved accidentally
3606         because of the above bug.
3608 2012-06-22  Bastien Guerry  <bzg@gnu.org>
3610         * files.el (toggle-read-only): Display a message telling whether
3611         the buffer is read-only or not (bug#11726).
3613 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3615         * emacs-lisp/gv.el: New file.
3616         * subr.el (push, pop): Extend to generalized variables.
3617         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3618         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3619         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
3620         gv-define-simple-setter, and gv-define-expander.
3621         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
3622         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3623         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3624         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3625         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3626         gv-letplace.
3627         (cl-defstruct): Don't define setf-method any more.
3628         * emacs-lisp/cl.el (flet): Don't autoload.
3629         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3630         (define-setf-expander, defsetf, define-modify-macro)
3631         (cl-struct-setf-expander): Move from cl-lib.el.
3632         * emacs-lisp/syntax.el:
3633         * emacs-lisp/ewoc.el:
3634         * emacs-lisp/smie.el:
3635         * emacs-lisp/cconv.el:
3636         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3637         (timer--time): Use gv-define-simple-setter.
3638         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3639         to avoid coding-system problems in subr.el.  Adjust all users.
3640         (macroexp--maxsize, macroexp-small-p): New functions.
3641         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3642         * scroll-bar.el (scroll-bar-mode):
3643         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3644         (normal-erase-is-backspace-mode): Don't use the `eq' place.
3645         * winner.el (winner-configuration, winner-make-point-alist)
3646         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3647         * files.el (locate-file-completion-table): Avoid list*.
3649 2012-06-22  Chong Yidong  <cyd@gnu.org>
3651         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3652         (dired-create-files): Doc fix (Bug#11329).
3653         (dired-do-copy): Doc fix (Bug#11334).
3654         (dired-mark-read-string): Doc fix (Bug#11553).
3656         * dired.el (dired-recursive-copies, dired-recursive-deletes):
3657         Doc fix (Bug#11326).
3658         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
3659         (dired-dwim-target): Doc fix.
3661         * wdired.el (wdired-mode): Doc fix.
3663 2012-06-22  Glenn Morris  <rgm@gnu.org>
3665         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3666         (pcmpl-rpm-cache-stamp-file): New constant.
3667         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3668         (pcmpl-rpm-packages): Optionally cache list of packages.
3670         * pcmpl-rpm.el (pcmpl-rpm): New group.
3671         (pcmpl-rpm-query-options): New option.
3672         (pcmpl-rpm-packages): No need to inline it.
3673         Use pcmpl-rpm-query-options.
3675         * calendar/calendar.el (calendar-in-read-only-buffer):
3676         Avoid some needless mode changes.
3678 2012-06-21  Chong Yidong  <cyd@gnu.org>
3680         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3681         (desktop-path): Remove . from the default value (Bug#10977).
3682         (desktop-read): Use user-emacs-directory if desktop-path is nil.
3684 2012-06-20  Chong Yidong  <cyd@gnu.org>
3686         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3688 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
3690         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3691         (bug#11201).
3693 2012-06-20  Chong Yidong  <cyd@gnu.org>
3695         * term.el (term-window-width): Handle the case of a missing right
3696         fringe (Bug#8837).
3697         (term-check-size): Use window-text-height (Bug#5445).
3698         (term-mode): Use define-derived-mode.  Minor cleanups.
3699         Set font-lock-defaults (Bug#7692).
3700         (term-move-columns, term-insert-char, term-emulate-terminal)
3701         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
3703 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
3705         * net/ange-ftp.el (ange-ftp-get-passwd):
3706         Bind `enable-recursive-minibuffers'.
3707         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3709 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
3711         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3713 2012-06-19  Glenn Morris  <rgm@gnu.org>
3715         * progmodes/python.el (python-mode): Derive from prog-mode.
3717 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
3719         * emulation/edt.el (edt-default-menu-bar-update-buffers)
3720         (edt-user-menu-bar-update-buffers): New functions.
3721         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3723 2012-06-19  Chong Yidong  <cyd@gnu.org>
3725         * subr.el (with-selected-window): Preserve the selected window's
3726         terminal's top-frame (Bug#4702).
3728         * window.el (save-selected-window): Likewise.
3730 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3732         * progmodes/python.el (python-rx-constituents): Move backquote.
3733         (python-skeleton-define, python-define-auxiliary-skeleton):
3734         Use `declare'.
3736 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
3738         * minibuffer.el (read-file-name-default): Revert the patch from
3739         2012-06-17.
3741 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3743         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3744         (pcase--u1, pcase--q1): Don't use apply-partially.
3746 2012-06-18  Glenn Morris  <rgm@gnu.org>
3748         * progmodes/python.el (python-proc, python-buffer)
3749         (python-send-receive, python-send-string): Fix obsolete versions.
3751 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
3753         * window.el (special-display-p): Completely remove stringp
3754         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3756 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
3758         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3760         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3762         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3763         * net/tramp-sh.el (tramp-maybe-open-connection):
3764         Throw if `non-essential' is non-nil.
3766 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
3768         * window.el (special-display-p): Signal an error if BUFFER-NAME
3769         is not a string (Bug#11713).
3771 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
3773         * progmodes/python.el (python-info-beginning-of-backslash):
3774         Rename from python-info-beginning-of-backlash, as a spelling fix.
3776 2012-06-17  Chong Yidong  <cyd@gnu.org>
3778         * term.el (term-emulate-terminal): If term-check-size is called,
3779         move point to the process mark without resetting point (Bug#4635).
3781 2012-06-17  Glenn Morris  <rgm@gnu.org>
3783         * international/mule-cmds.el (mule-menu-keymap)
3784         (set-language-environment, set-locale-environment): Doc tweaks.
3786 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
3788         * cus-face.el (custom-face-attributes): Add wave-style underline
3789         attribute.
3790         * faces.el (set-face-attribute): Update docstring to describe
3791         wave-style underline attribute.
3793 2012-06-16  Chong Yidong  <cyd@gnu.org>
3795         * term/xterm.el (terminal-init-xterm): Discard input before
3796         querying background mode (Bug#10959).
3798 2012-06-16  Stefan Merten  <smerten@oekonux.de>
3800         * textmodes/rst.el: Added and corrected some comments.
3801         (rst-re-alist-def): Improve symbol syntax.
3802         (rst-mode-syntax-table): Correct syntax entries.
3803         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3804         (rst-official-version, rst-official-cvs-rev): Update version
3805         information.
3807 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
3809         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3810         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3812 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
3814         * progmodes/python.el: New python.el merge.
3815         (python-guess-indent): Obsolete var.
3816         (python-indent-guess-indent-offset): New defcustom.
3817         (python-indent): Obsolete var.
3818         (python-indent-offset): New defcustom.
3819         (python-python-command, python-jython-command): Delete var.
3820         (python-shell-interpreter): New defcustom.
3821         (python-pdbtrack-do-tracking-p): Delete var.
3822         (python-pdbtrack-activate): New defcustom.
3823         (python-use-skeletons): Obsolete var.
3824         (python-skeleton-autoinsert): New defcustom.
3825         (inferior-python-filter-regexp, python-continuation-offset)
3826         (python-honour-comment-indentation, python-indent-string-contents)
3827         (python-jython-packages, python-mode-hook)
3828         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3829         (python-shell-prompt-alist)
3830         (python-source-modes): Delete defcustoms.
3831         (python-check-buffer-name, python-eldoc-setup-code)
3832         (python-eldoc-string-code, python-ffap-setup-code)
3833         (python-ffap-string-code, python-fill-comment-function)
3834         (python-fill-decorator-function, python-fill-paren-function)
3835         (python-fill-string-function, python-imenu-include-defun-type)
3836         (python-imenu-make-tree, python-imenu-subtree-root-label)
3837         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3838         (python-shell-compilation-regexp-alist)
3839         (python-shell-completion-module-string-code)
3840         (python-shell-completion-pdb-string-code)
3841         (python-shell-completion-setup-code)
3842         (python-shell-completion-string-code)
3843         (python-shell-enable-font-lock, python-shell-exec-path)
3844         (python-shell-extra-pythonpaths)
3845         (python-shell-internal-buffer-name, python-shell-interpreter-args)
3846         (python-shell-process-environment)
3847         (python-shell-prompt-block-regexp)
3848         (python-shell-prompt-output-regexp)
3849         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3850         (python-shell-send-setup-max-wait, python-shell-setup-codes)
3851         (python-shell-virtualenv-path): New defcustoms.
3852         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3853         (inferior-python-mode-syntax-table, python--prompt-regexp)
3854         (python-buffer, python-command python-python-command)
3855         (python-default-template, python-imports, python-indent-index)
3856         (python-indent-list, python-indent-list-length)
3857         (python-mode-running, python-pdbtrack-is-tracking-p)
3858         (python-preoutput-continuation, python-preoutput-leftover)
3859         (python-preoutput-result, python-preoutput-skip-next-prompt)
3860         (python-prev-dir/file, python-recursing)
3861         (python-saved-check-command, python-version-checked)
3862         (python-which-func-length-limit)
3863         (view-return-to-alist): Delete vars.
3864         (python-check-custom-command, python-dotty-syntax-table)
3865         (python-imenu-index-alist, python-indent-current-level)
3866         (python-indent-dedenters, python-indent-levels)
3867         (python-nav-beginning-of-defun-regexp)
3868         (python-nav-list-defun-positions-cache)
3869         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3870         (python-shell-internal-buffer)
3871         (python-skeleton-available): New vars.
3872         (def-python-skeleton): Delete macro.
3873         (python-skeleton-define): New macro.
3874         (python-define-auxiliary-skeleton, python-rx): New macros.
3875         (python-insert-class): Delete command.
3876         (python-skeleton-class): New command.
3877         (python-insert-def): Delete command.
3878         (python-skeleton-def): New command.
3879         (python-insert-for): Delete command.
3880         (python-skeleton-for): New command.
3881         (python-insert-if): Delete command.
3882         (python-skeleton-if): New command.
3883         (python-insert-try/except, python-insert-try/finally): Delete commands.
3884         (python-skeleton-try): New command.
3885         (python-insert-while): Delete command.
3886         (python-skeleton-while): New command.
3887         (python-backspace): Delete command.
3888         (python-indent-dedent-line-backspace): New command.
3889         (python-electric-colon): Delete command.
3890         (python-indent-electric-colon): New command.
3891         (python-guess-indent): Delete command.
3892         (python-indent-guess-indent-offset): New command.
3893         (python-shift-left): Delete command.
3894         (python-indent-shift-left): New command.
3895         (python-shift-right): Delete command.
3896         (python-indent-shift-right): New command.
3897         (python-find-function): Delete command.
3898         (python-nav-jump-to-defun): New command.
3899         (python-next-statement): Delete command.
3900         (python-nav-forward-sentence): New command.
3901         (python-previous-statement): Delete command.
3902         (python-nav-backward-sentence): New command.
3903         (python-fill-paragraph): Delete command.
3904         (python-fill-paragraph-function): New command.
3905         (python-send-buffer): Delete command.
3906         (python-shell-send-buffer): New command.
3907         (python-send-defun): Delete command.
3908         (python-shell-send-defun): New command.
3909         (python-send-region, python-send-region-and-go): Delete commands.
3910         (python-shell-send-region)
3911         (python-shell-switch-to-shell): New commands.
3912         (python-send-string): Delete command.
3913         (python-shell-send-string): New command.
3914         (python-switch-to-python): Delete command.
3915         (python-shell-switch-to-shell): New command.
3916         (python-describe-symbol): Delete command.
3917         (python-eldoc-at-point): New command.
3918         (python--set-prompt-regexp, python-args-to-list)
3919         (python-after-info-look, python-check-version)
3920         (python-check-comint-prompt, python-find-imports)
3921         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3922         (python-unload-function, python-expand-template)
3923         (python-maybe-jython, python-preoutput-filter)
3924         (python-pdbtrack-get-source-buffer)
3925         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3926         (python-pdbtrack-toggle-stack-tracking)
3927         (python-pdbtrack-track-stack-file, python-initial-text)
3928         (python-first-word, python-comment-line-p, python-send-command)
3929         (python-setup-brm, python-sentinel, python-set-proc)
3930         (python-skip-out, python-input-filter, python-outdent-p)
3931         (python-outline-level, python-backslash-continuation-line-p)
3932         (python-end-of-block, python-end-of-statement, python-mark-block)
3933         (python-beginning-of-block, python-beginning-of-statement)
3934         (python-blank-line-p, python-beginning-of-string)
3935         (python-open-block-statement-p): Delete functions.
3936         (python-indent-line, python-indent-line-1): Delete functions.
3937         (python-indent-line): New function.
3938         (python-indentation-levels): Delete function.
3939         (python-indent-calculate-levels): New function.
3940         (python-proc): Delete function.
3941         (python-shell-get-process): New function.
3942         (python-send-receive): Delete function.
3943         (python-shell-send-string-no-output): New function.
3944         (python-module-path): Delete function.
3945         (python-ffap-module-path): New function.
3946         (python-completion-at-point)
3947         (python-symbol-completions): Delete functions.
3948         (python-completion-complete-at-point): New function.
3949         (python-load-file): Delete function.
3950         (python-shell-send-file): New function.
3951         (python-calculate-indentation): Delete function.
3952         (python-indent-calculate-indentation): New function.
3953         (python-skip-comments/blanks): Delete function.
3954         (python-util-forward-comment): New function.
3955         (python-continuation-line-p): Delete function.
3956         (python-info-continuation-line-p): New function.
3957         (python-which-func, python-current-defun): Delete function.
3958         (python-info-current-defun): New function.
3959         (python-beginning-of-defun): Delete function.
3960         (python-nav-beginning-of-defun): New function.
3961         (python-close-block-statement-p)
3962         (python-block-end-p): Delete function.
3963         (python-info-closing-block): New function.
3964         (python-comint-output-filter-function)
3965         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3966         (python-fill-comment, python-fill-decorator, python-fill-paren)
3967         (python-fill-string, python-imenu-make-element-tree)
3968         (python-imenu-make-tree, python-imenu-tree-assoc)
3969         (python-indent-context, python-indent-dedent-line)
3970         (python-indent-line-function)
3971         (python-indent-post-self-insert-function)
3972         (python-indent-toggle-levels)
3973         (python-info-assignment-continuation-line-p)
3974         (python-info-beginning-of-backlash)
3975         (python-info-block-continuation-line-p)
3976         (python-info-closing-block-message)
3977         (python-info-line-ends-backslash-p)
3978         (python-info-looking-at-beginning-of-defun)
3979         (python-info-ppss-context, python-info-ppss-context-type)
3980         (python-nav-list-defun-positions, python-nav-read-defun)
3981         (python-nav-sentence-end, python-nav-sentence-start)
3982         (python-pdbtrack-comint-output-filter-function)
3983         (python-pdbtrack-set-tracked-buffer)
3984         (python-shell-calculate-exec-path)
3985         (python-shell-calculate-process-environment)
3986         (python-shell-completion--do-completion-at-point)
3987         (python-shell-completion--get-completions)
3988         (python-shell-completion-complete-at-point)
3989         (python-shell-completion-complete-or-indent)
3990         (python-shell-get-or-create-process)
3991         (python-shell-get-process-name)
3992         (python-shell-internal-get-or-create-process)
3993         (python-shell-internal-get-process-name)
3994         (python-shell-internal-send-string, python-shell-make-comint)
3995         (python-shell-parse-command, python-shell-send-setup-code)
3996         (python-skeleton-add-menu-items)
3997         (python-util-clone-local-variables, python-util-position)
3998         (run-python-internal, python-indentation-levels)
3999         (python-nav-beginning-of-defun)
4000         (python-completion-complete-at-point): New functions.
4001         (run-python): Change arguments.  New API requirements.
4003 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4005         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4006         (bug#11649).
4008         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4009         (macroexp--expand-all): Use it.
4011         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4012         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4013         Use `cl-function' instead.
4015 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
4017         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4018         Suggested by Stefan Monnier while discussing bug#11657.
4020 2012-06-14  Sam Steingold  <sds@gnu.org>
4022         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4024 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4026         * play/doctor.el (doctor-doc): Remove parameter and use
4027         doctor-sent instead of sent.
4028         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
4030 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4032         * files.el: Require cl-lib.
4033         (file-name-non-special): Replace case -> cl-case.
4035         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4037         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4038         mapping from #' to function*.
4040 2012-06-13  Chong Yidong  <cyd@gnu.org>
4042         * mouse.el (mouse-drag-track): Do not set the mark if the user
4043         releases the mouse without selecting anything (Bug#11588).
4045 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4047         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4048         as well (bug#11646).
4050         * loadup.el: Count byte-code functions as well.
4052         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4053         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4055         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4056         (bug#11649).  Add cl-defun and cl-defmacro.
4058 2012-06-13  Drew Adams  <drew.adams@oracle.com>
4060         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4061         Fix last change.
4063 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
4065         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4066         Otherwise, it blocks in batch mode.
4068 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
4070         * help-mode.el (bookmark-make-record-default): Declare.
4072 2012-06-13  Chong Yidong  <cyd@gnu.org>
4074         * emacs-lisp/package.el (list-packages): Compute a list of
4075         packages that are newly-available since the last list-packages
4076         invocation.
4077         (package-menu--new-package-list): New var.
4078         (package-menu--generate, package-menu--print-info)
4079         (package-menu--status-predicate, package-menu-mark-install):
4080         Handle new status label "new".
4082 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4084         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4085         conversion to backquotes.
4087 2012-06-12  Chong Yidong  <cyd@gnu.org>
4089         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4090         Rename from gud-inhibit-global-bindings.
4092         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4094         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4095         hook from nxml-glyph-set-hook.
4097         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4098         declaration.
4100         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4102         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4103         Convert to defcustom.
4105 2012-06-12  Drew Adams  <drew.adams@oracle.com>
4107         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4108         New functions.
4109         (help-mode): Use them.
4111 2012-06-11  Glenn Morris  <rgm@gnu.org>
4113         * progmodes/fortran.el (fortran-font-lock-keywords-3):
4114         Use preprocessor face for directives.
4115         (fortran-directive-re): Doc fix.
4117 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4119         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4120         conversion to backquotes (bug#11652).
4122         Fix compiler-expansion of CL's cXXr functions (bug#11673).
4123         * emacs-lisp/cl-lib.el (cl--defalias): New function.
4124         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4125         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4126         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4127         (cl-ninth, cl-tenth): Mark them as inlinable.
4128         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4129         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4130         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4131         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4132         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4133         (cl-list*, cl-adjoin): Don't put an autoload manually.
4134         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4135         (cl--compiler-macro-list*): Add autoload cookie.
4136         (cl--compiler-macro-cXXr): New function.
4138         * help-fns.el (help-fns--compiler-macro): New function extracted from
4139         describe-function-1; follow aliases and use `compiler-macro' property.
4140         (describe-function-1): Use it.
4142 2012-06-11  Chong Yidong  <cyd@gnu.org>
4144         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4145         is uninstalled, if imagemagick is installed.
4147 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4149         * emacs-lisp/cl-lib.el: Use lexical-binding.
4150         (cl-map-extents, cl-maclisp-member): Remove.
4151         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4152         (cl--set-substring, cl--block-wrapper, cl--block-throw)
4153         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4154         * emacs-lisp/cl-extra.el: Use lexical-binding.
4155         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4156         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4157         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4158         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4159         * emacs-lisp/cl-seq.el: Use lexical-binding.
4160         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4161         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4162         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4163         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4164         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4165         CL's internals.
4167 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
4169         Sync with Tramp 2.2.6-pre.
4171         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4172         `print-length' and `print-level' to nil, in order to avoid
4173         truncation.  Reported by Christopher Schmidt
4174         <christopher@ristopher.com>.
4176         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4178         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4179         New defmacro.
4180         (tramp-compat-copy-directory): Add optional argument
4181         COPY-CONTENTS.  It is not handled yet.
4183         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4184         (tramp-ftp-file-name-p): Simplify.
4186         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4187         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4188         connection vector.
4190         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4191         (tramp-methods): Do not use `tramp-password-end-of-line'.
4192         (tramp-completion-function-alist-putty): Handle UNIX case.
4193         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4194         (tramp-do-file-attributes-with-stat)
4195         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4196         gid as real numbers.  They could run out of integer range on cygwin.
4197         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4198         (tramp-sh-handle-expand-file-name): Handle hops.
4199         (tramp-open-connection-setup-interactive-shell):
4200         Use `tramp-cleanup'.  Move check for busyboxes ...
4201         (tramp-find-shell): ... here.  Simplify implementation.
4202         Set "remote-shell" property also for alternative shells.
4203         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4204         If failing, a regular file would be written otherwise.
4205         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4206         (tramp-find-inline-encoding): Cache the coding commands in the
4207         process cache.  Apply test command on the remote side, if defined.
4208         (tramp-find-inline-compress): Cache the compress commands in the
4209         process cache.
4210         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4211         when requested.  Handle hops.
4212         (tramp-current-connection): New defvar.
4213         (tramp-maybe-open-connection): Use `tramp-cleanup'.
4214         Throw `suppress', if there was a failed connection shortly before.
4215         Handle user interrupt.  (Bug#10187)
4216         (tramp-get-inline-compress, tramp-get-inline-coding):
4217         Read connection properties from the process cache.
4219         * net/tramp-smb.el (tramp-smb-server-version)
4220         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4221         New defconsts.
4222         (tramp-smb-prompt): Extend for powershell prompt.
4223         (tramp-smb-file-name-handler-alist): Add handlers for
4224         `process-file', `shell-command' and `start-file-process'.
4225         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4226         (tramp-smb-winexe-shell-command-switch): New defcustoms.
4227         (tramp-smb-file-name-p): Simplify.
4228         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4229         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4230         (tramp-smb-shell-quote-argument): New defuns.
4231         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4232         Implement using "tar".  By this, time-stamps are preserved.
4233         (tramp-smb-handle-copy-file): Handle also the case of directories.
4234         (tramp-smb-do-file-attributes-with-stat)
4235         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4236         Use `tramp-get-connection-buffer').
4237         (tramp-smb-handle-rename-file): Use "rename", when source and
4238         target are on the same share.
4239         (tramp-smb-maybe-open-connection): Handle wrong passwords.
4240         Use `tramp-smb-server-version'.
4241         (tramp-smb-wait-for-output): Remove prompt.
4243         * net/tramp.el (top): Require 'cl.
4244         (tramp-methods, tramp-rsh-end-of-line):
4245         Remove `tramp-password-end-of-line' from docstring.
4246         (tramp-save-ad-hoc-proxies): New defcustom.
4247         (tramp-completion-function-alist): Adapt docstring.
4248         (tramp-default-password-end-of-line): Remove defcustom.
4249         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
4250         (tramp-user-regexp, tramp-file-name-regexp-unified)
4251         (tramp-file-name-regexp-url): Extend regexp by hop separator.
4252         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4253         (tramp-remote-file-name-spec-regexp): New defconst.
4254         (tramp-file-name-structure): Extend structure for hops.
4255         (tramp-get-method-parameter): Move up.
4256         (tramp-file-name-p, tramp-dissect-file-name)
4257         (with-parsed-tramp-file-name): Handle hops.
4258         (tramp-file-name-hop): New defun.
4259         (tramp-make-tramp-file-name): New optional arg HOP.
4260         (tramp-message-show-progress-reporter-message): New defvar.
4261         (tramp-with-progress-reporter): Use it.  We cannot use
4262         `tramp-message-show-message' here, because this suppresses also
4263         error buffers.
4264         (tramp-error-with-buffer): Suppress buffer view, if
4265         `tramp-message-show-message' is nil.
4266         Use `tramp-get-connection-buffer'.
4267         (tramp-cleanup): New defun.
4268         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4269         (tramp-file-name-handler): If `debug-on-error' is set, propagate
4270         an error unchanged.
4271         (tramp-completion-handle-file-name-all-completions): Handle hops.
4272         Fix an error when called from ido.
4273         (tramp-completion-dissect-file-name): Use better local variable
4274         name.  Add hop to the vector.
4275         (tramp-handle-insert-file-contents): Use progress-reporter for the
4276         whole scenario.
4277         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4278         to `t'.
4279         (tramp-check-for-regexp): Simplify search.
4280         (tramp-enter-password): Remove it.  Move implementation ...
4281         (tramp-action-password): ... here.
4282         (tramp-mode-string-to-int, tramp-local-host-p)
4283         (tramp-make-tramp-temp-file, tramp-read-passwd)
4284         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4285         Set tramp-autoload cookie.
4287         * net/trampver.el: Update release number.
4289 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4290             Michael Albinus  <michael.albinus@gmx.de>
4292         * net/tramp.el (tramp-set-completion-function): Fix docstring.
4293         (tramp-parse-group, tramp-parse-file)
4294         (tramp-parse-shostkeys-sknownhosts): New defuns.
4295         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4296         (tramp-parse-shosts-group, tramp-parse-sconfig)
4297         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4298         (tramp-parse-sknownhosts, tramp-parse-hosts)
4299         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4300         Use them.
4301         (tramp-parse-passwd-group, tramp-parse-netrc-group)
4302         (tramp-parse-putty-group): Don't narrow.
4303         (tramp-parse-putty): Make a loop.
4304         (tramp-file-name-handler): Catch the `suppress' signal.
4306 2012-06-11  Chong Yidong  <cyd@gnu.org>
4308         * image.el (imagemagick-register-types): Put the ImageMagick entry
4309         at the end of image-type-file-name-regexps.
4311 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
4313         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4314         (pcase, pcase-let*, pcase-dolist): Use them.
4316 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4318         * emacs-lisp/pcase.el (pcase--let*): New function.
4319         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
4320         (pcase--expand): Use macroexp-let².
4322 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4324         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4325         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4326         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4327         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4328         * emacs-lisp/derived.el: Use pcase instead of `cl'.
4329         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4331 2012-06-10  Glenn Morris  <rgm@gnu.org>
4333         * mail/rmail.el (rmail-yank-current-message): Leave point at
4334         correct position.  (Bug#11660)
4336 2012-06-10  Chong Yidong  <cyd@gnu.org>
4338         * allout-widgets.el: Fix code header.
4340 2012-06-10  Chong Yidong  <cyd@gnu.org>
4342         * cus-edit.el (customize-changed-options-previous-release):
4343         Bump to 24.1.
4345 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
4347         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4349 2012-06-09  Chong Yidong  <cyd@gnu.org>
4351         * ebuff-menu.el (electric-buffer-list): Preserve header line.
4353 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
4355         * window.el (special-display-popup-frame): Don't use
4356         window--display-buffer (Bug#11651).
4358 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
4360         Fix parallel builds: make sure loaddefs.el is not being written
4361         while Lisp files are compiled.
4362         (compile): Don't depend on 'mh-autoloads'.
4363         (compile-CMD, compile-SH): Depend on 'autoloads'.
4364         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4366         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
4368 2012-06-09  Chong Yidong  <cyd@gnu.org>
4370         * face-remap.el (face-remap-add-relative, face-remap-set-base)
4371         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4372         Doc fixes (Bug#11225).
4374 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4376         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4377         a function if there's a clear indication that it has a compiler-macro.
4378         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4379         (macro-declarations-alist): Add arglist to declaration functions.
4380         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4381         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4382         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4383         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4384         Also add autoload to find the compiler macro.
4385         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4386         (cl--compiler-macro-member, cl--compiler-macro-assoc)
4387         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4388         (cl--compiler-macro-get): New functions, replacing calls to
4389         cl-define-compiler-macro.
4390         (cl-typep) [compiler-macro]: Use macroexp-let².
4392 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
4394         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4395         string properly, fixes Bug#11473.
4397 2012-06-08  Chong Yidong  <cyd@gnu.org>
4399         * faces.el (set-face-attribute): Doc fix.
4400         (modify-face): Don't use :bold and :italic.
4401         (error, warning, success): Tweak definitions.
4403         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4404         (custom-modified, custom-set, custom-changed, custom-themed)
4405         (custom-saved, custom-button, custom-button-mouse)
4406         (custom-button-pressed, custom-state, custom-comment-tag)
4407         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4408         (custom-group-subtitle): Use new-style face specs.
4409         (custom-invalid-face, custom-rogue-face, custom-modified-face)
4410         (custom-set-face, custom-changed-face, custom-saved-face)
4411         (custom-button-face, custom-button-pressed-face)
4412         (custom-documentation-face, custom-state-face)
4413         (custom-comment-face, custom-comment-tag-face)
4414         (custom-variable-tag-face, custom-variable-button-face)
4415         (custom-face-tag-face, custom-group-tag-face-1)
4416         (custom-group-tag-face): Remove obsolete face alias.
4418         * epa.el (epa-validity-high, epa-validity-medium)
4419         (epa-validity-low, epa-mark, epa-field-name, epa-string)
4420         (epa-field-name, epa-field-body):
4421         * font-lock.el (font-lock-comment-face, font-lock-string-face)
4422         (font-lock-keyword-face, font-lock-builtin-face)
4423         (font-lock-function-name-face, font-lock-variable-name-face)
4424         (font-lock-type-face, font-lock-constant-face):
4425         * ido.el (ido-first-match, ido-only-match, ido-subdir)
4426         (ido-virtual, ido-indicator, ido-incomplete-regexp):
4427         * speedbar.el (speedbar-button-face, speedbar-file-face)
4428         (speedbar-directory-face, speedbar-tag-face)
4429         (speedbar-selected-face, speedbar-highlight-face)
4430         (speedbar-separator-face):
4431         * whitespace.el (whitespace-newline, whitespace-space)
4432         (whitespace-hspace, whitespace-tab, whitespace-trailing)
4433         (whitespace-line, whitespace-space-before-tab)
4434         (whitespace-space-after-tab, whitespace-indentation)
4435         (whitespace-empty):
4436         * emulation/cua-base.el (cua-global-mark):
4437         * eshell/em-prompt.el (eshell-prompt):
4438         * net/newst-plainview.el (newsticker-new-item-face)
4439         (newsticker-old-item-face, newsticker-immortal-item-face)
4440         (newsticker-obsolete-item-face, newsticker-date-face)
4441         (newsticker-statistics-face, newsticker-default-face):
4442         * net/newst-reader.el (newsticker-feed-face)
4443         (newsticker-extra-face, newsticker-enclosure-face):
4444         * net/newst-treeview.el (newsticker-treeview-face)
4445         (newsticker-treeview-new-face, newsticker-treeview-old-face)
4446         (newsticker-treeview-immortal-face)
4447         (newsticker-treeview-obsolete-face)
4448         (newsticker-treeview-selection-face):
4449         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4450         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4451         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4452         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4453         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4454         (nxml-outline-active-indicator, nxml-outline-ellipsis):
4455         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4456         (mpuz-text):
4457         * progmodes/vera-mode.el (vera-font-lock-number)
4458         (vera-font-lock-function, vera-font-lock-interface):
4459         * textmodes/table.el (table-cell): Use new-style face specs, and
4460         don't use the old :bold and :italic attributes.
4462         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4463         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4464         (ebrowse-member-class, ebrowse-progress): Likewise.
4465         (ebrowse-tree-mark-face, ebrowse-root-class-face)
4466         (ebrowse-file-name-face, ebrowse-default-face)
4467         (ebrowse-member-attribute-face, ebrowse-member-class-face)
4468         (ebrowse-progress-face): Remove obsolete faces.
4470         * progmodes/flymake.el (flymake-errline, flymake-warnline):
4471         Inherit from error and warning faces respectively.
4473         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4474         Likewise.
4475         (flyspell-incorrect-face, flyspell-duplicate-face):
4476         Remove obsolete aliases.
4478 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
4480         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4481         Avoid infloop.
4483 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4485         * startup.el (argv, argi): Make lexically scoped.
4486         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4487         * emacs-lisp/cl-macs.el: Use lexical-binding.
4488         Rename cl-bind-* to cl--bind-*.
4489         * files.el: Don't require `cl' since it doesn't use it.
4490         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4492 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
4494         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4495         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4496         instead of calling external sort utility.
4497         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4499 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
4501         * descr-text.el (describe-char): Mention how to insert the
4502         character, if the current input method doesn't support it.
4503         See the discussion in this thread for the details:
4504         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4506 2012-06-08  Sam Steingold  <sds@gnu.org>
4508         * bindings.el (global-map): Bind XF86Forward to next-buffer and
4509         XF86Back to previous-buffer.
4510         (minibuffer-local-map): Bind them to next-history-element and
4511         previous-history-element respectively.
4512         * help-mode.el (help-mode-map): Bind them to help-go-forward and
4513         help-go-back respectively.
4514         * info.el (Info-mode-map): Bind them to Info-history-forward and
4515         Info-history-back respectively.
4516         These are the keys next to Up on the ThinkPad keyboard.
4518 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4520         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4521         * emacs-lisp/cl-macs.el: Provide itself.
4522         (cl--labels-convert-cache): New var.
4523         (cl--labels-convert): New function.
4524         (cl-flet, cl-labels): New implementation with new semantics, relying on
4525         lexical-binding.
4526         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4527         (cl-closure-vars, cl--function-convert-cache)
4528         (cl--function-convert): Move from cl-macs.el.
4529         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4530         rename by removing the "cl-" prefix.
4531         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4533 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4535         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4536         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4537         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4538         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4539         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4540         (cl-hash-table-count): Add old compatibility aliases.
4542         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4543         Use macroexpand-all-environment instead.
4544         (cl--old-macroexpand): New var.
4545         (cl--sm-macroexpand): New function.
4546         (cl-symbol-macrolet): Use it during macro expansion.
4547         (cl--function-convert-cache): New var.
4548         (cl--function-convert): New function, extracted from
4549         cl-macroexpand-all.
4550         (cl-lexical-let): Use it.
4552         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4553         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4554         (cl-member): Remove old alias.
4556         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4557         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4558         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4559         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4560         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4561         (cl-macroexpand-cmacs): Remove var.
4562         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4563         Use macroexpand-all instead.
4565 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4567         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4568         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4569         (macroexp-copyable-p): New functions and macros.
4570         * emacs-lisp/edebug.el (edebug-unwrap):
4571         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4572         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4573         (pcase--let*): Remove.
4574         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4575         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
4576         macroexp-const-p instead.
4577         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4579         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4580         instead of "cl-" for internal definitions.  Use macroexp-const-p.
4581         (cl-old-bc-file-form): Remove var.
4582         (cl-const-exprs-p): Remove fun.
4583         (cl-labels, cl-macrolet): Use backquote.
4584         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
4585         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4586         (cl-define-setf-expander): Rename from cl-define-setf-method.
4587         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4589         * international/mule-cmds.el: Don't require CL.
4590         (view-hello-file): Don't use `letf'.
4592 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4594         * tmm.el (tmm-prompt): Use string-prefix-p.
4595         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4596         (tmm-add-prompt): Use minibuffer-completion-help.
4597         (tmm-delete-map): Remove.
4599         * subr.el (kbd): Make it its own function.
4601 2012-06-07  Stefan Merten  <smerten@oekonux.de>
4603         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4604         Silence compiler warnings.  Fix versions.
4605         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
4606         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
4607         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
4608         (rst-package-emacs-version-alist): Correct Emacs version to
4609         represent major merge with upstream.
4610         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
4612 2012-06-06  Glenn Morris  <rgm@gnu.org>
4614         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4615         Only print environment variables if set.
4617 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4619         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4620         (macroexp--cons): Rename from maybe-cons.
4621         (macroexp--accumulate): Rename from macroexp-accumulate.
4622         (macroexp--all-forms): Rename from macroexpand-all-forms.
4623         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4624         (macroexp--expand-all): Rename from macroexpand-all-1.
4626 2012-06-06  Sam Steingold  <sds@gnu.org>
4628         * calendar/calendar.el (calendar-in-read-only-buffer):
4629         Call `special-mode' to enable the standard read-only keybindings.
4631 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4633         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4634         with "loading" messages (bug#11635).
4636 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
4638         * files.el (enable-remote-dir-locals): New option.
4639         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
4641         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4642         Ensure, that the temp directory is local.
4644         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4645         `temporary-file-directory'.
4647         * progmodes/python.el (python-send-region): Ensure, that the
4648         temporary file is created also in the remote case.
4650 2012-06-06  Glenn Morris  <rgm@gnu.org>
4652         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4653         (vc-rcs-update-changelog): Use it.
4655         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
4657         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4658         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4659         (vc-sccs-diff): Replace use of the external vcdiff script.
4661 2012-06-05  Glenn Morris  <rgm@gnu.org>
4663         * ledit.el: Move to obsolete/.
4665 2012-06-05  Sam Steingold  <sds@gnu.org>
4667         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
4668         patch (Bug#11140).
4670 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4672         * emacs-lisp/cust-print.el: Move to obsolete.
4674         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4675         compiler-macro expansion.
4677         Add native compiler-macro support.
4678         * emacs-lisp/macroexp.el (macroexpand-all-1):
4679         Support compiler-macros directly.  Properly follow aliases and apply
4680         the compiler macros more thoroughly.
4681         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4682         macroexpand now properly follows aliases.
4683         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4684         (cl-compiler-macroexpand): Use new prop.
4685         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4687         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4689 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
4691         * window.el (get-lru-window, get-mru-window, get-largest-window):
4692         New argument NOT-SELECTED to avoid picking the selected window.
4693         (window--display-buffer-1, window--display-buffer-2): Replace by
4694         new function window--display-buffer
4695         (display-buffer-same-window, display-buffer-reuse-window)
4696         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4697         Use window--display-buffer.
4698         (display-buffer-use-some-window): Remove temporary dedication
4699         hack by calling get-lru-window and get-largest-window with
4700         NOT-SELECTED argument non-nil.  Call window--display-buffer.
4702 2012-06-05  Glenn Morris  <rgm@gnu.org>
4704         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4705         Replace external vcdiff script.
4707 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4709         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4711 2012-06-04  Chong Yidong  <cyd@gnu.org>
4713         * image.el (imagemagick-types-inhibit): Revert last change.
4714         Add INFO and M.
4715         (imagemagick-enabled-types): Remove CIN and EPS*.
4717 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4719         * emacs-lisp/cl-lib.el: Rename from cl.el.
4720         * emacs-lisp/cl.el: New compatibility file.
4721         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4722         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4723         to obey the "cl-" prefix.
4724         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4726 2012-06-03  Glenn Morris  <rgm@gnu.org>
4728         * emacs-lisp/authors.el (authors-aliases): Addition.
4730         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4731         Fix :version.
4733 2012-06-03  Stefan Merten  <smerten@oekonux.de>
4735         * textmodes/rst.el: Add comments.
4736         (rst-transition, rst-adornment): New faces.
4737         (rst-adornment-faces-alist): Make default safe to reevaluate.
4738         Fixes
4739         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4740         Improve customization tags.
4741         (rst-define-level-faces): Clarify meaning.
4743 2012-06-03  Chong Yidong  <cyd@gnu.org>
4745         * progmodes/compile.el (compilation-mode-line-fail)
4746         (compilation-mode-line-run, compilation-mode-line-exit):
4747         New faces.
4748         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4750 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
4752         * progmodes/which-func.el (which-func-update-ediff-windows):
4753         New function.  Use it in ediff-select-hook (Bug#11478).
4755 2012-06-03  Chong Yidong  <cyd@gnu.org>
4757         * bindings.el: Remove explicit help text from format-mode-line.
4758         It is now supplied by mode-line-default-help-echo.
4759         (mode-line-front-space, mode-line-end-spaces)
4760         (mode-line-misc-info): New variables.
4761         (mode-line-modes, mode-line-position): Move the default value to
4762         the variable definition.
4763         (mode-line-default-help-echo): New defcustom.
4764         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4765         (mode-line-modified-help-echo): New functions.
4766         (mode-line-mule-info, mode-line-modified): Use them.
4767         (mode-line-eol-desc, propertized-buffer-identification):
4768         Consistency fixes for help text.
4769         (mode-line-coding-system-map): Allow using mouse-3 to invoke
4770         set-buffer-file-coding-system (Bug#289).
4771         (mode-line-mule-info-help-echo): Update help text.
4773 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4775         * simple.el (execute-extended-command): Set real-this-command
4776         (bug#11506).
4778 2012-06-02  Chong Yidong  <cyd@gnu.org>
4780         Remove incorrect uses of "modeline" in comments, docstrings, and
4781         function/variable names (Bug#10329).
4783         * cus-edit.el (mode-line):
4784         * dframe.el (dframe-mouse-hscroll):
4785         * emacs-lisp/re-builder.el:
4786         * emacs-lisp/easy-mmode.el (define-minor-mode):
4787         * frame.el (set-frame-name):
4788         * help.el (lookup-minor-mode-from-indicator):
4789         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4790         * progmodes/cc-cmds.el (c-toggle-auto-newline)
4791         (c-toggle-hungry-state):
4792         * progmodes/antlr-mode.el (antlr-language-alist):
4793         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4794         * progmodes/vhdl-mode.el (vhdl-mode):
4795         * progmodes/which-func.el (which-func, which-func-cleanup-function):
4796         * term/ns-win.el (ns-face-at-pos):
4797         * term/sup-mouse.el (sup-mouse-report):
4798         * textmodes/flyspell.el (flyspell-mode-line-string):
4799         * textmodes/ispell.el (ispell-highlight-face):
4800         * textmodes/reftex-global.el:
4801         * vc/vc-arch.el (vc-arch-mode-line-string):
4802         * vc/vc-cvs.el (vc-cvs-mode-line-string):
4803         * vc/vc-git.el (vc-git-mode-line-string):
4804         * vc/vc-hooks.el (vc-display-status)
4805         (vc-default-mode-line-string):
4806         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4808         * ansi-color.el (ansi-color-faces-vector): Change default faces.
4810         * dired.el (dired-sort-set-mode-line): Rename from
4811         dired-sort-set-modeline.  All callers changed.
4813         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4814         eshell-status-in-modeline.
4816         * foldout.el (foldout-mode-line-string): Rename from
4817         foldout-modeline-string.  All callers changed.
4818         (foldout-update-mode-line): Rename from foldout-update-modeline.
4820         * subr.el (redraw-modeline): Make into obsolete alias.
4822         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4823         timeclock-modeline-display.  Make old name an alias.
4824         (timeclock-update-mode-line): Likewise.  All callers changed.
4825         (timeclock-mode-line-display): No need to check before using
4826         add-hook.
4827         (timeclock-relative, timeclock-day-over-hook)
4828         (timeclock-use-elapsed, timeclock-mode-string)
4829         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4831         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4832         crisp-mode-modeline-string.
4834         * play/solitaire.el (solitaire-build-mode-line): Rename from
4835         solitaire-build-modeline.  All callers changed.
4837         * play/zone.el (zone-hiding-mode-line): Rename from
4838         zone-hiding-modeline.  All callers changed.
4839         (zone): Remove unusued `modeline-hidden-level' property.
4841         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4842         xscheme-modeline-initialize.  All callers changed.
4844         * strokes.el (strokes-lighter): Rename from
4845         strokes-modeline-string.
4847         * textmodes/sgml-mode.el (html-face-tag-alist)
4848         (html-tag-face-alist): Use mode-line face instead of obsolete
4849         alias modeline.
4851 2012-06-02  Stefan Merten  <smerten@oekonux.de>
4853         * textmodes/rst.el: Always require `cl'.
4854         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
4856 2012-06-02  Chong Yidong  <cyd@gnu.org>
4858         * image.el (imagemagick-enabled-types): Rename from
4859         imagemagick-types-enable.  Add many more types.
4860         (imagemagick-types-inhibit): Change default to nil.
4861         (imagemagick-filter-types): Caller changed.
4863 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4865         * emacs-lisp/cl-macs.el: Use backquotes.
4866         (cl-transform-function-property): Use eval-and-compile rather than
4867         abusing `require'.
4868         (defstruct): Use declare-function instead of with-no-warnings.
4870         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4871         (byte-compile-output-docform): Re-add the print-circle bindings.
4872         (byte-compile-fix-header): Use #$ just because it's shorter.
4873         (byte-compile-output-file-form): Remove defun/defmacro.
4875 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
4877         * simple.el (choose-completion): Remove now obsolete binding for
4878         owindow.
4880 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
4882         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4883         in order to avoid "Stack overflow in regexp matcher".
4885 2012-05-31  Glenn Morris  <rgm@gnu.org>
4887         * image.el: For clarity, call imagemagick-register-types at
4888         top-level, rather than relying on a custom :initialize.
4889         (imagemagick-types-enable): New option.  (Bug#11557)
4890         (imagemagick-filter-types): New function.  (Bug#7406)
4891         (imagemagick-register-types): Use imagemagick-filter-types.
4892         If disabling support, remove elements altogether rather
4893         than using an impossible regexp.
4894         (imagemagick-types-inhibit): Give it the default init function.
4896 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4898         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4899         Handle arbitrary file name lengths (Bug#11585).
4901 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
4903         * desktop.el (desktop-read): Clear previous and next buffers for
4904         all windows and bury *Messages* buffer (bug#11556).
4906 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4908         Add `declare' for `defun'.  Align `defmacro's with it.
4909         * emacs-lisp/easy-mmode.el (define-minor-mode)
4910         (define-globalized-minor-mode): Don't autoload the var definitions.
4911         * emacs-lisp/byte-run.el: Use lexical-binding.
4912         (defun-declarations-alist, macro-declarations-alist): New vars.
4913         (defmacro, defun): Use them.
4914         (make-obsolete, define-obsolete-function-alias)
4915         (make-obsolete-variable, define-obsolete-variable-alias):
4916         Use `declare'.
4917         (macro-declaration-function): Mark obsolete.
4918         * emacs-lisp/autoload.el: Use lexical-binding.
4919         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
4921 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4923         * textmodes/ispell.el (ispell-with-no-warnings):
4924         Define as a macro.
4925         (ispell-kill-ispell, ispell-change-dictionary):
4926         Use `called-interactively-p' for Emacs instead of obsolete
4927         `interactive-p'.
4929 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4931         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4932         (macro-declaration-function): Move var from C code.
4933         (macro-declaration-function): Define function with defalias.
4934         * emacs-lisp/macroexp.el (macroexpand-all-1):
4935         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4936         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4937         defun/defmacro any more.
4938         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4939         Provide fallback for unknown arglist.
4940         (byte-compile-arglist-warn): Change calling convention.
4941         (byte-compile-output-file-form): Move print-vars binding.
4942         (byte-compile-output-docform): Simplify accordingly.
4943         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4944         (byte-compile-defmacro-declaration): Remove.
4945         (byte-compile-file-form-defmumble): Generalize to defalias.
4946         (byte-compile-output-as-comment): Return byte-positions.
4947         Simplify callers accordingly.
4948         (byte-compile-lambda): Use `assert'.
4949         (byte-compile-defun, byte-compile-defmacro): Remove.
4950         (byte-compile-file-form-defalias):
4951         Use byte-compile-file-form-defmumble.
4952         (byte-compile-defalias-warn): Remove.
4954 2012-05-29  Stefan Merten  <smerten@oekonux.de>
4956         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
4957         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
4959         (rst-mode-abbrev-table): Merge definition.
4960         (rst-mode): Make sure `font-lock-defaults' is buffer local.
4961         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4963 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
4965         * calendar/icalendar.el
4966         (icalendar-export-region): Export UID properly.
4968 2012-05-29  Leo Liu  <sdl.web@gmail.com>
4969         * calendar/icalendar.el (icalendar-import-format):
4970         Add `icalendar-import-format-uid' (Bug#11525).
4971         (icalendar-import-format-uid): New.
4972         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4973         Export UID.
4975 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4977         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4978         different alternative patterns.
4979         (pcase-codegen): Be more careful to preserve identity.
4980         (pcase--u1): Don't forget to mark vars as used.
4982         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4983         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4984         (byte-compile-from-buffer): ...rather than here.
4986         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4987         functions from byte-compile-function-environment.
4989 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
4991         * window.el (window-deletable-p): Avoid deleting the root window
4992         of a frame with an active minibuffer.
4994 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
4996         * simple.el (choose-completion): Use quit-window (Bug#11567).
4998 2012-05-29  Chong Yidong  <cyd@gnu.org>
5000         * whitespace.el (whitespace-cleanup): Fix usage of
5001         whitespace-empty-at-bob-regexp (Bug#11492).
5003 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5005         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5006         revert (Bug#11488).
5008 2012-05-29  Juri Linkov  <juri@jurta.org>
5010         * isearch.el (isearch-mode-map): Bind `M-s _' to
5011         `isearch-toggle-symbol'.  Bind `M-s c' to
5012         `isearch-toggle-case-fold'.
5013         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5014         (isearch-forward): Add `M-s _' to the docstring.
5015         (isearch-forward-symbol, isearch-toggle-case-fold)
5016         (isearch-symbol-regexp): New functions.  (Bug#11381)
5018 2012-05-29  Juri Linkov  <juri@jurta.org>
5020         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
5021         (isearch-occur, isearch-search-and-update): If `isearch-word' is
5022         a function, call it to get the regexp.
5023         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5024         property `isearch-message-prefix' instead of the string "word ".
5025         (isearch-search-fun-default): For the case of `isearch-word',
5026         return a lambda that calls re-search-forward/re-search-backward
5027         with a regexp returned by `word-search-regexp' or by the function
5028         in `isearch-word'.
5030 2012-05-29  Juri Linkov  <juri@jurta.org>
5032         * isearch.el (isearch-search-fun-default): New function.
5033         (isearch-search-fun): Move default part to the new function
5034         `isearch-search-fun-default'.
5035         (isearch-search-fun-function): Set the default value to
5036         `isearch-search-fun-default'.  (Bug#11381)
5038         * comint.el (comint-history-isearch-end):
5039         Use `isearch-search-fun-default'.
5040         (comint-history-isearch-search): Use `isearch-search-fun-default'
5041         and remove spacial case for `isearch-word'.
5042         (comint-history-isearch-wrap): Remove spacial case for
5043         `isearch-word'.
5045         * hexl.el (hexl-isearch-search-function):
5046         Use `isearch-search-fun-default'.
5048         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5049         Use `word-search-regexp' for `isearch-word'.
5051         * misearch.el (multi-isearch-search-fun):
5052         Use `isearch-search-fun-default'.
5054         * simple.el (minibuffer-history-isearch-search):
5055         Use `isearch-search-fun-default' and remove spacial case for
5056         `isearch-word'.
5057         (minibuffer-history-isearch-wrap): Remove spacial case for
5058         `isearch-word'.
5060         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5061         Remove spacial case for `isearch-word'.
5062         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5064 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5066         Decrease XEmacs incompatibilities.
5067         * textmodes/flyspell.el (flyspell-check-pre-word-p):
5068         Use `string-match'.
5069         (flyspell-delete-region-overlays): Use alternative definition for
5070         XEmacs.
5071         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5072         (flyspell-word): Use `process-kill-without-query' if XEmacs.
5073         (flyspell-mode-on): Use `interactive-p' if XEmacs.
5074         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5075         `define-obsolete-face-alias' under XEmacs, but old method.
5077         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5078         `with-no-warnings' definition or Emacs alias.
5079         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5080         (ispell-word): Do not use `region-p' if XEmacs.
5082 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5084         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5085         Check for `ispell-dictionary-base-alist' instead of full
5086         `ispell-dictionary-alist'.
5087         (ispell-init-process): Show spellchecker when starting new Ispell
5088         process.
5090 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5092         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5093         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5095 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
5097         * version.el (motif-version-string, gtk-version-string)
5098         (ns-version-string): Declare.
5100 2012-05-27  Juri Linkov  <juri@jurta.org>
5102         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5103         after the `eval-defun-1' specialcaseing
5104         like in `edebug-eval-defun' (bug#10181).
5106         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5107         like in `eval-defun-1'.
5109 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
5111         * mail/sendmail.el (mail-yank-region):
5112         Recognize rmail-yank-current-message in addition to insert-buffer.
5113         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5114         a *mail* buffer created through rmail-start-mail with sendmail as
5115         mail-user-agent.
5117 2012-05-27  Chong Yidong  <cyd@gnu.org>
5119         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5120         Default to 256 (Bug#11267).
5122         * help.el (describe-mode): Doc fix.
5124 2012-05-26  Glenn Morris  <rgm@gnu.org>
5126         * w32-fns.el (w32-init-info): Remove.
5127         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5129         * info.el (info-initialize): For self-contained NS builds, put the
5130         included info/ directory at the front.  (Bug#2791)
5132         * paths.el (Info-default-directory-list): Make it a defcustom,
5133         mainly so that we can use custom-initialize-delay.
5135 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5137         * subr.el (buffer-has-markers-at): Mark obsolete.
5139         * subr.el (lambda): Use declare.
5141         * emacs-lisp/lisp-mode.el (lambda):
5142         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5144 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5146         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
5148 2012-05-26  Glenn Morris  <rgm@gnu.org>
5150         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5152 2012-05-25  Glenn Morris  <rgm@gnu.org>
5154         * paths.el: Remove no-byte-compile.
5155         * loadup.el: No need to load paths.el uncompiled.
5157         * image.el (imagemagick-types-inhibit): Doc fix.
5159         * version.el: Remove no-byte-compile and associated formatting.
5160         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
5161         is ancient code from when there was an "inc-vers.el".
5163 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5165         * progmodes/gdb-mi.el: Minor style changes.
5166         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5167         Turn into minor modes.
5168         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5169         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5170         (gdb-shell): Remove unneeded let-binding.
5171         (gdb-get-many-fields): Eliminate O(n²) behavior.
5173 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
5175         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5176         platforms that don't link in fontset.c.
5178 2012-05-25  Juri Linkov  <juri@jurta.org>
5180         Use the same diff color scheme as in modern VCSes (bug#10181).
5182         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5183         to avoid confusion with `diff-added' that now uses green colors.
5184         (diff-removed): Use shades of red.
5185         (diff-added): Use shades of green.
5186         (diff-changed): Leave just the yellow color.
5187         (diff-use-changed-face): New variable.
5188         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5189         how to highlight context diff changes.
5190         (diff-refine-change): Use shades of yellow.
5191         (diff-refine-removed): New face that uses shades of red.
5192         (diff-refine-added): New face that uses shades of green.
5193         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5194         `diff-refine-removed' in the call to `smerge-refine-subst'
5195         depending on the value of `diff-use-changed-face'.
5197         * vc/smerge-mode.el (smerge-mine): Use shades of red.
5198         (smerge-other): Use shades of green.
5199         (smerge-base): Use shades of yellow.
5200         (smerge-refined-change): Empty face.
5201         (smerge-refined-removed): New face that uses shades of red.
5202         (smerge-refined-added): New face that uses shades of green.
5203         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
5204         args `props-r' and `props-a', and use them.  Doc fix.
5205         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5206         on its value use different faces `smerge-refined-change',
5207         `smerge-refined-removed', `smerge-refined-added' in the call to
5208         `smerge-refine-subst'.
5210         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5211         Add face condition `min-colors 88' with shades of red.
5212         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5213         `min-colors 88' with shades of green.
5214         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5215         `min-colors 88' with shades of yellow.
5217 2012-05-24  Glenn Morris  <rgm@gnu.org>
5219         * paths.el (prune-directory-list, remote-shell-program): Move to...
5220         * files.el (prune-directory-list, remote-shell-program): ...here.
5221         For the latter, delay initialization, prefer ssh, just search PATH.
5223         * paths.el (term-file-prefix): Move to faces.el (the only user).
5224         * faces.el (term-file-prefix): Move here, make it a defcustom.
5226         * paths.el (news-directory, news-path, news-inews-program):
5227         Move to gnus/nnspool.el.
5229         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5231         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5232         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5233         Make the latter a defcustom, with a delayed initialization.
5235         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5236         These were deleted from Gnus itself late 2010.
5238 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
5240         * progmodes/which-func.el (which-func-ff-hook):
5241         Check against user-error, not error.
5243         * emacs-lisp/edebug.el (top): Do not load or set up loading of
5244         cl-specs.el, which no longer exists.
5246 2012-05-22  Glenn Morris  <rgm@gnu.org>
5248         * info.el (info-emacs-bug): New command.
5249         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5250         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5252 2012-05-21  Glenn Morris  <rgm@gnu.org>
5254         * makefile.w32-in (update-subdirs-SH):
5255         * Makefile.in (update-subdirs): Update for moved update-subdirs.
5257 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5259         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5261         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5262         Simplify Maven regexp, and make sure the file can't start with a space
5263         (bug#11517).
5265 2012-05-21  Glenn Morris  <rgm@gnu.org>
5267         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5268         Scrap superfluous subshells.
5270 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5272         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5273         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5275 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
5277         * calc/calc.el (calc-ensure-consistent-units): New variable.
5279         * calc/calc-units.el (math-consistent-units-p)
5280         (math-check-unit-consistency): New functions.
5281         (calc-quick-units, calc-convert-units):
5282         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5283         is non-nil.
5284         (calc-extract-units): Fix typo.
5286 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5288         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5290         * textmodes/flyspell.el: Commenting style, plus code simplifications.
5291         (flyspell-default-deplacement-commands): Don't spell check after
5292         repeated window/frame switches (e.g. triggered by mouse-movement).
5293         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5294         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5295         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5296         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5297         Remove unused vars.
5298         (flyspell-get-casechars, flyspell-get-not-casechars):
5299         Simplify; Don't bother removing a ] just to add it back.
5300         * textmodes/ispell.el (ispell-program-name): Use executable-find.
5302 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5304         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5305         New functions.
5306         (math-function-table): Add support for more C functions.
5308 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5310         * textmodes/flyspell.el (flyspell-check-pre-word-p)
5311         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5312         Protect delay handling for otherchars against empty otherchars.
5314 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5316         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5317         their respective macro declarations.
5318         * skeleton.el (define-skeleton):
5319         * progmodes/compile.el (define-compilation-mode):
5320         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5321         (define-ibuffer-filter):
5322         * emacs-lisp/generic.el (define-generic-mode):
5323         * emacs-lisp/easy-mmode.el (define-minor-mode)
5324         (define-globalized-minor-mode):
5325         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5326         * emacs-lisp/byte-run.el (defsubst):
5327         * custom.el (deftheme): Add doc-string metadata.
5329 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5331         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5333 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5335         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5337         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5338         * emacs-lisp/cl-macs.el: Idem.
5339         * emacs-lisp/cl-specs.el: Remove.
5341 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5343         Minor renaming of internal CL functions and variables.
5344         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5345         (cl--position): Rename from cl-position.
5346         (cl--delete-duplicates): Rename from cl-delete-duplicates.
5347         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5348         (cl--random-state): Rename from *random-state*.
5350 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5352         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5353         parens around the arg list (bug#11499).
5355 2012-05-17  Juri Linkov  <juri@jurta.org>
5357         * isearch.el (word-search-regexp, word-search-backward)
5358         (word-search-forward, word-search-backward-lax)
5359         (word-search-forward-lax): Move functions from search.c
5360         (bug#10145, bug#11381).
5362 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5364         * textmodes/flyspell.el (flyspell-check-pre-word-p)
5365         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5366         Delay for otherchars as for normal word components.
5368 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5370         * minibuffer.el (completion--sifn-requote): Fix last change.
5371         (minibuffer-local-must-match-filename-map):
5372         Move define-obsolete-variable-alias before its var.
5374 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5376         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5378         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5379         behavior.
5380         (completion--string-equal-p): New function.
5381         (completion--twq-all): Use it to get better assertion failure data.
5383         Only handle ".." and '..' quoting in shell-mode (bug#11466).
5384         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5385         (shell--requote-argument): New functions.
5386         (shell-completion-vars): Use them.
5387         (shell--parse-pcomplete-arguments): Rename from
5388         shell-parse-pcomplete-arguments.
5389         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
5390         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5391         Obey comint-file-name-quote-list.
5393         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5394         (smie-indent-keyword): Use it.
5396 2012-05-14  Stefan Merten  <smerten@oekonux.de>
5398         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5400 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5402         * net/rlogin.el (rlogin-mode-map): Fix last change.
5404 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
5406         * mail/smtpmail.el (smtpmail-send-command): Send the command and
5407         the following \r\n using a single `process-send-string', since the
5408         Lotus SMTP server refuses to accept any commands if they are sent
5409         with two `process-send-string's (Bug#11444).
5411 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5413         * shell.el (shell-parse-pcomplete-arguments):
5414         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
5416 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
5418         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5419         (image-transform-scale, image-transform-right-angle-fudge): New vars.
5420         (image-transform-width, image-transform-fit-width): New functions.
5421         (image-transform-properties): Use them.
5422         (image-transform-check-size): New function.
5423         (image-toggle-display-image): Use it (for testing).
5424         (image-transform-set-rotation): Reduce angle mod 360.
5425         Delete obsolete comment.
5427 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
5429         * image-mode.el: Fix scaling (bug#11399).
5430         (image-transform-resize): Doc fix.
5431         (image-transform-properties): Default scale is 1 and height should
5432         be an integer.
5434 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
5436         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5437         than hard-coding `car', to fix misbehavior when moving forward.
5439 2012-05-13  Chong Yidong  <cyd@gnu.org>
5441         * emacs-lisp/tabulated-list.el (tabulated-list-format)
5442         (tabulated-list-entries, tabulated-list-padding)
5443         (tabulated-list-sort-key): Make permanent-local.
5445         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5446         (electric-buffer-list): Put electric buffer menu
5447         command descriptions in this docstring, instead of the docstring
5448         of electric-buffer-menu-mode.  Code cleanups.
5449         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
5450         Electric-buffer-menu-mode.
5451         (electric-buffer-update-highlight): Minor code cleanup.
5453 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
5455         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5456         (Bug#11447)
5458 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5460         Move define-obsolete-variable-alias before the var's definition.
5461         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5462         * tooltip.el (tooltip-hook):
5463         * textmodes/reftex-toc.el (reftex-toc-map):
5464         * textmodes/reftex-sel.el (reftex-select-label-map)
5465         (reftex-select-bib-map):
5466         * textmodes/reftex-index.el (reftex-index-map)
5467         (reftex-index-phrases-map):
5468         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5469         * progmodes/meta-mode.el (meta-mode-map):
5470         * novice.el (disabled-command-hook):
5471         * loadhist.el (unload-hook-features-list):
5472         * frame.el (blink-cursor):
5473         * files.el (find-file-not-found-hooks, write-file-hooks)
5474         (write-contents-hooks):
5475         * emulation/tpu-edt.el (GOLD-map):
5476         * emacs-lock.el (emacs-lock-from-exiting):
5477         * emacs-lisp/generic.el (generic-font-lock-defaults):
5478         * emacs-lisp/chart.el (chart-map):
5479         * dos-fns.el (register-name-alist):
5480         * dired-x.el (dired-omit-files-p):
5481         * desktop.el (desktop-enable):
5482         * cus-edit.el (custom-mode-hook):
5483         * buff-menu.el (buffer-menu-mode-hook):
5484         * bookmark.el (bookmark-read-annotation-text-func)
5485         (bookmark-exit-hooks):
5486         * allout.el (allout-mode-deactivate-hook)
5487         (allout-exposure-change-hook, allout-structure-added-hook)
5488         (allout-structure-deleted-hook, allout-structure-shifted-hook):
5489         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5490         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5491         comes before the corresponding variable's definition.
5493 2012-05-12  Chong Yidong  <cyd@gnu.org>
5495         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
5496         (Buffer-menu-mouse-select): Restore function (Bug#11459).
5497         (Buffer-menu-mode-map): Bind it.
5498         (Buffer-menu--pretty-name): Add a mouse-face property.
5500 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5502         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
5503         (prolog-upper-case-string, prolog-lower-case-string)
5504         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5505         (prolog-use-smie, prolog-smie-grammar): New vars.
5506         (prolog-smie-forward-token, prolog-smie-backward-token)
5507         (prolog-smie-rules): New funs.
5508         (prolog-comment-indent): Remove.
5509         (prolog-mode-variables): Use default comment indentation instead.
5510         Setup SMIE.
5511         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5512         (prolog-mode): Don't call them any more.
5513         (prolog-electric-colon, prolog-electric-dash)
5514         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5516         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5518         * minibuffer.el (completion--twq-all): Again, allow case differences.
5520         * term.el: Move keymap initialization code to be more idiomatic.
5521         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5522         (term-terminal-menu): Move initialization into declaration.
5523         (term-escape-char): Let the user set it in her .emacs.
5525         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5526         Provide SMIE-based indentation (not enabled by default yet).
5527         (sh-mode-map): Don't bind electric keys.
5528         Use electric-pair-mode instead of skeleton-pair.
5529         (sh-assignment-regexp): Fit within 80 columns.
5530         (sh-indent-supported): Specify actual shell name instead of boolean.
5531         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5532         (sh-maybe-here-document): Use it.  Make obsolete.
5533         (sh-electric-here-document-mode) New minor mode.
5534         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
5535         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5536         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5537         (sh-smie-rc-grammar, sh-use-smie): New vars.
5538         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5539         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5540         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5541         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5542         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5543         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5544         (sh-set-shell): Use smie-setup if requested.
5546         * term.el (term-set-escape-char): Properly set term-escape-char.
5547         See http://stackoverflow.com/questions/10524656.
5549 2012-05-10  Chong Yidong  <cyd@gnu.org>
5551         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5552         Use url-generic-parse-url, and handle host names and Windows
5553         filenames properly.
5554         (ffap-url-unwrap-remote): Use url-generic-parse-url.
5555         (ffap-url-unwrap-remote): Accept list values, specifying a list of
5556         URL schemes to work on.
5557         (ffap--toggle-read-only): New function.
5558         (ffap-read-only, ffap-read-only-other-window)
5559         (ffap-read-only-other-frame): Use it.
5560         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5561         necessary for ffap-url-unwrap-remote.
5563 2012-05-10  Dave Abrahams  <dave@boostpro.com>
5565         * cus-start.el (create-lockfiles): Add it.
5567 2012-05-09  Chong Yidong  <cyd@gnu.org>
5569         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5570         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5572 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5574         * shell.el (shell-completion-vars): Fix last change (bug#11348).
5576 2012-05-09  Chong Yidong  <cyd@gnu.org>
5578         * ansi-color.el (ansi-color-process-output): Check for validity of
5579         comint-last-output-start before using it.  This avoids a bad
5580         interaction with gdb-mi's input/output buffer.
5582 2012-05-09  Glenn Morris  <rgm@gnu.org>
5584         * files.el (dir-locals-read-from-file):
5585         Mention dir-locals in any error message.
5587 2012-05-09  Chong Yidong  <cyd@gnu.org>
5589         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5590         package (Bug#11410).
5592         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5593         variables into description.
5595 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5597         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5598         shell-delimiter-argument-list (bug#11348).
5599         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5601 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
5603         * textmodes/rst.el: Silence byte-compiler warnings.
5604         (rst-re-alist, rst-reset-section-caches): Move around.
5605         (rst-re): Use `characterp', not `char-valid-p'.
5606         (font-lock-beg, font-lock-end): Declare.
5608         * progmodes/idlw-shell.el (specs): Remove reference to deleted
5609         variable `idlwave-shell-activate-alt-keybindings' and simplify.
5611         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5613 2012-05-08  Glenn Morris  <rgm@gnu.org>
5615         * files.el (auto-mode-alist): Treat ".make" like ".mk".
5617 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5619         * vc/log-edit.el: Add GNU coding standards highlighting.
5620         (log-edit-font-lock-gnu-style)
5621         (log-edit-font-lock-gnu-keywords): New vars.
5622         (log-edit-font-lock-keywords): New fun.
5623         (log-edit-mode): Don't fold case in font-lock.
5624         (log-edit-font-lock-keywords): Do not assume case-folding.
5626         * imenu.el: Misc cleanup.  Make docstrings out of comments.
5627         Use lexical-binding.
5628         (imenu--index-alist, imenu--last-menubar-index-alist)
5629         (imenu-menubar-modified-tick): Use defvar-local.
5630         (imenu--split-menu): Remove unused var.
5631         (imenu--cleanup-seen): Declare as global.
5632         (imenu--cleanup): Use dolist.
5634         * subr.el (defvar-local): Add debug spec and doc-string position.
5636 2012-05-08  Glenn Morris  <rgm@gnu.org>
5638         * language/burmese.el, language/cham.el, language/czech.el:
5639         * language/english.el, language/georgian.el, language/greek.el:
5640         * language/japanese.el, language/khmer.el, language/korean.el:
5641         * language/lao.el, language/misc-lang.el, language/romanian.el:
5642         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5643         * language/thai.el, language/utf-8-lang.el:
5644         Remove no-byte-compile setting.
5646         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
5648 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5650         * progmodes/make-mode.el (makefile-browse):
5651         Remove unnecessary interactive.  (Bug#11324)
5653 2012-05-07  Glenn Morris  <rgm@gnu.org>
5655         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5657         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5659 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5661         * loadup.el: Preload newcomment.el.
5662         * newcomment.el: Move autoload-only code to toplevel.
5664         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5665         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5666         Handle new :right-align column property.
5667         (tabulated-list-print-col): Idem, plus use `display' text-property to
5668         try and preserve alignment for variable pitch fonts.
5670 2012-05-07  Chong Yidong  <cyd@gnu.org>
5672         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5673         (tabulated-list-use-header-line): New var.
5674         (tabulated-list-init-header): Use it.
5675         (tabulated-list-print-fake-header): New function.
5676         (tabulated-list-print): Use it.
5677         (tabulated-list-sort-button-map): Add non-header-line commands.
5678         (tabulated-list-init-header): Add column name property to basic
5679         labels as well.
5680         (tabulated-list-col-sort): Handle non-header-line button case.
5681         (tabulated-list--sort-by-column-name): Fix a corner case.
5683         * buff-menu.el (list-buffers--refresh):
5684         Handle Buffer-menu-use-header-line.
5686 2012-05-06  Chong Yidong  <cyd@gnu.org>
5688         * buff-menu.el: Convert to Tabulated List mode.
5689         (Buffer-menu-buffer+size-width): Make obsolete.
5690         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5691         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5692         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
5693         documentation into docstring of buffer-menu.
5694         (Buffer-menu-toggle-files-only): Add an informative message.
5695         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5696         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5697         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5698         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5699         (Buffer-menu-execute, Buffer-menu-select)
5700         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5701         (Buffer-menu-bury): Use Tabulated List machinery.
5702         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5703         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
5704         Delete.
5705         (list-buffers--refresh): New function.
5706         (list-buffers-noselect): Use it.
5707         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5708         (Buffer-menu--pretty-file-name): New helper functions.
5710         * loadup.el: Preload tabulated-list.
5712         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5713         tabulated-list-sort-column.
5714         (tabulated-list-init-header): Add the initial aligning space even
5715         if tabulated-list-padding is zero.
5717 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
5719         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5720         whose cdr is not a cons cell correctly (bug#11038).
5722 2012-05-06  Chong Yidong  <cyd@gnu.org>
5724         * emacs-lisp/tabulated-list.el (tabulated-list-format):
5725         Accept additional plist in column descriptors.
5726         (tabulated-list-init-header): Obey it.
5727         (tabulated-list-get-entry): New function.
5728         (tabulated-list-put-tag): Use it.  Use string-width instead of
5729         length.
5730         (tabulated-list--column-number): New function.
5731         (tabulated-list-print): Use it.
5732         (tabulated-list-print-col): New function.
5733         Set `tabulated-list-column-name' property on each column's text.
5734         (tabulated-list-print-entry): Use it.
5735         (tabulated-list-delete-entry, tabulated-list-set-col):
5736         New functions.
5737         (tabulated-list-sort-column): New command (Bug#11337).
5739         * buff-menu.el (list-buffers): Move C-x C-b binding from
5740         buff-menu.el to bindings.el.
5742         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5743         :advertised-binding feature.
5745 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
5747         * progmodes/compile.el (compilation-internal-error-properties):
5748         Calculate start position correctly when end-col is set but
5749         end-line is not (Bug#11382).
5751 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
5753         * man.el (Man-unindent): Use text-property-default-nonsticky to
5754         prevent untabify from inheriting face properties (Bug#11408).
5756 2012-05-05  Stefan Merten  <smerten@oekonux.de>
5758         * textmodes/rst.el: Major merge with upstream development up to
5759         Docutils SVN r7399 / rst.el V1.2.1.
5761         Clarify maintainership and authors.
5763         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5764         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5765         (rst-official-version, rst-official-cvs-rev, rst-version)
5766         (rst-package-emacs-version-alist): New functions and variables
5767         for version information.
5769         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5770         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5771         (rst-mode-syntax-table, rst-mode): New and corrected functions
5772         and variables representing reStructuredText features.
5774         (rst-re): New function for reStructuredText regexes.  Use in
5775         many places.
5777         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5778         (rst-mode-map): Rebind keys.
5780         (rst-mode-lazy, rst-font-lock-keywords)
5781         (rst-font-lock-extend-region)
5782         (rst-font-lock-extend-region-internal)
5783         (rst-font-lock-extend-region-extend)
5784         (rst-font-lock-find-unindented-line-limit)
5785         (rst-font-lock-find-unindented-line-match)
5786         (rst-adornment-level, rst-font-lock-adornment-level)
5787         (rst-font-lock-adornment-match)
5788         (rst-font-lock-handle-adornment-pre-match-form)
5789         (rst-font-lock-handle-adornment-matcher): Major revision of
5790         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
5792         (rst-preferred-adornments, rst-adjust-hook)
5793         (rst-new-adornment-down, rst-preferred-bullets)
5794         (rst-preferred-bullets, rst-indent, rst-indent-width)
5795         (rst-indent-field, rst-indent-literal-normal)
5796         (rst-indent-literal-minimized, rst-indent-comment): Change,
5797         extend and improve customization.
5799         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5800         (rst-normalize-cursor-position, rst-get-decoration)
5801         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5802         (rst-rstrip, rst-toc-insert-find-delete-contents)
5803         (rst-shift-fill-region, rst-compute-bullet-tabs)
5804         (rst-debug-print-tabs, rst-debug-mark-found)
5805         (rst-shift-region-guts, rst-shift-region-right)
5806         (rst-shift-region-left, rst-use-char-classes)
5807         (rst-font-lock-keywords-function)
5808         (rst-font-lock-indentation-point)
5809         (rst-font-lock-find-unindented-line-begin)
5810         (rst-font-lock-find-unindented-line-end)
5811         (rst-font-lock-find-unindented-line)
5812         (rst-font-lock-adornment-point, rst-font-lock-level)
5813         (rst-adornment-level-alist): Remove functions and variables.
5815         (rst-compare-adornments, rst-get-adornment-match)
5816         (rst-suggest-new-adornment, rst-get-adornments-around)
5817         (rst-adornment-complete-p, rst-get-next-adornment)
5818         (rst-adjust-adornment, rst-display-adornments-hierarchy)
5819         (rst-straighten-adornments): Standardize function names to
5820         use "adornment" instead of "decoration".  Correct callers.
5821         Similar standardizing in many places.
5823         (rst-update-section, rst-adjust, rst-promote-region)
5824         (rst-enumerate-region, rst-bullet-list-region)
5825         (rst-repeat-last-character): Correct use of `interactive'.
5827         (rst-classify-adornment, rst-find-all-adornments)
5828         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5829         (rst-find-leftmost-column, rst-repeat-last-character):
5830         Refactor functions.
5832         (rst-find-title-line, rst-reset-section-caches)
5833         (rst-get-adornments-around, rst-adjust-adornment-work)
5834         (rst-arabic-to-roman, rst-roman-to-arabic)
5835         (rst-insert-list-pos, rst-insert-list-new-item)
5836         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5837         New functions.
5839         (rst-all-sections, rst-section-hierarchy)
5840         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5841         New variables.
5843         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5844         configuration instead of only buffer.  Change where necessary.
5846         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5847         (rst-shift-region, rst-adaptive-fill): New functions for
5848         indentation and filling.
5850         (rst-comment-line-break, rst-comment-indent)
5851         (rst-comment-insert-comment, rst-comment-region)
5852         (rst-uncomment-region): New functions for handling comments.
5854         (rst-compile): Quote shell arguments.
5856         (rst-compile-pdf-preview, rst-compile-slides-preview):
5857         Delete temporary files after use.
5859 2012-05-05  Glenn Morris  <rgm@gnu.org>
5861         * calendar/cal-html.el: Optionally include holidays in the output.
5862         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5863         (cal-html-holidays): New option.
5864         (cal-html-css-default): Add holiday entry.
5865         (holiday-in-range): Autoload it.
5866         (cal-html-htmlify-entry): Add optional class argument.
5867         (cal-html-htmlify-list): Add optional holidays argument.
5868         (cal-html-insert-agenda-days): Include holidays in the output.
5869         (cal-html-one-month): Maybe include holidays.
5871         * calendar/holidays.el (holiday-in-range):
5872         Move here from cal-tex-list-holidays.
5873         * calendar/cal-tex.el (cal-tex-list-holidays):
5874         Make it an obsolete alias for holiday-in-range.  Update all callers.
5876 2012-05-05  Chong Yidong  <cyd@gnu.org>
5878         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5879         Nextstep.
5881 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
5883         * files.el (file-auto-mode-skip): New var.
5884         (set-auto-mode-1): Use it.
5886 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5888         * repeat.el: Use lexical-binding.
5889         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5890         (repeat-undo-count): Remove.
5891         (repeat):
5892         * progmodes/octave-mod.el (octave-abbrev-start):
5893         * progmodes/f90.el (f90-abbrev-start):
5894         * face-remap.el (text-scale-adjust):
5895         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5897         * emacs-lisp/pcase.el (pcase--let*): New function.
5898         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5899         a bit more.
5900         (pcase--split-pred): Be more clever about ruling out overlap between
5901         a predicate and some constant pattern.
5902         (pcase--q1): Use `null' instead of (eq foo nil).
5904         * subr.el (setq-local, defvar-local): New macros.
5905         (kbd): Redefine as an alias.
5906         (with-selected-window): Leave unrelated frames alone.
5907         (set-temporary-overlay-map): New function.
5909 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5911         * subr.el (user-error): New function.
5912         * window.el (switch-to-buffer):
5913         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5914         (smerge-match-conflict):
5915         * simple.el (previous-matching-history-element)
5916         (next-matching-history-element, goto-history-element, undo-more)
5917         (undo-start):
5918         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5919         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5920         (next-file, tags-loop-scan, list-tags, complete-tag):
5921         * progmodes/compile.el (compilation-loop):
5922         * mouse.el (mouse-minibuffer-check):
5923         * man.el (Man-bgproc-sentinel, Man-goto-page):
5924         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5925         (Info-history-forward, Info-follow-reference, Info-menu)
5926         (Info-extract-menu-item, Info-extract-menu-counting)
5927         (Info-forward-node, Info-backward-node, Info-next-menu-item)
5928         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5929         (Info-next-reference, Info-prev-reference, Info-index)
5930         (Info-index-next, Info-follow-nearest-node)
5931         (Info-copy-current-node-name):
5932         * imenu.el (imenu--make-index-alist)
5933         (imenu-default-create-index-function, imenu-add-to-menubar):
5934         * files.el (basic-save-buffer, recover-file):
5935         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5936         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5937         (checkdoc-message-text, checkdoc-defun):
5938         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5939         * cus-edit.el (customize-changed-options, customize-rogue)
5940         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5941         (custom-variable-mark-to-reset-standard)
5942         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5943         (custom-file):
5944         * completion.el (check-completion-length):
5945         * comint.el (comint-search-arg)
5946         (comint-previous-matching-input-string-position)
5947         (comint-previous-matching-input)
5948         (comint-replace-by-expanded-history-before-point, comint-send-input)
5949         (comint-copy-old-input, comint-backward-matching-input)
5950         (comint-goto-process-mark, comint-set-process-mark):
5951         * calendar/calendar.el (calendar-cursor-to-date): Use it.
5952         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5954 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5956         * dabbrev.el (dabbrev--ignore-case-p): New function.
5957         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5958         Use it.
5960         * files.el (automount-dir-prefix): Mark as obsolete.
5962 2012-05-04  Glenn Morris  <rgm@gnu.org>
5964         * patcomp.el, play/bruce.el: Move to obsolete/.
5966 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
5968         Fix minor Y10k bugs.
5969         * arc-mode.el (archive-unixdate):
5970         * autoinsert.el (auto-insert-alist):
5971         * calc/calc-forms.el (math-this-year):
5972         * emacs-lisp/copyright.el (copyright-current-year)
5973         (copyright-update-year, copyright):
5974         * tar-mode.el (tar-clip-time-string):
5975         * time.el (display-time-update):
5976         Don't assume years have 4 digits.
5978 2012-05-04  Chong Yidong  <cyd@gnu.org>
5980         * dos-w32.el (file-name-buffer-file-type-alist)
5981         (direct-print-region-use-command-dot-com):
5982         * ffap.el (ffap-menu-regexp):
5983         * find-file.el (ff-special-constructs):
5984         * follow.el (follow-debug):
5985         * forms.el (forms--debug):
5986         * iswitchb.el (iswitchb-all-frames):
5987         * ido.el (ido-all-frames):
5988         * emacs-lisp/timer.el (timer-max-repeats):
5989         * mail/feedmail.el (feedmail-mail-send-hook)
5990         (feedmail-mail-send-hook-queued):
5991         * mail/footnote.el (footnote-signature-separator):
5992         * mail/mailabbrev.el (mail-alias-separator-string)
5993         (mail-abbrev-mode-regexp):
5994         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5995         * progmodes/idlwave.el (idlwave-libinfo-file)
5996         (idlwave-default-completion-case-is-down)
5997         (idlwave-library-routines): Convert defvars to defcustoms.
5999         * mail/rmail.el (rmail-decode-mime-charset):
6000         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6001         (idlwave-shell-fix-inserted-breaks)
6002         (idlwave-shell-activate-alt-keybindings)
6003         (idlwave-shell-use-breakpoint-glyph):
6004         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6006 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6008         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6010 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
6012         * progmodes/verilog-mode.el (font-lock-keywords):
6013         Fix mis-highligting auto.  Reported by Craig Barner.
6014         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6015         defines from global name space.  Reported by Dan Dever.
6016         (verilog-auto-reset, verilog-auto-reset-widths)
6017         (verilog-auto-tieoff): Support using unbased numbers for
6018         AUTORESET and AUTOTIEOFF.
6019         (verilog-submit-bug-report): Update variable list.
6020         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6021         parenthesis from not matching.  Reported by Michael Rytting.
6022         (verilog-auto-template-lint): Fix hash error when linting modules
6023         with no used templates.
6024         (verilog-warn, verilog-warn-error)
6025         (verilog-warn-fatal): When non-interactive report multiple
6026         warnings before exiting.  Suggested by Brad Dobbie.
6027         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6028         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6029         to report unused template errors.  Reported by Brad Dobbie.
6030         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6031         nets, bug438.  Reported by Vns Blore.
6032         (verilog-auto-inout-module, verilog-auto-reg)
6033         (verilog-read-decls, verilog-read-sub-decls-sig)
6034         (verilog-signals-edit-wire-reg, verilog-signals-with):
6035         Fix passing of Verilog data types in ANSI input/output ports
6036         such as "output logic" into the AUTOs.  Special case "wire" and
6037         "reg" for backwards compatibility presuming Verilog 2001.
6038         (verilog-auto-ascii-enum): Add "auto enum" as alias.
6039         (verilog-preprocess): Fix replication of preprocess output.
6040         Reported by Brad Dobbie.
6041         (verilog-auto-inst-interfaced-ports):
6042         Create verilog-auto-inst-interfaced-ports, bug429.
6043         Reported by Julian Gorfajn.
6044         (verilog-after-save-font-hook)
6045         (verilog-before-save-font-hook): New variable.
6046         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6047         (verilog-save-font-mods): Wrap disabling fontification, reported
6048         by David Rogoff.
6049         (verilog-do-indent, verilog-pretty-declarations-auto)
6050         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6051         Reported by Pierre-David Pfister.
6052         (verilog-set-auto-endcomments): Fix endtask auto comments outside
6053         of class declarations, bug292.  Reported by Kevin Heilman.
6054         (verilog-read-decls): Fix 'parameter type' not appearing in
6055         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
6056         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6057         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
6058         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6059         Reported by David Kravitz.
6061 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
6063         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6064         assignment with tests in ifs and for loops.
6065         (verilog-extended-complete-re, verilog-complete-reg): Change so
6066         that DPI inport functions don't look like fuction declarations.
6067         (verilog-pretty-expr): Don't line up assignment
6068         operations to the test and increment in if and for loops
6069         (verilog-extended-complete-re, verilog-complete-reg): Change so
6070         that DPI inport functions don't look like fuction declarations.
6072 2012-05-03  Kenichi Handa  <handa@m17n.org>
6074         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6075         decoding, and show a warning message without signaling an error
6076         (Bug#11282).
6078 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6080         * emacs-lisp/bytecomp.el
6081         (byte-compile-file-form-custom-declare-variable): Compile all elements,
6082         since cconv.el might have introduced :fun-body, internal-make-closure,
6083         and friends for bytecomp to handle (bug#11391).
6084         * custom.el (defcustom): Avoid ((λ ..) ..).
6086 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6088         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6090 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
6092         * notifications.el (dbus-debug):
6093         * term/linux.el (gpm-mouse-enable):
6094         * term/screen.el (xterm-register-default-colors): Declare.
6096 2012-05-02  Chong Yidong  <cyd@gnu.org>
6098         * cus-start.el (gc-cons-percentage, exec-suffixes)
6099         (dos-display-scancodes, dos-hyper-key, dos-super-key)
6100         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6101         (make-cursor-line-fully-visible, void-text-area-pointer)
6102         (font-list-limit): Add customization data.
6104         * allout.el (allout-exposure-change-functions)
6105         (allout-structure-added-functions)
6106         (allout-structure-deleted-functions)
6107         (allout-structure-shifted-functions): Rename abnormal hooks from
6108         *-hook, and convert to defcustoms.
6109         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6110         Convert to defcustoms.
6111         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6113         * allout-widgets.el: Hook callers changed.
6115 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
6117         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6118         the yanked message in preference to the default value of
6119         buffer-file-coding-system.
6121 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
6123         * window.el (display-buffer--action-function-custom-type):
6124         Fix entry.
6126 2012-05-02  Alan Mackenzie  <acm@muc.de>
6128         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6130 2012-05-01  Glenn Morris  <rgm@gnu.org>
6132         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6134         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
6136         * cus-edit.el (custom-variable-documentation): Simplify with format.
6138 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6139             Stefan Monnier  <monnier@iro.umontreal.ca>
6141         * simple.el (suggest-key-bindings, execute-extended-command):
6142         Move from keyboard.c.
6144 2012-05-01  Chong Yidong  <cyd@gnu.org>
6146         * follow.el: Eliminate advice.
6147         (set-process-filter, process-filter, sit-for): Advice deleted.
6148         (follow-mode-off-hook): Obsolete hook removed.
6149         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6150         Vars deleted.
6151         (follow-auto): Use a :set function.
6152         (follow-mode): Rewritten.  Don't advise process filters.
6153         (follow-switch-to-current-buffer-all, follow-scroll-up)
6154         (follow-scroll-down): Assume follow-mode is bound.
6155         (follow-comint-scroll-to-bottom)
6156         (follow-align-compilation-windows): New functions.
6157         (follow--window-sorter): New function.
6158         (follow-all-followers): Use it to explicitly sort windows by their
6159         positions; don't make assumptions about next-window order.
6160         (follow-windows-start-end, follow-delete-other-windows-and-split)
6161         (follow-calc-win-start): Doc fix.
6162         (follow-windows-aligned-p, follow-select-if-visible): Don't call
6163         vertical-motion unnecessarily.
6164         (follow-adjust-window): New function.
6165         (follow-post-command-hook): Use it.
6166         (follow-call-set-process-filter, follow-call-process-filter)
6167         (follow-intercept-process-output, follow-tidy-process-filter-alist)
6168         (follow-stop-intercept-process-output, follow-generic-filter):
6169         Functions deleted.
6170         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6171         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6172         New functions, replacing advice on scroll-bar-* commands.
6173         (follow-mwheel-scroll): New function (Bug#4112).
6175         * comint.el (comint-adjust-point): New function.
6176         (comint-postoutput-scroll-to-bottom): Use it.
6177         Call follow-comint-scroll-to-bottom for Follow mode buffers.
6179 2012-05-01  Glenn Morris  <rgm@gnu.org>
6181         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6182         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6183         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6184         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6185         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6186         Remove no-byte-compile setting.
6188 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6190         * minibuffer.el (completion-table-with-quoting): Fix compatibility
6191         all-completions code to not return a number in the last cdr.
6193 2012-04-30  Leo Liu  <sdl.web@gmail.com>
6195         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6196         read-only error.
6198 2012-04-29  Chong Yidong  <cyd@gnu.org>
6200         * follow.el (follow-calc-win-end): Rewrite to handle partial
6201         screen lines correctly (Bug#8390).
6202         (follow-avoid-tail-recenter): Minor cleanup.
6204 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6206         Avoid the obsolete `assoc' package.
6207         * speedbar.el (speedbar-refresh): Avoid adelete.
6208         (speedbar-file-lists): Simplify and avoid aput.
6209         * man.el (Man--sections, Man--refpages): New vars, replacing
6210         Man-sections-alist and Man-refpages-alist.
6211         (Man-build-section-alist, Man-build-references-alist):
6212         Use them; avoid aput.
6213         (Man--last-section, Man--last-refpage): New vars.
6214         (Man-follow-manual-reference): Use them.
6215         Use the `default' arg of completing-read.
6216         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
6218 2012-04-27  Chong Yidong  <cyd@gnu.org>
6220         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6222         * startup.el (x-apply-session-resources): New function.
6224         * term/ns-win.el (ns-initialize-window-system):
6225         * term/w32-win.el (w32-initialize-window-system):
6226         * term/x-win.el (x-initialize-window-system): Use it to properly
6227         set menu-bar-mode and other vars from X resources, even if the
6228         initial frame is not a window-system frame (Bug#2299).
6230         * subr.el (read-key): Avoid running filter function when setting
6231         up temporary tool bar entries (Bug#9922).
6233 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
6235         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6236         (Bug#11344)
6238 2012-04-27  Chong Yidong  <cyd@gnu.org>
6240         * select.el (xselect--encode-string): New function, split from
6241         xselect-convert-to-string.
6242         (xselect-convert-to-string): Use it.
6243         (xselect-convert-to-filename, xselect-convert-to-os)
6244         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6245         returned strings are properly encoded (Bug#11315).
6247 2012-04-27  Chong Yidong  <cyd@gnu.org>
6249         * simple.el (delete-active-region): Move to killing custom group.
6251 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
6253         * progmodes/which-func.el (which-func-current): Quote %
6254         characters for mode-line processing.
6256 2012-04-27  Chong Yidong  <cyd@gnu.org>
6258         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6259         reaching eob (Bug#11286).
6261 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
6263         * progmodes/gdb-mi.el (gdb-control-level): New variable.
6264         (gdb): Make it buffer-local and init to zero.
6265         (gdb-control-commands-regexp): New variable.
6266         (gdb-send): Don't wrap in "-interpreter-exec console" if
6267         gdb-control-level is positive.  Increment gdb-control-level
6268         whenever the command matches gdb-control-commands-regexp, and
6269         decrement it each time the command is "end".  (Bug#11279)
6271 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
6273         * window.el (adjust-window-trailing-edge, enlarge-window)
6274         (shrink-window, window-resize):
6275         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6276         windows (Bug#11276).
6278 2012-04-27  Chong Yidong  <cyd@gnu.org>
6280         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6281         fix "missing prefix" warning.  All callers changed.
6283 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6285         * emacs-lisp/assoc.el: Move to obsolete/.
6287 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6289         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6291         * term/ns-win.el (ns-define-service):
6292         * progmodes/pascal.el (pascal-goto-defun):
6293         * progmodes/js.el (js--read-tab):
6294         * progmodes/etags.el (tags-lazy-completion-table):
6295         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6296         * emacs-lisp/ewoc.el (ewoc--wrap):
6297         * emacs-lisp/assoc.el (aput, adelete, amake):
6298         * doc-view.el (doc-view-convert-current-doc):
6299         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6301 2012-04-26  Chong Yidong  <cyd@gnu.org>
6303         * image.el (image-type-from-buffer): Only return supported image
6304         type (Bug#9045).
6306         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6307         value, for symmetry with diff-end-of-hunk.
6308         (diff-split-hunk, diff-find-source-location)
6309         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6310         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6311         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6312         compute the relevant hunk or file properly (Bug#6005).
6313         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6315 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6317         * vc/vc-mtn.el:
6318         * vc/vc-hg.el:
6319         * vc/vc-git.el:
6320         * vc/vc-dir.el:
6321         * vc/vc-cvs.el:
6322         * vc/vc-bzr.el:
6323         * vc/vc-arch.el:
6324         * vc/vc.el: Replace lexical-let by lexical-binding.
6325         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6326         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6327         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6329 2012-04-26  Chong Yidong  <cyd@gnu.org>
6331         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6332         (diff-mode-shared-map): Bind it to / and [remap undo].
6334         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6335         (ediff-window-setup-function): Use it as the default, to set up
6336         windows based on whether the current frame is graphical (Bug#2138).
6337         (ediff-choose-window-setup-function-automatically): Make obsolete.
6339         * vc/ediff-init.el: Always define ediff-pixel-width/height.
6341 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6343         * ffap.el: Remove old code for obsolete package.
6344         (ffap-complete-as-file-p): Remove.
6346         Use completion-table-with-quoting for comint and pcomplete.
6347         * comint.el (comint--unquote&requote-argument)
6348         (comint--unquote-argument, comint--requote-argument): New functions.
6349         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6350         (comint-quote-filename): Use regexp-opt-charset.
6351         (comint--common-suffix, comint--common-quoted-suffix)
6352         (comint--table-subvert): Remove.
6353         (comint-unquote-function, comint-requote-function): New vars.
6354         (comint--complete-file-name-data): Use them with
6355         completion-table-with-quoting.
6356         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6357         * pcomplete.el (pcomplete-arg-quote-list)
6358         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6359         (pcomplete-unquote-argument-function): Default to non-nil.
6360         (pcomplete-unquote-argument): Simplify.
6361         (pcomplete--common-quoted-suffix): Remove.
6362         (pcomplete-requote-argument-function): New var.
6363         (pcomplete--common-suffix): New function.
6364         (pcomplete-completions-at-point): Use completion-table-with-quoting
6365         and completion-table-subvert.
6367         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6368         (minibuffer--double-dollars): Preserve properties.
6369         (completion--sifn-requote): New function.
6370         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6372         * minibuffer.el: Add support for completion of quoted/escaped data.
6373         (completion-table-with-quoting, completion-table-subvert): New funs.
6374         (completion--twq-try, completion--twq-all): New functions.
6375         (completion--nth-completion): New function.
6376         (completion-try-completion, completion-all-completions): Use it.
6378 2012-04-25  Leo Liu  <sdl.web@gmail.com>
6380         * progmodes/python.el (python-pdbtrack-get-source-buffer):
6381         Use compilation-message if available to find real filename.
6383 2012-04-25  Chong Yidong  <cyd@gnu.org>
6385         * vc/diff-mode.el (diff-setup-whitespace): New function.
6386         (diff-mode): Use it.
6388         * vc/diff.el (diff-sentinel):
6389         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6390         Whitespace mode variables based on diff style (Bug#8612).
6392 2012-04-25  Leo Liu  <sdl.web@gmail.com>
6394         * progmodes/python.el (python-send-region): Add suffix .py to the
6395         temp file.
6397         * files.el (auto-mode-alist): Use javascript-mode instead.
6399 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
6401         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
6403         * net/soap-client.el (soap-resolve-references-for-sequence-type)
6404         (soap-resolve-references-for-array-type): Hack to prevent self
6405         references, see Bug#9.
6406         (soap-parse-envelope): Report the contents of the 'detail' node
6407         when receiving a fault reply.
6408         (soap-parse-envelope): Report the contents of the entire 'detail' node.
6410         * net/soap-inspect.el (soap-sample-value-for-simple-type)
6411         (soap-inspect-simple-type): New function.
6413         * net/soap-client.el (soap-simple-type): New struct.
6414         (soap-default-xsd-types, soap-default-soapenc-types)
6415         (soap-decode-basic-type, soap-encode-basic-type):
6416         support unsignedInt and double basic types.
6417         (soap-resolve-references-for-simple-type)
6418         (soap-parse-simple-type, soap-encode-simple-type): New function.
6419         (soap-parse-schema): Parse xsd:simpleType declarations.
6421         * net/soap-client.el (soap-default-xsd-types)
6422         (soap-default-soapenc-types): Add integer, byte and anyURI types.
6423         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6424         the local name of "soapenc:Array".
6425         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
6426         decoding integer, byte and anyURI xsd types.
6428 2012-04-25  Chong Yidong  <cyd@gnu.org>
6430         * cus-edit.el (custom-buffer-create-internal): Update header text.
6432 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
6434         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6435         settings on 'system-type', not on 'window-system'.  On MS-Windows,
6436         set interactive-mode on in GDB.
6438 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6440         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6441         (ruby-syntax-propertize-regexp): Remove.
6442         (ruby-syntax-propertize-function): Split regexp into chunks.
6443         Match following code directly.
6445 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
6447         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6448         (ruby-syntax-propertize-regexp): New function.
6449         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6450         by a special keyword.
6452         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6453         (ruby-syntax-general-delimiters-goto-beg)
6454         (ruby-syntax-propertize-general-delimiters): New functions.
6455         (ruby-syntax-propertize-function): Use them to handle GDL.
6456         (ruby-font-lock-keywords): Move old handling of GDL...
6457         (ruby-font-lock-syntactic-keywords): .. to here.
6458         (ruby-calculate-indent): Adjust indentation for GDL.
6460 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
6462         * notifications.el (top): Remove unneeded declarations.
6463         (notifications-specification-version): Change to "1.2".
6464         (notifications-interface, notifications-notify-method)
6465         (notifications-close-notification-method): Fix docstring.
6466         (notifications-get-capabilities-method): New defconst.
6467         (notifications-notify): Add :action-items, :resident and
6468         :transient hints.  Change "image_data" to "image-data" and
6469         "image_path" to "image-path".
6470         (notifications-get-capabilities): New defun.
6472 2012-04-24  Leo Liu  <sdl.web@gmail.com>
6474         * progmodes/python.el: Move hideshow setup to the end.
6476 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
6478         * window.el (handle-select-window): Clear echo area since this is
6479         no more done by read_char (Bug#11304).
6481 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6483         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6484         and `/ M' to filter-derived-mode.
6485         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6486         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6487         (ibuffer-mark-by-mode): Use default rather than initial-input.
6488         (ibuffer-filter-by-derived-mode): Autoload and require-match.
6490 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
6492         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6493         (ibuffer-filter-by-derived-mode): New filter.
6494         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6496 2012-04-23  Andreas Politz  <politza@fh-trier.de>
6498         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6500 2012-04-23  Chong Yidong  <cyd@gnu.org>
6502         * cus-edit.el (customize-apropos, customize-apropos-options):
6503         Disable matching of non-option variables (Bug#11176).
6504         (customize-option, customize-option-other-window)
6505         (customize-changed-options): Doc fix.
6506         (customize-apropos-options, customize-apropos-faces)
6507         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6509         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
6510         Fix word list splitting (Bug#11132).
6511         (apropos-symbol, apropos-keybinding, apropos-label)
6512         (apropos-property, apropos-function-button)
6513         (apropos-variable-button, apropos-misc-button): New faces.
6514         (apropos-symbol-face, apropos-keybinding-face)
6515         (apropos-label-face, apropos-property-face, apropos-match-face):
6516         Variables removed (Bug#8396).
6517         (apropos-library-button, apropos-format-plist, apropos-print)
6518         (apropos-print-doc, apropos-describe-plist): Callers changed.
6520 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
6522         * net/xesam.el (xesam-mode-map): Use let-bound map in
6523         initialization.  (Bug#11292)
6525 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6527         Preserve ispell session localwords when switching back to
6528         original buffer.
6530         * textmodes/ispell.el (ispell-buffer-session-localwords):
6531         New buffer-local variable to hold buffer session localwords.
6532         (ispell-kill-ispell): Add option 'clear to delete session
6533         localwords.
6534         (ispell-command-loop, ispell-change-dictionary)
6535         (ispell-buffer-local-words): Preserve session localwords when
6536         needed.
6538         * textmodes/flyspell.el (flyspell-process-localwords)
6539         (flyspell-do-correct): Preserve session localwords when needed.
6541 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6543         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6544         using obsolete `translation-table-for-input'.
6545         (ispell-word, ispell-process-line, ispell-complete-word):
6546         Use plain `insert' instead of removed `ispell-insert-word'.
6548 2012-04-22  Chong Yidong  <cyd@gnu.org>
6550         * cus-edit.el (custom-variable-menu)
6551         (custom-variable-reset-saved, custom-face-menu)
6552         (custom-face-reset-saved): If there is no saved value, make the
6553         "reset-saved" operation bring back the default (Bug#9509).
6554         (custom-face-state): Properly detect themed faces.
6556         * faces.el (face-spec-set): Stop supporting deprecated form of
6557         third arg.
6559 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
6561         Move functions from C to Lisp.  Make non-blocking method calls
6562         the default.  Implement further D-Bus standard interfaces.
6564         * net/dbus.el (dbus-message-internal): Declare function.
6565         Remove unneeded function declarations.
6566         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6567         (dbus-message-type-method-return, dbus-message-type-error)
6568         (dbus-message-type-signal): Declare variables.  Remove local
6569         definitions.
6570         (dbus-interface-dbus, dbus-interface-peer)
6571         (dbus-interface-introspectable, dbus-interface-properties)
6572         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6573         Adapt docstring.
6574         (dbus-interface-objectmanager): New defconst.
6575         (dbus-call-method, dbus-call-method-asynchronously)
6576         (dbus-send-signal, dbus-method-return-internal)
6577         (dbus-method-error-internal, dbus-register-service)
6578         (dbus-register-signal, dbus-register-method): New defuns, moved
6579         from dbusbind.c
6580         (dbus-call-method-handler, dbus-setenv)
6581         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6582         New defuns.
6583         (dbus-call-method-non-blocking): Make it an obsolete function.
6584         (dbus-unregister-object, dbus-unregister-service)
6585         (dbus-handle-event, dbus-register-property)
6586         (dbus-property-handler): Obey the new structure of
6587         `bus-registered-objects'.
6588         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
6589         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6590         Use `dbus-call-method'.
6592 2012-04-22  Chong Yidong  <cyd@gnu.org>
6594         * cus-edit.el (custom-commands, custom-reset-menu)
6595         (Custom-reset-standard): Tweak labels.
6596         (custom-reset-button-menu): Change default to t.
6597         (custom-buffer-create-internal): For the custom-reset-button-menu
6598         case, put the revert button first.
6599         (custom-group-subtitle): New face.
6600         (custom-group-value-create): Align docstring to a specific column.
6602         * wid-edit.el (widget-documentation-link-add): Don't handle
6603         indentation in this function.
6604         (widget-documentation-string-indent-to): New function.
6605         (widget-documentation-string-value-create): Use it.
6607         * autorevert.el (auto-revert):
6608         * epg-config.el (epg):
6609         * ibuffer.el (ibuffer):
6610         * mpc.el (mpc):
6611         * ses.el (ses):
6612         * eshell/eshell.el (eshell):
6613         * net/ange-ftp.el (ange-ftp):
6614         * progmodes/ebnf2ps.el (postscript):
6615         * progmodes/flymake.el (flymake):
6616         * progmodes/prolog.el (prolog):
6617         * progmodes/verilog-mode.el (verilog-mode):
6618         * progmodes/which-func.el (which-func):
6619         * term/xterm.el (xterm):
6620         * textmodes/picture.el (picture):
6621         * textmodes/tildify.el (tildify):
6622         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6623         customization buffers.
6625 2012-04-22  Alan Mackenzie  <acm@muc.de>
6627         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6628         Adding a ) can hide the resulting (..) from searches.  Fix it.
6629         Bound the backward search to the position of the existing (.
6631 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
6633         * progmodes/verilog-mode.el (verilog-mode): Check whether
6634         which-func-modes is t before adding verilog-mode.
6635         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6637 2012-04-21  Leo Liu  <sdl.web@gmail.com>
6639         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
6641 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
6643         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6644         filling of the last column of a table (Bug#5635).
6645         (woman-find-next-control-line): New arg, specifying an additional
6646         regexp component for the control line.
6647         (woman2-roff-buffer): Use it.
6648         (woman-break-table): New function.
6649         (woman2-TS): Use it.
6651 2012-04-21  Chong Yidong  <cyd@gnu.org>
6653         * woman.el (woman-set-buffer-display-table, woman-decode-region)
6654         (woman-horizontal-escapes, woman-negative-vertical-space)
6655         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6656         (WoMan-warn-ignored): Use ?\s instead of ?\ .
6658 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6660         * minibuffer.el (completion-file-name-table): Complete user names.
6662 2012-04-20  Leo Liu  <sdl.web@gmail.com>
6664         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6665         and pcase-let*.
6667 2012-04-20  Chong Yidong  <cyd@gnu.org>
6669         * server.el (server-execute): Respect initial-buffer-choice if it
6670         is a string and there are no files to open (Bug#2825).
6671         (server-create-window-system-frame, server-create-tty-frame):
6672         Don't switch buffers here.
6673         (server-process-filter): Only try to open a window system frame if
6674         compiled with graphical support (Bug#8314).
6676 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
6678         * battery.el (battery-echo-area-format): Display remaining time
6679         for sysfs backend too (Bug#11269).
6680         (battery-linux-sysfs): Fix conditional for the charge.
6682 2012-04-20  Chong Yidong  <cyd@gnu.org>
6684         * progmodes/gdb-mi.el (gdb): Revert previous change.
6685         (gdb-inferior-io--init-proc): New function.
6686         (gdb-init-1): Use it.
6687         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6688         responsible for allocating a new pty and hooking it to gdb when
6689         the old pty gets an EIO due to process exit.
6690         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
6691         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6692         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6694 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
6696         * window.el (window-min-size, window-sizable, window-min-delta)
6697         (window-max-delta, window--resizable, window-resizable)
6698         (window-total-size, window-full-height-p, window-full-width-p)
6699         (window-in-direction, window--resize-mini-window, window-resize)
6700         (window--resize-child-windows-normal)
6701         (window--resize-child-windows, window--resize-siblings)
6702         (window--resize-this-window, adjust-window-trailing-edge)
6703         (enlarge-window, shrink-window): Doc fixes.
6705 2012-04-20  Chong Yidong  <cyd@gnu.org>
6707         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6708         New function to call delete-process on the gdb-inferior buffer's pty.
6709         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6710         pty process (Bug#11273).
6711         (gdb-update): New arg to suppress talking to the gdb process.
6712         (gdb-done-or-error): Use it.
6713         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6714         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6715         sentinel not being called.
6717         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6719         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6721 2012-04-20  Glenn Morris  <rgm@gnu.org>
6723         * net/network-stream.el (open-network-stream): Doc fix.
6725 2012-04-20  Chong Yidong  <cyd@gnu.org>
6727         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6729 2012-04-20  Alan Mackenzie  <acm@muc.de>
6731         Ensure searching for keywords is case sensitive.
6733         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6734         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6735         (c-defun-name, c-mark-function, c-cpp-define-name)
6736         (c-comment-indent, c-scan-conditionals, c-indent-defun)
6737         (c-context-line-break): Bind case-fold-search to nil.
6739         * progmodes/cc-mode.el (c-font-lock-fontify-region):
6740         Bind case-fold-search to nil.
6742 2012-04-20  Chong Yidong  <cyd@gnu.org>
6744         * mail/sendmail.el (mail-bury): Call return action with the right
6745         Rmail buffer (Bug#11242).
6747         * server.el (server-process-filter): Handle corner case where both
6748         tty and nowait options are present (Bug#11102).
6750 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
6752         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6753         (top level): Put into the executable the ident-style '$Id:' tag on
6754         windows-nt as well.
6756 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6758         * electric.el (electric-indent-post-self-insert-function): Check that
6759         electric-indent-mode is enabled in current buffer.
6761 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
6763         * imenu.el (imenu-progress-message): Restore; it is "used" in
6764         erc/erc-imenu.el and net/snmp-mode.el.
6766 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
6768         * avoid.el (mouse-avoidance-mode): Mark unused arg.
6769         (mouse-avoidance-nudge-mouse): Remove unused binding.
6771         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6773         * descr-text.el (describe-char):
6774         * progmodes/python.el (python-describe-symbol):
6775         Don't call `toggle-read-only', set `buffer-read-only'.
6777         * imenu.el (imenu-default-goto-function): Mark unused args.
6778         (imenu-progress-message): Remove obsolete macro; all callers changed.
6780         * subr.el (keymap-canonicalize): Remove unused binding.
6781         (read-passwd): Mark unused arg.
6783         * tutorial.el (tutorial--display-changes): Remove unused binding.
6784         (tutorial--save-tutorial-to): Remove unused variable.
6786         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6787         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6788         (package-generate-autoloads, package-menu--generate)
6789         (package-menu--find-upgrades): Remove unused bindings.
6791         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6792         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
6793         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6794         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6795         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6796         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6797         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6798         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6799         (cua-delete-char-rectangle): Mark unused args.
6800         (cua-align-rectangle): Remove unused binding.
6802         * mail/rmail.el (compilation--message->loc)
6803         (epa--find-coding-system-for-mime-charset): Declare.
6805         * net/dbus.el (dbus-register-service): Declare.
6806         (dbus-name-owner-changed-handler): Remove unused binding.
6808         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6809         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6810         (nxml-scan-backward-within): Mark unused arg.
6811         (nxml-dynamic-markup-word): Remove unused binding.
6813         * mouse.el (mouse-menu-major-mode-map):
6814         * emacs-lisp/authors.el (authors-scan-change-log)
6815         (authors-add-to-author-list):
6816         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6817         * emacs-lisp/smie.el (smie-auto-fill):
6818         * mail/sendmail.el (mail-bury):
6819         * mail/unrmail.el (unrmail):
6820         * net/tls.el (open-tls-stream):
6821         * textmodes/picture.el (picture-mouse-set-point):
6822         Remove unused bindings.
6824 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
6826         * net/tramp.el (tramp-action-password): Let-bind
6827         `enable-recursive-minibuffers' to t.
6829 2012-04-18  Sam Steingold  <sds@gnu.org>
6831         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6832         instead of 'string to accommodate values like [f11].
6833         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6834         * progmodes/gdb-mi.el: Likewise.
6836 2012-04-18  Leo Liu  <sdl.web@gmail.com>
6838         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6839         current buffer.
6840         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6841         LOCAL is nil.
6843 2012-04-18  Chong Yidong  <cyd@gnu.org>
6845         * simple.el (line-move): Use forward-line if in batch mode
6846         (Bug#11053).
6848 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
6850         * files.el (after-find-file): Do not try to add a final newline if
6851         the buffer is read-only (Bug#11156).
6853 2012-04-17  Richard Stallman  <rms@gnu.org>
6855         * mail/rmail.el (rmail-start-mail):
6856         Pass (rmail-mail-return...) for the return-action.
6857         Pass (rmail-yank-current-message...) for the yank-action.
6858         (rmail-yank-current-message): New function.
6859         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6860         (rmail-reply): Likewise.
6861         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6863         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
6864         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
6865         buffer, not newbuf.
6867 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
6869         * server.el (server-ensure-safe-dir): Simplify.
6871 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6873         * emacs-lisp/smie.el: Provide smarter auto-filling.
6874         (smie-auto-fill): New function.
6875         (smie-setup): Use it.
6877         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6879 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
6881         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6882         (comment-indent): Use it.
6884 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6886         * ses.el: The overall change is to add cell renaming, that is
6887         setting fancy names for cell symbols other than name matching
6888         "\\`[A-Z]+[0-9]+\\'" regexp .
6889         (ses-localvars): Add ses--renamed-cell-symb-list.
6890         (ses-create-cell-variable): New defun.
6891         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
6892         (ses-relocate-formula): Relocate formulas only for cells the
6893         symbols of which are not renamed, i.e. symbols whose names do not
6894         match regexp "\\`[A-Z]+[0-9]+\\'".
6895         (ses-relocate-all): Relocate values only for cells the symbols of
6896         which are not renamed.
6897         (ses-load): Create cells variables as the (ses-cell ...) are read,
6898         in order to check row col consistency with cell symbol name only
6899         for cells that are not renamed.
6900         (ses-replace-name-in-formula): New defun.
6901         (ses-rename-cell): New defun.
6903 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
6905         * progmodes/perl-mode.el (perl-indent-parens-as-block):
6906         New option (bug#11118).
6907         (perl-calculate-indent): Respect it.
6909 2012-04-17  Glenn Morris  <rgm@gnu.org>
6911         * dired-aux.el (dired-mark-read-string): Doc fix.
6913 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
6915         * dired-aux.el (dired-mark-read-string): Offer optional completion.
6916         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
6918 2012-04-17  Glenn Morris  <rgm@gnu.org>
6920         * mouse.el (mouse-drag-track):
6921         * speedbar.el (speedbar-frame-mode):
6922         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6924 2012-04-16  Leo Liu  <sdl.web@gmail.com>
6926         * progmodes/python.el: Trivial cleanup.
6928 2012-04-16  Glenn Morris  <rgm@gnu.org>
6930         * vc/vc.el (vc-string-prefix-p):
6931         * vc/pcvs-util.el (cvs-string-prefix-p):
6932         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6933         * mpc.el (mpc-string-prefix-p):
6934         Make all of these into obsolete aliases for string-prefix-p.
6935         Update callers.
6936         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6938         * textmodes/two-column.el: Move custom options to the start.
6939         (frame-width): Remove compat definition.
6940         (2C-associate-buffer, 2C-dissociate):
6941         Use with-current-buffer rather than save-excursion.
6942         (2C-dissociate): Force a mode-line update.
6943         (2C-autoscroll): Use ignore-errors.
6945         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6946         Autoload trivia.
6948         * emacs-lisp/cl-extra.el (*random-state*):
6949         Remove unnecessary declaration.
6951         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6953         * play/cookie1.el (cookie-snarf):
6954         Give an explicit error if input file cannot be read.
6956         * play/yow.el (yow-file): Use expand-file-name rather than concat.
6958         * progmodes/perl-mode.el (c-macro-expand):
6959         Remove unnecessary autoload (it is in loaddefs.el).
6961         * textmodes/picture.el (picture-desired-column)
6962         (picture-update-desired-column): Convert comments to doc-strings.
6963         (picture-substitute): Remove function.
6964         (picture-mode-map): Initialize in the defvar.
6966         * woman.el: Remove eval-after-load for tar-mode.
6967         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6968         (woman-tar-extract-file): Autoload it.
6970         * frame.el (automatic-hscrolling): Make this alias obsolete.
6972 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6974         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
6975         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
6976         (ispell-dictionary-base-alist): Revert to original XEmacs
6977         friendly version for default.  [:alpha:] will be added in
6978         `ispell-set-spellchecker-params' if needed.
6980 2012-04-16  Chong Yidong  <cyd@gnu.org>
6982         * image.el (imagemagick--file-regexp): New variable.
6983         (imagemagick-register-types): Use it.
6984         (imagemagick-types-inhibit): Add :set function.  Allow new value
6985         of t to inhibit all types.
6987         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6988         so we can preload it.
6990         * loadup.el (fboundp): Preload regexp-opt, needed by
6991         imagemagick-register-types.
6993 2012-04-15  Chong Yidong  <cyd@gnu.org>
6995         * frame.el (scrolling): Remove nearly unused customization group.
6997         * scroll-all.el (scroll-all-mode): Move to windows group.
6999 2012-04-15  Chong Yidong  <cyd@gnu.org>
7001         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7003 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7005         Avoid the use of ((lambda ...) ...) in lexical-binding code.
7006         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7008 2012-04-15  Glenn Morris  <rgm@gnu.org>
7010         * simple.el (process-file-side-effects): Doc fix.
7012 2012-04-15  Glenn Morris  <rgm@gnu.org>
7014         * international/mule-cmds.el (set-language-environment): Doc fix.
7016 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
7018         * server.el (server-auth-key, server-generate-key): Doc fixes.
7019         (server-get-auth-key): Doc fix.  Use `string-match-p'.
7020         (server-start): Reflow docstring.
7022 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
7024         * server.el (server-generate-key): `called-interactively-p'
7025         requires a parameter.
7027 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
7029         * server.el (server-auth-key): New variable.
7030         (server-generate-key, server-get-auth-key): New function.
7031         (server-start): Use the new variable and functions to allow
7032         setting a permanent server key (bug#9423).
7034 2012-04-14  Leo Liu  <sdl.web@gmail.com>
7036         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7038 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
7040         Spelling fixes.
7041         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7042         Emacs uses American spelling.
7044 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
7046         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7047         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
7048         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7049         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
7051 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7053         * progmodes/which-func.el (which-func-modes): Change default.
7055 2012-04-14  Kim F. Storm  <storm@cua.dk>
7057         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7058         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7060 2012-04-14  Chong Yidong  <cyd@gnu.org>
7062         * custom.el (custom-theme-set-variables): Doc fix.
7064 2012-04-14  Glenn Morris  <rgm@gnu.org>
7066         * international/mule.el (set-auto-coding-for-load): Doc fix.
7068 2012-04-14  Alan Mackenzie  <acm@muc.de>
7070         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7071         imenu work again for Objective C Mode.  Correct the *-index values,
7072         these having been disturbed by a previous change in 2011-08.
7074         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7075         Correct two search limits.
7077 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7079         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7081 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
7083         * international/characters.el: Fix sorting.
7085 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7087         * international/characters.el: Add more missing Latin case pairs.
7089 2012-04-14  Glenn Morris  <rgm@gnu.org>
7091         * files.el (dir-locals-set-class-variables): Doc fix.
7093 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7095         * international/characters.el: Add set-case-syntax-pair call for
7096         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7097         counterpart.  (Bug#11209)
7099         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
7101 2012-04-14  Glenn Morris  <rgm@gnu.org>
7103         * calendar/holidays.el (calendar-check-holidays): Doc fix.
7105 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7107         * textmodes/ispell.el (ispell-dictionary-base-alist):
7108         Add data for Hebrew.
7110 2012-04-14  Chong Yidong  <cyd@gnu.org>
7112         * net/rcirc.el (rcirc-cmd-quit):
7113         Revert 2012-03-18 change (Bug#11192).
7115 2012-04-14  Glenn Morris  <rgm@gnu.org>
7117         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7119 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7121         * minibuffer.el (completion-in-region-mode-map):
7122         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
7124 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
7126         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7128 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
7130         * minibuffer.el (minibuffer-local-filename-syntax): New variable
7131         to allow `C-M-f' and `C-M-b' to move to the nearest path
7132         separator (bug#9511).
7134 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
7136         * avoid.el: Require cl when compiling.  And also move the
7137         `provide' to the end.
7139 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7141         * avoid.el (mouse-avoidance-banish-position): New variable.
7142         (mouse-avoidance-banish-destination): Use it (bug#10165).
7144 2012-04-13  Leo Liu  <sdl.web@gmail.com>
7146         * progmodes/which-func.el (which-func-modes): Add objc-mode.
7148 2012-04-13  Ken Brown  <kbrown@cornell.edu>
7150         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7151         this is no longer needed now that cygstart understands file:// URLs.
7152         (browse-url-filename-alist): For the same reason, don't modify
7153         file:// URLs on Cygwin.
7155 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7157         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7158         the region on shift if the binding is already shifted (bug#11221).
7160 2012-04-12  Glenn Morris  <rgm@gnu.org>
7162         * mail/mailpost.el: Move to obsolete/.
7164 2012-04-12  Drew Adams  <drew.adams@oracle.com>
7166         * imenu.el (imenu--generic-function): Ignore invisible definitions
7167         (bug#10123).
7169 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
7171         * hexl.el (hexl-bits): New variable.
7172         (hexl-options): Mention the variable in the doc string.
7173         (hexl-rulerise, hexl-line-displen): New functions.
7174         (hexl-mode): Mention the new variable.
7175         (hexl-mode, hexl-current-address, hexl-current-address):
7176         Use the displen.
7177         (hexl-ascii-start-column): New function.
7178         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7179         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7181 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7183         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7184         '("-i" ENCODING), in 2 separate command-line arguments, to specify
7185         the encoding, as expected by hunspell.
7187 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7189         * battery.el (battery--linux-sysfs-regexp): New const.
7190         (battery-status-function): Use it.  Remove yeeloong special case.
7191         (battery-yeeloong-sysfs): Remove.
7192         (battery-echo-area-format): Remove yeeloong special case.
7194 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7196         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7197         Reported by Noah Friedman.
7199         * subr.el (read-passwd): Use read-string.
7201 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7203         * vcursor.el (vcursor-move): Increase the priority of the overlay
7204         (bug#9663).
7206 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7208         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7209         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7211 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
7213         * textmodes/artist.el (artist-mode): Convert artist-mode to use
7214         define-minor-mode (bug#10760).
7216 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
7218         * progmodes/grep.el (rgrep): Tweak the find command line so
7219         that directories matching `grep-find-ignored-files' won't be
7220         pruned (bug#10351).
7222 2012-04-11  Chong Yidong  <cyd@gnu.org>
7224         * startup.el (command-line): Remove support for long-obsolete
7225         variable font-lock-face-attributes.
7227 2012-04-11  Glenn Morris  <rgm@gnu.org>
7229         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7231 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7233         * window.el (window--state-get-1): Obey window-point-insertion-type.
7235 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
7237         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7238         to previous function when point is on the first character of a
7239         function.  Take care of that in `narrow-to-defun' (bug#6157).
7241 2012-04-11  Glenn Morris  <rgm@gnu.org>
7243         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7244         not just file-errors.
7246         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7247         (vc-bzr-sha1): Use internal sha1.
7249 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7251         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7253 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
7255         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7256         that start in the middle of the line (bug#10496).
7258 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
7260         * battery.el (battery-linux-proc-acpi): Only one battery is
7261         discharged at a time, but that seems to confuse battery.el when
7262         computing `rate-type' for the battery not being discharged
7263         (bug#10332).
7265 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7267         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7269         * international/quail.el: Use dolist and simplify.
7270         (quail-define-package, quail-update-keyboard-layout)
7271         (quail-define-rules): Use dolist.
7272         (quail-insert-kbd-layout, quail-get-translation): CSE.
7274         * tmm.el: Use dolist, remove left over hook.
7275         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7276         Use dolist.
7277         (calendar-load-hook): Don't mess with it.
7279         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7280         Use derived-mode-p.  Run the diff asynchronously.
7282 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7284         * obsolete/mouse-sel.el: Add an Obsolete-since header.
7286 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
7288         * misc.el: Display absolute path of loaded DLLs (bug#10424).
7289         (list-dynamic-libraries--loaded): New function.
7290         (list-dynamic-libraries--refresh): Use it.
7292 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
7294         * progmodes/python.el (python-fill-paragraph):
7295         Make python-fill-region in a multiline string work when font-lock is
7296         disabled (bug#7018).
7298 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
7300         * language/european.el (cp775): Add oem/legacy (en)coding on
7301         DOS/MS Windows for the Baltic languages.  There are still plenty
7302         of texts written in this encoding/codepage (bug#6519).
7304 2012-04-10  Glenn Morris  <rgm@gnu.org>
7306         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7307         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7309 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
7311         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7312         next-line "n" and previous-line "p" in order to make recentf more
7313         consistent with ibuffer, dired or org-mode (bug#9387).
7315 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7317         * image.el (put-image): Return the overlay created instead of the
7318         optional input string (bug#7834).  Note that this may break code
7319         that is (for some reason or other) depending on `put-image'
7320         returning the string.
7322         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7324         * simple.el (zap-to-char): Allow zapping using input methods
7325         (bug#1580).
7327         * textmodes/fill.el (fill-region): Leave point and mark where they
7328         were before filling (bug#5399).
7330 2012-04-09  Glenn Morris  <rgm@gnu.org>
7332         * version.el (emacs-bzr-get-version):
7333         Handle lightweight checkouts of local branches.
7335 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
7337         * international/characters.el: Recover lost case pairs.  (Bug#11209)
7339 2012-04-09  Chong Yidong  <cyd@gnu.org>
7341         * custom.el (custom-variable-p): Return nil for non-symbol
7342         arguments instead of signaling an error.
7343         (user-variable-p): Obsolete alias for custom-variable-p.
7345         * apropos.el (apropos-variable):
7346         * files-x.el (read-file-local-variable):
7347         * simple.el (set-variable):
7348         * woman.el (woman-mini-help):
7349         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7351 2012-04-09  Glenn Morris  <rgm@gnu.org>
7353         * startup.el (normal-top-level): Don't look for leim-list.el
7354         in places where it will not be found.  (Bug#910)
7356         * international/mule-cmds.el (set-default-coding-systems):
7357         * files.el (normal-mode):
7358         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
7359         This function was removed with ucs-tables.el in 2008.
7361 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
7363         * textmodes/ispell.el (ispell-check-version): For hunspell, set
7364         ispell-encoding8-command to "-i", without a trailing space.
7365         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7366         separate command-line arguments, to specify the encoding, since
7367         that's how hunspell expects it.
7369 2012-04-08  Glenn Morris  <rgm@gnu.org>
7371         * loadup.el: Load bindings before cus-start.
7372         This reduces somewhat the number of "rogue" settings in emacs -Q.
7374 2012-04-07  Glenn Morris  <rgm@gnu.org>
7376         * version.el (emacs-bzr-get-version): New function.
7377         (emacs-bzr-version): New variable.
7378         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
7379         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7381 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
7383         * international/uni-bidi.el, international/uni-category.el:
7384         * international/uni-combining.el, international/uni-decimal.el:
7385         * international/uni-decomposition.el, international/uni-digit.el:
7386         * international/uni-lowercase.el, international/uni-mirrored.el:
7387         * international/uni-name.el, international/uni-numeric.el:
7388         * international/uni-titlecase.el, international/uni-uppercase.el:
7389         Update for Unicode 6.1.
7391 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
7393         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7395 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7397         * window.el (shrink-window): Mention the `window-min-height'
7398         variable in the doc string.
7400 2012-04-05  Bastien Guerry  <bzg@altern.org>
7402         * color.el (color-lighten-name): Fix typo.
7404 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7406         * server.el (server--on-display-p): New function.
7407         (server--on-display-p): Use it.
7409 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
7411         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7412         (bug#11145).
7414 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7416         * comint.el (comint--common-quoted-suffix): Check string boundary
7417         before comparing (bug#11158).
7418         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7420 2012-04-04  Chong Yidong  <cyd@gnu.org>
7422         * minibuffer.el (completion-extra-properties): Doc fix.
7424         * subr.el (delayed-warnings-hook): Doc fix.
7426 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
7428         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7429         selection (Bug#11159).
7430         (epa-insert-keys): Inform that the default public key will be
7431         exported if no key is selected.
7433 2012-04-04  Richard Stallman  <rms@gnu.org>
7435         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7437 2012-04-03  Chong Yidong  <cyd@gnu.org>
7439         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7440         mail-insert-file, not its obsolete alias mail-attach-file.
7442 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
7444         * notifications.el (notifications-notify): Fix docstring.
7446 2012-04-02  Glenn Morris  <rgm@gnu.org>
7448         * emacs-lisp/authors.el (authors-aliases): Another addition.
7450 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
7452         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7453         `tramp-compat-call-process' instead of `tramp-local-call-process'.
7454         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7456 2012-04-01  Chong Yidong  <cyd@gnu.org>
7458         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7459         Handle root directory properly.
7460         (copy-directory): Caller changed.
7462         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7463         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7465 2012-03-31  Glenn Morris  <rgm@gnu.org>
7467         * term/xterm.el (xterm-extra-capabilities): Doc fix.
7469         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
7471         * calendar/calendar.el (calendar-window-list)
7472         (calendar-hide-window): Restore.  (Bug#11140)
7473         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7475         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7477 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7479         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7480         Check if file is a symlink (Bug#10489).
7482         * files.el (copy-directory): Likewise.
7484 2012-03-30  Chong Yidong  <cyd@gnu.org>
7486         * image.el (imagemagick-types-inhibit)
7487         (imagemagick-register-types): Doc fix.
7489 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7491         * textmodes/ispell.el (ispell-get-extended-character-mode):
7492         Disable extended-char-mode for hunspell.  hunspell does not support it
7493         and treats ~word as ordinary words in pipe mode.
7495 2012-03-30  Glenn Morris  <rgm@gnu.org>
7497         * tutorial.el (help-with-tutorial): Ensure local variables don't
7498         happen to make the buffer read-only.  (Bug#11127)
7500 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7502         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7503         (perl-calculate-indent): Return `noindent' in strings.
7505 2012-03-28  Sam Steingold  <sds@gnu.org>
7507         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7508         instead of the broken adhockery which does not prevent calendar
7509         buffers from being displayed at random after exit.
7510         (calendar-window-list, calendar-hide-window): Remove the broken
7511         adhockery.
7513 2012-03-28  Glenn Morris  <rgm@gnu.org>
7515         * replace.el (query-replace-map): Doc fix.
7517 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
7519         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7520         contents.  (Bug#11109)
7522 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7524         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7525         (bug#11077).
7526         (avl-tree--check, avl-tree--check-node): New funs.
7528 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
7530         * window.el (switch-to-visible-buffer): New option.
7531         (switch-to-prev-buffer, switch-to-next-buffer):
7532         Observe switch-to-visible-buffer.  Make sure that checking for a window
7533         showing a buffer already is done on the same frame.
7535 2012-03-27  Glenn Morris  <rgm@gnu.org>
7537         * startup.el (mail-host-address): Doc fix.
7539 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7541         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7542         than 197 variables.
7544 2012-03-26  Ami Fischman  <ami@fischman.org>
7546         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7548 2012-03-26  Glenn Morris  <rgm@gnu.org>
7550         * files.el (save-buffers-kill-emacs): Doc fix.
7552         * startup.el (normal-top-level, command-line, command-line-1):
7553         Give them doc strings.
7555 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
7557         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
7558         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
7560 2012-03-25  Chong Yidong  <cyd@gnu.org>
7562         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7563         theme if it was previously enabled before (Bug#11031).
7565         * cus-theme.el (custom-theme-write-faces): Retrieve current face
7566         spec with custom-face-get-current-spec if its :shown-value is not
7567         determined yet (Bug#9337).
7568         (customize-create-theme, custom-theme-revert): Doc fixes.
7570         * button.el (button-at): Minor addition to docstring.
7572 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
7574         * vc/vc.el (vc-merge): Fix a prompt.
7576 2012-03-24  Chong Yidong  <cyd@gnu.org>
7578         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7579         point (Bug#9623).
7581         * button.el (button-at): Minor addition to docstring.
7583 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7585         * newcomment.el (comment-choose-indent): No space after BOL.
7587 2012-03-22  Sam Steingold  <sds@gnu.org>
7589         * window.el (switch-to-prev-buffer): Revert last patch because the
7590         bug turned out to be an advertised feature (Elisp manual 28.14).
7592 2012-03-22  Glenn Morris  <rgm@gnu.org>
7594         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
7595         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7597 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7599         * net/network-stream.el (network-stream-open-starttls): Make error
7600         message under Windows be less misleading.
7602 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
7604         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7605         understands (bug#9942).
7607 2012-03-22  Chong Yidong  <cyd@gnu.org>
7609         * simple.el (end-of-visible-line): Handle return value of
7610         next-single-property-change properly (Bug#9371).
7612 2012-03-22  Kenichi Handa  <handa@m17n.org>
7614         * international/quail.el (quail-insert-kbd-layout): Fix previous
7615         change.  To avoid unwanted bidi reordering, use
7616         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7618 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
7620         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7621         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7622         (ruby-beginning-of-indent): Be more careful with the difference
7623         between word-boundary and symbol boundary.
7624         (ruby-mode-syntax-table): Make : a symbol constituent.
7626 2012-03-21  Andreas Politz  <politza@fh-trier.de>
7628         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7630 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7632         * progmodes/etags.el (tags-completion-at-point-function):
7633         Improve last fix.
7635         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7637 2012-03-21  Sam Steingold  <sds@gnu.org>
7639         * progmodes/etags.el (tags-completion-at-point-function):
7640         Avoid the error when point is inside the pattern.
7642 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
7644         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7645         line (Bug#10855).
7647 2012-03-21  Drew Adams  <drew.adams@oracle.com>
7649         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7651 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
7653         * ido.el (ido-set-current-directory, ido-read-internal)
7654         (ido-choose-completion-string, ido-completion-help): Handle nil
7655         value of ido-completion-buffer (Bug#11008).
7657 2012-03-21  Sam Steingold  <sds@gnu.org>
7659         * window.el (switch-to-prev-buffer): Do not switch to a visible
7660         window previous buffer, just like with the frame previous buffers.
7662 2012-03-21  Chong Yidong  <cyd@gnu.org>
7664         * faces.el (make-face, make-empty-face, copy-face):
7665         * face-remap.el (face-remap-add-relative, face-remap-set-base):
7666         Doc fixes.
7668 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7670         * wid-edit.el (widget-complete-field): Remove (bug#11051).
7671         (widget-complete): Remove broken use of it.
7673 2012-03-20  Chong Yidong  <cyd@gnu.org>
7675         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7676         Use string-width and truncate-string-width to handle arbitrary
7677         characters.
7679 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
7681         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7682         to draw rectangles, not squares.  (Regression introduced by revno
7683         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7685 2012-03-18  Chong Yidong  <cyd@gnu.org>
7687         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7688         it is not yet defined (for temacs).
7690 2012-03-18  Leo Liu  <sdl.web@gmail.com>
7692         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
7694 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
7696         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7697         (ispell-choices-win-default-height, ispell-silently-savep)
7698         (ispell-dictionary-alist, ispell-encoding8-command)
7699         (ispell-check-version, ispell-aspell-find-dictionary)
7700         (ispell-valid-dictionary-list, ispell-words-keyword)
7701         (ispell-get-word, ispell-internal-change-dictionary)
7702         (ispell-region, ispell-skip-region-list)
7703         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7704         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7705         (ispell-message-text-end, ispell-message)
7706         (ispell-buffer-local-parsing): Doc fix.
7708 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
7710         * htmlfontify.el: Add support for code block fontification for ODT
7711         export (Bug #9914).
7712         (hfy-optimisations): Define new option
7713         `body-text-only'
7714         (hfy-fontify-buffer): Honor above setting.
7715         (hfy-begin-span, hfy-end-span): New routines factored out form
7716         `hfy-fontify-buffer'.
7717         (hfy-begin-span-handler, hfy-end-span-handler): New variables
7718         that permit insertion of custom tags.
7719         (hfy-fontify-buffer): Use above handlers.
7720         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7721         (hfy-face-to-css): Re-defined to be a variable.
7722         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
7723         over multiple runs.  This is made possible by having the caller let
7724         bind a special variable `hfy-user-sheet-assoc'.
7725         (htmlfontify-string): New defun.
7726         (hfy-compile-face-map): Make sure that the last char in the
7727         buffer is correctly fontified.
7728         (hfy-face-resolve-face): Whitespace only change.
7730 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
7732         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7733         message more clear.
7735 2012-03-16  Leo Liu  <sdl.web@gmail.com>
7737         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7739 2012-03-16  Alan Mackenzie  <acm@muc.de>
7741         Further optimise the handling of large macros.
7743         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7744         limit to a call of `c-literal-limits'.
7745         (c-determine-+ve-limit): New function.
7746         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7747         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
7748         In CASE 5B, restrict a search limit to 500.
7749         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7751         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7752         Restrict macro bounds to +-500 from after-change's BEG END.
7754 2012-03-16  Leo Liu  <sdl.web@gmail.com>
7756         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7758 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
7760         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
7761         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
7763 2012-03-16  Glenn Morris  <rgm@gnu.org>
7765         * view.el (view-buffer, view-buffer-other-window)
7766         (view-buffer-other-frame): Doc fixes re special mode-class.
7768         * subr.el (eval-after-load): If named feature is provided not from
7769         a file, run after-load forms.  (Bug#10946)
7771         * calendar/calendar.el (calendar-insert-at-column):
7772         Handle non-unit-width characters a bit better.  (Bug#10978)
7774 2012-03-15  Chong Yidong  <cyd@gnu.org>
7776         * emacs-lisp/ring.el (ring-extend): New function.
7777         (ring-insert+extend): Extend the ring correctly (Bug#11019).
7779         * comint.el (comint-read-input-ring)
7780         (comint-add-to-input-history): Grow comint-input-ring lazily.
7782 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7784         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7785         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7787         * imenu.el: Fix multiple inheritance breakage (bug#9199).
7788         (imenu-add-to-menubar): Don't add a redundant index.
7789         (imenu-update-menubar): Handle a dynamically composed keymap.
7791 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
7793         * mail/sendmail.el (mail-encode-header):
7794         Bind rfc2047-encode-encoded-words to nil.
7796 2012-03-13  Glenn Morris  <rgm@gnu.org>
7798         * calendar/calendar.el (calendar-string-spread):
7799         Handle non-unit-width characters a bit better.  (Bug#10978)
7801 2012-03-13  Leo Liu  <sdl.web@gmail.com>
7803         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7804         directory and file as argument (Bug#10822).
7806 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
7808         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7809         For dynamically generated code, follow $PC.
7810         (gdb-disassembly-handler-custom): Handle no function name case.
7812 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
7814         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7815         * emulation/ws-mode.el (ws-query-replace):
7816         * sort.el (sort-regexp-fields):
7817         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
7819 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7821         * dabbrev.el: Fix cycle completion order (bug#10963).
7822         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7823         (dabbrev-completion): Don't use an obarray; provide
7824         a cycle-sort-function.
7826 2012-03-12  Leo Liu  <sdl.web@gmail.com>
7828         * simple.el (kill-new): Use equal-including-properties for comparison.
7829         (kill-do-not-save-duplicates): Doc fix.
7831 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7833         * dabbrev.el: Fix cycle completion (bug#10963).
7834         Use lexical binding and wrap to 80 columns.
7835         (dabbrev-completion): Delay computing the list of completions.
7837 2012-03-12  Kenichi Handa  <handa@m17n.org>
7839         * international/quail.el (quail-insert-kbd-layout): Surround each
7840         row by LRO and PDF instead of inserting many LRMs.  Pad the left
7841         and right of each non-spacing marks.  Insert invisible space
7842         between lower and upper characters to prevent composition.
7844 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7846         * minibuffer.el (minibuffer-complete): Don't get confused when the
7847         function is run twice via different commands (bug#10958).
7848         (complete-with-action): Fix docstring.
7850 2012-03-12  Chong Yidong  <cyd@gnu.org>
7852         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7853         (nxml-completion-at-point-function): New function.
7854         (nxml-mode): Use it.
7855         (nxml-bind-meta-tab-to-complete-flag): Default to t.
7857         * emacs-lisp/package.el (package-unpack, package-unpack-single):
7858         Load generated autoloads file before byte compiling (Bug#10970).
7859         (package--make-autoloads-and-compile): New helper fun.
7861 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
7863         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7865 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
7867         * autorevert.el (auto-revert-handler): Ensure, that
7868         file-readable-p is applied only for local files or in
7869         auto-revert-tail-mode.
7871 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
7873         * server.el (server-eval-at): Handle non-tcp connections.
7874         Decode result string.
7876         * server.el (server-msg-size): New constant.
7877         (server-reply-print): New function.
7878         (server-eval-and-print): Use it.
7879         (server-eval-at): Use server-quote-arg and server-unquote-arg.
7880         Handle -print-nonl.
7882 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
7884         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7885         (Bug#10987).
7887 2012-03-11  Chong Yidong  <cyd@gnu.org>
7889         * simple.el (goto-line): Doc fix (Bug#9938).
7891         * subr.el (save-window-excursion): Doc fix (Bug#9979).
7893         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7894         when finished (Bug#10963).
7896 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
7898         * window.el (split-window-below): Fix bug in case where
7899         split-window-keep-point is nil (Bug#10971).
7901 2012-03-11  Juri Linkov  <juri@jurta.org>
7903         * replace.el (replace-highlight): Set isearch-word to nil
7904         unconditionally.  (Bug#10887)
7906 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
7908         * net/mairix.el (mairix-replace-invalid-chars): Rename from
7909         mairix-replace-illegal-chars; all callers changed.  Don't remove
7910         ^, ~, and = characters: they are meaningful in mairix search specs.
7911         (mairix-widget-create-query): Add usage information about mairix
7912         search forms: negating words, searching for substrings, etc.
7914 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
7916         * international/fontset.el (font-encoding-alist): Add an entry for
7917         ksx1001 (Bug#5667).
7919 2012-03-10  Richard Stallman  <rms@gnu.org>
7921         * mail/sendmail.el (mail-encode-header):
7922         Set rfc2047-encode-encoded-words.
7924         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7926         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7927         view buffer means not swapped.
7928         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7929         (rmail-write-region-annotate): Error if real text has disappeared.
7931         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7933 2012-03-10  Chong Yidong  <cyd@gnu.org>
7935         * emulation/cua-rect.el (cua--init-rectangles):
7936         * emulation/cua-base.el (cua--init-keymaps):
7937         Add delete-forward-char to remappings (Bug#9666).
7939 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
7941         * speedbar.el (speedbar-unhighlight-one-tag-line):
7942         Avoid unhighlighting due to frame switching (Bug#10275).
7944 2012-03-10  Chong Yidong  <cyd@gnu.org>
7946         * minibuffer.el (completion-in-region, completion-help-at-point):
7947         Give the completion field overlay a high priority (Bug#6830).
7949         * dired.el (dired-goto-file): Recognize absolute file name
7950         listings (Bug#7126).
7951         (dired-goto-file-1): New helper function.
7952         (dired-toggle-read-only): Inhibit warnings.
7954 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
7956         * net/dbus.el (dbus-property-handler): Return empty array if
7957         there are no properties.
7959 2012-03-09  Leo Liu  <sdl.web@gmail.com>
7961         * savehist.el (savehist-printable): Stricter check for string
7962         value (Bug#10937).
7964 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
7966         * mail/smtpmail.el (smtpmail-send-it):
7967         Bind coding-system-for-write to *-unix, so that FCC files are kept in
7968         valid mbox format.
7970 2012-03-09  Glenn Morris  <rgm@gnu.org>
7972         * files.el (dir-locals-find-file):
7973         Don't check result is regular, readable.
7974         (dir-locals-read-from-file): Demote errors.
7976 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
7978         * international/quail.el (quail-insert-kbd-layout):
7979         Insert invisible LRM characters before each character in a keyboard
7980         layout cell, to prevent their reordering by bidi display engine.
7981         For details, see the discussion in
7982         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7984 2012-03-08  Alan Mackenzie  <acm@muc.de>
7986         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7987         the starting position; make it extend the marked region when
7988         invoked repeatedly - all under appropriate circumstances.
7989         Fixes bugs #5525, #10906.
7991 2012-03-08  Glenn Morris  <rgm@gnu.org>
7993         * files.el (locate-dominating-file, dir-locals-find-file):
7994         Undo 2012-03-06 change.
7996 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
7998         * international/quail.el (quail-help):
7999         Force bidi-paragraph-direction be left-to-right.  See discussion in
8000         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8001         for the reason.
8003 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
8005         Avoid superfluous registering of signals.  (Bug#10807)
8007         * notifications.el (notifications-on-action-object)
8008         (notifications-on-close-object): New defvars.
8009         (notifications-on-action-signal, notifications-on-closed-signal):
8010         Unregister the signal if not needed any longer.
8011         (notifications-notify): Register `notifications-action-signal' or
8012         `notifications-closed-signal', if :on-action or :on-close has been
8013         passed as argument.
8015 2012-03-07  Chong Yidong  <cyd@gnu.org>
8017         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8018         non-X platforms.
8020 2012-03-06  Glenn Morris  <rgm@gnu.org>
8022         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8023         (x-disown-selection-internal, x-get-selection-internal):
8024         Doc fix (add arglist signatures).  (Bug#10783)
8026 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
8028         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8029         Handle breakpoints with no "type".
8031 2012-03-06  Glenn Morris  <rgm@gnu.org>
8033         * files.el (locate-dominating-file): Add optional predicate argument.
8034         (dir-locals-find-file): Make use of above change.
8036 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
8038         * info.el (Info-insert-dir): Also try "dir.gz".
8040 2012-03-06  Glenn Morris  <rgm@gnu.org>
8042         * files.el (dir-locals-find-file):
8043         Ignore non-readable or non-regular files.  (Bug#10928)
8045         * files.el (locate-dominating-file): Doc fix.
8047 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
8049         * calendar/calendar.el (calendar-set-mode-line):
8050         `getenv' returns a string.  (Bug#10951)
8052 2012-03-05  Leo Liu  <sdl.web@gmail.com>
8054         * simple.el (backward-delete-char-untabify): Constrain point to
8055         field (Bug#10939).
8057         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8059 2012-03-05  Chong Yidong  <cyd@gnu.org>
8061         * simple.el (count-words): If called from Lisp, return the word
8062         count, for symmetry with `count-lines'.  Arglist changed.
8063         (count-words--message): Args changed.  Consolidate counting code
8064         from count-words and count-words-region.
8065         (count-words-region): Caller changed.
8066         (count-lines-region): Make it an obsolete alias.
8068 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
8070         * saveplace.el (save-place-to-alist)
8071         (save-place-ignore-files-regexp): Allow value nil to disable this
8072         feature.
8074 2012-03-04  Chong Yidong  <cyd@gnu.org>
8076         * faces.el (face-spec-reset-face): For the default face, reset the
8077         attributes to default values (Bug#10748).
8079 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8081         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8082         previous patch: Check `message-send-mail-function', and not the
8083         default function (bug#10897).
8085 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
8087         * notifications.el (notifications-on-action-signal)
8088         (notifications-on-closed-signal): Check for unique service name of
8089         incoming event.  Fix error in removing entry.
8090         (top): Register for signals with wildcard service name.
8091         (notifications-notify): Use daemon unique service name for map entries.
8093 2012-03-04  Chong Yidong  <cyd@gnu.org>
8095         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8097 2012-03-04  Glenn Morris  <rgm@gnu.org>
8099         * abbrev.el (copy-abbrev-table, abbrev-table-p)
8100         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8101         (expand-abbrev, define-abbrev-table): Doc fixes.
8103 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8105         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8106         `message-default-send-mail-function' and not `send-mail-function'
8107         when doing the prompting for `sendmail-query-once' before sending
8108         in Message buffers (bug#10897).
8110         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8111         This is inconsistent with all the other stream functions, which leave
8112         the setting up to the higher levels (if so wanted) (bug#10931).
8114 2012-03-02  Alan Mackenzie  <acm@muc.de>
8116         Depessimize the handling of very large macros.
8118         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8119         (c-macro-cache-syntactic): New variables to implement a one
8120         element macro cache.
8121         (c-invalidate-macro-cache): New function.
8122         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8123         Adapt to use the new cache.
8124         (c-state-safe-place): Use better the cache of safe positions.
8125         (c-state-semi-nonlit-pos-cache)
8126         (c-state-semi-nonlit-pos-cache-limit):
8127         New variables for...
8128         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
8129         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8130         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8131         Use c-state-semi-safe-place.
8133         * progmodes/cc-langs.el (c-get-state-before-change-functions):
8134         Add c-invalidate-macro-cache to the C, C++, Obj entries.
8136 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
8138         * jka-compr.el (jka-compr-call-process):
8139         Apply `file-accessible-directory-p' only when the default directory is
8140         not remote.
8142 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
8144         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
8145         access of FILE2, if FILE1 does not exist.
8147         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8148         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8150         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8151         Add "PAGER=" to `process-environment'.
8153 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
8155         * progmodes/sql.el: Bug fix
8156         (sql-get-login-ext): Save login values in globals.
8157         (sql-get-login): Use new version of `sql-get-login-ext'.
8158         (sql-interactive-mode): Set global `sql-connection' to nil.
8159         (sql-connect): Set global values for connection.
8160         (sql-product-interactive): Save global values as buffer local.
8162 2012-02-29  Leo Liu  <sdl.web@gmail.com>
8164         * abbrev.el (define-abbrevs): Reset sys to nil.
8166 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8168         * files.el (file-equal-p): Rename from `files-equal-p'.
8169         Return nil when one or both files don't exist.
8170         (file-subdir-of-p): Now only top directory must exists,
8171         return nil if it doesn't.
8172         (copy-directory): No need to test with `file-subdir-of-p' after
8173         creating dir.
8174         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8175         to `file-equal-p'.
8177 2012-02-28  Glenn Morris  <rgm@gnu.org>
8179         * shell.el (shell-mode):
8180         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8181         * play/landmark.el (landmark-font-lock-face-O):
8182         * play/handwrite.el (handwrite):
8183         * play/gomoku.el (gomoku-O):
8184         * net/browse-url.el (browse-url-browser-display):
8185         * international/mule.el (define-charset):
8186         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8187         * filesets.el (filesets-find-file-delay):
8188         * eshell/em-xtra.el (eshell-xtra):
8189         * eshell/em-unix.el (eshell-grep):
8190         * emulation/viper.el (viper-mode):
8191         * emacs-lisp/regexp-opt.el (regexp-opt-group):
8192         * emacs-lisp/easymenu.el (easy-menu-define):
8193         * calendar/timeclock.el (timeclock-use-display-time):
8194         * bs.el (bs-mode):
8195         * bookmark.el (bookmark-save-flag):
8196         Doc fix (standardize possessive apostrophe usage).
8198 2012-02-27  Chong Yidong  <cyd@gnu.org>
8200         * emulation/viper-cmd.el (viper-intercept-ESC-key):
8201         Fix key-binding lookup for ESC key (Bug#9146).
8203         * font-lock.el (font-lock-specified-p): Rename from
8204         font-lock-spec-present.  Callers changed.
8206 2012-02-27  Daniel Hackney  <dan@haxney.org>
8208         * emacs-lisp/package.el (package-compute-transaction):
8209         Handle holding a package version to t in package-load-list.
8211 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
8213         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8214         (tramp-get-inode, tramp-get-device): Use cached values.
8216 2012-02-26  Alan Mackenzie  <acm@muc.de>
8218         Check there is a font-lock specification before doing initial
8219         fontification.
8221         * font-core.el (font-lock-mode): Move the conditional from
8222         :after-hook to font-lock-initial-fontify.
8223         (font-lock-default-function): Move the check for a specification
8224         to font-lock-spec-present.
8226         * font-lock.el (font-lock-initial-fontify): Call ...
8227         (font-lock-spec-present): New function.
8229 2012-02-26  Jim Blandy  <jimb@red-bean.com>
8231         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8232         (gdb-send): Apply it to the operand of the '-interpreter-exec
8233         console' command, so that we can pass arguments with (say) quotes
8234         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
8236 2012-02-26  Chong Yidong  <cyd@gnu.org>
8238         * help-fns.el (describe-function-1): Clarify description of
8239         remapping (Bug#10844).
8241         * files.el (files-equal-p): Doc fix.
8242         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
8243         and quit the loop once a mismatch is found.
8245 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
8247         * bs.el (bs--show-with-configuration): Don't throw an error
8248         if the window cannot be split; otherwise, subsequent calls to
8249         bs-show fail, restoring a stale window config.  (Bug#10882)
8251 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
8253         * term/ns-win.el (global-map): Bind ns-drag-file to
8254         ns-find-file (Bug#5855, Bug#10050).
8256 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
8258         * calendar/parse-time.el (parse-time-string): Allow extractor to
8259         return nil.
8261 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
8263         * net/tramp.el (tramp-file-name-for-operation):
8264         Add `files-equal-p' and `file-subdir-of-p'.
8266         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8267         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8268         Add COPY-CONTENTS argument.
8270 2012-02-25  Chong Yidong  <cyd@gnu.org>
8272         Add custom groups for VC backends, for consistency with vc-bzr.
8274         * vc/vc-arch.el (vc-arch):
8275         * vc/vc-cvs.el (vc-cvs):
8276         * vc/vc-git.el (vc-git):
8277         * vc/vc-hg.el (vc-hg):
8278         * vc/vc-mtn.el (vc-mtn):
8279         * vc/vc-rcs.el (vc-rcs):
8280         * vc/vc-sccs.el (vc-sccs):
8281         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8282         All relevant defcustoms reassigned.
8284 2012-02-25  Chong Yidong  <cyd@gnu.org>
8286         * newcomment.el (comment-styles): Add autoload (Bug#10868).
8288         * term/x-win.el (x-initialize-window-system): Reduce default for
8289         x-selection-timeout to 5 seconds (Bug#8869).
8291 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8293         * files.el (files-equal-p, file-subdir-of-p): New functions.
8294         (copy-directory): Error when trying to copy a directory on itself.
8295         Add missing copy-contents arg to tramp handler.
8296         * dired-aux.el (dired-copy-file-recursive): Same.
8297         (dired-create-files): Modify destination when source is equal to
8298         dest when copying files.
8299         Return also when dest is a subdir of source.  (Bug#10489)
8301 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
8303         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8304         (Bug#10874)
8306 2012-02-23  Alan Mackenzie  <acm@muc.de>
8308         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8309         parameter "after-hook:" to allow the expansion to run code after
8310         the execution of the mode hooks.
8312         * font-lock.el (font-lock-initial-fontify): New function extracted
8313         from font-lock-mode-internal.
8315         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8316         :after-hook.
8318 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8320         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8321         (completion--cache-all-sorted-completions): New function.
8322         (completion-all-sorted-completions): Use it.
8323         (completion--do-completion, minibuffer-force-complete):
8324         Use it to re-instate the flush hook.
8326         * icomplete.el (icomplete-completions): Replace last fix with a better
8327         one (bug#10850).
8329 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
8331         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8332         when it might call us back infinitely (bug#10797).
8334 2012-02-23  Glenn Morris  <rgm@gnu.org>
8336         * minibuffer.el (completion-category-overrides): Doc fix.
8338 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8340         * minibuffer.el (completion-table-with-context): Fix inf-loop.
8341         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8343 2012-02-23  Glenn Morris  <rgm@gnu.org>
8345         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8346         (authors-obsolete-files-regexps, authors-ignored-files)
8347         (authors-ambiguous-files, authors-renamed-files-alist):
8348         Add more entries.
8350 2012-02-23  Juri Linkov  <juri@jurta.org>
8352         * isearch.el (isearch-occur): Sync interactive spec with occur's
8353         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
8355         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8357 2012-02-22  Juri Linkov  <juri@jurta.org>
8359         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8360         (ucs-insert): Doc fix.  Check for hex digits in the string.
8361         Don't display `nil' in the error message.  (Bug#10857)
8363 2012-02-22  Alan Mackenzie  <acm@muc.de>
8365         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
8367 2012-02-22  Glenn Morris  <rgm@gnu.org>
8369         * ffap.el (ffap-c-path):
8370         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
8372 2012-02-22  Chong Yidong  <cyd@gnu.org>
8374         * custom.el (load-theme): Doc fix.
8376 2012-02-22  Glenn Morris  <rgm@gnu.org>
8378         * dired-x.el (dired-guess-shell-alist-default):
8379         Remove escape sequences from nroff output.  (Bug#172)
8381 2012-02-21  Glenn Morris  <rgm@gnu.org>
8383         * vc/emerge.el (emerge-defvar-local):
8384         Set `permanent-local' property rather than unused `preserved'.
8386         * textmodes/picture.el (picture-delete-char): New alias.
8387         (picture-mode-map): Use it.  (Bug#10860)
8388         (picture-mode): Doc fix.
8390 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
8392         * newcomment.el (uncomment-region-default): Remove unused binding.
8394 2012-02-21  Glenn Morris  <rgm@gnu.org>
8396         * textmodes/picture.el (picture-motion, picture-motion-reverse)
8397         (picture-self-insert, picture-tab-chars): Doc fix.
8398         (picture-mode-map): Fix C-a, C-e.
8400 2012-02-20  Glenn Morris  <rgm@gnu.org>
8402         * emacs-lisp/authors.el (authors-aliases): Add another entry.
8404 2012-02-20  Leo Liu  <sdl.web@gmail.com>
8406         * icomplete.el (icomplete-completions): Check FROM arg before
8407         passing to substring (Bug#10850).
8409 2012-02-19  Chong Yidong  <cyd@gnu.org>
8411         * comint.el: Require ansi-color.
8412         (comint-output-filter-functions): Add ansi-color-process-output.
8414         * ansi-color.el: Don't set comint-output-filter-functions; it is
8415         now in the initial value defined in comint.el.
8416         (ansi-color-apply-face-function): New variable.
8417         (ansi-color-apply-on-region): Use it.
8418         (ansi-color-apply-overlay-face): New function.
8420         * shell.el (shell): No need to require ansi-color.
8421         (shell-mode): Use ansi-color-apply-face-function to highlight
8422         color escapes using font-lock-face property (Bug#10835).
8424 2012-02-19  Chong Yidong  <cyd@gnu.org>
8426         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8427         mode-line formats (Bug#10839).
8429 2012-02-18  Glenn Morris  <rgm@gnu.org>
8431         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8433         * mail/undigest.el (unforward-rmail-message): Doc fix.
8435         * saveplace.el (save-place-ignore-files-regexp): Add :version.
8437 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
8439         * international/characters.el (script-list): Sync with the latest
8440         Unicode Character Database.
8442 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
8444         * international/titdic-cnv.el: Remove duplicate coding tag.
8445         * language/cham.el: Likewise.
8446         * language/tai-viet.el: Likewise.
8448 2012-02-18  Glenn Morris  <rgm@gnu.org>
8450         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8451         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8452         (calendar-bahai-all-holidays-flag, calendar-other-dates):
8453         * calendar/diary-lib.el (diary-abbreviated-year-flag):
8454         * calendar/holidays.el (holiday-bahai-holidays)
8455         (calendar-holidays, list-holidays):
8456         Use utf-8 Bahá'í in doc-strings, menus, etc.
8458 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
8460         * saveplace.el (save-place-ignore-files-regexp): New variable
8461         allowing for excluding files from saving their location of point.
8462         The default value matches the temporary commit message editing
8463         files from Git, SVN, Bazaar, and Mercurial.
8464         (save-place-to-alist): Use it.
8466 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
8467             Stefan Monnier  <monnier@iro.umontreal.ca>
8469         * newcomment.el (uncomment-region-default): Don't leave extra space
8470         when an arg is provided (bug#8150).
8472 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
8474         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
8476 2012-02-17  Glenn Morris  <rgm@gnu.org>
8478         * net/socks.el: Require network-stream.  (Bug#10599)
8480 2012-02-17  Kenichi Handa  <handa@m17n.org>
8482         * international/charprop.el:
8483         * international/uni-name.el:
8484         * international/uni-old-name.el:
8485         * international/uni-comment.el: Regenerate.
8487 2012-02-16  Glenn Morris  <rgm@gnu.org>
8489         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8490         Interactively in calendar buffer, give an error if not on a date.
8492 2012-02-15  Glenn Morris  <rgm@gnu.org>
8494         * shell.el (shell-delimiter-argument-list):
8495         Revert 2011-02-17 change.  (Bug#8027)
8497 2012-02-15  Chong Yidong  <cyd@gnu.org>
8499         * minibuffer.el (completion-at-point-functions): Doc fix.
8501         * custom.el (defcustom): Doc fix; note use of defvar.
8503 2012-02-15  Glenn Morris  <rgm@gnu.org>
8505         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8506         Doc fixes.
8508 2012-02-14  Glenn Morris  <rgm@gnu.org>
8510         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8512 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
8514         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8515         way the ports list is computed.
8516         (smtpmail-query-smtp-server): Prompt the user for a port number if
8517         we can't connect to any of the standard ports (bug#10810).
8519 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
8521         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8523 2012-02-13  Glenn Morris  <rgm@gnu.org>
8525         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
8527 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
8529         * net/gnutls.el (gnutls-trustfiles): New variable.
8530         (gnutls-negotiate): Use it.
8532 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
8534         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8535         does its stuff if Gnus is running.
8537 2012-02-13  Alan Mackenzie  <acm@muc.de>
8539         Fix a loop in c-set-fl-decl-start.
8541         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
8542         c-backward-syntactic-ws actually moves backwards.
8544 2012-02-13  Leo Liu  <sdl.web@gmail.com>
8546         * net/rcirc.el (rcirc-markup-attributes): Move point to the
8547         beginning so that all \C-o chars are removed.
8549 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
8551         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
8553 2012-02-12  Alan Mackenzie  <acm@muc.de>
8555         Fix infinite loop with long macros.
8556         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
8558 2012-02-12  Chong Yidong  <cyd@gnu.org>
8560         * window.el (display-buffer): Doc fix (Bug#10785).
8562 2012-02-12  Glenn Morris  <rgm@gnu.org>
8564         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8565         (x-disown-selection-internal, x-get-selection-internal):
8566         Sync docs with the xselect.c versions.
8568         * allout-widgets.el: Add missing license notice.
8570 2012-02-11  Glenn Morris  <rgm@gnu.org>
8572         * select.el (x-get-selection-internal, x-own-selection-internal)
8573         (x-disown-selection-internal):
8574         * x-dnd.el (x-get-selection-internal): Update declarations.
8576         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8578         * window.el (window-sides-slots):
8579         * tool-bar.el (tool-bar-position):
8580         * term/xterm.el (xterm-extra-capabilities):
8581         * ses.el (ses-self-reference-early-detection):
8582         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8583         (verilog-auto-wire-type)
8584         (verilog-auto-delete-trailing-whitespace)
8585         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8586         (verilog-auto-tieoff-declaration):
8587         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8588         (sql-oracle-statement-starters, sql-oracle-scan-on):
8589         * progmodes/prolog.el (prolog-align-comments-flag)
8590         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8591         (prolog-left-indent-regexp, prolog-paren-indent-p)
8592         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8593         (prolog-types, prolog-mode-specificators)
8594         (prolog-determinism-specificators, prolog-directives)
8595         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8596         (prolog-electric-dot-flag)
8597         (prolog-electric-dot-full-predicate-template)
8598         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8599         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8600         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8601         (prolog-program-switches, prolog-prompt-regexp)
8602         (prolog-debug-on-string, prolog-debug-off-string)
8603         (prolog-trace-on-string, prolog-trace-off-string)
8604         (prolog-zip-on-string, prolog-zip-off-string)
8605         (prolog-use-standard-consult-compile-method-flag)
8606         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8607         (prolog-imenu-max-lines, prolog-info-predicate-index)
8608         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8609         (prolog-char-quote-workaround):
8610         * progmodes/cc-vars.el (c-defun-tactic):
8611         * net/tramp.el (tramp-encoding-command-interactive)
8612         (tramp-local-end-of-line):
8613         * net/soap-client.el (soap-client):
8614         * net/netrc.el (netrc-file):
8615         * net/gnutls.el (gnutls):
8616         * minibuffer.el (completion-category-overrides)
8617         (completion-cycle-threshold)
8618         (completion-pcm-complete-word-inserts-delimiters):
8619         * man.el (Man-name-local-regexp):
8620         * mail/feedmail.el (feedmail-display-full-frame):
8621         * international/characters.el (glyphless-char-display-control):
8622         * eshell/em-ls.el (eshell-ls-date-format):
8623         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8624         (lisp-lambda-list-keyword-parameter-indentation)
8625         (lisp-lambda-list-keyword-parameter-alignment):
8626         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8627         * dired-x.el (dired-omit-verbose):
8628         * cus-theme.el (custom-theme-allow-multiple-selections):
8629         * calc/calc.el (calc-highlight-selections-with-faces)
8630         (calc-lu-field-reference, calc-lu-power-reference)
8631         (calc-note-threshold):
8632         * battery.el (battery-mode-line-limit):
8633         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8634         (archive-7z-update):
8635         * allout.el (allout-prefixed-keybindings)
8636         (allout-unprefixed-keybindings)
8637         (allout-inhibit-auto-fill-on-headline)
8638         (allout-flattened-numbering-abbreviation):
8639         * allout-widgets.el (allout-widgets-auto-activation)
8640         (allout-widgets-icons-dark-subdir)
8641         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8642         (allout-widgets-theme-dark-background)
8643         (allout-widgets-theme-light-background)
8644         (allout-widgets-item-image-properties-emacs)
8645         (allout-widgets-item-image-properties-xemacs)
8646         (allout-widgets-run-unit-tests-on-load)
8647         (allout-widgets-time-decoration-activity)
8648         (allout-widgets-hook-error-post-time)
8649         (allout-widgets-track-decoration):
8650         Add missing :version tags to new defcustoms and defgroups.
8652         * progmodes/sql.el (sql-ansi-statement-starters)
8653         (sql-oracle-statement-starters): Add custom type.
8655         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8656         (prolog-system-version): Give it a type.
8658 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
8660         * term/pc-win.el (x-select-text, x-selection-owner-p)
8661         (x-own-selection-internal, x-disown-selection-internal)
8662         (x-get-selection-internal): Sync doc strings and argument lists
8663         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
8665 2012-02-11  Leo Liu  <sdl.web@gmail.com>
8667         * progmodes/python.el (python-end-of-statement): Fix infinite
8668         loop.  (Bug#10788)
8670 2012-02-10  Glenn Morris  <rgm@gnu.org>
8672         * international/mule-cmds.el (unify-8859-on-encoding-mode)
8673         (unify-8859-on-decoding-mode): Properly mark as obsolete.
8675 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
8677         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8678         about SMTP before checking the From header.
8680         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
8681         into own function for reuse by emacsbug.el.
8683 2012-02-10  Leo Liu  <sdl.web@gmail.com>
8685         * subr.el (condition-case-unless-debug): Rename from
8686         condition-case-no-debug.  All callers changed.
8687         (with-demoted-errors): Fix caller.
8689         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8690         * nxml/rng-valid.el (rng-do-some-validation):
8691         * emacs-lisp/package.el (package-refresh-contents)
8692         (package-menu-execute):
8693         * desktop.el (desktop-create-buffer):
8694         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
8696 2012-02-10  Glenn Morris  <rgm@gnu.org>
8698         * textmodes/bibtex.el:
8699         Add missing :version tags for new/changed defcustoms.
8701         * files.el (remote-file-name-inhibit-cache): Doc fixes.
8703 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
8705         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8706         (smtpmail-via-smtp): Use it, or fall back on the From address.
8707         (smtpmail-send-it): Ditto.
8709 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8711         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8712         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
8713         (byte-compile-tmp-var): New const.
8714         (byte-compile-defvar): Use it to minimize .elc size.
8715         Just use `defvar' rather than simulate it (bug#10761).
8717 2012-02-09  Glenn Morris  <rgm@gnu.org>
8719         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
8721         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8722         Add :version tags.
8724         * progmodes/compile.el (compilation-error-screen-columns)
8725         (compilation-first-column, compilation-filter-start): Doc fixes.
8727         * vc/log-view.el (log-view-toggle-entry-display):
8728         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8730         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8731         (report-emacs-bug-can-use-xdg-email):
8732         (report-emacs-bug-insert-to-mailer): Doc fixes.
8733         (report-emacs-bug): Message fix.
8735         * net/browse-url.el (browse-url-can-use-xdg-open)
8736         (browse-url-xdg-open): Doc fixes.
8738         * electric.el (electric-indent-mode, electric-pair-mode)
8739         (electric-layout-rules, electric-layout-mode): Doc fixes.
8740         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8742 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
8744         * server.el (server-unselect-display): Don't inadvertently kill
8745         the current buffer.  (Bug#10729)
8747 2012-02-08  Glenn Morris  <rgm@gnu.org>
8749         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8750         (sql-list-table): Doc fixes.
8752         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8753         Comment out (does nothing).
8755         * completion.el (dynamic-completion-mode):
8756         * dirtrack.el (dirtrack-debug-mode):
8757         * electric.el (electric-layout-mode):
8758         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8759         * face-remap.el (text-scale-mode, buffer-face-mode):
8760         * iimage.el (iimage-mode):
8761         * image-mode.el (image-transform-mode):
8762         * minibuffer.el (completion-in-region-mode):
8763         * scroll-lock.el (scroll-lock-mode):
8764         * simple.el (next-error-follow-minor-mode):
8765         * tar-mode.el (tar-subfile-mode):
8766         * tooltip.el (tooltip-mode):
8767         * vcursor.el (vcursor-use-vcursor-map):
8768         * wid-browse.el (widget-minor-mode):
8769         * emulation/tpu-edt.el (tpu-edt-mode):
8770         * emulation/tpu-extras.el (tpu-cursor-free-mode):
8771         * international/iso-ascii.el (iso-ascii-mode):
8772         * language/thai-util.el (thai-word-mode):
8773         * mail/supercite.el (sc-minor-mode):
8774         * net/goto-addr.el (goto-address-mode):
8775         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8776         * progmodes/cwarn.el (cwarn-mode):
8777         * progmodes/flymake.el (flymake-mode):
8778         * progmodes/glasses.el (glasses-mode):
8779         * progmodes/hideshow.el (hs-minor-mode):
8780         * progmodes/pascal.el (pascal-outline-mode):
8781         * textmodes/enriched.el (enriched-mode):
8782         * vc/smerge-mode.el (smerge-mode):
8783         Doc fixes (minor mode argument).
8785 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
8787         * ls-lisp.el (ls-lisp-sanitize): New function.
8788         (ls-lisp-insert-directory): Use it to fix or remove any elements
8789         in file-alist with missing attributes.  (Bug#4673)
8791 2012-02-07  Alan Mackenzie  <acm@muc.de>
8793         Fix spurious recognition of c-in-knr-argdecl.
8795         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8796         putative K&R region.
8798 2012-02-07  Alan Mackenzie  <acm@muc.de>
8800         * progmodes/cc-engine.el (c-forward-objc-directive):
8801         Prevent looping in "#pragma mark @implementation".
8803 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
8805         * notifications.el (notifications-on-closed-signal): Make `reason'
8806         optional.  (Bug#10744)
8808 2012-02-07  Glenn Morris  <rgm@gnu.org>
8810         * emacs-lisp/easy-mmode.el (define-minor-mode):
8811         Doc fixes for the macro and the mode it defines.
8813         * image.el (imagemagick-types-inhibit): Doc fix.
8815         * cus-start.el (imagemagick-render-type): Add it.
8817 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
8819         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8820         Set the default at load time, too, so that `font-lock-fontify-buffer'
8821         can be called without setting up the entire mode first.  This fixes
8822         a bug in `mm-inline-text' with C MIME parts.
8824 2012-02-06  Chong Yidong  <cyd@gnu.org>
8826         * simple.el (list-processes--refresh): Delete exited processes
8827         (Bug#8094).
8829         * comint.el (comint-next-prompt): next-single-char-property-change
8830         and prev-single-char-property-change never return nil (Bug#8657).
8832         * custom.el (defcustom): Doc fix (Bug#9711).
8834 2012-02-05  Chong Yidong  <cyd@gnu.org>
8836         * cus-edit.el (custom-variable-reset-backup): Quote the value
8837         before storing it in the customized-value property (Bug#6712).
8838         (custom-display): Add a customization type tag.
8839         (custom-buffer-create-internal): Improve tooltip message.
8841         * wid-edit.el (widget-field-value-get): New optional arg to
8842         suppress trailing whitespace truncation.
8843         (character): Use it (Bug#2689).
8845 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
8847         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8848         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8850 2012-02-05  Chong Yidong  <cyd@gnu.org>
8852         * cus-edit.el (custom-variable-value-create): For mismatched
8853         types, show the current value (Bug#7600).
8855         * custom.el (defcustom): Doc fix.
8857 2012-02-05  Glenn Morris  <rgm@gnu.org>
8859         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8861 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
8863         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8864         (pp-buffer): Use `ignore-errors', `looking-at-p'.
8865         (pp-last-sexp): Use `looking-at-p'.
8867 2012-02-04  Glenn Morris  <rgm@gnu.org>
8869         * files.el (revert-buffer):
8870         Doc fix (mention revert-buffer-in-progress-p).
8872         * emacs-lisp/ert-x.el (ert-simulate-command):
8873         Check deferred-action-list (which is obsolete) is bound.
8875         * subr.el (with-wrapper-hook): Doc fixes.
8877         * simple.el (filter-buffer-substring-functions)
8878         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8880 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
8882         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8883         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
8885 2012-02-04  Leo Liu  <sdl.web@gmail.com>
8887         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8889 2012-02-04  Glenn Morris  <rgm@gnu.org>
8891         * image.el (image-extension-data): Add obsolete alias.
8893         * isearch.el (isearch-update): Doc fix.
8895         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8897         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8899 2012-02-03  Glenn Morris  <rgm@gnu.org>
8901         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
8902         (image-animate-timeout): Doc fix.
8904         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8906 2012-02-02  Glenn Morris  <rgm@gnu.org>
8908         * server.el (server-auth-dir): Doc fix.
8909         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
8911         * subr.el (run-mode-hooks): Doc fix.
8913 2012-02-02  Juri Linkov  <juri@jurta.org>
8915         * image-mode.el (image-toggle-display-image): Remove tautological
8916         `major-mode' from the `derived-mode-p' test.
8918 2012-02-02  Kenichi Handa  <handa@m17n.org>
8920         * composite.el (compose-region): Cancel previous change.
8922 2012-02-02  Kenichi Handa  <handa@m17n.org>
8924         * composite.el (compose-region, compose-string): Signal error for
8925         a null string component (Bug#6988).
8927 2012-02-01  Chong Yidong  <cyd@gnu.org>
8929         * view.el (view-buffer-other-window, view-buffer-other-frame):
8930         Handle special modes like view-buffer (Bug#10650).
8931         (view-buffer): Simplify.
8933         * frame.el (set-frame-font): Tweak meaning of third argument.
8935         * dynamic-setting.el (font-setting-change-default-font):
8936         Use set-frame-font (Bug#9982).
8938 2012-02-01  Glenn Morris  <rgm@gnu.org>
8940         * progmodes/compile.el (compilation-internal-error-properties):
8941         Respect compilation-first-column in the "*compilation*" buffer.
8943         * emacs-lisp/easy-mmode.el (define-minor-mode):
8944         Relax :variable's test for a named function.
8946 2012-01-31  Alan Mackenzie  <acm@muc.de>
8948         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8949         off by one error.
8951 2012-01-31  Chong Yidong  <cyd@gnu.org>
8953         * frame.el (set-frame-font): New arg ALL-FRAMES.
8955         * menu-bar.el (menu-set-font): Use set-frame-font.
8957         * faces.el (face-spec-reset-face): Don't apply unspecified
8958         attribute values to the default face.
8960 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
8962         * progmodes/cwarn.el (cwarn): Remove dead link.
8963         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8964         Remove * from defcustom docstrings.
8965         (turn-on-cwarn-mode): Make obsolete.
8966         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8967         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8969 2012-01-31  Glenn Morris  <rgm@gnu.org>
8971         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
8972         Fix :variable handling of mode a symbol not equal to modefun.
8973         Allow named functions to be used as the cdr of :variable.
8975 2012-01-30  Glenn Morris  <rgm@gnu.org>
8977         * emacs-lisp/authors.el (authors-fixed-entries):
8978         Remove reference to deleted file rnewspost.el.
8980 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
8982         * window.el (window-with-parameter): Remove unused variable `windows'.
8983         (window--side-check): Remove unused variable `code'.
8984         (window--resize-siblings): Remove unused variable `first'.
8985         (adjust-window-trailing-edge): Remove unused variable `failed'.
8986         (window-deletable-p, window--delete): Remove unused variable `buffer'.
8987         Use `let', not `let*'.
8988         (balance-windows-2): Remove unused variable `found'.
8989         (window--state-put-2): Remove unused variable `splits'.
8990         (window-state-put): Remove unused variable `selected'.
8991         (same-window-p): Use `string-match-p'.
8992         (display-buffer-assq-regexp): Remove unused variable `value'.
8993         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8994         Mark argument ALIST as ignored.
8995         (pop-to-buffer): Remove unused variable `old-window'.
8997 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
8999         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9000         and .lzma compressed files.
9002 2012-01-29  Chong Yidong  <cyd@gnu.org>
9004         * frame.el (window-system-default-frame-alist): Doc fix.
9006         * dynamic-setting.el (font-setting-change-default-font): Don't
9007         change the default face if SET-FONT argument is non-nil (Bug#9982).
9009 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
9011         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9013 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
9015         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9016         breakpoints in files outside current directory (Bug#6098).
9018 2012-01-29  Chong Yidong  <cyd@gnu.org>
9020         * progmodes/python.el: Require ansi-color at top-level.
9022         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9023         Define and use in Emacs Lisp mode (Bug#9360).
9024         (lisp-mode-abbrev-table): Add doc.
9025         (lisp-mode-variables): Don't set local-abbrev-table.
9026         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9028 2012-01-28  Roland Winkler  <winkler@gnu.org>
9030         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9032 2012-01-28  Roland Winkler  <winkler@gnu.org>
9034         * textmodes/bibtex.el (bibtex-entry-alist): New function.
9035         (bibtex-set-dialect): Use it.  Either set global values of
9036         dialect-dependent variables or bind these variables buffer-locally
9037         (Bug#10254).
9038         (bibtex-mode): Call bibtex-set-dialect via
9039         hack-local-variables-hook.
9040         (bibtex-dialect): Update docstring.
9041         Add safe-local-variable predicate.
9042         (bibtex-entry-alist, bibtex-field-alist): Initialize via
9043         bibtex-set-dialect.
9044         (bibtex-mode-map): Define menu for each dialect.
9045         (bibtex-entry): Fix docstring.
9047 2012-01-28  Chong Yidong  <cyd@gnu.org>
9049         * eshell/esh-arg.el (eshell-quote-argument): New function.
9051         * eshell/esh-ext.el (eshell-invoke-batch-file):
9052         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9053         first arg to eshell-parse-command (Bug#10523).
9055 2012-01-28  Drew Adams  <drew.adams@oracle.com>
9057         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9058         `default-directory' is non-nil.
9060 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
9062         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9063         line that displays system-configuration-options.  (Bug#9924)
9065 2012-01-28  Drew Adams  <drew.adams@oracle.com>
9067         * descr-text.el (describe-char): Show information about POS, in
9068         addition to information about the character at POS.  Improve and
9069         update the doc string.  Change "code point" to "code point in
9070         charset", to avoid confusion with the character's Unicode code
9071         point shown above that.  (Bug#10129)
9073 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
9075         * descr-text.el (describe-char): Show the raw character, not only
9076         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
9077         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9078         for the reasons.
9080 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
9082         * emacs-lisp/package.el (package-install):
9083         Run package-refresh-contents if there is no archive yet (Bug#9798).
9085 2012-01-28  Chong Yidong  <cyd@gnu.org>
9087         * emacs-lisp/package.el (package-maybe-load-descriptor):
9088         New function, split from package-maybe-load-descriptor.
9089         (package-maybe-load-descriptor): Use it.
9090         (package-download-transaction): Fully load required packages
9091         inside the loop, so that `require' calls work (Bug#10593).
9092         (package-install): No need to call package-initialize now.
9094 2012-01-28  Chong Yidong  <cyd@gnu.org>
9096         * simple.el (deactivate-mark): Doc fix (Bug#8614).
9098         * tooltip.el (tooltip-mode): Doc fix.
9099         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9101         * frame.el (set-cursor-color): Doc fix (Bug#352).
9103         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9104         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9106         * cus-edit.el (custom-buffer-create-internal): Fix search button
9107         action (Bug#10542).
9108         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9110 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
9112         * dired.el (dired-mark-files-regexp):
9113         Include any subdirectory components.  (Bug#10445)
9115 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
9117         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9118         Handle [host]:port syntax.  (Bug#10533)
9120 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
9122         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9124 2012-01-26  Glenn Morris  <rgm@gnu.org>
9126         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9127         * term.el (term-raw-escape-map): Use Control-X-prefix.
9128         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
9130 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
9132         * window.el (window-state-get, window--state-get-1): Don't deal
9133         with fixed-sizeness of windows.  Simplify code.
9135 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
9137         * window.el (window--state-get-1, window--state-put-2):
9138         Don't save and restore the mark.
9140 2012-01-25  Chong Yidong  <cyd@gnu.org>
9142         * custom.el (custom-variable-p): Doc fix.
9144 2012-01-25  Glenn Morris  <rgm@gnu.org>
9146         * dired.el (dired-goto-file): Handle some of the more common
9147         characters that `ls -b' escapes.  (Bug#10596)
9149         * progmodes/compile.el (compilation-next-error-function):
9150         Respect compilation-first-column in the "*compilation*" buffer.
9151         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
9153         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
9155 2012-01-24  Glenn Morris  <rgm@gnu.org>
9157         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
9159 2012-01-24  Julien Danjou  <julien@danjou.info>
9161         * color.el (color-rgb-to-hsl): Fix value computing.
9162         (color-hue-to-rgb): New function.
9163         (color-hsl-to-rgb): New function.
9164         (color-clamp, color-saturate-hsl, color-saturate-name)
9165         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9166         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9168 2012-01-24  Glenn Morris  <rgm@gnu.org>
9170         * vc/vc-rcs.el (vc-rcs-create-tag):
9171         * vc/vc-sccs.el (vc-sccs-create-tag):
9172         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
9174 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
9176         * eshell/esh-util.el (eshell-read-hosts-file):
9177         Skip comment lines.  (Bug#10549)
9179         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
9181 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
9183         * subr.el (display-delayed-warnings): Doc fix.
9184         (collapse-delayed-warnings): New function to collapse identical
9185         adjacent warnings.
9186         (delayed-warnings-hook): Add it.
9188 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
9190         * net/tramp.el (tramp-action-login): Set connection property "login-as".
9192         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9193         (tramp-default-user-alist): Don't add "pscp".
9194         (tramp-do-copy-or-rename-file-out-of-band): Use connection
9195         property "login-as", if set.  (Bug#10530)
9197 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
9199         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9200         "plink1" and "psftp".  (Bug#10530)
9202 2012-01-21  Kenichi Handa  <handa@m17n.org>
9204         * international/mule-cmds.el (prefer-coding-system): Show a
9205         warning message if the default value of file-name-coding-system
9206         was not changed.
9208 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
9210         * windmove.el (windmove-reference-loc):
9211         Fix windmove-reference-loc miscalculation.
9213 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
9215         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9216         default unit.
9218 2012-01-21  Glenn Morris  <rgm@gnu.org>
9220         * international/mule.el (auto-coding-alist): Add .tbz.
9222         * files.el (local-enable-local-variables): Doc fix.
9223         (inhibit-local-variables-regexps): Rename from
9224         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
9225         Doc fix.  Add some extensions from auto-coding-alist.
9226         (inhibit-local-variables-suffixes):
9227         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
9228         (inhibit-local-variables-p):
9229         New function, extracted from set-auto-mode-1.
9230         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
9231         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
9232         (hack-local-variables): Doc fix.  Make the mode-only case
9233         respect enable-local-variables and friends.
9234         Respect inhibit-local-variables-regexps for file-locals, but
9235         not for directory-locals.
9236         (set-visited-file-name):
9237         Take account of inhibit-local-variables-regexps.
9238         Whether it applies may change as the file name is changed.
9239         * jka-cmpr-hook.el (jka-compr-install):
9240         * jka-compr.el (jka-compr-uninstall):
9241         Update for inhibit-first-line-modes-suffixes name change.
9243 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
9245         * help-macro.el (make-help-screen): Temporarily restore original
9246         binding for minor-mode-map-alist (Bug#10454).
9248 2012-01-19  Julien Danjou  <julien@danjou.info>
9250         * color.el (color-name-to-rgb): Use the white color to find the max
9251         color component value and return correctly computed values.
9252         (color-name-to-rgb): Add missing float conversion for max value.
9254 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
9256         * window.el (window--state-get-1, window-state-get): Do not use
9257         special state value for window-persistent-parameters.
9258         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
9259         (window--state-put-2): Reset all window parameters to nil before
9260         assigning values of persistent parameters.
9262 2012-01-18  Alan Mackenzie  <acm@muc.de>
9264         Eliminate sluggishness and hangs in fontification of "semicolon
9265         deserts".
9267         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9268         Change value 10000 -> 3000.
9269         (c-state-safe-place): Reformulate so it doesn't stack up an
9270         infinite number of wrong entries in c-state-nonlit-pos-cache.
9271         (c-determine-limit-get-base, c-determine-limit): New functions to
9272         determine backward search limits disregarding literals.
9273         (c-find-decl-spots): Amend commenting.
9274         (c-cheap-inside-bracelist-p): New function which detects "={".
9276         * progmodes/cc-fonts.el
9277         (c-make-font-lock-BO-decl-search-function): Give a limit to a
9278         backward search.
9279         (c-font-lock-declarations): Fix an occurrence of point being
9280         undefined.  Check additionally for point being in a bracelist or
9281         near a macro invocation without a semicolon so as to avoid a
9282         fruitless time consuming search for a declarator.  Give a more
9283         precise search limit for declarators using the new
9284         c-determine-limit.
9286 2012-01-18  Glenn Morris  <rgm@gnu.org>
9288         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9289         (set-auto-mode): Doc fixes.
9291 2012-01-17  Glenn Morris  <rgm@gnu.org>
9293         * isearch.el (search-nonincremental-instead): Fix doc typo.
9295         * dired.el (dired-insert-directory): Handle newlines in directory name.
9296         (dired-build-subdir-alist): Unescape newlines in directory name.
9298 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
9300         * net/tramp.el (tramp-local-end-of-line): New defcustom.
9301         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9302         (tramp-action-terminal): Use it.  (Bug#10530)
9304 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9306         * minibuffer.el (completion--replace): Strip properties (bug#10062).
9308 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
9310         * window.el (window-state-ignored-parameters): Remove variable.
9311         (window--state-get-1): Rename argument MARKERS to IGNORE.
9312         Handle persistent window parameters.  Make copy of clone-of
9313         parameter only if requested.  (Bug#10348)
9314         (window--state-put-2): Install a window parameter only if it has
9315         a non-nil value or an existing parameter shall be overwritten.
9317 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
9319         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9321 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
9323         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9324         don't pass the (nil) value of `upnode' to string-match.
9326 2012-01-14  Chong Yidong  <cyd@gnu.org>
9328         * startup.el (command-line): Fix X resource class for cursorColor.
9329         Fix values recognized by the cursorBlink resource.
9331 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
9333         * epg.el (epg--make-temp-file): Avoid permission race condition
9334         when running on old Emacs versions (bug#10403).
9336 2012-01-14  Glenn Morris  <rgm@gnu.org>
9338         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9340 2012-01-13  Alan Mackenzie  <acm@muc.de>
9342         Fix filling for when filladapt mode is enabled.
9344         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9345         c-mask-paragraph, pass in `fill-paragraph' rather than
9346         `fill-region-as-paragraph'.  (This is a reversion of a previous
9347         change.)
9348         * progmodes/cc-mode.el (c-basic-common-init):
9349         Make fill-paragraph-handle-comment buffer local and set it to nil.
9351 2012-01-13  Glenn Morris  <rgm@gnu.org>
9353         * dired.el (dired-switches-escape-p): New function.
9354         (dired-insert-directory): Use dired-switches-escape-p.
9355         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
9357         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
9359 2012-01-12  Glenn Morris  <rgm@gnu.org>
9361         * mail/sendmail.el (mail-mode): Update paragraph-separate for
9362         changes in adaptive-fill-regexp.  (Bug#10276)
9364 2012-01-11  Alan Mackenzie  <acm@muc.de>
9366         Fix Emacs bug #10463 - put `widen's around the critical spots.
9368         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9369         widen around each invocation of c-state-pp-to-literal.  Remove an
9370         unused let variable.
9372 2012-01-11  Glenn Morris  <rgm@gnu.org>
9374         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
9375         Doc fix.
9377 2012-01-10  Chong Yidong  <cyd@gnu.org>
9379         * net/network-stream.el (network-stream-open-starttls):
9380         Avoid emitting a confusing error message when the server gives a bad
9381         response to the capability command.
9383 2012-01-10  Glenn Morris  <rgm@gnu.org>
9385         * mail/unrmail.el (unrmail): Tweak previous change.
9387 2012-01-09  Chong Yidong  <cyd@gnu.org>
9389         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9391 2012-01-08  Alan Mackenzie  <acm@muc.de>
9393         Optimise font locking in long enum definitions.
9395         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9396         arm to a cond form to handle enums.
9397         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9398         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9400 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9402         * files.el (move-file-to-trash): Preserve default file modes on error.
9403         (Bug#10401)
9405 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9407         * faces.el (set-face-attribute): Clarify the meaning of the nil
9408         frame (bug#10294).
9410         * subr.el (with-selected-frame): Mention that the selected frame
9411         is restored (bug#9980).
9413         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9414         (bug#9759).
9416         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
9417         (password-read): Don't autoload unused function.
9419 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
9421         * progmodes/which-func.el (which-func-mode): Turn into a
9422         non-interactive function and mark as obsolete (bug#10428).
9424 2012-01-06  Chong Yidong  <cyd@gnu.org>
9426         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9427         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9428         functions, along with 1 and -1.
9430 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
9432         * time.el (display-time-load-average)
9433         (display-time-default-load-average): Doc fixes.  See the thread
9434         starting at
9435         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9436         for the details.
9438 2012-01-06  Glenn Morris  <rgm@gnu.org>
9440         * mail/unrmail.el (unrmail): Give an explicit error if the input file
9441         has no messages.  (Bug#10377)
9443         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9444         than Info-edit.  (Bug#10385)
9446         * time.el (display-time-load-average, display-time-next-load-average):
9447         Doc fixes.
9449         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9450         local setting of buffer-read-only to the input buffer.  (Bug#10419)
9452         * calendar/calendar.el (calendar-mode):
9453         Locally set scroll-margin to 0.  (Bug#10379)
9455 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
9457         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
9459 2012-01-05  Glenn Morris  <rgm@gnu.org>
9461         * eshell/em-unix.el (diff-no-select): Autoload it.
9462         (eshell/diff): Use diff-no-select.  (Bug#10420)
9464 2012-01-05  Chong Yidong  <cyd@gnu.org>
9466         * shell.el (shell-dynamic-complete-functions): Revert last change.
9467         (shell-command-completion-function): New function.
9468         (shell-completion-vars): Use it to implement
9469         shell-completion-execonly (Bug#10417).
9471         * custom.el (enable-theme): Don't set custom-safe-themes.
9473         * cus-theme.el (custom-theme-merge-theme):
9474         Ignore custom-enabled-themes and custom-safe-themes.
9476 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
9478         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9479         first prompt in `sql-interacive-mode'.
9480         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
9481         keywords.
9482         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
9483         (sql-product-interactive): Bug fix: Set `sql-buffer' in
9484         context of original buffer.  Invoke `sql-login-hook'.
9486 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
9488         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9489         letters in cite-prefix.
9491 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9493         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9495 2012-01-03  Chong Yidong  <cyd@gnu.org>
9497         * shell.el (shell-dynamic-complete-functions):
9498         Put pcomplete-completions-at-point, so as to try
9499         comint-filename-completion first (Bug#10417).
9501 2012-01-02  Richard Stallman  <rms@gnu.org>
9503         * battery.el (battery-status-function):
9504         Detect when to use battery-yeeloong-sysfs.
9505         (battery-echo-area-format): Add string for Yeeloong.
9506         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9507         (battery-yeeloong-sysfs): New function.
9509 2012-01-02  Chong Yidong  <cyd@gnu.org>
9511         * dirtrack.el (dirtrack-list): Eliminate unused third element.
9512         (dirtrack): Merge code for handling relative filenames in prompt
9513         from shell-dir-cookie-watcher.
9514         (dirtrack-debug-message): New arg to avoid excess format calls.
9516         * shell.el (shell-dir-cookie-re): Variable deleted.
9517         (shell-dir-cookie-watcher): Function deleted.
9518         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9519         with dirtrack-mode.
9521 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
9523         * term/w32-win.el (dynamic-library-alist) <gnutls>:
9524         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
9525         libgnutls-26.dll.
9527 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
9529         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9531 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
9533         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9534         headers of non-MIME messages, when rmail-enable-mime is non-nil.
9536 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
9538         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9539         also for alternative shells.
9540         (tramp-open-connection-setup-interactive-shell): Check, whether
9541         the shell is a busybox.
9542         (tramp-send-command): Don't suppress multiple prompts for
9543         busyboxes, it hurts.
9545 2011-12-28  Chong Yidong  <cyd@gnu.org>
9547         * progmodes/gdb-mi.el (gdb-get-source-file-list)
9548         (gdb-get-source-file): Move mode line update to
9549         gdb-get-source-file (Bug#10087).
9551 2011-12-25  Chong Yidong  <cyd@gnu.org>
9553         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9554         gud-gdb-marker-filter without taking it as an argument.
9555         (gud-gdb-run-command-fetch-lines): Caller changed.
9556         (gud-gdb-completion-function): New variable.
9557         (gud-gdb-completion-at-point): Use it.
9558         (gud-gdb-completions-1): Split from gud-gdb-completions.
9560         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9561         function as separate arguments.
9562         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9563         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9564         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9565         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9566         (gdb-stopped, def-gdb-auto-update-trigger)
9567         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
9568         (gdb-get-changed-registers, gdb-get-main-selected-frame):
9569         Callers changed.
9570         (gud-gdbmi-completions): New function.
9571         (gdb): Use it for generating the completion table.
9573 2011-12-24  Alan Mackenzie  <acm@muc.de>
9575         Introduce a mechanism to widen the region used in context font
9576         locking.  Use this to protect declarations from losing their contexts.
9578         * progmodes/cc-langs.el (c-before-font-lock-functions):
9579         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
9580         (c-before-context-fontification-functions): New defvar, a list of
9581         functions to be run just before context (etc.) font locking.
9583         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
9584         New, functionality extracted from
9585         c-neutralize-syntax-in-and-mark-CPP.
9586         (c-in-after-change-fontification): New variable.
9587         (c-after-change): Set c-in-after-change-fontification.
9588         (c-set-fl-decl-start): Rejig its interface, so it can be called
9589         from both after-change and context fontifying.
9590         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9591         New functions.
9592         (c-standard-font-lock-fontify-region-function): New variable.
9593         (c-font-lock-fontify-region): New function.
9595 2011-12-24  Juri Linkov  <juri@jurta.org>
9597         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9598         (Bug#10348)
9600 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
9602         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9603         existence of source file.  (Bug#10325)
9605 2011-12-23  Alan Mackenzie  <acm@muc.de>
9607         Fix unstable fontification inside templates.
9609         * progmodes/cc-langs.el (c-before-font-lock-functions):
9610         Newly created from the singular version.  The (c c++ objc) entry now
9611         additionally has c-set-fl-decl-start.  The other languages (apart
9612         from AWK) have that as a single entry.
9614         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9615         The functionality for "local" declarations has been extracted to
9616         c-set-fl-decl-start.
9618         * progmodes/cc-mode.el (c-common-init, c-after-change):
9619         Changes due to pluralisation of c-before-font-lock-functions.
9620         (c-set-fl-decl-start): New function, extracted from
9621         c-font-lock-enclosing-decls and enhanced.
9623 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
9625         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9627 2011-12-22  Juri Linkov  <juri@jurta.org>
9629         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
9631 2011-12-22  Chong Yidong  <cyd@gnu.org>
9633         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9635 2011-12-21  Drew Adams  <drew.adams@oracle.com>
9637         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
9639 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
9641         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9643 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
9645         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
9646         highlighting and support.  Fix up comments for capitalization.
9647         (cfengine-mode-debug): New var.
9648         (cfengine3-mode): Change the modeline indicator to "CFE3".
9649         (cfengine3-font-lock-keywords): Improve defun highlighting.
9650         (cfengine2-actions): Rename from `cfengine-actions'.
9651         (cfengine2-font-lock-keywords): Rename from
9652         `cfengine-font-lock-keywords'.
9653         (cfengine2-imenu-expression): Rename from
9654         `cfengine-imenu-expression'.
9655         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9656         (cfengine2-beginning-of-defun): Rename from
9657         `cfengine-beginning-of-defun'.
9658         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9659         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9660         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
9661         modeline indicator to "CFE2".
9662         (cfengine-mode): Defalias to `cfengine-auto-mode'.
9663         (cfengine-mode-abbrevs): Mark obsolete.
9665 2011-12-21  Chong Yidong  <cyd@gnu.org>
9667         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9668         filename argument.
9670 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
9672         * window.el (window-normalize-buffer-to-display): Remove.
9673         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9675 2011-12-19  Chong Yidong  <cyd@gnu.org>
9677         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9678         Don't signal an error in a predicate function; return non-nil.
9679         (vc-dir-mark-file): Move the error here.
9680         (vc-dir-mark-unmark): If acting on the region, keep going if one
9681         of the entries cannot be marked/unmarked.
9682         (vc-dir-mark-all-files): If current entry is a directory, mark
9683         only child files, as documented.
9685 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9687         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9688         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9689         addition.
9691 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
9693         * term/ns-win.el (ns-get-selection-internal)
9694         (ns-store-selection-internal): Declare.
9695         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9696         Declare as obsolete.
9697         (ns-get-pasteboard, ns-paste-secondary):
9698         Use ns-get-selection-internal.
9699         (ns-set-pasteboard,  ns-copy-including-secondary):
9700         Use ns-store-selection-internal.
9702 2011-12-17  Chong Yidong  <cyd@gnu.org>
9704         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9705         (vc-deduce-fileset): Doc fix.
9707 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
9709         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9711 2011-12-13  Sam Steingold  <sds@gnu.org>
9713         * man.el (Man-getpage-in-background): When running under a
9714         window-system, ignore $MANWIDTH and $COLUMNS.
9716 2011-12-15  Kenichi Handa  <handa@m17n.org>
9718         * language/ethio-util.el: Change coding tag to utf-8-emacs.
9719         (setup-ethiopic-environment-internal): Comment out key-binding for
9720         ethio-toggle-punctuation.
9722 2011-12-13  Alan Mackenzie  <acm@muc.de>
9724         Add the switch statement to AWK Mode.
9726         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
9727         "default" to the keywords regexp.
9729         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
9730         expression as the rest.
9731         (c-nonlabel-token-key): Allow string literals for AWK.
9732         Refactor for the other modes.
9734         Large brace-block initialisation makes CC Mode slow: Fix.
9735         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
9736         routines.  Limit backward searching in c-font-lock-enclosing.decl.
9738         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9739         pp-state and literal type in addition to the limits.
9740         (c-state-safe-place): New defun, extracted from c-state-literal-at.
9741         (c-state-literal-at): Use the above new defun.
9742         (c-slow-in-literal, c-fast-in-literal): Remove.
9743         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
9745         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9746         being in a literal.  Add a limit for backward searching.
9748         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9749         c-slow-in-literal.
9751 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9753         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9755 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
9757         * window.el (delete-other-windows): Use correct frame in call to
9758         window-with-parameter.
9760 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
9762         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9763         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9764         (makefile-gmake-statements, makefile-makepp-statements):
9765         Use it and add new makepp keywords.
9766         (makefile-makepp-font-lock-keywords): Add new patterns.
9767         (makefile-match-function-end): Match new [...] and [[...]].
9769 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
9771         * ses.el (ses-call-printer-return, ses-cell-property-get)
9772         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9773         (ses-create-cell-variable, ses-reset-header-string)
9774         (ses-cell-set-formula, ses-repair-cell-reference-all)
9775         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9776         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9777         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9778         (ses-aset-with-undo, ses-load, ses-truncate-cell)
9779         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9780         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9781         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9782         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9783         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9784         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9785         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9786         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9788 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9790         * ses.el: The overall change is to add cell renaming, that is
9791         setting fancy names for cell symbols other than name matching
9792         "\\`[A-Z]+[0-9]+\\'" regexp .
9793         (ses-create-cell-variable): New defun.
9794         (ses-relocate-formula): Relocate formulas only for cells the
9795         symbols of which are not renamed, i.e. symbols whose names do not
9796         match regexp "\\`[A-Z]+[0-9]+\\'".
9797         (ses-relocate-all): Relocate values only for cells the symbols of
9798         which are not renamed.
9799         (ses-load): Create cells variables as the (ses-cell ...) are read,
9800         in order to check row col consistency with cell symbol name only
9801         for cells that are not renamed.
9802         (ses-replace-name-in-formula): New defun.
9803         (ses-rename-cell): New defun.
9805 2011-12-11  Chong Yidong  <cyd@gnu.org>
9807         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9808         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9810 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
9812         * window.el (other-window): Fix docstring.
9814 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
9816         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
9817         `from' or `to' address before taking its substring.
9818         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
9819         encoded name is chopped in the middle of the encoded string, and
9820         thus displayed encoded.
9822 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
9824         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9826 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
9828         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
9829         to use texinfo-update-node and commands that call it if the
9830         Texinfo file uses @node lines without next/prev/up pointers.
9831         Correct outdated description about texinfo-master-menu.
9832         (texinfo-all-menus-update, texinfo-master-menu)
9833         (texinfo-update-node, texinfo-every-node-update)
9834         (texinfo-multiple-files-update): Doc fix.  Warn against updating
9835         all the @node lines.
9836         (texinfo-master-menu): Only call texinfo-update-node if the prefix
9837         argument is numeric.  Explain better in the doc string what the
9838         function really does.
9839         (texinfo-insert-master-menu-list): Improve the error message
9840         displayed if there's no menu in the Top node.
9841         (Bug#2975)  See also this thread:
9842         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9844 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
9846         * speedbar.el (speedbar-supported-extension-expressions):
9847         Add .adb and .ads, commonly used for Ada source code (bug#10256).
9849 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
9851         * printing.el (pr-mode-alist):
9852         * simple.el (filter-buffer-substring-functions)
9853         (completion-list-insert-choice-function):
9854         * window.el (window-with-parameter, window-atom-root)
9855         (window-sides-slots, window-size-fixed, window-min-delta)
9856         (window-max-delta, window--resize-mini-window)
9857         (window--resize-child-windows-normal, window-tree)
9858         (delete-other-windows, quit-window, split-window)
9859         (display-buffer-record-window, special-display-buffer-names)
9860         (special-display-regexps, special-display-popup-frame)
9861         (same-window-p, split-window-sensibly)
9862         (display-buffer-overriding-action, display-buffer-alist)
9863         (display-buffer-base-action, display-buffer, switch-to-buffer)
9864         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9865         (fit-window-to-buffer, recenter-positions)
9866         (mouse-autoselect-window-state, mouse-autoselect-window-select):
9867         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9868         and remove unneeded backslashes in docstrings.
9870 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9872         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9874         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9875         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9876         end in ".mk".
9877         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9878         when reading the makefile (bug#10116).
9880 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9882         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9883         (bug#10116).
9885 2011-12-06  Glenn Morris  <rgm@gnu.org>
9887         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9889 2011-12-06  Chong Yidong  <cyd@gnu.org>
9891         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9893 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
9895         * textmodes/table.el (table-shorten-cell): Fix typo.
9897 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
9899         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9901 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
9903         * descr-text.el (describe-char): Fix display of strong
9904         right-to-left characters and directional embeddings and overrides.
9906         * simple.el (what-cursor-position): Fix display of codepoints of
9907         strong right-to-left characters.
9909 2011-12-05  Chong Yidong  <cyd@gnu.org>
9911         * faces.el (read-color): Doc fix.
9913 2011-12-05  Glenn Morris  <rgm@gnu.org>
9915         * align.el (align--set-marker): Add doc-string.
9916         Don't try to move something that is not a marker.  (Bug#10216)
9918 2011-12-04  Glenn Morris  <rgm@gnu.org>
9920         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9921         overly zealous deletion of trailing whitespace.
9923 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
9925         * server.el (server-delete-client): On Windows, do not try to delete
9926         the only terminal.
9927         (server-process-filter): On Windows, treat requests for a tty frame as
9928         if they were for a GUI frame if the running server is in GUI mode.
9930 2011-12-03  Glenn Morris  <rgm@gnu.org>
9932         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
9934 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9936         * electric.el: Streamline electric-indent's hook.
9937         (electric-indent-chars): Revert to simple list.
9938         (electric-indent-functions): New var.
9939         (electric-indent-post-self-insert-function): Use it.
9941         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9942         there's no inferior buffer (bug#10196).
9943         (prolog-consult-compile): Don't use toggle-read-only.
9945 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
9947         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9948         interrupt.  (Bug#10187)
9950 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9952         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9953         (bug#9160).
9955         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9956         (bug#10191).
9958 2011-12-02  Juri Linkov  <juri@jurta.org>
9960         * info.el (Info-search): Display "end of manual" when Isearch
9961         reaches the end of single-file Info manual.  (Bug#9918)
9963 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
9965         * isearch.el (isearch-message-prefix): Run the input method part
9966         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
9968 2011-12-02  Juri Linkov  <juri@jurta.org>
9970         * isearch.el (isearch-occur): Use `word-search-regexp' for
9971         `isearch-word'.
9972         (isearch-search-and-update): Add condition for `isearch-word' and
9973         call `word-search-regexp'.  (Bug#10145)
9975 2011-12-01  Glenn Morris  <rgm@gnu.org>
9977         * eshell/em-hist.el (eshell-hist-initialize):
9978         Handle eshell-history-size nil and HISTSIZE set or unset.
9979         (eshell-history-file-name, eshell-history-size): Fix custom type.
9981 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9983         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9985 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
9987         * progmodes/verilog-mode.el (verilog-pretty-expr):
9988         Rework verilog-pretty-expr to handle new assignment operators in system
9989         verilog, such as += *= and the like.
9990         (verilog-assignment-operator-re): Regular expression to find the
9991         assigment operator in a verilog assignment.
9992         (verilog-assignment-operation-re): Regular expression to find an
9993         assignment statement for pretty-expr.
9994         (verilog-in-attribute-p): Query returns true if point is in an
9995         attribute context; used to skip these for expression line up from
9996         pretty-expr.
9997         (verilog-in-parameter-p): Query returns true if point is in an
9998         parameter definition context; used to skip these for expression
9999         line up from pretty-expr.
10000         (verilog-in-parenthesis-p): Query returns true if point is in a
10001         parenthetical expression, specifically ( ) but not [ ] or { };
10002         used by pretty-expr.
10003         (verilog-just-one-space): If there is no space, don't add one.
10004         (verilog-get-lineup-indent-2): Specifically skip just attribute
10005         contexts for expression lineup, rather than skipping all
10006         parenthetical expressions.
10007         (verilog-calculate-indent): Fix comment, and fix indent.
10008         (verilog-do-indent): Indent declarations in lists (suggested by
10009         Joachim Lechner).
10010         (verilog-mode-abbrev-table): Populate abbrev mode with the various
10011         skeleton items.
10012         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10013         by Alain Mellan).
10015 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
10017         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10018         parameters with embedded comments.  Reported by Ray Stevens.
10019         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10020         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10021         Reported by Tim Holt.
10022         (verilog-auto): Fix AUTOing a upper module then AUTOing module
10023         instantiated by upper module causing wrong expansion until AUTOed a
10024         second time.  Reported by K C Buckenmaier.
10025         (verilog-diff-auto): Fix showing .* as a difference when
10026         `verilog-auto-star-save' off.  Reported by Dan Dever.
10027         (verilog-auto-reset, verilog-read-always-signals)
10028         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10029         temporary signals in reset list if
10030         verilog-auto-reset-blocking-in-non is nil, and match assignment
10031         style to each signal's assignment type, bug381.
10032         Reported by Thomas Esposito.
10033         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10034         (verilog-uvm-statement-re): Support UVM indentation and
10035         highlighting, with old OVM keywords only.
10036         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10037         Support AUTOTIEOFF creating non-wire data types.
10038         Suggested by Jonathan Greenlaw.
10039         (verilog-auto-insert-lisp, verilog-delete-to-paren)
10040         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10041         (verilog-inject-sense, verilog-read-inst-pins)
10042         (verilog-read-sub-decls, verilog-read-sub-decls-line):
10043         Fix mismatching parenthesis inside commented out code when deleting
10044         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
10045         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10046         non-numeric vector width.  Reported by Alex Reed.
10047         (verilog-auto-ascii-enum): Add "onehot" option to work around not
10048         detecting signals with parameter widths.  Reported by Alex Reed.
10049         (verilog-auto-delete-trailing-whitespace):
10050         With `verilog-auto-delete-trailing-whitespace' remove trailing
10051         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
10052         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10053         Fix verilog-scan-cache corruption when running user AUTO expansion
10054         hooks that call indentation routines.
10055         (verilog-simplify-range-expression): Fix typo ignoring lower case
10056         identifiers.
10057         (verilog-delete-auto): Fix delete-autos to also remove user created
10058         automatics, as long as they start with AUTO.
10059         (verilog-batch-diff-auto, verilog-diff-auto)
10060         (verilog-diff-function): Add `verilog-diff-auto' and bind to
10061         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
10062         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10063         (verilog-in-paren-quick, verilog-re-search-backward-quick)
10064         (verilog-re-search-forward-quick, verilog-syntax-ppss):
10065         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10066         is disabled and its cache will get corrupt, causing AUTOS not to
10067         expand.  Instead use only -quick functions.
10068         (verilog-scan-region): Fix scanning over escaped quotes.
10069         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10070         (verilog-re-search-backward-quick)
10071         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10072         related functions now ignore strings, to fix misparsing of strings
10073         with magic comments embedded in them.
10074         (verilog-read-auto-template):
10075         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10076         Reported by Brad Dobbie.
10077         (verilog-read-auto-template):
10078         Fix 'verilog-auto-inst-template-numbers' with comments.
10079         Reported by Brad Dobbie.
10080         (verilog-auto-inst, verilog-auto-inst-param)
10081         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10082         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
10083         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10084         debugging templates without merge conflicts, bug357.
10085         Reported by Brad Dobbie.
10086         (verilog-read-auto-template):
10087         Fix verilog-auto-inst-template-numbers with multiple templates.
10088         Reported by Brad Dobbie.
10089         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10090         abbrevs so user won't be asked to save.
10091         (verilog-read-auto-lisp-present): Fix to start at beginning of
10092         buffer in case called outside of verilog-auto.
10093         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10094         to "X-2".  Reported by Matthew Myers.
10095         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10096         all inputs from module templates.  Reported by Leith Johnson.
10097         (verilog-module-inside-filename-p): Fix locating programs as with
10098         modules.
10099         (verilog-auto-inst-port): Fix vl-width expressions when using
10100         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
10101         (verilog-decls-get-regs, verilog-decls-get-signals,
10102         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10103         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10104         verilog-read-decls): Combine reg and wire structures into one var
10105         structure to represent SystemVerilog concepts.
10106         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10107         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10108         (verilog-auto-wire-type, verilog-insert-definition):
10109         Add verilog-auto-wire-type and AUTOLOGIC to support using
10110         SystemVerilog "logic" keyword instead of "wire"/"reg".
10111         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10112         to declares outputs that also have assignments (presumably in an
10113         ifdef or generate if so there's not a driver conflict).
10114         Reported by Matthew Myers.
10115         (verilog-auto-declare-nettype, verilog-insert-definition):
10116         Add verilog-auto-declare-nettype to fix declarations using
10117         `default_nettype none.  Reported by Julian Gorfajn.
10118         (verilog-read-always-signals-recurse, verilog-read-decls)
10119         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10120         malformed end statement, bug325.  Reported by Joshua Wise and
10121         Andrew Drake.
10122         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10123         (verilog-inst-comment-re): Fix not deleting Interfaced comment
10124         when expanding .* in interfaces, bug320.
10125         Reported by Pierre-David Pfister.
10126         (verilog-read-module-name): Fix import statements between module
10127         name and open parenthesis, bug317.
10128         Reported by Pierre-David Pfister.
10129         (verilog-simplify-range-expression): Fix simplification of
10130         multiplications inside AUTOWIRE connections, bug303.
10131         (verilog-auto-inst-port): Support parameter expansion in
10132         multidimensional arrays.
10133         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10134         after "assert property".  Reported by Julian Gorfajn.
10135         (verilog-simplify-range-expression): Fix "couldn't merge" errors
10136         with multiplication, bug303.
10137         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10138         Reported by Jan Frode Lonnum.
10140 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
10142         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10143         (hfy-shell-file-name, hfy-shell):
10144         * international/fontset.el (x-decompose-font-name): Fix typos.
10146 2011-11-29  Ken Brown  <kbrown@cornell.edu>
10148         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10149         (gdb-version): Remove defvar.
10150         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10151         (gdb-gud-context-command, gdb-non-stop-handler)
10152         (gdb-current-context-command, gdb-stopped): Use it.
10153         (gdb-init-1): Enable pretty printing here.
10154         (gdb-non-stop-handler): Don't enable pretty-printing here.
10155         Check to see if the target supports non-stop mode; if not, turn off
10156         non-stop mode.  Use the following.
10157         (gdb-check-target-async): New defun.
10158         (gud-watch, gdb-stopped): Fix whitespace.
10159         (gdb-get-source-file): Don't try to display the source file if
10160         `gdb-main-file' is nil.
10162 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10164         * align.el: Try to generate fewer markers (bug#10047).
10165         (align--set-marker): New macro.
10166         (align-region): Use it.
10168 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10170         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10172 2011-11-29  Chong Yidong  <cyd@gnu.org>
10174         * indent.el (indent-for-tab-command, indent-according-to-mode):
10175         Doc fix.
10176         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
10178 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
10180         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10181         aware of remote file names.  (Bug#10124)
10183 2011-11-29  Chong Yidong  <cyd@gnu.org>
10185         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10187 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10189         * files.el (find-file): Don't use force-same-window (bug#10144).
10190         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10191         use pop-to-buffer if the selected window can't be used.
10192         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10194 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
10196         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10197         special-mode-map.
10199 2011-11-28  Chong Yidong  <cyd@gnu.org>
10201         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10203 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
10205         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10206           gdb-get-source-file-list on gdb-create-source-file-list.
10208 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
10210         * whitespace.el (whitespace-newline): Use a different foreground
10211         color for 16-color light-background displays.
10213 2011-11-24  Chong Yidong  <cyd@gnu.org>
10215         * window.el (display-buffer--special-action): Doc fix.
10217 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
10219         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10220         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10221         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10222         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10223         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10224         (avl-tree-stack-first):
10225         * emacs-lisp/cconv.el (cconv--analyse-use):
10226         * net/gnutls.el (gnutls-negotiate): Fix typos.
10228 2011-11-24  Glenn Morris  <rgm@gnu.org>
10230         * lpr.el (lpr-windows-system, lpr-lp-system):
10231         * mail/binhex.el (binhex-begin-line):
10232         * progmodes/grep.el (grep-history, grep-find-history):
10233         * textmodes/flyspell.el:
10234         * vc/pcvs-defs.el (cvs-global-menu):
10235         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10236         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10237         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10239         * net/tls.el: Fix case of "GnuTLS".
10241         * paths.el (rmail-file-name): Format doc-string for make-docfile.
10243         * version.el (emacs-build-system): Give it a doc-string.
10245 2011-11-24  Juri Linkov  <juri@jurta.org>
10247         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10249 2011-11-24  Glenn Morris  <rgm@gnu.org>
10251         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10252         if called on a non-mime message just toggle the headers.  (Bug#8006)
10254 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
10256         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10257         (allout-lead-with-comment-string, allout-structure-deleted-hook)
10258         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10259         (allout-rebullet-heading, allout-open-sibtopic)
10260         (allout-toggle-current-subtree-encryption)
10261         (allout-toggle-subtree-encryption, allout-encrypt-string)
10262         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10263         (allout-distinctive-bullets-string, allout-auto-activation):
10264         * window.el (window-normalize-buffer-to-display):
10265         * progmodes/verilog-mode.el (verilog-batch-indent):
10266         * textmodes/bibtex.el (bibtex-field-braces-opt)
10267         (bibtex-field-strings-opt):
10268         * vc/cvs-status.el (cvs-tree-merge):
10269         Fix typos.
10271 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
10273         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10274         `non-essential' to t, in order to avoid remote connections.
10276 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
10278         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10279         On MS-DOS and MS-Windows, compare with loaddefs.el
10280         case-insensitively.
10282 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10284         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
10286 2011-11-23  Glenn Morris  <rgm@gnu.org>
10288         * paths.el (rmail-file-name): Reformat the doc-string so that it
10289         is picked up.
10291         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10292         (rmail-auto-file): Ignore case in the "special" field names,
10293         as mail-fetch-field does for all others.
10295         * mail/rmail.el (rmail-forward):
10296         * mail/rmailkwd.el (rmail-set-label):
10297         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10298         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
10300         * mail/rmail.el (rmail-current-message): Doc fix.
10302         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
10304 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10306         * server.el (server-eval-and-print): Allow C-g (bug#6585).
10308 2011-11-22  Glenn Morris  <rgm@gnu.org>
10310         * mail/rmailmm.el (test-rmail-mime-handler)
10311         (test-rmail-mime-bulk-handler)
10312         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10314 2011-11-21  Juri Linkov  <juri@jurta.org>
10316         * calc/calc.el (calc-read-key-sequence):
10317         Let-bind `input-method-function' to nil.  (Bug#10018)
10319 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10321         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10322         Tell the caller that the next line needs recomputation, even
10323         though it doesn't start a sexp (bug#10094).
10325 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10327         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10329 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10331         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10332         Use force-same-window.
10334 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
10336         * descr-text.el (describe-char-unicode-data):
10337         * json.el (json-string-escape):
10338         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10339         (Footnote-unicode, Footnote-style-p):
10340         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10342 2011-11-20  Chong Yidong  <cyd@gnu.org>
10344         * window.el (replace-buffer-in-windows): Restore interactive spec.
10346 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10348         * electric.el (electric-indent-mode): Fix last change (too optimistic).
10350         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10351         (byte-compile-global-not-obsolete-vars): New var.
10352         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10353         Use it.
10354         (byte-compile-warn-obsolete): Align text with the one in *Help*.
10356 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
10358         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10359         * progmodes/pascal.el (electric-pascal-equal):
10360         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10361         * xml.el (xml-substitute-special): Fix typos.
10363 2011-11-20  Glenn Morris  <rgm@gnu.org>
10365         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10366         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10367         Doc fixes.
10368         (rmail-decode-mime-charset): Mark as obsolete.
10370         * mail/rmailsum.el (rmail-message-regexp-p-1):
10371         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10372         Before using mime functions, check they are set.  (Bug#10077)
10374 2011-11-19  Juri Linkov  <juri@jurta.org>
10376         * info.el (Info-finder-find-node): Use `package--builtins' instead
10377         of `package-alist'.  Use node names formed by the pattern "Keyword "
10378         and the keyword name.
10380 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
10382         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10384 2011-11-19  Juri Linkov  <juri@jurta.org>
10386         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10387         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
10388         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10389         `old-history', `old-history-forward'.  Add let-binding
10390         `window-selected'.  Remove calls to `kill-buffer',
10391         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
10392         before calling `Info-find-node', so `Info-find-node-2' will reread
10393         the Info file.  Restore window positions only when `window-selected'
10394         is non-nil.
10396 2011-11-19  Juri Linkov  <juri@jurta.org>
10398         * isearch.el (isearch-lazy-highlight-new-loop):
10399         Remove condition `(not isearch-error)'.  (Bug#9918)
10401         * misearch.el (multi-isearch-search-fun): Add condition
10402         `(not bound)' to ignore lazy-highlighting search.
10403         Add the search-failed message "end of multi" when the end of
10404         multi-sequence is reached.  Uncapitalize the search-failed
10405         message "Repeat for next buffer".
10407         * info.el (Info-search): Add the search-failed message
10408         "end of the manual" when the end of the manual is reached
10409         in Isearch mode.
10411 2011-11-19  Juri Linkov  <juri@jurta.org>
10413         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10414         Use non-destructive `remove' instead of `delete' because
10415         `Info-history-list' stored to `Info-isearch-initial-history-list' in
10416         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10418 2011-11-19  Juri Linkov  <juri@jurta.org>
10420         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10421         to nil instead of binding `search-ring' and `regexp-search-ring'.
10422         (Bug#9185)
10424 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
10426         * simple.el (line-move): Force movement by logical lines for any
10427         hscrolled window, not only when auto-hscroll-mode is on.
10428         (line-move-visual): Update doc string to that effect.  (Bug#10076)
10430 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
10432         * language/european.el (macintosh): Define as alias for mac-roman.
10434 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
10436         * mail/rmailmm.el (rmail-mime-display-header)
10437         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10438         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10439         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10440         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10441         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10442         of a raw aref.
10443         (rmail-mime-entity-segment): To get past the tagline, move forward
10444         2 more lines, to account for the 2 empty lines that precede and
10445         follow the line with the buttons.
10446         (rmail-mime-update-tagline): Move one more line, to get past the
10447         empty line that follows the buttons in the tagline.  (Bug#9520)
10449 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
10451         * window.el (window-max-delta-1, window-min-delta-1)
10452         (window-min-size-1, window-state-get-1, window-state-put-1)
10453         (window-state-put-2): Use "window--" prefix.
10455 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10457         * emacs-lisp/smie.el: Improve warnings and conflict detection.
10458         (smie-warning-count): New var.
10459         (smie-set-prec2tab): Use it.
10460         (smie-bnf->prec2): Improve warnings.  Add docstring.
10461         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10462         (smie-bnf--set-class): New function.
10463         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
10464         corner case.
10466         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10467         (compilation-error-properties, compilation-move-to-column):
10468         Handle compilation-first-column while in the target buffer.
10470         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10471         Don't hardcode point-min==1.
10473         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10474         (eshell-rewrite-for-command): Remove workaround.
10475         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10476         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10477         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10479         * files-x.el (modify-file-local-variable): Obey commenting conventions.
10481 2011-11-17  Glenn Morris  <rgm@gnu.org>
10483         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10484         Ignore buffer-local generated-autoload-file if it is the same
10485         as the global value.  (Bug#10049)
10487 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
10489         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10490         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10491         (reftex-toc-previous-heading, reftex-toc-max-level)
10492         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10493         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10494         (reftex-toc-do-promote, reftex-toc-promote-prepare)
10495         (reftex-toc-promote-action, reftex-toc-extract-section-number)
10496         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10497         (reftex-toc-rename-label, reftex-toc-visit-location)
10498         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10499         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10500         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10501         leaving "*toc*" only for references to the buffer.
10503 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
10505         * window.el (window-resize, delete-window, split-window):
10506         Replace window-splits by window-combination-resize.
10507         * cus-start.el (window-splits): Replace by window-combination-resize.
10509 2011-11-17  Glenn Morris  <rgm@gnu.org>
10511         * progmodes/sh-script.el (sh-font-lock-keywords-var):
10512         Make bash entry derive from sh entry, not shell entry.
10514 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
10516         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10517         local file name.
10519 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
10521         * menu-bar.el (menu-bar-file-menu):
10522         * printing.el (pr-ps-utility):
10523         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10524         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10525         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10526         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10527         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10528         (icalendar--convert-cyclic-to-ical)
10529         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10530         (icalendar--convert-ical-to-diary)
10531         (icalendar--convert-recurring-to-diary)
10532         (icalendar--convert-non-recurring-all-day-to-diary)
10533         (icalendar-import-format-sample):
10534         * progmodes/idlw-shell.el (idlwave-shell-mode):
10535         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10536         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10537         (vhdl-ps-print-init): Fix typos.
10539 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
10541         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10542         FSF and collapse date sequence, obscure author/maintainer email address
10543         better, remove extra version line, track relocation of author's webpage.
10545         * progmodes/python.el (python-pdbtrack-input-prompt)
10546         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10547         regular python pdb prompts.  Adjustments shamelessly taken exactly as
10548         suggested in EmacsWiki page (tiny change):
10549         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
10551 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
10553         * expand.el (expand-pos, expand-index, expand-point):
10554         Remove redundant info from docstring.
10555         (expand-add-abbrevs): Doc fix.
10556         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10557         (expand-sample-perl-mode-expand-list): Fix typos.
10559         * net/dbus.el (dbus-event-member-name):
10560         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10561         * term/pc-win.el (msdos-create-frame-with-faces):
10562         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10564 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
10566         * window.el (split-window, window-state-get-1)
10567         (window-state-put-1, window-state-put-2): Rename occurrences of
10568         window-nest to window-combination-limit.
10569         * cus-start.el (window-nest): Rename to window-combination-limit.
10571 2011-11-16  Chong Yidong  <cyd@gnu.org>
10573         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10574         regexp (Bug#10033).
10576 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10578         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10579         `completing-read' will remove *Completions* and will preserve
10580         current-buffer for us.
10581         (tmm-add-prompt): Users of *Completions* will always (re)set its
10582         major mode.
10583         (tmm-old-comp-map): Remove.
10585 2011-11-16  Glenn Morris  <rgm@gnu.org>
10587         * mail/rmailedit.el: Require rmailmm when compiling.
10588         (rmail-old-mime-state): New declaration.
10589         (rmail-edit-current-message): If editing a mime message,
10590         edit the "raw" message from the mbox buffer.
10591         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
10593 2011-11-15  Glenn Morris  <rgm@gnu.org>
10595         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10596         which wasn't being used.  Add optional arg to force given state.
10597         (rmail-mime): Add optional arg to force given state.
10599 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
10601         * allout.el (allout-encryption-plaintext-sanitization-regexps):
10602         * frame.el (display-mm-dimensions-alist):
10603         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10604         (outline-move-subtree-down):
10605         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10606         (newsticker--treeview-do-get-node):
10607         * net/quickurl.el (quickurl-list-buffer-name):
10608         * progmodes/dcl-mode.el (dcl-mode):
10609         * progmodes/gdb-mi.el (gdb-mapcar*):
10610         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10612 2011-11-15  Glenn Morris  <rgm@gnu.org>
10614         * mail/rmail.el (rmail-file-coding-system): It's only ever used
10615         in a boolean sense, so just make it a boolean, and fix the doc.
10616         (rmail-show-mime-function, rmail-mime-feature)
10617         (rmail-require-mime-maybe): Doc fixes.
10618         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10620         * mail/rmailmm.el (rmail-show-mime): Doc fix.
10622 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
10624         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10625         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10626         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10627         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10629 2011-11-15  Glenn Morris  <rgm@gnu.org>
10631         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10632         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10633         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10634         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10635         (rmail-mime, rmail-show-mime): Doc fixes.
10637         * term/ns-win.el (mode-line-frame-identification):
10638         Leave it alone.  (Bug#10051)
10640         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
10642         * mail/rmailout.el (rmail-output-to-rmail-buffer):
10643         Handle empty buffers.  (Bug#9978)
10645 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
10647         * international/mule.el (define-charset):
10648         * mail/rmailmm.el (rmail-mime-find-header-encoding):
10649         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10650         * progmodes/verilog-mode.el (verilog-backward-token):
10651         * textmodes/ispell.el (lookup-words):
10652         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10654 2011-11-14  Glenn Morris  <rgm@gnu.org>
10656         * progmodes/executable.el
10657         (executable-make-buffer-file-executable-if-script-p):
10658         Handle file-modes returning nil.
10660         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10661         message - not necessary, and causes problems.  (Bug#9831)
10663         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10665         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10667         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10668         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
10669         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10671 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
10673         * window.el (window-resize, delete-window): Use window-splits
10674         variable instead of function.
10675         (window-state-get-1, window-state-put-2, window-state-put):
10676         Don't deal with windows' splits status.
10678 2011-11-12  Glenn Morris  <rgm@gnu.org>
10680         * apropos.el (apropos-do-all, apropos-library, apropos-value)
10681         (apropos-documentation): Doc fixes.
10683 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
10685         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10686         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10688 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10690         * electric.el (electric-indent-post-self-insert-function): Make it
10691         possible for a char to only indent in some circumstances.
10692         (electric-indent-mode): Simplify.
10694 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
10696         * window.el (windows-with-parameter): Remove unused function.
10697         (windows-at-side): Rename to window-at-side-list.
10698         (window-check, window-atom-check, window-atom-check-1)
10699         (window-side-check, window-size-ignore, window-size-fixed-1)
10700         (window-in-direction-2): Prefix with "window--".
10701         (window-tree-1): Rename to window--subtree, fix doc-string.
10703 2011-11-11  Glenn Morris  <rgm@gnu.org>
10705         * subr.el (eval-after-load): If FILE is already loaded,
10706         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
10708 2011-11-10  Glenn Morris  <rgm@gnu.org>
10710         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10711         Call svn via vc-svn-command rather than vc-do-command.
10712         (vc-svn-command): Add --non-interactive.  (Bug#9993)
10713         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10715         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10716         Add toggle-read-only.  (Bug#7292)
10717         * files.el (toggle-read-only): Mention that it should only
10718         be used interactively.  (Bug#10006)
10720 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10722         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10723         Adjust regexp for OCaml warnings.
10725         * electric.el (electric-pair-post-self-insert-function): Let user
10726         turn it off buffer-locally (bug#9932).
10728         * progmodes/python.el (python-beginning-of-statement):
10729         Rewrite (bug#2703).
10731         * progmodes/compile.el: Better handle TABs (bug#9749).
10732         (compilation-internal-error-properties)
10733         (compilation-next-error-function): Obey the target buffer's
10734         compilation-error-screen-columns.
10736 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
10738         * progmodes/meta-mode.el: Remove obsolete comments.
10739         (meta-right-comment-regexp, meta-ignore-comment-regexp):
10740         Fix typos in docstrings.
10742 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
10744         * window.el (window-size-fixed-p): Rewrite doc-string.
10745         (window-resizable-p): Rename to window--resizable-p.  Update callers.
10746         (window--resizable): New function.  Make all callers of
10747         window-resizable call window--resizable instead.
10748         (window-resizable): Rewrite in terms of window--resizable.
10750 2011-11-08  Glenn Morris  <rgm@gnu.org>
10752         * progmodes/delphi.el (delphi-mode-syntax-table):
10753         Let define-derived-mode define a proper syntax table.  (Bug#9994)
10755 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10757         * window.el: Stay away from defsubst.
10758         (window-list-no-nils): Remove.
10759         (window-state-get-1, window-state-get): Use backquote instead.
10761 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10763         * emacs-lisp/find-func.el (find-function-read):
10764         Fix incorrect use of default argument in `completing-read'.
10766 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
10768         * window.el (display-buffer-function, special-display-function):
10769         Mention display-buffer-record-window but do not mention
10770         help-setup parameter in doc-strings.
10771         (window-min-delta): Fix doc-string typo.
10773 2011-11-08  Chong Yidong  <cyd@gnu.org>
10775         * window.el (window-total-height, window-total-width): Doc fix.
10776         (window-body-size): Move from C.
10777         (window-body-height, window-body-width): Move to C.
10779 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10781         * window.el: Make special-display like display-buffer-alist (bug#9532).
10782         (display-buffer--special-action): New function, morphed
10783         from display-buffer--special.
10784         (display-buffer): Use it to handle special-display-buffers at higher
10785         priority (just after display-buffer-alist).
10786         (display-buffer-fallback-action, display-buffer--other-frame-action)
10787         (pop-to-buffer-same-window): Remove display-buffer--special.
10789 2011-11-07  Glenn Morris  <rgm@gnu.org>
10791         * calendar/cal-menu.el (cal-menu-set-date-title):
10792         Do nothing if not in a calendar.  (Bug#9976)
10794 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10796         * files.el (find-file): Always use selected-window.
10798 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
10800         * window.el (window-combinations): Make WINDOW argument
10801         mandatory.  Rewrite doc-string.
10802         (walk-window-subtree, window-atom-check, window-min-delta)
10803         (window-max-delta, window--resize-this-window)
10804         (window--resize-root-window-vertically, window-tree)
10805         (balance-windows, window-state-put): Rewrite doc-strings as to
10806         not mention the term "subwindow".
10807         (window--resize-subwindows-skip-p): Rename to
10808         window--resize-child-windows-skip-p.
10809         (window--resize-subwindows-normal): Rename to
10810         window--resize-child-windows-normal.
10811         (window--resize-subwindows): Rename to
10812         window--resize-child-windows.
10813         (window-or-subwindow-p): Rename to window--in-subtree-p.
10815 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10817         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10818         Ensure that mbox format messages end in two newlines (Bug#9974).
10820 2011-11-06  Chong Yidong  <cyd@gnu.org>
10822         * window.el (window-combination-p): Function deleted; its
10823         side-effect is not used in any existing code.
10824         (window-combinations, window-combined-p): Call window-*-child
10825         directly.
10827 2011-11-05  Chong Yidong  <cyd@gnu.org>
10829         * window.el (window-valid-p): Rename from window-any-p.
10830         (window-size-ignore, window-state-get): Callers changed.
10831         (window-normalize-window): Rename from window-normalize-any-window.
10832         New arg LIVE-ONLY, replacing window-normalize-live-window.
10833         (window-normalize-live-window): Delete.
10834         (window-combination-p, window-combined-p, window-combinations)
10835         (walk-window-subtree, window-atom-root, window-min-size)
10836         (window-sizable, window-sizable-p, window-size-fixed-p)
10837         (window-min-delta, window-max-delta, window-resizable)
10838         (window-resizable-p, window-full-height-p, window-full-width-p)
10839         (window-current-scroll-bars, window-point-1, set-window-point-1)
10840         (window-at-side-p, window-in-direction, window-resize)
10841         (adjust-window-trailing-edge, maximize-window, minimize-window)
10842         (window-deletable-p, delete-window, delete-other-windows)
10843         (record-window-buffer, unrecord-window-buffer)
10844         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10845         (quit-window, split-window, window-state-put)
10846         (set-window-text-height, fit-window-to-buffer)
10847         (shrink-window-if-larger-than-buffer): Callers changed.
10849 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
10851         * mail/rmail.el (rmail-simplified-subject): Decode subject with
10852         rfc2047-decode-string.
10853         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10854         warnings.
10856         * window.el (window-body-height, window-body-width): Mention in
10857         the doc string that the return values are in frame's canonical
10858         units.  (Bug#9949)
10860 2011-11-03  Alan Mackenzie  <acm@muc.de>
10862         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10863         change in cc-engine.el.
10865 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10867         * window.el (switch-to-buffer): Use `force-same-window' interactively.
10869 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
10871         * window.el (quit-window): Call unrecord-window-buffer after
10872         showing another buffer in the window.  (Bug#9937)
10873         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
10875 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
10877         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10878         Accept status with more than 9 shelves.  (Bug#9935)
10879         Reported by Colin D Bennett <colin@gibibit.com>.
10881 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
10883         * help.el (with-help-window): Don't reference
10884         temp-buffer-show-specifiers in doc-string.
10886 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10888         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10889         menu-item.
10891 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10893         * whitespace.el: New version 13.2.2.
10894         (whitespace-newline-mode): Disable properly.  Reported by Sarah
10895         <EmacsWiki>.
10897 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
10899         * net/newst-treeview.el: Remove "Time-stamp".
10900         (newsticker--group-manage-orphan-feeds): Do not call
10901         newsticker--treeview-tree-update.
10902         (newsticker-treeview-update, newsticker-treeview):
10903         Call newsticker--treeview-tree-update if necessary.
10905 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
10907         * window.el (window-iso-combination-p, window-iso-combined-p)
10908         (window-iso-combinations): Remove "iso-" infix.
10909         Suggested by Chong Yidong.
10910         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10911         (window-max-delta-1, window-resize, window--resize-siblings)
10912         (window--resize-this-window, adjust-window-trailing-edge)
10913         (split-window, balance-windows-1)
10914         (shrink-window-if-larger-than-buffer):
10915         * calendar/calendar.el (calendar-generate-window):
10916         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
10918 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10920         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10921         in place (bug#9907).
10922         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10923         (eshell-rewrite-if-command, eshell-rewrite-for-command)
10924         (eshell-structure-basic-command, eshell-rewrite-while-command)
10925         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10926         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10927         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10928         (eshell-do-pipelines-synchronously, eshell-eval-command):
10929         Use backquotes and prefer setq to set.
10930         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10931         (eshell-macrop): Use functionp.
10932         (eshell-do-eval): Handle multiple expressions in `while' body.
10934 2011-10-30  Chong Yidong  <cyd@gnu.org>
10936         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10937         instead of set-mark (Bug#9810).
10939 2011-10-30  Chong Yidong  <cyd@gnu.org>
10941         * window.el (split-window-below, split-window-right): Rename from
10942         split-window-above-each-other and split-window-side-by-side
10943         respectively.  All callers changed.
10944         (split-window-sensibly, split-window-sensibly): Use them.
10945         (split-window-keep-point): Doc fix.
10947         * isearch.el: Add isearch-scroll property to split-window-below
10948         and split-window-right.
10950         * follow.el (follow-mode):
10951         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10952         * progmodes/ada-xref.el (ada-gdb-application):
10953         * emulation/vip.el (vip-buffer-in-two-windows):
10954         * image-dired.el (image-dired-dired-with-window-configuration):
10955         * dired-x.el (dired-do-find-marked-files):
10956         * dired.el (dired-pop-to-buffer):
10957         * bs.el (bs--show-with-configuration):
10958         * vc/emerge.el (emerge-setup-windows):
10959         * textmodes/two-column.el (2C-two-columns):
10960         * textmodes/reftex-toc.el (reftex-toc):
10961         * progmodes/gdb-mi.el (gdb-setup-windows):
10962         * progmodes/fortran.el (fortran-window-create):
10963         * net/newst-treeview.el (newsticker--treeview-window-init):
10964         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10965         * emulation/tpu-edt.el (tpu-gold-map):
10966         * emulation/crisp.el (crisp-mode-map):
10967         * calendar/calendar.el (calendar-basic-setup): Callers changed.
10969 2011-10-29  Chong Yidong  <cyd@gnu.org>
10971         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10973         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10975         * textmodes/flyspell.el (flyspell-word): Fix char offset for
10976         forged Ispell output (Bug#7904).
10978         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10980 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10982         * doc-view.el: Avoid ugly errors about not finding nil.
10983         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10984         (doc-view-dvipdf-program, doc-view-unoconv-program)
10985         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10986         Avoid nil or absolute file name as default value.
10987         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10989 2011-10-28  Alan Mackenzie  <acm@muc.de>
10991         * progmodes/cc-defs.el (c-version): -> 5.32.2.
10993 2011-10-28  Alan Mackenzie  <acm@muc.de>
10995         Amend the handling of c-beginning/end-of-defun in nested declaration
10996         scopes.
10998         * progmodes/cc-vars.el (c-defun-tactic): Move here from
10999         cc-langs.el.  Change it to a defcustom.
11001         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11002         cc-vars.el.
11004         * progmodes/cc-engine.el (c-beginning-of-statement-1):
11005         Prevent "class foo : bar" being spuriously recognized as a label.
11007         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11008         Add parameter `inclusive' (to include enclosing braces in the region).
11009         (c-widen-to-enclosing-decl-scope): New function.
11010         (c-while-widening-to-decl-block): New macro.
11011         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11012         outward for defun boundaries, and correspondingly change symbol
11013         `respect-enclosure' to `go-outward'.
11014         (c-declaration-limits): Change algorithm to report only the "innermost"
11015         defun's boundaries.
11017 2011-10-28  Deniz Dogan  <deniz@dogan.se>
11019         * net/rcirc.el (rcirc-mode): Use hard newlines.
11021 2011-10-28  Alan Mackenzie  <acm@muc.de>
11023         Amend to indent and fontify macros "which include their own semicolon"
11024         correctly, using the "virtual semicolon" mechanism.
11026         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11028         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11029         Recode to scan one line at a time rather than having \n and \r
11030         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11031         (c-forward-label): Amend for virtual semicolons.
11032         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11034         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11035         of the new C macros.
11037         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11038         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11039         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11040         (c-opt-cpp-macro-define): Make into a full language variable.
11041         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11042         AWK Mode (including \n, \r) removed, no longer needed.
11044         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11045         Invoke c-make-macro-with-semi-re.
11047         * progmodes/cc-vars.el (c-macro-with-semi-re):
11048         (c-macro-names-with-semicolon): New variables.
11049         (c-make-macro-with-semi-re): New function.
11051 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11053         * vc/log-edit.el: Fill empty field rather than adding new one.
11054         (log-edit-add-field): New function.
11055         (log-edit-insert-changelog): Use it.
11057 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11059         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11061 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11063         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11064         (gdb--check-interpreter): New function.
11065         (gdb): Use it.
11067 2011-10-27  Glenn Morris  <rgm@gnu.org>
11069         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11070         (least-positive-float, least-negative-float)
11071         (least-positive-normalized-float, least-negative-normalized-float)
11072         (float-epsilon, float-negative-epsilon):
11073         Remove unnecessary declarations.
11075         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11076         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11077         (least-positive-float, least-negative-float)
11078         (least-positive-normalized-float, least-negative-normalized-float)
11079         (float-epsilon, float-negative-epsilon): Add doc-strings,
11080         based on those in cl.texi.
11082         * files.el (set-visited-file-name): If the major-mode changed,
11083         reload the local variables.  (Bug#9796)
11085 2011-10-27  Chong Yidong  <cyd@gnu.org>
11087         * subr.el (change-major-mode-after-body-hook): New hook.
11088         (run-mode-hooks): Run it.
11090         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11091         Use change-major-mode-before-body-hook.
11093         * simple.el (fundamental-mode):
11094         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11095         change introducing fundamental-mode-hook.
11097 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
11099         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11101 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
11103         * ido.el (ido-file-name-all-completions-1): Do not require
11104         tramp.el explicitly.  (Bug#7583)
11106 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11108         * progmodes/octave-mod.el:
11109         * progmodes/octave-inf.el: Update maintainer.
11111 2011-10-26  Chong Yidong  <cyd@gnu.org>
11113         * subr.el (with-wrapper-hook): Rewrite doc.
11115 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
11117         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11118         filenames "/method:foo:".  (Bug#9793)
11120 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11122         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11123         (bug#9865).
11125 2011-10-24  Glenn Morris  <rgm@gnu.org>
11127         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
11129 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
11131         * notifications.el: Add the requirement of a running D-Bus session
11132         bus to the Commentary.
11134 2011-10-24  Juri Linkov  <juri@jurta.org>
11136         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11137         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11138         (Bug#9364)
11140 2011-10-24  Juri Linkov  <juri@jurta.org>
11142         * info.el (Info-following-node-name-re): Add newline to the list
11143         of allowed characters for leading space.  (Bug#9824)
11145 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11147         * progmodes/octave-inf.el (inferior-octave-mode-map):
11148         Fix C-c C-h binding.
11149         * progmodes/octave-mod.el (octave-help): Remove.
11151 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
11153         Sync with Tramp 2.2.3.
11155         * net/tramp-cache.el (top): Pacify byte-compiler using
11156         `init-file-user' and `site-run-file'.
11158         * net/trampver.el: Update release number.
11160 2011-10-23  Chong Yidong  <cyd@gnu.org>
11162         * files.el (toggle-read-only): Remove obsolete comment about
11163         version control.
11165         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11166         for toggle-read-only.  Note that this hasn't called vc-next-action
11167         since 2008-05-02, though it wasn't documented at the time.
11169         * vc/ediff-init.el (ediff-toggle-read-only-function):
11170         Use toggle-read-only.
11172 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
11174         Fix bug #9560, sporadic wrong indentation; improve instrumentation
11175         of c-parse-state.
11177         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11178         correct faulty logical expression.
11179         (c-parse-state-state, c-record-parse-state-state):
11180         (c-replay-parse-state-state): New defvar/defuns.
11181         (c-debug-parse-state): Use new functions.
11183 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
11185         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11186         last fix.  Use window-in-direction correctly.
11188 2011-10-21  Chong Yidong  <cyd@gnu.org>
11190         * progmodes/idlwave.el (idlwave-mode):
11191         * progmodes/vera-mode.el (vera-mode): No need to set
11192         require-final-newline; that's done in prog-mode.
11193         Suggested by Stefan Monnier.
11195 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
11197         * mouse.el (mouse-drag-window-above)
11198         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11199         (mouse-drag-mode-line-1, mouse-drag-header-line)
11200         (mouse-drag-vertical-line-rightward-window): Remove.
11201         (mouse-drag-line): New function.
11202         (mouse-drag-mode-line, mouse-drag-header-line)
11203         (mouse-drag-vertical-line): Call mouse-drag-line.
11204         * window.el (window-at-side-p, windows-at-side): New functions.
11206 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
11208         * tar-mode.el (tar-grind-file-mode):
11209         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
11211 2011-10-21  Chong Yidong  <cyd@gnu.org>
11213         * progmodes/idlwave.el (idlwave-mode):
11214         * progmodes/vera-mode.el (vera-mode):
11215         Use mode-require-final-newline.
11217 2011-10-20  Glenn Morris  <rgm@gnu.org>
11219         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
11221 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
11223         * emulation/cua-base.el (cua-set-mark): Fix case of string.
11225 2011-10-20  Chong Yidong  <cyd@gnu.org>
11227         * emulation/cua-base.el (cua-mode):
11228         * mail/footnote.el (footnote-mode):
11229         * mail/mailabbrev.el (mail-abbrevs-mode):
11230         * net/xesam.el (xesam-minor-mode):
11231         * progmodes/bug-reference.el (bug-reference-mode):
11232         * progmodes/cap-words.el (capitalized-words-mode):
11233         * progmodes/compile.el (compilation-minor-mode)
11234         (compilation-shell-minor-mode):
11235         * progmodes/gud.el (gud-tooltip-mode):
11236         * progmodes/hideif.el (hide-ifdef-mode):
11237         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11238         * progmodes/subword.el (subword-mode):
11239         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11240         * progmodes/which-func.el (which-function-mode):
11241         * term/tvi970.el (tvi970-set-keypad-mode):
11242         * term/vt100.el (vt100-wide-mode):
11243         * textmodes/flyspell.el (flyspell-mode):
11244         * textmodes/ispell.el (ispell-minor-mode):
11245         * textmodes/nroff-mode.el (nroff-electric-mode):
11246         * textmodes/paragraphs.el (use-hard-newlines):
11247         * textmodes/refill.el (refill-mode):
11248         * textmodes/reftex.el (reftex-mode):
11249         * textmodes/rst.el (rst-minor-mode):
11250         * textmodes/sgml-mode.el (html-autoview-mode)
11251         (sgml-electric-tag-pair-mode):
11252         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11253         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11254         * emulation/crisp.el (crisp-mode):
11255         * emacs-lisp/eldoc.el (eldoc-mode):
11256         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11257         minor mode behavior.
11259 2011-10-19  Juri Linkov  <juri@jurta.org>
11261         * descr-text.el (describe-char): Add #x2010 and #x2011 to
11262         the list of hard-coded chars with escape-glyph face.
11264 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11266         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11268 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
11270         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11271         running process.
11273 2011-10-19  Glenn Morris  <rgm@gnu.org>
11275         * vc/vc-bzr.el (vc-bzr-after-dir-status):
11276         Ignore ignored files.  (Bug#9726)
11278 2011-10-19  Chong Yidong  <cyd@gnu.org>
11280         Doc fix for minor modes, stating that an omitted argument enables
11281         the mode unconditionally when called from Lisp.
11283         * abbrev.el (abbrev-mode):
11284         * allout.el (allout-mode):
11285         * autoinsert.el (auto-insert-mode):
11286         * autoarg.el (autoarg-mode, autoarg-kp-mode):
11287         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11288         (global-auto-revert-mode):
11289         * battery.el (display-battery-mode):
11290         * composite.el (global-auto-composition-mode)
11291         (auto-composition-mode):
11292         * delsel.el (delete-selection-mode):
11293         * desktop.el (desktop-save-mode):
11294         * dired-x.el (dired-omit-mode):
11295         * dirtrack.el (dirtrack-mode):
11296         * doc-view.el (doc-view-minor-mode):
11297         * double.el (double-mode):
11298         * electric.el (electric-indent-mode, electric-pair-mode):
11299         * emacs-lock.el (emacs-lock-mode):
11300         * epa-hook.el (auto-encryption-mode):
11301         * follow.el (follow-mode):
11302         * font-core.el (font-lock-mode):
11303         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11304         * help.el (temp-buffer-resize-mode):
11305         * hilit-chg.el (highlight-changes-mode)
11306         (highlight-changes-visible-mode):
11307         * hi-lock.el (hi-lock-mode):
11308         * hl-line.el (hl-line-mode, global-hl-line-mode):
11309         * icomplete.el (icomplete-mode):
11310         * ido.el (ido-everywhere):
11311         * image-file.el (auto-image-file-mode):
11312         * image-mode.el (image-minor-mode):
11313         * iswitchb.el (iswitchb-mode):
11314         * jka-cmpr-hook.el (auto-compression-mode):
11315         * linum.el (linum-mode):
11316         * longlines.el (longlines-mode):
11317         * master.el (master-mode):
11318         * mb-depth.el (minibuffer-depth-indicate-mode):
11319         * menu-bar.el (menu-bar-mode):
11320         * minibuf-eldef.el (minibuffer-electric-default-mode):
11321         * mouse-sel.el (mouse-sel-mode):
11322         * msb.el (msb-mode):
11323         * mwheel.el (mouse-wheel-mode):
11324         * outline.el (outline-minor-mode):
11325         * paren.el (show-paren-mode):
11326         * recentf.el (recentf-mode):
11327         * reveal.el (reveal-mode, global-reveal-mode):
11328         * rfn-eshadow.el (file-name-shadow-mode):
11329         * ruler-mode.el (ruler-mode):
11330         * savehist.el (savehist-mode):
11331         * scroll-all.el (scroll-all-mode):
11332         * scroll-bar.el (scroll-bar-mode):
11333         * server.el (server-mode):
11334         * shell.el (shell-dirtrack-mode):
11335         * simple.el (auto-fill-mode, transient-mark-mode)
11336         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11337         (line-number-mode, column-number-mode, size-indication-mode)
11338         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11339         * strokes.el (strokes-mode):
11340         * time.el (display-time-mode):
11341         * t-mouse.el (gpm-mouse-mode):
11342         * tool-bar.el (tool-bar-mode):
11343         * tooltip.el (tooltip-mode):
11344         * type-break.el (type-break-mode-line-message-mode)
11345         (type-break-query-mode):
11346         * view.el (view-mode):
11347         * whitespace.el (whitespace-mode, whitespace-newline-mode)
11348         (global-whitespace-mode, global-whitespace-newline-mode):
11349         * xt-mouse.el (xterm-mouse-mode): Doc fix.
11351         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11352         Fix autogenerated docstring.
11354 2011-10-19  Juri Linkov  <juri@jurta.org>
11356         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11357         by checking environment variables "DESKTOP_SESSION" and
11358         "XDG_CURRENT_DESKTOP".  (Bug#9779)
11360 2011-10-19  Juri Linkov  <juri@jurta.org>
11362         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11363         (browse-url-chromium-program, browse-url-chromium-arguments):
11364         New defcustoms.
11365         (browse-url-default-browser): Check for `browse-url-chromium' and
11366         call `browse-url-chromium-program'.
11367         (browse-url-chromium): New command.  (Bug#9779)
11369 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
11371         * facemenu.el (list-colors-duplicates): On Windows, detect more
11372         duplicates by assuming that only colors matching "^System" are
11373         special "system colors".  (Bug#9722)
11375 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11377         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11378         to distinguish the author from the committer.
11380 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
11382         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11384 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
11386         * international/mule.el (sgml-html-meta-auto-coding-function):
11387         Add support for detecting encoding in HTML5 specified only as
11388         <meta charset="UTF-8">.  Implementation just makes http-equiv and
11389         content-type parts from HTML4 encoding string optional.  (Bug#9716)
11391 2011-10-18  Glenn Morris  <rgm@gnu.org>
11393         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
11395 2011-10-18  Chong Yidong  <cyd@gnu.org>
11397         * faces.el (cursor): Doc fix.
11399 2011-10-17  Chong Yidong  <cyd@gnu.org>
11401         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11403 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
11405         * dirtrack.el (dirtrack): Support shell buffers with path
11406         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
11408 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
11410         * json.el: Bump version to 1.3 and note change in History.
11411         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11413 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11415         * comint.el (comint-insert-input, comint-send-input)
11416         (comint-get-old-input-default, comint-backward-matching-input)
11417         (comint-next-prompt): Use nil instead of `input' for field property of
11418         past user input (bug#114).
11420         * minibuffer.el (completion--replace): Inherit surrounding properties
11421         (bug#114).
11422         (minibuffer-complete-and-exit): Use it.
11424         * comint.el (comint--table-subvert): Quote the all-completions output
11425         (bug#9160).
11427 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
11429         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
11431         * menu-bar.el (menu-bar-file-menu): Add entry for making new
11432         window on right of selected.  (Bug#9350) Reword other window
11433         entries and separate them from frame entries.
11435 2011-10-15  Glenn Morris  <rgm@gnu.org>
11437         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11438         Doc fixes.
11440 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
11442         * net/network-stream.el (network-stream-open-starttls):
11443         Improve detection of failure due to lack of TLS support.
11445         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11446         putting the input text in front and in bold.
11448 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11450         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11452         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11453         empty buffer.
11455         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11456         unread-command-events rather than pushing yet-another event.
11458 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
11460         * mail/sendmail.el (sendmail-query-once): Improve the wording of
11461         the explanation of the possible choices.  Make the options passed
11462         to completing-read shorter.
11464 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11466         * textmodes/flyspell.el (flyspell-large-region): Make sure
11467         extended character mode is used if defined (Bug#1339).
11469 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
11471         * simple.el (what-cursor-position): Fix the display of the
11472         character info for LRE, LRO, RLE, and RLO characters by appending
11473         an invisible PDF.
11475 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11477         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11478         even in case of error; add debug spec; simplify data flow.
11479         (with-timeout-handler): Remove.
11481 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
11483         Fix Bug#6019, Bug#9315.
11485         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11486         complete `buffer-file-name', the local file name part could look
11487         remotely (for example on VMS).
11489         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11490         `tramp-run-real-handler'.
11491         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11492         already quoted by '"'.
11494         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11495         Let `file-name-handler-alist' be nil, the local file name part
11496         could look remotely (for example on VMS).
11498 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11500         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11501         from here...
11502         (flyspell-post-command-hook): ...to here.
11504 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11506         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11507         if not needed.
11508         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
11509         using completion.  Protect against "slow" callers.
11510         Remove the "message hack".
11512 2011-10-11  Juri Linkov  <juri@jurta.org>
11514         * isearch.el (isearch-lazy-highlight-word): New variable.
11515         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11516         Use it.  (Bug#9727)
11518 2011-10-11  Glenn Morris  <rgm@gnu.org>
11520         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11521         like f90-previous-statement does.
11523 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11525         * eshell/eshell.el (eshell-command): History should be saved
11526         only in interactive use, to avoid error.
11528 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11530         * minibuffer.el (completion-file-name-table): Fix last change,
11531         i.e. ignore normal errors but not the other ones.
11533 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
11535         * window.el (special-display-buffer-names)
11536         (special-display-regexps): Remove some remnants of earlier
11537         changes from doc-strings.
11538         (quit-windows-on): New function.
11540         * vc/vc.el (vc-revert, vc-rollback):
11541         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11542         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
11543         (Bug#6183) (Bug#7074) (Bug#7447)
11545 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
11547         * window.el (frame-auto-hide-function): Add version tag.
11548         (Bug#9699)
11550 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
11552         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11553         condition.
11555 2011-10-09  Leo Liu  <sdl.web@gmail.com>
11557         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11558         (Bug#9701)
11560 2011-10-08  Glenn Morris  <rgm@gnu.org>
11562         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11563         before the first code statement zero indent.  (Bug#9690)
11565 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
11567         * simple.el (count-words-region): Always count in the region.
11568         Report the number of lines and characters too.
11569         (count-words): New command, which counts in the buffer if the
11570         region is inactive, as count-words-region used to.
11571         (count-words--message): New function.  Handle plurals.
11572         (count-lines-region): Make it an alias for count-words-region.
11574         * bindings.el (esc-map): Replace count-lines-region with
11575         count-words-region.
11577 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
11579         * window.el (window--delete): Delete dedicated frame
11580         unconditionally when argument KILL is non-nil.  (Bug#9699)
11581         (switch-to-buffer): Fix doc-string typo.
11583 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11585         * eshell/eshell.el (eshell-command): Avoid using hooks.
11587 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
11589         * bindings.el ([M-left],[M-right]): Bind to left-word and
11590         right-word respectively.
11592 2011-10-07  Glenn Morris  <rgm@gnu.org>
11594         * cus-start.el (debug-on-quit): Fix custom type.
11596 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11598         * subr.el (define-key-after): Clarify that the function is not
11599         useful for non-menu keymaps.
11601         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11603 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11605         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
11606         in current minibuffer (Fix bug with recursive minibuffers).
11608 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
11610         * progmodes/gdb-mi.el (gdb): Doc fix.
11612 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
11614         * window.el (frame-auto-hide-function): New option replacing
11615         frame-auto-delete.  Suggested by Stefan Monnier.
11616         (window--delete): Call frame-auto-hide-function instead of
11617         investigating frame-auto-delete.
11618         (window-point-1, set-window-point-1): New functions.
11619         (window-in-direction, record-window-buffer, window-state-get-1)
11620         (display-buffer-record-window): Use window-point-1 instead of
11621         window-point.
11622         (set-window-buffer-start-and-point): Use set-window-point-1.
11624 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11626         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11628 2011-10-05  Glenn Morris  <rgm@gnu.org>
11630         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11631         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
11633 2011-10-05  Leo Liu  <sdl.web@gmail.com>
11635         * subr.el (read-char-choice): Fix argument to buffer-live-p which
11636         works with buffer object.
11638 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11640         * mpc.el (mpc-tool-bar-map): Add labels.
11642 2011-10-04  Glenn Morris  <rgm@gnu.org>
11644         * calendar/holidays.el (calendar-check-holidays): Doc fix.
11646 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
11648         * window.el (window--delete): New function.
11649         (frame-auto-delete): Resuscitate option.
11650         (bury-buffer, replace-buffer-in-windows)
11651         (quit-window): Rewrite using window--delete.
11652         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11653         Pass display-buffer-mark-dedicated to window--display-buffer-2
11654         (Bug#9639).
11656 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11658         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11659         returns a list (bug#9554).  Add remote file name completion.
11660         * comint.el (comint--table-subvert): Curry and get quote&unquote
11661         functions as arguments.
11662         (comint--complete-file-name-data): Adjust call accordingly.
11663         * pcomplete.el (pcomplete--table-subvert): Remove.
11664         (pcomplete-completions-at-point): Use comint--table-subvert instead.
11666         * minibuffer.el (completion-table-case-fold): Use currying.
11667         (completion--styles-type, completion--cycling-threshold-type):
11668         New constants.
11669         (completion-styles, completion-category-overrides)
11670         (completion-cycle-threshold): Use them.
11671         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11672         completion-table-case-fold.
11674 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
11676         * minibuffer.el (completion-category-overrides): Fix type of styles
11677         and add more user friendly tags (bug#9660).
11679 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11681         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11682         (mule-input-method-string): New widget.
11683         (default-input-method, language-info-custom-alist): Use it.
11685 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11687         * pcomplete.el: Require comint.
11688         (pcomplete--common-suffix): Remove.
11689         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11690         (pcomplete--table-subvert): Sync with comint--table-subvert.
11691         (pcomplete--entries): Use comint-completion-file-name-table.
11692         * comint.el (comint-unquote-filename): Simplify.
11693         (comint-completion-file-name-table): New function (bug#9616).
11694         (comint--complete-file-name-data): Use it.
11696         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11697         (pcmpl-gnu-tar-buffer): Remove.
11698         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
11699         around.  Make sure pcomplete-suffix-list is only changed temporarily.
11700         Don't look inside the tar's file if it's too large.
11702 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
11704         * cus-edit.el (custom-mode-map):
11705         * epa.el (epa-key-list-mode-map):
11706         * man.el (Man-mode-map):
11707         * startup.el (splash-screen-keymap):
11708         * simple.el (special-mode-map): Use scroll-up-command and
11709         scroll-down-command.
11711         * progmodes/idlw-help.el (idlwave-help-mode-map):
11712         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11713         * net/newst-plainview.el (newsticker-mode-map):
11714         * emulation/ws-mode.el (wordstar-mode-map):
11715         * emulation/vi.el (vi-com-map):
11716         * calc/calc-graph.el (calc-graph-show-dumb):
11717         * term/sun.el (terminal-init-sun):
11718         * term/ns-win.el (global-map):
11719         * progmodes/grep.el (grep-mode-map):
11720         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11721         * mail/rmail.el (rmail-mode-map):
11722         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11724         * custom.el (custom-safe-themes, load-theme): Treat value of t for
11725         custom-safe-themes as special.
11727 2011-10-01  Julien Danjou  <julien@danjou.info>
11729         * notifications.el (notifications-notify): Fix docstring.
11731 2011-10-01  Per Starbäck  <per@starback.se>
11733         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
11735 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
11737         * startup.el (command-line-1): Fix last fix by inserting
11738         initial-scratch-message into *scratch* before displaying it.
11739         (Bug#9605) and (Bug#9636)
11741 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
11743         * simple.el (line-move): If auto-hscroll-mode is disabled and the
11744         window is hscrolled, move by logical lines.  (Bug#9607)
11745         (line-move-visual): Update the doc string to the above effect.
11747 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
11749         * window.el (display-buffer-record-window): When WINDOW is the
11750         selected window use `point' instead of `window-point'.  (Bug#9626)
11752         * startup.el (command-line-1): Use insert-before-markers when
11753         inserting initial-scratch-message.  (Bug#9605)
11755         * help.el (help-window): Remove variable.
11757 2011-09-29  Glenn Morris  <rgm@gnu.org>
11759         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11761 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
11763         * descr-text.el (describe-char-categories): Accept category
11764         descriptions more than one line long.
11766 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11768         * simple.el (delete-trailing-whitespace): Fix last change.
11770         * progmodes/perl-mode.el (perl-syntax-propertize-function):
11771         Don't confuse "y => 3" as the beginning of a `y' operation.
11773         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11774         object has more than 4 slots (bug#9613).
11776 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
11778         * subr.el (with-output-to-temp-buffer):
11779         * net/quickurl.el (quickurl, quickurl-browse-url):
11780         Fix typos in docstrings.
11782 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
11784         * minibuffer.el (completion-styles)
11785         (completion-category-overrides): Cross reference each other in doc
11786         strings.
11788 2011-09-27  Glenn Morris  <rgm@gnu.org>
11790         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11791         to split-string.  (Bug#9606)
11793 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11795         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11796         (bug#9615).
11798 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
11800         * emacs-lisp/package.el (list-packages): Fix echo area message.
11802 2011-09-27  Leo Liu  <sdl.web@gmail.com>
11804         * ido.el (ido-read-internal): Accept cons cell HIST arg.
11806 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
11808         * net/dbus.el (dbus-unregister-object): Don't release services for
11809         registered signals.  (Bug#9581)
11811 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
11813         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11814         function that picks between cfengine 2 and 3 support
11815         automatically.  Update docs accordingly.
11817 2011-09-22  Kenichi Handa  <handa@m17n.org>
11819         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11820         ZERO.
11821         (indian-itrans-v5-table-for-tamil): New variable.
11822         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11824 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
11826         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11827         that's true if the current command involved collapsing of text.
11828         It's reset to false at the beginning of the next command.
11829         (allout-post-command-business): Move the cursor to the beginning
11830         of entry if the cursor is hidden and collapsing activity just
11831         happened.
11833 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
11835         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11836         tracking (Bug#9541).
11838 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
11840         * net/newst-reader.el (newsticker-html-renderer)
11841         (newsticker-show-news): Automatically load html rendering package
11842         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
11843         because w3m-fill-column is let-bound" and the error "Symbol's value
11844         as variable is void: w3m-fill-column".
11846 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
11848         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11849         Release services only if they are defined.  (Bug#9581)
11851 2011-09-23  Richard Stallman  <rms@gnu.org>
11853         * textmodes/paragraphs.el (forward-sentence): For backwards case,
11854         distinguish start of paragraph from start of its text.
11856         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11858         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11859         (rmail-generate-viewer-buffer): Put that hook on view buffer.
11860         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11862 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
11864         * international/mule-diag.el (mule-diag): Insert a newline after
11865         each fontset description.
11867 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11869         * simple.el (delete-trailing-whitespace):
11870         Document last change; simplify.
11872 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
11874         * simple.el (delete-trailing-whitespace): Also delete
11875         extra newlines at the end of the buffer.
11877         * textmodes/picture.el: Make motion commands obey shift-select-mode.
11878         (picture-newline): Use forward-line so as to ignore fields.
11880 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11882         * subr.el (with-wrapper-hook): Fix edebug spec.
11884 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11886         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11887         (bug#4538).
11889 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
11891         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11892         Fix nasty bug using wrong cached values.
11894 2011-09-23  Alan Mackenzie  <acm@muc.de>
11896         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11898 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
11900         * window.el (pop-to-buffer): Ensure right window is selected if we
11901         chose another frame.
11903 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
11905         * simple.el (what-cursor-position): Use get-char-property-change
11906         and next-single-char-property-change, to be able to show display
11907         properties that come from overlays as well as text properties.
11909 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
11911         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11913         * cmuscheme.el (run-scheme, switch-to-scheme):
11914         * cus-edit.el (customize-group, custom-buffer-create)
11915         (customize-browse):
11916         * info.el (info):
11917         * shell.el (shell):
11918         * mail/sendmail.el (mail):
11919         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11921 2011-09-22  Richard Stallman  <rms@gnu.org>
11923         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11924         move back only to line beg, don't move back over blank lines.
11926 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
11928         * files.el (copy-directory): Set directory attributes only in case
11929         they could be retrieved from the source directory.  (Bug#9565)
11931 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
11933         * progmodes/hideshow.el (hs-looking-at-block-start-p)
11934         (hs-find-block-beginning, hs-hide-level-recursive):
11935         Ignore strings as well as comments.  (Bug#9502)
11937 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
11939         * progmodes/sql.el (sql-comint-postgres):
11940         Convert port number to a string.  (Bug#9566)
11942 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
11944         * window.el (quit-window): Undedicate window when switching to
11945         previous buffer.  Reported by Thierry Volpiatto
11946         <thierry.volpiatto@gmail.com>.
11947         (special-display-popup-frame): When popping up a new frame reset
11948         its previous buffers to nil.  Simplify code.
11950 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
11952         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11953         and process filter, as done also in `shell-command'.
11955 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
11957         * window.el (set-window-buffer-start-and-point):
11958         Call set-window-start with NOFORCE argument t.
11959         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11960         (quit-window): Reword doc-string.  Handle new format of
11961         quit-restore parameter.  Don't delete window if it has a
11962         previous buffer we can show instead of the present one.
11963         (display-buffer-record-window): Rewrite using a new format for
11964         the quit-restore window parameter
11965         (special-display-popup-frame, display-buffer-same-window)
11966         (display-buffer-reuse-window, display-buffer-pop-up-frame)
11967         (display-buffer-pop-up-window, display-buffer-use-some-window):
11968         Adapt symbol passed to display-buffer-record-window.
11969         * help.el (help-window-setup): Handle new format of quit-restore
11970         parameter.
11972 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11974         * faces.el (face-list): Fix docstring (bug#9564).
11976         * window.el (display-buffer--action-function-custom-type):
11977         Don't include internal functions in the Custom interface.
11979 2011-09-20  Juri Linkov  <juri@jurta.org>
11981         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11982         (Info-forward-node, Info-backward-node, Info-next-preorder)
11983         (Info-last-preorder): Use it.  (Bug#9528)
11985 2011-09-20  Juri Linkov  <juri@jurta.org>
11987         * info.el (Info-last-preorder): Visit last menu item only when
11988         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11990 2011-09-20  Julien Danjou  <julien@danjou.info>
11992         * password-cache.el (password-cache-remove): Remove entries even if the
11993         value is nil, so that password with a nil value (negative caching) is
11994         possible to invalidate.
11996 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
11998         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11999         all whitespace around breakpoint.  (Bug#9553)
12000         (f90-find-breakpoint): Only break at whitespace inside a comment.
12002 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12004         * minibuffer.el (completion-file-name-table): Keep track of errors.
12005         (completion-table-with-predicate): Handle the case where pred1 is nil.
12006         * pcomplete.el (pcomplete-completions-at-point): Simplify.
12008 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12010         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12011         (debugger-return-value): Signal an error if the debugging context does
12012         not await any return value.
12014         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12015         * image-mode.el (image-toggle-display-text)
12016         (image-toggle-display-image): Stay away from evil `intangible'.
12018 2011-09-19  Leo Liu  <sdl.web@gmail.com>
12020         * replace.el (occur-revert-arguments): Make it permanent-local.
12021         (occur-mode): Don't call font-lock-defontify.
12023 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
12025         * net/ldap.el (ldap-search-internal): Don't push empty search
12026         result (Bug#9508).
12028 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12030         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12032 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
12034         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12035         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12037 2011-09-18  Juri Linkov  <juri@jurta.org>
12039         * buff-menu.el (Buffer-menu-mode-map):
12040         * dired.el (dired-mode-map):
12041         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12042         (lisp-interaction-mode-map):
12043         * emacs-lisp/package.el (package-menu-mode-map):
12044         * epa.el (epa-key-list-mode-map):
12045         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12046         (menu-bar-options-menu):
12047         * outline.el (outline-mode-menu-bar-map):
12048         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12049         * vc/vc-dir.el (vc-dir-menu-map):
12050         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12051         Capitalize non-function content words in menu item strings.
12053         * dired.el (dired-mode-map): Add menu item for
12054         `image-dired-dired-toggle-marked-thumbs'.
12056 2011-09-18  Juri Linkov  <juri@jurta.org>
12058         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12059         to `isearch-case-fold-search' and restore its original value
12060         after the `isearch-mode' call.
12062 2011-09-18  Juri Linkov  <juri@jurta.org>
12064         * progmodes/grep.el (grep-process-setup): Don't check code for 1
12065         because `zgrep' returns 1 for successful matches (bug#9226).
12067 2011-09-18  Juri Linkov  <juri@jurta.org>
12069         * info.el (Info-extract-menu-node-name): Check the second match
12070         for empty string (second test-case of bug#9528).
12071         (Info-last-preorder): Let-bind `Info-history' to nil to not add
12072         intermediate nodes to the history (first test-case of bug#9528).
12074 2011-09-18  Juri Linkov  <juri@jurta.org>
12076         * info.el (Info-mode-syntax-table): New variable.
12077         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12079 2011-09-18  Juri Linkov  <juri@jurta.org>
12081         * info.el (Info-file-supports-index-cookies):
12082         Increment line-beginning-position's arg from 3 to 4 because makeinfo
12083         outputs one more line for long file names (bug#4142).
12085 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
12087         * newcomment.el (comment-normalize-vars): If prompting for
12088         comment-start, set comment-start-skip too (Bug#8424).
12090 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
12092         * icomplete.el: Fix previous fix of Bug#5849.
12093         (icomplete-mode): Don't set completion-show-inline-help.
12094         (icomplete-minibuffer-setup): Set completion-show-inline-help
12095         locally during icompletion.
12097 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
12099         * woman.el (woman2-process-escapes): Don't delete unrecognized
12100         escapes (Bug#7843).
12102         * files.el (inhibit-first-line-modes-regexps): Add image files.
12103         (hack-local-variables-prop-line): Return nil for malformed
12104         prop-lines (Bug#9044).
12106 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
12108         * net/tramp.el (top): Don't require 'shell.
12109         (tramp-methods): Fix docstring.
12110         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12111         Return complete remote file name.  Handle "smb" case.
12112         Use `tramp-tmpdir', if defined for the respective method.
12113         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12115         * net/tramp-compat.el (top): Require 'shell.
12117         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12118         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12119         `tramp-current-host'.
12120         (tramp-get-remote-tmpdir): Remove.
12122         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12123         `tramp-tmpdir' entries.
12124         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12125         (tramp-smb-handle-file-attributes): Ignore errors.
12126         (tramp-smb-wait-for-output): Check also for process end.
12128 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12130         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12131         when sending QUIT (bug#9312).
12133 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
12135         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12136         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12137         occur-mode-display-occurrence.
12138         (occur-edit-mode): Add usage message.
12139         (occur-cease-edit): New command.
12140         (occur-after-change-function): Use text properties to find the
12141         position of the prefix text.
12142         (occur-engine): Set stickiness of prefix text properties.
12144 2011-09-17  Glenn Morris  <rgm@gnu.org>
12146         * progmodes/etags.el (complete-tag):
12147         Fix call to completion-in-region.  (Bug#9526)
12149 2011-09-17  Juri Linkov  <juri@jurta.org>
12151         * textmodes/ispell.el (ispell-word): Add to the error message
12152         the word, ispell program name and current dictionary (bug#9121).
12153         (ispell-tex-arg-end): Capitalize "error" in the error message.
12155 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
12157         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12158         check.  (Bug#4251)
12160 2011-09-17  Juri Linkov  <juri@jurta.org>
12162         * window.el (window-safe-min-height, window-safe-min-width):
12163         Fix typos (followup to bug#9522).
12165 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
12167         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12169 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
12171         * simple.el (line-move): If goal-column is set, move by logical
12172         lines, not by display lines.  (Bug#971)
12173         (next-line, previous-line, goal-column, line-move-visual): Doc fix
12174         to reflect the above change.
12176 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12178         * image.el (imagemagick-register-types): Use regexp-opt.
12180 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
12182         * window.el (display-buffer-base-action): Rename from
12183         display-buffer-default-action.  Make default value empty.
12184         (display-buffer-overriding-action): Convert to defvar.
12185         (display-buffer-fallback-action): New var.
12187 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
12189         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12190         declaration.
12191         (package--add-to-archive-contents): If there is a duplicate entry
12192         with an older version, remove it.
12193         (package-menu-mark-delete, package-menu-mark-install)
12194         (package-menu-mark-unmark): Make unused args optional.
12195         (package-menu-mark-obsolete-for-deletion):
12196         Use package-menu-get-status instead of a regexp search.
12197         (package-menu-get-status): Use tabulated-list-entry.
12198         (package-menu-mark-upgrades): New command.
12199         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
12200         (package-menu-execute): Do installation before deletion.
12201         (package-menu-refresh, package-menu-execute): Use derived-mode-p
12202         instead of checking major-mode.
12203         (package-menu--find-upgrades): New function.
12205 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12207         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12208         passwords in the log buffer.
12209         (smtpmail-process-filter): Update the process marker so that the
12210         "broken by peer" status message is inserted in the right place.
12212 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12214         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12215         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12216         bibtex-completion-at-point-function.
12217         (bibtex-completion-at-point-function): Use them.
12219         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12221         * mpc.el (mpc-constraints-tag-lookup): New function.
12222         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12223         also to browser "album|playlist".
12225 2011-09-14  Juri Linkov  <juri@jurta.org>
12227         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
12228         (isearch-edit-string): Use length of `isearch-string' when
12229         `isearch-fail-pos' returns nil.
12230         (isearch-message): Remove duplicate code and call
12231         `isearch-fail-pos' with arg `t'.
12233 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
12235         * replace.el (occur-mode-goto-occurrence): Don't force using other
12236         window (Bug#9499).
12238         * dired-aux.el (dired-do-chmod): Don't provide initial input.
12240 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
12242         * window.el (display-buffer-window): Remove.
12243         (display-buffer-record-window): Use help-setup window parameter
12244         instead of variable display-buffer-window.
12245         (display-buffer-function, special-display-buffer-names)
12246         (special-display-function): Mention help-setup parameter instead
12247         of display-buffer-window in doc-string.
12248         * help.el (help-window-setup): New argument help-window.
12249         Use help-window-setup parameter instead of display-buffer-window.
12250         Reword some messages.
12251         (with-help-window): Pass window used for displaying the buffer
12252         to help-window-setup.  Don't set display-buffer-window.
12254 2011-09-13  Glenn Morris  <rgm@gnu.org>
12256         * emacs-lisp/debug.el (debugger-make-xrefs):
12257         Preserve point.  (Bug#9462)
12259 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
12261         * window.el (window-deletable-p): Use next-frame.
12263 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
12265         * window.el (window-auto-delete): Remove.
12266         (window-deletable-p): Remove argument FORCE.  Don't deal with
12267         dedication and previous buffers.
12268         (switch-to-prev-buffer): Don't delete window.
12269         (delete-windows-on): Delete a window's frame if and only if the
12270         window is dedicated.
12271         (replace-buffer-in-windows): Delete buffer's window or frame if
12272         and only if window is dedicated.
12273         (quit-window): Handle quit-restore as before last change.
12274         (bury-buffer): Delete window only if window-deletable-p returns t.
12276 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
12278         * window.el (window-deletable-p): Never delete the last frame on a
12279         given terminal.
12281 2011-09-13  Glenn Morris  <rgm@gnu.org>
12283         * help.el (describe-key-briefly): Copy previous standard-output change.
12285 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
12287         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
12289 2011-09-13  Glenn Morris  <rgm@gnu.org>
12291         * emacs-lisp/lisp-mode.el (lisp-indent-function):
12292         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12294 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
12296         * dired-aux.el (dired-mark-read-string): Don't return default
12297         value on empty input (Bug#9361).
12298         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12299         Omit initial minibuffer contents.
12300         (dired-do-chmod): Signal an error on empty input.
12301         (dired-mark-read-string): Don't return default on empty input.
12303         * files.el (file-modes-symbolic-to-number): Doc fix.
12305 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12307         * international/mule-cmds.el (ucs-completions): Remove.
12308         (read-char-by-name): Use complete-with-action instead; add metadata.
12310 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
12312         * window.el (display-buffer--action-function-custom-type)
12313         (display-buffer--action-custom-type): New vars.
12314         (display-buffer-alist, display-buffer-default-action)
12315         (display-buffer-overriding-action): Add defcustom types.
12317         * frame.el (delete-other-frames): Doc fix (Bug#276).
12319 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12321         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12323 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
12325         Change modes that used same-window-* vars to use switch-to-buffer.
12327         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12328         Use switch-to-buffer.
12330         * cus-edit.el (customize-group, custom-buffer-create)
12331         (customize-browse, custom-buffer-create-other-window):
12332         Use switch-to-buffer or switch-to-buffer-other-window.
12334         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12335         (Info-prev, Info-up, Info-speedbar-goto-node)
12336         (info-display-manual): Use switch-to-buffer.
12337         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12339         * mail/sendmail.el (mail): Use switch-to-buffer.
12340         (mail-recover): Use switch-to-buffer-other-window.
12342         * cmuscheme.el (run-scheme, switch-to-scheme):
12343         * ielm.el (ielm):
12344         * shell.el (shell):
12345         * net/rlogin.el (rlogin):
12346         * net/telnet.el (telnet, rsh):
12347         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12349 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
12351         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12353 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12355         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12356         so don't mention it (bug#9301).
12357         (dired-sort-toggle-or-edit): Clarify string further.
12359         * faces.el (face-spec-set-match-display): Make `(type graphic)'
12360         match `x', `w32' and `ns', like the manual says (bug#9029).
12362         * subr.el (eval-after-load): Doc string clarification (bug#9125).
12363         (process-kill-buffer-query-function): Mention the buffer name in
12364         the query.
12366         * image-mode.el (image-next-line): The line parameter is mandatory
12367         (bug#9258).
12369         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12370         which can be useful (bug#9301).
12372         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12374         * subr.el (match-string): Mention that the current buffer should
12375         be the same as the search was done in (bug#9282).
12377         * facemenu.el: Disable the remove-* commands if the mark isn't
12378         active (bug#9162).
12380 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
12382         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12383         of display-buffer.
12384         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12386         * replace.el (occur-mode-goto-occurrence)
12387         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12388         and display-buffer.
12390         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12391         display-buffer.
12393         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12394         special-display and same-window variables.
12395         (mail-other-window): Use switch-to-buffer-other-window.
12396         (mail-other-frame): USe switch-to-buffer-other-frame.
12398         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12399         Use display-buffer-other-frame.
12400         (gdb-display-gdb-buffer): Use pop-to-buffer.
12402         * progmodes/gud.el (gud-goto-info): Use info-other-window.
12404         * progmodes/python.el: Don't set same-window-buffer-names.
12406         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12408         * window.el (display-buffer-alist): Add *Python*.
12410 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
12412         * window.el (display-buffer-alist): Add entry for buffers
12413         previously handled same-window-*.
12414         (display-buffer-alist, display-buffer-default-action)
12415         (display-buffer-overriding-action): Mark as risky.
12416         (display-buffer-alist): Document action function changes.
12417         (display-buffer--same-window-action)
12418         (display-buffer--other-frame-action): New variables.
12419         (switch-to-buffer, display-buffer-other-frame): Use them.
12420         (display-buffer): Rename reuse-frame entry to reusable-frames.
12421         (display-buffer-reuse-selected-window): Function deleted.
12422         (display-buffer-reuse-window): Handle reusable-frames alist entry.
12423         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12424         (display-buffer-special): New function.
12425         (display-buffer--maybe-pop-up-frame-or-window): Rename from
12426         display-buffer-reuse-or-pop-window.  Split off special-display
12427         part into display-buffer-special.
12428         (display-buffer-use-some-window): Don't perform any special
12429         pop-up-frames handling.
12430         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
12431         (display-buffer--maybe-same-window): Rename from
12432         display-buffer-maybe-same-window.
12434         * info.el: Don't set same-window-regexps.
12435         (info-setup): New function.
12436         (info-other-window, info): Call it.
12438         * cus-edit.el: Don't set same-window-regexps.
12439         (customize-group): New argument.
12440         (customize-group-other-window): Use it.
12441         (customize-face, customize-face-other-window): Likewise.
12442         (custom-buffer-create-other-window): Use pop-to-buffer directly.
12444         * net/rlogin.el:
12445         * net/telnet.el:
12446         * progmodes/gud.el: Don't set same-window-regexps.
12448         * cmuscheme.el:
12449         * ielm.el:
12450         * shell.el:
12451         * mail/sendmail.el:
12452         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12454 2011-09-10  Juri Linkov  <juri@jurta.org>
12456         * isearch.el (isearch-edit-string): Remove obsolete mention of
12457         `C-w' (`isearch-yank-word-or-char') from docstring.
12458         (isearch-query-replace): Fix typo in docstring (bug#9466).
12460 2011-09-10  Juri Linkov  <juri@jurta.org>
12462         * paren.el (show-paren-function): Don't show escaped parens.
12463         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
12465 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
12467         * mail/sendmail.el (mml-to-mime, mml-attach-file)
12468         (mm-default-file-encoding): Remove autoload forms, they are
12469         replaced with autoload cookies in mml.el and mm-encode.el.
12470         (mail-add-attachment): New command.
12471         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12472         (mail-mode): Mention mail-insert-file and mail-add-attachment in
12473         the doc string.
12474         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12476 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
12478         * simple.el (count-words-region): Use buffer if there's no region
12479         (bug#9429).
12481 2011-09-09  Juri Linkov  <juri@jurta.org>
12483         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12484         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12485         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
12487 2011-09-09  Alan Mackenzie  <acm@muc.de>
12489         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12490         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
12492 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
12494         Fix for Savannah bug#9392.
12495         * simple.el (mail-encode-mml): New defvar.
12497         * mail/rmail.el (mail-encode-mml): Add a defvar.
12498         (rmail-enable-mime-composing): Default to t.
12499         (rmail-forward): Use MIME method of forwarding only if both
12500         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12501         Set mail-encode-mml non-nil if the MIME method was used.
12503         * mail/sendmail.el (mml-to-mime): Add autoload form.
12504         (mail-encode-mml): Add a defvar.
12505         (mail-mode): Make mail-encode-mml buffer-local and initialize it
12506         to nil.
12507         (mail-send): If mail-encode-mml is non-nil, run the outgoing
12508         message through mml-to-mime, and reset mail-encode-mml to nil.
12510 2011-09-09  Glenn Morris  <rgm@gnu.org>
12512         * woman.el (woman-if-body): When processing an .el block,
12513         do not delete the next .el block as well.  (Bug#9447)
12514         (woman-special-characters): Add oq, cq, and hy characters.
12516 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
12518         * window.el (window-deletable-p): Make sure window is live before
12519         invoking window-prev-buffers.
12521 2011-09-08  Leo Liu  <sdl.web@gmail.com>
12523         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
12525 2011-09-08  Juri Linkov  <juri@jurta.org>
12527         * progmodes/compile.el (compilation-environment): Make it
12528         a defcustom (bug#8340).
12530 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
12532         * window.el (frame-auto-delete): Rename to window-auto-delete.
12533         Make it control auto-deletion of windows and/or frames.
12534         (window-deletable-p): New argument FORCE.  Rewrite conditions
12535         for deleting window/frame.  (Bug#9419)
12536         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12537         Rewrite handling of case when window/frame can be deleted.
12538         (delete-windows-on): Call window-deletable-p with new FORCE
12539         argument t.  (Bug#9456)
12541 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
12543         * help-mode.el (help-mode): Restore autoload.
12545 2011-09-07  Juri Linkov  <juri@jurta.org>
12547         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12548         `compilation-environment'.  Set buffer-local
12549         `compilation-environment' to `thisenv' later after (funcall mode).
12550         (Bug#8340)
12552         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
12553         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12554         instead of replacing its value.  (Bug#8340)
12556 2011-09-07  Juri Linkov  <juri@jurta.org>
12558         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12559         based on text properties put by `grep-filter' instead of matching
12560         escape sequences.
12561         (grep-mode): Set buffer-local `compilation-error-screen-columns'
12562         to the value of `grep-error-screen-columns' (bug#9438).
12564 2011-09-07  Juri Linkov  <juri@jurta.org>
12566         * simple.el (next-error-highlight, next-error-highlight-no-select):
12567         Doc fix (bug#9432).
12569 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
12571         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12572         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
12574 2011-09-07  Leo Liu  <sdl.web@gmail.com>
12576         * net/rcirc.el (rcirc-mode): Conditionally initialize
12577         rcirc-input-ring.
12579 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12581         * emacs-lisp/find-func.el (find-function-C-source): Only set
12582         find-function-C-source-directory after checking that we found a source
12583         file there (bug#9440).
12585 2011-09-06  Alan Mackenzie  <acm@muc.de>
12587         * isearch.el (isearch-other-meta-char): Wherever a key list is
12588         unread, "unread" the prefix arg, too.  This fixes bug #8901.
12590 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
12592         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12594 2011-09-05  Juri Linkov  <juri@jurta.org>
12596         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12598 2011-09-05  Juri Linkov  <juri@jurta.org>
12600         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12601         keeping point where processing of grep matches begins, and
12602         continue to delete remaining escape sequences from the same point.
12603         (grep-filter): Make leading zero optional in "0?1;31m" because
12604         git-grep emits "\033[1;31m" escape sequences unlike expected
12605         "\033[01;31m" as GNU Grep does (bug#9408).
12606         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12608 2011-09-05  Juri Linkov  <juri@jurta.org>
12610         * subr.el (y-or-n-p): Capitalize "yes".
12612 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
12614         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
12615         `tramp-cache-unload-hook' where appropriate.
12616         (tramp-methods): Rename `tramp-remote-sh' to
12617         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
12618         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12620         * net/tramp-sh.el (top): Don't require 'shell.
12621         (tramp-methods): Add `tramp-remote-shell' and
12622         `tramp-remote-shell-args' entries.
12623         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12624         (tramp-sh-handle-shell-command): Remove.
12625         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12626         Use `tramp-remote-shell'.
12628 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
12630         * mail/sendmail.el (sendmail-query-once-function): Delete.
12631         (sendmail-query-once): Save directly to send-mail-function.
12632         Update message-send-mail-function too.
12634         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12636 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
12638         * progmodes/python.el (python-mode-map): Use correct function to
12639         start python interpreter from menu-bar (as reported by Geert
12640         Kloosterman).
12641         (inferior-python-mode-map): Fix typo.
12642         (python-shell-map): Remove.
12644 2011-09-03  Deniz Dogan  <deniz@dogan.se>
12646         * net/rcirc.el (rcirc-print): Simplify code for
12647         rcirc-scroll-show-maximum-output.  There is no need to walk
12648         through all windows to find the right one.
12650 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
12652         * help.el (help-return-method): Doc fix.
12654 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
12656         * window.el (window-deletable-p): Don't return a non-nil value
12657         when there's a buffer that was shown in the window before.
12658         (Bug#9419)
12659         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12660         Set window's previous buffers to nil.
12662 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
12664         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12665         newline before and after the tag line, so it doesn't interfere
12666         with determining the paragraph direction of bidirectional text.
12668 2011-09-03  Leo Liu  <sdl.web@gmail.com>
12670         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
12672 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
12674         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
12675         (pop-to-buffer): Change interactive spec.  Pass second argument
12676         directly to display-buffer.
12677         (display-buffer): Fix interactive spec.  Use functionp to
12678         distinguish between a function and a list of functions.
12680         * abbrev.el (edit-abbrevs):
12681         * arc-mode.el (archive-extract):
12682         * autoinsert.el (auto-insert):
12683         * bookmark.el (bookmark-bmenu-list):
12684         * files.el (find-file):
12685         * view.el (view-buffer):
12686         * progmodes/compile.el (compilation-goto-locus):
12687         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12689 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
12691         * window.el (display-buffer-alist): Doc fix.
12692         (display-buffer): Add docstring.  Don't treat
12693         display-buffer-default specially.
12694         (display-buffer-reuse-selected-window)
12695         (display-buffer-same-window, display-buffer-maybe-same-window)
12696         (display-buffer-reuse-window, display-buffer-pop-up-frame)
12697         (display-buffer-pop-up-window)
12698         (display-buffer-reuse-or-pop-window)
12699         (display-buffer-use-some-window): New functions.
12700         (display-buffer-default-action): Use them.
12701         (display-buffer-default): Delete.
12702         (pop-to-buffer-1): Fix choice of actions.
12704 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12706         * minibuffer.el (completion--insert-strings): Don't get confused by
12707         completion entries that end with an LF char.
12709 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
12711         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12713 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
12715         * window.el (display-buffer): Restore interactive spec.
12716         (display-buffer-same-window, display-buffer-other-window):
12717         New functions.
12718         (pop-to-buffer-1): New function.  Use the above.
12719         (pop-to-buffer, pop-to-buffer-same-window): Use it.
12720         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
12722         * view.el (view-buffer-other-window, view-buffer-other-frame):
12723         Just use pop-to-buffer.
12725 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12727         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
12729 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
12731         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
12733 2011-08-31  Richard Stallman  <rms@gnu.org>
12735         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12736         of the separation of rmail-view-buffer from rmail-buffer.
12737         If you say no to "replace original", the decrypt is in the
12738         view buffer.  If you say yes, the decrypt goes into the
12739         rmail buffer also.
12741 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
12743         * window.el (display-buffer-window): Rewrite doc-string.
12744         (display-buffer-record-window): New function.
12745         (display-buffer-macro-specifiers)
12746         (display-buffer-even-window-sizes, display-buffer-set-height)
12747         (display-buffer-set-width, display-buffer-in-window)
12748         (display-buffer-reuse-window, display-buffer-split-specifiers)
12749         (display-buffer-side-specifiers, display-buffer-split-window-1)
12750         (display-buffer-split-window, display-buffer-split-atom-window)
12751         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12752         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12753         (display-buffer-other-window-means-other-frame)
12754         (display-buffer-normalize-special)
12755         (display-buffer-normalize-default)
12756         (display-buffer-normalize-argument)
12757         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12758         (display-buffer-normalize-specifiers, display-buffer-frame)
12759         (display-buffer-same-window, display-buffer-same-frame)
12760         (display-buffer-other-window)
12761         (display-buffer-same-frame-other-window)
12762         (display-buffer-other-frame, pop-to-buffer-same-window)
12763         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12764         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12765         (switch-to-buffer-same-frame)
12766         (switch-to-buffer-other-window-same-frame)
12767         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12768         (display-buffer-alist-set-1, display-buffer-alist-set-2)
12769         (display-buffer-alist-set): Remove.
12770         (display-buffer-function, special-display-buffer-names)
12771         (special-display-regexps, special-display-function):
12772         In doc-string refer to display-buffer-window and quit-restore
12773         parameter.
12774         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12775         (special-display-frame-alist, special-display-popup-frame)
12776         (same-window-buffer-names, same-window-regexps, same-window-p)
12777         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12778         (split-window-preferred-function, split-height-threshold)
12779         (split-width-threshold, window-splittable-p)
12780         (split-window-sensibly, window--try-to-split-window)
12781         (window--frame-usable-p, even-window-heights)
12782         (window--even-window-heights, window--display-buffer-1)
12783         (window--display-buffer-2, display-buffer-other-frame):
12784         Restore old Emacs 23 code, order and doc-strings where applicable.
12785         (display-buffer-default, display-buffer-assq-regexp): New functions.
12786         (display-buffer-alist): Rewrite doc-string.
12787         (display-buffer-default-action)
12788         (display-buffer-overriding-action): New variables.
12789         (display-buffer, switch-to-buffer): Rewrite.
12790         (pop-to-buffer): Restore Emacs 23 behavior but use
12791         window-normalize-buffer-to-display.
12792         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12793         Restore Emacs 23 behavior but use
12794         window-normalize-buffer-to-switch-to.
12795         (pop-to-buffer-same-window): Rewrite.
12796         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12797         Rewrite using Emacs 23 options.
12799 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
12801         * net/tramp.el (tramp-root-regexp): Remove.
12802         (tramp-completion-file-name-regexp-unified)
12803         (tramp-completion-file-name-regexp-separate)
12804         (tramp-completion-file-name-regexp-url): Don't use leading volume
12805         letter on w32 systems.  (Bug#5303, Bug#9311)
12806         (tramp-drop-volume-letter): Simplify definition.
12807         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12809 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12811         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12812         (bug#9356).
12814 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
12816         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
12818 2011-08-29  Juri Linkov  <juri@jurta.org>
12820         * isearch.el (isearch-done): Don't display message "Mark saved"
12821         when arg `edit' is non-nil to prevent its flicker in the echo area.
12823 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
12825         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12826         obsolete packages for deletion.
12828 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
12830         * help-mode.el (help-mode-map): Add special-mode-map to parent.
12831         (help-mode): Derive help-mode from special-mode.  Don't invoke
12832         view-mode from help-mode.
12833         (help-xref-override-view-map): Remove.
12834         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12835         view-mode is not used anymore.
12837 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
12839         * server.el (server-port): Doc fix.
12841         * cus-theme.el (custom-theme-choose-mode): Inherit from
12842         special-mode (Bug#9124).
12843         (custom-theme-choose-mode-map): Add special-mode to parent.
12845 2011-08-28  Alan Mackenzie  <acm@muc.de>
12847         * progmodes/cc-fonts.el
12848         (c-make-font-lock-BO-decl-search-function): New function.
12849         (c-basic-matchers-after - "Fontify the clauses after various
12850         keywords"): Extract the three keyword lists for the 3 erroneous
12851         constructs from the list of four, and use the new function above
12852         in place of an old one.
12854 2011-08-28  Deniz Dogan  <deniz@dogan.se>
12856         * net/rcirc.el (rcirc-insert-prev-input)
12857         (rcirc-insert-next-input): Remove unused argument.
12859 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12861         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12863 2011-08-27  Alan Mackenzie  <acm@muc.de>
12865         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12866         handle function pointer parameters properly.
12868 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
12870         * window.el (display-buffer-reuse-window): Fix case where
12871         selected window was reused with non-nil OTHER-WINDOW argument.
12872         (Bug#9381)
12874 2011-08-27  Deniz Dogan  <deniz@dogan.se>
12876         * net/rcirc.el (rcirc-check-auth-status): Adding support for
12877         oftc's NickServ messages.
12879 2011-08-27  Glenn Morris  <rgm@gnu.org>
12881         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
12883 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
12885         * emacs-lisp/package.el (package-install): Call package-initialize
12886         if called interactively.
12888 2011-08-26  Leo Liu  <sdl.web@gmail.com>
12890         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
12892 2011-08-25  Juri Linkov  <juri@jurta.org>
12894         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12895         `search-whitespace-regexp' (bug#9364).
12897 2011-08-25  Juri Linkov  <juri@jurta.org>
12899         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12900         `regexp-search-ring' to their global values to protect from
12901         updating by `read-from-minibuffer' (bug#9185).
12903 2011-08-25  Juri Linkov  <juri@jurta.org>
12905         * textmodes/ispell.el (ispell-command-loop): Add newline
12906         at the end of the "Use option `i'..." line.
12908 2011-08-25  Juri Linkov  <juri@jurta.org>
12910         * battery.el (display-battery-mode): If `battery-status-function'
12911         or `battery-mode-line-format' is nil, display the message and set
12912         `display-battery-mode' to nil (bug#9363).
12914 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
12916         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12917         bidi-string-mark-left-to-right; they are unnecessary now.
12919 2011-08-25  Deniz Dogan  <deniz@dogan.se>
12921         * net/quickurl.el: Documentation typo fixes.
12923 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
12925         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12927 2011-08-25  Glenn Morris  <rgm@gnu.org>
12929         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12931         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12932         (smtpmail-via-smtp): Handle nil response from smtp.
12934 2011-08-24  Juri Linkov  <juri@jurta.org>
12936         * proced.el (proced-marked): Inherit from `error' instead of
12937         `font-lock-warning-face'.
12939         * ibuffer.el (ibuffer-marked-face): Change default face from
12940         `font-lock-warning-face' to `warning'.
12941         (ibuffer-deletion-face): Change default face from
12942         `font-lock-type-face' to `error'.
12944         * battery.el (battery-update): Use the face `error' instead of
12945         `font-lock-warning-face' (bug#6117).
12947 2011-08-24  Juri Linkov  <juri@jurta.org>
12949         * faces.el (success): Change face color from "Green3" to
12950         "ForestGreen" on light background (bug#9353).
12952 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
12954         * window.el (quit-window): Rename from quit-restore-window.
12955         Use same arglist as old quit-window.
12956         (frame-auto-delete): Doc fix.
12958         * view.el (view-mode-exit): Use quit-window.
12960 2011-08-24  Juri Linkov  <juri@jurta.org>
12962         * isearch.el (isearch-ring-adjust1): Start visiting previous
12963         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12964         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12965         for empty search string (when the last search string is reused
12966         automatically) to adjust the isearch ring to the last element and
12967         prepare the correct index for further M-p commands (bug#9185).
12969 2011-08-24  Kenichi Handa  <handa@m17n.org>
12971         * international/ucs-normalize.el: If decomposition property of
12972         CHAR is the default one (i.e. a list of CHAR itself), treat it as
12973         nil.
12974         (nfd, nfkd): Likewise.
12976 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12978         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12979         from process filters aren't reliably transmitted to the surrounding
12980         accept-process-output.
12981         (mpc-proc-check): New function.
12982         (mpc-proc-sync): Use it (bug#8293)
12984 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12986         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12987         Add compatibility functions (bug#9313).
12989 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
12991         * cus-start.el (all): Add entry for bidi-paragraph-direction.
12993         * international/uni-bidi.el: Regenerate.
12995 2011-08-23  Kenichi Handa  <handa@m17n.org>
12997         * international/charprop.el:
12998         * international/uni-bidi.el:
12999         * international/uni-category.el:
13000         * international/uni-combining.el:
13001         * international/uni-comment.el:
13002         * international/uni-decimal.el:
13003         * international/uni-decomposition.el:
13004         * international/uni-digit.el:
13005         * international/uni-lowercase.el:
13006         * international/uni-mirrored.el:
13007         * international/uni-name.el:
13008         * international/uni-numeric.el:
13009         * international/uni-old-name.el:
13010         * international/uni-titlecase.el:
13011         * international/uni-uppercase.el: Regenerate.
13013 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
13015         * help.el (help-window-setup): Fix message displayed when other
13016         window is reused.  (Bug#9341)
13018 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13020         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13021         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13023         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13024         Mark obsolete.
13025         * shell.el (shell-parse-pcomplete-arguments): New function.
13026         (shell-completion-vars): Use it instead (bug#9160).
13028 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13030         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13031         strings and comments (bug#9333).
13033         * emacs-lisp/debug.el (debug-arglist): New function.
13034         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
13035         (debug-on-entry-1): Handle interpreted closures (bug#9120).
13037 2011-08-22  Juri Linkov  <juri@jurta.org>
13039         * progmodes/compile.el (compilation-mode-font-lock-keywords):
13040         Revert regexp that highlights output switches to its old
13041         pre-2010-10-28 value and remove one `?' from it (bug#9319).
13043         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13044         to check for empty output (bug#9226).
13046 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
13048         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13049         symbol-constituent as the default, as that stops font-lock from
13050         working properly (Bug#8843).
13052 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13054         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13055         `coding-system-for-*' around the process open call to avoid
13056         auth-source side effects.
13057         (smtpmail-try-auth-methods): Expand the secret password.
13058         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13059         probe hangs.
13061 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
13063         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13065         * emacs-lisp/find-func.el (find-function-noselect): New arg
13066         lisp-only.
13068         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13069         signal an error for built-in functions (Bug#6664).
13071 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13073         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13074         (smtpmail-try-auth-methods): Use it.
13076 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
13078         * font-lock.el (font-lock-fontify-region)
13079         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13080         (font-lock-default-unfontify-buffer)
13081         (font-lock-default-fontify-region)
13082         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13084         * progmodes/compile.el (compilation-error-properties):
13085         Fix confusion between file struct and message struct (Bug#9319).
13086         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13087         `ant' regexp.
13089         * net/browse-url.el (browse-url-firefox): Don't call
13090         browse-url-firefox-sentinel unless using -remote (Bug#9328).
13092 2011-08-20  Glenn Morris  <rgm@gnu.org>
13094         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13096         * tutorial.el (tutorial--default-keys): Update some default bindings.
13098         * files.el (hack-local-variables): Fully ignore case for "mode:".
13100 2011-08-20  Alan Mackenzie  <acm@muc.de>
13102         Resolve invalid use of a regexp in regexp-opt.
13104         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13105         detection for a java annotation.
13107         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13108         detection for a java annotation.
13110         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13111         handling for java.
13112         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13114 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
13116         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13117         (Bug#9274).
13119 2011-08-20  Alan Mackenzie  <acm@muc.de>
13121         Fontify CPP expressions correctly when starting in the middle of
13122         such a construct.  Mainly for when jit-lock etc. starts a chunk
13123         here.
13125         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13126         variable.
13127         (c-make-font-lock-search-form): New function, extracted from
13128         c-make-font-lock-search-function.
13129         (c-make-font-lock-search-function): Use the above function.
13130         (c-make-font-lock-context-search-function): New function.
13131         (c-cpp-matchers): Enhance the preprocessor expression case with
13132         the above function
13133         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13134         which takes an expression.
13136         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13138 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
13140         * window.el (display-buffer-reuse-window)
13141         (display-buffer-pop-up-window): Don't reuse or split a side
13142         window.
13144 2011-08-19  Glenn Morris  <rgm@gnu.org>
13146         * files.el (hack-local-variables-prop-line, hack-local-variables):
13147         Downcase "Mode:".  (Bug#9331)
13149 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
13151         * international/characters.el: Add L and R categories.
13153         * subr.el (bidi-string-mark-left-to-right): Rename from
13154         string-mark-left-to-right.  Use category search.
13156         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13158 2011-08-18  Juri Linkov  <juri@jurta.org>
13160         * faces.el (error, warning, success): New faces with definitions
13161         copied from old default values of `font-lock-warning-face',
13162         `compilation-warning', `compilation-info' (bug#6117).
13164         * font-lock.el (font-lock-warning-face): Inherit from `error'.
13166         * progmodes/compile.el (compilation-error): Inherit from `error'.
13167         (compilation-warning): Inherit from `warning'.
13168         (compilation-info): Inherit from `success'.
13170         * dired.el (dired-marked): Inherit from `warning'.
13171         (dired-flagged): Inherit from `error'.
13173 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13175         * mail/smtpmail.el (auth-source): Require to avoid problems with
13176         binding variables (bug#9298).  Also clean up some unused
13177         autoloads.
13179         * net/network-stream.el (network-stream-open-starttls):
13180         Support using starttls.el without using gnutls-cli.
13182 2011-08-17  Juri Linkov  <juri@jurta.org>
13184         * progmodes/grep.el (rgrep): Handle the case when
13185         `grep-find-command' is a cons cell (bug#9278).
13187 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
13189         * window.el (display-buffer-pop-up-frame): Run frame creation
13190         function with BUFFER current (as special-display-popup-frame
13191         does).  Reported by Drew Adams.
13193 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
13195         * epa-mail.el: Simplify GnuPG group expansion using
13196         epg-expand-group.
13197         (epa-mail-group-alist, epa-mail-group-modtime)
13198         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13199         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13200         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13201         Remove.
13203 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
13205         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13207 2011-08-16  Alan Mackenzie  <acm@muc.de>
13209         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13210         Correct, to avoid the inside of macros.
13212 2011-08-16  Richard Stallman  <rms@gnu.org>
13214         * epa-mail.el: Handle GnuPG group definitions.
13215         (epa-mail-group-alist, epa-mail-group-modtime)
13216         (epa-mail-gnupg-conf-file): New variables.
13217         (epa-mail-parse-groups, epa-mail-sync-groups)
13218         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13219         (epa-mail-expand-recipients): New functions.
13220         (epa-mail-encrypt): Call epa-mail-expand-recipients.
13222         * mail/rmail.el (rmail-epa-decrypt): New command.
13224         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13225         Don't bind buffer-read-only, just inhibit-read-only.
13226         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13227         (epa-decrypt-armor-in-region): Make error message clearer.
13229 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13231         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13232         and "a2b" to "ab" for `prefix'.
13234 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
13236         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13237         filter groups.
13238         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
13239         Fourquet (Bug#8804).
13241 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
13243         * startup.el (argi): Declare as global variable (bug#9275).
13245 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
13247         * subr.el (string-mark-left-to-right): Search the entire string
13248         for RTL script, not just the terminating character.  Doc fix.
13250 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13252         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13253         New function.
13254         (js--regexp-literal, js-syntax-propertize-function): Remove.
13255         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13256         (js-mode-map): Don't rebind electric keys.
13257         (js-insert-and-indent): Remove.
13258         (js-mode): Setup electric-layout and electric-indent instead.
13260         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13262 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
13264         * epa.el (epa-progress-callback-function): Fix the logic of
13265         displaying progress.
13266         * epa-file.el (epa-file-insert-file-contents): Make progress
13267         display more user-friendly.
13268         (epa-file-write-region): Ditto.
13270 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
13272         * subr.el (string-mark-left-to-right): New function.
13274         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13275         Use string-mark-left-to-right.
13276         (list-buffers-noselect): Caller changed.
13278         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13279         Use string-mark-left-to-right.
13280         (tabulated-list-print): Recenter after moving point.
13282 2011-08-10  Juri Linkov  <juri@jurta.org>
13284         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13285         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13286         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13288 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
13290         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13291         (Bug#7554).
13293 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13295         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13296         character.  (Bug#6594)
13298 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
13300         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13301         (image-dired--with-db-file): New macro.
13302         (image-dired-write-tags, image-dired-remove-tag)
13303         (image-dired-create-gallery-lists, image-dired-write-comments)
13304         (image-dired-get-comment, image-dired-mark-tagged-files)
13305         (image-dired-list-tags, image-dired-gallery-generate): Use it.
13306         (image-dired-gallery-generate): Use insert-file-contents.
13308         * time.el (display-time-world-list, display-time-world-display):
13309         * time-stamp.el (time-stamp-string):
13310         * vc/add-log.el (add-change-log-entry): Use setenv instead of
13311         set-time-zone-rule (Bug#7337).
13313 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
13315         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13316         (epg-error-to-string, epg-errors-to-string): New function.
13317         (epg-wait-for-completion): Reverse errors list.
13318         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13319         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13320         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13321         (epg-sign-keys, epg-generate-key-from-file)
13322         (epg-generate-key-from-string): Format errors by using
13323         epg-errors-to-string (bug#9255).
13324         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13326 2011-08-07  Juri Linkov  <juri@jurta.org>
13328         * faces.el (list-faces-display): Remove extra angle bracket
13329         from `help-mode-map'.
13331         * info.el (Info-history-toc-nodes): Doc fix.
13333         * longlines.el (longlines-mode): Doc fix.
13335 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13337         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13338         of statements and in a few more cases (bug#9183).
13340         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13341         New functions.
13342         (cl-transform-lambda): Use them (bug#9239).
13344 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
13346         * window.el (display-buffer-same-window)
13347         (display-buffer-same-frame, display-buffer-other-window)
13348         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13349         (pop-to-buffer-other-window)
13350         (pop-to-buffer-same-frame-other-window)
13351         (pop-to-buffer-other-frame): Make them defuns.
13352         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13354 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13356         * subr.el (make-composed-keymap): Move from C.  Change calling
13357         convention, and improve docstring to bring attention to a subtle point.
13358         * minibuffer.el (completing-read-default): Adjust accordingly.
13360 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
13362         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13363         (tramp-open-shell): Use `tramp-shell-quote-argument'.
13365         * net/trampver.el: Update release number.
13367 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13369         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13370         "in" (bug#9190).
13372 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13374         * mail/sendmail.el (sendmail-query-once): Restore the current
13375         buffer after querying (bug#9074).
13377         * dired.el (dired-flagged): Use different faces for marked and
13378         flagged files (bug#6117).
13380         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13381         (bug#4433).
13383         * ido.el (ido-mode): Switch off the message if called
13384         non-interactively.
13386         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13387         before 587, since it appears that that's more likely to work for
13388         more people.
13390         * cus-edit.el (custom-file): When running under emacs -q, always
13391         refuse to save the customizations, even if the .emacs file doesn't
13392         exist.
13394         * info.el: Remove the `Info-beginning-of-buffer' function
13395         (bug#8325).
13397         * net/network-stream.el (network-stream-open-starttls):
13398         Use `starttls-available-p' to see whether starttls.el can be used.
13400 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
13402         * window.el (display-buffer-in-window): Don't set dedicated status
13403         of window here (Bug#9215).
13404         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13405         (display-buffer-pop-up-side-window)
13406         (display-buffer-in-side-window): Set dedicated status of window here.
13408 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13410         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13411         before binding generated-autoload-file.
13413 2011-08-01  Deniz Dogan  <deniz@dogan.se>
13415         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13417 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
13419         Sync with Tramp 2.2.2.
13421         * net/trampver.el: Update release number.
13423 2011-07-30  Juri Linkov  <juri@jurta.org>
13425         * dired-aux.el (dired-touch-initial): Remove function.
13426         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13427         current time, and `default' to the last modification time of the
13428         current marked file (bug#6887).
13430 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
13432         * simple.el (goto-line): Use string-to-number to provide a
13433         numeric argument to read-number (bug#9163).
13435 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
13437         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13438         connection process, it could be nil.
13440 2011-07-27  Leo Liu  <sdl.web@gmail.com>
13442         Simplify url handling in rcirc-mode.
13444         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13445         (rcirc-browse-url-at-mouse): Remove.
13446         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13448 2011-07-26  Alan Mackenzie  <acm@muc.de>
13450         Fontify bitfield declarations properly.
13452         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13453         (c-symbol-chars): Now exported as a lang variable.
13454         (c-not-primitive-type-keywords): New lang variable.
13456         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13457         QT keyword "more" to prevent "more slots: ...." being spuriously
13458         parsed as a bitfield declaration.
13460         * progmodes/cc-engine.el (c-beginning-of-statement-1):
13461         Refactor and enhance to handle bitfield declarations.
13462         (c-punctuation-in): New function.
13463         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13464         declarations properly.
13466 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
13468         * calendar/icalendar.el (icalendar--all-events): Take care of
13469         multiple vcalendars in a single file.
13470         (icalendar--convert-float-to-ical): Checkdoc fixes.
13472 2011-07-25  Deniz Dogan  <deniz@dogan.se>
13474         * image.el (insert-image): Clarifying docstring.
13476 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
13478         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13479         `tramp-send-command-and-check' if there is no error.
13480         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13482 2011-07-22  Alan Mackenzie  <acm@muc.de>
13484         Prevent cc-langs.elc being loaded at run time.
13486         * progmodes/cc-mode.el: Remove two autoload forms which loaded
13487         cc-langs.
13489         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
13490         "(require 'cc-langs)".  Quote a form so it will evaluate at
13491         (cc-mode's) compilation time.
13493 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
13495         * net/tramp.el (tramp-file-name-handler): Avoid recursive
13496         loading.  (Bug#9114)
13498 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
13500         * window.el (display-buffer-pop-up-window)
13501         (display-buffer-pop-up-side-window)
13502         (display-buffer-in-side-window): Call display-buffer-set-height
13503         and display-buffer-set-width after setting the new window's
13504         buffer so `fit-window-to-buffer' and friends work on the right buffer.
13506 2011-07-20  Sam Steingold  <sds@gnu.org>
13508         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13509         (etags-tags-included-tables): Call `convert-standard-filename' on
13510         the file names contained in TAGS so that windows Emacs can handle
13511         TAGS files created by cygwin ctags.
13513 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13515         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13516         which apparently didn't work.
13518 2011-07-19  Roland Winkler  <winkler@gnu.org>
13520         * proced.el (proced-send-signal): For *Marked Processes* buffer
13521         put point at beginning of buffer.
13523 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
13525         * proced.el (proced-format): Make header lines align with the text
13526         (bug#1779).
13528 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13530         * view.el (view-buffer): Allow running in `special' modes if we're
13531         visiting a file (bug#8615).
13533 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
13535         * window.el (display-buffer-alist-of-strings-p)
13536         (display-buffer-alist-set-1, display-buffer-alist-set-2):
13537         New functions.
13538         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13539         more accurately.
13541 2011-07-18  Alan Mackenzie  <acm@muc.de>
13543         Fontify declarators properly when, e.g., a jit-lock chunk begins
13544         inside a declaration.
13546         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13548         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13549         New function.
13550         (c-complex-decl-matchers): Insert reference to
13551         c-font-lock-enclosing-decls.
13553         * progmodes/cc-engine.el (c-backward-single-comment):
13554         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13555         to nil around calls to (forward-comment -1).
13557 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13559         * image.el (put-image): Doc typo fix.
13561         * progmodes/etags.el (tags-search): Doc typo fix.
13563         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13564         password if we get errors 550 to 554.
13566 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13568         * net/gnutls.el (gnutls-log-level): Remove.
13570         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13571         indentation character (bug#6380).
13573         * files.el (buffer-offer-save): Made permanently local (bug#6241).
13575         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13576         to clarify what the problem is (bug#4291).
13578         * simple.el (current-kill): Clarify what
13579         `interprogram-paste-function' does (bug#7500).
13580         (auto-fill-mode): Document `auto-fill-function' in relation to
13581         `auto-fill-mode' (bug#2470).
13583 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
13585         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13586         method if slot is read-only (bug#9035).
13588 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
13590         * frame.el (select-frame-set-input-focus): New argument NORECORD.
13591         * window.el (pop-to-buffer): Select window used even if it was
13592         selected before, see discussion of (Bug#8615), (Bug#6954).
13593         Pass argument NORECORD on to select-frame-set-input-focus.
13595 2011-07-15  Glenn Morris  <rgm@gnu.org>
13597         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
13598         Respect help-form.
13600 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
13602         * net/gnutls.el (gnutls-min-prime-bits): New variable.
13603         (gnutls-negotiate): Use it.
13605 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13607         * net/gnutls.el (gnutls-negotiate):
13608         Upcase `gnutls-algorithm-priority'.
13610 2011-07-15  Glenn Morris  <rgm@gnu.org>
13612         * jka-compr.el (jka-compr-verbose): Move from here...
13613         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
13614         Add missing :version tag.
13615         * info.el: No need to require jka-compr when compiling.
13617 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13619         * net/gnutls.el (gnutls-algorithm-priority): New variable.
13620         (gnutls-negotiate): Use it.
13622         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13624         * info.el (Info-beginning-of-buffer): New command.
13625         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13626         announcing `b' as the key (bug#8325).
13627         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
13629         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13631         * international/mule-cmds.el
13632         (describe-specified-language-support): Make the error message
13633         clearer (bug#8905).
13635         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13637         * isearch.el (isearch-barrier): Add a doc string, since it's
13638         mentioned in a function doc string (bug#8678).
13640 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
13642         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13643         buffer argument (Bug#9083) and self-identifying label argument.
13645 2011-07-15  Glenn Morris  <rgm@gnu.org>
13647         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
13649 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13651         * man.el (Man-fontify-manpage): Fix message when formatting the
13652         man page (bug#7929).
13654 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
13656         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13657         argument LRM; if non-nil, append an invisible LRM character to the
13658         buffer name.
13659         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13660         last argument non-nil, when formatting buffer names.
13661         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13662         paragraph direction.
13664 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13666         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13667         the man page name (bug#7929).
13669         * image.el (put-image): Mention the `put-image' overlay property
13670         (bug#7834).
13672         * scroll-bar.el (set-scroll-bar-mode): Mention that
13673         `scroll-bar-mode' lists the values (bug#7772).
13675         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13676         command (bug#7729).
13678         * rect.el (apply-on-rectangle): Return the point after the last
13679         operation.
13680         (string-rectangle): Go to the point after the last operation
13681         (bug#7522).
13683         * printing.el (pr-toggle-region): Clarify the documentation
13684         slightly (bug#7493).
13686         * time.el (display-time-update):
13687         Allow `display-time-mail-function' to return nil (bug#7158).
13688         Fix suggested by Detlev Zundel.
13690         * vc/diff.el (diff): Clarify the order the file names are read
13691         (bug#7111).
13693         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13694         the doc string (bug#7015).
13696         * font-lock.el (font-lock-maximum-decoration): Mention what
13697         numeric levels mean (bug#6935).
13699         * startup.el (initial-buffer-choice): Don't mention the `none'
13700         selection, which is against policy.
13702 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
13704         * window.el (display-buffer-normalize-special):
13705         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
13707 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
13709         * subr.el (version<, version<=, version=): Mention "-CVS" and
13710         "-12345" alpha version numbers.
13712 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
13714         * bindings.el: Add advertised binding for set-mark-command
13715         (Bug#5772).
13717 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
13719         * bindings.el (mode-line-other-buffer):
13720         * bookmark.el (bookmark-bmenu-2-window):
13721         * bs.el (bs-cycle-next, bs-cycle-previous):
13722         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13723         switch-to-buffer.
13725         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13726         Delete.
13728 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
13730         * follow.el (follow-debug-message, follow-redisplay):
13731         * jka-cmpr-hook.el (with-auto-compression-mode):
13732         Fix typos in docstrings.
13734 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13736         * subr.el (with-silent-modifications): Clarify somewhat what the
13737         macro inhibits (bug#6525).
13739         * simple.el (eval-expression): Note what it does if called
13740         interactively (bug#6495).
13742 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
13744         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13745         Use pop-to-buffer buffer-or-name if it is nil.
13747         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13748         Remove switch-to-buffer.
13750 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13752         * files.el (make-directory): Clarify that an error will be raised
13753         if there's an error (bug#6397).
13755         * startup.el (initial-buffer-choice): Add `none' as a choice
13756         (bug#6234).
13758         * subr.el (add-hook): Clarify section about buffer-local hooks
13759         (bug#6218).
13761         * dired.el (dired-flagged): Clarify doc string (bug#6117).
13763 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
13765         * tabify.el (untabify): Preserve the current column so that point
13766         doesn't move (bug#6032).
13768 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13770         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13771         Rewrite to avoid awkward possessive "s" (bug#5986).
13773 2011-07-13  Glenn Morris  <rgm@gnu.org>
13775         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
13776         (dired-insert-directory): Give a message the first time
13777         if ls is found not to support --dired.
13779 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13781         * simple.el (toggle-truncate-lines): Clarify what is toggled
13782         (bug#5580).  Text by Drew Adams.
13784 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
13786         * simple.el (blink-matching-open): Make the error message from the
13787         last change less verbose.
13789 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
13791         * font-lock.el (font-lock-comment-face): Use the high contrast
13792         "yellow" color for font-lock-comment-face on low color terminals
13793         using a dark background color (bug#4221).
13795 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13797         * dired.el (dired-insert-set-properties): Make the doc string
13798         reflect what it does now (bug#5325).
13800         * simple.el (blink-matching-open): Say that we were unable to find
13801         the match within the limit, if we're limited (bug#5122).
13803         * international/mule-cmds.el (prefer-coding-system): Add an
13804         example (bug#4869).
13806         * progmodes/etags.el (tags-search): Document `file-list-form'
13807         (bug#4731).
13809 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
13811         * net/browse-url.el (browse-url-default-browser)
13812         (browse-url-browser-function): Make the default browser choice a
13813         bit more logical (bug#4300).  Also clean up the doc string.
13815 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
13817         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13818         binary endings (bug#4440).
13820 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13822         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13823         which can be pretty annoying (bug#8971).
13825         * jka-compr.el (jka-compr-verbose): New variable, and use
13826         throughout (bug#8971).
13828         * info.el (Info-find-file): Fall back on the installation
13829         directory if we can't find the info node anywhere else.
13831 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
13833         * vc/vc.el (vc-revert-file):
13834         Don't set file time-stamp in the past.  (Bug#5181)
13836 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13838         * files.el (after-find-file): Give a better error message when
13839         trying to find a symlink that points to a file that doesn't exist
13840         (bug#4398).
13842         * progmodes/cc-vars.el: Remove (probably) misleading comment
13843         (bug#4396).
13845 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
13847         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13849 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
13851         * mouse-sel.el: Hack restoring functionality, while keeping
13852         compatibility with 2010-07-03 changes to mouse selection.
13853         (mouse-sel-primary-overlay): New var.
13854         (mouse-sel-selection-alist): Use it.
13855         (mouse-sel-mode): Doc fix; remove points that are default features
13856         of mouse.el.
13858 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
13860         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13861         Fix previous fix (bug#2490).
13863 2011-07-12  Roland Winkler  <winkler@gnu.org>
13865         * textmodes/bibtex.el (bibtex-initialize):
13866         Use pop-to-buffer-same-window.
13867         (bibtex-search-entries): Fix interactive call.
13869 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13871         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13872         Fontise bytecomp Error lines more correctly (bug#2490).
13873         Fix suggested by Johan Bockgård.
13875         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13877         * dired-x.el (dired-guess-default): Use `delete-dups'.
13879 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
13881         * dired.el (dired-mark-prompt):
13882         * dired-aux.el (dired-read-shell-command): Doc fix.
13884 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13886         * mail/sendmail.el (sendmail-query-once):
13887         Use `customize-save-variable' unconditionally, now that it works under
13888         emacs -Q.
13890         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13892         * cus-edit.el (custom-file): Take an optional no-error variable.
13893         (customize-save-variable): Set the variable, and give a warning if
13894         running under "emacs -q".
13896 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
13898         * loadhist.el (unload-feature-special-hooks):
13899         Add `auto-coding-functions', `fill-nobreak-predicate' and
13900         `find-directory-functions' (bug#5327).
13902 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13904         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13906         * cus-edit.el (custom-guess-name-alist): -alist variables should
13907         use the `alist' type (bug#3120).  Suggested by Drew Adams.
13909         * printing.el: Add documentation to all the `pr-toggle-' commands.
13911 2011-07-11  Leo Liu  <sdl.web@gmail.com>
13913         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13914         backends where it makes sense (bug#2623).
13916 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13918         * dired-x.el (dired-guess-default): Remove duplicate shell command
13919         entries (bug#2028).
13920         (dired-guess-default): Fix grammar in doc string (bug#2028).
13921         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
13923         * subr.el (remove-duplicates): New conveniency function.
13925 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13927         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13928         (bug#1526).
13930 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
13932         * window.el (display-buffer-normalize-default): Don't invert
13933         meaning of even-window-heights.  Reported by Eli Zaretskii
13934         <eliz@gnu.org>.
13936 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
13938         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13940 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
13942         * window.el (display-buffer): Fix arguments to
13943         display-buffer-reuse-window in last change.
13945         * faces.el (link): Use a less saturated blue on light backgrounds.
13947         * startup.el (fancy-startup-text, fancy-about-text)
13948         (fancy-startup-tail): Use font-lock faces, for background safety.
13950 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
13952         * emulation/viper-cmd.el (viper-change-state-to-vi):
13953         Limit triggering of abbrev expansion (Bug#9038).
13955 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
13957         * window.el (display-buffer-default-specifiers): Remove.
13958         (display-buffer-macro-specifiers): Remove default specifiers.
13959         (display-buffer-alist): Default to nil.
13960         (display-buffer-reuse-window): New optional argument other-window.
13961         (display-buffer-pop-up-window): Allow splitting internal
13962         windows.  Check whether a live window was created.
13963         (display-buffer-other-window-means-other-frame)
13964         (display-buffer-normalize-arguments): Rename to
13965         display-buffer-normalize-argument and rewrite.  Set the
13966         other-window specifier.
13967         (display-buffer-normalize-special): New function.
13968         (display-buffer-normalize-options): Rename to
13969         display-buffer-normalize-default and rewrite.
13970         (display-buffer-normalize-options-inhibit): Remove.
13971         (display-buffer-normalize-specifiers): Rewrite.
13972         (display-buffer): Process other-window specifier and call
13973         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
13974         more faithfully.
13975         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
13976         (display-buffer-alist-set): Don't handle 'unset default values.
13977         (display-buffer-in-window, display-buffer-alist-set):
13978         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
13979         <tassilo@member.fsf.org>.
13981 2011-07-09  Leo Liu  <sdl.web@gmail.com>
13983         * register.el (insert-register): Restore accidental change on
13984         2011-06-26.  (Bug#9028)
13986 2011-07-09  Glenn Morris  <rgm@gnu.org>
13988         * subr.el (remq): Handle the empty list.  (Bug#9024)
13990 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
13992         * mail/sendmail.el (send-mail-function): No longer delay custom
13993         initialization.
13994         * custom.el (custom-initialize-delay): Doc fix.
13996 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13998         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14000 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
14002         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14003         human-friendly prompt.
14005 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14007         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14008         provided by a particular plugin.
14010 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14012         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14013         save customizations (with "emacs -Q"), just set the variable
14014         instead of erroring out.
14016         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14018 2011-07-08  Juri Linkov  <juri@jurta.org>
14020         * arc-mode.el (archive-zip-expunge, archive-zip-update)
14021         (archive-zip-update-case): Use 7z if found by `executable-find'.
14022         The order of searching the available programs is the same as in
14023         `archive-zip-extract' (bug#8968).
14025 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14027         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14028         (menu-bar-options-menu): Tweak descriptions.
14030 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14032         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14033         menu items into verb phrases (bug#1421).  Also refill to fit under
14034         80 columns.
14036 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14038         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14039         (Info-read-node-name): Doc fix (Bug#1084).
14041         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14042         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14043         (end-of-sexp, beginning-of-sexp)
14044         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14045         (forward-symbol, forward-same-syntax, word-at-point)
14046         (sentence-at-point): Doc fix (Bug#1144).
14048 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14050         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14051         should cover it (bug#1281).
14053         * cus-edit.el (custom-show): Mark as obsolete.
14055         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14056         negotiation fails, then possibly try again with a non-encrypted
14057         connection (bug#9017).
14059         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14060         be used.
14062 2011-07-07  Richard Stallman  <rms@gnu.org>
14064         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14065         property, and handle its changed format.
14066         Look for the correct line number.
14067         Use file's line contents (but not past first =) to find
14068         correct line in message.
14070 2011-07-07  Kenichi Handa  <handa@m17n.org>
14072         * international/characters.el (build-unicode-category-table):
14073         Delete it.
14074         (unicode-category-table): Set it by unicode-property-table-internal.
14076         * international/mule-cmds.el (char-code-property-alist): Move to
14077         to src/chartab.c.
14078         (get-char-code-property): Call unicode-property-table-internal to
14079         load a file.  Call get-unicode-property-internal where necessary.
14080         (put-char-code-property): Call unicode-property-table-internal to
14081         load a file.  Call put-unicode-property-internal where necessary.
14082         put-unicode-property-internal where necessary.
14083         (char-code-property-description):
14084         Call unicode-property-table-internal to load a file.
14086         * international/charprop.el:
14087         * international/uni-bidi.el:
14088         * international/uni-category.el:
14089         * international/uni-combining.el:
14090         * international/uni-comment.el:
14091         * international/uni-decimal.el:
14092         * international/uni-decomposition.el:
14093         * international/uni-digit.el:
14094         * international/uni-lowercase.el:
14095         * international/uni-mirrored.el:
14096         * international/uni-name.el:
14097         * international/uni-numeric.el:
14098         * international/uni-old-name.el:
14099         * international/uni-titlecase.el:
14100         * international/uni-uppercase.el: Regenerate.
14102         * loadup.el: Load international/charprop.el before
14103         international/characters.
14105 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14107         * window.el (next-buffer, previous-buffer): Signal an error if
14108         called from a minibuffer window.
14110         * bindings.el: Revert 2011-07-04 change.
14112 2011-07-06  Richard Stallman  <rms@gnu.org>
14114         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14115         (rmail-mime-insert-bulk, rmail-mime-insert-text):
14116         Treat markers like ints.
14117         (rmail-mime-entity): Doc fix.
14119 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14121         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14122         defcustom again for backwards compatibility.
14124         * simple.el (shell-command-on-region): Fill.
14126         * dired-aux.el (dired-kill-line): Add a doc string.
14128         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14129         to "\\sw\\|\\s_" (bug#358).
14131         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14132         (dired-unmark-backward): Ditto.
14133         (dired-flag-backup-files): Ditto.
14135         * dired-x.el (dired-mark-sexp): Ditto.
14137 2011-07-06  Richard Stallman  <rms@gnu.org>
14139         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14140         (rmail-mime-entity): New arg TRUNCATED.
14141         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14142         New functions.
14143         (rmail-mime-save): Warn if entity is truncated.
14144         (rmail-mime-toggle-hidden): Likewise, for showing.
14145         (rmail-mime-process-multipart): Record when an entity is truncated.
14147         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14148         if ENTITY is a string.
14150 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14152         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14153         of faces when `M-C-x'-ing their definitions (bug#8378).
14154         Also clean up the code slightly.
14156         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14157         because that makes the colors go away.
14159         * mail/sendmail.el (send-mail-function): Change the default to
14160         `sendmail-query-once'.
14161         (sendmail-query-once): Add an autoload cookie.
14163         * net/network-stream.el (network-stream-open-starttls): Try using
14164         a plain connection even if the server offered STARTTLS, and we
14165         kinda wanted to use it, if Emacs doesn't have any STARTTLS
14166         capability.  This should make smtpmail.el work in slightly more
14167         configurations.
14169 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
14171         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14172         New defun.
14173         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14175 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
14177         * progmodes/sql.el: Version 3.0
14178         (sql-product-alist): Add product :completion-object,
14179         :completion-column, and :statement attributes.
14180         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14181         (sql-mode-syntax-table): Mark all punctuation.
14182         (sql-font-lock-keywords-builder): Temporarily remove fallback on
14183         ansi keywords.
14184         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14185         (sql-mode-oracle-font-lock-keywords): Improve.
14186         (sql-oracle-show-reserved-words): New function for development.
14187         (sql-product-font-lock): Simplify for source code buffers.
14188         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14189         New functions.
14190         (sql-highlight-product): Set product specific syntax table.
14191         (sql-mode-map): Add statement movement functions.
14192         (sql-ansi-statement-starters, sql-oracle-statement-starters):
14193         New variable.
14194         (sql-statement-regexp, sql-beginning-of-statement)
14195         (sql-end-of-statement, sql-signum): New functions.
14196         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14197         (sql-show-sqli-buffer): Bug fix.
14198         (sql-interactive-mode): Store connection data as buffer local.
14199         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
14200         with sql-interactive-mode.
14201         (sql-save-connection): Save buffer local settings.
14202         (sql-connection-menu-filter): Change menu entry name.
14203         (sql-product-interactive): Bug fix.
14204         (sql-preoutput-hold): New variable.
14205         (sql-interactive-remove-continuation-prompt): Bug fixes.
14206         (sql-debug-redirect): New variable.
14207         (sql-str-literal): New function.
14208         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14209         Redesign.
14210         (sql-oracle-save-settings, sql-oracle-restore-settings)
14211         (sql-oracle-list-all, sql-oracle-list-table): New functions.
14212         (sql-completion-object, sql-completion-column)
14213         (sql-completion-sqlbuf): New variables.
14214         (sql-build-completions-1, sql-build-completions)
14215         (sql-try-completion): New functions.
14216         (sql-read-table-name): Use them.
14217         (sql-contains-names): New buffer local variable.
14218         (sql-list-all, sql-list-table): Use it.
14219         (sql-oracle-completion-types): New variable.
14220         (sql-oracle-completion-object, sql-sqlite-completion-object)
14221         (sql-postgres-completion-object): New functions.
14223 2011-07-06  Glenn Morris  <rgm@gnu.org>
14225         * window.el (pop-to-buffer): Doc fix.
14227 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
14229         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14231 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
14233         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14235         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14237 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
14239         * button.el (button): Inherit from link face.  Suggested by Dan
14240         Nicolaescu.
14242 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14244         * progmodes/gdb-mi.el: Fit in 80 columns.
14245         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14246         switch-to-buffer.
14248         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14249         if imenu is simply not configured (bug#8941).
14251 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
14253         * allout.el (allout-post-undo-hook): New allout outline-change
14254         event hook to signal undo activity.
14255         (allout-post-command-business): Run allout-post-undo-hook if an
14256         undo just occurred.
14257         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14258         * allout-widgets.el (allout-widgets-after-undo-function):
14259         Ensure the integrity of the current item's decoration after it has been
14260         in the vicinity of an undo.
14261         (allout-widgets-mode): Include allout-widgets-after-undo-function
14262         on the new allout-post-undo-hook.
14264 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14266         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14267         Let define-derived-mode define it.
14268         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14269         cycles of abbrev-table inheritance (bug#8998).
14271 2011-07-05  Roland Winkler  <winkler@gnu.org>
14273         * textmodes/bibtex.el: Add support for biblatex.
14274         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14275         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14276         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14277         (bibtex-entry-alist, bibtex-field-alist): New variables.
14278         (bibtex-entry-field-alist): Obsolete alias for
14279         bibtex-BibTeX-entry-alist.
14280         (bibtex-entry-alist, bibtex-field-alist): New widgets.
14281         (bibtex-set-dialect): New command.
14282         (bibtex-entry-type, bibtex-entry-head)
14283         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14284         Bind via bibtex-set-dialect.
14285         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14286         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14287         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14288         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14289         Define via bibtex-set-dialect.
14290         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14291         Obey bibtex-no-opt-remove-re.
14292         (bibtex-vec-push, bibtex-vec-incr): New functions.
14293         (bibtex-format-entry, bibtex-field-list)
14294         (bibtex-print-help-message, bibtex-validate)
14295         (bibtex-search-entries): Use new format of bibtex-entry-alist.
14297 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14299         * progmodes/compile.el (compilation-goto-locus):
14300         * net/tramp-cmds.el (tramp-append-tramp-buffers):
14301         * bs.el (bs-cycle-next, bs-cycle-previous):
14302         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14303         * bindings.el (mode-line-other-buffer):
14304         * autoinsert.el (auto-insert):
14305         * arc-mode.el (archive-extract):
14306         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14308 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14310         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14311         Fix check of `emacs-lock-unlockable-modes'.
14312         Coerce true values of `emacs-lock--try-unlocking' to t.
14314 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14316         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14317         * emacs-lock.el: New file.
14319 2011-07-05  Julien Danjou  <julien@danjou.info>
14321         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14322         than `boundp' to check if face is set.
14324 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14326         * register.el (registerv-make):
14327         * window.el (window-min-height): Fix typos in docstrings.
14329 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
14331         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14332         Update doc string.
14334 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
14336         * server.el (server-execute): Catch quit and call
14337         `server-return-error' to pass the error back to emacsclient and
14338         close the connection (bug#8942).
14340 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
14342         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14343         insecure exception for current topic.  Also note that auto-saves
14344         are handled differently.
14346         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14347         State variables for tracking auto-save inhibition situation.
14349         (allout-write-contents-hook-handler): Rename from
14350         'allout-write-file-hook-handler', and describe how it depends on
14351         write-contents-functions sensitivity to non-nil value to prevent
14352         file write.
14354         (allout-auto-save-hook-handler): Remove.  auto-save does not check
14355         this in individual buffers, only in the starting buffer, so this
14356         is not the right way for us to inhibit auto-save in a buffer
14357         according to its condition.
14359         (allout-mode): Use new allout-write-contents-hook-handler, and
14360         only with write-contents-functions.  Remove auto-save provisions -
14361         they're implemented elsewhere.
14363         (allout-before-change-handler): If undo is in progress, note that
14364         for attention of allout-post-command-business.
14366         (allout-post-command-business): If the command we're following was
14367         an undo, check for change in the status of encrypted items and
14368         adjust auto-save inhibitions accordingly.
14370         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14371         according to whether there are or aren't any plain-text topics
14372         pending encryption.
14374         (allout-inhibit-auto-save-info-for-decryption):
14375         Adjust buffer-saved-size and some allout state to inhibit auto-saves
14376         if there are plain-text topics pending encryption.
14378         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14379         buffer-saved-size and some allout state to not inhibit auto-saves
14380         if there are no longer any plain-text topics pending encryption.
14382         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14383         No longer provide for exemption of the current topic.
14385 2011-07-04  Juri Linkov  <juri@jurta.org>
14387         Add 7z operations to delete and save changed members (bug#8968).
14388         * arc-mode.el (archive-7z-expunge, archive-7z-update):
14389         New defcustoms.
14390         (archive-7z-write-file-member): New function.
14391         (archive-7z-summarize): Fix the number of dashes in the
14392         listing output.
14394 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14396         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14397         (bug#8958).
14399 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
14401         * bindings.el: Ignore next-buffer and previous-buffer in
14402         minibuffer-local-map.
14404         * font-lock.el (font-lock-builtin-face): Change light background
14405         color to dark slate blue (Bug#6693).
14407 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
14409         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14411 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14413         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14414         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14415         Add switch-to-buffer.
14417 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14419         * isearch.el (isearch-search-fun-function): Clarify further the
14420         meaning of the function returned.
14422 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
14424         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14426         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14427         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14428         Use it.
14429         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
14430         `tramp-default-remote-path' does not exist.
14431         (tramp-send-command-and-read): New optional argument NOERROR.
14432         (tramp-open-connection-setup-interactive-shell)
14433         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14434         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14435         (tramp-process-sentinel): Flush also process' connection property.
14436         (tramp-sh-handle-start-file-process): Do not set process
14437         sentinel.  It is done now ...
14438         (tramp-maybe-open-connection): ... here.  (Bug#8929)
14440 2011-07-04  MON KEY  <monkey@sandpframing.com>
14442         * play/animate.el (animate-string): Doc fixes and allow changing
14443         the buffer name (bug#5417).
14445 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14447         * play/animate.el (animation-buffer-name): Rename from *animate*.
14449 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
14451         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14452         This is simpler and helps future-proof the code.
14453         (timer-until): Use time-subtract and float-time.
14454         (timer--time-less-p): Use time-less-p.
14456 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
14458         * type-break.el (timep): Use the value of `float-time' to avoid a
14459         byte-compiler warning.
14461         * server.el (server-eval-and-print): Return any result, even nil.
14463 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
14465         * type-break.el: Accept time formats that the builtins accept.
14466         (timep, type-break-time-difference): Accept any format that
14467         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14468         This is simpler and helps future-proof the code.
14469         (type-break-time-difference): Round rather than ignoring
14470         subseconds components.
14472 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14474         * info.el (Info-apropos-matches): Make non-interactive, since it
14475         doesn't seem to do anything useful as a command (bug#8829).
14477 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
14479         * frame.el (frame-background-mode, frame-set-background-mode):
14480         Move from faces.el.
14481         (frame-default-terminal-background): New function.
14483         * custom.el (custom-push-theme): Don't record faces in `changed'
14484         theme; this doesn't work correctly for per-frame face settings.
14485         (disable-theme): Use face-set-after-frame-default to reset faces.
14486         (custom--frame-color-default): New function.
14488 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14490         * dired.el (dired-flagging-regexp): Remove unused variable
14491         (bug#8769).
14493 2011-03-29  Kevin Ryde  <user42@zip.com.au>
14495         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14496         `perl-Test2' extend to match possible "fail #N" rep count
14497         (bug#8377).
14499 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14501         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14502         `smtpmail-via-smtp' now returns the error instead of nil.
14504         * isearch.el (isearch-search-fun-function): Clarify the doc string
14505         (bug#8101).
14507 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
14509         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14510         unnecessary spaces (bug#8987).
14512 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14514         * net/network-stream.el (open-network-stream): Use the
14515         :end-of-capability command thoughout.
14517 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
14519         * net/network-stream.el (open-network-stream): Add the
14520         :end-of-capability command parameter, used by pop3.el.
14522 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14524         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14526         * fringe.el (fringe-query-style): Remove redundant text " (type ?
14527         for list)" (bug#6475).
14529         * files.el (file-expand-wildcards): Ignore non-readable
14530         sub-directories while trying to find matches instead of signaling
14531         an error (bug#6297).
14533         * man.el (Man-reference-regexp): Allow matching possible
14534         word-wrapped references (bug#6289).
14536         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14537         for consistency with the other vc buffers (bug#6197).
14538         (vc-checkin): Ditto.
14540         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14542         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14544 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14546         * custom.el (defcustom): Clarify that :set is only used in the
14547         Customize user interface (bug#6089).
14549         * progmodes/flymake.el (flymake-mode): If the buffer isn't
14550         associated with a file, refuse to run instead of erroring out
14551         (bug#6084).
14553         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14554         the doc string, since it appears that using `fill-column' always
14555         controls the width (bug#7845).
14557         * simple.el (shell-command-on-region): Say where the error output
14558         went if `shell-command-default-error-buffer' is set (bug#6857).
14560 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
14562         * allout.el (allout-yank-processing): Adjust cursor position for
14563         backwards-deleted space.
14565         (allout-rebullet-heading): Register changes with
14566         allout-exposure-changed-hook, so the modified topic is properly
14567         decorated.
14569 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14571         * minibuffer.el (completion-in-region): Document PREDICATE
14572         (bug#7136).
14574         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14575         of keyword/argument pairs (bug#6904).
14577         * replace.el (multi-occur):
14578         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
14580 2011-07-02  Drew Adams  <drew.adams@oracle.com>
14582         * dired.el (dired-mark-if): Make the message about whether it's
14583         marking or unmarking clearer (bug#8523).
14585 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14587         * disp-table.el (display-table-print-array): New function.
14588         (describe-display-table): Use it to print the vectors more pretty
14589         (Bug#8859).
14591 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
14593         * window.el (window-state-get-1): Don't assign clone numbers.
14594         Add clone-of item to list of window parameters.
14595         (window-state-put-2): Don't process clone numbers.
14596         (display-buffer-alist): Fix doc-string.
14598 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14600         * subr.el (remq): Don't allocate if it's not needed.
14601         (keymap--menu-item-binding, keymap--menu-item-with-binding)
14602         (keymap--merge-bindings): New functions.
14603         (keymap-canonicalize): Use them to refine the canonicalization.
14604         * minibuffer.el (minibuffer-local-completion-map)
14605         (minibuffer-local-must-match-map): Move initialization from C.
14606         (minibuffer-local-filename-completion-map): Move initialization from C;
14607         don't inherit from anything here.
14608         (minibuffer-local-filename-must-match-map): Make obsolete.
14609         (completing-read-default): Use make-composed-keymap to combine
14610         minibuffer-local-filename-completion-map with either
14611         minibuffer-local-must-match-map or
14612         minibuffer-local-filename-completion-map.
14614 2011-07-01  Glenn Morris  <rgm@gnu.org>
14616         * type-break.el (type-break-time-sum): Use dolist.
14618         * textmodes/flyspell.el (flyspell-word-search-backward):
14619         Replace CL function.
14621 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14623         * mouse.el (mouse--strip-first-event): New function.
14624         (function-key-map): Use it to map fringe clicks to normal clicks
14625         by default.
14627         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14628         (vc-bzr-revision-completion-table): Add support for annotate and date.
14630         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14631         inherit from parent.
14633 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14635         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
14636         (dired-show-file-type): Doc fixup (bug#8818).
14638         * dired.el (dired-mode): Fix up the doc string as suggested by
14639         Drew Adams (bug#8817).
14641         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14642         cookie, since the manual says that it should be possible to add
14643         this function to `find-file-hook' (bug#8709).
14645 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
14647         * progmodes/cfengine.el: Moved all cfengine3.el functionality
14648         here.  Noted Ted Zlatanov as the maintainer.
14649         (cfengine-common-settings, cfengine-common-syntax): New functions
14650         to set up common things between `cfengine-mode' and
14651         `cfengine3-mode'.
14652         (cfengine3-mode): New mode.
14653         (cfengine3-defuns cfengine3-defuns-regex
14654         (cfengine3-class-selector-regex cfengine3-category-regex)
14655         (cfengine3-vartypes cfengine3-font-lock-keywords)
14656         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
14657         (cfengine3-indent-line): Add from cfengine3.el.
14659 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
14661         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14663         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14665 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
14667         * window.el (same-window-buffer-names, same-window-regexps)
14668         (same-window-p, special-display-frame-alist)
14669         (special-display-popup-frame, special-display-function)
14670         (special-display-buffer-names, special-display-regexps)
14671         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14672         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14673         (split-window-preferred-function, split-height-threshold)
14674         (split-width-threshold, even-window-heights)
14675         (display-buffer-mark-dedicated, window-splittable-p)
14676         (split-window-sensibly, window-safely-shrinkable-p):
14677         Un-obsolete.
14678         (display-buffer): Don't spread args with function specifier
14679         because special-display-popup-frame won't like it.
14681 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
14683         Time-stamp simplifications and fixes.
14684         These improve accuracy slightly, and future-proof the code
14685         against some potential changes to current-time format.
14687         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14688         by using time-since and float-time.
14690         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14691         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
14692         + NNN microseconds".
14694         * type-break.el (type-break-time-sum): Rewrite using time-add.
14696         * play/hanoi.el (hanoi-current-time-float): Remove.
14697         All uses replaced by float-time.
14699         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14700         This yields a more-accurate answer.
14701         (rng-time-to-float): Remove; no longer needed.
14703         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14705         * calendar/timeclock.el (timeclock-seconds-to-time):
14706         Defalias to seconds-to-time, since they're the same thing.
14708         * emacs-lisp/elp.el (elp-elapsed-time):
14709         * emacs-lisp/benchmark.el (benchmark-elapse):
14710         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14712 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14714         * window.el (bury-buffer): Don't iconify the only frame.
14715         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14716         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
14718 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
14720         * eshell/em-smart.el (eshell-smart-display-navigate-list):
14721         Add mouse-yank-primary.
14723 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
14725         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14727 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14729         * emacs-lisp/find-func.el (find-library--load-name): New fun.
14730         (find-library-name): Use it to find relative load names when provided
14731         absolute file name (bug#8803).
14733 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14735         * textmodes/flyspell.el (flyspell-word): Consider words that
14736         differ only in case as potential doublons (bug#5687).
14738         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14739         Remove two rather uninteresting debugging-like messages to make
14740         debbugs.el more silent.
14742         * comint.el (comint-password-prompt-regexp): Accept "Response" as
14743         a password-like phrase.
14745 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
14747         * progmodes/cc-guess.el: New file.
14749         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
14751         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14752         derived from `c-basic-common-init'.
14754         * progmodes/cc-mode.el (top-level): Require cc-guess.
14755         (c-basic-common-init): Use `cc-choose-style-for-mode'.
14757 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
14759         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14761 2011-06-30  Alan Mackenzie  <acm@muc.de>
14763         * progmodes/cc-engine.el (c-guess-continued-construct):
14764         Correct the handling of template-args-cont, particularly for when font
14765         lock is disabled.  Name this case as "CASE G".
14767 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
14769         * allout.el (allout-yank-processing): Fix injection of extra space
14770         between bullet and non-whitespace character in first topic when
14771         pasting, ensuring that the actual spacing in the pasted topic
14772         following the bullet char is preserved.  This extra space was
14773         causing pasted encrypted topics to get a decrypted status even
14774         when the content was actually still encrypted.  Now the decryption
14775         status from before the paste is preserved.
14777         (allout-flag-region): Set all allout overlays so they evaporate
14778         when reduced to zero length (evanescent), to prevent overlay
14779         leakage.
14781 2011-06-30  Glenn Morris  <rgm@gnu.org>
14783         * w32-fns.el (w32-charset-info-alist): Declare.
14785         * find-dired.el (find-grep-options): Simplify.
14787         * term/ns-win.el (ns-set-resource): Declare.
14789         * ses.el (row, col): Declare dynamic variables honestly.
14791         * textmodes/reftex-parse.el (index-tags): Declare.
14793 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
14795         * cus-edit.el (customize-push-and-save): New function.
14797         * files.el (hack-local-variables-confirm): Use it.
14799         * custom.el (load-theme): New arg NO-CONFIRM.
14800         Use customize-push-and-save (Bug#8720).
14801         (custom-enabled-themes): Doc fix.
14803         * cus-theme.el (customize-create-theme)
14804         (custom-theme-merge-theme): Callers to load-theme changed.
14806 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14808         * thingatpt.el (thing-at-point-short-url-regexp): Require that
14809         short URLs have at least one dot in them (bug #7614).
14811         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14812         nil, because using a pty is apparently too slow (bug #895).
14814 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14816         * mail/sendmail.el (sendmail-query-once): New function.
14817         (sendmail-query-once-function): New variable.
14819 2011-06-29  Glenn Morris  <rgm@gnu.org>
14821         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14823         * ses.el (top-level): Require cl when compiling.
14824         (ses-set-localvars): Fix error statement.
14825         Call it at compile time to silence a storm of warnings.
14827 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
14829         * window.el (normalize-live-buffer): Rename to
14830         window-normalize-buffer.
14831         (normalize-live-frame): Rename to window-normalize-frame.
14832         (normalize-any-window): Rename to window-normalize-any-window.
14833         (normalize-live-window): Rename to window-normalize-live-window.
14834         (make-window-atom): Rename to window-make-atom.
14835         (window-resize-reset): Rename to window--resize-reset.
14836         (window-resize-reset-1): Rename to window--resize-reset-1.
14837         (resize-mini-window): Rename to window--resize-mini-window.
14838         (resize-subwindows-skip-p): Rename to
14839         window--resize-subwindows-skip-p.
14840         (resize-subwindows-normal): Rename to
14841         window--resize-subwindows-normal.
14842         (resize-subwindows): Rename to window--resize-subwindows.
14843         (resize-other-windows): Rename to window--resize-siblings.
14844         (resize-this-window): Rename to window--resize-this-window.
14845         (resize-root-window): Rename to window--resize-root-window.
14846         (resize-root-window-vertically): Rename to
14847         window--resize-root-window-vertically.
14848         (normalize-buffer-to-display): Rename to
14849         window-normalize-buffer-to-display.
14850         (normalize-buffer-to-switch-to): Rename to
14851         window-normalize-buffer-to-switch-to.
14852         Correspondingly update all callers of the functions listed
14853         above.
14854         (display-buffer-alist, display-buffer-normalize-arguments)
14855         (display-buffer-normalize-options, display-buffer)
14856         (display-buffer-alist-set): Use "function" instead of
14857         "fun-with-args".
14859 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
14861         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14862         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
14863         debbugs.gnu.org.  Mention acknowledgment email.
14865 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14867         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14868         buffer multibyteness, since it shouldn't matter.
14870 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
14872         * window.el (display-buffer-in-side-window): Handle dedicated
14873         windows as in display-buffer-reuse-window.
14874         (display-buffer-normalize-alist): Use value of override
14875         specifier.
14876         (display-buffer-normalize-specifiers): Use value of
14877         other-window-means-other-frame specifier.
14878         (display-buffer-alist): Rewrite some texts in widgets.
14879         (display-buffer): Spread arguments when calling function
14880         specified by fun-with-args.
14882 2011-06-28  Deniz Dogan  <deniz@dogan.se>
14884         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14885         Unnest `let'.
14887         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14888         selectors (Bug#5732).
14889         (css-proprietary-nmstart-re): Use `regexp-opt'.
14891 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
14893         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14894         (eshell-ls-date-format): New defcustom.
14895         (eshell-ls-file): Use it.
14897 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14899         * help-fns.el (describe-variable): Fix message for terminal-local vars.
14901 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
14903         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14904         (ange-ftp-make-tmp-name): New arg.
14905         (ange-ftp-file-local-copy): Use it.
14907 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
14909         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14910         no-conversion (Bug#8870).
14912 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
14914         * window.el (window-right, window-left, window-child)
14915         (window-child-count, window-last-child)
14916         (window-iso-combination-p, walk-window-tree-1)
14917         (window-atom-check-1, window-tree-1, delete-window)
14918         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14919         new naming conventions - window-vchild, window-hchild,
14920         window-next and window-prev are now called window-top-child,
14921         window-left-child, window-next-sibling and window-prev-sibling
14922         respectively.
14923         (resize-window-reset): Rename to window-resize-reset.
14924         (resize-window-reset-1): Rename to window-resize-reset-1.
14925         (resize-window): Rename to window-resize.
14926         (window-min-height, window-min-width)
14927         (resize-mini-window, resize-this-window, resize-root-window)
14928         (resize-root-window-vertically, adjust-window-trailing-edge)
14929         (enlarge-window, shrink-window, maximize-window)
14930         (minimize-window, delete-window, quit-restore-window)
14931         (split-window, balance-windows, balance-windows-area-adjust)
14932         (balance-windows-area, window-state-put-2)
14933         (display-buffer-even-window-sizes, display-buffer-set-height)
14934         (display-buffer-set-width, set-window-text-height)
14935         (fit-window-to-buffer): Rename all "resize-window" prefixed
14936         calls to use the "window-resize" prefix convention.
14937         (display-buffer-alist): Fix symbol for label specifier.
14938         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14939         corresponding specifier.
14940         Reported by Juanma Barranquero <lekktu@gmail.com>.
14942 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14944         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14945         convention.
14946         (ses-call-printer): Does not pass an empty string to formatter when the
14947         cell is empty to keep from barking printer Calc math-format-value.
14949 2011-06-27  Richard Stallman  <rms@gnu.org>
14951         * battery.el (battery-mode-line-limit): New variable.
14952         (battery-update): Handle it.
14954         * mail/rmailmm.el (rmail-mime-process-multipart):
14955         Handle truncated messages.
14957 2011-06-27  Glenn Morris  <rgm@gnu.org>
14959         * progmodes/flymake.el (flymake-err-line-patterns):
14960         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
14962 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14964         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
14965         (ses--clean-!, ses--clean-_): New functions.
14966         (ses-range): Add configurability of readout order, and conversion
14967         to Calc vector.
14969         * ses.el (ses-repair-cell-reference-all): New function.
14970         (ses-cell-symbol): Set macro as safe, so that it can be used in
14971         formulas.
14973         * ses.el: Update cycle detection algorithm.
14974         (ses-localvars): Add ses--Dijkstra-attempt-nb and
14975         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
14976         (ses-set-localvars): New function.
14977         (ses-make-cell): Add property-list as a cell element.
14978         (ses-cell-property-get-fun, ses-cell-property-get)
14979         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
14980         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14981         New functions.
14982         (ses-cell-property-set, ses-cell-property-pop)
14983         (ses-cell-property-get-handle): New macro.
14984         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14985         New aliases, used for code readability.
14986         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14987         cycle detection.
14988         (ses-self-reference-early-detection): New defcustom.
14989         (ses-formula-references): Robustify against self-referring cells.
14990         (ses-mode): Use ses-set-localvars.
14991         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14992         before lauching the update processing.
14993         (ses-initialize-Dijkstra-attempt): New function.
14994         (ses-recalculate-cell): Update for cycle detection based on
14995         Dijkstra algorithm.
14997         * ses.el: Fix commenting and indenting convention.
14999 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15001         * bs.el (bs-cycle-next): Complete last change.
15003 2011-06-27  Drew Adams  <drew.adams@oracle.com>
15005         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15007 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15009         * net/network-stream.el (network-stream-open-starttls):
15010         Don't re-get capabilities unless we've reestablished connection.
15011         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15013         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15014         to binary to possibly avoid line encoding issues on Windows (among
15015         other things).
15017 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15019         * net/network-stream.el (open-network-stream): Return an :error
15020         saying what the problem was, if possible.
15022         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15023         server.
15025         * net/network-stream.el (network-stream-open-starttls): If we
15026         wanted to use STARTTLS, and the server offered it, but we weren't
15027         able to because we had no STARTTLS support, then close the connection.
15028         (open-network-stream): Return an :error element, if present.
15030 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
15032         * hl-line.el (hl-line-sticky-flag): Doc fix.
15033         (global-hl-line-sticky-flag): New option (Bug#8323).
15034         (global-hl-line-highlight): Obey it.
15036         * vc/vc.el (vc-revert-show-diff): Default to t.
15038 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
15040         * allout-widgets.el (allout-widgets-post-command-business):
15041         Stop decorating intermediate isearch matches.  They're not being
15042         undecorated when an isearch is continued past, and isearch
15043         automatically collapses them.  This leads to "widget leaks", where
15044         decorated items accumulate in collapsed areas.  Lines with lots of
15045         hidden widgets can slow down cursor travel, substantially.
15046         Too much complicated machinery would be needed to ensure undecoration,
15047         so we're doing without this nicety.
15049         (allout-widgets-tally-string): Don't try to do a hash-table-count
15050         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
15051         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15052         *Messages* when allout-widgets-maintain-tally is t.
15054 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
15056         * window.el (display-buffer-normalize-argument): Rename to
15057         display-buffer-normalize-arguments.  Handle special meaning of
15058         LABEL argument.  Respect special-display-function when popping up
15059         a new frame.  Fix code searching for a window showing the buffer
15060         on another frame.
15061         (display-buffer-normalize-specifiers):
15062         Call display-buffer-normalize-arguments.
15063         (display-buffer-in-window): Don't undedicate the window if its
15064         buffer remains the same.
15065         Reported by Drew Adams <drew.adams@oracle.com>.
15066         (display-buffer-alist): Add choice for same-window macro
15067         specfier.
15068         (display-buffer): Mention special meaning of LABEL argument in
15069         doc-string.  Fix quoting.  Don't pop up a new frame even as
15070         fallback.
15072 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
15074         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15075         avoid deleting the current window in some cases (bug#8911).
15077 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
15079         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15080         (Bug#8934)
15082 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15084         * net/network-stream.el (network-stream-open-starttls):
15085         Use built-in TLS support if `gnutls-available-p' is true.
15086         (network-stream-open-tls): Ditto.
15088 2011-06-26  Leo Liu  <sdl.web@gmail.com>
15090         * register.el (registerv): New struct.
15091         (registerv-make): New function.
15092         (jump-to-register, describe-register-1, insert-register):
15093         Support the jump-func, print-func and insert-func slot of a registerv
15094         struct.  (Bug#8415)
15096 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
15098         * vc/vc.el (vc-revert-show-diff): New defcustom.
15099         (vc-diff-internal): New arg specifying diff buffer.
15100         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
15101         reuse an existing *vc-diff* buffer (Bug#8927).
15103         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15105 2011-06-26  Glenn Morris  <rgm@gnu.org>
15107         * progmodes/f90.el (f90-critical-indent): New option.
15108         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15109         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15110         (f90-mode): Doc fix.
15111         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15112         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15113         (f90-beginning-of-block, f90-next-block, f90-indent-region)
15114         (f90-match-end): Handle block, critical.
15116 2011-06-25  Glenn Morris  <rgm@gnu.org>
15118         * calendar/diary-lib.el (diary-included-files): Doc fix.
15119         (diary-include-files): New function, extracted from
15120         diary-include-other-diary-files and diary-mark-included-diary-files.
15121         (diary-include-other-diary-files, diary-mark-included-diary-files):
15122         Just call diary-include-files.
15123         (diary-mark-entries): Reset diary-included-files on first call.
15125         * calendar/diary-lib.el (diary-mark-entries)
15126         (diary-mark-included-diary-files):
15127         Visit included diary-files in temp buffers.
15129         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15130         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15131         (f90-start-block-re, f90-imenu-generic-expression)
15132         (f90-looking-at-program-block-start, f90-no-block-limit):
15133         Add support for submodules.
15135         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15136         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15138 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
15140         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15141         buffer-file-type before setting its value, to avoid disastrous
15142         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
15144 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
15146         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15148         * ses.el (ses-unload-function):
15149         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15151         * proced.el (proced-unload-function):
15152         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15154 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
15156         * server.el (server-create-window-system-frame): Add parameters arg.
15157         (server-process-filter): Doc fix.  Handle frame-parameters.
15159 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
15161         Fix bug#8730, bug#8781.
15163         * loadhist.el (unload--set-major-mode): New function.
15164         (unload-feature): Use it.
15166         * progmodes/python.el (python-after-info-look): Add autoload cookie.
15167         (python-unload-function): New function.
15169 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15171         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15173 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
15175         * net/browse-url.el (browse-url-firefox-program): Add icecat to
15176         the candidates list.
15178 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
15180         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15182 2011-06-23  Richard Stallman  <rms@gnu.org>
15184         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15185         (rmail-variables): Set next-error-move-function.
15186         (rmail-what-message): Take argument POS.
15187         (rmail-next-error-move): New function.
15189 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15191         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15192         messages for adjacent non-terminals.
15194 2011-06-23  Richard Stallman  <rms@gnu.org>
15196         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15197         (rmail-show-message-1): Preserve buffer modified flag.
15198         (rmail-start-mail): Don't specify use of rmail-mail-return;
15199         that's done by mail-bury now.
15200         (rmail-mail-return): Handle arg NEWBUF.
15202 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
15204         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15205         SIZE is a number.
15207 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
15209         * window.el (get-lru-window, get-mru-window)
15210         (get-largest-window): Never return a minibuffer window.
15211         (display-buffer-pop-up-window): Fix a bug that could lead to
15212         reusing the minibuffer window.
15213         (display-buffer): Pass original specifier argument to
15214         display-buffer-function instead of the normalized one.
15215         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15217 2011-06-22  Leo Liu  <sdl.web@gmail.com>
15219         * minibuffer.el (completing-read-function)
15220         (completing-read-default): Move from minibuf.c
15222 2011-06-22  Richard Stallman  <rms@gnu.org>
15224         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15225         to Rmail even if not started by a special Rmail command.
15227         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15228         Copy the buffer currently showing just one message.
15230 2011-06-22  Roland Winkler  <winkler@gnu.org>
15232         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15233         (bibtex-clean-entry): First delete the old key so that a
15234         customized algorithm for generating the new key does not get
15235         confused by the old key.
15236         (bibtex-url): Obey regexp of first step.
15237         (bibtex-search-entries): Do not use add-to-list with local
15238         list-var.
15240 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15242         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15243         stored a user name, then query for the password first, instead of
15244         waiting for SMTP to give an error message and the trying again.
15246 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
15248         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15249         BUFFER in call-process.
15251 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15253         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15254         QUIT twice.
15255         (smtpmail-try-auth-methods): Require user name and password from
15256         auth-source.
15258 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
15260         * window.el (display-buffer-default-specifiers)
15261         (display-buffer-alist): Remove entries for pop-up-frame-alist.
15262         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15263         (split-window): Normalize SIDE argument (Bug#8916).
15265         * frame.el (pop-up-frame-alist, pop-up-frame-function)
15266         (special-display-frame-alist, special-display-popup-frame):
15267         Remove duplicate declarations.  These are now in window.el.
15269 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15271         * mail/smtpmail.el (smtpmail-via-smtp):
15272         Set :use-starttls-if-possible so that we always use STARTTLS if the
15273         server supports it.  SMTP servers that support STARTTLS commonly
15274         require it.
15276         * net/network-stream.el (network-stream-open-starttls): Support
15277         upgrading to STARTTLS always, even if we don't have built-in support.
15278         (open-network-stream): Add the :always-query-capabilities keyword.
15280         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15281         upgrades with `open-network-stream', and rely solely on
15282         auth-source for all credentials.  Big changes throughout the file,
15283         but in particular:
15284         (smtpmail-auth-credentials): Remove.
15285         (smtpmail-starttls-credentials): Remove.
15286         (smtpmail-via-smtp): Check for servers saying they want AUTH after
15287         MAIL FROM, too.
15289         * net/network-stream.el (network-stream-open-starttls):
15290         Provide support for client certificates both for external and built-in
15291         STARTTLS.
15292         (auth-source): Require.
15293         (open-network-stream): Document the :client-certificate keyword.
15294         (network-stream-certificate): Change cert-cert to cert and
15295         cert-key to key.
15297 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
15299         * net/tramp-cache.el (top): Don't load the persistency file when
15300         "emacs -Q" has been called.
15302 2011-06-21  Tim Harper  <timcharper@gmail.com>
15304         * term/ns-win.el (ns-initialize-window-system):
15305         Set application-specific `ApplePressAndHoldEnabled' system
15306         resource to NO as it is not yet supported by the NS port.
15308 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
15310         * misc.el (list-dynamic-libraries--refresh): Compute header here...
15311         (list-dynamic-libraries): ...not here.
15313 2011-06-21  Leo Liu  <sdl.web@gmail.com>
15315         * subr.el (sha1): Implement sha1 using secure-hash.
15317 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
15319         * window.el (display-buffer-alist): In default value do not
15320         enforce searching a window on any but the selected frame.
15321         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15322         (display-buffer-select-window): Remove function.
15323         (display-buffer-in-window): When a window on another frame gets
15324         reused, do not select it any more but just raise its frame if
15325         necessary (Bug#8851) and (Bug#8856).
15326         (display-buffer-normalize-options): Handle pop-up-frames related
15327         options more faithfully.
15328         (pop-to-buffer): Don't rely on `display-buffer' selecting the
15329         window if it is on another frame.
15330         (display-buffer-alist, display-buffer-default-specifiers):
15331         Don't make new frame unsplittable by default.
15332         (display-buffer-normalize-argument): Fix doc-string typo and use
15333         'same-frame-other-window instead of 'other-window when associating
15334         with display-buffer-macro-specifiers.
15336 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
15338         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15339         New functions.
15340         (5x5-mode-map, 5x5-mode-menu): Bind them.
15341         (5x5-draw-grid): Tweak the solver's rendering.
15343 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15345         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15346         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15348 2011-06-21  Drew Adams  <drew.adams@oracle.com>
15350         * menu-bar.el: Use function variable instead of switch-to-buffer.
15351         (menu-bar-select-buffer-function): New variable.
15352         (menu-bar-update-buffers): Use it (bug#8876).
15354 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15356         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15357         variable's status.
15359 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
15361         * x-dnd.el (x-dnd-version-from-flags)
15362         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15363         and long as number (Bug#8899).
15364         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15366 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15368         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15369         (completion-try-completion, completion-all-completions): Compute the
15370         metadata argument if it's missing; make it optional (bug#8795).
15372         * wid-edit.el: Use lex-bind and move towards completion-at-point.
15373         (widget-complete): Use new :completion-function property.
15374         (widget-completions-at-point): New function.
15375         (default): Use :completion-function instead of :complete.
15376         (widget-default-completions): Rename from widget-default-complete;
15377         Rewrite.
15378         (widget-string-complete, widget-file-complete, widget-color-complete):
15379         Remove functions.
15380         (file, symbol, function, variable, coding-system, color):
15381         * international/mule-cmds.el (default-input-method, charset)
15382         (language-info-custom-alist):
15383         * cus-edit.el (face): Use new property :completions.
15385         * progmodes/pascal.el (pascal-completions-at-point): New function.
15386         (pascal-mode): Use it.
15387         (pascal-mode-map): Use completion-at-point.
15388         (pascal-toggle-completions): Make obsolete.
15389         (pascal-complete-word, pascal-show-completions):
15390         * progmodes/octave-mod.el (octave-complete-symbol):
15391         Redefine as obsolete alias.
15392         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15393         Signal absence of completion info for old Octave,
15394         (inferior-octave-complete): Redefine as obsolete alias.
15395         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15396         (meta-completions-at-point): Rename from meta-complete-symbol and
15397         adapt it for use on completion-at-point-functions.
15398         (meta-common-mode): Use it.
15399         (meta-looking-at-backward, meta-match-buffer): Remove.
15400         (meta-complete-symbol): Redefine as obsolete alias.
15401         (meta-common-mode-map): Use completion-at-point.
15402         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15403         (makefile-mode-map): Use completion-at-point.
15404         (makefile-completions-at-point): Rename from makefile-complete and
15405         adapt it for use on completion-at-point-functions.
15406         (makefile-mode): Use it.
15407         (makefile-complete): Redefine as obsolete alias.
15409 2011-06-20  Deniz Dogan  <deniz@dogan.se>
15411         * net/rcirc.el: Delete trailing whitespaces once and for all.
15413 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
15415         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15417 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
15419         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15421         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15423 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
15425         * window.el (display-buffer-other-window-means-other-frame):
15426         Call display-buffer-normalize-alist.
15427         (display-buffer-normalize-specifiers-1): Rename to
15428         display-buffer-normalize-argument.  New argument other-frame.
15429         Rewrite.
15430         (display-buffer-normalize-specifiers-2): Rename to
15431         display-buffer-normalize-options.
15432         (display-buffer-normalize-alist-1): New function.
15433         (display-buffer-normalize-specifiers-3): Rename to
15434         display-buffer-normalize-alist.
15435         Call display-buffer-normalize-alist-1.
15436         (display-buffer-normalize-options-inhibit): New variable.
15437         (display-buffer-normalize-specifiers): Rewrite calling
15438         display-buffer-normalize-alist,
15439         display-buffer-normalize-argument, and
15440         display-buffer-normalize-options.  Don't call the latter if
15441         display-buffer-normalize-options-inhibit is non-nil.
15442         (frame-auto-delete): New option.
15443         (window-deletable-p): Use frame-auto-delete.
15444         (window-list-no-nils, window-state-ignored-parameters)
15445         (window-state-get-1, window-state-get, window-state-put-list)
15446         (window-state-put-1, window-state-put-2, window-state-put):
15447         New functions.
15448         (display-buffer-normalize-options): Move special-display-p group
15449         after pop-up-frame group (Bug#8851) and (Bug#8856).
15451 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
15453         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15454         groups (Bug#8776).
15455         (rx-submatch-n): New function.
15456         (rx): Document it.
15458         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15459         (Bug#8768).
15461         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15463         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15465         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15466         anytime existing face settings are present (Bug#8889).
15468         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15469         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15470         Remove unused argument.
15472 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
15474         * window.el (display-buffer-default-specifiers):
15475         Remove pop-up-frame.  Add pop-up-window-min-height,
15476         pop-up-window-min-width, and another reuse-window specifier
15477         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
15478         (display-buffer-normalize-specifiers-2):
15479         Handle split-height-threshold and split-width-threshold also when
15480         pop-up-windows is unset.  Add a reuse-window specifier for the
15481         case popping up a new window fails.
15482         (special-display-popup-frame): Remove double quoting.
15483         (display-buffer-normalize-specifiers-1): Fix thinko.
15485 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15487         * shell.el (shell-completion-vars): Set pcomplete-termination-string
15488         according to comint-completion-addsuffix.
15490         * pcomplete.el: Convert to lexical binding and fix bug#8819.
15491         (pcomplete-suffix-list): Mark as obsolete.
15492         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15493         pcomplete-seen in the closure.
15494         (pcomplete-comint-setup): Setup completion-at-point as well.
15495         (pcomplete--entries): New function.
15496         (pcomplete--env-regexp): New var.
15497         (pcomplete-entries): Rewrite to work with partial-completion and
15498         without relying on pcomplete-suffix-list.
15499         (pcomplete-pare-list): Remove, unused.
15501 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
15503         * window.el (display-buffer-alist): Set pop-up-window-min-height
15504         and pop-up-window-min-width in default value.  Reported by
15505         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
15506         other-window-means-other-frame.
15507         (display-buffer-macro-specifiers): Comment out entry for
15508         other-window specifier.
15509         (display-buffer-other-window-means-other-frame): New function.
15510         (display-buffer-normalize-specifiers-1): New arguments
15511         buffer-name and label.  Treat other-window case specially.
15512         (display-buffer-normalize-specifiers-2): Treat other-window case
15513         specially.
15514         (display-buffer-normalize-specifiers-3): New function.
15515         (display-buffer-normalize-specifiers):
15516         Call display-buffer-normalize-specifiers-3.
15518 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
15520         * window.el (same-window-p): Fix two typos introduced when
15521         adding with-no-warnings.
15522         (display-buffer-normalize-specifiers-1): Don't check
15523         pop-up-frames for 'unset initialization.
15524         (display-buffer-normalize-specifiers-2): Major rewrite using
15525         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15526         (pop-up-frames, display-buffer-reuse-frames)
15527         (display-buffer-mark-dedicated): Don't initialize to 'unset.
15528         Suggested by David Engster <deng@randomsample.de>.
15529         (even-window-heights): Initialize to 'unset.
15530         (display-buffer-alist-set): Handle new 'unset initializations.
15531         (display-buffer-macro-specifiers): Don't pop up a new frame in the
15532         other window case.
15534 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
15536         * window.el (display-buffer-normalize-specifiers-1):
15537         Respect current value of pop-up-frames for most reasonable values of
15538         second argument of display-buffer (Bug#8865).
15539         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15540         (switch-to-buffer-other-window-same-frame)
15541         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
15542         Adams (Bug#8875).
15543         (display-buffer): Don't check noninteractive when calling
15544         display-buffer-pop-up-frame.
15545         (display-buffer-pop-up-frame): Never pop up a frame in
15546         noninteractive mode (Bug#8857).
15547         (enlarge-window, shrink-window): Don't report an error when the
15548         window can't be resized as requested (Bug#8862).
15550 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15552         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15554         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15556         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15558 2011-06-15  Alan Mackenzie  <acm@muc.de>
15560         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15561         for declarators, disable knr checking to speed up for normal files.
15562         2: Refactor, replacing a sequence of nested if forms by a cond form.
15564 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15566         * net/network-stream.el (open-network-stream): Add the keyword
15567         :always-query-capabilities for the case where you want to force a
15568         `plain' network connection, but the protocol still requires the
15569         capabilitiy command (i.e., SMTP and EHLO).
15571         * subr.el (process-live-p): Rename from `process-alive-p' for
15572         consistency with other `-live-p' functions.
15574 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15576         * window.el (same-window-buffer-names, same-window-regexps)
15577         (special-display-frame-alist, special-display-popup-frame)
15578         (special-display-function, special-display-buffer-names)
15579         (special-display-regexps, pop-up-frame-alist)
15580         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15581         (pop-up-windows, split-window-preferred-function)
15582         (split-height-threshold, split-width-threshold, even-window-heights)
15583         (display-buffer-mark-dedicated): Don't encourage the use of
15584         display-buffer-alist from Elisp code.
15586 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
15588         * progmodes/python.el (python-mode): Derive from prog-mode.
15589         * progmodes/ps-mode.el (ps-mode):
15590         * progmodes/mixal-mode.el (mixal-mode):
15591         * progmodes/cfengine.el (cfengine-mode):
15592         * progmodes/ld-script.el (ld-script-mode): Likewise.
15594 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
15596         * window.el (display-buffer-alist): Trim default value to avoid
15597         popping up a new frame (Bug#8857) or reusing an arbitrary window
15598         on another frame.
15599         (display-buffer): Do not fall back on popping up a new frame in
15600         batch mode (Bug#8857).
15602 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
15604         * cus-theme.el (describe-theme-1): Use custom-theme-p.
15605         (custom-theme-summary): New function.
15606         (customize-themes): Use it.
15608 2011-06-13  Glenn Morris  <rgm@gnu.org>
15610         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15612 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
15614         * help.el (help-window): Remove variable.
15615         (help-window-point-marker, temp-buffer-max-height)
15616         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15617         (help-print-return-message): Don't set help-window.
15618         (resize-temp-buffer-window): Rewrite cod eand doc-string.
15619         (help-window-setup-finish): Remove.
15620         (help-window-display-message, help-window-setup)
15621         (with-help-window): Major rewrite based on new
15622         display-buffer-window variable.
15624         * help-mode.el (help-mode-finish): Remove help-window related
15625         code.
15627         * view.el (view-exits-all-viewing-windows): Remove reference to
15628         view-return-to-alist in doc-string.
15629         (view-return-to-alist): Make obsolete.
15630         (view-buffer): Call pop-to-buffer-same-window and remove
15631         undo-window code.
15632         (view-buffer-other-window): Call pop-to-buffer-other-window and
15633         simplify code.  Ignore second argument.
15634         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15635         simplify code.  Ignore second argument.
15636         (view-return-to-alist-update): Make obsolete.
15637         (view-mode-enter): Rename second argument to QUIT-RESTORE.
15638         Rewrite using quit-restore window parameters.
15639         (view-mode-exit): Rename second argument to EXIT-ONLY.
15640         Rewrite using quit-restore-window.
15641         (View-exit, View-exit-and-edit, View-leave, View-quit)
15642         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15643         appropriate arguments.
15644         (view-end-message): Use quit-restore window parameter.
15646         * window.el (display-buffer-function): Rewrite doc-string.
15647         (display-buffer-window, display-buffer-alist): New variables.
15648         (display-buffer-split-specifiers)
15649         (display-buffer-side-specifiers)
15650         (display-buffer-macro-specifiers): New constants.
15651         (display-buffer-even-window-sizes, display-buffer-set-height)
15652         (display-buffer-set-width, display-buffer-select-window)
15653         (display-buffer-in-window, display-buffer-reuse-window)
15654         (display-buffer-split-window-1, display-buffer-split-window)
15655         (display-buffer-split-atom-window, display-buffer-pop-up-window)
15656         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15657         (display-buffer-in-side-window, normalize-buffer-to-display)
15658         (display-buffer-normalize-specifiers-1)
15659         (display-buffer-normalize-specifiers-2)
15660         (display-buffer-normalize-specifiers, display-buffer-frame):
15661         New functions.
15662         (display-buffer): Major rewrite.
15663         (display-buffer-other-window, display-buffer-other-frame)
15664         (pop-to-buffer, switch-to-buffer-other-window)
15665         (switch-to-buffer-other-frame): Rewrite.
15666         (display-buffer-same-window, display-buffer-same-frame)
15667         (display-buffer-same-frame-other-window)
15668         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15669         (pop-to-buffer-other-window)
15670         (pop-to-buffer-same-frame-other-window)
15671         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15672         (switch-to-buffer-other-window-same-frame): New functions.
15673         (same-window-p, special-display-p): Rewrite disabling warnings.
15674         Make obsolete.
15675         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15676         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15677         Make obsolete
15678         (same-window-buffer-names, same-window-regexps)
15679         (special-display-frame-alist, special-display-popup-frame)
15680         (special-display-function, special-display-buffer-names)
15681         (special-display-regexps, pop-up-frame-alist)
15682         (pop-up-frame-function, split-window-preferred-function)
15683         (split-height-threshold, split-width-threshold)
15684         (even-window-heights): Make obsolete.
15686 2011-06-12  Glenn Morris  <rgm@gnu.org>
15688         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
15689         Misc simplifications.
15691 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
15693         * window.el (window-safely-shrinkable-p): Restore function which
15694         was inadvertently removed in change from 2011-06-11.  Declare as
15695         obsolete.
15697         * calendar/calendar.el (calendar-generate-window):
15698         Use window-iso-combined-p instead of combination of one-window-p and
15699         window-safely-shrinkable-p.
15701 2011-06-12  Glenn Morris  <rgm@gnu.org>
15703         * progmodes/fortran.el (fortran-mode-syntax-table):
15704         * progmodes/f90.el (f90-mode-syntax-table):
15705         Set % to punctuation.  (Bug#8820)
15706         (f90-find-tag-default): Remove, no longer needed.
15708 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
15710         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15712 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
15714         * image.el (image-animated-p): Return animation delay in seconds.
15715         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15716         (image-animate-timeout): Remove DELAY argument.  Don't assume
15717         every subimage has the same delay; get it from image-animated-p.
15718         (image-animate): Caller changed.
15720 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
15722         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15723         to ignored backtrace functions.
15725 2011-06-11  Glenn Morris  <rgm@gnu.org>
15727         * calendar/appt.el (appt-disp-window-function): Doc fix.
15728         (appt-check): Handle overlapping appointments.  (Bug#8337)
15730 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
15732         * window.el (window-tree-1, window-tree): New functions, moving
15733         the latter to window.el.
15734         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15735         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15736         (bw-refresh-edges): Remove.
15737         (balance-windows-1, balance-windows-2): New functions.
15738         (balance-windows): Rewrite in terms of window tree functions,
15739         balance-windows-1 and balance-windows-2.
15740         (bw-adjust-window): Remove.
15741         (balance-windows-area-adjust): New function with functionality of
15742         bw-adjust-window but using resize-window.
15743         (set-window-text-height): Rewrite doc-string.
15744         Use normalize-live-window and resize-window.
15745         (enlarge-window-horizontally, shrink-window-horizontally):
15746         Rename argument to DELTA.
15747         (window-buffer-height): New function.
15748         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15749         Rewrite using new window resize routines.
15750         (kill-buffer-and-window, mouse-autoselect-window-select):
15751         Use ignore-errors instead of condition-case.
15752         (quit-window): Call delete-frame instead of delete-windows-on
15753         for the only buffer on frame.
15755 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
15757         * loadup.el (top-level): Load window before files for the sake
15758         of replace-buffer-in-windows.
15760         * files.el (read-buffer-to-switch)
15761         (switch-to-buffer-other-window)
15762         (switch-to-buffer-other-frame, display-buffer-other-frame):
15763         Move to window.el.
15765         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15766         (previous-buffer): Move to window.el.
15768         * bindings.el (unbury-buffer): Move to window.el.
15770         * window.el (delete-other-windows-vertically): Move after
15771         definition of delete-other-windows.
15772         (other-window, delete-windows-on, replace-buffer-in-windows):
15773         Move here from window.c.
15774         (record-window-buffer, unrecord-window-buffer)
15775         (set-window-buffer-start-and-point, switch-to-prev-buffer)
15776         (switch-to-next-buffer): New functions.
15777         (get-next-valid-buffer, last-buffer, next-buffer): Move here
15778         from simple.el.  Call switch-to-next-buffer.
15779         (previous-buffer): Move here from simple.el.
15780         Call switch-to-prev-buffer.
15781         (bury-buffer): Move here from buffer.c.  Switch to previous
15782         buffer when window cannot be deleted.
15783         (unbury-buffer): Move here from bindings.el.
15784         (ctl-x-map): Move binding for other-window from window.c to
15785         here.
15786         (read-buffer-to-switch, switch-to-buffer-other-window)
15787         (switch-to-buffer-other-frame): Move here from files.el.
15788         (normalize-buffer-to-switch-to): New functions.
15789         (switch-to-buffer): Move here from buffer.c.
15790         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
15792 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
15794         * window.el (window-min-height, window-min-width): Move here
15795         from window.c.  Add defcustoms and rewrite doc-strings.
15796         (resize-mini-window, resize-window): New functions.
15797         (adjust-window-trailing-edge, enlarge-window, shrink-window):
15798         Move here from window.c.
15799         (maximize-window, minimize-window): New functions.
15800         (delete-window, delete-other-windows, split-window): Move here
15801         from window.c.
15802         (window-split-min-size): New function.
15803         (split-window-keep-point): Mention split-window-above-each-other
15804         instead of split-window-vertically.
15805         (split-window-above-each-other, split-window-vertically):
15806         Rename split-window-vertically to split-window-above-each-other
15807         and provide defalias for old definition.
15808         (split-window-side-by-side, split-window-horizontally):
15809         Rename split-window-horizontally to split-window-side-by-side
15810         and provide defalias for the old definition.
15811         (ctl-x-map): Move bindings for delete-window,
15812         delete-other-windows and enlarge-window here from window.c.
15813         Replace bindings for split-window-vertically and
15814         split-window-horizontally by bindings for
15815         split-window-above-each-other and split-window-side-by-side.
15817         * cus-start.el (all): Remove entries for window-min-height and
15818         window-min-width.  Add entries for window-splits and
15819         window-nest.
15821 2011-06-09  Glenn Morris  <rgm@gnu.org>
15823         * calendar/appt.el (appt-mode-line): New function.
15824         (appt-check, appt-disp-window): Use it.
15826         * files.el (hack-one-local-variable-eval-safep):
15827         Allow minor-modes with explicit +/-1 arguments.
15829 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
15831         * term/xterm.el (xterm): Add defgroup.
15832         (xterm-extra-capabilities): Add defcustom to supply known xterm
15833         capabilities, skip querying them, or query them (default).
15834         (terminal-init-xterm): Use it.
15835         (terminal-init-xterm-modify-other-keys): New function to set up
15836         modifyOtherKeys support to simplify `terminal-init-xterm'.
15838 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
15840         * window.el (resize-window-reset, resize-window-reset-1)
15841         (resize-subwindows-skip-p, resize-subwindows-normal)
15842         (resize-subwindows, resize-other-windows, resize-this-window)
15843         (resize-root-window, resize-root-window-vertically)
15844         (window-deletable-p, window-or-subwindow-p)
15845         (frame-root-window-p): New functions.
15847 2011-06-09  Glenn Morris  <rgm@gnu.org>
15849         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15850         (ange-ftp-get-files): Use it.
15852 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
15854         * mail/sendmail.el (mail-recover-1, mail-recover):
15855         * files.el (recover-file, recover-session):
15856         Handle dired-listing-switches not being just a single short option.
15858 2011-06-09  Glenn Morris  <rgm@gnu.org>
15860         * calendar/appt.el (appt-display-message, appt-disp-window):
15861         Handle lists of appointments.
15863 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
15865         * window.el (one-window-p): Move down in code.
15866         Rewrite doc-string.
15867         (window-current-scroll-bars): Rewrite doc-string.
15868         Normalize live window argument.
15869         (walk-windows, get-window-with-predicate, count-windows):
15870         Rewrite doc-string.  Use window-list-1.
15871         (window-in-direction-2, window-in-direction, get-mru-window):
15872         New functions.
15874 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
15876         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15877         Doc fix (Bug#8713).
15879 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
15881         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15883 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
15885         * loadhist.el (unload-feature-special-hooks):
15886         Add `comint-output-filter-functions'.
15888 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
15890         * calendar/appt.el (appt-check): Move some initializations into the let.
15892 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
15894         * window.el (window-height): Defalias to window-total-height.
15895         (window-width): Defalias to window-body-width.
15897 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
15899         * image-mode.el (image-toggle-animation): New command.
15900         (image-mode-map): Bind it to RET.
15901         (image-mode): Update message.
15902         (image-toggle-display-image): Avoid a spurious cache flush.
15903         (image-transform-rotation): Doc fix.
15904         (image-transform-properties): Return quickly in the normal case.
15905         (image-animate-loop): Rename from image-animate-max-time.
15907         * image.el (image-animate-max-time): Move to image-mode.el.
15908         (create-animated-image): Remove unnecessary function.
15909         (image-animate): Rename from image-animate-start.  New arg.
15910         (image-animate-stop): Remove; just use image-animate-timer.
15911         (image-animate-timer): Use car-safe.
15912         (image-animate-timeout): Rename argument.
15914 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
15916         * window.el (get-lru-window, get-largest-window): Move here from
15917         window.c.  Rename first argument to ALL-FRAMES.
15918         Rephrase doc-strings.
15919         (get-buffer-window-list): Rewrite using window-list-1.
15920         Rephrase doc-string.
15921         (window-safe-min-height, window-safe-min-width): New constants.
15922         (window-size-ignore, window-min-size, window-min-size-1)
15923         (window-sizable, window-sizable-p, window-size-fixed-1)
15924         (window-size-fixed-p, window-min-delta-1, window-min-delta)
15925         (window-max-delta-1, window-max-delta, window-resizable)
15926         (window-resizable-p, window-total-height, window-total-width)
15927         (window-body-width): New functions.
15928         (window-full-height-p, window-full-width-p): Rewrite using
15929         window-total-size.
15930         (window-body-height): Rewrite using window-body-size.
15932 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
15934         * window.el (window-right, window-left, window-child)
15935         (window-child-count, window-last-child, window-any-p)
15936         (normalize-live-buffer, normalize-live-frame)
15937         (normalize-any-window, normalize-live-window)
15938         (window-iso-combination-p, window-iso-combined-p)
15939         (window-iso-combinations)
15940         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15941         (windows-with-parameter, window-with-parameter)
15942         (window-atom-root, make-window-atom, window-atom-check-1)
15943         (window-atom-check, window-side-check, window-check):
15944         New functions.
15945         (ignore-window-parameters, window-sides, window-sides-vertical)
15946         (window-sides-slots): New variables.
15947         (window-size-fixed): Move down in code.  Minor doc-string fix.
15949 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
15951         * comint.el (comint-dynamic-complete-as-filename)
15952         (comint-dynamic-complete-filename): Correctly call
15953         completion-in-region.
15955 2011-06-05  Deniz Dogan  <deniz@dogan.se>
15957         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15958         in last change.
15960 2011-06-05  Deniz Dogan  <deniz@dogan.se>
15962         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15963         (rcirc): Use it to prompt for encryption.
15965 2011-06-05  Roland Winkler  <winkler@gnu.org>
15967         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15968         (bibtex-search-entries): New command bound to C-c C-a.
15969         (bibtex-display-entries): New function.
15971 2011-06-05  Roland Winkler  <winkler@gnu.org>
15973         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15974         (bibtex-insert-kill): After yanking insert newline if necessary.
15975         (bibtex-initialize): Call bibtex-string-files-init only once.
15976         (bibtex-mode): Do not call easy-menu-add.
15977         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15978         (bibtex-yank): Set arg properly if nil.
15980 2011-06-05  Roland Winkler  <winkler@gnu.org>
15982         * textmodes/bibtex.el (bibtex-search-entry-globally):
15983         New variable.
15984         (bibtex-search-entry): Use it.
15986 2011-06-05  Roland Winkler  <winkler@gnu.org>
15988         * textmodes/bibtex.el (bibtex-entry-format): New option
15989         sort-fields.
15990         (bibtex-format-entry, bibtex-reformat): Honor this option.
15991         (bibtex-parse-entry): Return fields in proper order.
15993 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
15995         * doc-view.el (doc-view-remove-if): Move computation of result out
15996         of `dolist' to silence misleading lexical-binding warning.
15998 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
16000         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16001         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16003 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
16005         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16006         "SunOS 5.10".
16008 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
16010         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16011         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16012         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16013         (tramp-parse-putty):
16014         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16015         (tramp-completion-function-alist-ssh)
16016         (tramp-completion-function-alist-telnet)
16017         (tramp-completion-function-alist-su)
16018         (tramp-completion-function-alist-putty): Set `tramp-autoload'
16019         cookie.
16021         * net/tramp-ftp.el:
16022         * net/tramp-sh.el:
16023         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16024         load "tramp.el" `tramp-set-completion-function'.
16026 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16028         * shell.el: Require and use pcomplete.
16029         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16030         (shell-completion-vars): Set pcomplete-default-completion-function.
16032 2011-06-04  Deniz Dogan  <deniz@dogan.se>
16034         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16035         `memq' (Bug#8799).
16037 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16039         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16041 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
16043         * bs.el (bs--mark-unmark, bs--nth-wrapper):
16044         * mpc.el (mpc-select-extend, mpc-songpointer-context):
16045         * vc/log-view.el (log-view-beginning-of-defun):
16046         * vc/smerge-mode.el (smerge-apply-resolution-patch)
16047         (smerge-refine-forward, smerge-refine-chopup-region):
16048         Silence warning for unused `dotimes' counter variables.
16050 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16052         * net/tramp.el (tramp-with-progress-reporter): Rename from
16053         with-progress-reporter.  Use `declare'.
16054         * net/tramp-smb.el:
16055         * net/tramp-sh.el:
16056         * net/tramp-gvfs.el: Update all uses.
16058 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
16060         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16061         buffer isn't killed before making it current.
16063 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16065         Silence various byte-compiler warnings.
16066         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16067         `access-type' and new obsolescence format.
16068         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16069         new format.
16070         (byte-compile-check-variable): New `access-type' argument.
16071         Only warn if the access-type is obsolete.
16072         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16073         (byte-compile-variable-set): Adjust callers.
16074         * help-fns.el (describe-variable): Adjust to new obsolescence format.
16075         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16076         setting it as obsolete.
16077         * simple.el (minibuffer-completing-symbol):
16078         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16079         access as obsolete.
16080         * minibuffer.el (minibuffer-completing-file-name): Don't make it
16081         obsolete yet.
16082         * international/quail.el (quail-mouse-choose-completion): Remove unused
16083         code referring to obsolete var.
16084         (quail-choose-completion-string): Remove.
16085         * server.el (server-clients-with, server-kill-buffer-query-function)
16086         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16087         * proced.el (proced-send-signal):
16088         * emacs-lisp/lisp.el (lisp-complete-symbol):
16089         Replace completion-annotate-function with completion-extra-properties.
16091 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16093         * simple.el (goto-line): Use read-number.
16094         (overriding-map-is-bound): Remove.
16095         (saved-overriding-map): Change default.
16096         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16097         Take the map as argument.
16098         (universal-argument, negative-argument, digit-argument): Use it.
16099         (restore-overriding-map): Adjust.
16100         (do-auto-fill): Use fill-forward-paragraph.
16101         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16103         * minibuffer.el (minibuffer-inactive-mode-map): New var.
16104         (minibuffer-inactive-mode): New major mode.
16105         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16106         the *Messages* buffer" hack.
16107         (mouse-popup-menubar): Don't burp if the event is a normal key.
16109         Miscellaneous tweaks.
16110         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16111         lexical scoping as in subr.el's dolist and dotimes.
16112         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16113         Silence compiler warning.
16114         * thingatpt.el (forward-whitespace): Trivial coding style fix.
16115         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16116         * international/ccl.el (ccl-compile): Trivial simplification.
16117         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16118         * emacs-lisp/testcover.el (testcover-end): Remove spurious
16119         `printflag' argument.
16120         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16121         Purecopy the whole obsolescence data.
16123 2011-06-01  Leo Liu  <sdl.web@gmail.com>
16125         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16126         improve doc-string as suggested by Marco Pessotto
16127         <melmothx@gmail.com>.
16128         (rcirc-print): Fix last change.
16130 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16132         * minibuffer.el (complete-with-action): Return nil for the metadata and
16133         boundaries of non-functional tables.
16134         (completion-table-dynamic): Return nil for the metadata.
16135         (completion-table-with-terminator): Add default case, using
16136         complete-with-action.
16137         (completion--metadata): New function.
16138         (completion-all-sorted-completions, minibuffer-completion-help): Use it
16139         to try and avoid pathological performance problems.
16140         (completion--embedded-envvar-table): Return `category' metadata.
16142 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16144         * subr.el (process-alive-p): New tiny convenience function.
16146 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16148         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16149         content but also its previous major mode.
16151 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
16153         * emacs-lisp/debug.el (debug): Restore the previous content of the
16154         *Backtrace* buffer when we exit with C-M-c.
16156 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16158         * minibuffer.el: Add metadata method to completion tables.
16159         (completion-category-overrides): New defcustom.
16160         (completion-metadata, completion--field-metadata)
16161         (completion-metadata-get, completion--styles)
16162         (completion--cycle-threshold): New functions.
16163         (completion-try-completion, completion-all-completions):
16164         Add `metadata' argument to choose completion-styles.
16165         (completion--do-completion): Use metadata to choose cycling.
16166         (completion-all-sorted-completions): Use metadata for sorting.
16167         Remove :completion-cycle-penalty which is not needed any more.
16168         (completion--try-word-completion): Add `metadata' argument.
16169         (minibuffer-completion-help): Check metadata for annotation function
16170         and sorting.
16171         (completion-file-name-table): Return `category' metadata.
16172         (minibuffer-completing-file-name): Make obsolete.
16173         * simple.el (minibuffer-completing-symbol): Make obsolete.
16174         * icomplete.el (icomplete-completions): Pass new `metadata' param to
16175         completion-try-completion.
16177 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16179         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16181 2011-05-30  Leo Liu  <sdl.web@gmail.com>
16183         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16184         (rcirc-print): Decode all incoming messages (bug#8744).
16185         (rcirc-decode-coding-system): Allow value nil for automatic coding
16186         system detection.
16188 2011-06-01  Glenn Morris  <rgm@gnu.org>
16190         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16192 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16194         * image.el (image-animate-max-time): Allow nil and t values.
16195         Default to nil.
16196         (create-animated-image): Doc fix.
16197         (image-animate-start): Remove second arg; just use
16198         image-animate-max-time.
16199         (image-animate-timeout): Doc fix.  Args changed.
16201         * image-mode.el (image-toggle-display-image): Ensure that the
16202         image spec passed to the animate timer is the same object as in
16203         the buffer's display property (Bug#6981).
16204         (image-transform-properties): Doc fix.
16206         * image.el (image-animate-max-time): Default to nil.
16208 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
16210         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16211         entire buffer list (Bug#8184).
16213 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16215         * image.el (imagemagick-types-inhibit)
16216         (imagemagick-register-types): Doc fix.
16218 2011-05-29  Deniz Dogan  <deniz@dogan.se>
16220         * net/rcirc.el (rcirc): Use the user's stored encryption method by
16221         default.
16223 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16225         * select.el: Don't perform clipboard-manager saving in hooks;
16226         leave the hooks empty.
16228 2011-05-28  Leo Liu  <sdl.web@gmail.com>
16230         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16231         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
16232         (occur-edit-mode): New major mode (Bug#8463).
16233         (occur-after-change-function): New function.
16234         (occur-engine): Give Occur tags a read-only property.
16236 2011-05-28  Kevin Ryde  <user42@zip.com.au>
16238         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16240 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16242         * bindings.el (help-echo): Make the initial non-indicator dash
16243         empty on graphical terminals (Bug#7295).
16245         * files.el (auto-mode-alist): Move config rule after the
16246         in-stripping one (Bug#8547).
16248         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16250         * startup.el (normal-splash-screen): Remove gratuitous mode-line
16251         setting (Bug#8740).
16253 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
16255         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16256         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16257         (Bug#8539).
16259 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16261         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16263 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
16265         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16266         (hs-hide-block-at-point, hs-find-block-beginning)
16267         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16268         (Bug#8279).
16270 2011-05-28  Glenn Morris  <rgm@gnu.org>
16272         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
16274 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16276         * help-fns.el (describe-function-1): If the function is a derived
16277         major mode, print the parent mode.
16279         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16280         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16282 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16284         * minibuffer.el (completion--capf-wrapper): Check applicability before
16285         returning non-nil for non-exclusive completion data.
16286         * progmodes/etags.el (tags-completion-at-point-function):
16287         * info-look.el (info-lookup-completions-at-point): Mark as
16288         non-exclusive.
16289         (info-complete): Adjust accordingly.
16291         * info-look.el: Convert to lexical-binding and completion-at-point.
16292         (info-lookup-completions-at-point): New function.
16293         (info-complete): Use it and completion-in-region.
16295 2011-05-28  Drew Adams  <drew.adams@oracle.com>
16297         * isearch.el: Let M-e start with point at the first mismatched char.
16298         (isearch-fail-pos): New function.
16299         (isearch-edit-string): Use it.
16301 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
16303         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16305 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
16307         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
16308         traversal functions for avl-trees.
16309         (avl-tree--stack): New struct.
16310         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16311         (avl-tree-enter): Add optional `updatefun' arg.
16312         (avl-tree--do-enter): Add optional `updatefun' arg.
16313         Change return value.
16314         (avl-tree-delete): Add optional `test' and `nilflag' args.
16315         (avl-tree--do-delete): Add `test' and `nilflag' args.
16316         Change return value.
16317         (avl-tree-member): Add optional `nilflag'
16318         (avl-tree-member-p): New function.
16319         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16320         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16321         (avl-tree-stack-empty-p): New functions.
16323         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16324         avl-tree--del-balance1 and make it work both ways.
16325         (avl-tree--del-balance2): Remove.
16326         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16327         make it work both ways.
16328         (avl-tree--enter-balance2): Remove.
16329         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16330         New macros.
16331         (avl-tree--mapc, avl-tree-map): Add direction argument.
16333 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
16335         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16337 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
16339         * select.el: Support clipboard managers with built-in function
16340         x-clipboard-manager-save, via delete-frame-functions and
16341         kill-emacs-hook.
16342         (xselect-convert-to-targets): Add MULTIPLE target to list.
16343         (xselect-convert-to-save-targets): New function.
16345 2011-05-27  Kenichi Handa  <handa@m17n.org>
16347         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16348         let-binding rfc2047-encode-encoded-words to nil.
16350 2011-05-27  Glenn Morris  <rgm@gnu.org>
16352         * mail/emacsbug.el: Don't require url-util.
16354         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
16356         * files.el (set-auto-mode):
16357         Also respect mode: entries at the end of the file.  (Bug#8586)
16359 2011-05-26  Glenn Morris  <rgm@gnu.org>
16361         * files.el (hack-local-variables-prop-line, hack-local-variables):
16362         Downcase mode names, as seems to be traditional.
16363         (hack-local-variables, hack-local-variables-apply): Doc fixes.
16365         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16366         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
16368 2011-05-25  Julien Danjou  <julien@danjou.info>
16370         * textmodes/rst.el (rst-define-level-faces): Do not define face
16371         symbol if it is already defined.
16373 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16375         * play/5x5.el (5x5-new-game, 5x5-randomize):
16376         Reset 5x5-solver-output to nil when a new grid is cast.
16377         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16378         these debugging traces, as defmacro breaks the compiled code.
16380 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
16382         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16384 2011-05-24  Leo Liu  <sdl.web@gmail.com>
16386         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16387         (vc-bzr-sha1): Adapt.
16389         * sha1.el: Remove.  Function `sha1' is now builtin.
16391         * bindings.el: Provide sha1 feature.
16393 2011-05-24  Kenichi Handa  <handa@m17n.org>
16395         * mail/sendmail.el: Require `rfc2047'.
16396         (mail-insert-from-field): Do not perform RFC2047 encoding.
16397         (mail-encode-header): New function.
16398         (sendmail-send-it): Set buffer-file-coding-system of the work
16399         buffer to the return value of select-message-coding-system.
16400         Call mail-encode-header.
16402         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16404 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
16406         * mail/supercite.el (sc-default-cite-frame):
16407         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16409 2011-05-24  Glenn Morris  <rgm@gnu.org>
16411         * progmodes/python.el (brm-menu): Declare.
16413         * emulation/viper.el (viper-set-hooks): Declare.
16415         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16416         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16417         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16418         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16419         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16420         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16422 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16424         Add an :exit-function for completion-at-point.
16426         * minibuffer.el (completion--done): New fun.
16427         (completion--do-completion): Use it.  New arg `expect-exact'.
16428         (minibuffer-complete, minibuffer-complete-word): Don't output message,
16429         since completion--do-completion does it for us now.
16430         (minibuffer-force-complete): Use completion--done and
16431         completion--replace.  Handle sole-completion case with more care.
16432         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16433         (completion-extra-properties): New var.
16434         (completion-annotate-function): Make obsolete.
16435         (minibuffer-completion-help): Adjust accordingly.
16436         Use completion-list-insert-choice-function.
16437         (completion-at-point, completion-help-at-point):
16438         Bind completion-extra-properties.
16439         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16440         * simple.el (completion-list-insert-choice-function): New var.
16441         (completion-setup-function): Preserve it.
16442         (choose-completion): Pay attention to it, shuffle the code a bit.
16443         (choose-completion-string): New arg `insert-function'.
16445         * textmodes/bibtex.el: Convert to lexical binding.
16446         (bibtex-mode-map): Use completion-at-point.
16447         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16448         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16449         (bibtex-complete): Define as obsolete alias.
16450         (bibtex-complete-internal): Remove.
16451         (bibtex-format-entry): Remove unused sub-group in regexp.
16452         * shell.el (shell--command-completion-data)
16453         (shell-environment-variable-completion):
16454         * pcomplete.el (pcomplete-completions-at-point):
16455         * comint.el (comint--complete-file-name-data): Use :exit-function
16456         instead of completion-table-with-terminator so it also works for
16457         choose-completion.
16459 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16461         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16463         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16464         (bug#8710).
16466         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16468 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
16470         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16471         customization variable and implement: If non-nil, auto-fill will
16472         be inhibited while on topic's header line.
16474 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16476         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
16477         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
16478         always have a solution in grid size = 5 cases.
16479         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16480         (5x5-solver-output, 5x5-log-buffer): New vars.
16481         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16482         Make these variables buffer local to achieve 5x5 multi-session-ness.
16483         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16484         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16485         (5x5-solve-suggest): New funs.
16486         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16487         randomize a grid so that we ensure that there is always a solution.
16488         (5x5-make-random-grid): Allow other movement than flipping.
16490 2011-05-23  Kevin Ryde  <user42@zip.com.au>
16492         * emacs-lisp/advice.el (ad-read-advised-function):
16493         Use `function-called-at-point' as the default, if it has
16494         advice and passes PREDICATE.
16496 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16498         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16499         byte-compile-lambda if it's actually a lambda.
16501         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16502         Fix function quoting.  Use backquote better.
16504 2011-05-22  Yuanle Song  <sylecn@gmail.com>
16506         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16507         matching (Bug#8516).
16509 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
16511         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16512         different face (Bug#8178).
16514 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
16516         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16517         defface (Bug#8144).
16519 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16521         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16522         funcall as well (bug#8712).  Warn when performing those conversions.
16523         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16525         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16527 2011-05-22  Glenn Morris  <rgm@gnu.org>
16529         * files.el (hack-local-variables-prop-line): Small simplifications.
16530         (hack-local-variables, hack-local-variables-prop-line):
16531         If MODE-ONLY, return the mode, rather than just `t'.
16533 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16535         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16537 2011-05-21  Glenn Morris  <rgm@gnu.org>
16539         * files.el (hack-local-variables-prop-line, hack-local-variables):
16540         If only interested in the mode, don't bother doing the other stuff.
16542         * image-mode.el (image-after-revert-hook):
16543         Redraw all frames on which the image is visible.  (Bug#8567)
16545         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
16547         * wid-edit.el (widget-checklist-match-inline):
16548         Fix 2011-04-19 change.  (Bug#8649)
16550 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16552         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16553         Also allow singlespace after single-letter capitals followed by a dot.
16555         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16556         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16558 2011-05-20  Nix  <nix@esperi.org.uk>
16560         * files.el (basic-save-buffer-2):
16561         Fix handling of break-hardlink-on-save with non-existent files.
16563 2011-05-19  Deniz Dogan  <deniz@dogan.se>
16565         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
16566         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
16568 2011-05-19  Glenn Morris  <rgm@gnu.org>
16570         * progmodes/f90.el (f90-type-def-re):
16571         Handle "type, bind(c)".  (Bug#8691)
16573         * emacs-lisp/autoload.el (batch-update-autoloads):
16574         Set autoload-excludes by parsing loadup.el rather than Makefiles.
16576 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
16578         * net/tramp.el (tramp-process-actions): Set "first-password-request"
16579         property for the correct connection in case of multihops.
16581 2011-05-18  Glenn Morris  <rgm@gnu.org>
16583         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
16584         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16586         Rationalize calendar handling of day and month abbrev-arrays.
16587         * calendar/calendar.el (calendar-customized-p): New function.
16588         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16589         (calendar-day-name-array, calendar-month-name-array): Doc fix.
16590         Add :set function.
16591         (calendar-abbrev-length, calendar-day-abbrev-array)
16592         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16593         (calendar-day-abbrev-array, calendar-month-abbrev-array):
16594         Elements may no longer be nil.
16595         (calendar-day-name, calendar-month-name):
16596         Update for changed nature of abbrev arrays.
16597         * calendar/diary-lib.el (diary-name-pattern):
16598         Update for changed nature of abbrev arrays.
16599         (diary-mark-entries-1): Update calendar-make-alist calls.
16600         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16601         * calendar/cal-html.el (cal-html-day-abbrev-array):
16602         Simply inherit from calendar-day-abbrev-array.
16604 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16606         * progmodes/grep.el (grep-mode): Disable default
16607         compilation-directory-matcher setting (bug#8684).
16609 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
16611         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16612         instead of "head" and "tail".  There were problems with SunOS 5.9,
16613         and it performs better.
16615 2011-05-17  Glenn Morris  <rgm@gnu.org>
16617         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16619         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16620         Replace obsolete function.
16622         * shell.el (pcomplete-parse-arguments-function): Declare.
16624         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16625         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16626         (appt-check): Doc fixes.
16627         (appt-disp-window-function, appt-delete-window-function):
16628         Remove needless special case in custom :type.
16629         (appt-display-count): Default to 0, not nil.
16630         (appt-check): Reset appt-display-count to 0, not nil.
16632 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
16634         * progmodes/python.el (python-font-lock-keywords):
16635         Add the Python 3.X keyword "nonlocal" (bug#8639).
16637 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16639         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16641 2011-05-16  Kevin Ryde  <user42@zip.com.au>
16643         * info-look.el (makefile-automake-mode): New setups, looking in
16644         automake manual, then makefile-mode.
16645         (makefile-mode): Remove automake manual, have it just in
16646         makefile-automake-mode since there's various things different or
16647         not relevant to plain make.
16648         (makefile-mode): Remove "other-modes" non-existent automake-mode,
16649         believe a hypothetical automake-mode would go to makefile-mode,
16650         not the other way around.
16652 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
16654         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16655         hunk-end tags (Bug#8672).
16657         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16658         vc-annotate-show-diff-revision-at-line (Bug#8671).
16660 2011-05-14  Glenn Morris  <rgm@gnu.org>
16662         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16663         in the middle of an existing one with multiple authors.  (Bug#8645)
16664         (change-log-font-lock-keywords): Also handle multiple author lines
16665         with leading tabs.  (Bug#8644)
16667         * calendar/appt.el (appt-check): Rename some local variables.
16668         Some simplification/reordering.
16670         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16671         (feedmail-sendmail-f-doesnt-sell-me-out)
16672         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16673         (feedmail-debug-sit-for, feedmail-queue-express-hook)
16674         (feedmail-queue-runner-message-sender): Set :version.
16675         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16676         (bbdb-dwim-net-address, vm-mail): Declare.
16677         (feedmail-binmail-gnulinuxish-template):
16678         Rename from feedmail-binmail-linuxish-template.
16679         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16680         Use insert-buffer-substring.
16682 2011-05-14  Bill Carpenter  <bill@carpenter.org>
16684         * mail/feedmail.el (feedmail-patch-level): Increase.
16685         (feedmail-debug): New custom group.
16686         (feedmail-confirm-outgoing-timeout)
16687         (feedmail-sendmail-f-doesnt-sell-me-out)
16688         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16689         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16690         (feedmail-sender-line, feedmail-from-line)
16691         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
16692         (feedmail-spray-this-address)
16693         (feedmail-spray-address-fiddle-plex-list)
16694         (feedmail-queue-use-send-time-for-date)
16695         (feedmail-queue-use-send-time-for-message-id)
16696         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16697         (feedmail-buffer-eating-function):
16698         Doc fixes.
16699         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16700         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16701         (feedmail-message-action-scroll-down): New functions.
16702         (feedmail-queue-directory, feedmail-queue-draft-directory):
16703         Use expand-file-name.
16704         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16705         Remove C-v help entry.
16706         (feedmail-queue-buffer-file-name): New variable.
16707         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16708         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16709         (feedmail-message-action-send-strong, feedmail-message-action-edit)
16710         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16711         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16712         (feedmail-message-action-toggle-spray)
16713         (feedmail-run-the-queue-no-prompts)
16714         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16715         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16716         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16717         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16718         (feedmail-envelope-deducer, feedmail-fiddle-from)
16719         (feedmail-fiddle-sender, feedmail-default-date-generator)
16720         (feedmail-fiddle-date, feedmail-fiddle-message-id)
16721         (feedmail-fiddle-spray-address)
16722         (feedmail-fiddle-list-of-spray-fiddle-plexes)
16723         (feedmail-fiddle-list-of-fiddle-plexes)
16724         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16725         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16726         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16727         Change default.  Doc fix.
16728         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16729         (feedmail-binmail-linuxish-template): New constant.
16730         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
16731         Respect feedmail-sendmail-f-doesnt-sell-me-out.
16732         (feedmail-send-it): Add debug call.
16733         Use feedmail-queue-buffer-file-name, and
16734         feedmail-send-it-immediately-wrapper.
16735         (feedmail-message-action-send): Add debug call.
16736         Use feedmail-send-it-immediately-wrapper.
16737         (feedmail-queue-express-to-queue): Add debug call.
16738         Run feedmail-queue-express-hook.
16739         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
16740         (feedmail-message-action-help-blat):
16741         Rename from feedmail-queue-send-edit-prompt-help-first.
16742         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
16743         Check line-endings.  Handle errors better.
16744         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16745         Doc fix.  Add debug call.
16746         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
16747         Use feedmail-queue-send-edit-prompt-inner.
16748         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16749         (feedmail-queue-send-edit-prompt-inner): New function, extracted
16750         from feedmail-queue-send-edit-prompt.
16751         (feedmail-queue-send-edit-prompt-help)
16752         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16753         (feedmail-tidy-up-slug): Add debug call.
16754         Respect feedmail-queue-slug-suspect-regexp.
16755         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16756         (feedmail-dump-message-to-queue): Add debug call.
16757         Expand queue-directory.
16758         (feedmail-dump-message-to-queue): Change message slightly.
16759         Use feedmail-say-chatter.
16760         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
16761         (feedmail-send-it-immediately-wrapper): New function.
16762         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
16763         Insert empty string rather than newline.  Handle full-frame case.
16764         Use catch/throw.  Use feedmail-say-chatter.
16765         (feedmail-fiddle-from): Try mail-host-address.
16766         (feedmail-default-message-id-generator): Doc fix.
16767         Bind system-time-locale.  Handle missing end.
16768         (feedmail-fiddle-x-mailer): Add debug call.
16769         Handle feedmail-x-mailer-line being nil.
16770         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16771         Add debug call.  Use buffer-substring-no-properties.
16772         (feedmail-say-debug, feedmail-say-chatter): New functions.
16773         (feedmail-find-eoh): Give an explicit error.
16775 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
16777         * net/newst-treeview.el (newsticker-treeview-face): Change default
16778         family from helvetica to sans.
16779         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
16780         etc/images/newsticker.
16782         * net/newst-reader.el (newsticker-feed-face): Change default
16783         family from helvetica to sans.
16785         * net/newst-plainview.el (newsticker-new-item-face)
16786         (newsticker-old-item-face, newsticker-immortal-item-face)
16787         (newsticker-obsolete-item-face, newsticker-date-face)
16788         (newsticker-statistics-face): Change default family from
16789         helvetica to sans.
16790         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
16791         etc/images/newsticker.
16793         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16794         (newsticker--process-auto-mark-filter-match): Tell user about
16795         auto-marking.
16797 2011-05-13  Didier Verna  <didier@xemacs.org>
16799         Common Lisp indentation improvements on defmethod and lambda-lists.
16800         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16801         TODO entries.
16802         (lisp-lambda-list-keyword-parameter-indentation)
16803         (lisp-lambda-list-keyword-parameter-alignment)
16804         (lisp-lambda-list-keyword-alignment): New customizable user options.
16805         (lisp-indent-defun-method): Improve docstring.
16806         (extended-loop-p): Fix comment.
16807         (lisp-indent-lambda-list-keywords-regexp): New variable.
16808         (lisp-indent-lambda-list): New function.
16809         (lisp-indent-259): Use it.
16810         (lisp-indent-defmethod): Support for more than one
16811         method qualifier and properly indent methods lambda-lists.
16812         (defgeneric): Provide a missing common-lisp-indent-function property.
16814 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16816         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16817         bounds for the empty string (bug#8667).
16819 2011-05-13  Glenn Morris  <rgm@gnu.org>
16821         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16823         * mail/sendmail.el (sendmail-program): Try executable-find first.
16824         (sendmail-send-it): `sendmail-program' cannot be unbound.
16826         * calendar/appt.el (appt-make-list): Simplify.
16827         (appt-time-msg-list): Doc fix.
16828         (appt-check): Change mode-line message at the time of the appointment.
16830 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
16832         * progmodes/ld-script.el (ld-script-keywords)
16833         (ld-script-builtins): Update keywords list.
16835 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16837         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16839         * shell.el (shell-completion-vars): New function.
16840         (shell-mode):
16841         * simple.el (read-shell-command): Use it.
16842         (blink-matching-open): No need for " [...]" in minibuffer-message.
16844 2011-05-12  Glenn Morris  <rgm@gnu.org>
16846         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16847         (appt-check): Simplify.
16849 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
16851         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
16852         literal "/dev/null".
16854 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16856         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16857         Fix typo.
16859 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
16861         * progmodes/which-func.el (which-function):
16862         Use add-log-current-defun instead of add-log-current-defun-function,
16863         which might not be defined (Bug#8260).
16865 2011-05-12  Glenn Morris  <rgm@gnu.org>
16867         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16868         Let byte-compile-initial-macro-environment always take precedence.
16870 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16872         * net/rcirc.el: Add support for SSL/TLS connections.
16873         (rcirc-server-alist): New field `encryption'.
16874         (rcirc): Check `encryption' settings.
16875         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
16876         Merge make-local-variable into `set'.
16877         (rcirc--connection-open-p): New function.
16878         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16879         the process is not a network process (e.g. running gnutls-cli).
16880         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16881         Make rcirc-(en|de)code-coding-system local here.
16882         (rcirc-mode): Merge make-local-variable into `set'.
16883         (rcirc-parent-buffer): Make permanent buffer-local.
16884         (rcirc-multiline-minor-mode): Don't do it here.
16885         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16886         there's no server buffer.
16888 2011-05-11  Glenn Morris  <rgm@gnu.org>
16890         * newcomment.el (comment-kill): Prefix "unused" local.
16892         * term/w32console.el (get-screen-color): Declare.
16894         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16895         Handle symbol elements of byte-compile-initial-macro-environment.
16897 2011-05-10  Leo Liu  <sdl.web@gmail.com>
16899         * bookmark.el (bookmark-bmenu-mode-map):
16900         Bind bookmark-bmenu-search to `/'.
16902         * mail/footnote.el: Convert to utf-8 encoding.
16903         (footnote-unicode-string, footnote-unicode-regexp): New variable.
16904         (Footnote-unicode): New function.
16905         (footnote-style-alist): Add unicode style to the list.
16906         (footnote-style): Doc fix.
16908 2011-05-10  Jim Meyering  <meyering@redhat.com>
16910         Fix doubled-word typos.
16911         * international/quail.el (quail-insert-kbd-layout): and and -> and
16912         * kermit.el: and and -> and
16913         * net/ldap.el (ldap-search-internal): to to -> to
16914         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16915         * progmodes/js.el (js-mode): and and -> and
16916         * textmodes/artist.el (artist-move-to-xy): at at -> at
16917         (artist-draw-region-trim-line-endings): if if -> if
16918         And Safetyc -> Safety.
16919         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16921 2011-05-10  Glenn Morris  <rgm@gnu.org>
16922             Stefan Monnier  <monnier@iro.umontreal.ca>
16924         * files.el (hack-one-local-variable-eval-safep):
16925         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
16927 2011-05-10  Glenn Morris  <rgm@gnu.org>
16929         * calendar/diary-lib.el (diary-list-entries-hook)
16930         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16931         (diary-nongregorian-marking-hook, diary-list-entries)
16932         (diary-include-other-diary-files, diary-mark-entries)
16933         (diary-mark-included-diary-files): Doc fixes.
16935 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
16937         * misc.el: Require tabulated-list.el during compilation.
16939 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
16941         * progmodes/compile.el (compilation-start):
16942         Run compilation-filter-hook for the async case too.
16943         (compilation-filter-hook): Doc fix.
16945 2011-05-09  Deniz Dogan  <deniz@dogan.se>
16947         * wdired.el: Remove outdated installation comment.  Fix usage
16948         comment.
16950 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
16952         * misc.el: Implement new command `list-dynamic-libraries'.
16953         (list-dynamic-libraries--loaded-only-p): New variable.
16954         (list-dynamic-libraries--refresh): New function.
16955         (list-dynamic-libraries): New command.
16957 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
16959         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16960         Fix the ant regexp to handle end-line and end-column info from jikes.
16961         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
16962         higher priority to avoid clobbering by gnu.
16964 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
16966         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16967         if the face has existing theme settings (Bug#8454).
16969 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
16971         * progmodes/perl-mode.el (perl-imenu-generic-expression):
16972         Only match variables declared via `my' or `our' (Bug#8261).
16974         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16975         special file names `.' and `..' (Bug#8259).
16977 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
16979         * progmodes/grep.el (grep-mode-font-lock-keywords):
16980         Remove buffer-changing entries.
16981         (grep-filter): New function.
16982         (grep-mode): Add it to compilation-filter-hook.
16984         * progmodes/compile.el (compilation-filter-hook)
16985         (compilation-filter-start): New defvars.
16986         (compilation-filter): Call compilation-filter-hook prior to
16987         updating the process mark.
16989 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16991         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16993 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
16995         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16996         mailclient-send-it even if window-system is nil.  (Bug#8595)
16998         * term/w32console.el (terminal-init-w32console):
16999         Call get-screen-color and use its output to set the frame
17000         background-mode.  (Bug#8597)
17002 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17004         Make bytecomp.el understand that defmethod defines funs (bug#8631).
17005         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17006         New functions.
17007         (defgeneric, eieio--defmethod): Use them.
17008         (eieio-defgeneric): Remove.
17009         (defmethod): Call defgeneric in a way visible to the byte-compiler.
17011 2011-05-07  Glenn Morris  <rgm@gnu.org>
17013         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17014         Use let rather than let*.
17015         (timeclock-find-discrep): Remove unused local.
17017         * calendar/diary-lib.el (diary-comment-start): Doc fix.
17019         * calendar/appt.el (appt-time-msg-list): Doc fix.
17021 2011-05-06  Noah Friedman  <friedman@splode.com>
17023         * apropos.el (apropos-print-doc): Only use
17024         emacs-lisp-docstring-fill-column when it is bound to an integer,
17025         per that variable's documentation.
17027 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17029         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17030         and warnings are not silently discarded (e.g. use -d instead of -P).
17032 2011-05-06  Glenn Morris  <rgm@gnu.org>
17034         * calendar/appt.el (appt-message-warning-time): Doc fix.
17035         (appt-warning-time-regexp): New option.
17036         (appt-make-list): Respect appt-message-warning-time.
17038         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17039         New options.
17040         (diary-add-to-list): Strip comments from the displayed string.
17041         (diary-mode): Set comment-start and comment-end.
17043         * vc/diff-mode.el (smerge-refine-subst): Declare.
17044         (diff-refine-hunk): Don't require smerge-mode when compiling.
17046 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
17048         * simple.el (list-processes): Return nil as the docstring says.
17050 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
17052         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17053         to "".
17054         (ange-ftp-write-region, ange-ftp-insert-file-contents)
17055         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17056         determining of binary transfer.  (Bug#7383)
17058 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
17060         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17061         Fix port computation bug.  (Bug#8618)
17063 2011-05-05  Glenn Morris  <rgm@gnu.org>
17065         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17067         * simple.el (shell-dynamic-complete-functions)
17068         (comint-dynamic-complete-functions): Declare.
17070         * net/network-stream.el (gnutls-negotiate):
17071         * simple.el (tabulated-list-print): Fix declarations.
17073         * progmodes/gud.el (syntax-symbol, syntax-point):
17074         Remove unnecessary and incorrect declarations.
17076         * emacs-lisp/check-declare.el (check-declare-scan):
17077         Handle byte-compile-initial-macro-environment in bytecomp.el
17079 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17081         Fix earlier half-done eieio-defmethod change (bug#8338).
17082         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17083         Streamline and change calling convention.
17084         (defmethod): Adjust accordingly and simplify.
17085         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17086         new eieio--defmethod.
17087         (slot-boundp): Minor CSE simplification.
17089 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
17091         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17092         (glasses-make-readable): Use glasses-separate-capital-groups.
17094 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
17096         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17097         (warning-series): Doc fix.
17098         (display-warning): Don't try to create the buffer if we just found it.
17100 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
17102         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17103         (autoload-find-generated-file): New function.
17104         (generate-file-autoloads): Bind generated-autoload-file to
17105         buffer-file-name.
17106         (update-file-autoloads, update-directory-autoloads):
17107         Use autoload-find-generated-file.  If called interactively, prompt for
17108         output file (Bug#7989).
17109         (batch-update-autoloads): Doc fix.
17111 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
17113         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17115 2011-05-04  Glenn Morris  <rgm@gnu.org>
17117         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17118         function, so it follows changes in calendar-date-style.
17119         (diary-fancy-date-matcher): New function.
17120         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17121         (diary-fancy-font-lock-fontify-region-function):
17122         Use diary-fancy-date-pattern as a function.
17124         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17125         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
17127 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
17129         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17130         instead of positional arguments.  Allow :keylist and :crlfiles
17131         arguments.
17132         (open-gnutls-stream): Call it.
17134         * net/network-stream.el (network-stream-open-starttls): Adjust to
17135         call `gnutls-negotiate' with :process and :hostname arguments.
17137 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17139         * minibuffer.el (completion--message): New function.
17140         (completion--do-completion, minibuffer-complete)
17141         (minibuffer-force-complete, minibuffer-complete-word): Use it.
17142         (completion--do-completion): Don't ignore completion-auto-help when in
17143         icomplete-mode.
17145         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17146         internal encoding (e.g. tibetan zero is not whitespace).
17147         (global-whitespace-mode): Prefer save-current-buffer.
17148         (whitespace-trailing-regexp): Remove useless save-match-data.
17149         (whitespace-empty-at-bob-regexp): Minor simplification.
17151 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
17153         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17155 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
17157         * textmodes/ispell.el (ispell-add-per-file-word-list):
17158         Use `concat' to create string for insertion.
17160 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17162         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17163         Avoid open-line which runs post-self-insert-hook.
17164         (bibtex-fill-entry): Remove unused `end' var.
17166 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
17168         * textmodes/ispell.el (ispell-add-per-file-word-list):
17169         Protect against `nil' value of `comment-start' (Bug#8579).
17171 2011-05-03  Leo Liu  <sdl.web@gmail.com>
17173         * isearch.el (isearch-yank-pop): New command.
17174         (isearch-mode-map): Bind it to `M-y'.
17175         (isearch-forward): Mention it.
17177 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17179         * simple.el (minibuffer-complete-shell-command): Remove.
17180         (minibuffer-local-shell-command-map): Use completion-at-point.
17181         (read-shell-command): Setup completion vars here instead.
17182         (read-expression-map): Bind TAB to symbol completion.
17184         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17185         error directly rather via storing it into `results'.
17187 2011-05-02  Leo Liu  <sdl.web@gmail.com>
17189         * vc/diff.el: Fix description.
17191 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17193         * server.el (server-eval-at): New function.
17195 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17197         * net/network-stream.el (open-network-stream): Take a :nowait
17198         parameter and pass it on to `make-network-process'.
17199         (network-stream-open-plain): Ditto.
17201 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
17203         * faces.el (face-spec-set-match-display): Don't match toolkit
17204         options on terminal frames.
17206 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17208         * progmodes/pascal.el: Use lexical binding.
17209         (pascal-mode-map): Remove author preferences.
17211         * pcomplete.el (pcomplete-std-complete): Don't abuse
17212         completion-at-point.
17214 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
17216         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17217         removing code that has been dead since 1991 or so.
17219         * startup.el (command-line): When warning about "_emacs", use a
17220         delayed warning to allow the user to filter it out.
17222 2011-04-28  Deniz Dogan  <deniz@dogan.se>
17224         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17225         user has not joined.
17227 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17229         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17230         aren't any completions at point.
17232 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
17234         * subr.el (display-delayed-warnings): New function.
17235         (delayed-warnings-hook): New variable.
17237 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17239         * minibuffer.el (completion-at-point, completion-help-at-point):
17240         Don't presume that a given completion-at-point-function will always
17241         use the same calling convention.
17243         * pcomplete.el (pcomplete-completions-at-point):
17244         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
17245         pcomplete-seen is non-nil.
17246         (pcomplete-comint-setup): Also recognize the new comint/shell
17247         completion functions.
17248         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17249         pcomplete-seen is non-nil.
17251 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
17253         * calendar/icalendar.el (diary-lib): Add require statement.
17254         (icalendar--create-uid): Read out a uid from a text-property on
17255         the first character in the entry.  This allows for code to add its
17256         own uid to the entry.
17257         (icalendar--convert-float-to-ical): Add export of
17258         `diary-float'-entries save for those with the optional DAY
17259         argument.
17261 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
17263         * subr.el (shell-quote-argument): Use alternate escaping strategy
17264         when we spot a variable reference in a string.
17266 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
17268         * cus-start.el (all): Define customization for debug-on-event.
17270 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
17272         * subr.el (shell-quote-argument): Escape correctly under Windows.
17274 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17276         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17278 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
17280         * net/tramp.el (tramp-process-actions): Add POS argument.
17281         Delete region between POS and (pos).
17283         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17284         Use `nil' position in `tramp-process-actions' call.
17285         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17287         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17288         position in `tramp-process-actions' call.
17290         * net/trampver.el: Update release number.
17292 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17294         * custom.el (defcustom): Obey lexical-binding.
17296         Fix octave-inf completion problems reported by Alexander Klimov.
17297         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17298         Inherit from octave-mode-syntax-table.
17299         (inferior-octave-mode): Set info-lookup-mode.
17300         (inferior-octave-completion-at-point): New function.
17301         (inferior-octave-complete): Use it and completion-in-region.
17302         (inferior-octave-dynamic-complete-functions): Use it as well, and use
17303         comint-filename-completion.
17304         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17305         symbol elements which shouldn't be word elements.
17306         (octave-font-lock-keywords, octave-beginning-of-defun)
17307         (octave-function-header-regexp): Adjust regexps accordingly.
17308         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17310 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
17312         * net/gnutls.el (gnutls-errorp): Declare before first use.
17314 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
17316         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17317         verify-error, and verify-hostname-error parameters.  Check whether
17318         default trustfile exists before going to use it.  Add missing
17319         argument to gnutls-message-maybe call.  Return value.
17320         Reported by Claudio Bley <claudio.bley@gmail.com>.
17321         (open-gnutls-stream): Add usage example.
17323         * net/network-stream.el (network-stream-open-starttls): Give host
17324         parameter to `gnutls-negotiate'.
17325         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17326         * subr.el (shell-quote-argument): Escape correctly under Windows.
17328 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
17330         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17331         Use correct match group (bug#8438).
17333 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
17335         * emacs-lisp/package.el (package-built-in-p): Fix typo.
17336         (package-menu--generate): New arg specifying packages to show.
17337         (package-menu-refresh, package-menu-execute, list-packages):
17338         Callers changed.
17339         (package-show-package-list): New function, replacing deleted
17340         package--list-packages (renamed because it is non-internal).
17342         * finder.el (finder-list-matches): Use package-show-package-list
17343         instead of deleted package--list-packages.
17345         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17346         Based on a previous implementation by Juanma Barranquero (Bug#8366).
17347         (vc-annotate-mode-map): Bind it to RET.
17349 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
17351         * progmodes/etags.el (next-file): Don't use set-buffer to change
17352         buffers (Bug#8478).
17354 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
17356         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17358         * apropos.el (apropos-label-face): Avoid variable-pitch face.
17359         (apropos-accumulator): Doc fix.
17360         (apropos-function, apropos-macro, apropos-command)
17361         (apropos-variable, apropos-face, apropos-group, apropos-widget)
17362         (apropos-plist): Add face property.
17363         (apropos-symbols-internal): Fix indentation.
17364         (apropos-print): Simplify help, and recognize apropos-multi-type.
17365         (apropos-print-doc): Use button-type-get to extract the button's
17366         face property.  Fill docstring (Bug#8352).
17368 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
17370         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17372         * play/mpuz.el (mpuz-silent): Doc fix.
17373         (mpuz-mode-map): Use mapc.
17374         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17375         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17376         Fix typos in docstrings.
17378         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17379         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17381         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17383 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
17385         * minibuffer.el (completion--do-completion): Avoid the "Next char
17386         not unique" prompt if icomplete-mode is enabled (Bug#5849).
17388         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17389         mouse-2 into unread-command-events, it is interpreted correctly.
17391         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17392         (image-toggle-display): Doc fix.
17394 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
17396         * textmodes/page.el (what-page): Use line-number-at-pos to
17397         calculate line number (Bug#6825).
17399 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
17401         * eshell/esh-mode.el (find-tag-interactive): Declare function.
17402         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17403         Pass argument NO-DEFAULT to `find-tag-interactive'.
17405 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
17407         Lexical-binding cleanup.
17409         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17410         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17411         * progmodes/ada-prj.el (ada-prj-initialize-values)
17412         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17413         (ada-prj-show-value):
17414         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17415         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17416         (antlr-invalidate-context-cache, antlr-options-menu-filter)
17417         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17418         * progmodes/bug-reference.el (bug-reference-push-button):
17419         * progmodes/fortran.el (fortran-line-length):
17420         * progmodes/glasses.el (glasses-change):
17421         * progmodes/octave-mod.el (octave-fill-paragraph):
17422         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17423         (python-pdbtrack-grub-for-buffer, python-sentinel):
17424         * progmodes/sql.el (sql-save-connection):
17425         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17426         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17427         Mark unused parameters.
17429         * progmodes/compile.el (compilation--flush-directory-cache)
17430         (compilation--flush-parse, compile-internal): Mark unused parameters.
17431         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17432         (compilation-next-error-function): Remove unused variable `timestamp'.
17434         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17435         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17437         * progmodes/dcl-mode.el (dcl-end-of-command):
17438         Remove unused variable `start'.
17439         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17440         (dcl-option-value-basic, dcl-option-value-offset)
17441         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17442         Mark unused parameters.
17443         (dcl-save-local-variable): Remove unused variable `val'.
17444         (mode): Declare.
17446         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17447         Mark unused parameters.
17448         (delphi-ignore-changes): Move before first use.
17449         (delphi-charset-token-at): Remove unused variable `start'.
17450         (delphi-else-start): Remove unused variable `if-count'.
17451         (delphi-comment-block-start, delphi-comment-block-end):
17452         Remove unused variable `kind'.
17453         (delphi-indent-line): Remove unused variable `new-point'.
17455         * progmodes/ebrowse.el (ebrowse-files-list)
17456         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17457         Mark unused parameters.  Don't quote `lambda'.
17458         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17459         Don't quote `lambda'.
17460         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17461         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17462         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17463         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17464         Use `ignore-errors'.
17465         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17466         (ebrowse-view/find-file-and-search-pattern)
17467         (ebrowse-view/find-member-declaration/definition):
17468         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17469         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17470         Rename parameter PREFIX-ARG to PREFIX.
17471         (ebrowse-tags-read-name): Remove unused variables `start' and
17472         `member-info'.
17473         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17474         to `tags-file'.
17476         * progmodes/etags.el (local-find-tag-hook): Declare.
17477         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17478         Mark unused parameters.
17480         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17481         (executable-interpret): Mark unused parameter.
17483         * progmodes/flymake.el (flymake-process-sentinel)
17484         (flymake-after-change-function)
17485         (flymake-create-temp-with-folder-structure)
17486         (flymake-get-include-dirs-dot): Mark unused parameters.
17487         (flymake-safe-delete-directory): Remove unused variable `err'.
17489         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17490         (speedbar-timer-fn, speedbar-line-text)
17491         (speedbar-change-expand-button-char, speedbar-delete-subblock)
17492         (speedbar-center-buffer-smartly): Declare functions.
17493         (gdb-find-watch-expression): Remove unused variable `array'.
17494         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17495         (gdb-starting): Mark unused parameters.
17496         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17497         (gdb-table-string): Remove unused variable `res'.
17498         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17499         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17500         (gdb-display-buffer): Remove unused variable `cur-size'.
17502         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17503         allow lexical-binding compilation.
17504         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17505         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17506         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17507         Mark unused parameters.
17508         (gud-gdb-marker-filter): Remove unused variable `match'.
17509         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17510         lambda expressions and funcall them, instead of using `fset'.
17512         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17513         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17515         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17516         variable `header-beg'; use `let'.
17518         * progmodes/icon.el (indent-icon-exp): Remove unused variables
17519         `restart', `last-sexp' and `at-do'.
17521         * progmodes/js.el (js--debug): Mark unused parameter.
17522         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17523         (js--splice-into-items): Remove unused variable `item'.
17524         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17526         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17527         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17528         (makefile-complete): Remove unused variable `try'.
17529         (makefile-fill-paragraph, makefile-match-function-end):
17530         Mark unused parameters.
17532         * progmodes/octave-inf.el (inferior-octave-complete):
17533         Remove unused variable `proc'.
17534         (inferior-octave-output-digest): Mark unused parameter.
17536         * progmodes/perl-mode.el (perl-calculate-indent):
17537         Remove unused variable `err'.
17539         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17540         (prolog-indent-line): Mark unused parameters.
17541         (prolog-indent-line): Remove unused variable `beg'.
17543         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17544         (reporter-dont-compact-list): Declare.
17546         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17547         Remove unused variable `char'.
17548         (sh-debug): Mark unused parameter.
17549         (sh-get-indent-info): Remove unused variable `start'.
17550         (sh-calculate-indent): Remove unused variable `var'.
17552         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17553         (simula-electric-keyword): Remove unused variable `null'.
17554         (simula-search-backward, simula-search-forward): Remove unused
17555         variables `begin' and `end'.
17557         * progmodes/vera-mode.el (vera-guess-basic-syntax):
17558         Remove unused variable `pos'.
17559         (vera-electric-tab, vera-comment-uncomment-region):
17560         Mark unused parameters.
17561         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17563 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
17565         * emacs-lisp/package.el (package--builtins, package-alist)
17566         (package-load-descriptor, package-built-in-p, package-activate)
17567         (define-package, package-installed-p)
17568         (package-compute-transaction, package-buffer-info)
17569         (package--push): Doc fix.  Distinguish more clearly between
17570         version strings and version lists.
17572 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
17574         Lexical-binding cleanup.
17576         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17577         (5x5-make-mutate-best):
17578         * play/fortune.el (fortune-in-buffer):
17579         * play/gomoku.el (gomoku-init-display):
17580         * play/solitaire.el (solitaire, solitaire-do-check):
17581         * play/tetris.el (tetris-default-update-speed-function):
17582         Mark unused parameters.
17584         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17585         (bubbles--shift): Remove unused variable `char-org'.
17586         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
17587         (bubbles--show-images): Remove unused variable `char'.
17589         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17590         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17591         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17592         (decipher-analyze-buffer): Use ?\s.
17593         (decipher-make-checkpoint): Remove unused variable `mapping'.
17595         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17597         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17598         Remove unused variable `result'; use `let'.
17600         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17601         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17602         (gametree-children-shown-p, gametree-compute-reduced-score):
17603         Use `ignore-errors'.
17605         * play/handwrite.el (ps-lpr-switches): Declare.
17606         (handwrite): Remove unused variables `pmin' and `lastp'.
17608         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17610         * play/landmark.el (landmark-init-display)
17611         (landmark-update-naught-weights): Mark unused parameters.
17612         (landmark-y): Remove unused variable `noise'.  Simplify.
17613         (landmark-human-plays): Remove unused variable `score'.
17615         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17616         (mpuz-try-proposal): Remove unused variable `game'.
17618         * play/zone.el (life-patterns): Declare.
17620 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
17622         * vc/vc.el (ediff-vc-internal): Declare function.
17624 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17626         * shell.el: Use lexical-binding and std completion UI.
17627         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17628         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17629         comint-preoutput-filter-functions rather than on
17630         comint-output-filter-functions.
17631         (shell-command-completion, shell--command-completion-data)
17632         (shell-filename-completion, shell-environment-variable-completion)
17633         (shell-c-a-p-replace-by-expanded-directory): New functions.
17634         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17635         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17636         (shell-dynamic-complete-environment-variable): Use them.
17637         (shell-dynamic-complete-as-environment-variable)
17638         (shell-dynamic-complete-as-command): Remove.
17639         (shell-match-partial-variable): Match past point.
17640         * comint.el: Clean up use of completion-at-point-functions.
17641         (comint-completion-at-point): New function.
17642         (comint-mode): Use it completion-at-point-functions.
17643         (comint-dynamic-complete): Make it obsolete.
17644         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17645         (comint-c-a-p-replace-by-expanded-history): New function.
17646         (comint-dynamic-complete-functions)
17647         (comint-replace-by-expanded-history): Use it.
17648         * minibuffer.el (completion-table-with-terminator): Allow dynamic
17649         termination strings.  Try harder to avoid second try-completion.
17650         (completion-in-region-mode-map): Disable bindings that don't work yet.
17652         * comint.el: Use lexical-binding.  Require CL.
17653         (comint-dynamic-complete-functions): Use comint-filename-completion.
17654         (comint-completion-addsuffix): Tweak custom type.
17655         (comint-filename-completion, comint--common-suffix)
17656         (comint--common-quoted-suffix, comint--table-subvert)
17657         (comint--complete-file-name-data): New functions.
17658         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17659         (comint-dynamic-list-filename-completions): Use them.
17660         (comint-dynamic-simple-complete): Make obsolete.
17662         * minibuffer.el (completion-in-region-mode):
17663         Keep completion-in-region-mode--predicate global.
17664         (completion-in-region--postch):
17665         Assume completion-in-region-mode--predicate is not null.
17667         * progmodes/flymake.el (flymake-start-syntax-check-process):
17668         Obey `dir'.  Simplify.
17670         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17671         we're in VC after all.
17673 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
17675         * vc/vc.el (vc-diff-build-argument-list-internal)
17676         (vc-version-ediff, vc-ediff): New commands.
17677         (vc-version-diff): Use vc-diff-build-argument-list-internal.
17679 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17681         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17682         add sanity check.
17684         * obsolete/erc-hecomplete.el: Make obsolete.
17685         * obsolete/: Standardize obsolescence info in the header.
17687 2011-04-20  Glenn Morris  <rgm@gnu.org>
17689         * calendar/solar.el (solar-horizontal-coordinates):
17690         Use the longitude argument rather than `calendar-longitude'.
17691         (solar-date-next-longitude): Remove unused locals.
17693 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17695         * whitespace.el: New version 13.2.1.
17697 2011-04-20  felix  <EmacsWiki>  (tiny change)
17699         * whitespace.el (global-whitespace-mode): Keep highlight when
17700         switching between major modes on a file.
17702 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17704         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17705         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17706         multi-line comments as well.
17708 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
17710         Lexical-binding cleanup.
17712         * arc-mode.el (archive-mode-revert):
17713         * cmuscheme.el (scheme-interactively-start-process):
17714         * custom.el (custom-initialize-delay):
17715         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17716         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17717         * emacs-lock.el (emacs-lock-clear-sentinel):
17718         * ezimage.el (defezimage):
17719         * follow.el (follow-avoid-tail-recenter):
17720         * fringe.el (set-fringe-mode-1):
17721         * generic-x.el (bat-generic-mode-compile):
17722         * help-mode.el (help-info-variable, help-do-xref)
17723         (help-mode-revert-buffer):
17724         * help.el (view-emacs-todo):
17725         * iswitchb.el (iswitchb-completion-help):
17726         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17727         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17728         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17729         * locate.el (locate-update):
17730         * longlines.el (longlines-encode-region)
17731         (longlines-after-change-function):
17732         * outline.el (outline-isearch-open-invisible):
17733         * ps-def.el (declare-function, charset-dimension, char-width)
17734         (encode-char):
17735         * ps-mule.el (ps-mule-plot-string):
17736         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17737         (recentf-edit-list-select, recentf-edit-list-validate)
17738         (recentf-open-files-action):
17739         * rect.el (delete-whitespace-rectangle-line)
17740         (rectangle-number-line-callback):
17741         * register.el (window-configuration-to-register)
17742         (frame-configuration-to-register):
17743         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17744         * select.el (xselect-convert-to-string, xselect-convert-to-length)
17745         (xselect-convert-to-targets, xselect-convert-to-delete)
17746         (xselect-convert-to-filename, xselect-convert-to-charpos)
17747         (xselect-convert-to-lineno, xselect-convert-to-colno)
17748         (xselect-convert-to-os, xselect-convert-to-host)
17749         (xselect-convert-to-user, xselect-convert-to-class)
17750         (xselect-convert-to-name, xselect-convert-to-integer)
17751         (xselect-convert-to-atom, xselect-convert-to-identity):
17752         * subr.el (declare, ignore, process-kill-without-query)
17753         (text-clone-maintain):
17754         * terminal.el (te-get-char, te-tic-sentinel):
17755         * tool-bar.el (tool-bar-make-keymap):
17756         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17757         * type-break.el (type-break-mode, type-break-noninteractive-query):
17758         * view.el (View-back-to-mark):
17759         * wid-browse.el (widget-browse-action, widget-browse-widget)
17760         (widget-browse-widgets, widget-browse-sexp):
17761         * widget.el (define-widget-keywords):
17762         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17763         Mark unused parameters.
17765         * align.el (align-adjust-col-for-rule): Mark unused parameter.
17766         (align-areas): Remove unused variable `look'.
17767         (align-region): Remove unused variables `real-end' and `pos-list'.
17769         * apropos.el (apropos-score-doc): Remove unused variable `i'.
17771         * bindings.el (mode-line-modified, mode-line-remote):
17772         Mark unused parameters.
17773         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17775         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17776         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17778         * comint.el (comint-history-isearch-pop-state)
17779         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17780         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17781         (comint-substitute-in-file-name): Doc fix.
17783         * completion.el (cmpl-statistics-block): Mark unused parameter.
17784         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17785         (save-completions-to-file, load-completions-from-file):
17786         Remove unused local variable `e'.
17788         * composite.el (compose-chars): Remove unused variable `len'.
17789         (lgstring-insert-glyph): Remove unused variable `g'.
17790         (compose-glyph-string): Remove unused variables `ascent',
17791         `descent', `lbearing' and `rbearing'.
17792         (compose-glyph-string-relative): Remove unused variables
17793         `lbearing', `rbearing' and `wadjust'.
17794         (compose-gstring-for-graphic): Remove unused variables `header',
17795         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
17796         (compose-gstring-for-terminal): Remove unused variables `header'
17797         and `nchars'.  Use `let', not `let*'.
17799         * cus-edit.el (Custom-set, Custom-save, custom-reset)
17800         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17801         (Custom-buffer-done, custom-buffer-create-internal)
17802         (custom-browse-visibility-action, custom-browse-group-tag-action)
17803         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17804         (widget-magic-mouse-down-action, custom-toggle-parent)
17805         (custom-add-parent-links, custom-toggle-hide-variable)
17806         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17807         (custom-toggle-hide-face, face, hook, custom-group-link-action)
17808         (custom-face-menu-create, custom-variable-menu-create, get)
17809         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17810         (custom-reset-standard-save-and-update): Remove unused variable `value'.
17811         (customize-apropos): Remove unused variable `tests'.
17812         (custom-group-value-create): Remove unused variable `hidden-p'.
17813         (sort-fold-case): Declare.
17815         * cus-theme.el (custom-reset-standard-faces-list)
17816         (custom-reset-standard-variables-list): Declare.
17817         (customize-create-theme, custom-theme-revert, custom-theme-write)
17818         (custom-theme-choose-mode, customize-themes, custom-theme-save):
17819         Mark unused parameters.
17821         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17823         * delim-col.el (delimit-columns-max): Move defvar before first use.
17825         * descr-text.el (describe-char-categories): Don't quote `lambda'.
17826         (describe-char): Don't quote `lambda'.  Mark unused parameter.
17828         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17829         (auto-insert): Declare.
17830         (desktop-restore-file-buffer): Rename desktop-* parameters;
17831         mark unused ones.
17832         (desktop-create-buffer): Rename desktop-* parameters and bind them.
17833         (desktop-buffer): Rename desktop-* parameters.
17835         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17836         (dframe-reposition-frame-xemacs, dframe-help-echo)
17837         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17838         Mark unused parameters.
17840         * dired-aux.el (backup-extract-version-start, overwrite-query)
17841         (overwrite-backup-query, rename-regexp-query)
17842         (rename-non-directory-query): Declare.
17843         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17844         (dired-add-entry): Remove unused variable `orig-file-name'.
17845         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17846         Use parameter PRESERVE-TIME instead of accessing dynamic variable
17847         `dired-copy-preserve-time' directly.
17848         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17849         (dired-insert-subdir-newpos): Rename unused variable `pos'.
17851         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17852         (dired-virtual-revert, dired-make-relative-symlink):
17853         Mark unused parameters.
17854         (manual-program): Declare.
17855         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17856         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17857         wrapped in `with-no-warnings' to avoid replacing one warning by another.
17859         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17861         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17863         * echistory.el (electric-history-in-progress, Helper-return-blurb):
17864         Declare.
17866         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17868         * electric.el (Electric-command-loop): Rename parameter
17869         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17871         * expand.el (expand-in-literal): Remove unused variable `here'.
17873         * facemenu.el (facemenu-add-new-color):
17874         Remove unused variable `docstring'.
17876         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17877         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17878         (face-attr-construct): Mark unused parameter.  Doc fix.
17879         (read-color): Remove unused variable `hex-string'.
17881         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17882         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17883         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17884         (display-buffer-other-frame): Remove unused variable `old-window'.
17885         (kill-buffer-hook): Declare.
17886         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17887         Mark unused parameters.
17888         (after-find-file): Pass 1 to `auto-save-mode', not t.
17890         * files-x.el (auto-insert): Declare.
17891         (modify-file-local-variable-prop-line): Remove unused variable `val'.
17893         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
17894         variable `buf'.  Mark unused parameter.
17895         (find-lisp-insert-directory): Mark unused parameter.
17897         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17898         (format-encode-region): Remove unused variables `cur-buf' and `result'.
17899         (format-common-tail): Remove, unused.
17900         (format-deannotate-region): Remove unused variable `loc'.
17901         (format-annotate-region): Remove unused variable `p'.
17902         (format-annotate-single-property-change): Remove unused variables
17903         `default' and `tail'.
17905         * forms.el (read-file-filter): Declare.
17906         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17908         * frame.el (frame-creation-function-alist): Mark unused parameter.
17909         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17911         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17912         Remove unused parameters.
17913         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17914         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17916         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17917         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17918         (hfy-prepare-tag-map): Mark unused parameters.
17919         (htmlfontify-buffer): Use `called-interactively-p'.
17921         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17922         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17923         (ibuffer-do-occur): Mark unused parameters.
17924         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17925         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17927         * ibuffer.el: Don't quote `lambda'.
17928         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17929         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17930         Mark unused parameters.
17932         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17933         (ido-completing-read): Mark unused parameters.
17934         (ido-copy-current-word): Mark unused parameters;
17935         remove unused variable `name'.
17936         (ido-sort-merged-list): Remove unused parameter `dirs'.
17938         * ielm.el (ielm-input-sender): Mark unused parameter.
17939         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17940         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17941         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17942         `ielm-string' as a dynamic variable accessible from the IELM prompt.
17943         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
17945         * image-dired.el (image-dired-display-thumbs): Remove unused
17946         variables `curr-file' and `count'.
17947         (image-dired-remove-tag): Remove unused variable `start'.
17948         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17949         variable `curr-file'
17950         (image-dired-rotate-original): Remove unused variable `temp-file'.
17951         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17952         Remove unused variable `file'.
17953         (image-dired-gallery-generate): Remove unused variable `curr'.
17954         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17956         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17958         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17960         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17962         * isearch.el (minibuffer-history-symbol): Declare.
17963         (isearch-edit-string): Remove unused variable `err'.
17964         (isearch-message-prefix, isearch-message-suffix):
17965         Mark unused parameters.
17967         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17969         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17971         * makesum.el (double-column): Remove unused variable `cnt'.
17973         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17974         (ido-ignore-item-temp-list): Declare.
17976         * mouse-drag.el (mouse-drag-throw): Remove unused variables
17977         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17978         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17979         (mouse-drag-drag): Remove unused variables `mouse-delta' and
17980         `mouse-col-delta'.
17982         * mouse-sel.el (mouse-extend-internal):
17983         Remove unused variable `orig-window-frame'.
17985         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17986         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17987         Move declarations before first use.
17988         (pcomplete-opt): Mark unused parameters; doc fix.
17990         * proced.el (proced-revert): Mark unused parameter.
17991         (proced-send-signal): Remove unused variable `err'.
17993         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17994         Rename parameter PREFIX-ARG to ARG.
17995         (ps-basic-plot-string, ps-basic-plot-whitespace):
17996         Mark unused parameters.
17998         * replace.el (replace-count): Define.
17999         (occur-revert-function): Mark unused parameters.
18000         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18001         (isearch-case-fold-search, isearch-string): Declare.
18002         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18003         bind `case-fold-search'.  Remove unused variables `beg' and `end',
18004         and simplify.
18005         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18006         COUNT and bind `replace-count'.
18007         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18008         to COUNT.
18010         * savehist.el (print-readably, print-string-length): Declare.
18012         * shadowfile.el (shadow-expand-cluster-in-file-name):
18013         Remove unused variable `cluster'.
18014         (shadow-copy-file): Remove unused variable `i'.
18015         (shadow-noquery, shadow-clusters, shadow-site-cluster)
18016         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18017         (shadow-define-literal-group, shadow-define-regexp-group)
18018         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18020         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18021         (shell): Use `called-interactively-p'.
18022         (shell-directory-tracker): Remove unused variable `chdir-failure'.
18024         * simple.el (compilation-context-lines, comint-file-name-quote-list)
18025         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18026         (delete-backward-char): Remove unused variable `ocol'.
18027         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18028         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18029         (event-apply-hyper-modifier, event-apply-shift-modifier)
18030         (event-apply-control-modifier, event-apply-meta-modifier):
18031         Mark unused parameters.
18032         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18033         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18035         * speedbar.el (speedbar-ignored-directory-expressions)
18036         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18037         (speedbar-find-file, speedbar-dir-follow)
18038         (speedbar-directory-buttons-follow, speedbar-tag-find)
18039         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18040         (speedbar-buffers-line-directory, speedbar-buffer-click):
18041         Mark unused parameters.
18042         (speedbar-tag-file): Remove unused variable `mode'.
18043         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18045         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18047         * talk.el (talk): Remove unused variable `display'.
18049         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18050         (tar-write-region-annotate): Mark unused parameter.
18052         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18053         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18054         Declare them, wrapped in `with-no-warnings' to avoid replacing one
18055         warning by another.
18057         * time-stamp.el (time-stamp-string-preprocess):
18058         Remove unused variable `require-padding'.
18060         * tree-widget.el (widget-glyph-enable): Declare.
18061         (tree-widget-action): Mark unused parameter.
18063         * w32-fns.el (x-get-selection): Mark unused parameter.
18064         (autoload-make-program, generated-autoload-file): Declare.
18066         * wdired.el (wdired-revert): Mark unused parameters.
18067         (wdired-xcase-word): Remove unused variable `err'.
18069         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18070         (whitespace-help-scroll): Remove unused variable `data-help'.
18072         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18073         (widget-image-insert, widget-after-change, default)
18074         (widget-default-format-handler, widget-default-notify)
18075         (widget-default-prompt-value, widget-info-link-action)
18076         (widget-url-link-action, widget-function-link-action)
18077         (widget-variable-link-action, widget-file-link-action)
18078         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18079         (widget-field-prompt-internal, widget-field-action, widget-field-match)
18080         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18081         (widget-insert-button-action, widget-delete-button-action, visibility)
18082         (widget-documentation-link-action, widget-documentation-string-action)
18083         (widget-const-prompt-value, widget-regexp-match, symbol)
18084         (widget-coding-system-prompt-value)
18085         (widget-key-sequence-value-to-external, sexp)
18086         (widget-sexp-value-to-internal, character, vector, cons)
18087         (widget-choice-prompt-value, widget-boolean-prompt-value)
18088         (widget-color--choose-action): Mark unused parameters.
18089         (widget-item-match-inline, widget-choice-match-inline)
18090         (widget-checklist-match, widget-checklist-match-inline)
18091         (widget-group-match): Rename parameter VALUES to VALS.
18092         (widget-field-value-set): Remove unused variable `size'.
18093         (widget-color-action): Remove unused variables `value' and `start'.
18095         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18096         variable `dir'.  Doc fix.
18097         (windmove-find-other-window): Don't pass it.
18099         * window.el (count-windows): Mark unused parameter.
18100         (bw-adjust-window): Remove unused variable `err'.
18102         * woman.el (woman-file-name): Remove unused variable `default'.
18103         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18104         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18105         (global-font-lock-mode): Declare.
18106         (woman-decode-region): Mark unused parameter.
18107         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18109         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18110         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18111         (x-dnd-handle-moz-url): Remove unused variable `title'.
18112         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18114         * xml.el (xml-parse-tag, xml-parse-attlist):
18115         Remove unused variable `pos'.
18117 2011-04-19  Glenn Morris  <rgm@gnu.org>
18119         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18120         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18121         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18122         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18123         * calendar/cal-html.el (cal-html-insert-minical):
18124         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18125         (calendar-mark-date-pattern):
18126         Prefix "unused" locals.
18128         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18129         optional argument `style'.
18131         * calendar/appt.el (appt-make-list):
18132         * calendar/cal-china.el (calendar-chinese-date-string):
18133         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18134         (diary-hebrew-yahrzeit):
18135         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18136         * calendar/calendar.el (calendar-generate-window):
18137         * calendar/time-date.el (time-to-days):
18138         Remove unused local variables.
18140 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
18142         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18143         glyphless-char-display table.
18144         (tabulated-list-glyphless-char-display): New var.
18146 2011-04-18  Sam Steingold  <sds@gnu.org>
18148         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18149         to acknowledgments.
18151 2011-04-17  Glenn Morris  <rgm@gnu.org>
18153         * calendar/diary-lib.el (diary-sexp-entry):
18154         * calendar/holidays.el (holiday-sexp):
18155         Set debug-on-error rather than the removed stack-trace-on-error.
18157 2011-04-16  Glenn Morris  <rgm@gnu.org>
18159         * progmodes/f90.el: Use lexical-binding.
18160         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18162 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18164         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18165         (mail-mode): Setup mailalias completion here instead.
18166         * mail/mailalias.el: Use lexical-binding.
18167         (pattern, mailalias-done): Declare dynamic.
18168         (mail-completion-at-point-function): New function, from mail-complete.
18169         (mail-complete): Use it.
18170         (mail-completion-expand): New function.
18171         (mail-get-names): Use it.
18172         (mail-directory, mail-directory-process, mail-directory-stream):
18173         Don't use `pattern' for lexically bound arg.
18175         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18177         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18178         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18179         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18181         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18182         (byte-save-window-excursion, byte-temp-output-buffer-setup)
18183         (byte-interactive-p): Define them again, for use when inlining
18184         old code.
18186 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
18188         * loadup.el: Use `string-to-number', not `string-to-int'.
18190 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18192         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18193         gud-gdb-complete-command.
18194         (gud-gdb-completions): New function, from gud-gdb-complete-command.
18195         (gud-gdb-completion-at-point): New function.
18196         (gud-gdb-completions): Remove.
18198 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
18200         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18201         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
18202         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18203         whether `executable-find' is bound.
18205         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18207 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18209         * minibuffer.el (completion-in-region-mode-predicate)
18210         (completion-in-region-mode--predicate): New vars.
18211         (completion-in-region, completion-in-region--postch)
18212         (completion-in-region-mode): Use them.
18213         (completion--capf-wrapper): Also return the hook function.
18214         (completion-at-point, completion-help-at-point):
18215         Adjust and provide a predicate.
18217         Preserve arg names for advice of subr and lexical functions (bug#8457).
18218         * help-fns.el (help-function-arglist): Consolidate the subr and
18219         new-byte-code cases.  Add argument `preserve-names' to extract names
18220         from the docstring when needed.
18221         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18222         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18223         (ad-arglist): Use help-function-arglist's new arg.
18224         (ad-definition-type): Use cond.
18226 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
18228         * autorevert.el (auto-revert-handler):
18229         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18230         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18231         Don't quote lambda.
18233         * image-mode.el (image-transform-set-scale):
18234         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18236 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18238         * net/network-stream.el (network-stream-open-starttls): Only do
18239         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18240         Upgrades via gnutls-cli are too slow to be done opportunistically.
18242 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
18244         * dframe.el (dframe-current-frame): Remove spurious quote.
18246 2011-04-12  Glenn Morris  <rgm@gnu.org>
18248         * calendar/cal-tex.el (cal-tex-end-document):
18249         Try to automatically use latin1 input if needed.
18251         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18252         Don't try to cons a mark onto an empty element.
18254 2011-04-11  Leo Liu  <sdl.web@gmail.com>
18256         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18257         buffers.
18258         (ido-kill-buffer-at-head): Support killing virtual buffers.
18260 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
18262         * minibuffer.el (completion-show-inline-help): New var.
18263         (completion--do-completion, minibuffer-complete)
18264         (minibuffer-force-complete, minibuffer-complete-word):
18265         Inhibit minibuffer messages if completion-show-inline-help is nil.
18267         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18268         to avoid interference from inline help (Bug#5849).
18270 2011-04-10  Leo Liu  <sdl.web@gmail.com>
18272         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18273         Fix typo.
18275 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
18277         * image-mode.el (image-toggle-display-image): Signal an error if
18278         not in Image mode.
18279         (image-transform-mode, image-transform-resize)
18280         (image-transform-set-rotation): Doc fix.
18281         (image-transform-set-resize): Delete.
18282         (image-transform-set-scale, image-transform-fit-to-height)
18283         (image-transform-fit-to-width): Handle image-toggle-display-image
18284         and image-transform-resize directly.
18286 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
18288         * doc-view.el (doc-view-fit-width-to-window)
18289         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18290         New functions for fitting the shown image to the Emacs window size.
18291         (doc-view-mode-map): Add bindings for the new functions.
18293 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
18295         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18296         Fix typo in docstring.
18298 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
18300         * files.el (file-size-human-readable): Produce one digit after
18301         decimal, like "ls -lh" does.
18303         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18304         the file size representation.
18306         * simple.el (list-processes): If async subprocesses are not
18307         available, error out with a clear error message.
18309 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
18311         * help.el (help-form-show): New function, to be called from C.
18312         Put help-form output in a buffer named differently than *Help*.
18314 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
18316         * files.el (file-size-human-readable): New function.
18318         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18319         computing the representation inline.  Don't require `cl'.
18321 2011-04-08  Glenn Morris  <rgm@gnu.org>
18323         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18325         * net/browse-url.el (browse-url-firefox):
18326         Test system-type, not system-configuration.
18328         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18329         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18330         Use log-edit-empty-buffer-p.  (Bug#7598)
18332         * net/rlogin.el (rlogin-process-connection-type): Simplify.
18333         (rlogin-mode-map): Initialize in the defvar.
18334         (rlogin): Use ignore-errors.
18336         * replace.el (occur-mode-map): Some fixes for menu items.
18338 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
18340         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
18342 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
18344         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18345         issuing unused warnings.
18347         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18348         macro directly.
18350         * simple.el: Lisp reimplement of list-processes.  Based on an
18351         earlier reimplementation by Leo Liu, but using tabulated-list.el.
18352         (process-menu-mode): New major mode.
18353         (list-processes--refresh, list-processes):
18354         (process-menu-visit-buffer): New functions.
18356         * files.el (save-buffers-kill-emacs): Don't assume any return
18357         value of list-processes, which is undocumented anyway.
18359 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
18361         * emacs-lisp/tabulated-list.el: New file.
18363         * emacs-lisp/package.el: Use Tabulated List mode.
18364         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18365         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
18366         table format using Tabulated List mode variables.
18367         (package--push): New macro, replacing package-list-maybe-add.
18368         (package-menu--generate): Use package--push.  Renamed from
18369         package--generate-package-list.
18370         (package-menu-refresh, list-packages): Use it.
18371         (package-menu--print-info): Rename from package-print-package.
18372         Return insertion data instead of inserting it directly.
18373         (package-menu-describe-package, package-menu-execute):
18374         Use tabulated-list-get-id.
18375         (package-menu-mark-delete, package-menu-mark-install)
18376         (package-menu-mark-unmark, package-menu-backup-unmark)
18377         (package-menu-mark-obsolete-for-deletion):
18378         Use tabulated-list-put-tag.
18379         (package--list-packages, package-menu-revert)
18380         (package-menu-get-package, package-menu-get-version)
18381         (package-menu-sort-by-column): Functions deleted.
18382         (package-menu-package-list, package-menu-sort-key): Vars deleted.
18383         (package-menu--status-predicate, package-menu--version-predicate)
18384         (package-menu--name-predicate)
18385         (package-menu--description-predicate): Handle arguments in the
18386         Tabulated List format.
18387         (package-list-packages-no-fetch): Call list-packages.
18389 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
18391         * files.el (after-find-file-from-revert-buffer): Remove variable.
18392         (after-find-file): Don't bind it.
18393         (revert-buffer-in-progress-p): New variable.
18394         (revert-buffer): Bind it.
18395         Pass nil for `after-find-file-from-revert-buffer'.
18397         * saveplace.el (save-place-find-file-hook): Use new variable
18398         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18400 2011-04-06  Glenn Morris  <rgm@gnu.org>
18402         * Makefile.in (AUTOGEN_VCS): New variable.
18403         (autoloads): Use $AUTOGEN_VCS.
18405         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18406         * calendar/calendar.el (calendar-mode-map):
18407         Check for toolkit scroll bars.  (Bug#8305)
18409 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
18411         * minibuffer.el (completion-in-region--postch)
18412         (completion-in-region-mode): Remove unnecessary messages.
18414 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
18416         * font-lock.el (font-lock-refresh-defaults):
18417         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18418         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18420         * info.el (Info-directory-list, Info-read-node-name-2)
18421         (Info-split-parameter-string): Doc fixes.
18422         (Info-virtual-nodes): Reflow docstring.
18423         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18424         (Info-apropos-toc-nodes, info-finder, Info-get-token)
18425         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18426         Fix typos in docstrings.
18427         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18428         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18429         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18430         (Info-restore-desktop-buffer): Mark unused parameters.
18431         (Info-directory-find-file, Info-directory-find-node)
18432         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18433         (Info-virtual-index-find-node, Info-apropos-find-file)
18434         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18435         Mark unused parameters; fix typos in docstrings.
18436         (Info-virtual-index): Remove unused local variable `nodename'.
18438 2011-04-05  Deniz Dogan  <deniz@dogan.se>
18440         * net/rcirc.el: Update my e-mail address.
18441         (rcirc-mode-map): Remove M-o binding.
18443 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
18445         * startup.el (command-line): Save the cursor's theme-face
18446         directly, instead of using face-override-spec.
18448         * custom.el (load-theme): Minor optimization in assigning faces.
18450 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
18452         * help-fns.el (describe-variable): Complete all variables having
18453         documentation, including keywords.
18454         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18456 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
18458         Convert to lexical-binding.
18460         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18461         (bs--get-marked-string, bs--get-modified-string)
18462         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18463         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18464         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18466         * ehelp.el (electric-help-execute-extended)
18467         (electric-help-ctrl-x-prefix):
18468         * hexl.el (hexl-revert-buffer-function):
18469         * linum.el (linum-after-change, linum-after-scroll):
18470         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18472         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18474 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
18476         * epa-dired.el:
18477         * epa-mail.el:
18478         * epa-hook.el:
18479         * epa-file.el:
18480         * epa.el:
18481         * epg.el: Use lexical binding.
18483 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
18485         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18487         * textmodes/flyspell.el (flyspell-word): Recognize default
18488         dictionary case for flyspell-mark-duplications-exceptions.
18489         Use regexp matching for languages.
18490         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18491         default dictionary (Bug#7926).
18493 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
18495         * emacs-lisp/package.el (package--with-work-buffer):
18496         Recognize https URLs.
18498         * net/network-stream.el: Move from gnus/proto-stream.el.
18499         Change prefix to network-stream throughout.
18500         (open-protocol-stream): Merge into open-network-stream, leaving
18501         open-protocol-stream as an alias.  Handle nil BUFFER args.
18503         * subr.el (open-network-stream): Move to net/network-stream.el.
18505 2011-04-02  Glenn Morris  <rgm@gnu.org>
18507         * find-dired.el (find-exec-terminator): New option.
18508         (find-ls-option): Test for -ls support.
18509         (find-ls-subdir-switches): Test for -b in find-ls-option.
18510         (find-dired, find-grep-dired): Doc fixes.
18511         (find-dired): Use find-exec-terminator.
18513         * find-dired.el (find-ls-option, find-ls-subdir-switches)
18514         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18515         (find-name-arg): Remove purecopy.
18517         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18518         (grep-compute-defaults): Check for `-exec COMMAND +' support.
18519         Set grep-find-use-xargs, grep-find-command, and grep-find-template
18520         accordingly.  Don't add the null-device if not needed.
18522         * files.el (save-some-buffers): Doc fix.
18524 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
18526         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18528 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
18530         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18531         Use `dolist' rather than `mapcar'.
18533 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18535         Add lexical binding.
18537         * subr.el (apply-partially): Use new closures rather than CL.
18538         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18539         (dolist, dotimes): Use slightly different expansion for lexical code.
18540         (functionp): Move to C.
18541         (letrec): New macro.
18542         (with-wrapper-hook): Use it and apply-partially instead of CL.
18543         (eval-after-load): Preserve lexical-binding.
18544         (save-window-excursion, with-output-to-temp-buffer): Turn them
18545         into macros.
18547         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18549         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18550         than the arglist.
18551         (help-add-fundoc-usage): Don't add `Not documented'.
18552         (help-function-arglist): Handle closures, subroutines, and new
18553         byte-code-functions.
18554         (help-make-usage): Remove leading underscores.
18555         (describe-function-1): Handle closures.
18556         (describe-variable): Use special-variable-p for completion.
18558         * files.el (lexical-binding): Declare safe.
18560         * emacs-lisp/pcase.el: Don't use destructuring-bind.
18561         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
18562         (pcase): Add `let' pattern.
18563         Change memoization so it actually works.
18564         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18565         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18566         <let>: New case.
18568         * emacs-lisp/macroexp.el: Use lexical binding.
18569         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
18570         Don't convert ' to #' without checking that it's indeed quoting
18571         a lambda.
18573         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
18574         Use eval-sexp-add-defvars.
18575         (eval-sexp-add-defvars): New fun.
18577         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18579         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18580         Don't autoload.
18581         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18582         than the internal `byte-compile-lambda'.
18583         (defmethod): Don't hide code under quotes.
18584         (eieio-defmethod): New `code' argument.
18586         * emacs-lisp/eieio-comp.el: Remove.
18588         * emacs-lisp/edebug.el (edebug-eval-defun)
18589         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18590         (edebug-toggle): Avoid `eval'.
18592         * emacs-lisp/disass.el (disassemble-internal): Handle new
18593         `closure' objects.
18594         (disassemble-1): Handle new byte codes.
18596         * emacs-lisp/cl.el (pushnew): Silence warning.
18598         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18599         (cl-byte-compile-throw): Remove.
18600         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18602         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18603         closures.
18605         * emacs-lisp/cconv.el: New file.
18607         * emacs-lisp/bytecomp.el: Use lexical binding instead of
18608         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
18609         (byte-compile-initial-macro-environment):
18610         Handle declare-function here.
18611         (byte-compile--lexical-environment): New var.
18612         (byte-stack-ref, byte-stack-set, byte-discardN)
18613         (byte-discardN-preserve-tos): New lap codes.
18614         (byte-interactive-p): Don't use any more.
18615         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18616         New macros.
18617         (byte-compile-lapcode): Use them and handle new lap codes.
18618         (byte-compile-obsolete): Remove.
18619         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18620         (byte-compile-arglist-warn): Check late def of inlinable funs.
18621         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18622         since they should have been expanded by now.
18623         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18624         (byte-compile-from-buffer): Remove unused second arg.
18625         (byte-compile-preprocess): New function.
18626         (byte-compile-toplevel-file-form): New function to distinguish
18627         file-form calls from outside from file-form calls from hunk-handlers.
18628         (byte-compile-file-form): Simplify.
18629         (byte-compile-file-form-defsubst): Remove.
18630         (byte-compile-file-form-defmumble): Simplify now that
18631         byte-compile-lambda always returns a byte-code-function.
18632         (byte-compile): Preprocess.
18633         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18634         Remove, not used any more.
18635         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18636         (byte-compile-make-args-desc): New funs.
18637         (byte-compile-lambda): Handle lexical functions.  Always return
18638         a byte-code-function.
18639         (byte-compile-reserved-constants): New var, to make up room for
18640         closed-over variables.
18641         (byte-compile-constants-vector): Obey it.
18642         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18643         (byte-compile-macroexpand-declare-function): New function.
18644         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18645         byte-code-functions.
18646         (byte-compile-form): Check obsolescence here.
18647         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18648         (byte-compile-variable-ref): Remove.
18649         (byte-compile-dynamic-variable-op): New fun.
18650         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18651         (byte-compile-variable-set): New funs.
18652         (byte-compile-discard): Add 2 args.
18653         (byte-compile-stack-ref, byte-compile-stack-set)
18654         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18655         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18656         macroexpand-all instead.
18657         (byte-compile-quote-form): Remove.
18658         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18659         (byte-compile-bind, byte-compile-unbind): New funs.
18660         (byte-compile-let): Handle let* and lexical binding.
18661         (byte-compile-let*): Remove.
18662         (byte-compile-catch, byte-compile-unwind-protect)
18663         (byte-compile-track-mouse, byte-compile-condition-case):
18664         Handle a new :fun-body form, used for lexical scoping.
18665         (byte-compile-save-window-excursion)
18666         (byte-compile-with-output-to-temp-buffer): Remove.
18667         (byte-compile-defun): Simplify.
18668         (byte-compile-stack-adjustment): New fun.
18669         (byte-compile-out): Use it.
18670         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18672         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18673         handler any more.
18675         * emacs-lisp/byte-opt.el: Use lexical binding.
18676         (byte-inline-lapcode): Remove (to bytecomp).
18677         (byte-compile-inline-expand): Pay attention to inlining to/from
18678         lexically bound code.
18679         (byte-compile-unfold-lambda): Don't handle byte-code-functions
18680         any more.
18681         (byte-optimize-form-code-walker): Don't handle save-window-excursion
18682         any more and don't call compiler-macros.
18683         (byte-compile-splice-in-already-compiled-code): Remove.
18684         (byte-code): Don't inline any more.
18685         (disassemble-offset): Receive `bytes' as argument rather than via
18686         dynamic scoping.
18687         (byte-compile-tag-number): Declare before first use.
18688         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18689         `return' even if make-spliceable.
18690         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18691         obsolete interactive-p.
18692         (byte-optimize-lapcode): Optimize new lap-codes.
18693         Don't trip up on new form of `byte-constant' lap code.
18695         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18697         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18699         * custom.el (custom-initialize-default, custom-declare-variable):
18700         Use `defvar'.
18702         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18703         New variables.
18704         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18705         (COMPILE_FIRST): Add macroexp and cconv.
18706         * makefile.w32-in: Mirror changes in Makefile.in.
18708         * vc/cvs-status.el:
18709         * vc/diff-mode.el:
18710         * vc/log-edit.el:
18711         * vc/log-view.el:
18712         * vc/smerge-mode.el:
18713         * textmodes/bibtex-style.el:
18714         * textmodes/css-mode.el:
18715         * startup.el:
18716         * uniquify.el:
18717         * minibuffer.el:
18718         * newcomment.el:
18719         * reveal.el:
18720         * server.el:
18721         * mpc.el:
18722         * emacs-lisp/smie.el:
18723         * doc-view.el:
18724         * dired.el:
18725         * abbrev.el: Use lexical binding.
18727 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
18729         * info.el (info-display-manual): New function.
18731 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18733         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18735 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
18737         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
18738         an entry for that server in rcirc-authinfo.  (Bug#8385)
18740 2011-03-31  Glenn Morris  <rgm@gnu.org>
18742         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18744         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18746 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
18748         * progmodes/python.el (python-default-interpreter)
18749         (python-python-command-args, python-jython-command-args)
18750         (python-which-shell, python-which-args, python-which-bufname)
18751         (python-file-queue, python-comint-output-filter-function)
18752         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18753         variables and functions.
18755 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18757         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18758         (completion-in-region-mode): New minor mode.
18759         (completion-in-region): Use it.
18760         (completion-in-region--data, completion-in-region-mode-map): New vars.
18761         (completion-in-region--postch): New function.
18762         (completion--capf-misbehave-funs, completion--capf-safe-funs):
18763         New vars.
18764         (completion--capf-wrapper): New function.
18765         (completion-at-point): Use it to track well-behavedness of
18766         hook functions.
18767         (completion-help-at-point): New command.
18769 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
18771         * vc/add-log.el (add-change-log-entry): Don't use whitespace
18772         syntax class to search for whitespace on a single line
18773         (Message-ID: <4D938140.4030905@redhat.com>).
18775 2011-03-30  Leo Liu  <sdl.web@gmail.com>
18777         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18778         New commands.
18779         (edit-abbrevs-map): Bind them here.
18780         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
18782 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
18784         * allout.el (allout-hide-by-annotation, allout-flag-region):
18785         Reduce possibility of overlay leakage by making them volatile.
18787         * allout-widgets.el (allout-widgets-tally): Define as nil so the
18788         hash is not shared between buffers.  Mode initialization is
18789         responsible for giving it a useful starting value.
18790         (allout-item-span): Reduce possibility of overlay leakage by
18791         making them volatile.
18792         (allout-widgets-count-buttons-in-region): Add diagnostic function
18793         for tracking down button overlay leaks.
18795 2011-03-29  Leo Liu  <sdl.web@gmail.com>
18797         * ido.el (ido-read-internal): Use the default history var
18798         minibuffer-history if no HISTORY is specified.
18800 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
18802         * net/imap.el (imap-shell-open, imap-process-connection-type):
18803         Use imap-process-connection-type for 'shell' streams as well as
18804         Kerberos, SSL, other subprocesses.
18806 2011-03-28  Leo Liu  <sdl.web@gmail.com>
18808         * abbrev.el (abbrev-table-empty-p): New function.
18809         (prepare-abbrev-list-buffer): Place empty abbrev tables after
18810         nonempty ones.  (Bug#5937)
18812 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
18814         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18816 2011-03-27  Leo Liu  <sdl.web@gmail.com>
18818         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18819         for foreground and background colors.
18820         (ansi-color-make-color-map): Adapt.
18822 2011-03-25  Leo Liu  <sdl.web@gmail.com>
18824         * midnight.el (midnight-time-float): Remove.  Note it calculates
18825         the microsecond component incorrectly and seconds-to-time does the
18826         same job.
18827         Remove redundant (require 'timer).
18829         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18830         (ido-completions): Remove unused arguments.  (Bug#8329)
18832 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18834         * minibuffer.el (completion--flush-all-sorted-completions):
18835         Remove itself from hook.
18836         (completion-at-point): Let the functions perform the completion
18837         immediately and return nil or t.
18838         * comint.el (comint-dynamic-complete-functions): Now identical to
18839         completion-at-point-functions.
18840         (comint-dynamic-list-input-ring): Remove unused var `index'.
18841         (comint--match-partial-filename, comint--unquote&expand-filename):
18842         New funs, split from comint-match-partial-filename.
18843         (comint-dynamic-complete): Use completion-at-point.
18844         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18846 2011-03-24  Drew Adams  <drew.adams@oracle.com>
18848         * thingatpt.el: Support `defun'.
18850 2011-03-23  Leo Liu  <sdl.web@gmail.com>
18852         * abbrevlist.el: Move to obsolete/abbrevlist.el.
18854         * help-mode.el (help-mode-finish): Tweak regexp.
18856 2011-03-23  Glenn Morris  <rgm@gnu.org>
18858         * eshell/esh-opt.el (eshell-eval-using-options):
18859         Do not bind unused local variable `eshell-option-stub'.
18861         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18863 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
18865         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18866         keymap variable in `with-no-warnings' to avoid a warning when the
18867         keymap has been already `defconst'ed.
18869 2011-03-22  Leo Liu  <sdl.web@gmail.com>
18871         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18872         encode all chars in abbrevs; otherwise use emacs-mule or
18873         utf-8-emacs.  (Bug#8308)
18875 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
18877         * simple.el (backward-delete-char-untabify):
18878         Avoid warning about using `delete-backward-char'.
18880         * image.el (image-type-file-name-regexps): Make it variable.
18881         `imagemagick-register-types' modifies it, and the user may want
18882         to add new extensions for known image types.
18883         (imagemagick-register-types): Throw error if not using ImageMagick.
18885 2011-03-22  Leo Liu  <sdl.web@gmail.com>
18887         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18888         located before rcirc-prompt-end-marker.
18889         (rcirc-complete): Error if point is not after rcirc prompt.
18890         Handle the case when table is nil.
18891         (rcirc-user-authenticated): Define to fix compiler warning.
18893 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
18895         * custom.el (custom--inhibit-theme-enable): Make it affect only
18896         custom-theme-set-variables and custom-theme-set-faces.
18897         (provide-theme): Ignore custom--inhibit-theme-enable.
18898         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18899         (custom-enabling-themes): Delete variable.
18900         (enable-theme): Accept only loaded themes as arguments.
18901         Ignore the special custom-enabled-themes variable.
18902         (custom-enabled-themes): Forbid themes from setting this.
18903         Eliminate use of custom-enabling-themes.
18904         (custom-push-theme): Quote "changed" custom var entry.
18906 2011-03-21  Leo Liu  <sdl.web@gmail.com>
18908         * ido.el (ido-read-internal): Add ido-selected to history instead
18909         of user input.
18911 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18913         * subr.el (deferred-action-list, deferred-action-function):
18914         Mark obsolete.
18916 2011-03-21  Leo Liu  <sdl.web@gmail.com>
18918         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18919         change on 2011-02-13 (bug#8309).
18921         * minibuffer.el (read-file-name-function): Change default value.
18922         (read-file-name--defaults): Rename from read-file-name-defaults.
18923         (read-file-name-default): Rename from read-file-name.
18924         (read-file-name): Call read-file-name-function.
18926 2011-03-21  Glenn Morris  <rgm@gnu.org>
18928         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18929         Doc fixes.
18931 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
18933         * cus-theme.el: Add missing provide statement.
18934         (customize-create-theme): Extract theme value correctly.
18935         (custom-theme-visit-theme): Autoload.
18936         (customize-create-theme): Prompt before inserting default faces.
18938 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
18940         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18941         units and musical notes.
18943 2011-03-20  Leo Liu  <sdl.web@gmail.com>
18945         * ido.el (ido-read-internal): Use completing-read-default.
18946         (ido-completing-read): Fix compatibility with completing-read.
18948 2011-03-20  Christian Ohler  <ohler@gnu.org>
18950         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18951         (ert-delete-all-tests): Use `called-interactively-p' rather than
18952         `interactive-p'.
18953         (ert--make-xrefs-region): Respect END.
18955 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
18957         * dired-aux.el (dired-create-directory): Signal an error if the
18958         directory already exists (Bug#8246).
18960         * facemenu.el (list-colors-display): Call list-faces-display
18961         inside with-help-window.
18962         (list-colors-print): Use display property to align the final
18963         column, instead of checking window-width.
18965 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
18967         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
18968         windows-nt systems.
18969         (emerge-protect-metachars): Quote correctly for ms-dos and
18970         windows-nt systems.
18972 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
18974         * info.el (info-initialize): Replace all uses of `:' with
18975         path-separator for compatibility with non-Unix systems.
18976         Cache quoting of path-separator.  (Bug#8258)
18978 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
18980         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18981         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18982         (mouse-avoidance-mode): Fix typos in docstrings.
18984 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
18986         * startup.el (package-subdirectory-regexp): Move from package.el.
18987         Omit \\` and \\', and let callers add them.
18989         * emacs-lisp/package.el (package-strip-version)
18990         (package-load-all-descriptors): Add \\` and \\' to
18991         package-subdirectory-regexp before using it.
18992         (package-untar-buffer): New arg DIR; ensure that file untars only
18993         into this expected directory.  Remove superfluous delete-region.
18994         (package-unpack): Caller changed.
18995         (package-tar-file-info): Use package-subdirectory-regexp.
18997 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18999         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19000         diff-mode-shared-map (bug#8284).
19001         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19003 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19005         * calendar/time-date.el (format-seconds): Use assoc instead of
19006         assoc-string, since assoc-string doesn't exist in XEmacs.
19008 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
19010         * custom.el (custom-known-themes): Reflow docstring.
19011         (custom-theme-load-path): Fix typo in docstring.
19012         (load-theme): Fix typo in error message.
19013         (custom-available-themes, custom-variable-theme-value):
19014         Use `let', not `let*'.
19016 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
19018         * calc/README: Mention inclusion of musical notes.
19020         * calc/calc-units.el (calc-lu-quant): Rename from
19021         `calc-logunits-quantity'.
19022         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19023         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19024         (calc-db): Rename from `calc-dblevel'.
19025         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19026         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19027         (calc-np): Rename from `calc-nplevel'.
19028         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19029         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19030         (calc-lu-plus): Rename from `calc-logunits-add'.
19031         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19032         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19033         (calc-lu-minus): Rename from `calc-logunits-sub'.
19034         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19035         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19036         (calc-lu-times): Rename from `calc-logunits-mul'.
19037         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19038         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19039         (calc-lu-divide): Rename from `calc-logunits-div'.
19040         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19041         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19043         * calc/calc-ext.el (calc-init-extensions): Update the names of the
19044         functions being autoloaded.
19046         * calc/calc.el (calc-lu-power-reference): Rename from
19047         `calc-logunits-power-reference'.
19048         (calc-lu-field-reference): Rename from
19049         `calc-logunits-field-reference'.
19051         * calc/calc-help.el (calc-l-prefix-help):
19052         Mention musical note functions.
19054 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19056         * minibuffer.el (completion-all-sorted-completions):
19057         Use :completion-cycle-penalty text property if present.
19059 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
19061         * allout.el (allout-yank-processing): Adjust for new rebulleting
19062         regime so bullet being yanked is used without prompting the user
19063         for a choice.
19065 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
19067         * startup.el (command-line): Warn the user that _emacs is deprecated.
19069 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
19071         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19072         (delphi-verbose, delphi-comment-face, delphi-string-face)
19073         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19074         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19075         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19076         (delphi-new-comment-line, delphi-font-lock-defaults)
19077         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19078         Fix typos in docstrings.
19080 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
19082         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19083         Invert the roles of character and string values for INSTEAD, so a
19084         string is used for the more common case of a defaulting prompt.
19086 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19088         * progmodes/ruby-mode.el (ruby-backward-sexp):
19089         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19090         * play/gamegrid.el (gamegrid-make-face):
19091         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19092         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19093         * notifications.el (notifications-notify):
19094         * net/xesam.el (xesam-search-engines):
19095         * net/quickurl.el (quickurl-list-insert):
19096         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19098 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
19100         * startup.el (command-line): Update package subdirectory regexp.
19102 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19104         * allout.el (allout-abbreviate-flattened-numbering)
19105         (allout-mode-deactivate-hook): Fix up obsolescence "date".
19107         * subr.el (read-char-choice): Only show the cursor after the prompt,
19108         not after the answer.
19110 2011-03-15  Kevin Ryde  <user42@zip.com.au>
19112         * help-fns.el (variable-at-point): Skip leading quotes, if any
19113         (bug#8253).
19115 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19117         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19118         warning message.
19120 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
19122         * shell.el (shell): When called interactively, offer to change the
19123         shell file name on remote hosts.
19125 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
19127         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19128         integration for LDAP parameters.  The host, base, user or binddn,
19129         and secret tokens can be specified in a netrc file, for instance.
19130         This is optional because an `auth-source' parameter must be
19131         specified in the search attributes.
19133 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
19135         * help.el (describe-mode): Link to the mode's definition (bug#8185).
19137 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19139         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19140         into declaration.  Remove redundant and harmful binding.
19142 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
19144         * files.el (file-ownership-preserved-p): Pass `integer' as an
19145         explicit 2nd argument to `file-attributes'.  If the file's owner
19146         is the Administrators group on Windows, and the current user is
19147         Administrator, consider that a match.
19149         * server.el (server-ensure-safe-dir): Consider server directory
19150         safe on MS-Windows if its owner is the Administrators group while
19151         the current Emacs user is Administrator.  Use `=' to compare
19152         numerical UIDs, since they could be integers or floats.
19154 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
19156         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19158 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
19160         Sync with Tramp 2.2.1.
19162         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19164         * net/trampver.el: Update release number.
19166 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19168         * progmodes/compile.el (compilation--previous-directory): Fix up
19169         various nil/dead-marker mismatches (bug#8014).
19170         (compilation-directory-properties, compilation-error-properties):
19171         Don't call it at a position past the one we're about to change.
19173         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19174         Disable obsolescence warnings in the file that declares it.
19176 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
19178         * allout-widgets.el (allout-widgets-tally):
19179         Initialize allout-widgets-tally as a hash table rather than nil to
19180         prevent mode-line redisplay warnings.  Also, clarify the module
19181         description and fix a comment typo.
19183 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
19185         * help-fns.el (describe-variable): Don't complete keywords.
19186         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19188 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
19190         * emacs-lisp/package.el (package-version-join): Impose a standard
19191         string representation for pre/alpha/beta version lists.
19192         (package-unpack-single): Standardize the directory name by passing
19193         it through package-version-join.
19194         (package-strip-rcs-id): Accept any version string that does not
19195         signal an error in version-to-list.
19197 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
19199         * simple.el (delete-trailing-whitespace): Return nil for the
19200         benefit of `write-file-functions'.
19202 2011-03-10  Glenn Morris  <rgm@gnu.org>
19204         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19206         * vc/vc-git.el (vc-git-program): New option.
19207         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19208         (vc-git--call): Use it.
19210         * eshell/esh-util.el (eshell-condition-case): Doc fix.
19212         * cus-edit.el (Custom-newline): If no button at point, look
19213         for a subgroup button at start-of-line.  (Bug#2298)
19215         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19217 2011-03-10  Julien Danjou  <julien@danjou.info>
19219         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19220         `cursor-type' is nil.
19222 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
19224         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19226 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
19228         * allout.el: Change so yank of distinctive-bullet items
19229         preserves the existing header prefix, rebulleting it if necessary,
19230         rather than replacing it.  This is necessary for proper operation
19231         of cooperative addons like allout-widgets.
19232         (allout-make-topic-prefix, allout-rebullet-heading):
19233         Change SOLICIT arg to INSTEAD, and interpret additionally a string
19234         value as alternate bullet to be used, instead of prompting the user
19235         for a bullet character.
19237 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
19239         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19240         Do not use `tramp-file-name-port', because this returns also
19241         `tramp-default-port'.
19243 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
19245         * net/rcirc.el (rcirc-handler-001): Remove useless
19246         with-rcirc-process-buffer.
19247         (rcirc-check-auth-status): Swap arguments to string-match.
19249 2011-03-09  Glenn Morris  <rgm@gnu.org>
19251         * shell.el (shell-mode):
19252         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
19254         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19255         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
19257 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
19259         * emacs-lisp/package.el (package-refresh-contents)
19260         (package-menu-execute): Use condition-case-no-debug.
19262 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
19264         * simple.el (shell-command-to-string): Use `process-file'.
19266         * emacs-lisp/package.el (package-tar-file-info): Handle also
19267         remote files.
19269         * emacs-lisp/package-x.el (package-upload-buffer-internal):
19270         Use `equal' for upload base check.
19272 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
19274         * textmodes/texinfo.el (texinfo-environments):
19275         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
19277 2011-03-08  Glenn Morris  <rgm@gnu.org>
19279         * cus-start.el (cursor-in-non-selected-windows):
19280         Fix :set quoting oddness.  (Bug#8192)
19282         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19283         in some setf expressions.  (Bug#2159)
19285 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
19287         * custom.el (custom-available-themes): Return themes in
19288         alphabetical order.
19290 See ChangeLog.15 for earlier changes.
19292 ;; Local Variables:
19293 ;; coding: utf-8
19294 ;; End:
19296   Copyright (C) 2011-2012  Free Software Foundation, Inc.
19298   This file is part of GNU Emacs.
19300   GNU Emacs is free software: you can redistribute it and/or modify
19301   it under the terms of the GNU General Public License as published by
19302   the Free Software Foundation, either version 3 of the License, or
19303   (at your option) any later version.
19305   GNU Emacs is distributed in the hope that it will be useful,
19306   but WITHOUT ANY WARRANTY; without even the implied warranty of
19307   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19308   GNU General Public License for more details.
19310   You should have received a copy of the GNU General Public License
19311   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.