gnus-art.el (gnus-article-browse-delete-temp-files): Never ask again a user about...
[emacs.git] / lisp / ChangeLog
blob283e1844a986e49b2c3ca59fbab1833081989bdf
1 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
3         * window.el (window--resize-child-windows): When resizing child
4         windows proportionally, process them in reverse order to
5         preserve the "when splitting a window the new one gets the odd
6         line" behavior.
7         (window--resize-root-window-vertically): When resizing the
8         minibuffer window try to affect only windows at the bottom of the
9         frame.  (Bug#12419)
11 2012-09-25  Chong Yidong  <cyd@gnu.org>
13         * subr.el (declare): Doc fix.
15         * help-fns.el (help-fns--obsolete): Handle macros properly.
17 2012-09-25  Chong Yidong  <cyd@gnu.org>
19         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
20         this function obsolete.
22         * calendar/cal-x.el (calendar-two-frame-setup)
23         (calendar-only-one-frame-setup, calendar-one-frame-setup):
24         * calendar/calendar.el (american-calendar, european-calendar)
25         (calendar-for-loop):
26         * comint.el (comint-dynamic-simple-complete)
27         (comint-dynamic-complete-as-filename, comint-unquote-filename):
28         * desktop.el (desktop-load-default):
29         * dired-x.el (dired-omit-here-always)
30         (dired-hack-local-variables, dired-default-directory):
31         * emacs-lisp/derived.el (derived-mode-class):
32         * emacs-lisp/timer.el (timer-set-time-with-usecs):
33         * emacs-lock.el (toggle-emacs-lock):
34         * epa.el (epa-display-verify-result):
35         * epg.el (epg-sign-keys, epg-start-sign-keys)
36         (epg-passphrase-callback-function):
37         * eshell/esh-util.el (eshell-for):
38         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
39         (eshell-add-to-window-buffer-names):
40         * files.el (locate-file-completion):
41         * imenu.el (imenu-example--create-c-index)
42         (imenu-example--create-lisp-index)
43         (imenu-example--lisp-extract-index-name)
44         (imenu-example--name-and-position):
45         * international/mule-cmds.el (princ-list):
46         * international/mule-diag.el (decode-codepage-char):
47         * international/mule-util.el (detect-coding-with-priority):
48         * iswitchb.el (iswitchb-read-buffer):
49         * mail/mailalias.el (mail-complete):
50         * mail/sendmail.el (mail-sent-via):
51         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
52         (mouse-major-mode-menu):
53         * password-cache.el (password-read-and-add):
54         * pcomplete.el (pcomplete-parse-comint-arguments):
55         * progmodes/sh-script.el (sh-maybe-here-document):
56         * replace.el (query-replace-regexp-eval):
57         * savehist.el (savehist-load):
58         * simple.el (choose-completion-delete-max-match):
59         * term.el (term-dynamic-simple-complete):
60         * vc/ediff-init.el (ediff-check-version):
61         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
62         * vc/vc.el (vc-diff-switches-list):
63         * view.el (view-return-to-alist-update): Likewise.
65         * subr.el (eval-next-after-load, makehash, insert-string)
66         (assoc-ignore-representation, assoc-ignore-case): Use declare to
67         mark obsolete.
68         (mode-line-inverse-video): Variable deleted.
70         * international/mule-util.el (string-to-sequence): Remove.
72         * calendar/calendar.el (calendar-version):
73         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
74         (icalendar-convert-diary-to-ical):
75         * cus-edit.el (custom-mode):
76         * ansi-color.el (ansi-color-unfontify-region):
77         * international/latin1-disp.el (latin1-char-displayable-p):
78         * progmodes/cwarn.el (turn-on-cwarn-mode):
79         * progmodes/which-func.el (which-func-update-1): Use
80         define-obsolete-function-alias.
82         * net/newst-backend.el (newsticker-cache-filename):
83         * net/newst-treeview.el (newsticker-groups-filename): Fix
84         incorrect obsolescence declaration.
86         * allout.el (allout-passphrase-hint-string): Likewise.
87         (allout-init): Use a declare form to mark obsolete.
89         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
90         this applies to functions.
92         * iswitchb.el (iswitchb-read-buffer): Move code of
93         iswitchb-define-mode-map here, and delete that obsolete function.
95         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
96         font-lock-reference-face.
98 2012-09-25  Glenn Morris  <rgm@gnu.org>
100         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
101         Doc fixes.
103         * eshell/em-term.el (eshell-term-name):
104         Default to term-term-name.  (Bug#12485)
106 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
108         * progmodes/python.el (python-shell-send-buffer): Better handling
109         of "if __name__ == '__main__':" conditionals when sending the buffer.
111 2012-09-24  Glenn Morris  <rgm@gnu.org>
113         * eshell/esh-cmd.el (eshell-find-alias-function):
114         Tighten up file-name regexp.  (Bug#12499)
116 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
118         Enhancements for triple-quote string syntax.
119         * progmodes/python.el (python-quote-syntax): Remove.
120         (python-syntax-propertize-function): New value.
121         (python-syntax-count-quotes, python-syntax-stringify): New
122         functions.
124 2012-09-24  Chong Yidong  <cyd@gnu.org>
126         * mail/supercite.el (sc-version): Remove obsolete function.
127         (sc-describe): Don't mark as obsolete, since it is bound.
128         (sc-submit-bug-report): Remove.
130         * vc/log-edit.el (cvs-changelog-full-paragraphs)
131         (cvs-commit-buffer-require-final-newline): Remove.
132         (log-edit-require-final-newline)
133         (log-edit-changelog-full-paragraphs): Default to t.
135         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
136         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
137         * vc/vc.el (vc-checkout-carefully): Likewise.
139         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
140         (emerge-version): Remove.
142         * progmodes/compile.el (compile-internal): Remove.
143         (compilation-parse-errors-function): Fix typo.
145         * international/mule.el (set-char-table-default): Remove.
146         (set-coding-priority, make-coding-system, generic-char-p)
147         (charset-list, charset-bytes, charset-id): Use declare to mark
148         functions as obsolete.
150         * vc/pcvs-defs.el (cvs-buffer-name-alist)
151         (cvs-invert-ignore-marks): Remove references to obsolete vars.
152         * vc/vc-hooks.el (vc-default-registered): Don't use
153         vc-master-templates.
155         * font-lock.el (font-lock-reference-face): Use
156         define-obsolete-variable-alias.
158         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
159         * calendar/calendar.el (calendar-font-lock-keywords):
160         * calendar/diary-lib.el (diary-font-lock-keywords)
161         (diary-fancy-font-lock-keywords):
162         * textmodes/reftex-sel.el (reftex-insert-docstruct):
163         * textmodes/reftex-index.el (reftex-insert-index):
164         * textmodes/reftex-cite.el (reftex-format-bib-entry):
165         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
166         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
167         * progmodes/prolog.el (prolog-font-lock-keywords):
168         * progmodes/idlwave.el (idlwave-idl-keywords):
169         * progmodes/ada-mode.el (ada-font-lock-keywords):
170         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
172 2012-09-24  Glenn Morris  <rgm@gnu.org>
174         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
176 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
178         * progmodes/python.el (python-indent-line): More consistent cursor
179         movement behavior.
181 2012-09-23  Stefan Merten  <smerten@oekonux.de>
183         * textmodes/rst.el: Fix compiler warning.
185 2012-09-23  Roland Winkler  <winkler@gnu.org>
187         * textmodes/bibtex.el (bibtex-autokey-transcriptions): Transcribe
188         also LaTeX hyphenation.
189         (bibtex-reformat): Bug fix. Do not quote twice the elements of
190         bibtex-reformat-previous-options.
192 2012-09-23  Roland Winkler  <winkler@gnu.org>
194         * proced.el (proced-renice-command): New variable.
195         (proced-marked-processes): New function.
196         (proced-with-processes-buffer): New macro.
197         (proced-send-signal): Use them.
198         (proced-renice): New command bound to r.
200 2012-09-23  Roland Winkler  <winkler@gnu.org>
202         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
203         ibuffer-saved-filter-groups has one element, shortcut the call of
204         completing-read.  (Bug#12331)
206 2012-09-23  Chong Yidong  <cyd@gnu.org>
208         * bindings.el (mode-line-toggle-read-only):
209         * bs.el (bs-toggle-readonly):
210         * buff-menu.el (Buffer-menu-toggle-read-only):
211         * dired.el (dired-toggle-read-only):
212         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
214 2012-09-23  Chong Yidong  <cyd@gnu.org>
216         * image.el (image-type-available-p): Adapt to init-image-library
217         argument changes.
219 2012-09-22  Juri Linkov  <juri@jurta.org>
221         * dired.el (dired-mode-map): Add [remap read-only-mode] for
222         `dired-toggle-read-only'.  (Bug#12462)
224 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
226         * subr.el (temp-output-buffer-show): New function.
227         (with-output-to-temp-buffer): Call temp-output-buffer-show
228         instead of internal-temp-output-buffer-show.
230 2012-09-22  Chong Yidong  <cyd@gnu.org>
232         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
233         (Bug#12462).
235         * repeat.el (repeat): Doc fix (Bug#12348).
237         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
238         (Bug#10909).
240         * simple.el (shell-command-on-region): Doc fix.
241         (read-only-mode): Doc fix.
243 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
245         * emacs-lisp/timer.el (run-with-idle-timer)
246         (timer-activate-when-idle): Warn against reinvoking an idle timer
247         from within its own timer action.  (Bug#12447)
249 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
251         * cus-start.el (window-combination-limit): Add new optional
252         values.
253         * window.el (temp-buffer-window-show)
254         (window--try-to-split-window): Handle new values of
255         window-combination-limit (Bug#1806).
256         (split-window): Test window-combination-limit for t instead of
257         non-nil.
258         (display-buffer-at-bottom): New buffer display action function.
259         * help.el (temp-buffer-resize-regexps): New option.
260         (temp-buffer-resize-mode): Rewrite doc-string.
261         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
262         Don't resize reused window.  Suggested by Glenn Morris.
264 2012-09-22  Stefan Merten  <smerten@oekonux.de>
266         * textmodes/rst.el: Revamp section title faces.
267         (rst-official-version)
268         (rst-package-emacs-version-alist): Sync with official version
269         V1.4.0.
270         (rst-faces-defaults, rst-set-level-default)
271         (rst-level-face-max, rst-level-face-base-color)
272         (rst-level-face-base-light, rst-level-face-format-light)
273         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
274         (rst-adornment-faces-alist): Match new setup.
275         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
276         (rst-level-5, rst-level-6): New faces.
278 2012-09-22  Chong Yidong  <cyd@gnu.org>
280         * simple.el (undo): Handle indirect buffers (Bug#8207).
282 2012-09-21  Leo Liu  <sdl.web@gmail.com>
284         IDO: Disable match re-ordering for buffer switching.
285         * ido.el (ido-buffer-disable-smart-matches): New variable.
286         (ido-set-matches-1): Use it.  (Bug#2042)
288 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
290         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
291         Fix 2011-05-17 change.  (Bug#12418)
293 2012-09-21  Leo Liu  <sdl.web@gmail.com>
295         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
297 2012-09-21  Glenn Morris  <rgm@gnu.org>
299         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
300         Be more robust about locating simple.el.
302 2012-09-21  Glenn Morris  <rgm@gnu.org>
304         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
306 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
308         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
310 2012-09-20  Juri Linkov  <juri@jurta.org>
312         * replace.el (query-replace-read-from): Use `read-regexp' instead
313         of `read-from-minibuffer' when `regexp-flag' is non-nil.
314         (occur-read-primary-args): Use `read-regexp' instead of
315         `read-string'.
316         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
317         `read-from-minibuffer'.
318         * isearch.el (isearch-occur): Use `read-regexp' instead of
319         `read-string'.
320         * dired.el (dired-read-regexp): Use `read-regexp' instead of
321         `read-from-minibuffer'.
322         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
323         of `read-string'.  (Bug#7567)
325         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
326         and allow accepting a list of strings prepended to a list of
327         standard default values.  Doc fix.  (Bug#12321)
329         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
331         * replace.el (read-regexp): Don't add ": " when PROMPT already
332         ends with a colon and space.  (Bug#12321)
334 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
336         * doc-view.el (doc-view-display): Better fix for the cl-assertion
337         error.
339 2012-09-20  Stefan Merten  <smerten@oekonux.de>
341         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
342         Fixes feature request bug#11711.
343         (rst-mode): Create `imenu-create-index-function'.
344         (rst-get-stripped-line): Delete after refactoring.
345         (rst-section-tree, rst-section-tree-rec)
346         (rst-section-tree-point): Refactor and document properly.
347         (rst-imenu-find-adornments-for-position)
348         (rst-imenu-convert-cell, rst-imenu-create-index): New
349         function.
351 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
353         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
354         (macroexp--expand-all): Use it.
355         (macroexp--funcall-and-return): Remove by folding it into its sole
356         caller (macroexp--warn-and-return).
357         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
358         Use macroexp--obsolete-warning.
360         * calc/calc.el: Fix last change by removing the whole chunk, since it
361         was only needed back when Calc was not bundled.
363 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
365         * emacs-lisp/debug.el (debug): Restore assignment to
366         debugger-old-buffer removed on 2012-09-08.
368 2012-09-20  Juri Linkov  <juri@jurta.org>
370         * dired-aux.el (dired-diff): Remove (require 'diff) since
371         `diff-latest-backup-file' is now autoloaded.
373 2012-09-20  Chong Yidong  <cyd@gnu.org>
375         * vc/diff.el (diff-latest-backup-file): Autoload.
377 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
379         * calc/calc.el: Remove redundant autoload shape check.
380         (sel-mode): Don't defvar.
381         (calc-get-stack-element): Add `sel-mode' arg instead.
382         (calc-top, calc-top-list): Pass it this additional argument.
383         * calc/calc-store.el (calc-store-map):
384         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
385         (calc-map-equation, calc-outer-product, calc-inner-product):
386         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
388         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
390 2012-09-19  Juri Linkov  <juri@jurta.org>
392         * dired-aux.el (dired-diff): Add (require 'diff) because
393         `diff-latest-backup-file' is not autoloaded.
394         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
395         of `dired-get-filename' to t to not report error when there is
396         no default file on the current line.
398 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
400         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
401         macroexp--eval-if-compile.
402         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
403         (macroexp--expand-all): Use them (bug#12371).
405         * doc-view.el (doc-view-guess-paper-size)
406         (doc-view-scale-bounding-box): Fix unbound `caddr'.
408 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
410         New feature: set optimal slice from BoundingBox information.
411         * doc-view.el (doc-view-mode-map): Add keybinding.
412         (doc-view-menu): Add menu entry.
413         (doc-view-set-slice): Adapt docstring.
414         (doc-view-get-bounding-box, doc-view-guess-paper-size)
415         (doc-view-scale-bounding-box)
416         (doc-view-set-slice-from-bounding-box): New functions.
417         (doc-view-paper-sizes): New defvar.
419 2012-09-19  Glenn Morris  <rgm@gnu.org>
421         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
422         (byte-compile-log-warning): Autoload.  (Bug#12371)
424         * calendar/calendar.el (calendar-american-month-header)
425         (calendar-european-month-header, calendar-iso-month-header)
426         (calendar-month-header): New options.
427         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
428         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
430 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
432         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
434 2012-09-18  Juri Linkov  <juri@jurta.org>
436         * dired-aux.el (dired-diff): Restore original functionality of
437         getting the default value, but keep new feature of using the
438         latest existing backup file (`diff-latest-backup-file').
440 2012-09-18  Juri Linkov  <juri@jurta.org>
442         * dired.el (dired-mark): If the region is active in Transient Mark
443         mode, mark all files in the active region.  Doc fix.
444         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
445         Doc fix.  (Bug#10624)
447 2012-09-18  Juri Linkov  <juri@jurta.org>
449         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
450         attributes for M-n are pulled from the file at point.
451         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
452         Suggested by Drew Adams.  (Bug#10624)
454 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
456         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
457         whitespace after "end".
458         (ruby-do-end-to-brace): Collapse block to one line if it fits
459         within fill-column.
461 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
463         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
464         value.
465         (debug): Don't remove debugger window when debugger is expected
466         to be back.
468 2012-09-18  Chong Yidong  <cyd@gnu.org>
470         * custom.el (defface): Doc fix.
472         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
474 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
476         * progmodes/compile.el (compilation-start): Use compilation-always-kill
477         to initialize query-on-exit; then test that instead (bug#12288).
479 2012-09-17  Stefan Merten  <smerten@oekonux.de>
481         * textmodes/rst.el: Add support for `testcover'.
482         (rst-defcustom-testcover, rst-testcover-add-compose)
483         (rst-testcover-add-1value): New functions.
484         (rst-portable-mark-active-p): Replace by `use-region-p'.
485         (rst-update-section, rst-classify-adornment)
486         (rst-find-title-line): Mark `1value' forms.
487         (rst-classify-adornment): Remove superfluous form.
488         (rst-update-section, rst-get-adornments-around)
489         (rst-adornment-complete-p, rst-get-next-adornment)
490         (rst-adjust, rst-promote-region)
491         (rst-display-adornments-hierarchy, rst-straighten-adornments)
492         (rst-find-pfx-in-region, rst-section-tree-rec)
493         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
494         (rst-toc-node, rst-toc, rst-forward-section)
495         (rst-iterate-leftmost-paragraphs)
496         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
497         (rst-bullet-list-region)
498         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
499         (rst-compile-find-conf, rst-compile)
500         (rst-repeat-last-character): Fix style.
502 2012-09-17  Chong Yidong  <cyd@gnu.org>
504         * comint.el (comint--complete-file-name-data): Don't add a space
505         if the status is `sole'; that adds a gratuitous space in the
506         completion-cycling case (Bug#12092).
508         * pcomplete.el (pcomplete-completions-at-point): Likewise.
510 2012-09-17  Richard Stallman  <rms@gnu.org>
512         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
513         only in the mime-shown mode, not in raw mode.
514         (rmail-mime): Toggle off mime by displaying the message without
515         mime processing.  (Bug#12305)
517         * mail/rmail.el (rmail-retry-failure):
518         Turn off mime processing first.  (Bug#12037)
520         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
522 2012-09-17  Chong Yidong  <cyd@gnu.org>
524         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
525         (shell-dynamic-complete-functions): Convert to defcustom.
526         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
528         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
529         * comint.el (comint-prompt-read-only):
530         * custom.el (defcustom):
531         * hi-lock.el (hi-lock-mode):
532         * ibuffer.el (ibuffer-formats):
533         * ielm.el (ielm-prompt-read-only):
534         * novice.el (disable-command):
535         * saveplace.el (toggle-save-place):
536         * speedbar.el (speedbar-supported-extension-expressions):
537         * startup.el (auto-save-list-file-prefix, init-file-user)
538         (after-init-hook, inhibit-startup-echo-area-message):
539         * strokes.el (strokes-help):
540         * time-stamp.el (time-stamp):
541         * calendar/calendar.el (calendar, diary-file):
542         * calendar/diary-lib.el (diary-mail-entries, diary)
543         (diary-list-entries-hook):
544         * calendar/holidays.el (holidays, calendar-holidays):
545         * calendar/lunar.el (lunar-phases):
546         * calendar/solar.el (sunrise-sunset):
547         * emulation/edt.el (edt-load-keys):
548         * emulation/viper.el (viper-mode):
549         * eshell/em-alias.el (eshell-command-aliases-list):
550         * eshell/esh-util.el (eshell-convert-numeric-arguments):
551         * international/ogonek.el (ogonek-information):
552         * net/tramp-cmds.el (tramp-bug):
553         * net/quickurl.el (quickurl-reread-hook-postfix):
554         * play/decipher.el (decipher-font-lock-keywords):
555         * progmodes/cc-styles.el (c-set-style):
556         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
557         * progmodes/inf-lisp.el (inferior-lisp-prompt):
558         * progmodes/octave-mod.el (octave-mode):
559         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
560         * progmodes/verilog-mode.el (verilog-read-defines):
561         * textmodes/two-column.el (2C-mode): Likewise.
563 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
565         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
566         that holds many addresses.
568 2012-09-16  Chong Yidong  <cyd@gnu.org>
570         * align.el (align-areas): Call the indication function with
571         positions instead of markers for arguments (Bug#12343).
573         * files.el (parse-colon-path): Use split-string (Bug#12351).
575         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
576         (display-buffer-function): Mark as obsolete.
578         * progmodes/compile.el (compilation-parse-errors): Accept list
579         values similar to font-lock-keywords (Bug#12136).
580         Suggested by Oleksandr Manzyuk.
581         (compilation-error-regexp-alist): Doc fix.
583 2012-09-15  Glenn Morris  <rgm@gnu.org>
585         * version.el (emacs-bzr-version-bzr): New function.
586         (emacs-bzr-get-version): Add optional EXTERNAL argument.
588         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
589         checkouts, check the parent dirstate matches the branch.
590         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
591         empty string.
593         * version.el (emacs-bzr-version): Doc fix.
594         (emacs-bzr-version-dirstate): New function.
595         (emacs-bzr-get-version): For lightweight checkouts, if the parent
596         is local try and check that it matches the branch.  If not, just
597         use dirstate information.  (Bug#12441)
599 2012-09-14  Juri Linkov  <juri@jurta.org>
601         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
602         (Bug#12399)
604 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
606         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
608         * emacs-lisp/edebug.el: Miscellaneous cleanup.
609         Remove obsolete byte-compiler hack that tried to silence some warnings.
610         (edebug-submit-bug-report): Remove.
611         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
612         Remove aliases, use the un-prefixed name instead.
613         (edebug-pop-to-buffer): Consider other frames.
614         (edebug-original-read):: Make it more obvious that it's always defined.
615         (edebug--make-form-data-entry, edebug--form-data-name)
616         (edebug--form-data-begin, edebug--form-data-end): Rename from the
617         single-dashed name, and implement with cl-defstruct.
618         (edebug-set-form-data-entry): Use the standard accessors.
619         (edebug-make-top-form-data-entry): Use push.
620         (edebug-no-match): Drop useless `funcall'.
621         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
622         to functions.
623         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
624         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
625         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
626         (easy-menu-define, with-custom-print): Remove redundant specs.
627         (edebug-outside-overriding-local-map)
628         (edebug-outside-overriding-terminal-local-map): Remove, unused.
629         (edebug--display): Bind unread-command-events directly to nil rather
630         than binding it to unread-command-events and later setting it to nil.
631         (edebug--display): Kill edebug-eval-buffer here...
632         (edebug--recursive-edit): ...rather than here.
633         Bind standard-output and standard-input.
634         (edebug-eval): Check cl-macroexpand-all is fboundp.
635         (edebug-temp-display-freq-count): Fix last change.
637         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
638         * subr.el (noreturn, 1value): Add `debug' spec.
639         * emacs-lisp/advice.el: Require cl-lib.
640         (ad-copy-tree): Remove, use copy-tree instead.
641         (ad-dolist): Remove use dolist or cl-dolist instead.
642         (ad-do-return): Remove, use cl-return instead.
643         (defadvice): Add `debug' spec.
645 2012-09-13  Juri Linkov  <juri@jurta.org>
647         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
648         (Bug#12399)
650 2012-09-13  Glenn Morris  <rgm@gnu.org>
652         * calc/calc.el (math-compose-expr):
653         * calc/calc-ext.el (math-compose-expr):
654         * progmodes/cc-defs.el (cl-macroexpand-all):
655         * progmodes/cc-langs.el (delete-duplicates, mapcan)
656         (cl-macroexpand-all): Update declarations.
658         * vc/vc.el: No need to require ediff.
659         (ediff-load-version-control): Declare.
660         (ediff-vc-internal): Fix declaration.
661         (vc-version-ediff): Require ediff.
663 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
665         Use a more backwards-compatible timer format (Bug#12430).
666         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
667         being right after USECS, as that better supports old code that
668         inadvisedly looked directly at the timer vector.
670 2012-09-13  Kenichi Handa  <handa@gnu.org>
672         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
673         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
674         `coding-priority' property of these language environment.
676 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
678         Fix glitches caused by addition of psec to timers (Bug#12430).
679         * image.el (image-animate-timer):
680         * time.el (display-time-world-timer):
681         Use timer--function and timer--args rather than raw access to
682         timer vector.
684 2012-09-13  Glenn Morris  <rgm@gnu.org>
686         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
687         If not compiling a file, try using load-file-name.
689 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
691         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
692         Fix last change.
693         (edebug-update-eval-list): Use `push'.
695         * emacs-lisp/edebug.el: Use lexical-binding.
696         Remove the "edebug-" prefix from non-dynamically-scoped variables.
697         Mark unused args with underscore.
698         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
699         (edebug-form-data): Use defvar-local.
700         (edebug-make-before-and-after-form, edebug-make-after-form):
701         Use backquote.
702         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
703         Not dynamically scoped any more.
704         (edebug--enter-trace): Add arguments `function' and `args'.
705         Rename from edebug-enter-trace.
706         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
707         (edebug--update-coverage): Add `after-index' and `value' args.
708         Rename from edebug-update-coverage.
709         (edebug-slow-after): Call it accordingly.
710         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
711         edebug-recursive-edit.
712         (edebug--display): Call it accordingly.  Add args `value',
713         `offset-index', and `arg-mode'.  Rename from edebug-display.
714         (edebug-debugger, edebug): Call it accordingly.
715         (edebug-eval-display-list): Use dolist.
717 2012-09-12  Juri Linkov  <juri@jurta.org>
719         * info.el (Info-search): Don't check for isearch-mode and
720         isearch-regexp before let-binding search-spaces-regexp to
721         Info-search-whitespace-regexp.
722         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
723         search-whitespace-regexp if isearch-lax-whitespace or
724         isearch-regexp-lax-whitespace is non-nil.
725         (Info-mode): Don't set local variable search-whitespace-regexp.
726         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
728 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
730         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
731         (debugger-env-macro): Remove support for unread-command-char.
733         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
734         the temporary map re-appearing on emulation-mode-map-alists.
736         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
737         since 22.1.
739         * ehelp.el (with-electric-help): Accept functions in
740         electric-help-form-to-execute.
741         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
742         And replace unread-command-char -> unread-command-events.
744 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
746         Sync with Tramp 2.2.6.
748         * net/tramp.el (tramp-accept-process-output): Don't use
749         JUST-THIS-ONE in the XEmacs case.
751         * net/trampver.el: Update release number.
753 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
755         * emacs-lisp/debug.el (debugger-previous-window-height):
756         New variable.
757         (debug): When debugger-jumping-flag is non-nil try to restore
758         height of debugger window.  (Bug#8789)
760 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
762         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
763         overriding-local-map and pre/post-command-hook here.
764         (edebug-recursive-edit): Do it here instead (bug#12345).
765         (edebug-outside-unread-command-char): Remove all uses of
766         unread-command-char.
768         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
769         inhibit-debugger is bound instead.
771 2012-09-11  Bastien Guerry  <bzg@gnu.org>
773         * subr.el (set-temporary-overlay-map): Add a docstring.
774         (Bug#12346)
776 2012-09-11  Bastien Guerry  <bzg@gnu.org>
778         * minibuffer.el (completion-table-subvert): Fix docstring.
779         (Bug#12347)
781 2012-09-11  Bastien Guerry  <bzg@gnu.org>
783         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
785 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
787         * progmodes/sql.el: Version 3.1
788         (sql-db2-escape-newlines): New variable.
789         (sql-escape-newlines-filter): Use it.
791 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
793         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
795 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
797         * vc/diff-mode.el (diff-mode-menu):
798         Bind diff-remove-trailing-whitespace.
800 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
802         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
803         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
804         (emacs-lisp-byte-code-mode): New functions.
805         (eval-sexp-add-defvars): Don't skip defvars in column >0.
806         (eval-defun-2): Remove bogus interactive spec.
807         (lisp-indent-line): Remove redundant whole-exp code, now done in
808         indent-according-to-mode.
809         (save-match-data): Remove redundant indent data.
811         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
812         Use `declare'.
814 2012-09-09  Juri Linkov  <juri@jurta.org>
816         * replace.el (replace-regexp-lax-whitespace): New defcustom.
817         (replace-lax-whitespace, query-replace-regexp)
818         (query-replace-regexp-eval, replace-regexp): Doc fix.
819         (perform-replace, replace-highlight): Let-bind
820         isearch-lax-whitespace to replace-lax-whitespace and
821         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
823         * isearch.el (isearch-query-replace): Let-bind
824         replace-lax-whitespace to isearch-lax-whitespace and
825         replace-regexp-lax-whitespace to
826         isearch-regexp-lax-whitespace.  (Bug#10885)
828 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
830         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
832 2012-09-09  Alan Mackenzie  <acm@muc.de>
834         * progmodes/cc-engine.el (c-state-cache-init):
835         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
836         (c-record-parse-state-state):
837         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
839 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
841         * register.el (register-separator): Rename from
842         separator-register.  All uses changed.  Doc fix.
843         (register): Fix version.
845 2012-09-09  Chong Yidong  <cyd@gnu.org>
847         * replace.el (query-replace-map): Bind four new symbols for
848         requesting window scrolling.
850         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
851         query-replace-map (Bug#8948).
853         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
855         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
856         since they are now in query-replace-map.
858         * window.el (scroll-other-window-down): Make the arg optional.
860 2012-09-09  Chong Yidong  <cyd@gnu.org>
862         * files.el (hack-local-variables-confirm): Use quit-window to kill
863         the *Local Variables* buffer.
865 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
867         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
868         not just expect to be at its beginning.  Adjust callees.
869         Succeed when do-end block has no space before the pipe character.
870         (ruby-brace-to-do-end): When the original block is one-liner,
871         convert to multiline.  Reindent the result.
873 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
875         * register.el (register): New group.
876         (register-separator): New user option.
877         (increment-register): Route it to `append-to-register', if
878         register contains text.  Implication is that `C-x r +' can now be
879         used for appending to a text register (bug#12217).
880         (append-to-register, prepend-to-register): Add separator based on
881         `register-separator.
883 2012-09-08  Alan Mackenzie  <acm@muc.de>
885         AWK Mode: make auto-newline work when there's "==" in the pattern.
886         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
887         correctly.
888         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
889         Test more rigorously for "=" token.
891 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
893         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
894         Only fail when reached LIMIT.
896 2012-09-08  Chong Yidong  <cyd@gnu.org>
898         * dired.el (dired-mode-map): Don't bind M-=.
900         * dired-aux.el (dired-diff): Use backup file as default.
902 2012-09-08  Drew Adams  <drew.adams@oracle.com>
904         * subr.el (add-to-history): Fix delete usage (Bug#12314).
906 2012-09-08  Chong Yidong  <cyd@gnu.org>
908         * subr.el (syntax-after, syntax-class): Doc fix.
910 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
912         * window.el (display-buffer-in-previous-window): New buffer
913         display action function.
915         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
916         (debugger-previous-window): New variable.
917         (debug): Rewrite using display-buffer-in-previous-window,
918         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
920 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
922         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
924 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
926         * progmodes/python.el (python-shell-send-string):
927         When default-directory is remote, create temp file on remote
928         filesystem.
929         (python-shell-send-file): When file is remote, pass local view of
930         file paths to remote Python interpreter.  (Bug#12340)
932 2012-09-07  Chong Yidong  <cyd@gnu.org>
934         * window.el (switch-to-buffer): Doc fix (Bug#12181).
936         * files.el (after-find-file): Don't fail on a read-only buffer if
937         require-final-newline is `visit' or `visit-save' (Bug#11156).
939         * subr.el (read-char-choice): Allow quitting via ESC ESC.
941         * userlock.el (ask-user-about-supersession-threat):
942         Use read-char-choice (Bug#12093).
944 2012-09-07  Chong Yidong  <cyd@gnu.org>
946         * subr.el (buffer-narrowed-p): New function.
948         * ses.el (ses-widen):
949         * simple.el (count-words--buffer-message):
950         * net/browse-url.el (browse-url-of-buffer): Use it
952         * simple.el (count-words-region): Don't signal an error if there
953         is a non-nil prefix arg and the mark is not set.
955         * help.el (describe-key-briefly): Allow the message to be seen
956         when invoked from the minibuffer (Bug#7014).
958 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
960         * progmodes/ruby-mode.el (ruby-end-of-defun)
961         (ruby-beginning-of-defun): Simplify, allow indentation before
962         block beginning and end keywords.
963         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
964         (ruby-end-of-defun): Expect that the point is at the beginning of
965         the defun.
967 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
969         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
970         (bug#12367).
971         (cl--make-usage-args): Strip _ from argument names.
973 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
975         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
976         obsolete alias speedbar-key-map.
977         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
978         (vhdl-index-menu-init): Don't use obsolete variable
979         font-lock-maximum-size.
981 2012-09-06  Chong Yidong  <cyd@gnu.org>
983         * frame.el (window-system-version): Mark as obsolete.
985         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
986         of obsolete variable speedbar-key-map.
988 2012-09-06  Juri Linkov  <juri@jurta.org>
990         * replace.el (replace-lax-whitespace): New defcustom.
991         (query-replace, query-replace-regexp, query-replace-regexp-eval)
992         (replace-string, replace-regexp): Mention it in docstrings.
993         (perform-replace, replace-highlight): Let-bind
994         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
995         to the values of replace-lax-whitespace and regexp-flag.
996         Don't let-bind search-whitespace-regexp.  (Bug#10885)
998         * isearch.el (isearch-query-replace): Let-bind
999         replace-lax-whitespace instead of let-binding
1000         replace-search-function and replace-re-search-function.
1001         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1002         and isearch-regexp-lax-whitespace to lazy-highlight variables.
1003         (isearch-toggle-symbol): Set isearch-regexp to nil
1004         in isearch-word mode (like in isearch-toggle-word).
1006 2012-09-06  Juri Linkov  <juri@jurta.org>
1008         * replace.el (replace-search-function)
1009         (replace-re-search-function): Set default values to nil.
1010         (perform-replace): Let-bind isearch-related variables based on
1011         replace-related values, call `isearch-search-fun' and let-bind
1012         the result to `search-function'.  Remove code that sets
1013         `search-function' and `search-string' separately for
1014         `delimited-flag'.
1015         (replace-highlight): Add new argument `delimited-flag' and
1016         rename other arguments to the names used in `perform-replace'.
1017         Let-bind `isearch-word' to the argument `delimited-flag'.
1018         (Bug#10885, bug#10887)
1020 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
1022         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1023         ruby-beginning-of-indent, simplify, allow all keywords to have
1024         indentation before them.
1025         (ruby-beginning-of-indent): Adjust for above.  Search until the
1026         found point is not inside a string or comment.
1027         (ruby-font-lock-keywords): Allow symbols to start with "@"
1028         character, give them higher priority than variables.
1029         (ruby-syntax-propertize-function)
1030         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1031         matchers.  Expression expansions are not comments when inside a
1032         string, and there comment syntax status is irrelevant.
1033         (ruby-match-expression-expansion): New function.  Check that
1034         expression expansion is inside a string, and it's not escaped.
1035         (ruby-font-lock-keywords): Use it.
1037 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
1039         * help.el (temp-buffer-max-height): New default value.
1040         (temp-buffer-resize-frames): New option.
1041         (resize-temp-buffer-window): Optionally resize frame.
1043         * window.el (fit-frame-to-buffer-bottom-margin): New option.
1044         (fit-frame-to-buffer): New function.
1046 2012-09-05  Glenn Morris  <rgm@gnu.org>
1048         * emulation/cua-rect.el (cua--init-rectangles):
1049         * textmodes/picture.el (picture-mode-map):
1050         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1051         like forward-char and backward-char.  (Bug#12317)
1053 2012-09-05  Leo Liu  <sdl.web@gmail.com>
1055         * progmodes/flymake.el (flymake-warning-re): New variable.
1056         (flymake-parse-line): Use it.
1058 2012-09-05  Glenn Morris  <rgm@gnu.org>
1060         * calendar/holidays.el (holiday-christian-holidays):
1061         Rename an entry.  (Bug#12289)
1063 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1065         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1066         (bug#12222).
1068 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1070         * loadup.el: Load macroexp.  Remove hack.
1071         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1072         (macroexp--expand-all): Use it to get better warnings.
1073         (macroexp--backtrace, macroexp--trim-backtrace-frame)
1074         (internal-macroexpand-for-load): New functions.
1075         (macroexp--pending-eager-loads): New var.
1076         (emacs-startup-hook): New hack to replace one in loadup.el.
1077         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1078         (cl--compiler-macro-cXXr): Move to top, before they can be used.
1079         (cl-psetf): Simplify.
1080         (cl-defstruct): Add indent rule.
1082 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
1084         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1085         over `user-mail-address' for the SMTP MAIL FROM envelope.
1086         (smtpmail-via-smtp): Ditto.
1088 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
1090         * progmodes/ruby-mode.el: Clean up keybindings.
1091         (ruby-mode-map): Don't bind ruby-electric-brace,
1092         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1093         backward-kill-word, reindent-then-newline-and-indent.
1094         (ruby-mark-defun): Remove.
1095         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
1096         (ruby-mode): Set local beginning-of-defun-function and
1097         end-of-defun-function values.
1099 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
1101         * window.el (temp-buffer-window-setup-hook)
1102         (temp-buffer-window-show-hook): New hooks.
1103         (temp-buffer-window-setup, temp-buffer-window-show)
1104         (with-temp-buffer-window): New functions.
1105         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1106         (special-display-popup-frame): Make sure the window used shows BUFFER.
1108         * help.el (temp-buffer-resize-mode): Fix doc-string.
1109         (resize-temp-buffer-window): New optional argument WINDOW.
1111         * files.el (recover-file, save-buffers-kill-emacs):
1112         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1114 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
1116         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1117         remote definition of `default-directory', ensure we can connect.
1119 2012-09-02  Juri Linkov  <juri@jurta.org>
1121         Toggle whitespace matching mode with M-s SPC.
1122         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1124         * isearch.el (search-whitespace-regexp): Doc fix.
1125         Remove cons cell customization.
1126         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1127         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1128         New variables.
1129         (isearch-forward, isearch-forward-regexp): Doc fix.
1130         (isearch-toggle-lax-whitespace): New command.
1131         (search-forward-lax-whitespace, search-backward-lax-whitespace)
1132         (re-search-forward-lax-whitespace)
1133         (re-search-backward-lax-whitespace): New functions.
1134         (isearch-whitespace-regexp): Remove function.
1135         (isearch-query-replace): Let-bind replace-search-function and
1136         replace-re-search-function.
1137         (isearch-occur): Let-bind search-spaces-regexp according to the
1138         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1139         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1140         condition for C-q SPC.
1141         (isearch-search-fun-default): Use new functions mentioned above.
1142         (isearch-search-forward, isearch-search-backward): Remove functions.
1143         (isearch-search): Don't let-bind search-spaces-regexp.
1144         (isearch-lazy-highlight-space-regexp): Remove variable.
1145         (isearch-lazy-highlight-lax-whitespace)
1146         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1147         (isearch-lazy-highlight-new-loop): Use them.
1148         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1150 2012-09-02  Chong Yidong  <cyd@gnu.org>
1152         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1154 2012-09-02  Glenn Morris  <rgm@gnu.org>
1156         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
1158 2012-09-01  Glenn Morris  <rgm@gnu.org>
1160         * term.el: Tidy up menu definitions.
1161         (term-mode-map): Use easymenu for In/Out, Complete menus.
1162         (term-pager-break-map): Initialize in the defvar.
1163         (term-terminal-menu, term-signals-menu): Define with easymenu.
1164         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
1165         (term-pager-menu): New, extracted from term-process-pager.
1166         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1167         (term-update-mode-line): Propertize line/char and page items.
1168         (term-process-pager): Move keymap initialization elsewhere.
1170 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
1172         * window.el (switch-to-prev-buffer): Handle additional values of
1173         BURY-OR-KILL argument.  Don't switch in minibuffer window.
1174         (switch-to-next-buffer): Don't switch in minibuffer window.
1175         (quit-restore-window): New function based on quit-window.
1176         Handle additional values of former KILL argument.
1177         (quit-window): Call quit-restore-window with appropriate
1178         interpretation of KILL argument.
1179         (display-buffer-below-selected): New buffer display action
1180         function.
1182 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1184         * minibuffer.el (completion-at-point-functions): Complete docstring
1185         (bug#12254).
1187 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
1189         Better seed support for (random).
1190         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1191         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1192         * play/mpuz.el, play/tetris.el, play/zone.el:
1193         * calc/calc-comb.el (math-init-random-base):
1194         * play/blackbox.el (bb-init-board):
1195         * play/life.el (life):
1196         * server.el (server-use-tcp):
1197         * type-break.el (type-break):
1198         Remove unnecessary call to (random t).
1199         * net/sasl.el (sasl-unique-id-function):
1200         Change (random t) to (random), now that the latter is more random.
1201         * play/life.el (life-initialized): Remove no-longer-needed var.
1203 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
1205         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1206         Consider frame's buffer predicate when choosing the buffer.
1207         (Bug#12081)
1209 2012-08-30  Richard Stallman  <rms@gnu.org>
1211         * simple.el (special-mode-map): Delete binding for `z'.
1213 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
1215         * progmodes/compile.el (compilation-always-kill): Doc fix.
1217 2012-08-30  Chong Yidong  <cyd@gnu.org>
1219         * window.el (display-buffer-reuse-frames): Make the obsolescence
1220         message more informative.
1222 2012-08-30  Glenn Morris  <rgm@gnu.org>
1224         * paren.el (show-paren-delay):
1225         Add a :set function.  Doc fix.  (Bug#12297)
1227 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
1229         * progmodes/compile.el (compilation-always-kill): New var.
1230         (compilation-start): Use it.
1232 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1234         * simple.el (read-only-mode): Move from files.el for bootstrapping.
1235         * files.el (read-only-mode): Move to simple.el.
1237         * files.el (read-only-mode): New minor mode.
1238         (toggle-read-only): Use it and mark obsolete.
1239         (find-file--read-only):
1240         * vc/vc.el (vc-next-action, vc-checkout):
1241         * vc/vc-cvs.el (vc-cvs-checkout):
1242         * obsolete/vc-mcvs.el (vc-mcvs-update):
1243         * ffap.el (ffap--toggle-read-only): Update callers.
1245 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
1247         * eshell/esh-ext.el (eshell-external-command): Do not examine
1248         remote shell scripts.
1249         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1251         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1252         "/usr/local/sbin".
1254 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1256         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1258 2012-08-28  Leo Liu  <sdl.web@gmail.com>
1260         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1261         completion-at-point.  (Bug#12220)
1263         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1265         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1267 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1269         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1270         be buffer-local; add delete-trailing-whitespace (bug#12259).
1272 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
1274         * progmodes/hideif.el (hif-compress-define-list):
1275         Fix typo.  (Bug#11951)
1277 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
1279         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1280         buffer local setting.
1282         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1283         rcirc-encode-coding-system.
1285 2012-08-28  Leo Liu  <sdl.web@gmail.com>
1287         * net/rcirc.el (rcirc-split-message): New function.
1288         (rcirc-send-message): Use it.  (Bug#12051)
1290 2012-08-28  Juri Linkov  <juri@jurta.org>
1292         * info.el (Info-fontify-node): Hide empty lines at the end of
1293         the node.  (Bug#12272)
1295 2012-08-27  Drew Adams  <drew.adams@oracle.com>
1297         * dired.el (dired-pop-to-buffer): Make window start at beginning
1298         of buffer (Bug#12281).
1300 2012-08-26  Chong Yidong  <cyd@gnu.org>
1302         * window.el (special-display-regexps, special-display-frame-alist)
1303         (special-display-buffer-names, special-display-function)
1304         (display-buffer-reuse-frames): Mark as obsolete.
1306         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1308         * help.el (help-print-return-message): Don't treat
1309         display-buffer-reuse-frames specially.
1311 2012-08-26  Chong Yidong  <cyd@gnu.org>
1313         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1314         New variable, replacing gdb-frame-parameters.
1315         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1316         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1317         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1318         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1319         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
1320         the functions directly with gdb-display-buffer-other-frame-action.
1321         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1322         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1323         (gdb-display-stack-buffer, gdb-display-locals-buffer)
1324         (gdb-display-registers-buffer): Define directly.
1325         (def-gdb-display-buffer): Macro deleted.
1326         (gdb-display-buffer): Remove second and third args, callers don't
1327         use them.  Defer to the default display-buffer behavior, apart
1328         from making windows dedicated.
1329         (gdb-setup-windows): Don't call display-buffer unnecessarily.
1331         * progmodes/gud.el (gud-display-line): Just use display-buffer.
1333         * window.el (display-buffer-pop-up-frame): Handle a
1334         pop-up-frame-parameters alist entry.
1335         (display-buffer): Document it.
1337 2012-08-26  Chong Yidong  <cyd@gnu.org>
1339         * isearch.el (search-whitespace-regexp): Make string and nil
1340         values apply to both ordinary and regexp search.  Allow a cons
1341         cell value to distinguish between the two.
1342         (isearch-whitespace-regexp, isearch-search-forward)
1343         (isearch-search-backward): New functions.
1344         (isearch-occur, isearch-search-fun-default, isearch-search)
1345         (isearch-lazy-highlight-new-loop): Use them.
1346         (isearch-forward, isearch-forward-regexp): Doc fix.
1348 2012-08-26  Chong Yidong  <cyd@gnu.org>
1350         * faces.el (help-argument-name): Always inherit from italic
1351         (Bug#12213).
1353 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
1355         * window.el (window--even-window-heights): Even heights when
1356         WINDOW and the selected window form a vertical combination.
1357         (display-buffer-use-some-window): Provide that window used gets
1358         sized back by quit-window.  (Bug#11880) and (Bug#12091)
1360 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1362         Fix file time stamp problem with bzr and CVS (Bug#12001).
1363         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1364         in the file's time stamp, since the version control system loses
1365         that information.
1367 2012-08-22  Juri Linkov  <juri@jurta.org>
1369         * info.el (Info-fontify-node): Hide the suffix of the
1370         Info file name in the header line.  (Bug#12187)
1372 2012-08-22  Glenn Morris  <rgm@gnu.org>
1374         * calendar/cal-tex.el (cal-tex-weekly-common):
1375         Restore leading blank page.
1377 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
1379         * misc.el (forward-to-word, backward-to-word): Activate or extend
1380         the region under `shift-select-mode'.  (Bug#12231)
1382 2012-08-22  Bastien Guerry  <bzg@gnu.org>
1384         * progmodes/executable.el (executable-prefix): Set to "#!" instead
1385         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
1386         gives details on why the space is never needed.
1388 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
1390         * window.el (walk-window-tree, window-with-parameter):
1391         New optional argument MINIBUF to control whether these functions
1392         should run on the minibuffer window.
1393         (window-at-side-list): Don't operate on minibuffer window.
1394         (window-in-direction): Simplify and rewrite doc-string.
1395         (window--size-ignore): Rename to window--size-ignore-p.
1396         Update callers.
1397         (display-buffer-in-atom-window, window--major-non-side-window)
1398         (window--major-side-window, display-buffer-in-major-side-window)
1399         (delete-side-window, display-buffer-in-side-window):
1400         New functions.
1401         (window--side-check, window-deletable-p, delete-window)
1402         (delete-other-windows, split-window): Handle side windows and
1403         atomic windows appropriately.
1404         (window--display-buffer): Call display-buffer-record-window also
1405         when the window buffer did not change.
1407 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
1409         * help-fns.el (help-fns--key-bindings):
1410         Abbreviate non-symbol remap targets.  (Bug#12174)
1412 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
1414         * dired.el (dired-mark-remembered): Don't clobber point.
1415         (Bug#11795)
1417 2012-08-22  Glenn Morris  <rgm@gnu.org>
1419         * progmodes/bug-reference.el (bug-reference): New custom group.
1420         (bug-reference-bug-regexp): Make it a defcustom.
1422 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
1424         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1425         (js-paren-indent-offset, js-square-indent-offset)
1426         (js-curly-indent-offset): Add :safe (Bug#12257).
1428 2012-08-22  Edward O'Connor  <hober0@gmail.com>
1430         * json.el (json-key-format): Add error properties.
1431         (json-encode-key): New function.
1432         (json-encode-hash-table, json-encode-alist, json-encode-plist):
1433         Use json-encode-key.
1435 2012-08-22  Glenn Morris  <rgm@gnu.org>
1437         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1438         (cal-tex-leftday, cal-tex-rightday): Remove functions.
1439         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1440         Update for above change.
1442 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
1444         * cus-face.el (custom-face-attributes): Fix customize type for the
1445         :underline attribute.  (Bug#11805)
1447 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
1449         * window.el (window-point-1, set-window-point-1): Remove.
1450         (window-in-direction, record-window-buffer)
1451         (set-window-buffer-start-and-point, split-window-below)
1452         (window--state-get-1, display-buffer-record-window):
1453         Replace calls to window-point-1 and set-window-point-1 by calls to
1454         window-point and set-window-point respectively.
1456 2012-08-21  Glenn Morris  <rgm@gnu.org>
1458         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1459         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1460         Use it.
1462         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1463         (cal-tex-shortday): New function.
1464         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1465         (cal-tex-cursor-filofax-daily): Use the above.
1467         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1468         New functions.
1469         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1470         (cal-tex-cursor-filofax-week): Use them.
1472         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1473         New constants.
1474         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1475         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1477         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1478         (cal-tex-end-document): Don't rely on buffer name.
1480         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1481         Use cal-tex-vspace.
1482         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1483         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
1484         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1485         Use cal-tex-arg.
1487         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1488         (cal-tex-cursor-week, cal-tex-cursor-week2)
1489         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1490         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1491         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1492         (cal-tex-insert-preamble, cal-tex-b-document)
1493         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1494         Improve cal-tex-cmd usage.
1496         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1497         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1498         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1499         (cal-tex-weekly-paper): New function.
1500         (cal-tex-cursor-week, cal-tex-cursor-week2)
1501         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1502         (cal-tex-cursor-day): Use it.
1504         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1505         (cal-tex-cursor-filofax-week): Remove leading blank page.
1507         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1508         Add autoload cookie.  For now at least, don't use color, since
1509         no other cal-tex function does.
1511         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1512         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1513         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1515 2012-08-21  Juri Linkov  <juri@jurta.org>
1517         * info.el (Info-file-attributes): New variable.
1518         (info-insert-file-contents): Add file attributes to
1519         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
1520         `Info-toc-nodes' when previous modtime of the Info file is less
1521         than new modtime.
1522         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1523         of info.el.  (Bug#12230)
1525 2012-08-20  Glenn Morris  <rgm@gnu.org>
1527         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1528         * calendar/holidays.el (calendar-holiday-list):
1529         Report errors with display-warning rather than beep'n'sleep.
1531 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
1533         * net/tramp.el (tramp-accept-process-output): Accept only output
1534         from PROC.  Otherwise, process filters and sentinels might be
1535         confused.  (Bug#12145)
1537 2012-08-20  Chong Yidong  <cyd@gnu.org>
1539         * descr-text.el (describe-text-properties-1): Use overlays-in to
1540         report on empty overlays (Bug#3322).
1542 2012-08-20  Glenn Morris  <rgm@gnu.org>
1544         * mail/rmailout.el (rmail-output-read-file-name):
1545         Trap and report errors in rmail-output-file-alist elements.
1547         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1548         since most non-font-lock faces are not also variables).
1550 2012-08-20  Edward Reingold  <reingold@iit.edu>
1552         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1553         New function.  (Bug12160)
1555 2012-08-19  Glenn Morris  <rgm@gnu.org>
1557         * mail/rmailout.el (rmail-output-read-file-name):
1558         Fix previous change (when the alist is nil or does not match).
1560 2012-08-19  Chong Yidong  <cyd@gnu.org>
1562         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1563         (Bug#12228).
1565 2012-08-18  Chong Yidong  <cyd@gnu.org>
1567         * simple.el (yank-handled-properties): New defcustom.
1568         (yank-excluded-properties): Add font-lock-face and category.
1569         (yank): Doc fix.
1571         * subr.el (remove-yank-excluded-properties):
1572         Obey yank-handled-properties.  The special handling of font-lock-face
1573         and category is now done this way, instead of being hard-coded.
1574         (insert-for-yank-1): Remove font-lock-face handling.
1575         (yank-handle-font-lock-face-property)
1576         (yank-handle-category-property): New function.
1578 2012-08-17  Glenn Morris  <rgm@gnu.org>
1580         * mail/rmailout.el (rmail-output-read-file-name):
1581         Check rmail-output-file-alist against the full message body
1582         in the correct rmail buffer.  (Bug#12214)
1584 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
1586         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1587         Eliminate superfluous prompt.  (Bug#12203)
1589 2012-08-17  Chong Yidong  <cyd@gnu.org>
1591         * mouse.el (mouse-appearance-menu): If x-select-font returns a
1592         font spec, set the font directly (Bug#3228).
1594 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
1596         * window.el (delete-window): Fix last fix.
1598 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
1600         * window.el (window-valid-p): Move to window.c.
1601         (window-child, window-child-count, window-last-child)
1602         (window-normalize-window, window-combined-p)
1603         (window-combinations, window-atom-root, window-min-size)
1604         (window-sizable, window-sizable-p, window-size-fixed-p)
1605         (window-min-delta, window-max-delta, window--resizable)
1606         (window--resizable-p, window-resizable, window-total-size)
1607         (window-full-height-p, window-full-width-p, window-body-size)
1608         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1609         (minimize-window, window-deletable-p, delete-window)
1610         (delete-other-windows, set-window-buffer-start-and-point)
1611         (next-buffer, previous-buffer, split-window, balance-windows-2)
1612         (set-window-text-height, window-buffer-height)
1613         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
1614         (truncated-partial-width-window-p): Minor code adjustments.
1615         In doc-strings state whether the argument window has to denote a
1616         live, valid or any window.
1618 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
1620         * progmodes/subword.el (subword-forward-function)
1621         (subword-backward-function, subword-forward-regexp)
1622         (subword-backward-regexp): New variables.
1623         (subword-forward, subword-forward-internal, subword-backward-internal):
1624         Use new variables, eg so that different "word" definitions
1625         can be easily used.  (Bug#11411)
1627 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1629         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1630         for composite selectors.
1631         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1632         operation just because we can't find a previous revision.
1634 2012-08-15  Chong Yidong  <cyd@gnu.org>
1636         * frame.el (set-frame-font): Accept font objects.
1638 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1640         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1642 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
1644         * man.el (Man-overstrike-face, Man-underline-face)
1645         (Man-reverse-face): Remove variables.
1646         (Man-overstrike, Man-underline, Man-reverse): New faces.
1647         (Man-fontify-manpage): Use them instead of the variables.
1648         (Man-cleanup-manpage): Comment change.
1649         (Man-ansi-color-map): New variable.
1650         (Man-fontify-manpage): Use it.
1651         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1653         Implement ANSI SGR parameters 22-27 (bug#12146).
1654         * ansi-color.el (ansi-colors): Doc fix.
1655         (ansi-color-context, ansi-color-context-region): Doc fix.
1656         (ansi-color--find-face): New function.
1657         (ansi-color-apply, ansi-color-apply-on-region): Use it.
1658         Rename the local variable `face' to `codes' since it is now a list of
1659         ansi codes.  Doc fix.
1660         (ansi-color-get-face): Remove.
1661         (ansi-color-parse-sequence): New function, derived from
1662         ansi-color-get-face.
1663         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
1664         codes 22-27.
1666 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1668         * subr.el (read-passwd): Allow use from a minibuffer.
1670 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
1672         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1673         inside comments and strings as identifiers.
1675         * progmodes/gud.el (gud-tooltip-print-command): Quote the
1676         expression to evaluate.  This allows to evaluate expressions with
1677         embedded whitespace.
1678         (gud-tooltip-tips): Add a blank before the newline in the
1679         message-box text, for the benefit of message-box emulation on
1680         MS-Windows.
1682         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1683         messages from GDB, pop them up in a tooltip to give feedback to
1684         user.
1685         (gdb-tooltip-print-1): Quote the expression to evaluate.
1686         This allows to evaluate expressions with embedded whitespace.
1687         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1688         if the TTY name is nil or empty (which happens when communicating
1689         with the inferior via pipes, e.g. on MS-Windows).
1690         (gdb-internals): If GDB sends a "&\n" empty debugging message,
1691         don't send that to the GUD buffer.
1693 2012-08-14  Glenn Morris  <rgm@gnu.org>
1695         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1696         Optimize away setq-default with no args, as for setq.  (Bug#12195)
1698 2012-08-14  Chong Yidong  <cyd@gnu.org>
1700         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1702         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1703         (Bug#12085).
1705 2012-08-14  Glenn Morris  <rgm@gnu.org>
1707         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1709 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
1711         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1712         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1713         Use cached shell name.
1715 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
1717         * progmodes/python.el (python-shell-send-string):
1718         (python-shell-send-setup-code): Do not use `format' with `message'.
1720 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
1722         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1723         (ruby-percent-literal-beg-re): New constant.
1724         (ruby-syntax-general-delimiters-goto-beg): Rename to
1725         `ruby-syntax-enclosing-percent-literal', improve literal type check.
1726         (ruby-syntax-propertize-general-delimiters): Rename to
1727         `ruby-syntax-propertize-percent-literal', it's a shorter and more
1728         popular term.  Adjust comments everywhere.
1729         (ruby-syntax-propertize-percent-literal): Only propertize when not
1730         inside a simple string or comment.  When the literal is unclosed,
1731         leave the text after it unpropertized.
1732         (ruby-syntax-methods-before-regexp): New constant.
1733         (ruby-syntax-propertize-function): Use it to recognize regexps.
1734         Don't look at the text after regexp, just use the whitelist.
1736 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
1738         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1739         non-nil always load the compiled file if it exists.  (Bug#12197)
1741 2012-08-14  Chong Yidong  <cyd@gnu.org>
1743         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1744         (hi-lock-set-pattern): When deciding whether to use font lock or
1745         overlays, look at font-lock-mode instead of font-lock-fontified
1746         (Bug#12168).
1747         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1748         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1750 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
1752         * subr.el (internal--after-with-selected-window): Fix typo
1753         (Bug#12193).
1755 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
1757         Use `completion-table-dynamic' for completion functions.
1758         * progmodes/python.el
1759         (python-shell-completion--do-completion-at-point)
1760         (python-shell-completion--get-completions):
1761         Remove functions.
1762         (python-shell-completion-complete-at-point): New function.
1763         (python-completion-complete-at-point): Use it.
1765 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
1767         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1768         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1770 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1772         * subr.el (function-get): Refine `autoload' arg so it can also
1773         autoload functions for gv.el (bug#12191).
1774         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1775         autoloads macros.
1777         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1778         Prefer pcase-let over destructuring-bind.
1779         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1780         Also, remove whitespace as we go, rather than after accumulating the
1781         various places.
1783         * subr.el (internal--before-with-selected-window)
1784         (internal--after-with-selected-window): Fix typo seleted->selected.
1785         (with-selected-window): Adjust callers.
1786         Reported by Dmitry Gutov <dgutov@yandex.ru>.
1788 2012-08-13  Bastien Guerry  <bzg@gnu.org>
1790         * window.el (special-display-popup-frame): Minor docstring
1791         enhancement.  (Bug#12172)
1793 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
1795         * tar-mode.el (tar-header-data-end): Only ignore size for files of
1796         type 1-6.
1797         (tar-header-block-summarize, tar-get-descriptor): Handle pax
1798         extended headers.
1800         * files.el (hack-local-variables-filter): Remove useless eval.
1802 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
1804         * subr.el (with-selected-window): Fix last change.
1806 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1808         * subr.el (internal--before-with-seleted-window)
1809         (internal--after-with-seleted-window): New functions.
1810         (with-selected-window): Use them, to replace dependency on
1811         tty-top-frame.
1813 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1815         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1816         binding for `newline'.
1817         (ruby-move-to-block): When moving backward, stop at block opening,
1818         not indentation.
1819         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1820         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1821         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1822         `ruby-toggle-block'.
1824 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1826         * ibuffer.el (ibuffer-do-toggle-read-only):
1827         * dired.el (dired-toggle-read-only):
1828         * buff-menu.el (Buffer-menu-toggle-read-only):
1829         * bindings.el (mode-line-toggle-read-only):
1830         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1832 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
1834         * descr-text.el (describe-char): Put the overlays over the
1835         "displayed as" character.
1837 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
1839         * calc/calc-units.el (math-default-units-table): Give an
1840         initial value.
1841         (math-put-default-units): Add options to put composite units and
1842         unit systems in the default units table.
1843         (calc-convert-units): Send composite units to
1844         `math-put-default-units' when appropriate.
1846 2012-08-11  Glenn Morris  <rgm@gnu.org>
1848         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1850         * tutorial.el (help-with-tutorial):
1851         * emacs-lisp/copyright.el (copyright-update-directory):
1852         * emacs-lisp/autoload.el (autoload-find-generated-file)
1853         (autoload-find-file): Disable local eval: (for insurance).
1855         * files.el (hack-local-variables-filter): If an eval: form is not
1856         known to be safe, and enable-local-variables is :safe, then ignore
1857         the form totally, as is done for non-eval forms.  (Bug#12155)
1858         This is CVE-2012-3479.
1860 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1862         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1863         (rx-form): Simplify.
1865 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
1867         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1868         ?, _, and : are symbol constituents, ! is not (but kinda should be).
1869         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1870         (ruby-syntax-propertize-function): Adjust for changes in
1871         `ruby-syntax-propertize-heredoc'.
1873 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
1875         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1876         binding (use `M-;' instead).
1877         (ruby-singleton-class-p): New function.
1878         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
1880 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1882         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1884 2012-08-10  Chong Yidong  <cyd@gnu.org>
1886         * progmodes/python.el (python-shell-get-process-name): Don't mess
1887         with same-window-buffer-names.
1889         * eshell/eshell.el (eshell-add-to-window-buffer-names)
1890         (eshell-remove-from-window-buffer-names): Make obsolete.
1891         (eshell-buffer-name, eshell-unload-hook): Don't use them.
1892         (eshell): Just use pop-to-buffer-same-window instead.
1894 2012-08-10  Chong Yidong  <cyd@gnu.org>
1896         * bindings.el: Bind M-= back to count-words-region.
1898         * simple.el (count-words-region): Accept a prefix arg for acting
1899         on the entire buffer.
1900         (count-words--buffer-message): New helper function.
1902 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1904         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1905         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1906         (event-start, event-end): Use posn-at-point to return a more
1907         informative posn.
1908         (posnp): New function.
1909         * mouse.el (popup-menu-normalize-position): Use it.
1911 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
1913         * mouse.el (popup-menu-normalize-position): New function.
1914         (popup-menu): Use `popup-menu-normalize-position' to normalize
1915         the form for POSITION argument.
1917         * term/x-win.el (x-menu-bar-open):
1918         Use the value returend from (posn-at-point) as position
1919         passed to `popup-menu'.
1921 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
1923         * calc/calccomp.el (math-compose-expr): Add extra argument
1924         indicating that parentheses should be put around products in
1925         denominators.  Give multiplication precedence over division during
1926         composition.
1928 2012-08-09  Chong Yidong  <cyd@gnu.org>
1930         * man.el (Man-switches, Man-sed-command, Man-awk-command)
1931         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1932         (Man-untabify-command, manual-program): Convert to defcustom
1933         (Bug#10429).
1935         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1937         * descr-text.el (describe-char): Don't insert extra newlines
1938         (Bug#10127).
1940         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1941         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1943         * align.el (align-region): Delete temporary markers (Bug#10047).
1944         Plus some code cleanups.
1946 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
1948         * progmodes/python.el (python-pdbtrack-tracked-buffer)
1949         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1950         (python-shell-internal-last-output): Use make-local-variable
1951         instead of make-variable-buffer-local.
1953 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
1955         * progmodes/python.el: Enhancements to forward-sexp.
1956         (python-nav-forward-sexp): Rename from
1957         python-nav-forward-sexp-function.
1958         (python-nav--forward-sexp, python-nav--backward-sexp):
1959         New functions.
1961 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
1963         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1964         modes and simplification modes.
1966 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1968         * delsel.el (delete-selection-pre-hook): Don't propagate the
1969         file-supersession signals (bug#12161).
1971 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1973         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1974         (cl-map-extents): Add compatibility aliases (bug#12135).
1976 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
1978         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1979         tests by `ignore-error'.
1980         (tramp-find-shell): Open also a new shell, when cache is already
1981         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
1983 2012-08-08  Juri Linkov  <juri@jurta.org>
1985         * bookmark.el: Add `defaults' property to the bookmark record.
1986         (bookmark-current-buffer): Doc fix.
1987         (bookmark-make-record): Add `defaults' property with default values
1988         to the bookmark record.
1989         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1990         with `bookmark-insert-current-bookmark'.
1991         (bookmark-set): Get `defaults' property from the bookmark record
1992         and use it in `read-from-minibuffer'.
1993         (bookmark-insert-current-bookmark): Remove function.
1995         * info.el (Info-bookmark-make-record): Add `defaults' property
1996         with values of canonical Info node name, the current Info file
1997         name and the current Info node name.  (Bug#12107)
1999 2012-08-08  Juri Linkov  <juri@jurta.org>
2001         * files.el (basic-save-buffer): Use `buffer-name' as the default
2002         of `read-file-name' when buffer is not visiting a file (bug#12128).
2004 2012-08-08  Juri Linkov  <juri@jurta.org>
2006         * info.el (Info-isearch-search): Doc fix.
2007         (Info-search): Change search-failed message from "initial node" to
2008         "end of node" (bug#12078).
2009         (Info-isearch-search): Change `isearch-string-state' to
2010         `isearch--state-string'.
2012 2012-08-08  Glenn Morris  <rgm@gnu.org>
2014         * language/persian.el: Remove file.
2015         * language/misc-lang.el: Move unique part of persian.el here.
2016         * loadup.el: Remove language/persian.
2018 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
2020         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2022 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
2024         * progmodes/python.el Fixed defsubst warning.
2025         (python-syntax-context) Rename from python-info-ppss-context.
2026         (python-syntax-context-type): Rename from
2027         python-info-ppss-context-type.
2028         (python-syntax-comment-or-string-p): Rename from
2029         python-info-ppss-comment-or-string-p.
2031 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
2033         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2035 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
2037         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2038         a defcustom that is quoted with backquote.
2040         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2041         Fix handling of interactive spec when the body uses return.
2042         (math-do-arg-check, math-define-function-body): Use backquote forms.
2043         * calc/calc-ext.el (math-defcache): Likewise.
2044         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2045         * allout.el (allout-new-exposure): Likewise.
2046         * calc/calcalg2.el (math-tracing-integral): Likewise.
2047         * info.el (Info-last-menu-item): Likewise.
2048         * emulation/vip.el (vip-loop): Likewise.
2049         * textmodes/artist.el (artist-funcall): Likewise.
2050         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2051         Construct menu-item directly.
2053         * progmodes/autoconf.el (font-lock-syntactic-keywords):
2054         Don't declare.
2056 2012-08-07  Chong Yidong  <cyd@gnu.org>
2058         * simple.el (deactivate-mark): Preserve text properties when
2059         saving the primary selection (Bug#8384).
2061 2012-08-07  Kevin Ryde  <user42@zip.com.au>
2063         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2064         (woman-parse-numeric-value): On a bad .IP line, issue a warning
2065         and continue processing (Bug#12110).
2067 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2069         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2070         syntax-propertize-function (bug#10095).
2072 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2074         * help-fns.el (help-fns--key-bindings, help-fns--signature)
2075         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2076         describe-function-1.
2077         (describe-function-1): Use them.  Move compiler macro after sig.
2078         (help-fns--compiler-macro): Use function-get.  Assume we're already in
2079         standard-output.  Adjust layout to new call order.
2081         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2082         re-binding a symbol that has a symbol-macro (bug#12119).
2084 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
2086         * language/persian.el: New file.  (Bug#11812)
2087         * loadup.el: Add language/persian.el.
2089 2012-08-06  Chong Yidong  <cyd@gnu.org>
2091         * window.el (window--maybe-raise-frame): New function.
2092         (window--display-buffer): Split off from here.
2093         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2094         (display-buffer-pop-up-window, display-buffer-use-some-window):
2095         Obey an inhibit-switch-frame action alist entry.
2096         (display-buffer): Update doc.
2098         * replace.el (occur-after-change-function): Avoid losing focus by
2099         using the inhibit-switch-frame display parameter (Bug#12139).
2101 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
2103         Make internal shell process buffer names start with space.
2104         * progmodes/python.el (python-shell-make-comint): Add optional
2105         argument INTERNAL.
2106         (run-python-internal): Use it.
2107         (python-shell-internal-get-or-create-process): Check for new
2108         internal buffer names.
2110 2012-08-06  Glenn Morris  <rgm@gnu.org>
2112         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2113         Do less getting and setting of environment variables.
2115 2012-08-05  Chong Yidong  <cyd@gnu.org>
2117         * proced.el (proced): Add substitution string to docstring to
2118         trigger autoloading of the proced library on C-h f (Bug#1768).
2120         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2121         Don't show defvars which have no second argument (Bug#8638).
2123         * imenu.el (imenu-generic-expression): Move documentation here
2124         from imenu--generic-function.
2125         (imenu--generic-function): Refer to imenu-generic-expression.
2127 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
2129         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2130         indentation declaration.
2131         (viper-loop): Add indentation declaration (Bug#7025).
2133 2012-08-05  Chong Yidong  <cyd@gnu.org>
2135         * help-fns.el (describe-variable): Add hyperlink for
2136         directory-local variables files.  Improve buffer-local and
2137         permanent-local reporting; suggested by MON KEY (Bug#6644).
2139         * help-mode.el (help-dir-local-var-def): New button type.
2141         * files.el (kill-buffer-hook): Provide a defvar.
2143 2012-08-05  Glenn Morris  <rgm@gnu.org>
2145         * eshell/esh-ext.el (eshell/addpath):
2146         Also update eshell-path-env.  (Bug#12013)
2148 2012-08-05  Chong Yidong  <cyd@gnu.org>
2150         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2152         * fringe.el (fringe-styles): Add docstring.
2153         (fringe--check-mode): New function.
2154         (set-fringe-mode, set-fringe-style): Use it.
2155         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2157         * files.el (set-auto-mode): Fix invalid setq call.
2159 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2161         * isearch.el: Misc simplification; use defstruct.
2162         (isearch-mode-map): Dense maps now work like sparse ones.
2163         (isearch--state): New defstruct.
2164         (isearch-string-state, isearch-message-state, isearch-point-state)
2165         (isearch-success-state, isearch-forward-state)
2166         (isearch-other-end-state, isearch-word-state, isearch-error-state)
2167         (isearch-wrapped-state, isearch-barrier-state)
2168         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2169         replaced by defstruct's accessors.
2170         (isearch--set-state): Rename from isearch-top-state and change
2171         calling convention.
2172         (isearch-push-state): Use new isearch--get-state.
2173         (isearch-toggle-word): Disable regexp when enabling word.
2174         (isearch-message-prefix): Remove unused arg _c-q-hack.
2175         (isearch-message-suffix): Remove unused arg _ellipsis.
2177 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
2179         * simple.el (list-processes--refresh): For a server use :host or
2180         :local as the address.
2181         (list-processes): Doc fix.
2183 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
2185         * lisp/mpc.el: Support password in host argument.
2186         (mpc--proc-connect): Parse and use new password element.
2187         Set mpc-proc variable instead of returning process.
2188         (mpc-proc): Adjust accordingly.
2190 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
2192         * whitespace.el (whitespace-display-mappings): Use Unicode
2193         codepoints, instead of emacs-mule codepoints.  See
2194         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2195         for the details.
2197         * files.el (file-truename): Don't skip symlink-chasing part on
2198         windows-nt.  Incorporate the resolution of 8+3 short aliases on
2199         Windows into the loop that recursively chases symlinks.
2200         Compare directory and its parent case-insensitively on MS-Windows and
2201         MS-DOS.
2203 2012-08-03  Chong Yidong  <cyd@gnu.org>
2205         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2207         * sort.el (sort-regexp-fields): Doc fix.
2209 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
2211         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2212         labels regex position point at the expected place.
2214 2012-08-03  MON KEY  <monkey@sandpframing.com>
2216         * net/imap.el (imap-interactive-login, imap-authenticate)
2217         (imap-mailbox-lsub, imap-mailbox-list)
2218         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2219         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2220         (imap-parse-response): Doc fix.
2222 2012-08-03  João Távora  <joaotavora@gmail.com>
2224         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2225         if sexp scanning does not move point (Bug#5734).
2227 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
2229         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2230         Add listings, minted, and ctable packages.
2231         (reftex-label-alist-builtin): Move listings, minted, and ctable
2232         entries before LaTeX.
2233         (reftex-label-alist): Docfix.
2235 2012-08-02  Bastien Guerry  <bzg@gnu.org>
2237         * replace.el (occur): Fix docstring (bug#12122).
2239 2012-08-02  Glenn Morris  <rgm@gnu.org>
2241         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2243 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
2245         Obsolete alias inactivate-current-input-method-function (Bug#10150).
2246         * international/mule-cmds.el: Create
2247         inactivate-current-input-method-function as an obsolete alias for
2248         deactivate-current-input-method-function.  See Katsumi Yamaoka in
2249         <http://bugs.gnu.org/10150#46>.
2251 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
2253         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2254         of nested `if's.
2256 2012-08-01  Glenn Morris  <rgm@gnu.org>
2258         * progmodes/autoconf.el (autoconf-definition-regexp):
2259         Add AH_TEMPLATE, adjust submatch numbering.
2260         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2261         (autoconf-current-defun-function): Update for above change.
2262         (autoconf-current-defun-function): First skip to end of current word.
2264 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
2266         * calendar/cal-html.el (cal-html-insert-agenda-days):
2267         Fix typo.  (Bug#12018)
2269 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
2271         Shell processes: enhancements to startup and CEDET compatibility.
2272         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2273         (python-shell-make-comint): accept-process-output at startup.
2274         (run-python-internal): Set inferior-python-mode-hook to nil.
2275         (python-shell-internal-get-or-create-process): call sit-for.
2276         (python-preoutput-result): Add obsolete alias.
2277         (python-shell-internal-send-string): Use it.
2278         (python-shell-send-setup-code): Remove call to
2279         accept-process-output.
2281 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
2283         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2284         (Bug#12108)
2286 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
2288         * calc-mode.el (calc-basic-simplification-mode): Rename from
2289         `calc-limited-simplification-mode'.
2290         (calc-alg-simplification-mode): New function.
2291         (calc-set-simplify-mode): Adjust message.
2293         * calc.el (calc-set-mode-line): Adjust mode line display for
2294         basic simplification mode.
2296         * calc-help.el (calc-m-prefix-help): Update help message.
2298         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2299         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2301 2012-07-31  Bastien Guerry  <bzg@gnu.org>
2303         * man.el (man): Fix comment.  (bug#12101)
2305 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
2307         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2308         Don't return a non-nil value when no suitable buffer was found.
2310 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
2312         * progmodes/python.el (run-python-internal): Disable font lock for
2313         internal shells.
2315 2012-07-30  Stefan Merten  <smerten@oekonux.de>
2317         * textmodes/rst.el: Silence `checkdoc-ispell'.
2318         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2319         (rst-official-version, rst-official-cvs-rev)
2320         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2321         (rst-mode-map): New key binding.
2323 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
2325         Update .PHONY listings in makefiles.
2326         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2327         autoloads, update-subdirs, updates, bzr-update, update-authors,
2328         compile-onefile, compile-calc, backup-compiled-files,
2329         compile-after-backup, compile-one-process, mh-autoloads,
2330         bootstrap-clean, distclean, maintainer-clean.
2332 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
2334         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2335         (calc-set-mode-line): Don't display "AlgSimp ".
2337         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2338         (calc-lim-simplify-mode): New function.
2339         (calc-set-simplify-mode): Default to 'alg.
2340         (calc-default-simplify-mode): Make algebraic simplifications
2341         the default.
2343         * calc/calc-ext.el (calc-init-extensions): Remove binding for
2344         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
2346         * calc/calc-help.el (calc-m-prefix-help): Change messages to
2347         indicate new simplification modes.
2349         * calc/README: Mention new default simplification mode.
2351         * calc/calc.el (math-normalize-error): New variable.
2352         (math-normalize): Set `math-normalize-error' to t
2353         when there's an error.
2355         * calc/calc-alg.el (math-simplify): Don't simplify when
2356         `math-normalize' returns an error.
2358 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
2360         * international/mule-cmds.el (set-locale-environment): Revert last
2361         change, since display-graphic-p returns nil when this function is
2362         called during startup.  Instead...
2364         * term/w32console.el (terminal-init-w32console): ...setup the
2365         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
2367 2012-07-29  Juri Linkov  <juri@jurta.org>
2369         * simple.el (goto-line): Don't display default line number in the
2370         prompt because it should be displayed by `read-number' (bug#9952).
2371         Add the current line number to the defaults of `goto-line' to
2372         allow its easier modification by users with `M-n' (bug#9201).
2374         * subr.el (read-number): Support multiple default values like in
2375         other minibuffer reading functions.  Replace `read' with
2376         `string-to-number' for consistency with `number-to-string'.
2378 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
2380         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2381         * emulation/viper-init.el (viper-deactivate-input-method-action):
2382         Rename from viper-inactivate-input-method-action.
2383         (viper-deactivate-input-method):
2384         Rename from viper-inactivate-input-method.
2385         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2386         * international/mule-cmds.el (deactivate-input-method):
2387         Rename from inactivate-input-method.
2388         Also run input-method-deactivate-hook.
2389         (deactivate-current-input-method-function):
2390         Rename from inactivate-current-input-method-function.
2391         (input-method-deactivate-hook): New hook.
2392         (input-method-inactivate-hook): Mark obsolete.
2393         (inactivate-input-method): Mark obsolete.
2395         * international/quail.el (quail-activate):
2396         Also run quail-deactivate-hook.
2397         (quail-deactivate): Rename from quail-inactivate.
2398         * international/robin.el (robin-activate):
2399         Also run robin-deactivate-hook.
2400         (robin-deactivate): Rename from robin-inactivate.
2402 2012-07-29  Chong Yidong  <cyd@gnu.org>
2404         * simple.el (indicate-copied-region): New function.
2405         (kill-ring-save): Split off from here.
2407         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2408         (kill-rectangle): Set deactivate-mark to t on read-only error.
2410         * register.el (copy-to-register, copy-rectangle-to-register):
2411         Deactivate the mark, and use indicate-copied-region (Bug#10056).
2412         (append-to-register, prepend-to-register):
2413         Call 2012-07-29  Juri Linkov  <juri@jurta.org>
2415         * simple.el (async-shell-command-buffer): New defcustom.
2416         (shell-command): Use it.  (Bug#4719)
2418 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
2420         * international/mule-cmds.el (set-locale-environment): In a
2421         console session on MS-Windows, set up keyboard and terminal
2422         encoding from the OEM codepage, not the ANSI codepage.
2423         (Bug#12055)
2425 2012-07-28  Chong Yidong  <cyd@gnu.org>
2427         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2428         gdb-get-location.
2430 2012-07-28  Leo Liu  <sdl.web@gmail.com>
2432         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2433         the alist (bug#12029).
2435 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
2437         * makefile.w32-in (custom-deps, finder-data, updates, compile)
2438         (compile-always, compile-first)
2439         ($(lisp)/calendar/cal-loaddefs.el)
2440         ($(lisp)/calendar/diary-loaddefs.el)
2441         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2442         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2443         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2444         instead of on update-subdirs.
2445         (bootstrap-clean): Delete $(lisp)/subdirs.el.
2447 2012-07-28  Chong Yidong  <cyd@gnu.org>
2449         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2450         directory if vc-deduce-backend returns nil (Bug#7350).
2452         * simple.el (delete-trailing-lines): New option.
2453         (delete-trailing-whitespace): Obey it (Bug#11879).
2455 2012-07-28  David Engster  <deng@randomsample.de>
2457         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2458         Explanation of new 'symbol-qnames feature in doc-strings.
2459         (xml-maybe-do-ns): Return expanded names as plain symbols if
2460         'symbol-qnames was provided in XML-NS argument (Bug#11916).
2461         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2463 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
2465         Consistent completion in inferior python with emacs -nw.
2466         * progmodes/python.el (inferior-python-mode): replace "<tab>"
2467         binding in inferior-python-mode-map with "\t".
2468         (python-shell-completion-complete-at-point)
2469         (python-completion-complete-at-point): Remove interactive spec.
2471 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
2473         * calc/calccomp.el (math-compose-expr): Undo previous change.
2475 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
2477         * progmodes/python.el (python-mode-map): Add keybinding for
2478         run-python.
2479         (python-shell-make-comint): Fix pop-to-buffer call.
2480         (run-python): Autoload.  New arg SHOW.
2481         (python-shell-get-or-create-process): Do not pop python process
2482         buffer.
2484 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
2486         * notifications.el (notifications-on-action-signal)
2487         (notifications-on-closed-signal): Use also the bus address for the map.
2488         (notifications-notify, notifications-close-notification)
2489         (notifications-get-capabilities): Add optional argument BUS.
2491 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
2493         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2494         Add support for the lstlisting and minted environments, and for the
2495         ctable macro.
2496         * textmodes/reftex.el (reftex-compile-variables): Also recognize
2497         labels written in keyvals syntax.
2499 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
2501         * calc/calccomp.el (math-compose-expr): Use parentheses when
2502         there is a product in the denominator of a fraction.
2504 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
2506         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2507         ($(lisp)/calendar/diary-loaddefs.el)
2508         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2509         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2510         Fixes failures in parallel bootstrap because subdirs.el is being
2511         rewritten while the autoload files are built at the same time,
2512         which needs to load subdirs.el.
2514 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
2516         * mouse.el (popup-menu): Fix doc-string and re-indent code.
2517         (mouse-drag-line): Don't exit tracking when a switch-frame or
2518         switch-window event occurs (Bug#12006).
2520 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2522         * mouse.el (popup-menu): Fix last change.
2524 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2526         Autoload from Lisp with more care.  Follow aliases when looking for
2527         function properties.
2528         * subr.el (autoloadp): New function.
2529         (symbol-file): Use it.
2530         (function-get): New function.
2531         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2532         autoload-do-load.
2533         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2534         (lisp-indent-function):
2535         * emacs-lisp/gv.el (gv-get):
2536         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2537         * emacs-lisp/byte-opt.el (byte-optimize-form):
2538         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2539         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2540         Use function-get.
2541         * emacs-lisp/cl.el: Don't propagate function properties any more.
2543         * speedbar.el (speedbar-add-localized-speedbar-support):
2544         * emacs-lisp/disass.el (disassemble-internal):
2545         * desktop.el (desktop-load-file):
2546         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2547         (describe-function-1):
2548         * emacs-lisp/find-func.el (find-function-noselect):
2549         * emacs-lisp/elp.el (elp-instrument-function):
2550         * emacs-lisp/advice.el (ad-has-proper-definition):
2551         * apropos.el (apropos-safe-documentation, apropos-macrop):
2552         * emacs-lisp/debug.el (debug-on-entry):
2553         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2554         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2555         * calc/calc.el (name): Use autoloadp & autoload-do-load.
2557 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
2559         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2560         function, not an obsolete variable (Bug#12046).
2562 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
2564         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
2566 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
2568         * emacs-lisp/pp.el (pp-display-expression): Select old selected
2569         window only if it is still live (Bug#12034).
2571 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
2573         * subr.el (redirect-frame-focus): Add advertised calling
2574         convention (Bug#12030).
2576 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
2578         Prefer typical American spelling for "acknowledgment".
2579         * vc/add-log.el (change-log-acknowledgment): Rename from
2580         change-log-acknowledgement, with an alias for the old name.
2582 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
2584         * calc-alg.el (math-simplify-divide): Don't cross multiply
2585         in an equation when the lhs is a variable.
2587 2012-07-24  Julien Danjou  <julien@danjou.info>
2589         * net/netrc.el (netrc-find-service-number, netrc-store-data):
2590         Remove, unused.
2592 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
2594         * startup.el (command-line): Don't display an empty user name in
2595         the error message about non-existent home directory, when
2596         init-file-user was set to an empty string.  See
2597         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2598         for the details and context.
2600 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2602         * ses.el (ses-cell-formula-aset): New macro.
2603         (ses-cell-references-aset): New macro.
2604         (ses-cell-p): New function.
2605         (ses-rename-cell): Do no longer rely on complex operations like
2606         ses-cell-set-formula or ses-set-cell to change the cell and handle
2607         the undo at the same time, but rather use lower level new macros
2608         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2609         the undo directly.  Refresh the mode line.
2611 2012-07-21  Leo Liu  <sdl.web@gmail.com>
2613         * progmodes/cc-cmds.el (c-defun-name):
2614         Use match-string-no-properties instead for consistency.
2616 2012-07-20  Leo Liu  <sdl.web@gmail.com>
2618         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2619         (Bug#7879)
2621         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2623 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2625         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2626         * progmodes/bug-reference.el, misearch.el: Provide themselves
2627         (bug#11915).
2629         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2630         of narrowed buffer (bug#11966).
2632 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2634         * ses.el (ses-rename-cell): Set new name also in reference list of
2635         cells of which the renamed cell depends.
2637 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
2639         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2640         to check whether menu-bar is shown or not.  If not shown,
2641         show the menu-bar as a popup menu instead of using tmm.
2642         * mouse.el (popup-menu): Accept `point' as `position' argument.
2644 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
2646         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2647         up inside string symbol literal (bug#11923).
2649 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
2651         * startup.el (fancy-startup-text): Read the whole tutorial, not
2652         just its first 256 bytes.  Prevents gibberish in display of the
2653         tutorial title.
2655 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
2657         Drop idle buffer compaction due to an absence of the
2658         proved efficiency.
2659         * compact.el: Remove.
2661 2012-07-19  Sam Steingold  <sds@gnu.org>
2663         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2664         vc-bzr-pull & vc-bzr-merge-branch.
2665         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2666         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2667         for consistency with compilation-error-regexp-alist.
2668         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2669         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2670         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2671         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2673 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2675         * emacs-lisp/chart.el: Use lexical-binding.
2676         (chart-emacs-storage): Don't hardcode the list of entries.
2678 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
2680         Next round of tweaks caused by Fgarbage_collect changes.
2681         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2683 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
2685         Compact buffers when idle.
2686         * compact.el: New file.
2688 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2690         * subr.el (eventp): Presume that if it looks vaguely like an event,
2691         it's an event (bug#10190).
2693 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
2695         Enhancements to ppss related code (thanks Stefan).
2696         * progmodes/python.el (python-indent-context)
2697         (python-indent-calculate-indentation, python-indent-dedent-line)
2698         (python-indent-electric-colon, python-nav-forward-block)
2699         (python-mode-abbrev-table)
2700         (python-info-assignment-continuation-line-p): Simplify checks
2701         for ppss context.
2702         (python-info-continuation-line-p): Cleanup.
2703         (python-info-ppss-context): Do not catch 'quote.
2704         (python-info-ppss-context-type)
2705         (python-info-ppss-comment-or-string-p): Simplify.
2707 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
2709         * progmodes/python.el: Enhancements to eldoc support.
2710         (python-info-current-symbol): New function.
2711         (python-eldoc-at-point): Use python-info-current-symbol.
2712         (python-info-current-defun): Fix cornercase on first defun scan.
2713         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2714         and signal error when no inferior python process is available.
2716 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
2718         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2719         assume it's always t.
2720         (vc-git-registered): Remove caching, the function is only called
2721         once.
2722         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2724 2012-07-18  Chong Yidong  <cyd@gnu.org>
2726         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2728         * simple.el (count-words): Report on narrowing (Bug#9959).
2730         * bindings.el: Bind M-= to count-words.
2732         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2734 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
2736         * progmodes/sh-script.el (sh-imenu-generic-expression):
2737         Capture a function with `function' keyword and without parentheses
2738         like "function FOO" (bug#11856).
2740 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
2742         * window.el (split-window-sensibly): Make WINDOW argument
2743         optional.
2745 2012-07-18  Chong Yidong  <cyd@gnu.org>
2747         * subr.el (keyboard-translate): Doc fix (Bug#7261).
2749         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2750         and make C-x 8 RET exit isearch (Bug#11439).
2752         * international/iso-transl.el: Move isearch-mode-map key
2753         definitions to isearch.el.
2755 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2757         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2758         (eieio-defclass): Use gv-define-setter when possible.
2760 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
2762         Reflect recent changes in Fgarbage_collect.
2763         * emacs-lisp/chart.el (chart-emacs-storage): Change to
2764         reflect new format of data returned by Fgarbage_collect.
2766 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2768         New utility functions + python-info-ppss-context fix (Bug#11910).
2769         * progmodes/python.el (python-info-beginning-of-block-statement-p)
2770         (python-info-ppss-comment-or-string-p): New functions.
2771         (python-info-ppss-context): Small fix for string check.
2773 2012-07-17  Juri Linkov  <juri@jurta.org>
2775         * dired-aux.el (dired-do-async-shell-command): Doc fix.
2776         (dired-do-async-shell-command): Don't add `*' at the end of the
2777         command (Bug#11815).
2778         (dired-do-shell-command): Doc fix.
2779         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2780         Join the individual commands using either "&" or ";" as the
2781         separator depending on the values of these trailing characters.
2782         At the end re-add the trailing "&".  (Bug#10598)
2784         * simple.el (async-shell-command): Sync the interactive spec with
2785         `shell-command'.  Doc fix.
2786         (shell-command): Doc fix.
2788 2012-07-17  Juri Linkov  <juri@jurta.org>
2790         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
2792 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2794         Final renames and doc fixes for movement commands (bug#11899).
2795         * progmodes/python.el (python-nav-beginning-of-statement):
2796         Rename from python-nav-statement-start.
2797         (python-nav-end-of-statement): Rename from
2798         python-nav-statement-end.
2799         (python-nav-beginning-of-block): Rename from
2800         python-nav-block-start.
2801         (python-nav-end-of-block): Rename from python-nav-block-end.
2803 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2805         * progmodes/python.el (python-shell-send-string-no-output):
2806         Allow accept-process-output to quit, keeping shell process ready for
2807         future interactions (Bug#11868).
2809 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2811         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2813         * emacs-lisp/elint.el (elint-find-args-in-code):
2814         Use help-function-arglist, so as to handle lexical byte-code.
2816         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2817         change (bug#11826).
2819 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2821         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2822         Avoid spuriously marking the buffer as modified because of c-is-sws.
2824         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2825         as not-a-comment (bug#11946).
2827         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2828         for uninterned vars.
2830         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2831         Use read-event since we don't really want to read chars but bytes.
2833         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2834         $$..$$ but also $..$ using regexps (bug#11953).
2835         Use tex-verbatim for \url and \path.
2836         (tex-font-lock-keywords): Define as defconst like the others.
2837         (tex-common-initialization): Don't use font-lock-syntax-table any more.
2839 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
2841         * international/mule-cmds.el (ucs-insert): Make it an obsolete
2842         alias for insert-char.
2844 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
2846         * progmodes/python.el: Simplified imenu implementation.
2847         (python-nav-jump-to-defun): Remove command.
2848         (python-mode-map): Use `imenu' instead.
2849         (python-nav-list-defun-positions-cache)
2850         (python-imenu-include-defun-type, python-imenu-make-tree)
2851         (python-imenu-subtree-root-label, python-imenu-index-alist):
2852         Remove vars.
2853         (python-nav-list-defun-positions, python-nav-read-defun)
2854         (python-imenu-tree-assoc, python-imenu-make-element-tree)
2855         (python-imenu-make-tree, python-imenu-create-index):
2856         Remove functions.
2857         (python-mode): Update to interact with imenu by setting
2858         `imenu-extract-index-name-function' only.
2860 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
2862         * progmodes/python.el: Enhancements to navigation commands.
2863         (python-nav-backward-sentence)
2864         (python-nav-forward-sentence): Remove.
2865         (python-nav-backward-statement, python-nav-forward-statement)
2866         (python-nav-statement-start, python-nav-statement-end)
2867         (python-nav-backward-block, python-nav-forward-block)
2868         (python-nav-block-start, python-nav-block-end)
2869         (python-nav-forward-sexp-function)
2870         (python-info-current-line-comment-p)
2871         (python-info-current-line-empty-p): New functions.
2872         (python-indent-context): Use `python-nav-statement-start'.
2874 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
2876         * eshell/em-ls.el (eshell/ls): Use `apply'.
2878         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2879         multi-hops, instead of Tramp internals.
2881         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2883         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2884         when F1 and F2 are located on different hosts.
2886 2012-07-14  Chong Yidong  <cyd@gnu.org>
2888         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2889         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2890         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2891         (xterm-mouse--read-event-sequence-1000)
2892         (xterm-mouse--read-event-sequence-1006): New functions.  For old
2893         mouse protocol, handle M-mouse-X events correctly.
2894         (xterm-mouse-event): New arg specifying mouse protocol.
2895         (turn-on-xterm-mouse-tracking-on-terminal)
2896         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
2897         sequence to toggle extended coordinates on newer XTerms.
2898         This appears to be harmless on terminals which do not support this.
2900 2012-07-14  Leo Liu  <sdl.web@gmail.com>
2902         Add fringe bitmap indicators for flymake.  (Bug#11253)
2903         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2904         (flymake-make-overlay): New arg BITMAP.
2905         (flymake-error-bitmap, flymake-warning-bitmap)
2906         (flymake-fringe-indicator-position): New user variables.
2908         * fringe.el: New bitmap exclamation-mark.
2910 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
2912         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2913         also (Bug#7879).
2915 2012-07-14  Chong Yidong  <cyd@gnu.org>
2917         * electric.el (electric-pair-post-self-insert-function): Fix pair
2918         insertion in empty-region case (Bug#11520).
2920 2012-07-14  Chong Yidong  <cyd@gnu.org>
2922         * bindings.el: Consolidate ctl-x-r-map bindings.
2923         Bind copy-rectangle-as-kill to C-x r w.
2925         * rect.el, register.el: Move bindings to bindings.el.
2927 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
2929         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2931 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
2933         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
2935 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
2937         * bindings.el (top): Use `mapc' instead of `mapcar'.
2939         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2941 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
2943         * progmodes/sql.el (sql-comint): Suppress the check for program on
2944         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
2945         (Bug#11908)
2947 2012-07-13  Chong Yidong  <cyd@gnu.org>
2949         * bindings.el: Assign a non-nil permanent-local property to
2950         per-buffer variables which lack a default value (Bug#11930).
2952         * help-fns.el (describe-variable): In the "automatically becomes
2953         local" notice, take note of permanent-local variables.
2955 2012-07-13  Chong Yidong  <cyd@gnu.org>
2957         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
2958         to allow printing the message when called from Lisp.
2960         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2961         Remove toggle-read-only.
2963         * bs.el (bs-toggle-readonly):
2964         * buff-menu.el (Buffer-menu-toggle-read-only):
2965         Remove with-no-warnings around toggle-read-only.
2967         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2968         Remove with-no-warnings around toggle-read-only.
2969         (ffap-read-only, ffap-read-only-other-window)
2970         (ffap-read-only-other-frame): Callers changed.
2972         * help-mode.el: Don't require view package.
2973         (help-mode-finish): Set buffer-read-only instead of calling
2974         toggle-read-only.
2976         * bindings.el (mode-line-toggle-read-only):
2977         * dired.el (dired-toggle-read-only):
2978         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2979         with non-nil second arg.
2981         * emacs-lisp/eieio-custom.el (eieio-customize-object):
2982         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2983         directly.
2985 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
2987         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2988         not incf.
2990 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2992         More CL cleanups and reduction of use of cl.el.
2993         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2994         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2995         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2996         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2997         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2998         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2999         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3000         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3001         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3002         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3003         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3004         * eshell/em-cmpl.el, eshell/em-banner.el:
3005         * calendar/parse-time.el: Use cl-lib.
3006         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3007         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3008         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3009         * term/ns-win.el, term.el, shell.el, ps-samp.el:
3010         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3011         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3012         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3013         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3014         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3015         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3016         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3017         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3018         `lambda' rather than with `quote'.
3019         (eshell-do-opt): Adjust accordingly.
3020         (eshell-process-option): Simplify.
3021         * eshell/esh-var.el:
3022         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3023         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3024         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3025         to `pcase--dontcare'.
3026         * emacs-lisp/cl.el (labels): Mark obsolete.
3027         (cl--letf, letf): Move to cl-lib.
3028         (cl--letf*, letf*): Remove.
3029         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3030         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3031         (cl-progv): Rewrite.
3032         (cl--letf, cl-letf): Move from cl.el.
3033         (cl-letf*): New macro.
3034         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3036 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
3038         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3040 2012-07-11  Chong Yidong  <cyd@gnu.org>
3042         * vc/log-edit.el (log-edit-vc-backend): New variable.
3043         (log-edit): Doc fix.
3045         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
3046         argument of log-edit to set up all local variables.
3047         (vc-start-logentry): New optional arg specifying VC backend.
3049         * vc/vc.el (vc-checkin): Use it.
3050         (vc-deduce-fileset): Handle Log Edit buffers.
3051         (vc-diff): Make first argument optional too.
3053         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3055 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
3057         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3058         command, just in case.  The function is not needed anymore.
3059         (eshell-external-command): Do not call `eshell-remote-command'.
3061 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3063         Reduce use of (require 'cl).
3064         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3065         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3066         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3067         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3068         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3069         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3070         * battery.el, avoid.el, abbrev.el: Use cl-lib.
3071         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3072         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3073         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3074         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3075         * calculator.el, autorevert.el, apropos.el: Don't require CL.
3076         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3077         (byte-compile-unfold-bcf, byte-compile-check-variable):
3078         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3079         (byte-compile-nilconstp):
3080         * emacs-lisp/autoload.el (make-autoload): Use pcase.
3081         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3083         * emacs-lisp/gv.el (cond): Make it a valid place.
3084         (if): Simplify slightly.
3086         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3087         (pcase--self-quoting-p): New function.
3088         (pcase--u1): Use it.
3090 2012-07-10  Glenn Morris  <rgm@gnu.org>
3092         * emacs-lisp/authors.el (authors-fixed-entries):
3093         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3095 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
3097         Rename configure.in to configure.ac (Bug#11603).
3098         * emacs-lisp/authors.el (authors-canonical-file-name):
3099         * progmodes/autoconf.el (autoconf-mode):
3100         Prefer configure.ac to configure.in.
3102 2012-07-08  Chong Yidong  <cyd@gnu.org>
3104         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3105         Implement the mouse-1-click-follows-link handling properly.
3107         * info.el (Info-link-keymap): Use follow-link mechanism for
3108         header-line links (Bug#374).
3110         * simple.el (deactivate-mark): Do not set the primary selection
3111         if another program has acquired it (Bug#11772).
3113 2012-07-07  Kevin Ryde  <user42@zip.com.au>
3115         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3116         (woman-decode-region): Replace escaped-escapes without destroying
3117         bold or underline (Bug#11552).
3118         (woman2-process-escapes): Handle nofill regions (Bug#11591).
3120 2012-07-07  Chong Yidong  <cyd@gnu.org>
3122         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3123         (interprogram-cut-function, interprogram-paste-function):
3124         Mention that we typically mean the clipboard.
3126 2012-07-06  Glenn Morris  <rgm@gnu.org>
3128         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
3130         * files.el (toggle-read-only): Restrict message to interactive use.
3132 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
3134         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3136         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3138 2012-07-06  Glenn Morris  <rgm@gnu.org>
3140         * Makefile.in (compile-one-process): Rename from "recompile".
3142         * Makefile.in (bzr-update): "compile" is the same as "recompile
3143         autoloads", but parallelizable, so use that instead.
3145 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
3147         * window.el (quit-window): Always restore window height when
3148         it's saved in quit-restore parameter (Bug#11810).
3150 2012-07-06  Glenn Morris  <rgm@gnu.org>
3152         * simple.el (kill-whole-line): Doc tweak.
3154 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
3156         * files.el (file-relative-name): Compare file names
3157         case-insensitively if on MS-Windows or MS-DOS, or if
3158         read-file-name-completion-ignore-case is non-nil.  Don't use
3159         case-fold-search for this purpose.  (Bug#11827)
3161 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
3163         * calendar/cal-dst.el (calendar-current-time-zone):
3164         Return calendar-current-time-zone-cache if non-nil.
3166 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
3167 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
3169         * calendar/cal-dst.el (calendar-current-time-zone):
3170         Return calendar-current-time-zone-cache if non-nil.
3172 2012-07-06  Glenn Morris  <rgm@gnu.org>
3174         * Makefile.in (cvs-update): Remove old alias.
3176 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
3178         Sync with Tramp 2.2.6-pre.
3180         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3181         compatible declaration.
3183         * net/tramp-cmds.el (tramp-append-tramp-buffers):
3184         Protect `list-load-path-shadows' call.
3186         * net/tramp-compat.el (top): Require packages, which aren't
3187         autoloaded anymore for XEmacs.  Protect call of
3188         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3189         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
3190         it hurts at least for SXEmacs.
3191         (tramp-compat-temporary-file-directory): In XEmacs, there is no
3192         standard-value for `temporary-file-directory'.
3194         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3195         Redirect stderr to /dev/null.
3196         (tramp-sh-handle-write-region): uid and gid can be floats.
3197         Reported by Russell Sim <russell.sim@gmail.com>.
3198         (tramp-sh-handle-vc-registered): Hide errors.
3199         (tramp-vc-file-name-handler): Use dummy results for `process-file'
3200         and `start-file-process'.
3201         (tramp-maybe-open-connection): Check also whether `non-essential'
3202         is bound.
3204 2012-07-04  Chong Yidong  <cyd@gnu.org>
3206         * xml.el (xml--parse-buffer): Use xml-syntax-table.
3207         (xml-parse-tag): Likewise, and avoid changing entity tables.
3208         (xml-syntax-table): Define from scratch, making sure not to give
3209         x2000 and other Unicode spaces whitespace syntax, since those are
3210         not spaces in XML.
3211         (xml-parse-fragment): Delete unused function.
3212         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3213         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3214         (xml-entity-ref, xml-pe-reference-re)
3215         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3216         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3217         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3218         (xml-entity-value-re): Use syntax references in regexps where
3219         possible; no need to define inside a let-binding.
3220         (xml-parse-dtd): Use xml-pe-reference-re.
3221         (xml-entity-or-char-ref-re): New defconst.
3222         (xml-parse-string, xml-substitute-special): Use it.
3224 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3226         * files.el (locate-dominating-file): Allow `name' to be a predicate.
3227         (find-file--read-only): New function.
3228         (find-file-read-only, find-file-read-only-other-window)
3229         (find-file-read-only-other-frame): Use it.
3230         (insert-file-contents-literally): Don't `fset'.
3231         (get-free-disk-space): Use locate-dominating-file.
3233         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3234         function is already compiled.
3236         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
3238 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
3240         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3241         files on the same host.
3243 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
3245         * help-fns.el (describe-function-1): Only call
3246         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
3248 2012-07-03  Chong Yidong  <cyd@gnu.org>
3250         * xml.el: Protect parser against XML bombs.
3251         (xml-entity-expansion-limit): New variable.
3252         (xml-parse-string, xml-substitute-special): Use it.
3253         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3255 2012-07-03  Glenn Morris  <rgm@gnu.org>
3257         * progmodes/bug-reference.el (bug-reference-bug-regexp):
3258         Allow linking to specific messages in debbugs reports (eg 123#5).
3260 2012-07-02  Chong Yidong  <cyd@gnu.org>
3262         * xml.el: Fix entity and character reference expansion, allowing
3263         them to expand into markup as per XML spec.
3264         (xml-default-ns): New variable.
3265         (xml-entity-alist): Use XML spec definitions for lt and amp.
3266         (xml-parse-region): Make first two arguments optional.
3267         Discard text properties.
3268         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3269         All callers changed.
3270         (xml-parse-tag): Call xml-parse-tag-1.  For backward
3271         compatibility, this function should not modify buffer contents.
3272         (xml-parse-tag-1): Fix opening-tag regexp.
3273         (xml-parse-string): Rewrite, handling entity and character
3274         references properly.
3275         (xml--entity-replacement-text): Signal an error if a parameter
3276         entity is undefined.
3278 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3280         * comint.el (comint-output-filter): Filter out repeated prompts.
3282         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3283         and file-name-absolute-p.
3284         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3285         internal calls.
3287 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
3289         Spelling fixes.
3290         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3291         Rename from byte-compile--refiy-function.  All uses changed.
3293 2012-07-01  Chong Yidong  <cyd@gnu.org>
3295         * xml.el (xml--parse-buffer): New function.  Move most of
3296         xml-parse-region here.
3297         (xml-parse-region): Copy region into a temporary buffer, since
3298         parameter entity substitution requires changing buffer contents.
3299         Use xml--parse-buffer.
3300         (xml-parse-file): Use xml--parse-buffer.
3301         (xml-parse-dtd): Make parameter entity substitution work right.
3302         Use proper regexps for ELEMENT declarations (Bug#7172).
3304 2012-06-30  Glenn Morris  <rgm@gnu.org>
3306         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3308         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3309         Remove outdated and unnecessary dbus declarations.
3311 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
3313         * emacs-lisp/timer.el (timer-until): Subtract results of
3314         float-time, instead of taking float-time of the result of
3315         time-subtract, since float-time signals an error for negative time
3316         arguments.
3318 2012-06-30  Chong Yidong  <cyd@gnu.org>
3320         * xml.el (xml-*-re): Convert defvars into defconsts, and
3321         eval-and-compile them so eval-and-compile works on derivatives.
3322         (xml--entity-replacement-text): Use eval-and-comple.
3324 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
3326         * vc/vc-git.el (vc-git-registered): Use cache property
3327         `git-registered'.
3328         (vc-git-mode-line-string): Call `vc-working-revision' instead of
3329         `vc-git-working-revision' in order to benefit from the cache.
3330         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
3332 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
3334         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3335         removed (likely outside Emacs).  (Bug#11757)
3337 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3339         * emacs-lisp/cl-lib.el: Require macroexp.
3341 2012-06-30  Chong Yidong  <cyd@gnu.org>
3343         * xml.el: Implement XML parameter entities.
3344         (xml-parameter-entity-alist): New variable.
3345         (xml-parse-region, xml-parse-fragment): Preserve previous values
3346         of xml-entity-alist and xml-parameter-entity-alist, so that
3347         repeated calls on different documents do not change them.
3348         (xml-parse-tag): Fix doctype regexp.
3349         (xml--entity-replacement-text): New function.
3350         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
3351         properly requires url retrieval which is unimplemented.
3352         (xml-escape-string): Doc fix.
3354 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3356         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3358 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
3360         * fringe.el (fringe-mode): Doc fix.
3362 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
3364         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3365         is non-nil.
3366         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3367         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
3369 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
3371         * calendar/cal-dst.el (calendar-current-time-zone):
3372         Return calendar-current-time-zone-cache if non-nil.
3374 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
3376         * progmodes/which-func.el (which-func-format):
3377         Add mouse-face.  (Bug#11698)
3379 2012-06-29  Leo Liu  <sdl.web@gmail.com>
3381         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3383 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3385         * minibuffer.el (minibuffer-confirm-exit-commands):
3386         Add completion-at-point (bug#11725).
3388 2012-06-29  Glenn Morris  <rgm@gnu.org>
3390         * progmodes/f90.el (f90-font-lock-keywords-2):
3391         Add some preprocessor elements.  (Bug#10499)
3393 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3395         * progmodes/cperl-mode.el (cperl-update-syntaxification):
3396         Use syntax-propertize (bug#11739).
3398 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
3400         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3402 2012-06-28  Julien Danjou  <julien@danjou.info>
3404         * term.el (term-handle-colors-array): Use a set of new faces to
3405         color the terminal.  Also uses :inverse-video property.
3406         (term-default-fg-color): Set to nil by default, deprecate in favor
3407         of `term-face'.
3408         (term-default-bg-color): Set to nil by default, deprecate in favor
3409         of `term-face'.
3410         (term-current-face): Use `term-face' by default.
3411         (term-bold-attribute): Variable deleted.
3413 2012-06-28  Glenn Morris  <rgm@gnu.org>
3415         * simple.el (completion-list-mode-finish):
3416         Don't use toggle-read-only.  (Since completion-list-mode has
3417         a special mode-class, it wasn't doing anything extra anyway.)
3419 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3421         Make inlining of other-mode interpreted functions work (bug#11799).
3422         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3423         (byte-compile): Use it to fix compilation of lexical-binding closures.
3424         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3425         function, if needed.
3427 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3429         * help-mode.el (help-make-xrefs): Don't just withstand
3430         cyclic-variable-indirection but any error in documentation-property.
3432         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3433         memory use.
3434         * bindings.el (bindings--define-key): New function.
3435         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3436         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3437         * bindings.el: Use it to purecopy define-key bindings.
3439         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3441         * emacs-lisp/cl.el (flet): Mark obsolete.
3442         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3443         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3444         * progmodes/js.el (js-c-fill-paragraph):
3445         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3446         (ebrowse-switch-member-buffer-to-derived-class):
3447         * play/5x5.el (5x5-solver): Use cl-flet.
3449         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
3450         (cl--symbol-function): New macro.
3451         (cl--letf, cl--letf*): Use it.
3453         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3454         Strip "toggle-" if any.
3456 2012-06-27  Glenn Morris  <rgm@gnu.org>
3458         * info.el (Info-default-directory-list): Move here from paths.el.
3459         * paths.el: Remove file, which is now empty.
3460         * loadup.el: No longer load "paths".
3462         * custom.el (custom-initialize-delay): Doc fix.
3464         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3465         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3466         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3467         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3468         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3469         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3470         * eshell/eshell.el (eshell-defgroup): Remove alias.
3472 2012-06-27  Chong Yidong  <cyd@gnu.org>
3474         * help.el (help-enable-auto-load): New variable.
3476         * help-fns.el (help-fns--autoloaded-p): New function.
3477         (describe-function-1): Refer to a function as "autoloaded" if it
3478         was autoloaded at any time in the past.  Perform autoloading if
3479         help-enable-auto-load is non-nil.
3481 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
3483         * makefile.w32-in (compile, compile-always): Depend on
3484         update-subdirs, not on subdirs.el.  Otherwise, several different
3485         sub-targets of 'bootstrap' running in parallel could
3486         simultaneously write to subdirs.el, producing a garbled file.
3488 2012-06-26  Sam Steingold  <sds@gnu.org>
3490         * files.el (file-name-base): New convenience function.
3491         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3492         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3493         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3494         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3495         * textmodes/ispell.el, textmodes/reftex-ref.el:
3496         * textmodes/tex-mode.el: Use it.
3497         Did not touch cedet and org because they are maintained elsewhere.
3499 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
3501         * calendar/calendar.el (calendar-exit): Don't try to delete or
3502         iconify last frame.  See:
3503         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3505 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
3507         * server.el (server-process-filter): Remember dir in the
3508         process's `server-client-directory' properties.
3510 2012-06-24  Chong Yidong  <cyd@gnu.org>
3512         * xml.el (xml-parse-tag): Correctly handle comment embedded in
3513         non-tag text.
3515 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
3517         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3519 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3521         * help-fns.el (describe-variable): Don't croak when doc is not found.
3522         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3523         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3524         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3525         * emacs-lisp/smie.el (smie-next-sexp): CSE.
3526         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3527         ((lambda ..) ..).
3528         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3530 2012-06-23  Chong Yidong  <cyd@gnu.org>
3532         * info.el (Info-mouse-follow-link): Accept symbol values of
3533         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
3534         (Info-fontify-node): Use Info-link-keymap for all navigation
3535         buttons, with link-args property to perform the desired action.
3536         (Info-link-keymap): Doc fix.
3537         (Info-next-link-keymap, Info-prev-link-keymap)
3538         (Info-up-link-keymap): Delete now-unused keymaps.
3540 2012-06-23  Chong Yidong  <cyd@gnu.org>
3542         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3544         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3545         system abbrevs.
3547         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3549 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3551         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3552         (bug#11719).
3554         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3555         the requote function doesn't work properly (bug#11714).
3557 2012-06-23  Glenn Morris  <rgm@gnu.org>
3559         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3561 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3563         Further GV/CL cleanups.
3564         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3565         gv-expander.
3566         (gv--defun-declaration): New function.
3567         (defun-declarations-alist): Use it.
3568         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3569         (gv-place): Autoload.
3570         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3571         original definition of dotimes and dolist.
3572         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3573         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3574         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3575         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3576         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3577         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3578         to the function's definition.
3579         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3580         * window.el:
3581         * files.el:
3582         * faces.el:
3583         * env.el: Don't use CL.
3585 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
3587         Support higher-resolution time stamps (Bug#9000).
3589         * calendar/time-date.el (with-decoded-time-value): New arg
3590         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
3591         (encode-time-value): New optional arg PICO.  New type 3.
3592         (time-to-seconds) [!float-time]: Support the new picoseconds
3593         component if it's used.
3594         (seconds-to-time, time-subtract, time-add):
3595         Support ps-resolution time stamps as well.
3597         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
3598         (timerp): Timer vectors now have length 9, not 8.
3599         (timer--time): Support new-style (4-part) time stamps.
3600         (timer-next-integral-multiple-of-time): Time stamps now have
3601         picosecond resolution, so take a bit more care about rounding.
3602         (timer-relative-time, timer-inc-time): New optional arg psecs.
3603         (timer-set-time-with-usecs): Set psecs to 0.
3604         (timer--activate): Check psecs component, too.
3606         * proced.el (proced-time-lessp): Support ps-resolution stamps.
3608 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3610         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3611         Move the non-essential binding to the post/pre-command-hook where it is
3612         more obviously correct.
3614         * subr.el (read-passwd): Don't use a history at all.
3615         * savehist.el (savehist-save): Remove password saved accidentally
3616         because of the above bug.
3618 2012-06-22  Bastien Guerry  <bzg@gnu.org>
3620         * files.el (toggle-read-only): Display a message telling whether
3621         the buffer is read-only or not (bug#11726).
3623 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3625         * emacs-lisp/gv.el: New file.
3626         * subr.el (push, pop): Extend to generalized variables.
3627         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3628         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3629         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
3630         gv-define-simple-setter, and gv-define-expander.
3631         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
3632         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3633         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3634         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3635         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3636         gv-letplace.
3637         (cl-defstruct): Don't define setf-method any more.
3638         * emacs-lisp/cl.el (flet): Don't autoload.
3639         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3640         (define-setf-expander, defsetf, define-modify-macro)
3641         (cl-struct-setf-expander): Move from cl-lib.el.
3642         * emacs-lisp/syntax.el:
3643         * emacs-lisp/ewoc.el:
3644         * emacs-lisp/smie.el:
3645         * emacs-lisp/cconv.el:
3646         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3647         (timer--time): Use gv-define-simple-setter.
3648         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3649         to avoid coding-system problems in subr.el.  Adjust all users.
3650         (macroexp--maxsize, macroexp-small-p): New functions.
3651         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3652         * scroll-bar.el (scroll-bar-mode):
3653         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3654         (normal-erase-is-backspace-mode): Don't use the `eq' place.
3655         * winner.el (winner-configuration, winner-make-point-alist)
3656         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3657         * files.el (locate-file-completion-table): Avoid list*.
3659 2012-06-22  Chong Yidong  <cyd@gnu.org>
3661         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3662         (dired-create-files): Doc fix (Bug#11329).
3663         (dired-do-copy): Doc fix (Bug#11334).
3664         (dired-mark-read-string): Doc fix (Bug#11553).
3666         * dired.el (dired-recursive-copies, dired-recursive-deletes):
3667         Doc fix (Bug#11326).
3668         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
3669         (dired-dwim-target): Doc fix.
3671         * wdired.el (wdired-mode): Doc fix.
3673 2012-06-22  Glenn Morris  <rgm@gnu.org>
3675         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3676         (pcmpl-rpm-cache-stamp-file): New constant.
3677         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3678         (pcmpl-rpm-packages): Optionally cache list of packages.
3680         * pcmpl-rpm.el (pcmpl-rpm): New group.
3681         (pcmpl-rpm-query-options): New option.
3682         (pcmpl-rpm-packages): No need to inline it.
3683         Use pcmpl-rpm-query-options.
3685         * calendar/calendar.el (calendar-in-read-only-buffer):
3686         Avoid some needless mode changes.
3688 2012-06-21  Chong Yidong  <cyd@gnu.org>
3690         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3691         (desktop-path): Remove . from the default value (Bug#10977).
3692         (desktop-read): Use user-emacs-directory if desktop-path is nil.
3694 2012-06-20  Chong Yidong  <cyd@gnu.org>
3696         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3698 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
3700         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3701         (bug#11201).
3703 2012-06-20  Chong Yidong  <cyd@gnu.org>
3705         * term.el (term-window-width): Handle the case of a missing right
3706         fringe (Bug#8837).
3707         (term-check-size): Use window-text-height (Bug#5445).
3708         (term-mode): Use define-derived-mode.  Minor cleanups.
3709         Set font-lock-defaults (Bug#7692).
3710         (term-move-columns, term-insert-char, term-emulate-terminal)
3711         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
3713 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
3715         * net/ange-ftp.el (ange-ftp-get-passwd):
3716         Bind `enable-recursive-minibuffers'.
3717         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3719 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
3721         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3723 2012-06-19  Glenn Morris  <rgm@gnu.org>
3725         * progmodes/python.el (python-mode): Derive from prog-mode.
3727 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
3729         * emulation/edt.el (edt-default-menu-bar-update-buffers)
3730         (edt-user-menu-bar-update-buffers): New functions.
3731         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3733 2012-06-19  Chong Yidong  <cyd@gnu.org>
3735         * subr.el (with-selected-window): Preserve the selected window's
3736         terminal's top-frame (Bug#4702).
3738         * window.el (save-selected-window): Likewise.
3740 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3742         * progmodes/python.el (python-rx-constituents): Move backquote.
3743         (python-skeleton-define, python-define-auxiliary-skeleton):
3744         Use `declare'.
3746 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
3748         * minibuffer.el (read-file-name-default): Revert the patch from
3749         2012-06-17.
3751 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3753         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3754         (pcase--u1, pcase--q1): Don't use apply-partially.
3756 2012-06-18  Glenn Morris  <rgm@gnu.org>
3758         * progmodes/python.el (python-proc, python-buffer)
3759         (python-send-receive, python-send-string): Fix obsolete versions.
3761 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
3763         * window.el (special-display-p): Completely remove stringp
3764         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3766 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
3768         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3770         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3772         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3773         * net/tramp-sh.el (tramp-maybe-open-connection):
3774         Throw if `non-essential' is non-nil.
3776 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
3778         * window.el (special-display-p): Signal an error if BUFFER-NAME
3779         is not a string (Bug#11713).
3781 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
3783         * progmodes/python.el (python-info-beginning-of-backslash):
3784         Rename from python-info-beginning-of-backlash, as a spelling fix.
3786 2012-06-17  Chong Yidong  <cyd@gnu.org>
3788         * term.el (term-emulate-terminal): If term-check-size is called,
3789         move point to the process mark without resetting point (Bug#4635).
3791 2012-06-17  Glenn Morris  <rgm@gnu.org>
3793         * international/mule-cmds.el (mule-menu-keymap)
3794         (set-language-environment, set-locale-environment): Doc tweaks.
3796 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
3798         * cus-face.el (custom-face-attributes): Add wave-style underline
3799         attribute.
3800         * faces.el (set-face-attribute): Update docstring to describe
3801         wave-style underline attribute.
3803 2012-06-16  Chong Yidong  <cyd@gnu.org>
3805         * term/xterm.el (terminal-init-xterm): Discard input before
3806         querying background mode (Bug#10959).
3808 2012-06-16  Stefan Merten  <smerten@oekonux.de>
3810         * textmodes/rst.el: Added and corrected some comments.
3811         (rst-re-alist-def): Improve symbol syntax.
3812         (rst-mode-syntax-table): Correct syntax entries.
3813         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3814         (rst-official-version, rst-official-cvs-rev): Update version
3815         information.
3817 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
3819         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3820         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3822 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
3824         * progmodes/python.el: New python.el merge.
3825         (python-guess-indent): Obsolete var.
3826         (python-indent-guess-indent-offset): New defcustom.
3827         (python-indent): Obsolete var.
3828         (python-indent-offset): New defcustom.
3829         (python-python-command, python-jython-command): Delete var.
3830         (python-shell-interpreter): New defcustom.
3831         (python-pdbtrack-do-tracking-p): Delete var.
3832         (python-pdbtrack-activate): New defcustom.
3833         (python-use-skeletons): Obsolete var.
3834         (python-skeleton-autoinsert): New defcustom.
3835         (inferior-python-filter-regexp, python-continuation-offset)
3836         (python-honour-comment-indentation, python-indent-string-contents)
3837         (python-jython-packages, python-mode-hook)
3838         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3839         (python-shell-prompt-alist)
3840         (python-source-modes): Delete defcustoms.
3841         (python-check-buffer-name, python-eldoc-setup-code)
3842         (python-eldoc-string-code, python-ffap-setup-code)
3843         (python-ffap-string-code, python-fill-comment-function)
3844         (python-fill-decorator-function, python-fill-paren-function)
3845         (python-fill-string-function, python-imenu-include-defun-type)
3846         (python-imenu-make-tree, python-imenu-subtree-root-label)
3847         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3848         (python-shell-compilation-regexp-alist)
3849         (python-shell-completion-module-string-code)
3850         (python-shell-completion-pdb-string-code)
3851         (python-shell-completion-setup-code)
3852         (python-shell-completion-string-code)
3853         (python-shell-enable-font-lock, python-shell-exec-path)
3854         (python-shell-extra-pythonpaths)
3855         (python-shell-internal-buffer-name, python-shell-interpreter-args)
3856         (python-shell-process-environment)
3857         (python-shell-prompt-block-regexp)
3858         (python-shell-prompt-output-regexp)
3859         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3860         (python-shell-send-setup-max-wait, python-shell-setup-codes)
3861         (python-shell-virtualenv-path): New defcustoms.
3862         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3863         (inferior-python-mode-syntax-table, python--prompt-regexp)
3864         (python-buffer, python-command python-python-command)
3865         (python-default-template, python-imports, python-indent-index)
3866         (python-indent-list, python-indent-list-length)
3867         (python-mode-running, python-pdbtrack-is-tracking-p)
3868         (python-preoutput-continuation, python-preoutput-leftover)
3869         (python-preoutput-result, python-preoutput-skip-next-prompt)
3870         (python-prev-dir/file, python-recursing)
3871         (python-saved-check-command, python-version-checked)
3872         (python-which-func-length-limit)
3873         (view-return-to-alist): Delete vars.
3874         (python-check-custom-command, python-dotty-syntax-table)
3875         (python-imenu-index-alist, python-indent-current-level)
3876         (python-indent-dedenters, python-indent-levels)
3877         (python-nav-beginning-of-defun-regexp)
3878         (python-nav-list-defun-positions-cache)
3879         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3880         (python-shell-internal-buffer)
3881         (python-skeleton-available): New vars.
3882         (def-python-skeleton): Delete macro.
3883         (python-skeleton-define): New macro.
3884         (python-define-auxiliary-skeleton, python-rx): New macros.
3885         (python-insert-class): Delete command.
3886         (python-skeleton-class): New command.
3887         (python-insert-def): Delete command.
3888         (python-skeleton-def): New command.
3889         (python-insert-for): Delete command.
3890         (python-skeleton-for): New command.
3891         (python-insert-if): Delete command.
3892         (python-skeleton-if): New command.
3893         (python-insert-try/except, python-insert-try/finally): Delete commands.
3894         (python-skeleton-try): New command.
3895         (python-insert-while): Delete command.
3896         (python-skeleton-while): New command.
3897         (python-backspace): Delete command.
3898         (python-indent-dedent-line-backspace): New command.
3899         (python-electric-colon): Delete command.
3900         (python-indent-electric-colon): New command.
3901         (python-guess-indent): Delete command.
3902         (python-indent-guess-indent-offset): New command.
3903         (python-shift-left): Delete command.
3904         (python-indent-shift-left): New command.
3905         (python-shift-right): Delete command.
3906         (python-indent-shift-right): New command.
3907         (python-find-function): Delete command.
3908         (python-nav-jump-to-defun): New command.
3909         (python-next-statement): Delete command.
3910         (python-nav-forward-sentence): New command.
3911         (python-previous-statement): Delete command.
3912         (python-nav-backward-sentence): New command.
3913         (python-fill-paragraph): Delete command.
3914         (python-fill-paragraph-function): New command.
3915         (python-send-buffer): Delete command.
3916         (python-shell-send-buffer): New command.
3917         (python-send-defun): Delete command.
3918         (python-shell-send-defun): New command.
3919         (python-send-region, python-send-region-and-go): Delete commands.
3920         (python-shell-send-region)
3921         (python-shell-switch-to-shell): New commands.
3922         (python-send-string): Delete command.
3923         (python-shell-send-string): New command.
3924         (python-switch-to-python): Delete command.
3925         (python-shell-switch-to-shell): New command.
3926         (python-describe-symbol): Delete command.
3927         (python-eldoc-at-point): New command.
3928         (python--set-prompt-regexp, python-args-to-list)
3929         (python-after-info-look, python-check-version)
3930         (python-check-comint-prompt, python-find-imports)
3931         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3932         (python-unload-function, python-expand-template)
3933         (python-maybe-jython, python-preoutput-filter)
3934         (python-pdbtrack-get-source-buffer)
3935         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3936         (python-pdbtrack-toggle-stack-tracking)
3937         (python-pdbtrack-track-stack-file, python-initial-text)
3938         (python-first-word, python-comment-line-p, python-send-command)
3939         (python-setup-brm, python-sentinel, python-set-proc)
3940         (python-skip-out, python-input-filter, python-outdent-p)
3941         (python-outline-level, python-backslash-continuation-line-p)
3942         (python-end-of-block, python-end-of-statement, python-mark-block)
3943         (python-beginning-of-block, python-beginning-of-statement)
3944         (python-blank-line-p, python-beginning-of-string)
3945         (python-open-block-statement-p): Delete functions.
3946         (python-indent-line, python-indent-line-1): Delete functions.
3947         (python-indent-line): New function.
3948         (python-indentation-levels): Delete function.
3949         (python-indent-calculate-levels): New function.
3950         (python-proc): Delete function.
3951         (python-shell-get-process): New function.
3952         (python-send-receive): Delete function.
3953         (python-shell-send-string-no-output): New function.
3954         (python-module-path): Delete function.
3955         (python-ffap-module-path): New function.
3956         (python-completion-at-point)
3957         (python-symbol-completions): Delete functions.
3958         (python-completion-complete-at-point): New function.
3959         (python-load-file): Delete function.
3960         (python-shell-send-file): New function.
3961         (python-calculate-indentation): Delete function.
3962         (python-indent-calculate-indentation): New function.
3963         (python-skip-comments/blanks): Delete function.
3964         (python-util-forward-comment): New function.
3965         (python-continuation-line-p): Delete function.
3966         (python-info-continuation-line-p): New function.
3967         (python-which-func, python-current-defun): Delete function.
3968         (python-info-current-defun): New function.
3969         (python-beginning-of-defun): Delete function.
3970         (python-nav-beginning-of-defun): New function.
3971         (python-close-block-statement-p)
3972         (python-block-end-p): Delete function.
3973         (python-info-closing-block): New function.
3974         (python-comint-output-filter-function)
3975         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3976         (python-fill-comment, python-fill-decorator, python-fill-paren)
3977         (python-fill-string, python-imenu-make-element-tree)
3978         (python-imenu-make-tree, python-imenu-tree-assoc)
3979         (python-indent-context, python-indent-dedent-line)
3980         (python-indent-line-function)
3981         (python-indent-post-self-insert-function)
3982         (python-indent-toggle-levels)
3983         (python-info-assignment-continuation-line-p)
3984         (python-info-beginning-of-backlash)
3985         (python-info-block-continuation-line-p)
3986         (python-info-closing-block-message)
3987         (python-info-line-ends-backslash-p)
3988         (python-info-looking-at-beginning-of-defun)
3989         (python-info-ppss-context, python-info-ppss-context-type)
3990         (python-nav-list-defun-positions, python-nav-read-defun)
3991         (python-nav-sentence-end, python-nav-sentence-start)
3992         (python-pdbtrack-comint-output-filter-function)
3993         (python-pdbtrack-set-tracked-buffer)
3994         (python-shell-calculate-exec-path)
3995         (python-shell-calculate-process-environment)
3996         (python-shell-completion--do-completion-at-point)
3997         (python-shell-completion--get-completions)
3998         (python-shell-completion-complete-at-point)
3999         (python-shell-completion-complete-or-indent)
4000         (python-shell-get-or-create-process)
4001         (python-shell-get-process-name)
4002         (python-shell-internal-get-or-create-process)
4003         (python-shell-internal-get-process-name)
4004         (python-shell-internal-send-string, python-shell-make-comint)
4005         (python-shell-parse-command, python-shell-send-setup-code)
4006         (python-skeleton-add-menu-items)
4007         (python-util-clone-local-variables, python-util-position)
4008         (run-python-internal, python-indentation-levels)
4009         (python-nav-beginning-of-defun)
4010         (python-completion-complete-at-point): New functions.
4011         (run-python): Change arguments.  New API requirements.
4013 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4015         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4016         (bug#11649).
4018         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4019         (macroexp--expand-all): Use it.
4021         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4022         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4023         Use `cl-function' instead.
4025 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
4027         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4028         Suggested by Stefan Monnier while discussing bug#11657.
4030 2012-06-14  Sam Steingold  <sds@gnu.org>
4032         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4034 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4036         * play/doctor.el (doctor-doc): Remove parameter and use
4037         doctor-sent instead of sent.
4038         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
4040 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4042         * files.el: Require cl-lib.
4043         (file-name-non-special): Replace case -> cl-case.
4045         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4047         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4048         mapping from #' to function*.
4050 2012-06-13  Chong Yidong  <cyd@gnu.org>
4052         * mouse.el (mouse-drag-track): Do not set the mark if the user
4053         releases the mouse without selecting anything (Bug#11588).
4055 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4057         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4058         as well (bug#11646).
4060         * loadup.el: Count byte-code functions as well.
4062         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4063         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4065         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4066         (bug#11649).  Add cl-defun and cl-defmacro.
4068 2012-06-13  Drew Adams  <drew.adams@oracle.com>
4070         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4071         Fix last change.
4073 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
4075         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4076         Otherwise, it blocks in batch mode.
4078 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
4080         * help-mode.el (bookmark-make-record-default): Declare.
4082 2012-06-13  Chong Yidong  <cyd@gnu.org>
4084         * emacs-lisp/package.el (list-packages): Compute a list of
4085         packages that are newly-available since the last list-packages
4086         invocation.
4087         (package-menu--new-package-list): New var.
4088         (package-menu--generate, package-menu--print-info)
4089         (package-menu--status-predicate, package-menu-mark-install):
4090         Handle new status label "new".
4092 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4094         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4095         conversion to backquotes.
4097 2012-06-12  Chong Yidong  <cyd@gnu.org>
4099         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4100         Rename from gud-inhibit-global-bindings.
4102         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4104         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4105         hook from nxml-glyph-set-hook.
4107         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4108         declaration.
4110         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4112         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4113         Convert to defcustom.
4115 2012-06-12  Drew Adams  <drew.adams@oracle.com>
4117         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4118         New functions.
4119         (help-mode): Use them.
4121 2012-06-11  Glenn Morris  <rgm@gnu.org>
4123         * progmodes/fortran.el (fortran-font-lock-keywords-3):
4124         Use preprocessor face for directives.
4125         (fortran-directive-re): Doc fix.
4127 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4129         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4130         conversion to backquotes (bug#11652).
4132         Fix compiler-expansion of CL's cXXr functions (bug#11673).
4133         * emacs-lisp/cl-lib.el (cl--defalias): New function.
4134         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4135         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4136         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4137         (cl-ninth, cl-tenth): Mark them as inlinable.
4138         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4139         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4140         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4141         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4142         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4143         (cl-list*, cl-adjoin): Don't put an autoload manually.
4144         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4145         (cl--compiler-macro-list*): Add autoload cookie.
4146         (cl--compiler-macro-cXXr): New function.
4148         * help-fns.el (help-fns--compiler-macro): New function extracted from
4149         describe-function-1; follow aliases and use `compiler-macro' property.
4150         (describe-function-1): Use it.
4152 2012-06-11  Chong Yidong  <cyd@gnu.org>
4154         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4155         is uninstalled, if imagemagick is installed.
4157 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4159         * emacs-lisp/cl-lib.el: Use lexical-binding.
4160         (cl-map-extents, cl-maclisp-member): Remove.
4161         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4162         (cl--set-substring, cl--block-wrapper, cl--block-throw)
4163         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4164         * emacs-lisp/cl-extra.el: Use lexical-binding.
4165         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4166         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4167         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4168         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4169         * emacs-lisp/cl-seq.el: Use lexical-binding.
4170         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4171         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4172         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4173         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4174         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4175         CL's internals.
4177 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
4179         Sync with Tramp 2.2.6-pre.
4181         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4182         `print-length' and `print-level' to nil, in order to avoid
4183         truncation.  Reported by Christopher Schmidt
4184         <christopher@ristopher.com>.
4186         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4188         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4189         New defmacro.
4190         (tramp-compat-copy-directory): Add optional argument
4191         COPY-CONTENTS.  It is not handled yet.
4193         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4194         (tramp-ftp-file-name-p): Simplify.
4196         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4197         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4198         connection vector.
4200         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4201         (tramp-methods): Do not use `tramp-password-end-of-line'.
4202         (tramp-completion-function-alist-putty): Handle UNIX case.
4203         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4204         (tramp-do-file-attributes-with-stat)
4205         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4206         gid as real numbers.  They could run out of integer range on cygwin.
4207         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4208         (tramp-sh-handle-expand-file-name): Handle hops.
4209         (tramp-open-connection-setup-interactive-shell):
4210         Use `tramp-cleanup'.  Move check for busyboxes ...
4211         (tramp-find-shell): ... here.  Simplify implementation.
4212         Set "remote-shell" property also for alternative shells.
4213         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4214         If failing, a regular file would be written otherwise.
4215         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4216         (tramp-find-inline-encoding): Cache the coding commands in the
4217         process cache.  Apply test command on the remote side, if defined.
4218         (tramp-find-inline-compress): Cache the compress commands in the
4219         process cache.
4220         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4221         when requested.  Handle hops.
4222         (tramp-current-connection): New defvar.
4223         (tramp-maybe-open-connection): Use `tramp-cleanup'.
4224         Throw `suppress', if there was a failed connection shortly before.
4225         Handle user interrupt.  (Bug#10187)
4226         (tramp-get-inline-compress, tramp-get-inline-coding):
4227         Read connection properties from the process cache.
4229         * net/tramp-smb.el (tramp-smb-server-version)
4230         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4231         New defconsts.
4232         (tramp-smb-prompt): Extend for powershell prompt.
4233         (tramp-smb-file-name-handler-alist): Add handlers for
4234         `process-file', `shell-command' and `start-file-process'.
4235         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4236         (tramp-smb-winexe-shell-command-switch): New defcustoms.
4237         (tramp-smb-file-name-p): Simplify.
4238         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4239         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4240         (tramp-smb-shell-quote-argument): New defuns.
4241         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4242         Implement using "tar".  By this, time-stamps are preserved.
4243         (tramp-smb-handle-copy-file): Handle also the case of directories.
4244         (tramp-smb-do-file-attributes-with-stat)
4245         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4246         Use `tramp-get-connection-buffer').
4247         (tramp-smb-handle-rename-file): Use "rename", when source and
4248         target are on the same share.
4249         (tramp-smb-maybe-open-connection): Handle wrong passwords.
4250         Use `tramp-smb-server-version'.
4251         (tramp-smb-wait-for-output): Remove prompt.
4253         * net/tramp.el (top): Require 'cl.
4254         (tramp-methods, tramp-rsh-end-of-line):
4255         Remove `tramp-password-end-of-line' from docstring.
4256         (tramp-save-ad-hoc-proxies): New defcustom.
4257         (tramp-completion-function-alist): Adapt docstring.
4258         (tramp-default-password-end-of-line): Remove defcustom.
4259         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
4260         (tramp-user-regexp, tramp-file-name-regexp-unified)
4261         (tramp-file-name-regexp-url): Extend regexp by hop separator.
4262         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4263         (tramp-remote-file-name-spec-regexp): New defconst.
4264         (tramp-file-name-structure): Extend structure for hops.
4265         (tramp-get-method-parameter): Move up.
4266         (tramp-file-name-p, tramp-dissect-file-name)
4267         (with-parsed-tramp-file-name): Handle hops.
4268         (tramp-file-name-hop): New defun.
4269         (tramp-make-tramp-file-name): New optional arg HOP.
4270         (tramp-message-show-progress-reporter-message): New defvar.
4271         (tramp-with-progress-reporter): Use it.  We cannot use
4272         `tramp-message-show-message' here, because this suppresses also
4273         error buffers.
4274         (tramp-error-with-buffer): Suppress buffer view, if
4275         `tramp-message-show-message' is nil.
4276         Use `tramp-get-connection-buffer'.
4277         (tramp-cleanup): New defun.
4278         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4279         (tramp-file-name-handler): If `debug-on-error' is set, propagate
4280         an error unchanged.
4281         (tramp-completion-handle-file-name-all-completions): Handle hops.
4282         Fix an error when called from ido.
4283         (tramp-completion-dissect-file-name): Use better local variable
4284         name.  Add hop to the vector.
4285         (tramp-handle-insert-file-contents): Use progress-reporter for the
4286         whole scenario.
4287         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4288         to `t'.
4289         (tramp-check-for-regexp): Simplify search.
4290         (tramp-enter-password): Remove it.  Move implementation ...
4291         (tramp-action-password): ... here.
4292         (tramp-mode-string-to-int, tramp-local-host-p)
4293         (tramp-make-tramp-temp-file, tramp-read-passwd)
4294         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4295         Set tramp-autoload cookie.
4297         * net/trampver.el: Update release number.
4299 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4300             Michael Albinus  <michael.albinus@gmx.de>
4302         * net/tramp.el (tramp-set-completion-function): Fix docstring.
4303         (tramp-parse-group, tramp-parse-file)
4304         (tramp-parse-shostkeys-sknownhosts): New defuns.
4305         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4306         (tramp-parse-shosts-group, tramp-parse-sconfig)
4307         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4308         (tramp-parse-sknownhosts, tramp-parse-hosts)
4309         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4310         Use them.
4311         (tramp-parse-passwd-group, tramp-parse-netrc-group)
4312         (tramp-parse-putty-group): Don't narrow.
4313         (tramp-parse-putty): Make a loop.
4314         (tramp-file-name-handler): Catch the `suppress' signal.
4316 2012-06-11  Chong Yidong  <cyd@gnu.org>
4318         * image.el (imagemagick-register-types): Put the ImageMagick entry
4319         at the end of image-type-file-name-regexps.
4321 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
4323         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4324         (pcase, pcase-let*, pcase-dolist): Use them.
4326 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4328         * emacs-lisp/pcase.el (pcase--let*): New function.
4329         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
4330         (pcase--expand): Use macroexp-let².
4332 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4334         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4335         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4336         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4337         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4338         * emacs-lisp/derived.el: Use pcase instead of `cl'.
4339         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4341 2012-06-10  Glenn Morris  <rgm@gnu.org>
4343         * mail/rmail.el (rmail-yank-current-message): Leave point at
4344         correct position.  (Bug#11660)
4346 2012-06-10  Chong Yidong  <cyd@gnu.org>
4348         * allout-widgets.el: Fix code header.
4350 2012-06-10  Chong Yidong  <cyd@gnu.org>
4352         * cus-edit.el (customize-changed-options-previous-release):
4353         Bump to 24.1.
4355 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
4357         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4359 2012-06-09  Chong Yidong  <cyd@gnu.org>
4361         * ebuff-menu.el (electric-buffer-list): Preserve header line.
4363 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
4365         * window.el (special-display-popup-frame): Don't use
4366         window--display-buffer (Bug#11651).
4368 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
4370         Fix parallel builds: make sure loaddefs.el is not being written
4371         while Lisp files are compiled.
4372         (compile): Don't depend on 'mh-autoloads'.
4373         (compile-CMD, compile-SH): Depend on 'autoloads'.
4374         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4376         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
4378 2012-06-09  Chong Yidong  <cyd@gnu.org>
4380         * face-remap.el (face-remap-add-relative, face-remap-set-base)
4381         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4382         Doc fixes (Bug#11225).
4384 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4386         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4387         a function if there's a clear indication that it has a compiler-macro.
4388         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4389         (macro-declarations-alist): Add arglist to declaration functions.
4390         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4391         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4392         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4393         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4394         Also add autoload to find the compiler macro.
4395         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4396         (cl--compiler-macro-member, cl--compiler-macro-assoc)
4397         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4398         (cl--compiler-macro-get): New functions, replacing calls to
4399         cl-define-compiler-macro.
4400         (cl-typep) [compiler-macro]: Use macroexp-let².
4402 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
4404         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4405         string properly, fixes Bug#11473.
4407 2012-06-08  Chong Yidong  <cyd@gnu.org>
4409         * faces.el (set-face-attribute): Doc fix.
4410         (modify-face): Don't use :bold and :italic.
4411         (error, warning, success): Tweak definitions.
4413         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4414         (custom-modified, custom-set, custom-changed, custom-themed)
4415         (custom-saved, custom-button, custom-button-mouse)
4416         (custom-button-pressed, custom-state, custom-comment-tag)
4417         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4418         (custom-group-subtitle): Use new-style face specs.
4419         (custom-invalid-face, custom-rogue-face, custom-modified-face)
4420         (custom-set-face, custom-changed-face, custom-saved-face)
4421         (custom-button-face, custom-button-pressed-face)
4422         (custom-documentation-face, custom-state-face)
4423         (custom-comment-face, custom-comment-tag-face)
4424         (custom-variable-tag-face, custom-variable-button-face)
4425         (custom-face-tag-face, custom-group-tag-face-1)
4426         (custom-group-tag-face): Remove obsolete face alias.
4428         * epa.el (epa-validity-high, epa-validity-medium)
4429         (epa-validity-low, epa-mark, epa-field-name, epa-string)
4430         (epa-field-name, epa-field-body):
4431         * font-lock.el (font-lock-comment-face, font-lock-string-face)
4432         (font-lock-keyword-face, font-lock-builtin-face)
4433         (font-lock-function-name-face, font-lock-variable-name-face)
4434         (font-lock-type-face, font-lock-constant-face):
4435         * ido.el (ido-first-match, ido-only-match, ido-subdir)
4436         (ido-virtual, ido-indicator, ido-incomplete-regexp):
4437         * speedbar.el (speedbar-button-face, speedbar-file-face)
4438         (speedbar-directory-face, speedbar-tag-face)
4439         (speedbar-selected-face, speedbar-highlight-face)
4440         (speedbar-separator-face):
4441         * whitespace.el (whitespace-newline, whitespace-space)
4442         (whitespace-hspace, whitespace-tab, whitespace-trailing)
4443         (whitespace-line, whitespace-space-before-tab)
4444         (whitespace-space-after-tab, whitespace-indentation)
4445         (whitespace-empty):
4446         * emulation/cua-base.el (cua-global-mark):
4447         * eshell/em-prompt.el (eshell-prompt):
4448         * net/newst-plainview.el (newsticker-new-item-face)
4449         (newsticker-old-item-face, newsticker-immortal-item-face)
4450         (newsticker-obsolete-item-face, newsticker-date-face)
4451         (newsticker-statistics-face, newsticker-default-face):
4452         * net/newst-reader.el (newsticker-feed-face)
4453         (newsticker-extra-face, newsticker-enclosure-face):
4454         * net/newst-treeview.el (newsticker-treeview-face)
4455         (newsticker-treeview-new-face, newsticker-treeview-old-face)
4456         (newsticker-treeview-immortal-face)
4457         (newsticker-treeview-obsolete-face)
4458         (newsticker-treeview-selection-face):
4459         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4460         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4461         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4462         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4463         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4464         (nxml-outline-active-indicator, nxml-outline-ellipsis):
4465         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4466         (mpuz-text):
4467         * progmodes/vera-mode.el (vera-font-lock-number)
4468         (vera-font-lock-function, vera-font-lock-interface):
4469         * textmodes/table.el (table-cell): Use new-style face specs, and
4470         don't use the old :bold and :italic attributes.
4472         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4473         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4474         (ebrowse-member-class, ebrowse-progress): Likewise.
4475         (ebrowse-tree-mark-face, ebrowse-root-class-face)
4476         (ebrowse-file-name-face, ebrowse-default-face)
4477         (ebrowse-member-attribute-face, ebrowse-member-class-face)
4478         (ebrowse-progress-face): Remove obsolete faces.
4480         * progmodes/flymake.el (flymake-errline, flymake-warnline):
4481         Inherit from error and warning faces respectively.
4483         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4484         Likewise.
4485         (flyspell-incorrect-face, flyspell-duplicate-face):
4486         Remove obsolete aliases.
4488 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
4490         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4491         Avoid infloop.
4493 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4495         * startup.el (argv, argi): Make lexically scoped.
4496         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4497         * emacs-lisp/cl-macs.el: Use lexical-binding.
4498         Rename cl-bind-* to cl--bind-*.
4499         * files.el: Don't require `cl' since it doesn't use it.
4500         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4502 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
4504         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4505         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4506         instead of calling external sort utility.
4507         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4509 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
4511         * descr-text.el (describe-char): Mention how to insert the
4512         character, if the current input method doesn't support it.
4513         See the discussion in this thread for the details:
4514         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4516 2012-06-08  Sam Steingold  <sds@gnu.org>
4518         * bindings.el (global-map): Bind XF86Forward to next-buffer and
4519         XF86Back to previous-buffer.
4520         (minibuffer-local-map): Bind them to next-history-element and
4521         previous-history-element respectively.
4522         * help-mode.el (help-mode-map): Bind them to help-go-forward and
4523         help-go-back respectively.
4524         * info.el (Info-mode-map): Bind them to Info-history-forward and
4525         Info-history-back respectively.
4526         These are the keys next to Up on the ThinkPad keyboard.
4528 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4530         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4531         * emacs-lisp/cl-macs.el: Provide itself.
4532         (cl--labels-convert-cache): New var.
4533         (cl--labels-convert): New function.
4534         (cl-flet, cl-labels): New implementation with new semantics, relying on
4535         lexical-binding.
4536         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4537         (cl-closure-vars, cl--function-convert-cache)
4538         (cl--function-convert): Move from cl-macs.el.
4539         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4540         rename by removing the "cl-" prefix.
4541         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4543 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4545         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4546         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4547         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4548         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4549         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4550         (cl-hash-table-count): Add old compatibility aliases.
4552         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4553         Use macroexpand-all-environment instead.
4554         (cl--old-macroexpand): New var.
4555         (cl--sm-macroexpand): New function.
4556         (cl-symbol-macrolet): Use it during macro expansion.
4557         (cl--function-convert-cache): New var.
4558         (cl--function-convert): New function, extracted from
4559         cl-macroexpand-all.
4560         (cl-lexical-let): Use it.
4562         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4563         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4564         (cl-member): Remove old alias.
4566         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4567         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4568         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4569         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4570         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4571         (cl-macroexpand-cmacs): Remove var.
4572         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4573         Use macroexpand-all instead.
4575 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4577         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4578         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4579         (macroexp-copyable-p): New functions and macros.
4580         * emacs-lisp/edebug.el (edebug-unwrap):
4581         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4582         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4583         (pcase--let*): Remove.
4584         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4585         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
4586         macroexp-const-p instead.
4587         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4589         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4590         instead of "cl-" for internal definitions.  Use macroexp-const-p.
4591         (cl-old-bc-file-form): Remove var.
4592         (cl-const-exprs-p): Remove fun.
4593         (cl-labels, cl-macrolet): Use backquote.
4594         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
4595         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4596         (cl-define-setf-expander): Rename from cl-define-setf-method.
4597         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4599         * international/mule-cmds.el: Don't require CL.
4600         (view-hello-file): Don't use `letf'.
4602 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4604         * tmm.el (tmm-prompt): Use string-prefix-p.
4605         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4606         (tmm-add-prompt): Use minibuffer-completion-help.
4607         (tmm-delete-map): Remove.
4609         * subr.el (kbd): Make it its own function.
4611 2012-06-07  Stefan Merten  <smerten@oekonux.de>
4613         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4614         Silence compiler warnings.  Fix versions.
4615         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
4616         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
4617         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
4618         (rst-package-emacs-version-alist): Correct Emacs version to
4619         represent major merge with upstream.
4620         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
4622 2012-06-06  Glenn Morris  <rgm@gnu.org>
4624         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4625         Only print environment variables if set.
4627 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4629         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4630         (macroexp--cons): Rename from maybe-cons.
4631         (macroexp--accumulate): Rename from macroexp-accumulate.
4632         (macroexp--all-forms): Rename from macroexpand-all-forms.
4633         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4634         (macroexp--expand-all): Rename from macroexpand-all-1.
4636 2012-06-06  Sam Steingold  <sds@gnu.org>
4638         * calendar/calendar.el (calendar-in-read-only-buffer):
4639         Call `special-mode' to enable the standard read-only keybindings.
4641 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4643         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4644         with "loading" messages (bug#11635).
4646 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
4648         * files.el (enable-remote-dir-locals): New option.
4649         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
4651         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4652         Ensure, that the temp directory is local.
4654         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4655         `temporary-file-directory'.
4657         * progmodes/python.el (python-send-region): Ensure, that the
4658         temporary file is created also in the remote case.
4660 2012-06-06  Glenn Morris  <rgm@gnu.org>
4662         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4663         (vc-rcs-update-changelog): Use it.
4665         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
4667         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4668         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4669         (vc-sccs-diff): Replace use of the external vcdiff script.
4671 2012-06-05  Glenn Morris  <rgm@gnu.org>
4673         * ledit.el: Move to obsolete/.
4675 2012-06-05  Sam Steingold  <sds@gnu.org>
4677         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
4678         patch (Bug#11140).
4680 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4682         * emacs-lisp/cust-print.el: Move to obsolete.
4684         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4685         compiler-macro expansion.
4687         Add native compiler-macro support.
4688         * emacs-lisp/macroexp.el (macroexpand-all-1):
4689         Support compiler-macros directly.  Properly follow aliases and apply
4690         the compiler macros more thoroughly.
4691         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4692         macroexpand now properly follows aliases.
4693         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4694         (cl-compiler-macroexpand): Use new prop.
4695         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4697         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4699 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
4701         * window.el (get-lru-window, get-mru-window, get-largest-window):
4702         New argument NOT-SELECTED to avoid picking the selected window.
4703         (window--display-buffer-1, window--display-buffer-2): Replace by
4704         new function window--display-buffer
4705         (display-buffer-same-window, display-buffer-reuse-window)
4706         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4707         Use window--display-buffer.
4708         (display-buffer-use-some-window): Remove temporary dedication
4709         hack by calling get-lru-window and get-largest-window with
4710         NOT-SELECTED argument non-nil.  Call window--display-buffer.
4712 2012-06-05  Glenn Morris  <rgm@gnu.org>
4714         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4715         Replace external vcdiff script.
4717 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4719         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4721 2012-06-04  Chong Yidong  <cyd@gnu.org>
4723         * image.el (imagemagick-types-inhibit): Revert last change.
4724         Add INFO and M.
4725         (imagemagick-enabled-types): Remove CIN and EPS*.
4727 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4729         * emacs-lisp/cl-lib.el: Rename from cl.el.
4730         * emacs-lisp/cl.el: New compatibility file.
4731         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4732         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4733         to obey the "cl-" prefix.
4734         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4736 2012-06-03  Glenn Morris  <rgm@gnu.org>
4738         * emacs-lisp/authors.el (authors-aliases): Addition.
4740         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4741         Fix :version.
4743 2012-06-03  Stefan Merten  <smerten@oekonux.de>
4745         * textmodes/rst.el: Add comments.
4746         (rst-transition, rst-adornment): New faces.
4747         (rst-adornment-faces-alist): Make default safe to reevaluate.
4748         Fixes
4749         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4750         Improve customization tags.
4751         (rst-define-level-faces): Clarify meaning.
4753 2012-06-03  Chong Yidong  <cyd@gnu.org>
4755         * progmodes/compile.el (compilation-mode-line-fail)
4756         (compilation-mode-line-run, compilation-mode-line-exit):
4757         New faces.
4758         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4760 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
4762         * progmodes/which-func.el (which-func-update-ediff-windows):
4763         New function.  Use it in ediff-select-hook (Bug#11478).
4765 2012-06-03  Chong Yidong  <cyd@gnu.org>
4767         * bindings.el: Remove explicit help text from format-mode-line.
4768         It is now supplied by mode-line-default-help-echo.
4769         (mode-line-front-space, mode-line-end-spaces)
4770         (mode-line-misc-info): New variables.
4771         (mode-line-modes, mode-line-position): Move the default value to
4772         the variable definition.
4773         (mode-line-default-help-echo): New defcustom.
4774         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4775         (mode-line-modified-help-echo): New functions.
4776         (mode-line-mule-info, mode-line-modified): Use them.
4777         (mode-line-eol-desc, propertized-buffer-identification):
4778         Consistency fixes for help text.
4779         (mode-line-coding-system-map): Allow using mouse-3 to invoke
4780         set-buffer-file-coding-system (Bug#289).
4781         (mode-line-mule-info-help-echo): Update help text.
4783 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4785         * simple.el (execute-extended-command): Set real-this-command
4786         (bug#11506).
4788 2012-06-02  Chong Yidong  <cyd@gnu.org>
4790         Remove incorrect uses of "modeline" in comments, docstrings, and
4791         function/variable names (Bug#10329).
4793         * cus-edit.el (mode-line):
4794         * dframe.el (dframe-mouse-hscroll):
4795         * emacs-lisp/re-builder.el:
4796         * emacs-lisp/easy-mmode.el (define-minor-mode):
4797         * frame.el (set-frame-name):
4798         * help.el (lookup-minor-mode-from-indicator):
4799         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4800         * progmodes/cc-cmds.el (c-toggle-auto-newline)
4801         (c-toggle-hungry-state):
4802         * progmodes/antlr-mode.el (antlr-language-alist):
4803         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4804         * progmodes/vhdl-mode.el (vhdl-mode):
4805         * progmodes/which-func.el (which-func, which-func-cleanup-function):
4806         * term/ns-win.el (ns-face-at-pos):
4807         * term/sup-mouse.el (sup-mouse-report):
4808         * textmodes/flyspell.el (flyspell-mode-line-string):
4809         * textmodes/ispell.el (ispell-highlight-face):
4810         * textmodes/reftex-global.el:
4811         * vc/vc-arch.el (vc-arch-mode-line-string):
4812         * vc/vc-cvs.el (vc-cvs-mode-line-string):
4813         * vc/vc-git.el (vc-git-mode-line-string):
4814         * vc/vc-hooks.el (vc-display-status)
4815         (vc-default-mode-line-string):
4816         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4818         * ansi-color.el (ansi-color-faces-vector): Change default faces.
4820         * dired.el (dired-sort-set-mode-line): Rename from
4821         dired-sort-set-modeline.  All callers changed.
4823         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4824         eshell-status-in-modeline.
4826         * foldout.el (foldout-mode-line-string): Rename from
4827         foldout-modeline-string.  All callers changed.
4828         (foldout-update-mode-line): Rename from foldout-update-modeline.
4830         * subr.el (redraw-modeline): Make into obsolete alias.
4832         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4833         timeclock-modeline-display.  Make old name an alias.
4834         (timeclock-update-mode-line): Likewise.  All callers changed.
4835         (timeclock-mode-line-display): No need to check before using
4836         add-hook.
4837         (timeclock-relative, timeclock-day-over-hook)
4838         (timeclock-use-elapsed, timeclock-mode-string)
4839         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4841         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4842         crisp-mode-modeline-string.
4844         * play/solitaire.el (solitaire-build-mode-line): Rename from
4845         solitaire-build-modeline.  All callers changed.
4847         * play/zone.el (zone-hiding-mode-line): Rename from
4848         zone-hiding-modeline.  All callers changed.
4849         (zone): Remove unusued `modeline-hidden-level' property.
4851         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4852         xscheme-modeline-initialize.  All callers changed.
4854         * strokes.el (strokes-lighter): Rename from
4855         strokes-modeline-string.
4857         * textmodes/sgml-mode.el (html-face-tag-alist)
4858         (html-tag-face-alist): Use mode-line face instead of obsolete
4859         alias modeline.
4861 2012-06-02  Stefan Merten  <smerten@oekonux.de>
4863         * textmodes/rst.el: Always require `cl'.
4864         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
4866 2012-06-02  Chong Yidong  <cyd@gnu.org>
4868         * image.el (imagemagick-enabled-types): Rename from
4869         imagemagick-types-enable.  Add many more types.
4870         (imagemagick-types-inhibit): Change default to nil.
4871         (imagemagick-filter-types): Caller changed.
4873 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4875         * emacs-lisp/cl-macs.el: Use backquotes.
4876         (cl-transform-function-property): Use eval-and-compile rather than
4877         abusing `require'.
4878         (defstruct): Use declare-function instead of with-no-warnings.
4880         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4881         (byte-compile-output-docform): Re-add the print-circle bindings.
4882         (byte-compile-fix-header): Use #$ just because it's shorter.
4883         (byte-compile-output-file-form): Remove defun/defmacro.
4885 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
4887         * simple.el (choose-completion): Remove now obsolete binding for
4888         owindow.
4890 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
4892         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4893         in order to avoid "Stack overflow in regexp matcher".
4895 2012-05-31  Glenn Morris  <rgm@gnu.org>
4897         * image.el: For clarity, call imagemagick-register-types at
4898         top-level, rather than relying on a custom :initialize.
4899         (imagemagick-types-enable): New option.  (Bug#11557)
4900         (imagemagick-filter-types): New function.  (Bug#7406)
4901         (imagemagick-register-types): Use imagemagick-filter-types.
4902         If disabling support, remove elements altogether rather
4903         than using an impossible regexp.
4904         (imagemagick-types-inhibit): Give it the default init function.
4906 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4908         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4909         Handle arbitrary file name lengths (Bug#11585).
4911 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
4913         * desktop.el (desktop-read): Clear previous and next buffers for
4914         all windows and bury *Messages* buffer (bug#11556).
4916 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4918         Add `declare' for `defun'.  Align `defmacro's with it.
4919         * emacs-lisp/easy-mmode.el (define-minor-mode)
4920         (define-globalized-minor-mode): Don't autoload the var definitions.
4921         * emacs-lisp/byte-run.el: Use lexical-binding.
4922         (defun-declarations-alist, macro-declarations-alist): New vars.
4923         (defmacro, defun): Use them.
4924         (make-obsolete, define-obsolete-function-alias)
4925         (make-obsolete-variable, define-obsolete-variable-alias):
4926         Use `declare'.
4927         (macro-declaration-function): Mark obsolete.
4928         * emacs-lisp/autoload.el: Use lexical-binding.
4929         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
4931 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4933         * textmodes/ispell.el (ispell-with-no-warnings):
4934         Define as a macro.
4935         (ispell-kill-ispell, ispell-change-dictionary):
4936         Use `called-interactively-p' for Emacs instead of obsolete
4937         `interactive-p'.
4939 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4941         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4942         (macro-declaration-function): Move var from C code.
4943         (macro-declaration-function): Define function with defalias.
4944         * emacs-lisp/macroexp.el (macroexpand-all-1):
4945         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4946         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4947         defun/defmacro any more.
4948         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4949         Provide fallback for unknown arglist.
4950         (byte-compile-arglist-warn): Change calling convention.
4951         (byte-compile-output-file-form): Move print-vars binding.
4952         (byte-compile-output-docform): Simplify accordingly.
4953         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4954         (byte-compile-defmacro-declaration): Remove.
4955         (byte-compile-file-form-defmumble): Generalize to defalias.
4956         (byte-compile-output-as-comment): Return byte-positions.
4957         Simplify callers accordingly.
4958         (byte-compile-lambda): Use `assert'.
4959         (byte-compile-defun, byte-compile-defmacro): Remove.
4960         (byte-compile-file-form-defalias):
4961         Use byte-compile-file-form-defmumble.
4962         (byte-compile-defalias-warn): Remove.
4964 2012-05-29  Stefan Merten  <smerten@oekonux.de>
4966         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
4967         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
4969         (rst-mode-abbrev-table): Merge definition.
4970         (rst-mode): Make sure `font-lock-defaults' is buffer local.
4971         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4973 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
4975         * calendar/icalendar.el
4976         (icalendar-export-region): Export UID properly.
4978 2012-05-29  Leo Liu  <sdl.web@gmail.com>
4979         * calendar/icalendar.el (icalendar-import-format):
4980         Add `icalendar-import-format-uid' (Bug#11525).
4981         (icalendar-import-format-uid): New.
4982         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4983         Export UID.
4985 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4987         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4988         different alternative patterns.
4989         (pcase-codegen): Be more careful to preserve identity.
4990         (pcase--u1): Don't forget to mark vars as used.
4992         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4993         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4994         (byte-compile-from-buffer): ...rather than here.
4996         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4997         functions from byte-compile-function-environment.
4999 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
5001         * window.el (window-deletable-p): Avoid deleting the root window
5002         of a frame with an active minibuffer.
5004 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
5006         * simple.el (choose-completion): Use quit-window (Bug#11567).
5008 2012-05-29  Chong Yidong  <cyd@gnu.org>
5010         * whitespace.el (whitespace-cleanup): Fix usage of
5011         whitespace-empty-at-bob-regexp (Bug#11492).
5013 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5015         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5016         revert (Bug#11488).
5018 2012-05-29  Juri Linkov  <juri@jurta.org>
5020         * isearch.el (isearch-mode-map): Bind `M-s _' to
5021         `isearch-toggle-symbol'.  Bind `M-s c' to
5022         `isearch-toggle-case-fold'.
5023         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5024         (isearch-forward): Add `M-s _' to the docstring.
5025         (isearch-forward-symbol, isearch-toggle-case-fold)
5026         (isearch-symbol-regexp): New functions.  (Bug#11381)
5028 2012-05-29  Juri Linkov  <juri@jurta.org>
5030         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
5031         (isearch-occur, isearch-search-and-update): If `isearch-word' is
5032         a function, call it to get the regexp.
5033         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5034         property `isearch-message-prefix' instead of the string "word ".
5035         (isearch-search-fun-default): For the case of `isearch-word',
5036         return a lambda that calls re-search-forward/re-search-backward
5037         with a regexp returned by `word-search-regexp' or by the function
5038         in `isearch-word'.
5040 2012-05-29  Juri Linkov  <juri@jurta.org>
5042         * isearch.el (isearch-search-fun-default): New function.
5043         (isearch-search-fun): Move default part to the new function
5044         `isearch-search-fun-default'.
5045         (isearch-search-fun-function): Set the default value to
5046         `isearch-search-fun-default'.  (Bug#11381)
5048         * comint.el (comint-history-isearch-end):
5049         Use `isearch-search-fun-default'.
5050         (comint-history-isearch-search): Use `isearch-search-fun-default'
5051         and remove spacial case for `isearch-word'.
5052         (comint-history-isearch-wrap): Remove spacial case for
5053         `isearch-word'.
5055         * hexl.el (hexl-isearch-search-function):
5056         Use `isearch-search-fun-default'.
5058         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5059         Use `word-search-regexp' for `isearch-word'.
5061         * misearch.el (multi-isearch-search-fun):
5062         Use `isearch-search-fun-default'.
5064         * simple.el (minibuffer-history-isearch-search):
5065         Use `isearch-search-fun-default' and remove spacial case for
5066         `isearch-word'.
5067         (minibuffer-history-isearch-wrap): Remove spacial case for
5068         `isearch-word'.
5070         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5071         Remove spacial case for `isearch-word'.
5072         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5074 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5076         Decrease XEmacs incompatibilities.
5077         * textmodes/flyspell.el (flyspell-check-pre-word-p):
5078         Use `string-match'.
5079         (flyspell-delete-region-overlays): Use alternative definition for
5080         XEmacs.
5081         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5082         (flyspell-word): Use `process-kill-without-query' if XEmacs.
5083         (flyspell-mode-on): Use `interactive-p' if XEmacs.
5084         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5085         `define-obsolete-face-alias' under XEmacs, but old method.
5087         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5088         `with-no-warnings' definition or Emacs alias.
5089         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5090         (ispell-word): Do not use `region-p' if XEmacs.
5092 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5094         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5095         Check for `ispell-dictionary-base-alist' instead of full
5096         `ispell-dictionary-alist'.
5097         (ispell-init-process): Show spellchecker when starting new Ispell
5098         process.
5100 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5102         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5103         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5105 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
5107         * version.el (motif-version-string, gtk-version-string)
5108         (ns-version-string): Declare.
5110 2012-05-27  Juri Linkov  <juri@jurta.org>
5112         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5113         after the `eval-defun-1' specialcaseing
5114         like in `edebug-eval-defun' (bug#10181).
5116         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5117         like in `eval-defun-1'.
5119 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
5121         * mail/sendmail.el (mail-yank-region):
5122         Recognize rmail-yank-current-message in addition to insert-buffer.
5123         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5124         a *mail* buffer created through rmail-start-mail with sendmail as
5125         mail-user-agent.
5127 2012-05-27  Chong Yidong  <cyd@gnu.org>
5129         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5130         Default to 256 (Bug#11267).
5132         * help.el (describe-mode): Doc fix.
5134 2012-05-26  Glenn Morris  <rgm@gnu.org>
5136         * w32-fns.el (w32-init-info): Remove.
5137         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5139         * info.el (info-initialize): For self-contained NS builds, put the
5140         included info/ directory at the front.  (Bug#2791)
5142         * paths.el (Info-default-directory-list): Make it a defcustom,
5143         mainly so that we can use custom-initialize-delay.
5145 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5147         * subr.el (buffer-has-markers-at): Mark obsolete.
5149         * subr.el (lambda): Use declare.
5151         * emacs-lisp/lisp-mode.el (lambda):
5152         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5154 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5156         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
5158 2012-05-26  Glenn Morris  <rgm@gnu.org>
5160         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5162 2012-05-25  Glenn Morris  <rgm@gnu.org>
5164         * paths.el: Remove no-byte-compile.
5165         * loadup.el: No need to load paths.el uncompiled.
5167         * image.el (imagemagick-types-inhibit): Doc fix.
5169         * version.el: Remove no-byte-compile and associated formatting.
5170         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
5171         is ancient code from when there was an "inc-vers.el".
5173 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5175         * progmodes/gdb-mi.el: Minor style changes.
5176         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5177         Turn into minor modes.
5178         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5179         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5180         (gdb-shell): Remove unneeded let-binding.
5181         (gdb-get-many-fields): Eliminate O(n²) behavior.
5183 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
5185         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5186         platforms that don't link in fontset.c.
5188 2012-05-25  Juri Linkov  <juri@jurta.org>
5190         Use the same diff color scheme as in modern VCSes (bug#10181).
5192         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5193         to avoid confusion with `diff-added' that now uses green colors.
5194         (diff-removed): Use shades of red.
5195         (diff-added): Use shades of green.
5196         (diff-changed): Leave just the yellow color.
5197         (diff-use-changed-face): New variable.
5198         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5199         how to highlight context diff changes.
5200         (diff-refine-change): Use shades of yellow.
5201         (diff-refine-removed): New face that uses shades of red.
5202         (diff-refine-added): New face that uses shades of green.
5203         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5204         `diff-refine-removed' in the call to `smerge-refine-subst'
5205         depending on the value of `diff-use-changed-face'.
5207         * vc/smerge-mode.el (smerge-mine): Use shades of red.
5208         (smerge-other): Use shades of green.
5209         (smerge-base): Use shades of yellow.
5210         (smerge-refined-change): Empty face.
5211         (smerge-refined-removed): New face that uses shades of red.
5212         (smerge-refined-added): New face that uses shades of green.
5213         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
5214         args `props-r' and `props-a', and use them.  Doc fix.
5215         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5216         on its value use different faces `smerge-refined-change',
5217         `smerge-refined-removed', `smerge-refined-added' in the call to
5218         `smerge-refine-subst'.
5220         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5221         Add face condition `min-colors 88' with shades of red.
5222         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5223         `min-colors 88' with shades of green.
5224         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5225         `min-colors 88' with shades of yellow.
5227 2012-05-24  Glenn Morris  <rgm@gnu.org>
5229         * paths.el (prune-directory-list, remote-shell-program): Move to...
5230         * files.el (prune-directory-list, remote-shell-program): ...here.
5231         For the latter, delay initialization, prefer ssh, just search PATH.
5233         * paths.el (term-file-prefix): Move to faces.el (the only user).
5234         * faces.el (term-file-prefix): Move here, make it a defcustom.
5236         * paths.el (news-directory, news-path, news-inews-program):
5237         Move to gnus/nnspool.el.
5239         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5241         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5242         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5243         Make the latter a defcustom, with a delayed initialization.
5245         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5246         These were deleted from Gnus itself late 2010.
5248 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
5250         * progmodes/which-func.el (which-func-ff-hook):
5251         Check against user-error, not error.
5253         * emacs-lisp/edebug.el (top): Do not load or set up loading of
5254         cl-specs.el, which no longer exists.
5256 2012-05-22  Glenn Morris  <rgm@gnu.org>
5258         * info.el (info-emacs-bug): New command.
5259         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5260         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5262 2012-05-21  Glenn Morris  <rgm@gnu.org>
5264         * makefile.w32-in (update-subdirs-SH):
5265         * Makefile.in (update-subdirs): Update for moved update-subdirs.
5267 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5269         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5271         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5272         Simplify Maven regexp, and make sure the file can't start with a space
5273         (bug#11517).
5275 2012-05-21  Glenn Morris  <rgm@gnu.org>
5277         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5278         Scrap superfluous subshells.
5280 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5282         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5283         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5285 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
5287         * calc/calc.el (calc-ensure-consistent-units): New variable.
5289         * calc/calc-units.el (math-consistent-units-p)
5290         (math-check-unit-consistency): New functions.
5291         (calc-quick-units, calc-convert-units):
5292         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5293         is non-nil.
5294         (calc-extract-units): Fix typo.
5296 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5298         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5300         * textmodes/flyspell.el: Commenting style, plus code simplifications.
5301         (flyspell-default-deplacement-commands): Don't spell check after
5302         repeated window/frame switches (e.g. triggered by mouse-movement).
5303         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5304         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5305         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5306         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5307         Remove unused vars.
5308         (flyspell-get-casechars, flyspell-get-not-casechars):
5309         Simplify; Don't bother removing a ] just to add it back.
5310         * textmodes/ispell.el (ispell-program-name): Use executable-find.
5312 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5314         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5315         New functions.
5316         (math-function-table): Add support for more C functions.
5318 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5320         * textmodes/flyspell.el (flyspell-check-pre-word-p)
5321         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5322         Protect delay handling for otherchars against empty otherchars.
5324 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5326         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5327         their respective macro declarations.
5328         * skeleton.el (define-skeleton):
5329         * progmodes/compile.el (define-compilation-mode):
5330         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5331         (define-ibuffer-filter):
5332         * emacs-lisp/generic.el (define-generic-mode):
5333         * emacs-lisp/easy-mmode.el (define-minor-mode)
5334         (define-globalized-minor-mode):
5335         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5336         * emacs-lisp/byte-run.el (defsubst):
5337         * custom.el (deftheme): Add doc-string metadata.
5339 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5341         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5343 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5345         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5347         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5348         * emacs-lisp/cl-macs.el: Idem.
5349         * emacs-lisp/cl-specs.el: Remove.
5351 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5353         Minor renaming of internal CL functions and variables.
5354         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5355         (cl--position): Rename from cl-position.
5356         (cl--delete-duplicates): Rename from cl-delete-duplicates.
5357         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5358         (cl--random-state): Rename from *random-state*.
5360 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5362         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5363         parens around the arg list (bug#11499).
5365 2012-05-17  Juri Linkov  <juri@jurta.org>
5367         * isearch.el (word-search-regexp, word-search-backward)
5368         (word-search-forward, word-search-backward-lax)
5369         (word-search-forward-lax): Move functions from search.c
5370         (bug#10145, bug#11381).
5372 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5374         * textmodes/flyspell.el (flyspell-check-pre-word-p)
5375         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5376         Delay for otherchars as for normal word components.
5378 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5380         * minibuffer.el (completion--sifn-requote): Fix last change.
5381         (minibuffer-local-must-match-filename-map):
5382         Move define-obsolete-variable-alias before its var.
5384 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5386         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5388         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5389         behavior.
5390         (completion--string-equal-p): New function.
5391         (completion--twq-all): Use it to get better assertion failure data.
5393         Only handle ".." and '..' quoting in shell-mode (bug#11466).
5394         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5395         (shell--requote-argument): New functions.
5396         (shell-completion-vars): Use them.
5397         (shell--parse-pcomplete-arguments): Rename from
5398         shell-parse-pcomplete-arguments.
5399         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
5400         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5401         Obey comint-file-name-quote-list.
5403         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5404         (smie-indent-keyword): Use it.
5406 2012-05-14  Stefan Merten  <smerten@oekonux.de>
5408         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5410 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5412         * net/rlogin.el (rlogin-mode-map): Fix last change.
5414 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
5416         * mail/smtpmail.el (smtpmail-send-command): Send the command and
5417         the following \r\n using a single `process-send-string', since the
5418         Lotus SMTP server refuses to accept any commands if they are sent
5419         with two `process-send-string's (Bug#11444).
5421 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5423         * shell.el (shell-parse-pcomplete-arguments):
5424         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
5426 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
5428         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5429         (image-transform-scale, image-transform-right-angle-fudge): New vars.
5430         (image-transform-width, image-transform-fit-width): New functions.
5431         (image-transform-properties): Use them.
5432         (image-transform-check-size): New function.
5433         (image-toggle-display-image): Use it (for testing).
5434         (image-transform-set-rotation): Reduce angle mod 360.
5435         Delete obsolete comment.
5437 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
5439         * image-mode.el: Fix scaling (bug#11399).
5440         (image-transform-resize): Doc fix.
5441         (image-transform-properties): Default scale is 1 and height should
5442         be an integer.
5444 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
5446         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5447         than hard-coding `car', to fix misbehavior when moving forward.
5449 2012-05-13  Chong Yidong  <cyd@gnu.org>
5451         * emacs-lisp/tabulated-list.el (tabulated-list-format)
5452         (tabulated-list-entries, tabulated-list-padding)
5453         (tabulated-list-sort-key): Make permanent-local.
5455         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5456         (electric-buffer-list): Put electric buffer menu
5457         command descriptions in this docstring, instead of the docstring
5458         of electric-buffer-menu-mode.  Code cleanups.
5459         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
5460         Electric-buffer-menu-mode.
5461         (electric-buffer-update-highlight): Minor code cleanup.
5463 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
5465         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5466         (Bug#11447)
5468 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5470         Move define-obsolete-variable-alias before the var's definition.
5471         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5472         * tooltip.el (tooltip-hook):
5473         * textmodes/reftex-toc.el (reftex-toc-map):
5474         * textmodes/reftex-sel.el (reftex-select-label-map)
5475         (reftex-select-bib-map):
5476         * textmodes/reftex-index.el (reftex-index-map)
5477         (reftex-index-phrases-map):
5478         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5479         * progmodes/meta-mode.el (meta-mode-map):
5480         * novice.el (disabled-command-hook):
5481         * loadhist.el (unload-hook-features-list):
5482         * frame.el (blink-cursor):
5483         * files.el (find-file-not-found-hooks, write-file-hooks)
5484         (write-contents-hooks):
5485         * emulation/tpu-edt.el (GOLD-map):
5486         * emacs-lock.el (emacs-lock-from-exiting):
5487         * emacs-lisp/generic.el (generic-font-lock-defaults):
5488         * emacs-lisp/chart.el (chart-map):
5489         * dos-fns.el (register-name-alist):
5490         * dired-x.el (dired-omit-files-p):
5491         * desktop.el (desktop-enable):
5492         * cus-edit.el (custom-mode-hook):
5493         * buff-menu.el (buffer-menu-mode-hook):
5494         * bookmark.el (bookmark-read-annotation-text-func)
5495         (bookmark-exit-hooks):
5496         * allout.el (allout-mode-deactivate-hook)
5497         (allout-exposure-change-hook, allout-structure-added-hook)
5498         (allout-structure-deleted-hook, allout-structure-shifted-hook):
5499         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5500         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5501         comes before the corresponding variable's definition.
5503 2012-05-12  Chong Yidong  <cyd@gnu.org>
5505         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
5506         (Buffer-menu-mouse-select): Restore function (Bug#11459).
5507         (Buffer-menu-mode-map): Bind it.
5508         (Buffer-menu--pretty-name): Add a mouse-face property.
5510 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5512         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
5513         (prolog-upper-case-string, prolog-lower-case-string)
5514         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5515         (prolog-use-smie, prolog-smie-grammar): New vars.
5516         (prolog-smie-forward-token, prolog-smie-backward-token)
5517         (prolog-smie-rules): New funs.
5518         (prolog-comment-indent): Remove.
5519         (prolog-mode-variables): Use default comment indentation instead.
5520         Setup SMIE.
5521         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5522         (prolog-mode): Don't call them any more.
5523         (prolog-electric-colon, prolog-electric-dash)
5524         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5526         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5528         * minibuffer.el (completion--twq-all): Again, allow case differences.
5530         * term.el: Move keymap initialization code to be more idiomatic.
5531         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5532         (term-terminal-menu): Move initialization into declaration.
5533         (term-escape-char): Let the user set it in her .emacs.
5535         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5536         Provide SMIE-based indentation (not enabled by default yet).
5537         (sh-mode-map): Don't bind electric keys.
5538         Use electric-pair-mode instead of skeleton-pair.
5539         (sh-assignment-regexp): Fit within 80 columns.
5540         (sh-indent-supported): Specify actual shell name instead of boolean.
5541         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5542         (sh-maybe-here-document): Use it.  Make obsolete.
5543         (sh-electric-here-document-mode) New minor mode.
5544         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
5545         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5546         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5547         (sh-smie-rc-grammar, sh-use-smie): New vars.
5548         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5549         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5550         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5551         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5552         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5553         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5554         (sh-set-shell): Use smie-setup if requested.
5556         * term.el (term-set-escape-char): Properly set term-escape-char.
5557         See http://stackoverflow.com/questions/10524656.
5559 2012-05-10  Chong Yidong  <cyd@gnu.org>
5561         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5562         Use url-generic-parse-url, and handle host names and Windows
5563         filenames properly.
5564         (ffap-url-unwrap-remote): Use url-generic-parse-url.
5565         (ffap-url-unwrap-remote): Accept list values, specifying a list of
5566         URL schemes to work on.
5567         (ffap--toggle-read-only): New function.
5568         (ffap-read-only, ffap-read-only-other-window)
5569         (ffap-read-only-other-frame): Use it.
5570         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5571         necessary for ffap-url-unwrap-remote.
5573 2012-05-10  Dave Abrahams  <dave@boostpro.com>
5575         * cus-start.el (create-lockfiles): Add it.
5577 2012-05-09  Chong Yidong  <cyd@gnu.org>
5579         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5580         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5582 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5584         * shell.el (shell-completion-vars): Fix last change (bug#11348).
5586 2012-05-09  Chong Yidong  <cyd@gnu.org>
5588         * ansi-color.el (ansi-color-process-output): Check for validity of
5589         comint-last-output-start before using it.  This avoids a bad
5590         interaction with gdb-mi's input/output buffer.
5592 2012-05-09  Glenn Morris  <rgm@gnu.org>
5594         * files.el (dir-locals-read-from-file):
5595         Mention dir-locals in any error message.
5597 2012-05-09  Chong Yidong  <cyd@gnu.org>
5599         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5600         package (Bug#11410).
5602         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5603         variables into description.
5605 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5607         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5608         shell-delimiter-argument-list (bug#11348).
5609         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5611 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
5613         * textmodes/rst.el: Silence byte-compiler warnings.
5614         (rst-re-alist, rst-reset-section-caches): Move around.
5615         (rst-re): Use `characterp', not `char-valid-p'.
5616         (font-lock-beg, font-lock-end): Declare.
5618         * progmodes/idlw-shell.el (specs): Remove reference to deleted
5619         variable `idlwave-shell-activate-alt-keybindings' and simplify.
5621         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5623 2012-05-08  Glenn Morris  <rgm@gnu.org>
5625         * files.el (auto-mode-alist): Treat ".make" like ".mk".
5627 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5629         * vc/log-edit.el: Add GNU coding standards highlighting.
5630         (log-edit-font-lock-gnu-style)
5631         (log-edit-font-lock-gnu-keywords): New vars.
5632         (log-edit-font-lock-keywords): New fun.
5633         (log-edit-mode): Don't fold case in font-lock.
5634         (log-edit-font-lock-keywords): Do not assume case-folding.
5636         * imenu.el: Misc cleanup.  Make docstrings out of comments.
5637         Use lexical-binding.
5638         (imenu--index-alist, imenu--last-menubar-index-alist)
5639         (imenu-menubar-modified-tick): Use defvar-local.
5640         (imenu--split-menu): Remove unused var.
5641         (imenu--cleanup-seen): Declare as global.
5642         (imenu--cleanup): Use dolist.
5644         * subr.el (defvar-local): Add debug spec and doc-string position.
5646 2012-05-08  Glenn Morris  <rgm@gnu.org>
5648         * language/burmese.el, language/cham.el, language/czech.el:
5649         * language/english.el, language/georgian.el, language/greek.el:
5650         * language/japanese.el, language/khmer.el, language/korean.el:
5651         * language/lao.el, language/misc-lang.el, language/romanian.el:
5652         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5653         * language/thai.el, language/utf-8-lang.el:
5654         Remove no-byte-compile setting.
5656         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
5658 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5660         * progmodes/make-mode.el (makefile-browse):
5661         Remove unnecessary interactive.  (Bug#11324)
5663 2012-05-07  Glenn Morris  <rgm@gnu.org>
5665         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5667         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5669 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5671         * loadup.el: Preload newcomment.el.
5672         * newcomment.el: Move autoload-only code to toplevel.
5674         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5675         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5676         Handle new :right-align column property.
5677         (tabulated-list-print-col): Idem, plus use `display' text-property to
5678         try and preserve alignment for variable pitch fonts.
5680 2012-05-07  Chong Yidong  <cyd@gnu.org>
5682         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5683         (tabulated-list-use-header-line): New var.
5684         (tabulated-list-init-header): Use it.
5685         (tabulated-list-print-fake-header): New function.
5686         (tabulated-list-print): Use it.
5687         (tabulated-list-sort-button-map): Add non-header-line commands.
5688         (tabulated-list-init-header): Add column name property to basic
5689         labels as well.
5690         (tabulated-list-col-sort): Handle non-header-line button case.
5691         (tabulated-list--sort-by-column-name): Fix a corner case.
5693         * buff-menu.el (list-buffers--refresh):
5694         Handle Buffer-menu-use-header-line.
5696 2012-05-06  Chong Yidong  <cyd@gnu.org>
5698         * buff-menu.el: Convert to Tabulated List mode.
5699         (Buffer-menu-buffer+size-width): Make obsolete.
5700         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5701         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5702         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
5703         documentation into docstring of buffer-menu.
5704         (Buffer-menu-toggle-files-only): Add an informative message.
5705         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5706         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5707         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5708         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5709         (Buffer-menu-execute, Buffer-menu-select)
5710         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5711         (Buffer-menu-bury): Use Tabulated List machinery.
5712         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5713         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
5714         Delete.
5715         (list-buffers--refresh): New function.
5716         (list-buffers-noselect): Use it.
5717         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5718         (Buffer-menu--pretty-file-name): New helper functions.
5720         * loadup.el: Preload tabulated-list.
5722         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5723         tabulated-list-sort-column.
5724         (tabulated-list-init-header): Add the initial aligning space even
5725         if tabulated-list-padding is zero.
5727 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
5729         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5730         whose cdr is not a cons cell correctly (bug#11038).
5732 2012-05-06  Chong Yidong  <cyd@gnu.org>
5734         * emacs-lisp/tabulated-list.el (tabulated-list-format):
5735         Accept additional plist in column descriptors.
5736         (tabulated-list-init-header): Obey it.
5737         (tabulated-list-get-entry): New function.
5738         (tabulated-list-put-tag): Use it.  Use string-width instead of
5739         length.
5740         (tabulated-list--column-number): New function.
5741         (tabulated-list-print): Use it.
5742         (tabulated-list-print-col): New function.
5743         Set `tabulated-list-column-name' property on each column's text.
5744         (tabulated-list-print-entry): Use it.
5745         (tabulated-list-delete-entry, tabulated-list-set-col):
5746         New functions.
5747         (tabulated-list-sort-column): New command (Bug#11337).
5749         * buff-menu.el (list-buffers): Move C-x C-b binding from
5750         buff-menu.el to bindings.el.
5752         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5753         :advertised-binding feature.
5755 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
5757         * progmodes/compile.el (compilation-internal-error-properties):
5758         Calculate start position correctly when end-col is set but
5759         end-line is not (Bug#11382).
5761 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
5763         * man.el (Man-unindent): Use text-property-default-nonsticky to
5764         prevent untabify from inheriting face properties (Bug#11408).
5766 2012-05-05  Stefan Merten  <smerten@oekonux.de>
5768         * textmodes/rst.el: Major merge with upstream development up to
5769         Docutils SVN r7399 / rst.el V1.2.1.
5771         Clarify maintainership and authors.
5773         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5774         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5775         (rst-official-version, rst-official-cvs-rev, rst-version)
5776         (rst-package-emacs-version-alist): New functions and variables
5777         for version information.
5779         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5780         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5781         (rst-mode-syntax-table, rst-mode): New and corrected functions
5782         and variables representing reStructuredText features.
5784         (rst-re): New function for reStructuredText regexes.  Use in
5785         many places.
5787         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5788         (rst-mode-map): Rebind keys.
5790         (rst-mode-lazy, rst-font-lock-keywords)
5791         (rst-font-lock-extend-region)
5792         (rst-font-lock-extend-region-internal)
5793         (rst-font-lock-extend-region-extend)
5794         (rst-font-lock-find-unindented-line-limit)
5795         (rst-font-lock-find-unindented-line-match)
5796         (rst-adornment-level, rst-font-lock-adornment-level)
5797         (rst-font-lock-adornment-match)
5798         (rst-font-lock-handle-adornment-pre-match-form)
5799         (rst-font-lock-handle-adornment-matcher): Major revision of
5800         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
5802         (rst-preferred-adornments, rst-adjust-hook)
5803         (rst-new-adornment-down, rst-preferred-bullets)
5804         (rst-preferred-bullets, rst-indent, rst-indent-width)
5805         (rst-indent-field, rst-indent-literal-normal)
5806         (rst-indent-literal-minimized, rst-indent-comment): Change,
5807         extend and improve customization.
5809         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5810         (rst-normalize-cursor-position, rst-get-decoration)
5811         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5812         (rst-rstrip, rst-toc-insert-find-delete-contents)
5813         (rst-shift-fill-region, rst-compute-bullet-tabs)
5814         (rst-debug-print-tabs, rst-debug-mark-found)
5815         (rst-shift-region-guts, rst-shift-region-right)
5816         (rst-shift-region-left, rst-use-char-classes)
5817         (rst-font-lock-keywords-function)
5818         (rst-font-lock-indentation-point)
5819         (rst-font-lock-find-unindented-line-begin)
5820         (rst-font-lock-find-unindented-line-end)
5821         (rst-font-lock-find-unindented-line)
5822         (rst-font-lock-adornment-point, rst-font-lock-level)
5823         (rst-adornment-level-alist): Remove functions and variables.
5825         (rst-compare-adornments, rst-get-adornment-match)
5826         (rst-suggest-new-adornment, rst-get-adornments-around)
5827         (rst-adornment-complete-p, rst-get-next-adornment)
5828         (rst-adjust-adornment, rst-display-adornments-hierarchy)
5829         (rst-straighten-adornments): Standardize function names to
5830         use "adornment" instead of "decoration".  Correct callers.
5831         Similar standardizing in many places.
5833         (rst-update-section, rst-adjust, rst-promote-region)
5834         (rst-enumerate-region, rst-bullet-list-region)
5835         (rst-repeat-last-character): Correct use of `interactive'.
5837         (rst-classify-adornment, rst-find-all-adornments)
5838         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5839         (rst-find-leftmost-column, rst-repeat-last-character):
5840         Refactor functions.
5842         (rst-find-title-line, rst-reset-section-caches)
5843         (rst-get-adornments-around, rst-adjust-adornment-work)
5844         (rst-arabic-to-roman, rst-roman-to-arabic)
5845         (rst-insert-list-pos, rst-insert-list-new-item)
5846         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5847         New functions.
5849         (rst-all-sections, rst-section-hierarchy)
5850         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5851         New variables.
5853         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5854         configuration instead of only buffer.  Change where necessary.
5856         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5857         (rst-shift-region, rst-adaptive-fill): New functions for
5858         indentation and filling.
5860         (rst-comment-line-break, rst-comment-indent)
5861         (rst-comment-insert-comment, rst-comment-region)
5862         (rst-uncomment-region): New functions for handling comments.
5864         (rst-compile): Quote shell arguments.
5866         (rst-compile-pdf-preview, rst-compile-slides-preview):
5867         Delete temporary files after use.
5869 2012-05-05  Glenn Morris  <rgm@gnu.org>
5871         * calendar/cal-html.el: Optionally include holidays in the output.
5872         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5873         (cal-html-holidays): New option.
5874         (cal-html-css-default): Add holiday entry.
5875         (holiday-in-range): Autoload it.
5876         (cal-html-htmlify-entry): Add optional class argument.
5877         (cal-html-htmlify-list): Add optional holidays argument.
5878         (cal-html-insert-agenda-days): Include holidays in the output.
5879         (cal-html-one-month): Maybe include holidays.
5881         * calendar/holidays.el (holiday-in-range):
5882         Move here from cal-tex-list-holidays.
5883         * calendar/cal-tex.el (cal-tex-list-holidays):
5884         Make it an obsolete alias for holiday-in-range.  Update all callers.
5886 2012-05-05  Chong Yidong  <cyd@gnu.org>
5888         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5889         Nextstep.
5891 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
5893         * files.el (file-auto-mode-skip): New var.
5894         (set-auto-mode-1): Use it.
5896 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5898         * repeat.el: Use lexical-binding.
5899         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5900         (repeat-undo-count): Remove.
5901         (repeat):
5902         * progmodes/octave-mod.el (octave-abbrev-start):
5903         * progmodes/f90.el (f90-abbrev-start):
5904         * face-remap.el (text-scale-adjust):
5905         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5907         * emacs-lisp/pcase.el (pcase--let*): New function.
5908         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5909         a bit more.
5910         (pcase--split-pred): Be more clever about ruling out overlap between
5911         a predicate and some constant pattern.
5912         (pcase--q1): Use `null' instead of (eq foo nil).
5914         * subr.el (setq-local, defvar-local): New macros.
5915         (kbd): Redefine as an alias.
5916         (with-selected-window): Leave unrelated frames alone.
5917         (set-temporary-overlay-map): New function.
5919 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5921         * subr.el (user-error): New function.
5922         * window.el (switch-to-buffer):
5923         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5924         (smerge-match-conflict):
5925         * simple.el (previous-matching-history-element)
5926         (next-matching-history-element, goto-history-element, undo-more)
5927         (undo-start):
5928         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5929         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5930         (next-file, tags-loop-scan, list-tags, complete-tag):
5931         * progmodes/compile.el (compilation-loop):
5932         * mouse.el (mouse-minibuffer-check):
5933         * man.el (Man-bgproc-sentinel, Man-goto-page):
5934         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5935         (Info-history-forward, Info-follow-reference, Info-menu)
5936         (Info-extract-menu-item, Info-extract-menu-counting)
5937         (Info-forward-node, Info-backward-node, Info-next-menu-item)
5938         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5939         (Info-next-reference, Info-prev-reference, Info-index)
5940         (Info-index-next, Info-follow-nearest-node)
5941         (Info-copy-current-node-name):
5942         * imenu.el (imenu--make-index-alist)
5943         (imenu-default-create-index-function, imenu-add-to-menubar):
5944         * files.el (basic-save-buffer, recover-file):
5945         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5946         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5947         (checkdoc-message-text, checkdoc-defun):
5948         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5949         * cus-edit.el (customize-changed-options, customize-rogue)
5950         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5951         (custom-variable-mark-to-reset-standard)
5952         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5953         (custom-file):
5954         * completion.el (check-completion-length):
5955         * comint.el (comint-search-arg)
5956         (comint-previous-matching-input-string-position)
5957         (comint-previous-matching-input)
5958         (comint-replace-by-expanded-history-before-point, comint-send-input)
5959         (comint-copy-old-input, comint-backward-matching-input)
5960         (comint-goto-process-mark, comint-set-process-mark):
5961         * calendar/calendar.el (calendar-cursor-to-date): Use it.
5962         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5964 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5966         * dabbrev.el (dabbrev--ignore-case-p): New function.
5967         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5968         Use it.
5970         * files.el (automount-dir-prefix): Mark as obsolete.
5972 2012-05-04  Glenn Morris  <rgm@gnu.org>
5974         * patcomp.el, play/bruce.el: Move to obsolete/.
5976 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
5978         Fix minor Y10k bugs.
5979         * arc-mode.el (archive-unixdate):
5980         * autoinsert.el (auto-insert-alist):
5981         * calc/calc-forms.el (math-this-year):
5982         * emacs-lisp/copyright.el (copyright-current-year)
5983         (copyright-update-year, copyright):
5984         * tar-mode.el (tar-clip-time-string):
5985         * time.el (display-time-update):
5986         Don't assume years have 4 digits.
5988 2012-05-04  Chong Yidong  <cyd@gnu.org>
5990         * dos-w32.el (file-name-buffer-file-type-alist)
5991         (direct-print-region-use-command-dot-com):
5992         * ffap.el (ffap-menu-regexp):
5993         * find-file.el (ff-special-constructs):
5994         * follow.el (follow-debug):
5995         * forms.el (forms--debug):
5996         * iswitchb.el (iswitchb-all-frames):
5997         * ido.el (ido-all-frames):
5998         * emacs-lisp/timer.el (timer-max-repeats):
5999         * mail/feedmail.el (feedmail-mail-send-hook)
6000         (feedmail-mail-send-hook-queued):
6001         * mail/footnote.el (footnote-signature-separator):
6002         * mail/mailabbrev.el (mail-alias-separator-string)
6003         (mail-abbrev-mode-regexp):
6004         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6005         * progmodes/idlwave.el (idlwave-libinfo-file)
6006         (idlwave-default-completion-case-is-down)
6007         (idlwave-library-routines): Convert defvars to defcustoms.
6009         * mail/rmail.el (rmail-decode-mime-charset):
6010         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6011         (idlwave-shell-fix-inserted-breaks)
6012         (idlwave-shell-activate-alt-keybindings)
6013         (idlwave-shell-use-breakpoint-glyph):
6014         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6016 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6018         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6020 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
6022         * progmodes/verilog-mode.el (font-lock-keywords):
6023         Fix mis-highligting auto.  Reported by Craig Barner.
6024         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6025         defines from global name space.  Reported by Dan Dever.
6026         (verilog-auto-reset, verilog-auto-reset-widths)
6027         (verilog-auto-tieoff): Support using unbased numbers for
6028         AUTORESET and AUTOTIEOFF.
6029         (verilog-submit-bug-report): Update variable list.
6030         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6031         parenthesis from not matching.  Reported by Michael Rytting.
6032         (verilog-auto-template-lint): Fix hash error when linting modules
6033         with no used templates.
6034         (verilog-warn, verilog-warn-error)
6035         (verilog-warn-fatal): When non-interactive report multiple
6036         warnings before exiting.  Suggested by Brad Dobbie.
6037         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6038         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6039         to report unused template errors.  Reported by Brad Dobbie.
6040         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6041         nets, bug438.  Reported by Vns Blore.
6042         (verilog-auto-inout-module, verilog-auto-reg)
6043         (verilog-read-decls, verilog-read-sub-decls-sig)
6044         (verilog-signals-edit-wire-reg, verilog-signals-with):
6045         Fix passing of Verilog data types in ANSI input/output ports
6046         such as "output logic" into the AUTOs.  Special case "wire" and
6047         "reg" for backwards compatibility presuming Verilog 2001.
6048         (verilog-auto-ascii-enum): Add "auto enum" as alias.
6049         (verilog-preprocess): Fix replication of preprocess output.
6050         Reported by Brad Dobbie.
6051         (verilog-auto-inst-interfaced-ports):
6052         Create verilog-auto-inst-interfaced-ports, bug429.
6053         Reported by Julian Gorfajn.
6054         (verilog-after-save-font-hook)
6055         (verilog-before-save-font-hook): New variable.
6056         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6057         (verilog-save-font-mods): Wrap disabling fontification, reported
6058         by David Rogoff.
6059         (verilog-do-indent, verilog-pretty-declarations-auto)
6060         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6061         Reported by Pierre-David Pfister.
6062         (verilog-set-auto-endcomments): Fix endtask auto comments outside
6063         of class declarations, bug292.  Reported by Kevin Heilman.
6064         (verilog-read-decls): Fix 'parameter type' not appearing in
6065         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
6066         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6067         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
6068         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6069         Reported by David Kravitz.
6071 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
6073         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6074         assignment with tests in ifs and for loops.
6075         (verilog-extended-complete-re, verilog-complete-reg): Change so
6076         that DPI inport functions don't look like fuction declarations.
6077         (verilog-pretty-expr): Don't line up assignment
6078         operations to the test and increment in if and for loops
6079         (verilog-extended-complete-re, verilog-complete-reg): Change so
6080         that DPI inport functions don't look like fuction declarations.
6082 2012-05-03  Kenichi Handa  <handa@m17n.org>
6084         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6085         decoding, and show a warning message without signaling an error
6086         (Bug#11282).
6088 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6090         * emacs-lisp/bytecomp.el
6091         (byte-compile-file-form-custom-declare-variable): Compile all elements,
6092         since cconv.el might have introduced :fun-body, internal-make-closure,
6093         and friends for bytecomp to handle (bug#11391).
6094         * custom.el (defcustom): Avoid ((λ ..) ..).
6096 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6098         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6100 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
6102         * notifications.el (dbus-debug):
6103         * term/linux.el (gpm-mouse-enable):
6104         * term/screen.el (xterm-register-default-colors): Declare.
6106 2012-05-02  Chong Yidong  <cyd@gnu.org>
6108         * cus-start.el (gc-cons-percentage, exec-suffixes)
6109         (dos-display-scancodes, dos-hyper-key, dos-super-key)
6110         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6111         (make-cursor-line-fully-visible, void-text-area-pointer)
6112         (font-list-limit): Add customization data.
6114         * allout.el (allout-exposure-change-functions)
6115         (allout-structure-added-functions)
6116         (allout-structure-deleted-functions)
6117         (allout-structure-shifted-functions): Rename abnormal hooks from
6118         *-hook, and convert to defcustoms.
6119         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6120         Convert to defcustoms.
6121         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6123         * allout-widgets.el: Hook callers changed.
6125 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
6127         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6128         the yanked message in preference to the default value of
6129         buffer-file-coding-system.
6131 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
6133         * window.el (display-buffer--action-function-custom-type):
6134         Fix entry.
6136 2012-05-02  Alan Mackenzie  <acm@muc.de>
6138         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6140 2012-05-01  Glenn Morris  <rgm@gnu.org>
6142         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6144         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
6146         * cus-edit.el (custom-variable-documentation): Simplify with format.
6148 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6149             Stefan Monnier  <monnier@iro.umontreal.ca>
6151         * simple.el (suggest-key-bindings, execute-extended-command):
6152         Move from keyboard.c.
6154 2012-05-01  Chong Yidong  <cyd@gnu.org>
6156         * follow.el: Eliminate advice.
6157         (set-process-filter, process-filter, sit-for): Advice deleted.
6158         (follow-mode-off-hook): Obsolete hook removed.
6159         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6160         Vars deleted.
6161         (follow-auto): Use a :set function.
6162         (follow-mode): Rewritten.  Don't advise process filters.
6163         (follow-switch-to-current-buffer-all, follow-scroll-up)
6164         (follow-scroll-down): Assume follow-mode is bound.
6165         (follow-comint-scroll-to-bottom)
6166         (follow-align-compilation-windows): New functions.
6167         (follow--window-sorter): New function.
6168         (follow-all-followers): Use it to explicitly sort windows by their
6169         positions; don't make assumptions about next-window order.
6170         (follow-windows-start-end, follow-delete-other-windows-and-split)
6171         (follow-calc-win-start): Doc fix.
6172         (follow-windows-aligned-p, follow-select-if-visible): Don't call
6173         vertical-motion unnecessarily.
6174         (follow-adjust-window): New function.
6175         (follow-post-command-hook): Use it.
6176         (follow-call-set-process-filter, follow-call-process-filter)
6177         (follow-intercept-process-output, follow-tidy-process-filter-alist)
6178         (follow-stop-intercept-process-output, follow-generic-filter):
6179         Functions deleted.
6180         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6181         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6182         New functions, replacing advice on scroll-bar-* commands.
6183         (follow-mwheel-scroll): New function (Bug#4112).
6185         * comint.el (comint-adjust-point): New function.
6186         (comint-postoutput-scroll-to-bottom): Use it.
6187         Call follow-comint-scroll-to-bottom for Follow mode buffers.
6189 2012-05-01  Glenn Morris  <rgm@gnu.org>
6191         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6192         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6193         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6194         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6195         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6196         Remove no-byte-compile setting.
6198 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6200         * minibuffer.el (completion-table-with-quoting): Fix compatibility
6201         all-completions code to not return a number in the last cdr.
6203 2012-04-30  Leo Liu  <sdl.web@gmail.com>
6205         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6206         read-only error.
6208 2012-04-29  Chong Yidong  <cyd@gnu.org>
6210         * follow.el (follow-calc-win-end): Rewrite to handle partial
6211         screen lines correctly (Bug#8390).
6212         (follow-avoid-tail-recenter): Minor cleanup.
6214 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6216         Avoid the obsolete `assoc' package.
6217         * speedbar.el (speedbar-refresh): Avoid adelete.
6218         (speedbar-file-lists): Simplify and avoid aput.
6219         * man.el (Man--sections, Man--refpages): New vars, replacing
6220         Man-sections-alist and Man-refpages-alist.
6221         (Man-build-section-alist, Man-build-references-alist):
6222         Use them; avoid aput.
6223         (Man--last-section, Man--last-refpage): New vars.
6224         (Man-follow-manual-reference): Use them.
6225         Use the `default' arg of completing-read.
6226         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
6228 2012-04-27  Chong Yidong  <cyd@gnu.org>
6230         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6232         * startup.el (x-apply-session-resources): New function.
6234         * term/ns-win.el (ns-initialize-window-system):
6235         * term/w32-win.el (w32-initialize-window-system):
6236         * term/x-win.el (x-initialize-window-system): Use it to properly
6237         set menu-bar-mode and other vars from X resources, even if the
6238         initial frame is not a window-system frame (Bug#2299).
6240         * subr.el (read-key): Avoid running filter function when setting
6241         up temporary tool bar entries (Bug#9922).
6243 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
6245         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6246         (Bug#11344)
6248 2012-04-27  Chong Yidong  <cyd@gnu.org>
6250         * select.el (xselect--encode-string): New function, split from
6251         xselect-convert-to-string.
6252         (xselect-convert-to-string): Use it.
6253         (xselect-convert-to-filename, xselect-convert-to-os)
6254         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6255         returned strings are properly encoded (Bug#11315).
6257 2012-04-27  Chong Yidong  <cyd@gnu.org>
6259         * simple.el (delete-active-region): Move to killing custom group.
6261 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
6263         * progmodes/which-func.el (which-func-current): Quote %
6264         characters for mode-line processing.
6266 2012-04-27  Chong Yidong  <cyd@gnu.org>
6268         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6269         reaching eob (Bug#11286).
6271 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
6273         * progmodes/gdb-mi.el (gdb-control-level): New variable.
6274         (gdb): Make it buffer-local and init to zero.
6275         (gdb-control-commands-regexp): New variable.
6276         (gdb-send): Don't wrap in "-interpreter-exec console" if
6277         gdb-control-level is positive.  Increment gdb-control-level
6278         whenever the command matches gdb-control-commands-regexp, and
6279         decrement it each time the command is "end".  (Bug#11279)
6281 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
6283         * window.el (adjust-window-trailing-edge, enlarge-window)
6284         (shrink-window, window-resize):
6285         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6286         windows (Bug#11276).
6288 2012-04-27  Chong Yidong  <cyd@gnu.org>
6290         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6291         fix "missing prefix" warning.  All callers changed.
6293 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6295         * emacs-lisp/assoc.el: Move to obsolete/.
6297 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6299         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6301         * term/ns-win.el (ns-define-service):
6302         * progmodes/pascal.el (pascal-goto-defun):
6303         * progmodes/js.el (js--read-tab):
6304         * progmodes/etags.el (tags-lazy-completion-table):
6305         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6306         * emacs-lisp/ewoc.el (ewoc--wrap):
6307         * emacs-lisp/assoc.el (aput, adelete, amake):
6308         * doc-view.el (doc-view-convert-current-doc):
6309         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6311 2012-04-26  Chong Yidong  <cyd@gnu.org>
6313         * image.el (image-type-from-buffer): Only return supported image
6314         type (Bug#9045).
6316         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6317         value, for symmetry with diff-end-of-hunk.
6318         (diff-split-hunk, diff-find-source-location)
6319         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6320         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6321         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6322         compute the relevant hunk or file properly (Bug#6005).
6323         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6325 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6327         * vc/vc-mtn.el:
6328         * vc/vc-hg.el:
6329         * vc/vc-git.el:
6330         * vc/vc-dir.el:
6331         * vc/vc-cvs.el:
6332         * vc/vc-bzr.el:
6333         * vc/vc-arch.el:
6334         * vc/vc.el: Replace lexical-let by lexical-binding.
6335         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6336         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6337         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6339 2012-04-26  Chong Yidong  <cyd@gnu.org>
6341         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6342         (diff-mode-shared-map): Bind it to / and [remap undo].
6344         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6345         (ediff-window-setup-function): Use it as the default, to set up
6346         windows based on whether the current frame is graphical (Bug#2138).
6347         (ediff-choose-window-setup-function-automatically): Make obsolete.
6349         * vc/ediff-init.el: Always define ediff-pixel-width/height.
6351 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6353         * ffap.el: Remove old code for obsolete package.
6354         (ffap-complete-as-file-p): Remove.
6356         Use completion-table-with-quoting for comint and pcomplete.
6357         * comint.el (comint--unquote&requote-argument)
6358         (comint--unquote-argument, comint--requote-argument): New functions.
6359         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6360         (comint-quote-filename): Use regexp-opt-charset.
6361         (comint--common-suffix, comint--common-quoted-suffix)
6362         (comint--table-subvert): Remove.
6363         (comint-unquote-function, comint-requote-function): New vars.
6364         (comint--complete-file-name-data): Use them with
6365         completion-table-with-quoting.
6366         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6367         * pcomplete.el (pcomplete-arg-quote-list)
6368         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6369         (pcomplete-unquote-argument-function): Default to non-nil.
6370         (pcomplete-unquote-argument): Simplify.
6371         (pcomplete--common-quoted-suffix): Remove.
6372         (pcomplete-requote-argument-function): New var.
6373         (pcomplete--common-suffix): New function.
6374         (pcomplete-completions-at-point): Use completion-table-with-quoting
6375         and completion-table-subvert.
6377         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6378         (minibuffer--double-dollars): Preserve properties.
6379         (completion--sifn-requote): New function.
6380         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6382         * minibuffer.el: Add support for completion of quoted/escaped data.
6383         (completion-table-with-quoting, completion-table-subvert): New funs.
6384         (completion--twq-try, completion--twq-all): New functions.
6385         (completion--nth-completion): New function.
6386         (completion-try-completion, completion-all-completions): Use it.
6388 2012-04-25  Leo Liu  <sdl.web@gmail.com>
6390         * progmodes/python.el (python-pdbtrack-get-source-buffer):
6391         Use compilation-message if available to find real filename.
6393 2012-04-25  Chong Yidong  <cyd@gnu.org>
6395         * vc/diff-mode.el (diff-setup-whitespace): New function.
6396         (diff-mode): Use it.
6398         * vc/diff.el (diff-sentinel):
6399         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6400         Whitespace mode variables based on diff style (Bug#8612).
6402 2012-04-25  Leo Liu  <sdl.web@gmail.com>
6404         * progmodes/python.el (python-send-region): Add suffix .py to the
6405         temp file.
6407         * files.el (auto-mode-alist): Use javascript-mode instead.
6409 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
6411         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
6413         * net/soap-client.el (soap-resolve-references-for-sequence-type)
6414         (soap-resolve-references-for-array-type): Hack to prevent self
6415         references, see Bug#9.
6416         (soap-parse-envelope): Report the contents of the 'detail' node
6417         when receiving a fault reply.
6418         (soap-parse-envelope): Report the contents of the entire 'detail' node.
6420         * net/soap-inspect.el (soap-sample-value-for-simple-type)
6421         (soap-inspect-simple-type): New function.
6423         * net/soap-client.el (soap-simple-type): New struct.
6424         (soap-default-xsd-types, soap-default-soapenc-types)
6425         (soap-decode-basic-type, soap-encode-basic-type):
6426         support unsignedInt and double basic types.
6427         (soap-resolve-references-for-simple-type)
6428         (soap-parse-simple-type, soap-encode-simple-type): New function.
6429         (soap-parse-schema): Parse xsd:simpleType declarations.
6431         * net/soap-client.el (soap-default-xsd-types)
6432         (soap-default-soapenc-types): Add integer, byte and anyURI types.
6433         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6434         the local name of "soapenc:Array".
6435         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
6436         decoding integer, byte and anyURI xsd types.
6438 2012-04-25  Chong Yidong  <cyd@gnu.org>
6440         * cus-edit.el (custom-buffer-create-internal): Update header text.
6442 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
6444         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6445         settings on 'system-type', not on 'window-system'.  On MS-Windows,
6446         set interactive-mode on in GDB.
6448 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6450         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6451         (ruby-syntax-propertize-regexp): Remove.
6452         (ruby-syntax-propertize-function): Split regexp into chunks.
6453         Match following code directly.
6455 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
6457         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6458         (ruby-syntax-propertize-regexp): New function.
6459         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6460         by a special keyword.
6462         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6463         (ruby-syntax-general-delimiters-goto-beg)
6464         (ruby-syntax-propertize-general-delimiters): New functions.
6465         (ruby-syntax-propertize-function): Use them to handle GDL.
6466         (ruby-font-lock-keywords): Move old handling of GDL...
6467         (ruby-font-lock-syntactic-keywords): .. to here.
6468         (ruby-calculate-indent): Adjust indentation for GDL.
6470 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
6472         * notifications.el (top): Remove unneeded declarations.
6473         (notifications-specification-version): Change to "1.2".
6474         (notifications-interface, notifications-notify-method)
6475         (notifications-close-notification-method): Fix docstring.
6476         (notifications-get-capabilities-method): New defconst.
6477         (notifications-notify): Add :action-items, :resident and
6478         :transient hints.  Change "image_data" to "image-data" and
6479         "image_path" to "image-path".
6480         (notifications-get-capabilities): New defun.
6482 2012-04-24  Leo Liu  <sdl.web@gmail.com>
6484         * progmodes/python.el: Move hideshow setup to the end.
6486 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
6488         * window.el (handle-select-window): Clear echo area since this is
6489         no more done by read_char (Bug#11304).
6491 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6493         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6494         and `/ M' to filter-derived-mode.
6495         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6496         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6497         (ibuffer-mark-by-mode): Use default rather than initial-input.
6498         (ibuffer-filter-by-derived-mode): Autoload and require-match.
6500 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
6502         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6503         (ibuffer-filter-by-derived-mode): New filter.
6504         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6506 2012-04-23  Andreas Politz  <politza@fh-trier.de>
6508         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6510 2012-04-23  Chong Yidong  <cyd@gnu.org>
6512         * cus-edit.el (customize-apropos, customize-apropos-options):
6513         Disable matching of non-option variables (Bug#11176).
6514         (customize-option, customize-option-other-window)
6515         (customize-changed-options): Doc fix.
6516         (customize-apropos-options, customize-apropos-faces)
6517         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6519         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
6520         Fix word list splitting (Bug#11132).
6521         (apropos-symbol, apropos-keybinding, apropos-label)
6522         (apropos-property, apropos-function-button)
6523         (apropos-variable-button, apropos-misc-button): New faces.
6524         (apropos-symbol-face, apropos-keybinding-face)
6525         (apropos-label-face, apropos-property-face, apropos-match-face):
6526         Variables removed (Bug#8396).
6527         (apropos-library-button, apropos-format-plist, apropos-print)
6528         (apropos-print-doc, apropos-describe-plist): Callers changed.
6530 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
6532         * net/xesam.el (xesam-mode-map): Use let-bound map in
6533         initialization.  (Bug#11292)
6535 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6537         Preserve ispell session localwords when switching back to
6538         original buffer.
6540         * textmodes/ispell.el (ispell-buffer-session-localwords):
6541         New buffer-local variable to hold buffer session localwords.
6542         (ispell-kill-ispell): Add option 'clear to delete session
6543         localwords.
6544         (ispell-command-loop, ispell-change-dictionary)
6545         (ispell-buffer-local-words): Preserve session localwords when
6546         needed.
6548         * textmodes/flyspell.el (flyspell-process-localwords)
6549         (flyspell-do-correct): Preserve session localwords when needed.
6551 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6553         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6554         using obsolete `translation-table-for-input'.
6555         (ispell-word, ispell-process-line, ispell-complete-word):
6556         Use plain `insert' instead of removed `ispell-insert-word'.
6558 2012-04-22  Chong Yidong  <cyd@gnu.org>
6560         * cus-edit.el (custom-variable-menu)
6561         (custom-variable-reset-saved, custom-face-menu)
6562         (custom-face-reset-saved): If there is no saved value, make the
6563         "reset-saved" operation bring back the default (Bug#9509).
6564         (custom-face-state): Properly detect themed faces.
6566         * faces.el (face-spec-set): Stop supporting deprecated form of
6567         third arg.
6569 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
6571         Move functions from C to Lisp.  Make non-blocking method calls
6572         the default.  Implement further D-Bus standard interfaces.
6574         * net/dbus.el (dbus-message-internal): Declare function.
6575         Remove unneeded function declarations.
6576         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6577         (dbus-message-type-method-return, dbus-message-type-error)
6578         (dbus-message-type-signal): Declare variables.  Remove local
6579         definitions.
6580         (dbus-interface-dbus, dbus-interface-peer)
6581         (dbus-interface-introspectable, dbus-interface-properties)
6582         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6583         Adapt docstring.
6584         (dbus-interface-objectmanager): New defconst.
6585         (dbus-call-method, dbus-call-method-asynchronously)
6586         (dbus-send-signal, dbus-method-return-internal)
6587         (dbus-method-error-internal, dbus-register-service)
6588         (dbus-register-signal, dbus-register-method): New defuns, moved
6589         from dbusbind.c
6590         (dbus-call-method-handler, dbus-setenv)
6591         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6592         New defuns.
6593         (dbus-call-method-non-blocking): Make it an obsolete function.
6594         (dbus-unregister-object, dbus-unregister-service)
6595         (dbus-handle-event, dbus-register-property)
6596         (dbus-property-handler): Obey the new structure of
6597         `bus-registered-objects'.
6598         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
6599         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6600         Use `dbus-call-method'.
6602 2012-04-22  Chong Yidong  <cyd@gnu.org>
6604         * cus-edit.el (custom-commands, custom-reset-menu)
6605         (Custom-reset-standard): Tweak labels.
6606         (custom-reset-button-menu): Change default to t.
6607         (custom-buffer-create-internal): For the custom-reset-button-menu
6608         case, put the revert button first.
6609         (custom-group-subtitle): New face.
6610         (custom-group-value-create): Align docstring to a specific column.
6612         * wid-edit.el (widget-documentation-link-add): Don't handle
6613         indentation in this function.
6614         (widget-documentation-string-indent-to): New function.
6615         (widget-documentation-string-value-create): Use it.
6617         * autorevert.el (auto-revert):
6618         * epg-config.el (epg):
6619         * ibuffer.el (ibuffer):
6620         * mpc.el (mpc):
6621         * ses.el (ses):
6622         * eshell/eshell.el (eshell):
6623         * net/ange-ftp.el (ange-ftp):
6624         * progmodes/ebnf2ps.el (postscript):
6625         * progmodes/flymake.el (flymake):
6626         * progmodes/prolog.el (prolog):
6627         * progmodes/verilog-mode.el (verilog-mode):
6628         * progmodes/which-func.el (which-func):
6629         * term/xterm.el (xterm):
6630         * textmodes/picture.el (picture):
6631         * textmodes/tildify.el (tildify):
6632         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6633         customization buffers.
6635 2012-04-22  Alan Mackenzie  <acm@muc.de>
6637         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6638         Adding a ) can hide the resulting (..) from searches.  Fix it.
6639         Bound the backward search to the position of the existing (.
6641 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
6643         * progmodes/verilog-mode.el (verilog-mode): Check whether
6644         which-func-modes is t before adding verilog-mode.
6645         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6647 2012-04-21  Leo Liu  <sdl.web@gmail.com>
6649         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
6651 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
6653         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6654         filling of the last column of a table (Bug#5635).
6655         (woman-find-next-control-line): New arg, specifying an additional
6656         regexp component for the control line.
6657         (woman2-roff-buffer): Use it.
6658         (woman-break-table): New function.
6659         (woman2-TS): Use it.
6661 2012-04-21  Chong Yidong  <cyd@gnu.org>
6663         * woman.el (woman-set-buffer-display-table, woman-decode-region)
6664         (woman-horizontal-escapes, woman-negative-vertical-space)
6665         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6666         (WoMan-warn-ignored): Use ?\s instead of ?\ .
6668 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6670         * minibuffer.el (completion-file-name-table): Complete user names.
6672 2012-04-20  Leo Liu  <sdl.web@gmail.com>
6674         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6675         and pcase-let*.
6677 2012-04-20  Chong Yidong  <cyd@gnu.org>
6679         * server.el (server-execute): Respect initial-buffer-choice if it
6680         is a string and there are no files to open (Bug#2825).
6681         (server-create-window-system-frame, server-create-tty-frame):
6682         Don't switch buffers here.
6683         (server-process-filter): Only try to open a window system frame if
6684         compiled with graphical support (Bug#8314).
6686 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
6688         * battery.el (battery-echo-area-format): Display remaining time
6689         for sysfs backend too (Bug#11269).
6690         (battery-linux-sysfs): Fix conditional for the charge.
6692 2012-04-20  Chong Yidong  <cyd@gnu.org>
6694         * progmodes/gdb-mi.el (gdb): Revert previous change.
6695         (gdb-inferior-io--init-proc): New function.
6696         (gdb-init-1): Use it.
6697         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6698         responsible for allocating a new pty and hooking it to gdb when
6699         the old pty gets an EIO due to process exit.
6700         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
6701         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6702         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6704 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
6706         * window.el (window-min-size, window-sizable, window-min-delta)
6707         (window-max-delta, window--resizable, window-resizable)
6708         (window-total-size, window-full-height-p, window-full-width-p)
6709         (window-in-direction, window--resize-mini-window, window-resize)
6710         (window--resize-child-windows-normal)
6711         (window--resize-child-windows, window--resize-siblings)
6712         (window--resize-this-window, adjust-window-trailing-edge)
6713         (enlarge-window, shrink-window): Doc fixes.
6715 2012-04-20  Chong Yidong  <cyd@gnu.org>
6717         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6718         New function to call delete-process on the gdb-inferior buffer's pty.
6719         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6720         pty process (Bug#11273).
6721         (gdb-update): New arg to suppress talking to the gdb process.
6722         (gdb-done-or-error): Use it.
6723         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6724         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6725         sentinel not being called.
6727         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6729         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6731 2012-04-20  Glenn Morris  <rgm@gnu.org>
6733         * net/network-stream.el (open-network-stream): Doc fix.
6735 2012-04-20  Chong Yidong  <cyd@gnu.org>
6737         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6739 2012-04-20  Alan Mackenzie  <acm@muc.de>
6741         Ensure searching for keywords is case sensitive.
6743         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6744         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6745         (c-defun-name, c-mark-function, c-cpp-define-name)
6746         (c-comment-indent, c-scan-conditionals, c-indent-defun)
6747         (c-context-line-break): Bind case-fold-search to nil.
6749         * progmodes/cc-mode.el (c-font-lock-fontify-region):
6750         Bind case-fold-search to nil.
6752 2012-04-20  Chong Yidong  <cyd@gnu.org>
6754         * mail/sendmail.el (mail-bury): Call return action with the right
6755         Rmail buffer (Bug#11242).
6757         * server.el (server-process-filter): Handle corner case where both
6758         tty and nowait options are present (Bug#11102).
6760 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
6762         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6763         (top level): Put into the executable the ident-style '$Id:' tag on
6764         windows-nt as well.
6766 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6768         * electric.el (electric-indent-post-self-insert-function): Check that
6769         electric-indent-mode is enabled in current buffer.
6771 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
6773         * imenu.el (imenu-progress-message): Restore; it is "used" in
6774         erc/erc-imenu.el and net/snmp-mode.el.
6776 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
6778         * avoid.el (mouse-avoidance-mode): Mark unused arg.
6779         (mouse-avoidance-nudge-mouse): Remove unused binding.
6781         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6783         * descr-text.el (describe-char):
6784         * progmodes/python.el (python-describe-symbol):
6785         Don't call `toggle-read-only', set `buffer-read-only'.
6787         * imenu.el (imenu-default-goto-function): Mark unused args.
6788         (imenu-progress-message): Remove obsolete macro; all callers changed.
6790         * subr.el (keymap-canonicalize): Remove unused binding.
6791         (read-passwd): Mark unused arg.
6793         * tutorial.el (tutorial--display-changes): Remove unused binding.
6794         (tutorial--save-tutorial-to): Remove unused variable.
6796         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6797         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6798         (package-generate-autoloads, package-menu--generate)
6799         (package-menu--find-upgrades): Remove unused bindings.
6801         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6802         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
6803         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6804         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6805         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6806         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6807         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6808         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6809         (cua-delete-char-rectangle): Mark unused args.
6810         (cua-align-rectangle): Remove unused binding.
6812         * mail/rmail.el (compilation--message->loc)
6813         (epa--find-coding-system-for-mime-charset): Declare.
6815         * net/dbus.el (dbus-register-service): Declare.
6816         (dbus-name-owner-changed-handler): Remove unused binding.
6818         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6819         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6820         (nxml-scan-backward-within): Mark unused arg.
6821         (nxml-dynamic-markup-word): Remove unused binding.
6823         * mouse.el (mouse-menu-major-mode-map):
6824         * emacs-lisp/authors.el (authors-scan-change-log)
6825         (authors-add-to-author-list):
6826         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6827         * emacs-lisp/smie.el (smie-auto-fill):
6828         * mail/sendmail.el (mail-bury):
6829         * mail/unrmail.el (unrmail):
6830         * net/tls.el (open-tls-stream):
6831         * textmodes/picture.el (picture-mouse-set-point):
6832         Remove unused bindings.
6834 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
6836         * net/tramp.el (tramp-action-password): Let-bind
6837         `enable-recursive-minibuffers' to t.
6839 2012-04-18  Sam Steingold  <sds@gnu.org>
6841         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6842         instead of 'string to accommodate values like [f11].
6843         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6844         * progmodes/gdb-mi.el: Likewise.
6846 2012-04-18  Leo Liu  <sdl.web@gmail.com>
6848         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6849         current buffer.
6850         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6851         LOCAL is nil.
6853 2012-04-18  Chong Yidong  <cyd@gnu.org>
6855         * simple.el (line-move): Use forward-line if in batch mode
6856         (Bug#11053).
6858 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
6860         * files.el (after-find-file): Do not try to add a final newline if
6861         the buffer is read-only (Bug#11156).
6863 2012-04-17  Richard Stallman  <rms@gnu.org>
6865         * mail/rmail.el (rmail-start-mail):
6866         Pass (rmail-mail-return...) for the return-action.
6867         Pass (rmail-yank-current-message...) for the yank-action.
6868         (rmail-yank-current-message): New function.
6869         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6870         (rmail-reply): Likewise.
6871         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6873         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
6874         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
6875         buffer, not newbuf.
6877 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
6879         * server.el (server-ensure-safe-dir): Simplify.
6881 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6883         * emacs-lisp/smie.el: Provide smarter auto-filling.
6884         (smie-auto-fill): New function.
6885         (smie-setup): Use it.
6887         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6889 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
6891         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6892         (comment-indent): Use it.
6894 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6896         * ses.el: The overall change is to add cell renaming, that is
6897         setting fancy names for cell symbols other than name matching
6898         "\\`[A-Z]+[0-9]+\\'" regexp .
6899         (ses-localvars): Add ses--renamed-cell-symb-list.
6900         (ses-create-cell-variable): New defun.
6901         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
6902         (ses-relocate-formula): Relocate formulas only for cells the
6903         symbols of which are not renamed, i.e. symbols whose names do not
6904         match regexp "\\`[A-Z]+[0-9]+\\'".
6905         (ses-relocate-all): Relocate values only for cells the symbols of
6906         which are not renamed.
6907         (ses-load): Create cells variables as the (ses-cell ...) are read,
6908         in order to check row col consistency with cell symbol name only
6909         for cells that are not renamed.
6910         (ses-replace-name-in-formula): New defun.
6911         (ses-rename-cell): New defun.
6913 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
6915         * progmodes/perl-mode.el (perl-indent-parens-as-block):
6916         New option (bug#11118).
6917         (perl-calculate-indent): Respect it.
6919 2012-04-17  Glenn Morris  <rgm@gnu.org>
6921         * dired-aux.el (dired-mark-read-string): Doc fix.
6923 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
6925         * dired-aux.el (dired-mark-read-string): Offer optional completion.
6926         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
6928 2012-04-17  Glenn Morris  <rgm@gnu.org>
6930         * mouse.el (mouse-drag-track):
6931         * speedbar.el (speedbar-frame-mode):
6932         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6934 2012-04-16  Leo Liu  <sdl.web@gmail.com>
6936         * progmodes/python.el: Trivial cleanup.
6938 2012-04-16  Glenn Morris  <rgm@gnu.org>
6940         * vc/vc.el (vc-string-prefix-p):
6941         * vc/pcvs-util.el (cvs-string-prefix-p):
6942         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6943         * mpc.el (mpc-string-prefix-p):
6944         Make all of these into obsolete aliases for string-prefix-p.
6945         Update callers.
6946         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6948         * textmodes/two-column.el: Move custom options to the start.
6949         (frame-width): Remove compat definition.
6950         (2C-associate-buffer, 2C-dissociate):
6951         Use with-current-buffer rather than save-excursion.
6952         (2C-dissociate): Force a mode-line update.
6953         (2C-autoscroll): Use ignore-errors.
6955         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6956         Autoload trivia.
6958         * emacs-lisp/cl-extra.el (*random-state*):
6959         Remove unnecessary declaration.
6961         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6963         * play/cookie1.el (cookie-snarf):
6964         Give an explicit error if input file cannot be read.
6966         * play/yow.el (yow-file): Use expand-file-name rather than concat.
6968         * progmodes/perl-mode.el (c-macro-expand):
6969         Remove unnecessary autoload (it is in loaddefs.el).
6971         * textmodes/picture.el (picture-desired-column)
6972         (picture-update-desired-column): Convert comments to doc-strings.
6973         (picture-substitute): Remove function.
6974         (picture-mode-map): Initialize in the defvar.
6976         * woman.el: Remove eval-after-load for tar-mode.
6977         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6978         (woman-tar-extract-file): Autoload it.
6980         * frame.el (automatic-hscrolling): Make this alias obsolete.
6982 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6984         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
6985         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
6986         (ispell-dictionary-base-alist): Revert to original XEmacs
6987         friendly version for default.  [:alpha:] will be added in
6988         `ispell-set-spellchecker-params' if needed.
6990 2012-04-16  Chong Yidong  <cyd@gnu.org>
6992         * image.el (imagemagick--file-regexp): New variable.
6993         (imagemagick-register-types): Use it.
6994         (imagemagick-types-inhibit): Add :set function.  Allow new value
6995         of t to inhibit all types.
6997         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6998         so we can preload it.
7000         * loadup.el (fboundp): Preload regexp-opt, needed by
7001         imagemagick-register-types.
7003 2012-04-15  Chong Yidong  <cyd@gnu.org>
7005         * frame.el (scrolling): Remove nearly unused customization group.
7007         * scroll-all.el (scroll-all-mode): Move to windows group.
7009 2012-04-15  Chong Yidong  <cyd@gnu.org>
7011         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7013 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7015         Avoid the use of ((lambda ...) ...) in lexical-binding code.
7016         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7018 2012-04-15  Glenn Morris  <rgm@gnu.org>
7020         * simple.el (process-file-side-effects): Doc fix.
7022 2012-04-15  Glenn Morris  <rgm@gnu.org>
7024         * international/mule-cmds.el (set-language-environment): Doc fix.
7026 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
7028         * server.el (server-auth-key, server-generate-key): Doc fixes.
7029         (server-get-auth-key): Doc fix.  Use `string-match-p'.
7030         (server-start): Reflow docstring.
7032 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
7034         * server.el (server-generate-key): `called-interactively-p'
7035         requires a parameter.
7037 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
7039         * server.el (server-auth-key): New variable.
7040         (server-generate-key, server-get-auth-key): New function.
7041         (server-start): Use the new variable and functions to allow
7042         setting a permanent server key (bug#9423).
7044 2012-04-14  Leo Liu  <sdl.web@gmail.com>
7046         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7048 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
7050         Spelling fixes.
7051         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7052         Emacs uses American spelling.
7054 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
7056         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7057         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
7058         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7059         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
7061 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7063         * progmodes/which-func.el (which-func-modes): Change default.
7065 2012-04-14  Kim F. Storm  <storm@cua.dk>
7067         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7068         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7070 2012-04-14  Chong Yidong  <cyd@gnu.org>
7072         * custom.el (custom-theme-set-variables): Doc fix.
7074 2012-04-14  Glenn Morris  <rgm@gnu.org>
7076         * international/mule.el (set-auto-coding-for-load): Doc fix.
7078 2012-04-14  Alan Mackenzie  <acm@muc.de>
7080         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7081         imenu work again for Objective C Mode.  Correct the *-index values,
7082         these having been disturbed by a previous change in 2011-08.
7084         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7085         Correct two search limits.
7087 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7089         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7091 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
7093         * international/characters.el: Fix sorting.
7095 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7097         * international/characters.el: Add more missing Latin case pairs.
7099 2012-04-14  Glenn Morris  <rgm@gnu.org>
7101         * files.el (dir-locals-set-class-variables): Doc fix.
7103 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7105         * international/characters.el: Add set-case-syntax-pair call for
7106         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7107         counterpart.  (Bug#11209)
7109         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
7111 2012-04-14  Glenn Morris  <rgm@gnu.org>
7113         * calendar/holidays.el (calendar-check-holidays): Doc fix.
7115 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7117         * textmodes/ispell.el (ispell-dictionary-base-alist):
7118         Add data for Hebrew.
7120 2012-04-14  Chong Yidong  <cyd@gnu.org>
7122         * net/rcirc.el (rcirc-cmd-quit):
7123         Revert 2012-03-18 change (Bug#11192).
7125 2012-04-14  Glenn Morris  <rgm@gnu.org>
7127         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7129 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7131         * minibuffer.el (completion-in-region-mode-map):
7132         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
7134 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
7136         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7138 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
7140         * minibuffer.el (minibuffer-local-filename-syntax): New variable
7141         to allow `C-M-f' and `C-M-b' to move to the nearest path
7142         separator (bug#9511).
7144 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
7146         * avoid.el: Require cl when compiling.  And also move the
7147         `provide' to the end.
7149 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7151         * avoid.el (mouse-avoidance-banish-position): New variable.
7152         (mouse-avoidance-banish-destination): Use it (bug#10165).
7154 2012-04-13  Leo Liu  <sdl.web@gmail.com>
7156         * progmodes/which-func.el (which-func-modes): Add objc-mode.
7158 2012-04-13  Ken Brown  <kbrown@cornell.edu>
7160         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7161         this is no longer needed now that cygstart understands file:// URLs.
7162         (browse-url-filename-alist): For the same reason, don't modify
7163         file:// URLs on Cygwin.
7165 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7167         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7168         the region on shift if the binding is already shifted (bug#11221).
7170 2012-04-12  Glenn Morris  <rgm@gnu.org>
7172         * mail/mailpost.el: Move to obsolete/.
7174 2012-04-12  Drew Adams  <drew.adams@oracle.com>
7176         * imenu.el (imenu--generic-function): Ignore invisible definitions
7177         (bug#10123).
7179 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
7181         * hexl.el (hexl-bits): New variable.
7182         (hexl-options): Mention the variable in the doc string.
7183         (hexl-rulerise, hexl-line-displen): New functions.
7184         (hexl-mode): Mention the new variable.
7185         (hexl-mode, hexl-current-address, hexl-current-address):
7186         Use the displen.
7187         (hexl-ascii-start-column): New function.
7188         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7189         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7191 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7193         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7194         '("-i" ENCODING), in 2 separate command-line arguments, to specify
7195         the encoding, as expected by hunspell.
7197 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7199         * battery.el (battery--linux-sysfs-regexp): New const.
7200         (battery-status-function): Use it.  Remove yeeloong special case.
7201         (battery-yeeloong-sysfs): Remove.
7202         (battery-echo-area-format): Remove yeeloong special case.
7204 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7206         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7207         Reported by Noah Friedman.
7209         * subr.el (read-passwd): Use read-string.
7211 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7213         * vcursor.el (vcursor-move): Increase the priority of the overlay
7214         (bug#9663).
7216 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7218         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7219         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7221 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
7223         * textmodes/artist.el (artist-mode): Convert artist-mode to use
7224         define-minor-mode (bug#10760).
7226 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
7228         * progmodes/grep.el (rgrep): Tweak the find command line so
7229         that directories matching `grep-find-ignored-files' won't be
7230         pruned (bug#10351).
7232 2012-04-11  Chong Yidong  <cyd@gnu.org>
7234         * startup.el (command-line): Remove support for long-obsolete
7235         variable font-lock-face-attributes.
7237 2012-04-11  Glenn Morris  <rgm@gnu.org>
7239         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7241 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7243         * window.el (window--state-get-1): Obey window-point-insertion-type.
7245 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
7247         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7248         to previous function when point is on the first character of a
7249         function.  Take care of that in `narrow-to-defun' (bug#6157).
7251 2012-04-11  Glenn Morris  <rgm@gnu.org>
7253         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7254         not just file-errors.
7256         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7257         (vc-bzr-sha1): Use internal sha1.
7259 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7261         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7263 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
7265         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7266         that start in the middle of the line (bug#10496).
7268 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
7270         * battery.el (battery-linux-proc-acpi): Only one battery is
7271         discharged at a time, but that seems to confuse battery.el when
7272         computing `rate-type' for the battery not being discharged
7273         (bug#10332).
7275 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7277         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7279         * international/quail.el: Use dolist and simplify.
7280         (quail-define-package, quail-update-keyboard-layout)
7281         (quail-define-rules): Use dolist.
7282         (quail-insert-kbd-layout, quail-get-translation): CSE.
7284         * tmm.el: Use dolist, remove left over hook.
7285         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7286         Use dolist.
7287         (calendar-load-hook): Don't mess with it.
7289         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7290         Use derived-mode-p.  Run the diff asynchronously.
7292 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7294         * obsolete/mouse-sel.el: Add an Obsolete-since header.
7296 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
7298         * misc.el: Display absolute path of loaded DLLs (bug#10424).
7299         (list-dynamic-libraries--loaded): New function.
7300         (list-dynamic-libraries--refresh): Use it.
7302 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
7304         * progmodes/python.el (python-fill-paragraph):
7305         Make python-fill-region in a multiline string work when font-lock is
7306         disabled (bug#7018).
7308 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
7310         * language/european.el (cp775): Add oem/legacy (en)coding on
7311         DOS/MS Windows for the Baltic languages.  There are still plenty
7312         of texts written in this encoding/codepage (bug#6519).
7314 2012-04-10  Glenn Morris  <rgm@gnu.org>
7316         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7317         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7319 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
7321         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7322         next-line "n" and previous-line "p" in order to make recentf more
7323         consistent with ibuffer, dired or org-mode (bug#9387).
7325 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7327         * image.el (put-image): Return the overlay created instead of the
7328         optional input string (bug#7834).  Note that this may break code
7329         that is (for some reason or other) depending on `put-image'
7330         returning the string.
7332         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7334         * simple.el (zap-to-char): Allow zapping using input methods
7335         (bug#1580).
7337         * textmodes/fill.el (fill-region): Leave point and mark where they
7338         were before filling (bug#5399).
7340 2012-04-09  Glenn Morris  <rgm@gnu.org>
7342         * version.el (emacs-bzr-get-version):
7343         Handle lightweight checkouts of local branches.
7345 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
7347         * international/characters.el: Recover lost case pairs.  (Bug#11209)
7349 2012-04-09  Chong Yidong  <cyd@gnu.org>
7351         * custom.el (custom-variable-p): Return nil for non-symbol
7352         arguments instead of signaling an error.
7353         (user-variable-p): Obsolete alias for custom-variable-p.
7355         * apropos.el (apropos-variable):
7356         * files-x.el (read-file-local-variable):
7357         * simple.el (set-variable):
7358         * woman.el (woman-mini-help):
7359         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7361 2012-04-09  Glenn Morris  <rgm@gnu.org>
7363         * startup.el (normal-top-level): Don't look for leim-list.el
7364         in places where it will not be found.  (Bug#910)
7366         * international/mule-cmds.el (set-default-coding-systems):
7367         * files.el (normal-mode):
7368         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
7369         This function was removed with ucs-tables.el in 2008.
7371 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
7373         * textmodes/ispell.el (ispell-check-version): For hunspell, set
7374         ispell-encoding8-command to "-i", without a trailing space.
7375         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7376         separate command-line arguments, to specify the encoding, since
7377         that's how hunspell expects it.
7379 2012-04-08  Glenn Morris  <rgm@gnu.org>
7381         * loadup.el: Load bindings before cus-start.
7382         This reduces somewhat the number of "rogue" settings in emacs -Q.
7384 2012-04-07  Glenn Morris  <rgm@gnu.org>
7386         * version.el (emacs-bzr-get-version): New function.
7387         (emacs-bzr-version): New variable.
7388         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
7389         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7391 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
7393         * international/uni-bidi.el, international/uni-category.el:
7394         * international/uni-combining.el, international/uni-decimal.el:
7395         * international/uni-decomposition.el, international/uni-digit.el:
7396         * international/uni-lowercase.el, international/uni-mirrored.el:
7397         * international/uni-name.el, international/uni-numeric.el:
7398         * international/uni-titlecase.el, international/uni-uppercase.el:
7399         Update for Unicode 6.1.
7401 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
7403         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7405 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7407         * window.el (shrink-window): Mention the `window-min-height'
7408         variable in the doc string.
7410 2012-04-05  Bastien Guerry  <bzg@altern.org>
7412         * color.el (color-lighten-name): Fix typo.
7414 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7416         * server.el (server--on-display-p): New function.
7417         (server--on-display-p): Use it.
7419 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
7421         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7422         (bug#11145).
7424 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7426         * comint.el (comint--common-quoted-suffix): Check string boundary
7427         before comparing (bug#11158).
7428         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7430 2012-04-04  Chong Yidong  <cyd@gnu.org>
7432         * minibuffer.el (completion-extra-properties): Doc fix.
7434         * subr.el (delayed-warnings-hook): Doc fix.
7436 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
7438         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7439         selection (Bug#11159).
7440         (epa-insert-keys): Inform that the default public key will be
7441         exported if no key is selected.
7443 2012-04-04  Richard Stallman  <rms@gnu.org>
7445         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7447 2012-04-03  Chong Yidong  <cyd@gnu.org>
7449         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7450         mail-insert-file, not its obsolete alias mail-attach-file.
7452 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
7454         * notifications.el (notifications-notify): Fix docstring.
7456 2012-04-02  Glenn Morris  <rgm@gnu.org>
7458         * emacs-lisp/authors.el (authors-aliases): Another addition.
7460 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
7462         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7463         `tramp-compat-call-process' instead of `tramp-local-call-process'.
7464         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7466 2012-04-01  Chong Yidong  <cyd@gnu.org>
7468         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7469         Handle root directory properly.
7470         (copy-directory): Caller changed.
7472         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7473         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7475 2012-03-31  Glenn Morris  <rgm@gnu.org>
7477         * term/xterm.el (xterm-extra-capabilities): Doc fix.
7479         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
7481         * calendar/calendar.el (calendar-window-list)
7482         (calendar-hide-window): Restore.  (Bug#11140)
7483         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7485         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7487 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7489         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7490         Check if file is a symlink (Bug#10489).
7492         * files.el (copy-directory): Likewise.
7494 2012-03-30  Chong Yidong  <cyd@gnu.org>
7496         * image.el (imagemagick-types-inhibit)
7497         (imagemagick-register-types): Doc fix.
7499 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7501         * textmodes/ispell.el (ispell-get-extended-character-mode):
7502         Disable extended-char-mode for hunspell.  hunspell does not support it
7503         and treats ~word as ordinary words in pipe mode.
7505 2012-03-30  Glenn Morris  <rgm@gnu.org>
7507         * tutorial.el (help-with-tutorial): Ensure local variables don't
7508         happen to make the buffer read-only.  (Bug#11127)
7510 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7512         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7513         (perl-calculate-indent): Return `noindent' in strings.
7515 2012-03-28  Sam Steingold  <sds@gnu.org>
7517         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7518         instead of the broken adhockery which does not prevent calendar
7519         buffers from being displayed at random after exit.
7520         (calendar-window-list, calendar-hide-window): Remove the broken
7521         adhockery.
7523 2012-03-28  Glenn Morris  <rgm@gnu.org>
7525         * replace.el (query-replace-map): Doc fix.
7527 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
7529         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7530         contents.  (Bug#11109)
7532 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7534         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7535         (bug#11077).
7536         (avl-tree--check, avl-tree--check-node): New funs.
7538 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
7540         * window.el (switch-to-visible-buffer): New option.
7541         (switch-to-prev-buffer, switch-to-next-buffer):
7542         Observe switch-to-visible-buffer.  Make sure that checking for a window
7543         showing a buffer already is done on the same frame.
7545 2012-03-27  Glenn Morris  <rgm@gnu.org>
7547         * startup.el (mail-host-address): Doc fix.
7549 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7551         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7552         than 197 variables.
7554 2012-03-26  Ami Fischman  <ami@fischman.org>
7556         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7558 2012-03-26  Glenn Morris  <rgm@gnu.org>
7560         * files.el (save-buffers-kill-emacs): Doc fix.
7562         * startup.el (normal-top-level, command-line, command-line-1):
7563         Give them doc strings.
7565 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
7567         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
7568         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
7570 2012-03-25  Chong Yidong  <cyd@gnu.org>
7572         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7573         theme if it was previously enabled before (Bug#11031).
7575         * cus-theme.el (custom-theme-write-faces): Retrieve current face
7576         spec with custom-face-get-current-spec if its :shown-value is not
7577         determined yet (Bug#9337).
7578         (customize-create-theme, custom-theme-revert): Doc fixes.
7580         * button.el (button-at): Minor addition to docstring.
7582 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
7584         * vc/vc.el (vc-merge): Fix a prompt.
7586 2012-03-24  Chong Yidong  <cyd@gnu.org>
7588         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7589         point (Bug#9623).
7591         * button.el (button-at): Minor addition to docstring.
7593 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7595         * newcomment.el (comment-choose-indent): No space after BOL.
7597 2012-03-22  Sam Steingold  <sds@gnu.org>
7599         * window.el (switch-to-prev-buffer): Revert last patch because the
7600         bug turned out to be an advertised feature (Elisp manual 28.14).
7602 2012-03-22  Glenn Morris  <rgm@gnu.org>
7604         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
7605         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7607 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7609         * net/network-stream.el (network-stream-open-starttls): Make error
7610         message under Windows be less misleading.
7612 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
7614         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7615         understands (bug#9942).
7617 2012-03-22  Chong Yidong  <cyd@gnu.org>
7619         * simple.el (end-of-visible-line): Handle return value of
7620         next-single-property-change properly (Bug#9371).
7622 2012-03-22  Kenichi Handa  <handa@m17n.org>
7624         * international/quail.el (quail-insert-kbd-layout): Fix previous
7625         change.  To avoid unwanted bidi reordering, use
7626         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7628 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
7630         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7631         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7632         (ruby-beginning-of-indent): Be more careful with the difference
7633         between word-boundary and symbol boundary.
7634         (ruby-mode-syntax-table): Make : a symbol constituent.
7636 2012-03-21  Andreas Politz  <politza@fh-trier.de>
7638         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7640 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7642         * progmodes/etags.el (tags-completion-at-point-function):
7643         Improve last fix.
7645         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7647 2012-03-21  Sam Steingold  <sds@gnu.org>
7649         * progmodes/etags.el (tags-completion-at-point-function):
7650         Avoid the error when point is inside the pattern.
7652 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
7654         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7655         line (Bug#10855).
7657 2012-03-21  Drew Adams  <drew.adams@oracle.com>
7659         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7661 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
7663         * ido.el (ido-set-current-directory, ido-read-internal)
7664         (ido-choose-completion-string, ido-completion-help): Handle nil
7665         value of ido-completion-buffer (Bug#11008).
7667 2012-03-21  Sam Steingold  <sds@gnu.org>
7669         * window.el (switch-to-prev-buffer): Do not switch to a visible
7670         window previous buffer, just like with the frame previous buffers.
7672 2012-03-21  Chong Yidong  <cyd@gnu.org>
7674         * faces.el (make-face, make-empty-face, copy-face):
7675         * face-remap.el (face-remap-add-relative, face-remap-set-base):
7676         Doc fixes.
7678 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7680         * wid-edit.el (widget-complete-field): Remove (bug#11051).
7681         (widget-complete): Remove broken use of it.
7683 2012-03-20  Chong Yidong  <cyd@gnu.org>
7685         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7686         Use string-width and truncate-string-width to handle arbitrary
7687         characters.
7689 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
7691         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7692         to draw rectangles, not squares.  (Regression introduced by revno
7693         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7695 2012-03-18  Chong Yidong  <cyd@gnu.org>
7697         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7698         it is not yet defined (for temacs).
7700 2012-03-18  Leo Liu  <sdl.web@gmail.com>
7702         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
7704 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
7706         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7707         (ispell-choices-win-default-height, ispell-silently-savep)
7708         (ispell-dictionary-alist, ispell-encoding8-command)
7709         (ispell-check-version, ispell-aspell-find-dictionary)
7710         (ispell-valid-dictionary-list, ispell-words-keyword)
7711         (ispell-get-word, ispell-internal-change-dictionary)
7712         (ispell-region, ispell-skip-region-list)
7713         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7714         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7715         (ispell-message-text-end, ispell-message)
7716         (ispell-buffer-local-parsing): Doc fix.
7718 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
7720         * htmlfontify.el: Add support for code block fontification for ODT
7721         export (Bug #9914).
7722         (hfy-optimisations): Define new option
7723         `body-text-only'
7724         (hfy-fontify-buffer): Honor above setting.
7725         (hfy-begin-span, hfy-end-span): New routines factored out form
7726         `hfy-fontify-buffer'.
7727         (hfy-begin-span-handler, hfy-end-span-handler): New variables
7728         that permit insertion of custom tags.
7729         (hfy-fontify-buffer): Use above handlers.
7730         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7731         (hfy-face-to-css): Re-defined to be a variable.
7732         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
7733         over multiple runs.  This is made possible by having the caller let
7734         bind a special variable `hfy-user-sheet-assoc'.
7735         (htmlfontify-string): New defun.
7736         (hfy-compile-face-map): Make sure that the last char in the
7737         buffer is correctly fontified.
7738         (hfy-face-resolve-face): Whitespace only change.
7740 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
7742         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7743         message more clear.
7745 2012-03-16  Leo Liu  <sdl.web@gmail.com>
7747         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7749 2012-03-16  Alan Mackenzie  <acm@muc.de>
7751         Further optimise the handling of large macros.
7753         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7754         limit to a call of `c-literal-limits'.
7755         (c-determine-+ve-limit): New function.
7756         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7757         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
7758         In CASE 5B, restrict a search limit to 500.
7759         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7761         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7762         Restrict macro bounds to +-500 from after-change's BEG END.
7764 2012-03-16  Leo Liu  <sdl.web@gmail.com>
7766         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7768 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
7770         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
7771         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
7773 2012-03-16  Glenn Morris  <rgm@gnu.org>
7775         * view.el (view-buffer, view-buffer-other-window)
7776         (view-buffer-other-frame): Doc fixes re special mode-class.
7778         * subr.el (eval-after-load): If named feature is provided not from
7779         a file, run after-load forms.  (Bug#10946)
7781         * calendar/calendar.el (calendar-insert-at-column):
7782         Handle non-unit-width characters a bit better.  (Bug#10978)
7784 2012-03-15  Chong Yidong  <cyd@gnu.org>
7786         * emacs-lisp/ring.el (ring-extend): New function.
7787         (ring-insert+extend): Extend the ring correctly (Bug#11019).
7789         * comint.el (comint-read-input-ring)
7790         (comint-add-to-input-history): Grow comint-input-ring lazily.
7792 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7794         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7795         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7797         * imenu.el: Fix multiple inheritance breakage (bug#9199).
7798         (imenu-add-to-menubar): Don't add a redundant index.
7799         (imenu-update-menubar): Handle a dynamically composed keymap.
7801 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
7803         * mail/sendmail.el (mail-encode-header):
7804         Bind rfc2047-encode-encoded-words to nil.
7806 2012-03-13  Glenn Morris  <rgm@gnu.org>
7808         * calendar/calendar.el (calendar-string-spread):
7809         Handle non-unit-width characters a bit better.  (Bug#10978)
7811 2012-03-13  Leo Liu  <sdl.web@gmail.com>
7813         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7814         directory and file as argument (Bug#10822).
7816 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
7818         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7819         For dynamically generated code, follow $PC.
7820         (gdb-disassembly-handler-custom): Handle no function name case.
7822 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
7824         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7825         * emulation/ws-mode.el (ws-query-replace):
7826         * sort.el (sort-regexp-fields):
7827         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
7829 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7831         * dabbrev.el: Fix cycle completion order (bug#10963).
7832         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7833         (dabbrev-completion): Don't use an obarray; provide
7834         a cycle-sort-function.
7836 2012-03-12  Leo Liu  <sdl.web@gmail.com>
7838         * simple.el (kill-new): Use equal-including-properties for comparison.
7839         (kill-do-not-save-duplicates): Doc fix.
7841 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7843         * dabbrev.el: Fix cycle completion (bug#10963).
7844         Use lexical binding and wrap to 80 columns.
7845         (dabbrev-completion): Delay computing the list of completions.
7847 2012-03-12  Kenichi Handa  <handa@m17n.org>
7849         * international/quail.el (quail-insert-kbd-layout): Surround each
7850         row by LRO and PDF instead of inserting many LRMs.  Pad the left
7851         and right of each non-spacing marks.  Insert invisible space
7852         between lower and upper characters to prevent composition.
7854 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7856         * minibuffer.el (minibuffer-complete): Don't get confused when the
7857         function is run twice via different commands (bug#10958).
7858         (complete-with-action): Fix docstring.
7860 2012-03-12  Chong Yidong  <cyd@gnu.org>
7862         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7863         (nxml-completion-at-point-function): New function.
7864         (nxml-mode): Use it.
7865         (nxml-bind-meta-tab-to-complete-flag): Default to t.
7867         * emacs-lisp/package.el (package-unpack, package-unpack-single):
7868         Load generated autoloads file before byte compiling (Bug#10970).
7869         (package--make-autoloads-and-compile): New helper fun.
7871 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
7873         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7875 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
7877         * autorevert.el (auto-revert-handler): Ensure, that
7878         file-readable-p is applied only for local files or in
7879         auto-revert-tail-mode.
7881 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
7883         * server.el (server-eval-at): Handle non-tcp connections.
7884         Decode result string.
7886         * server.el (server-msg-size): New constant.
7887         (server-reply-print): New function.
7888         (server-eval-and-print): Use it.
7889         (server-eval-at): Use server-quote-arg and server-unquote-arg.
7890         Handle -print-nonl.
7892 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
7894         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7895         (Bug#10987).
7897 2012-03-11  Chong Yidong  <cyd@gnu.org>
7899         * simple.el (goto-line): Doc fix (Bug#9938).
7901         * subr.el (save-window-excursion): Doc fix (Bug#9979).
7903         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7904         when finished (Bug#10963).
7906 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
7908         * window.el (split-window-below): Fix bug in case where
7909         split-window-keep-point is nil (Bug#10971).
7911 2012-03-11  Juri Linkov  <juri@jurta.org>
7913         * replace.el (replace-highlight): Set isearch-word to nil
7914         unconditionally.  (Bug#10887)
7916 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
7918         * net/mairix.el (mairix-replace-invalid-chars): Rename from
7919         mairix-replace-illegal-chars; all callers changed.  Don't remove
7920         ^, ~, and = characters: they are meaningful in mairix search specs.
7921         (mairix-widget-create-query): Add usage information about mairix
7922         search forms: negating words, searching for substrings, etc.
7924 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
7926         * international/fontset.el (font-encoding-alist): Add an entry for
7927         ksx1001 (Bug#5667).
7929 2012-03-10  Richard Stallman  <rms@gnu.org>
7931         * mail/sendmail.el (mail-encode-header):
7932         Set rfc2047-encode-encoded-words.
7934         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7936         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7937         view buffer means not swapped.
7938         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7939         (rmail-write-region-annotate): Error if real text has disappeared.
7941         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7943 2012-03-10  Chong Yidong  <cyd@gnu.org>
7945         * emulation/cua-rect.el (cua--init-rectangles):
7946         * emulation/cua-base.el (cua--init-keymaps):
7947         Add delete-forward-char to remappings (Bug#9666).
7949 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
7951         * speedbar.el (speedbar-unhighlight-one-tag-line):
7952         Avoid unhighlighting due to frame switching (Bug#10275).
7954 2012-03-10  Chong Yidong  <cyd@gnu.org>
7956         * minibuffer.el (completion-in-region, completion-help-at-point):
7957         Give the completion field overlay a high priority (Bug#6830).
7959         * dired.el (dired-goto-file): Recognize absolute file name
7960         listings (Bug#7126).
7961         (dired-goto-file-1): New helper function.
7962         (dired-toggle-read-only): Inhibit warnings.
7964 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
7966         * net/dbus.el (dbus-property-handler): Return empty array if
7967         there are no properties.
7969 2012-03-09  Leo Liu  <sdl.web@gmail.com>
7971         * savehist.el (savehist-printable): Stricter check for string
7972         value (Bug#10937).
7974 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
7976         * mail/smtpmail.el (smtpmail-send-it):
7977         Bind coding-system-for-write to *-unix, so that FCC files are kept in
7978         valid mbox format.
7980 2012-03-09  Glenn Morris  <rgm@gnu.org>
7982         * files.el (dir-locals-find-file):
7983         Don't check result is regular, readable.
7984         (dir-locals-read-from-file): Demote errors.
7986 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
7988         * international/quail.el (quail-insert-kbd-layout):
7989         Insert invisible LRM characters before each character in a keyboard
7990         layout cell, to prevent their reordering by bidi display engine.
7991         For details, see the discussion in
7992         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7994 2012-03-08  Alan Mackenzie  <acm@muc.de>
7996         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7997         the starting position; make it extend the marked region when
7998         invoked repeatedly - all under appropriate circumstances.
7999         Fixes bugs #5525, #10906.
8001 2012-03-08  Glenn Morris  <rgm@gnu.org>
8003         * files.el (locate-dominating-file, dir-locals-find-file):
8004         Undo 2012-03-06 change.
8006 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
8008         * international/quail.el (quail-help):
8009         Force bidi-paragraph-direction be left-to-right.  See discussion in
8010         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8011         for the reason.
8013 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
8015         Avoid superfluous registering of signals.  (Bug#10807)
8017         * notifications.el (notifications-on-action-object)
8018         (notifications-on-close-object): New defvars.
8019         (notifications-on-action-signal, notifications-on-closed-signal):
8020         Unregister the signal if not needed any longer.
8021         (notifications-notify): Register `notifications-action-signal' or
8022         `notifications-closed-signal', if :on-action or :on-close has been
8023         passed as argument.
8025 2012-03-07  Chong Yidong  <cyd@gnu.org>
8027         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8028         non-X platforms.
8030 2012-03-06  Glenn Morris  <rgm@gnu.org>
8032         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8033         (x-disown-selection-internal, x-get-selection-internal):
8034         Doc fix (add arglist signatures).  (Bug#10783)
8036 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
8038         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8039         Handle breakpoints with no "type".
8041 2012-03-06  Glenn Morris  <rgm@gnu.org>
8043         * files.el (locate-dominating-file): Add optional predicate argument.
8044         (dir-locals-find-file): Make use of above change.
8046 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
8048         * info.el (Info-insert-dir): Also try "dir.gz".
8050 2012-03-06  Glenn Morris  <rgm@gnu.org>
8052         * files.el (dir-locals-find-file):
8053         Ignore non-readable or non-regular files.  (Bug#10928)
8055         * files.el (locate-dominating-file): Doc fix.
8057 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
8059         * calendar/calendar.el (calendar-set-mode-line):
8060         `getenv' returns a string.  (Bug#10951)
8062 2012-03-05  Leo Liu  <sdl.web@gmail.com>
8064         * simple.el (backward-delete-char-untabify): Constrain point to
8065         field (Bug#10939).
8067         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8069 2012-03-05  Chong Yidong  <cyd@gnu.org>
8071         * simple.el (count-words): If called from Lisp, return the word
8072         count, for symmetry with `count-lines'.  Arglist changed.
8073         (count-words--message): Args changed.  Consolidate counting code
8074         from count-words and count-words-region.
8075         (count-words-region): Caller changed.
8076         (count-lines-region): Make it an obsolete alias.
8078 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
8080         * saveplace.el (save-place-to-alist)
8081         (save-place-ignore-files-regexp): Allow value nil to disable this
8082         feature.
8084 2012-03-04  Chong Yidong  <cyd@gnu.org>
8086         * faces.el (face-spec-reset-face): For the default face, reset the
8087         attributes to default values (Bug#10748).
8089 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8091         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8092         previous patch: Check `message-send-mail-function', and not the
8093         default function (bug#10897).
8095 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
8097         * notifications.el (notifications-on-action-signal)
8098         (notifications-on-closed-signal): Check for unique service name of
8099         incoming event.  Fix error in removing entry.
8100         (top): Register for signals with wildcard service name.
8101         (notifications-notify): Use daemon unique service name for map entries.
8103 2012-03-04  Chong Yidong  <cyd@gnu.org>
8105         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8107 2012-03-04  Glenn Morris  <rgm@gnu.org>
8109         * abbrev.el (copy-abbrev-table, abbrev-table-p)
8110         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8111         (expand-abbrev, define-abbrev-table): Doc fixes.
8113 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8115         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8116         `message-default-send-mail-function' and not `send-mail-function'
8117         when doing the prompting for `sendmail-query-once' before sending
8118         in Message buffers (bug#10897).
8120         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8121         This is inconsistent with all the other stream functions, which leave
8122         the setting up to the higher levels (if so wanted) (bug#10931).
8124 2012-03-02  Alan Mackenzie  <acm@muc.de>
8126         Depessimize the handling of very large macros.
8128         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8129         (c-macro-cache-syntactic): New variables to implement a one
8130         element macro cache.
8131         (c-invalidate-macro-cache): New function.
8132         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8133         Adapt to use the new cache.
8134         (c-state-safe-place): Use better the cache of safe positions.
8135         (c-state-semi-nonlit-pos-cache)
8136         (c-state-semi-nonlit-pos-cache-limit):
8137         New variables for...
8138         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
8139         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8140         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8141         Use c-state-semi-safe-place.
8143         * progmodes/cc-langs.el (c-get-state-before-change-functions):
8144         Add c-invalidate-macro-cache to the C, C++, Obj entries.
8146 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
8148         * jka-compr.el (jka-compr-call-process):
8149         Apply `file-accessible-directory-p' only when the default directory is
8150         not remote.
8152 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
8154         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
8155         access of FILE2, if FILE1 does not exist.
8157         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8158         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8160         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8161         Add "PAGER=" to `process-environment'.
8163 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
8165         * progmodes/sql.el: Bug fix
8166         (sql-get-login-ext): Save login values in globals.
8167         (sql-get-login): Use new version of `sql-get-login-ext'.
8168         (sql-interactive-mode): Set global `sql-connection' to nil.
8169         (sql-connect): Set global values for connection.
8170         (sql-product-interactive): Save global values as buffer local.
8172 2012-02-29  Leo Liu  <sdl.web@gmail.com>
8174         * abbrev.el (define-abbrevs): Reset sys to nil.
8176 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8178         * files.el (file-equal-p): Rename from `files-equal-p'.
8179         Return nil when one or both files don't exist.
8180         (file-subdir-of-p): Now only top directory must exists,
8181         return nil if it doesn't.
8182         (copy-directory): No need to test with `file-subdir-of-p' after
8183         creating dir.
8184         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8185         to `file-equal-p'.
8187 2012-02-28  Glenn Morris  <rgm@gnu.org>
8189         * shell.el (shell-mode):
8190         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8191         * play/landmark.el (landmark-font-lock-face-O):
8192         * play/handwrite.el (handwrite):
8193         * play/gomoku.el (gomoku-O):
8194         * net/browse-url.el (browse-url-browser-display):
8195         * international/mule.el (define-charset):
8196         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8197         * filesets.el (filesets-find-file-delay):
8198         * eshell/em-xtra.el (eshell-xtra):
8199         * eshell/em-unix.el (eshell-grep):
8200         * emulation/viper.el (viper-mode):
8201         * emacs-lisp/regexp-opt.el (regexp-opt-group):
8202         * emacs-lisp/easymenu.el (easy-menu-define):
8203         * calendar/timeclock.el (timeclock-use-display-time):
8204         * bs.el (bs-mode):
8205         * bookmark.el (bookmark-save-flag):
8206         Doc fix (standardize possessive apostrophe usage).
8208 2012-02-27  Chong Yidong  <cyd@gnu.org>
8210         * emulation/viper-cmd.el (viper-intercept-ESC-key):
8211         Fix key-binding lookup for ESC key (Bug#9146).
8213         * font-lock.el (font-lock-specified-p): Rename from
8214         font-lock-spec-present.  Callers changed.
8216 2012-02-27  Daniel Hackney  <dan@haxney.org>
8218         * emacs-lisp/package.el (package-compute-transaction):
8219         Handle holding a package version to t in package-load-list.
8221 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
8223         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8224         (tramp-get-inode, tramp-get-device): Use cached values.
8226 2012-02-26  Alan Mackenzie  <acm@muc.de>
8228         Check there is a font-lock specification before doing initial
8229         fontification.
8231         * font-core.el (font-lock-mode): Move the conditional from
8232         :after-hook to font-lock-initial-fontify.
8233         (font-lock-default-function): Move the check for a specification
8234         to font-lock-spec-present.
8236         * font-lock.el (font-lock-initial-fontify): Call ...
8237         (font-lock-spec-present): New function.
8239 2012-02-26  Jim Blandy  <jimb@red-bean.com>
8241         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8242         (gdb-send): Apply it to the operand of the '-interpreter-exec
8243         console' command, so that we can pass arguments with (say) quotes
8244         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
8246 2012-02-26  Chong Yidong  <cyd@gnu.org>
8248         * help-fns.el (describe-function-1): Clarify description of
8249         remapping (Bug#10844).
8251         * files.el (files-equal-p): Doc fix.
8252         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
8253         and quit the loop once a mismatch is found.
8255 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
8257         * bs.el (bs--show-with-configuration): Don't throw an error
8258         if the window cannot be split; otherwise, subsequent calls to
8259         bs-show fail, restoring a stale window config.  (Bug#10882)
8261 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
8263         * term/ns-win.el (global-map): Bind ns-drag-file to
8264         ns-find-file (Bug#5855, Bug#10050).
8266 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
8268         * calendar/parse-time.el (parse-time-string): Allow extractor to
8269         return nil.
8271 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
8273         * net/tramp.el (tramp-file-name-for-operation):
8274         Add `files-equal-p' and `file-subdir-of-p'.
8276         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8277         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8278         Add COPY-CONTENTS argument.
8280 2012-02-25  Chong Yidong  <cyd@gnu.org>
8282         Add custom groups for VC backends, for consistency with vc-bzr.
8284         * vc/vc-arch.el (vc-arch):
8285         * vc/vc-cvs.el (vc-cvs):
8286         * vc/vc-git.el (vc-git):
8287         * vc/vc-hg.el (vc-hg):
8288         * vc/vc-mtn.el (vc-mtn):
8289         * vc/vc-rcs.el (vc-rcs):
8290         * vc/vc-sccs.el (vc-sccs):
8291         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8292         All relevant defcustoms reassigned.
8294 2012-02-25  Chong Yidong  <cyd@gnu.org>
8296         * newcomment.el (comment-styles): Add autoload (Bug#10868).
8298         * term/x-win.el (x-initialize-window-system): Reduce default for
8299         x-selection-timeout to 5 seconds (Bug#8869).
8301 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8303         * files.el (files-equal-p, file-subdir-of-p): New functions.
8304         (copy-directory): Error when trying to copy a directory on itself.
8305         Add missing copy-contents arg to tramp handler.
8306         * dired-aux.el (dired-copy-file-recursive): Same.
8307         (dired-create-files): Modify destination when source is equal to
8308         dest when copying files.
8309         Return also when dest is a subdir of source.  (Bug#10489)
8311 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
8313         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8314         (Bug#10874)
8316 2012-02-23  Alan Mackenzie  <acm@muc.de>
8318         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8319         parameter "after-hook:" to allow the expansion to run code after
8320         the execution of the mode hooks.
8322         * font-lock.el (font-lock-initial-fontify): New function extracted
8323         from font-lock-mode-internal.
8325         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8326         :after-hook.
8328 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8330         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8331         (completion--cache-all-sorted-completions): New function.
8332         (completion-all-sorted-completions): Use it.
8333         (completion--do-completion, minibuffer-force-complete):
8334         Use it to re-instate the flush hook.
8336         * icomplete.el (icomplete-completions): Replace last fix with a better
8337         one (bug#10850).
8339 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
8341         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8342         when it might call us back infinitely (bug#10797).
8344 2012-02-23  Glenn Morris  <rgm@gnu.org>
8346         * minibuffer.el (completion-category-overrides): Doc fix.
8348 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8350         * minibuffer.el (completion-table-with-context): Fix inf-loop.
8351         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8353 2012-02-23  Glenn Morris  <rgm@gnu.org>
8355         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8356         (authors-obsolete-files-regexps, authors-ignored-files)
8357         (authors-ambiguous-files, authors-renamed-files-alist):
8358         Add more entries.
8360 2012-02-23  Juri Linkov  <juri@jurta.org>
8362         * isearch.el (isearch-occur): Sync interactive spec with occur's
8363         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
8365         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8367 2012-02-22  Juri Linkov  <juri@jurta.org>
8369         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8370         (ucs-insert): Doc fix.  Check for hex digits in the string.
8371         Don't display `nil' in the error message.  (Bug#10857)
8373 2012-02-22  Alan Mackenzie  <acm@muc.de>
8375         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
8377 2012-02-22  Glenn Morris  <rgm@gnu.org>
8379         * ffap.el (ffap-c-path):
8380         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
8382 2012-02-22  Chong Yidong  <cyd@gnu.org>
8384         * custom.el (load-theme): Doc fix.
8386 2012-02-22  Glenn Morris  <rgm@gnu.org>
8388         * dired-x.el (dired-guess-shell-alist-default):
8389         Remove escape sequences from nroff output.  (Bug#172)
8391 2012-02-21  Glenn Morris  <rgm@gnu.org>
8393         * vc/emerge.el (emerge-defvar-local):
8394         Set `permanent-local' property rather than unused `preserved'.
8396         * textmodes/picture.el (picture-delete-char): New alias.
8397         (picture-mode-map): Use it.  (Bug#10860)
8398         (picture-mode): Doc fix.
8400 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
8402         * newcomment.el (uncomment-region-default): Remove unused binding.
8404 2012-02-21  Glenn Morris  <rgm@gnu.org>
8406         * textmodes/picture.el (picture-motion, picture-motion-reverse)
8407         (picture-self-insert, picture-tab-chars): Doc fix.
8408         (picture-mode-map): Fix C-a, C-e.
8410 2012-02-20  Glenn Morris  <rgm@gnu.org>
8412         * emacs-lisp/authors.el (authors-aliases): Add another entry.
8414 2012-02-20  Leo Liu  <sdl.web@gmail.com>
8416         * icomplete.el (icomplete-completions): Check FROM arg before
8417         passing to substring (Bug#10850).
8419 2012-02-19  Chong Yidong  <cyd@gnu.org>
8421         * comint.el: Require ansi-color.
8422         (comint-output-filter-functions): Add ansi-color-process-output.
8424         * ansi-color.el: Don't set comint-output-filter-functions; it is
8425         now in the initial value defined in comint.el.
8426         (ansi-color-apply-face-function): New variable.
8427         (ansi-color-apply-on-region): Use it.
8428         (ansi-color-apply-overlay-face): New function.
8430         * shell.el (shell): No need to require ansi-color.
8431         (shell-mode): Use ansi-color-apply-face-function to highlight
8432         color escapes using font-lock-face property (Bug#10835).
8434 2012-02-19  Chong Yidong  <cyd@gnu.org>
8436         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8437         mode-line formats (Bug#10839).
8439 2012-02-18  Glenn Morris  <rgm@gnu.org>
8441         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8443         * mail/undigest.el (unforward-rmail-message): Doc fix.
8445         * saveplace.el (save-place-ignore-files-regexp): Add :version.
8447 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
8449         * international/characters.el (script-list): Sync with the latest
8450         Unicode Character Database.
8452 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
8454         * international/titdic-cnv.el: Remove duplicate coding tag.
8455         * language/cham.el: Likewise.
8456         * language/tai-viet.el: Likewise.
8458 2012-02-18  Glenn Morris  <rgm@gnu.org>
8460         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8461         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8462         (calendar-bahai-all-holidays-flag, calendar-other-dates):
8463         * calendar/diary-lib.el (diary-abbreviated-year-flag):
8464         * calendar/holidays.el (holiday-bahai-holidays)
8465         (calendar-holidays, list-holidays):
8466         Use utf-8 Bahá'í in doc-strings, menus, etc.
8468 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
8470         * saveplace.el (save-place-ignore-files-regexp): New variable
8471         allowing for excluding files from saving their location of point.
8472         The default value matches the temporary commit message editing
8473         files from Git, SVN, Bazaar, and Mercurial.
8474         (save-place-to-alist): Use it.
8476 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
8477             Stefan Monnier  <monnier@iro.umontreal.ca>
8479         * newcomment.el (uncomment-region-default): Don't leave extra space
8480         when an arg is provided (bug#8150).
8482 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
8484         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
8486 2012-02-17  Glenn Morris  <rgm@gnu.org>
8488         * net/socks.el: Require network-stream.  (Bug#10599)
8490 2012-02-17  Kenichi Handa  <handa@m17n.org>
8492         * international/charprop.el:
8493         * international/uni-name.el:
8494         * international/uni-old-name.el:
8495         * international/uni-comment.el: Regenerate.
8497 2012-02-16  Glenn Morris  <rgm@gnu.org>
8499         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8500         Interactively in calendar buffer, give an error if not on a date.
8502 2012-02-15  Glenn Morris  <rgm@gnu.org>
8504         * shell.el (shell-delimiter-argument-list):
8505         Revert 2011-02-17 change.  (Bug#8027)
8507 2012-02-15  Chong Yidong  <cyd@gnu.org>
8509         * minibuffer.el (completion-at-point-functions): Doc fix.
8511         * custom.el (defcustom): Doc fix; note use of defvar.
8513 2012-02-15  Glenn Morris  <rgm@gnu.org>
8515         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8516         Doc fixes.
8518 2012-02-14  Glenn Morris  <rgm@gnu.org>
8520         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8522 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
8524         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8525         way the ports list is computed.
8526         (smtpmail-query-smtp-server): Prompt the user for a port number if
8527         we can't connect to any of the standard ports (bug#10810).
8529 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
8531         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8533 2012-02-13  Glenn Morris  <rgm@gnu.org>
8535         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
8537 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
8539         * net/gnutls.el (gnutls-trustfiles): New variable.
8540         (gnutls-negotiate): Use it.
8542 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
8544         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8545         does its stuff if Gnus is running.
8547 2012-02-13  Alan Mackenzie  <acm@muc.de>
8549         Fix a loop in c-set-fl-decl-start.
8551         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
8552         c-backward-syntactic-ws actually moves backwards.
8554 2012-02-13  Leo Liu  <sdl.web@gmail.com>
8556         * net/rcirc.el (rcirc-markup-attributes): Move point to the
8557         beginning so that all \C-o chars are removed.
8559 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
8561         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
8563 2012-02-12  Alan Mackenzie  <acm@muc.de>
8565         Fix infinite loop with long macros.
8566         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
8568 2012-02-12  Chong Yidong  <cyd@gnu.org>
8570         * window.el (display-buffer): Doc fix (Bug#10785).
8572 2012-02-12  Glenn Morris  <rgm@gnu.org>
8574         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8575         (x-disown-selection-internal, x-get-selection-internal):
8576         Sync docs with the xselect.c versions.
8578         * allout-widgets.el: Add missing license notice.
8580 2012-02-11  Glenn Morris  <rgm@gnu.org>
8582         * select.el (x-get-selection-internal, x-own-selection-internal)
8583         (x-disown-selection-internal):
8584         * x-dnd.el (x-get-selection-internal): Update declarations.
8586         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8588         * window.el (window-sides-slots):
8589         * tool-bar.el (tool-bar-position):
8590         * term/xterm.el (xterm-extra-capabilities):
8591         * ses.el (ses-self-reference-early-detection):
8592         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8593         (verilog-auto-wire-type)
8594         (verilog-auto-delete-trailing-whitespace)
8595         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8596         (verilog-auto-tieoff-declaration):
8597         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8598         (sql-oracle-statement-starters, sql-oracle-scan-on):
8599         * progmodes/prolog.el (prolog-align-comments-flag)
8600         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8601         (prolog-left-indent-regexp, prolog-paren-indent-p)
8602         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8603         (prolog-types, prolog-mode-specificators)
8604         (prolog-determinism-specificators, prolog-directives)
8605         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8606         (prolog-electric-dot-flag)
8607         (prolog-electric-dot-full-predicate-template)
8608         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8609         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8610         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8611         (prolog-program-switches, prolog-prompt-regexp)
8612         (prolog-debug-on-string, prolog-debug-off-string)
8613         (prolog-trace-on-string, prolog-trace-off-string)
8614         (prolog-zip-on-string, prolog-zip-off-string)
8615         (prolog-use-standard-consult-compile-method-flag)
8616         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8617         (prolog-imenu-max-lines, prolog-info-predicate-index)
8618         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8619         (prolog-char-quote-workaround):
8620         * progmodes/cc-vars.el (c-defun-tactic):
8621         * net/tramp.el (tramp-encoding-command-interactive)
8622         (tramp-local-end-of-line):
8623         * net/soap-client.el (soap-client):
8624         * net/netrc.el (netrc-file):
8625         * net/gnutls.el (gnutls):
8626         * minibuffer.el (completion-category-overrides)
8627         (completion-cycle-threshold)
8628         (completion-pcm-complete-word-inserts-delimiters):
8629         * man.el (Man-name-local-regexp):
8630         * mail/feedmail.el (feedmail-display-full-frame):
8631         * international/characters.el (glyphless-char-display-control):
8632         * eshell/em-ls.el (eshell-ls-date-format):
8633         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8634         (lisp-lambda-list-keyword-parameter-indentation)
8635         (lisp-lambda-list-keyword-parameter-alignment):
8636         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8637         * dired-x.el (dired-omit-verbose):
8638         * cus-theme.el (custom-theme-allow-multiple-selections):
8639         * calc/calc.el (calc-highlight-selections-with-faces)
8640         (calc-lu-field-reference, calc-lu-power-reference)
8641         (calc-note-threshold):
8642         * battery.el (battery-mode-line-limit):
8643         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8644         (archive-7z-update):
8645         * allout.el (allout-prefixed-keybindings)
8646         (allout-unprefixed-keybindings)
8647         (allout-inhibit-auto-fill-on-headline)
8648         (allout-flattened-numbering-abbreviation):
8649         * allout-widgets.el (allout-widgets-auto-activation)
8650         (allout-widgets-icons-dark-subdir)
8651         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8652         (allout-widgets-theme-dark-background)
8653         (allout-widgets-theme-light-background)
8654         (allout-widgets-item-image-properties-emacs)
8655         (allout-widgets-item-image-properties-xemacs)
8656         (allout-widgets-run-unit-tests-on-load)
8657         (allout-widgets-time-decoration-activity)
8658         (allout-widgets-hook-error-post-time)
8659         (allout-widgets-track-decoration):
8660         Add missing :version tags to new defcustoms and defgroups.
8662         * progmodes/sql.el (sql-ansi-statement-starters)
8663         (sql-oracle-statement-starters): Add custom type.
8665         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8666         (prolog-system-version): Give it a type.
8668 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
8670         * term/pc-win.el (x-select-text, x-selection-owner-p)
8671         (x-own-selection-internal, x-disown-selection-internal)
8672         (x-get-selection-internal): Sync doc strings and argument lists
8673         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
8675 2012-02-11  Leo Liu  <sdl.web@gmail.com>
8677         * progmodes/python.el (python-end-of-statement): Fix infinite
8678         loop.  (Bug#10788)
8680 2012-02-10  Glenn Morris  <rgm@gnu.org>
8682         * international/mule-cmds.el (unify-8859-on-encoding-mode)
8683         (unify-8859-on-decoding-mode): Properly mark as obsolete.
8685 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
8687         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8688         about SMTP before checking the From header.
8690         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
8691         into own function for reuse by emacsbug.el.
8693 2012-02-10  Leo Liu  <sdl.web@gmail.com>
8695         * subr.el (condition-case-unless-debug): Rename from
8696         condition-case-no-debug.  All callers changed.
8697         (with-demoted-errors): Fix caller.
8699         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8700         * nxml/rng-valid.el (rng-do-some-validation):
8701         * emacs-lisp/package.el (package-refresh-contents)
8702         (package-menu-execute):
8703         * desktop.el (desktop-create-buffer):
8704         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
8706 2012-02-10  Glenn Morris  <rgm@gnu.org>
8708         * textmodes/bibtex.el:
8709         Add missing :version tags for new/changed defcustoms.
8711         * files.el (remote-file-name-inhibit-cache): Doc fixes.
8713 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
8715         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8716         (smtpmail-via-smtp): Use it, or fall back on the From address.
8717         (smtpmail-send-it): Ditto.
8719 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8721         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8722         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
8723         (byte-compile-tmp-var): New const.
8724         (byte-compile-defvar): Use it to minimize .elc size.
8725         Just use `defvar' rather than simulate it (bug#10761).
8727 2012-02-09  Glenn Morris  <rgm@gnu.org>
8729         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
8731         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8732         Add :version tags.
8734         * progmodes/compile.el (compilation-error-screen-columns)
8735         (compilation-first-column, compilation-filter-start): Doc fixes.
8737         * vc/log-view.el (log-view-toggle-entry-display):
8738         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8740         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8741         (report-emacs-bug-can-use-xdg-email):
8742         (report-emacs-bug-insert-to-mailer): Doc fixes.
8743         (report-emacs-bug): Message fix.
8745         * net/browse-url.el (browse-url-can-use-xdg-open)
8746         (browse-url-xdg-open): Doc fixes.
8748         * electric.el (electric-indent-mode, electric-pair-mode)
8749         (electric-layout-rules, electric-layout-mode): Doc fixes.
8750         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8752 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
8754         * server.el (server-unselect-display): Don't inadvertently kill
8755         the current buffer.  (Bug#10729)
8757 2012-02-08  Glenn Morris  <rgm@gnu.org>
8759         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8760         (sql-list-table): Doc fixes.
8762         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8763         Comment out (does nothing).
8765         * completion.el (dynamic-completion-mode):
8766         * dirtrack.el (dirtrack-debug-mode):
8767         * electric.el (electric-layout-mode):
8768         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8769         * face-remap.el (text-scale-mode, buffer-face-mode):
8770         * iimage.el (iimage-mode):
8771         * image-mode.el (image-transform-mode):
8772         * minibuffer.el (completion-in-region-mode):
8773         * scroll-lock.el (scroll-lock-mode):
8774         * simple.el (next-error-follow-minor-mode):
8775         * tar-mode.el (tar-subfile-mode):
8776         * tooltip.el (tooltip-mode):
8777         * vcursor.el (vcursor-use-vcursor-map):
8778         * wid-browse.el (widget-minor-mode):
8779         * emulation/tpu-edt.el (tpu-edt-mode):
8780         * emulation/tpu-extras.el (tpu-cursor-free-mode):
8781         * international/iso-ascii.el (iso-ascii-mode):
8782         * language/thai-util.el (thai-word-mode):
8783         * mail/supercite.el (sc-minor-mode):
8784         * net/goto-addr.el (goto-address-mode):
8785         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8786         * progmodes/cwarn.el (cwarn-mode):
8787         * progmodes/flymake.el (flymake-mode):
8788         * progmodes/glasses.el (glasses-mode):
8789         * progmodes/hideshow.el (hs-minor-mode):
8790         * progmodes/pascal.el (pascal-outline-mode):
8791         * textmodes/enriched.el (enriched-mode):
8792         * vc/smerge-mode.el (smerge-mode):
8793         Doc fixes (minor mode argument).
8795 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
8797         * ls-lisp.el (ls-lisp-sanitize): New function.
8798         (ls-lisp-insert-directory): Use it to fix or remove any elements
8799         in file-alist with missing attributes.  (Bug#4673)
8801 2012-02-07  Alan Mackenzie  <acm@muc.de>
8803         Fix spurious recognition of c-in-knr-argdecl.
8805         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8806         putative K&R region.
8808 2012-02-07  Alan Mackenzie  <acm@muc.de>
8810         * progmodes/cc-engine.el (c-forward-objc-directive):
8811         Prevent looping in "#pragma mark @implementation".
8813 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
8815         * notifications.el (notifications-on-closed-signal): Make `reason'
8816         optional.  (Bug#10744)
8818 2012-02-07  Glenn Morris  <rgm@gnu.org>
8820         * emacs-lisp/easy-mmode.el (define-minor-mode):
8821         Doc fixes for the macro and the mode it defines.
8823         * image.el (imagemagick-types-inhibit): Doc fix.
8825         * cus-start.el (imagemagick-render-type): Add it.
8827 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
8829         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8830         Set the default at load time, too, so that `font-lock-fontify-buffer'
8831         can be called without setting up the entire mode first.  This fixes
8832         a bug in `mm-inline-text' with C MIME parts.
8834 2012-02-06  Chong Yidong  <cyd@gnu.org>
8836         * simple.el (list-processes--refresh): Delete exited processes
8837         (Bug#8094).
8839         * comint.el (comint-next-prompt): next-single-char-property-change
8840         and prev-single-char-property-change never return nil (Bug#8657).
8842         * custom.el (defcustom): Doc fix (Bug#9711).
8844 2012-02-05  Chong Yidong  <cyd@gnu.org>
8846         * cus-edit.el (custom-variable-reset-backup): Quote the value
8847         before storing it in the customized-value property (Bug#6712).
8848         (custom-display): Add a customization type tag.
8849         (custom-buffer-create-internal): Improve tooltip message.
8851         * wid-edit.el (widget-field-value-get): New optional arg to
8852         suppress trailing whitespace truncation.
8853         (character): Use it (Bug#2689).
8855 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
8857         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8858         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8860 2012-02-05  Chong Yidong  <cyd@gnu.org>
8862         * cus-edit.el (custom-variable-value-create): For mismatched
8863         types, show the current value (Bug#7600).
8865         * custom.el (defcustom): Doc fix.
8867 2012-02-05  Glenn Morris  <rgm@gnu.org>
8869         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8871 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
8873         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8874         (pp-buffer): Use `ignore-errors', `looking-at-p'.
8875         (pp-last-sexp): Use `looking-at-p'.
8877 2012-02-04  Glenn Morris  <rgm@gnu.org>
8879         * files.el (revert-buffer):
8880         Doc fix (mention revert-buffer-in-progress-p).
8882         * emacs-lisp/ert-x.el (ert-simulate-command):
8883         Check deferred-action-list (which is obsolete) is bound.
8885         * subr.el (with-wrapper-hook): Doc fixes.
8887         * simple.el (filter-buffer-substring-functions)
8888         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8890 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
8892         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8893         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
8895 2012-02-04  Leo Liu  <sdl.web@gmail.com>
8897         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8899 2012-02-04  Glenn Morris  <rgm@gnu.org>
8901         * image.el (image-extension-data): Add obsolete alias.
8903         * isearch.el (isearch-update): Doc fix.
8905         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8907         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8909 2012-02-03  Glenn Morris  <rgm@gnu.org>
8911         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
8912         (image-animate-timeout): Doc fix.
8914         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8916 2012-02-02  Glenn Morris  <rgm@gnu.org>
8918         * server.el (server-auth-dir): Doc fix.
8919         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
8921         * subr.el (run-mode-hooks): Doc fix.
8923 2012-02-02  Juri Linkov  <juri@jurta.org>
8925         * image-mode.el (image-toggle-display-image): Remove tautological
8926         `major-mode' from the `derived-mode-p' test.
8928 2012-02-02  Kenichi Handa  <handa@m17n.org>
8930         * composite.el (compose-region): Cancel previous change.
8932 2012-02-02  Kenichi Handa  <handa@m17n.org>
8934         * composite.el (compose-region, compose-string): Signal error for
8935         a null string component (Bug#6988).
8937 2012-02-01  Chong Yidong  <cyd@gnu.org>
8939         * view.el (view-buffer-other-window, view-buffer-other-frame):
8940         Handle special modes like view-buffer (Bug#10650).
8941         (view-buffer): Simplify.
8943         * frame.el (set-frame-font): Tweak meaning of third argument.
8945         * dynamic-setting.el (font-setting-change-default-font):
8946         Use set-frame-font (Bug#9982).
8948 2012-02-01  Glenn Morris  <rgm@gnu.org>
8950         * progmodes/compile.el (compilation-internal-error-properties):
8951         Respect compilation-first-column in the "*compilation*" buffer.
8953         * emacs-lisp/easy-mmode.el (define-minor-mode):
8954         Relax :variable's test for a named function.
8956 2012-01-31  Alan Mackenzie  <acm@muc.de>
8958         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8959         off by one error.
8961 2012-01-31  Chong Yidong  <cyd@gnu.org>
8963         * frame.el (set-frame-font): New arg ALL-FRAMES.
8965         * menu-bar.el (menu-set-font): Use set-frame-font.
8967         * faces.el (face-spec-reset-face): Don't apply unspecified
8968         attribute values to the default face.
8970 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
8972         * progmodes/cwarn.el (cwarn): Remove dead link.
8973         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8974         Remove * from defcustom docstrings.
8975         (turn-on-cwarn-mode): Make obsolete.
8976         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8977         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8979 2012-01-31  Glenn Morris  <rgm@gnu.org>
8981         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
8982         Fix :variable handling of mode a symbol not equal to modefun.
8983         Allow named functions to be used as the cdr of :variable.
8985 2012-01-30  Glenn Morris  <rgm@gnu.org>
8987         * emacs-lisp/authors.el (authors-fixed-entries):
8988         Remove reference to deleted file rnewspost.el.
8990 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
8992         * window.el (window-with-parameter): Remove unused variable `windows'.
8993         (window--side-check): Remove unused variable `code'.
8994         (window--resize-siblings): Remove unused variable `first'.
8995         (adjust-window-trailing-edge): Remove unused variable `failed'.
8996         (window-deletable-p, window--delete): Remove unused variable `buffer'.
8997         Use `let', not `let*'.
8998         (balance-windows-2): Remove unused variable `found'.
8999         (window--state-put-2): Remove unused variable `splits'.
9000         (window-state-put): Remove unused variable `selected'.
9001         (same-window-p): Use `string-match-p'.
9002         (display-buffer-assq-regexp): Remove unused variable `value'.
9003         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9004         Mark argument ALIST as ignored.
9005         (pop-to-buffer): Remove unused variable `old-window'.
9007 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
9009         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9010         and .lzma compressed files.
9012 2012-01-29  Chong Yidong  <cyd@gnu.org>
9014         * frame.el (window-system-default-frame-alist): Doc fix.
9016         * dynamic-setting.el (font-setting-change-default-font): Don't
9017         change the default face if SET-FONT argument is non-nil (Bug#9982).
9019 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
9021         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9023 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
9025         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9026         breakpoints in files outside current directory (Bug#6098).
9028 2012-01-29  Chong Yidong  <cyd@gnu.org>
9030         * progmodes/python.el: Require ansi-color at top-level.
9032         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9033         Define and use in Emacs Lisp mode (Bug#9360).
9034         (lisp-mode-abbrev-table): Add doc.
9035         (lisp-mode-variables): Don't set local-abbrev-table.
9036         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9038 2012-01-28  Roland Winkler  <winkler@gnu.org>
9040         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9042 2012-01-28  Roland Winkler  <winkler@gnu.org>
9044         * textmodes/bibtex.el (bibtex-entry-alist): New function.
9045         (bibtex-set-dialect): Use it.  Either set global values of
9046         dialect-dependent variables or bind these variables buffer-locally
9047         (Bug#10254).
9048         (bibtex-mode): Call bibtex-set-dialect via
9049         hack-local-variables-hook.
9050         (bibtex-dialect): Update docstring.
9051         Add safe-local-variable predicate.
9052         (bibtex-entry-alist, bibtex-field-alist): Initialize via
9053         bibtex-set-dialect.
9054         (bibtex-mode-map): Define menu for each dialect.
9055         (bibtex-entry): Fix docstring.
9057 2012-01-28  Chong Yidong  <cyd@gnu.org>
9059         * eshell/esh-arg.el (eshell-quote-argument): New function.
9061         * eshell/esh-ext.el (eshell-invoke-batch-file):
9062         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9063         first arg to eshell-parse-command (Bug#10523).
9065 2012-01-28  Drew Adams  <drew.adams@oracle.com>
9067         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9068         `default-directory' is non-nil.
9070 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
9072         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9073         line that displays system-configuration-options.  (Bug#9924)
9075 2012-01-28  Drew Adams  <drew.adams@oracle.com>
9077         * descr-text.el (describe-char): Show information about POS, in
9078         addition to information about the character at POS.  Improve and
9079         update the doc string.  Change "code point" to "code point in
9080         charset", to avoid confusion with the character's Unicode code
9081         point shown above that.  (Bug#10129)
9083 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
9085         * descr-text.el (describe-char): Show the raw character, not only
9086         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
9087         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9088         for the reasons.
9090 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
9092         * emacs-lisp/package.el (package-install):
9093         Run package-refresh-contents if there is no archive yet (Bug#9798).
9095 2012-01-28  Chong Yidong  <cyd@gnu.org>
9097         * emacs-lisp/package.el (package-maybe-load-descriptor):
9098         New function, split from package-maybe-load-descriptor.
9099         (package-maybe-load-descriptor): Use it.
9100         (package-download-transaction): Fully load required packages
9101         inside the loop, so that `require' calls work (Bug#10593).
9102         (package-install): No need to call package-initialize now.
9104 2012-01-28  Chong Yidong  <cyd@gnu.org>
9106         * simple.el (deactivate-mark): Doc fix (Bug#8614).
9108         * tooltip.el (tooltip-mode): Doc fix.
9109         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9111         * frame.el (set-cursor-color): Doc fix (Bug#352).
9113         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9114         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9116         * cus-edit.el (custom-buffer-create-internal): Fix search button
9117         action (Bug#10542).
9118         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9120 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
9122         * dired.el (dired-mark-files-regexp):
9123         Include any subdirectory components.  (Bug#10445)
9125 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
9127         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9128         Handle [host]:port syntax.  (Bug#10533)
9130 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
9132         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9134 2012-01-26  Glenn Morris  <rgm@gnu.org>
9136         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9137         * term.el (term-raw-escape-map): Use Control-X-prefix.
9138         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
9140 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
9142         * window.el (window-state-get, window--state-get-1): Don't deal
9143         with fixed-sizeness of windows.  Simplify code.
9145 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
9147         * window.el (window--state-get-1, window--state-put-2):
9148         Don't save and restore the mark.
9150 2012-01-25  Chong Yidong  <cyd@gnu.org>
9152         * custom.el (custom-variable-p): Doc fix.
9154 2012-01-25  Glenn Morris  <rgm@gnu.org>
9156         * dired.el (dired-goto-file): Handle some of the more common
9157         characters that `ls -b' escapes.  (Bug#10596)
9159         * progmodes/compile.el (compilation-next-error-function):
9160         Respect compilation-first-column in the "*compilation*" buffer.
9161         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
9163         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
9165 2012-01-24  Glenn Morris  <rgm@gnu.org>
9167         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
9169 2012-01-24  Julien Danjou  <julien@danjou.info>
9171         * color.el (color-rgb-to-hsl): Fix value computing.
9172         (color-hue-to-rgb): New function.
9173         (color-hsl-to-rgb): New function.
9174         (color-clamp, color-saturate-hsl, color-saturate-name)
9175         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9176         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9178 2012-01-24  Glenn Morris  <rgm@gnu.org>
9180         * vc/vc-rcs.el (vc-rcs-create-tag):
9181         * vc/vc-sccs.el (vc-sccs-create-tag):
9182         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
9184 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
9186         * eshell/esh-util.el (eshell-read-hosts-file):
9187         Skip comment lines.  (Bug#10549)
9189         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
9191 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
9193         * subr.el (display-delayed-warnings): Doc fix.
9194         (collapse-delayed-warnings): New function to collapse identical
9195         adjacent warnings.
9196         (delayed-warnings-hook): Add it.
9198 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
9200         * net/tramp.el (tramp-action-login): Set connection property "login-as".
9202         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9203         (tramp-default-user-alist): Don't add "pscp".
9204         (tramp-do-copy-or-rename-file-out-of-band): Use connection
9205         property "login-as", if set.  (Bug#10530)
9207 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
9209         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9210         "plink1" and "psftp".  (Bug#10530)
9212 2012-01-21  Kenichi Handa  <handa@m17n.org>
9214         * international/mule-cmds.el (prefer-coding-system): Show a
9215         warning message if the default value of file-name-coding-system
9216         was not changed.
9218 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
9220         * windmove.el (windmove-reference-loc):
9221         Fix windmove-reference-loc miscalculation.
9223 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
9225         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9226         default unit.
9228 2012-01-21  Glenn Morris  <rgm@gnu.org>
9230         * international/mule.el (auto-coding-alist): Add .tbz.
9232         * files.el (local-enable-local-variables): Doc fix.
9233         (inhibit-local-variables-regexps): Rename from
9234         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
9235         Doc fix.  Add some extensions from auto-coding-alist.
9236         (inhibit-local-variables-suffixes):
9237         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
9238         (inhibit-local-variables-p):
9239         New function, extracted from set-auto-mode-1.
9240         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
9241         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
9242         (hack-local-variables): Doc fix.  Make the mode-only case
9243         respect enable-local-variables and friends.
9244         Respect inhibit-local-variables-regexps for file-locals, but
9245         not for directory-locals.
9246         (set-visited-file-name):
9247         Take account of inhibit-local-variables-regexps.
9248         Whether it applies may change as the file name is changed.
9249         * jka-cmpr-hook.el (jka-compr-install):
9250         * jka-compr.el (jka-compr-uninstall):
9251         Update for inhibit-first-line-modes-suffixes name change.
9253 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
9255         * help-macro.el (make-help-screen): Temporarily restore original
9256         binding for minor-mode-map-alist (Bug#10454).
9258 2012-01-19  Julien Danjou  <julien@danjou.info>
9260         * color.el (color-name-to-rgb): Use the white color to find the max
9261         color component value and return correctly computed values.
9262         (color-name-to-rgb): Add missing float conversion for max value.
9264 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
9266         * window.el (window--state-get-1, window-state-get): Do not use
9267         special state value for window-persistent-parameters.
9268         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
9269         (window--state-put-2): Reset all window parameters to nil before
9270         assigning values of persistent parameters.
9272 2012-01-18  Alan Mackenzie  <acm@muc.de>
9274         Eliminate sluggishness and hangs in fontification of "semicolon
9275         deserts".
9277         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9278         Change value 10000 -> 3000.
9279         (c-state-safe-place): Reformulate so it doesn't stack up an
9280         infinite number of wrong entries in c-state-nonlit-pos-cache.
9281         (c-determine-limit-get-base, c-determine-limit): New functions to
9282         determine backward search limits disregarding literals.
9283         (c-find-decl-spots): Amend commenting.
9284         (c-cheap-inside-bracelist-p): New function which detects "={".
9286         * progmodes/cc-fonts.el
9287         (c-make-font-lock-BO-decl-search-function): Give a limit to a
9288         backward search.
9289         (c-font-lock-declarations): Fix an occurrence of point being
9290         undefined.  Check additionally for point being in a bracelist or
9291         near a macro invocation without a semicolon so as to avoid a
9292         fruitless time consuming search for a declarator.  Give a more
9293         precise search limit for declarators using the new
9294         c-determine-limit.
9296 2012-01-18  Glenn Morris  <rgm@gnu.org>
9298         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9299         (set-auto-mode): Doc fixes.
9301 2012-01-17  Glenn Morris  <rgm@gnu.org>
9303         * isearch.el (search-nonincremental-instead): Fix doc typo.
9305         * dired.el (dired-insert-directory): Handle newlines in directory name.
9306         (dired-build-subdir-alist): Unescape newlines in directory name.
9308 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
9310         * net/tramp.el (tramp-local-end-of-line): New defcustom.
9311         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9312         (tramp-action-terminal): Use it.  (Bug#10530)
9314 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9316         * minibuffer.el (completion--replace): Strip properties (bug#10062).
9318 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
9320         * window.el (window-state-ignored-parameters): Remove variable.
9321         (window--state-get-1): Rename argument MARKERS to IGNORE.
9322         Handle persistent window parameters.  Make copy of clone-of
9323         parameter only if requested.  (Bug#10348)
9324         (window--state-put-2): Install a window parameter only if it has
9325         a non-nil value or an existing parameter shall be overwritten.
9327 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
9329         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9331 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
9333         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9334         don't pass the (nil) value of `upnode' to string-match.
9336 2012-01-14  Chong Yidong  <cyd@gnu.org>
9338         * startup.el (command-line): Fix X resource class for cursorColor.
9339         Fix values recognized by the cursorBlink resource.
9341 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
9343         * epg.el (epg--make-temp-file): Avoid permission race condition
9344         when running on old Emacs versions (bug#10403).
9346 2012-01-14  Glenn Morris  <rgm@gnu.org>
9348         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9350 2012-01-13  Alan Mackenzie  <acm@muc.de>
9352         Fix filling for when filladapt mode is enabled.
9354         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9355         c-mask-paragraph, pass in `fill-paragraph' rather than
9356         `fill-region-as-paragraph'.  (This is a reversion of a previous
9357         change.)
9358         * progmodes/cc-mode.el (c-basic-common-init):
9359         Make fill-paragraph-handle-comment buffer local and set it to nil.
9361 2012-01-13  Glenn Morris  <rgm@gnu.org>
9363         * dired.el (dired-switches-escape-p): New function.
9364         (dired-insert-directory): Use dired-switches-escape-p.
9365         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
9367         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
9369 2012-01-12  Glenn Morris  <rgm@gnu.org>
9371         * mail/sendmail.el (mail-mode): Update paragraph-separate for
9372         changes in adaptive-fill-regexp.  (Bug#10276)
9374 2012-01-11  Alan Mackenzie  <acm@muc.de>
9376         Fix Emacs bug #10463 - put `widen's around the critical spots.
9378         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9379         widen around each invocation of c-state-pp-to-literal.  Remove an
9380         unused let variable.
9382 2012-01-11  Glenn Morris  <rgm@gnu.org>
9384         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
9385         Doc fix.
9387 2012-01-10  Chong Yidong  <cyd@gnu.org>
9389         * net/network-stream.el (network-stream-open-starttls):
9390         Avoid emitting a confusing error message when the server gives a bad
9391         response to the capability command.
9393 2012-01-10  Glenn Morris  <rgm@gnu.org>
9395         * mail/unrmail.el (unrmail): Tweak previous change.
9397 2012-01-09  Chong Yidong  <cyd@gnu.org>
9399         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9401 2012-01-08  Alan Mackenzie  <acm@muc.de>
9403         Optimise font locking in long enum definitions.
9405         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9406         arm to a cond form to handle enums.
9407         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9408         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9410 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9412         * files.el (move-file-to-trash): Preserve default file modes on error.
9413         (Bug#10401)
9415 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9417         * faces.el (set-face-attribute): Clarify the meaning of the nil
9418         frame (bug#10294).
9420         * subr.el (with-selected-frame): Mention that the selected frame
9421         is restored (bug#9980).
9423         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9424         (bug#9759).
9426         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
9427         (password-read): Don't autoload unused function.
9429 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
9431         * progmodes/which-func.el (which-func-mode): Turn into a
9432         non-interactive function and mark as obsolete (bug#10428).
9434 2012-01-06  Chong Yidong  <cyd@gnu.org>
9436         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9437         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9438         functions, along with 1 and -1.
9440 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
9442         * time.el (display-time-load-average)
9443         (display-time-default-load-average): Doc fixes.  See the thread
9444         starting at
9445         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9446         for the details.
9448 2012-01-06  Glenn Morris  <rgm@gnu.org>
9450         * mail/unrmail.el (unrmail): Give an explicit error if the input file
9451         has no messages.  (Bug#10377)
9453         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9454         than Info-edit.  (Bug#10385)
9456         * time.el (display-time-load-average, display-time-next-load-average):
9457         Doc fixes.
9459         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9460         local setting of buffer-read-only to the input buffer.  (Bug#10419)
9462         * calendar/calendar.el (calendar-mode):
9463         Locally set scroll-margin to 0.  (Bug#10379)
9465 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
9467         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
9469 2012-01-05  Glenn Morris  <rgm@gnu.org>
9471         * eshell/em-unix.el (diff-no-select): Autoload it.
9472         (eshell/diff): Use diff-no-select.  (Bug#10420)
9474 2012-01-05  Chong Yidong  <cyd@gnu.org>
9476         * shell.el (shell-dynamic-complete-functions): Revert last change.
9477         (shell-command-completion-function): New function.
9478         (shell-completion-vars): Use it to implement
9479         shell-completion-execonly (Bug#10417).
9481         * custom.el (enable-theme): Don't set custom-safe-themes.
9483         * cus-theme.el (custom-theme-merge-theme):
9484         Ignore custom-enabled-themes and custom-safe-themes.
9486 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
9488         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9489         first prompt in `sql-interacive-mode'.
9490         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
9491         keywords.
9492         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
9493         (sql-product-interactive): Bug fix: Set `sql-buffer' in
9494         context of original buffer.  Invoke `sql-login-hook'.
9496 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
9498         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9499         letters in cite-prefix.
9501 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9503         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9505 2012-01-03  Chong Yidong  <cyd@gnu.org>
9507         * shell.el (shell-dynamic-complete-functions):
9508         Put pcomplete-completions-at-point, so as to try
9509         comint-filename-completion first (Bug#10417).
9511 2012-01-02  Richard Stallman  <rms@gnu.org>
9513         * battery.el (battery-status-function):
9514         Detect when to use battery-yeeloong-sysfs.
9515         (battery-echo-area-format): Add string for Yeeloong.
9516         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9517         (battery-yeeloong-sysfs): New function.
9519 2012-01-02  Chong Yidong  <cyd@gnu.org>
9521         * dirtrack.el (dirtrack-list): Eliminate unused third element.
9522         (dirtrack): Merge code for handling relative filenames in prompt
9523         from shell-dir-cookie-watcher.
9524         (dirtrack-debug-message): New arg to avoid excess format calls.
9526         * shell.el (shell-dir-cookie-re): Variable deleted.
9527         (shell-dir-cookie-watcher): Function deleted.
9528         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9529         with dirtrack-mode.
9531 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
9533         * term/w32-win.el (dynamic-library-alist) <gnutls>:
9534         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
9535         libgnutls-26.dll.
9537 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
9539         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9541 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
9543         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9544         headers of non-MIME messages, when rmail-enable-mime is non-nil.
9546 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
9548         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9549         also for alternative shells.
9550         (tramp-open-connection-setup-interactive-shell): Check, whether
9551         the shell is a busybox.
9552         (tramp-send-command): Don't suppress multiple prompts for
9553         busyboxes, it hurts.
9555 2011-12-28  Chong Yidong  <cyd@gnu.org>
9557         * progmodes/gdb-mi.el (gdb-get-source-file-list)
9558         (gdb-get-source-file): Move mode line update to
9559         gdb-get-source-file (Bug#10087).
9561 2011-12-25  Chong Yidong  <cyd@gnu.org>
9563         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9564         gud-gdb-marker-filter without taking it as an argument.
9565         (gud-gdb-run-command-fetch-lines): Caller changed.
9566         (gud-gdb-completion-function): New variable.
9567         (gud-gdb-completion-at-point): Use it.
9568         (gud-gdb-completions-1): Split from gud-gdb-completions.
9570         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9571         function as separate arguments.
9572         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9573         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9574         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9575         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9576         (gdb-stopped, def-gdb-auto-update-trigger)
9577         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
9578         (gdb-get-changed-registers, gdb-get-main-selected-frame):
9579         Callers changed.
9580         (gud-gdbmi-completions): New function.
9581         (gdb): Use it for generating the completion table.
9583 2011-12-24  Alan Mackenzie  <acm@muc.de>
9585         Introduce a mechanism to widen the region used in context font
9586         locking.  Use this to protect declarations from losing their contexts.
9588         * progmodes/cc-langs.el (c-before-font-lock-functions):
9589         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
9590         (c-before-context-fontification-functions): New defvar, a list of
9591         functions to be run just before context (etc.) font locking.
9593         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
9594         New, functionality extracted from
9595         c-neutralize-syntax-in-and-mark-CPP.
9596         (c-in-after-change-fontification): New variable.
9597         (c-after-change): Set c-in-after-change-fontification.
9598         (c-set-fl-decl-start): Rejig its interface, so it can be called
9599         from both after-change and context fontifying.
9600         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9601         New functions.
9602         (c-standard-font-lock-fontify-region-function): New variable.
9603         (c-font-lock-fontify-region): New function.
9605 2011-12-24  Juri Linkov  <juri@jurta.org>
9607         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9608         (Bug#10348)
9610 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
9612         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9613         existence of source file.  (Bug#10325)
9615 2011-12-23  Alan Mackenzie  <acm@muc.de>
9617         Fix unstable fontification inside templates.
9619         * progmodes/cc-langs.el (c-before-font-lock-functions):
9620         Newly created from the singular version.  The (c c++ objc) entry now
9621         additionally has c-set-fl-decl-start.  The other languages (apart
9622         from AWK) have that as a single entry.
9624         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9625         The functionality for "local" declarations has been extracted to
9626         c-set-fl-decl-start.
9628         * progmodes/cc-mode.el (c-common-init, c-after-change):
9629         Changes due to pluralisation of c-before-font-lock-functions.
9630         (c-set-fl-decl-start): New function, extracted from
9631         c-font-lock-enclosing-decls and enhanced.
9633 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
9635         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9637 2011-12-22  Juri Linkov  <juri@jurta.org>
9639         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
9641 2011-12-22  Chong Yidong  <cyd@gnu.org>
9643         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9645 2011-12-21  Drew Adams  <drew.adams@oracle.com>
9647         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
9649 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
9651         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9653 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
9655         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
9656         highlighting and support.  Fix up comments for capitalization.
9657         (cfengine-mode-debug): New var.
9658         (cfengine3-mode): Change the modeline indicator to "CFE3".
9659         (cfengine3-font-lock-keywords): Improve defun highlighting.
9660         (cfengine2-actions): Rename from `cfengine-actions'.
9661         (cfengine2-font-lock-keywords): Rename from
9662         `cfengine-font-lock-keywords'.
9663         (cfengine2-imenu-expression): Rename from
9664         `cfengine-imenu-expression'.
9665         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9666         (cfengine2-beginning-of-defun): Rename from
9667         `cfengine-beginning-of-defun'.
9668         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9669         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9670         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
9671         modeline indicator to "CFE2".
9672         (cfengine-mode): Defalias to `cfengine-auto-mode'.
9673         (cfengine-mode-abbrevs): Mark obsolete.
9675 2011-12-21  Chong Yidong  <cyd@gnu.org>
9677         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9678         filename argument.
9680 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
9682         * window.el (window-normalize-buffer-to-display): Remove.
9683         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9685 2011-12-19  Chong Yidong  <cyd@gnu.org>
9687         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9688         Don't signal an error in a predicate function; return non-nil.
9689         (vc-dir-mark-file): Move the error here.
9690         (vc-dir-mark-unmark): If acting on the region, keep going if one
9691         of the entries cannot be marked/unmarked.
9692         (vc-dir-mark-all-files): If current entry is a directory, mark
9693         only child files, as documented.
9695 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9697         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9698         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9699         addition.
9701 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
9703         * term/ns-win.el (ns-get-selection-internal)
9704         (ns-store-selection-internal): Declare.
9705         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9706         Declare as obsolete.
9707         (ns-get-pasteboard, ns-paste-secondary):
9708         Use ns-get-selection-internal.
9709         (ns-set-pasteboard,  ns-copy-including-secondary):
9710         Use ns-store-selection-internal.
9712 2011-12-17  Chong Yidong  <cyd@gnu.org>
9714         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9715         (vc-deduce-fileset): Doc fix.
9717 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
9719         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9721 2011-12-13  Sam Steingold  <sds@gnu.org>
9723         * man.el (Man-getpage-in-background): When running under a
9724         window-system, ignore $MANWIDTH and $COLUMNS.
9726 2011-12-15  Kenichi Handa  <handa@m17n.org>
9728         * language/ethio-util.el: Change coding tag to utf-8-emacs.
9729         (setup-ethiopic-environment-internal): Comment out key-binding for
9730         ethio-toggle-punctuation.
9732 2011-12-13  Alan Mackenzie  <acm@muc.de>
9734         Add the switch statement to AWK Mode.
9736         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
9737         "default" to the keywords regexp.
9739         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
9740         expression as the rest.
9741         (c-nonlabel-token-key): Allow string literals for AWK.
9742         Refactor for the other modes.
9744         Large brace-block initialisation makes CC Mode slow: Fix.
9745         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
9746         routines.  Limit backward searching in c-font-lock-enclosing.decl.
9748         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9749         pp-state and literal type in addition to the limits.
9750         (c-state-safe-place): New defun, extracted from c-state-literal-at.
9751         (c-state-literal-at): Use the above new defun.
9752         (c-slow-in-literal, c-fast-in-literal): Remove.
9753         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
9755         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9756         being in a literal.  Add a limit for backward searching.
9758         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9759         c-slow-in-literal.
9761 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9763         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9765 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
9767         * window.el (delete-other-windows): Use correct frame in call to
9768         window-with-parameter.
9770 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
9772         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9773         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9774         (makefile-gmake-statements, makefile-makepp-statements):
9775         Use it and add new makepp keywords.
9776         (makefile-makepp-font-lock-keywords): Add new patterns.
9777         (makefile-match-function-end): Match new [...] and [[...]].
9779 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
9781         * ses.el (ses-call-printer-return, ses-cell-property-get)
9782         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9783         (ses-create-cell-variable, ses-reset-header-string)
9784         (ses-cell-set-formula, ses-repair-cell-reference-all)
9785         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9786         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9787         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9788         (ses-aset-with-undo, ses-load, ses-truncate-cell)
9789         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9790         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9791         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9792         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9793         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9794         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9795         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9796         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9798 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9800         * ses.el: The overall change is to add cell renaming, that is
9801         setting fancy names for cell symbols other than name matching
9802         "\\`[A-Z]+[0-9]+\\'" regexp .
9803         (ses-create-cell-variable): New defun.
9804         (ses-relocate-formula): Relocate formulas only for cells the
9805         symbols of which are not renamed, i.e. symbols whose names do not
9806         match regexp "\\`[A-Z]+[0-9]+\\'".
9807         (ses-relocate-all): Relocate values only for cells the symbols of
9808         which are not renamed.
9809         (ses-load): Create cells variables as the (ses-cell ...) are read,
9810         in order to check row col consistency with cell symbol name only
9811         for cells that are not renamed.
9812         (ses-replace-name-in-formula): New defun.
9813         (ses-rename-cell): New defun.
9815 2011-12-11  Chong Yidong  <cyd@gnu.org>
9817         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9818         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9820 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
9822         * window.el (other-window): Fix docstring.
9824 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
9826         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
9827         `from' or `to' address before taking its substring.
9828         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
9829         encoded name is chopped in the middle of the encoded string, and
9830         thus displayed encoded.
9832 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
9834         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9836 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
9838         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
9839         to use texinfo-update-node and commands that call it if the
9840         Texinfo file uses @node lines without next/prev/up pointers.
9841         Correct outdated description about texinfo-master-menu.
9842         (texinfo-all-menus-update, texinfo-master-menu)
9843         (texinfo-update-node, texinfo-every-node-update)
9844         (texinfo-multiple-files-update): Doc fix.  Warn against updating
9845         all the @node lines.
9846         (texinfo-master-menu): Only call texinfo-update-node if the prefix
9847         argument is numeric.  Explain better in the doc string what the
9848         function really does.
9849         (texinfo-insert-master-menu-list): Improve the error message
9850         displayed if there's no menu in the Top node.
9851         (Bug#2975)  See also this thread:
9852         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9854 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
9856         * speedbar.el (speedbar-supported-extension-expressions):
9857         Add .adb and .ads, commonly used for Ada source code (bug#10256).
9859 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
9861         * printing.el (pr-mode-alist):
9862         * simple.el (filter-buffer-substring-functions)
9863         (completion-list-insert-choice-function):
9864         * window.el (window-with-parameter, window-atom-root)
9865         (window-sides-slots, window-size-fixed, window-min-delta)
9866         (window-max-delta, window--resize-mini-window)
9867         (window--resize-child-windows-normal, window-tree)
9868         (delete-other-windows, quit-window, split-window)
9869         (display-buffer-record-window, special-display-buffer-names)
9870         (special-display-regexps, special-display-popup-frame)
9871         (same-window-p, split-window-sensibly)
9872         (display-buffer-overriding-action, display-buffer-alist)
9873         (display-buffer-base-action, display-buffer, switch-to-buffer)
9874         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9875         (fit-window-to-buffer, recenter-positions)
9876         (mouse-autoselect-window-state, mouse-autoselect-window-select):
9877         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9878         and remove unneeded backslashes in docstrings.
9880 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9882         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9884         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9885         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9886         end in ".mk".
9887         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9888         when reading the makefile (bug#10116).
9890 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9892         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9893         (bug#10116).
9895 2011-12-06  Glenn Morris  <rgm@gnu.org>
9897         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9899 2011-12-06  Chong Yidong  <cyd@gnu.org>
9901         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9903 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
9905         * textmodes/table.el (table-shorten-cell): Fix typo.
9907 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
9909         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9911 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
9913         * descr-text.el (describe-char): Fix display of strong
9914         right-to-left characters and directional embeddings and overrides.
9916         * simple.el (what-cursor-position): Fix display of codepoints of
9917         strong right-to-left characters.
9919 2011-12-05  Chong Yidong  <cyd@gnu.org>
9921         * faces.el (read-color): Doc fix.
9923 2011-12-05  Glenn Morris  <rgm@gnu.org>
9925         * align.el (align--set-marker): Add doc-string.
9926         Don't try to move something that is not a marker.  (Bug#10216)
9928 2011-12-04  Glenn Morris  <rgm@gnu.org>
9930         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9931         overly zealous deletion of trailing whitespace.
9933 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
9935         * server.el (server-delete-client): On Windows, do not try to delete
9936         the only terminal.
9937         (server-process-filter): On Windows, treat requests for a tty frame as
9938         if they were for a GUI frame if the running server is in GUI mode.
9940 2011-12-03  Glenn Morris  <rgm@gnu.org>
9942         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
9944 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9946         * electric.el: Streamline electric-indent's hook.
9947         (electric-indent-chars): Revert to simple list.
9948         (electric-indent-functions): New var.
9949         (electric-indent-post-self-insert-function): Use it.
9951         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9952         there's no inferior buffer (bug#10196).
9953         (prolog-consult-compile): Don't use toggle-read-only.
9955 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
9957         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9958         interrupt.  (Bug#10187)
9960 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9962         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9963         (bug#9160).
9965         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9966         (bug#10191).
9968 2011-12-02  Juri Linkov  <juri@jurta.org>
9970         * info.el (Info-search): Display "end of manual" when Isearch
9971         reaches the end of single-file Info manual.  (Bug#9918)
9973 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
9975         * isearch.el (isearch-message-prefix): Run the input method part
9976         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
9978 2011-12-02  Juri Linkov  <juri@jurta.org>
9980         * isearch.el (isearch-occur): Use `word-search-regexp' for
9981         `isearch-word'.
9982         (isearch-search-and-update): Add condition for `isearch-word' and
9983         call `word-search-regexp'.  (Bug#10145)
9985 2011-12-01  Glenn Morris  <rgm@gnu.org>
9987         * eshell/em-hist.el (eshell-hist-initialize):
9988         Handle eshell-history-size nil and HISTSIZE set or unset.
9989         (eshell-history-file-name, eshell-history-size): Fix custom type.
9991 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9993         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9995 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
9997         * progmodes/verilog-mode.el (verilog-pretty-expr):
9998         Rework verilog-pretty-expr to handle new assignment operators in system
9999         verilog, such as += *= and the like.
10000         (verilog-assignment-operator-re): Regular expression to find the
10001         assigment operator in a verilog assignment.
10002         (verilog-assignment-operation-re): Regular expression to find an
10003         assignment statement for pretty-expr.
10004         (verilog-in-attribute-p): Query returns true if point is in an
10005         attribute context; used to skip these for expression line up from
10006         pretty-expr.
10007         (verilog-in-parameter-p): Query returns true if point is in an
10008         parameter definition context; used to skip these for expression
10009         line up from pretty-expr.
10010         (verilog-in-parenthesis-p): Query returns true if point is in a
10011         parenthetical expression, specifically ( ) but not [ ] or { };
10012         used by pretty-expr.
10013         (verilog-just-one-space): If there is no space, don't add one.
10014         (verilog-get-lineup-indent-2): Specifically skip just attribute
10015         contexts for expression lineup, rather than skipping all
10016         parenthetical expressions.
10017         (verilog-calculate-indent): Fix comment, and fix indent.
10018         (verilog-do-indent): Indent declarations in lists (suggested by
10019         Joachim Lechner).
10020         (verilog-mode-abbrev-table): Populate abbrev mode with the various
10021         skeleton items.
10022         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10023         by Alain Mellan).
10025 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
10027         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10028         parameters with embedded comments.  Reported by Ray Stevens.
10029         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10030         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10031         Reported by Tim Holt.
10032         (verilog-auto): Fix AUTOing a upper module then AUTOing module
10033         instantiated by upper module causing wrong expansion until AUTOed a
10034         second time.  Reported by K C Buckenmaier.
10035         (verilog-diff-auto): Fix showing .* as a difference when
10036         `verilog-auto-star-save' off.  Reported by Dan Dever.
10037         (verilog-auto-reset, verilog-read-always-signals)
10038         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10039         temporary signals in reset list if
10040         verilog-auto-reset-blocking-in-non is nil, and match assignment
10041         style to each signal's assignment type, bug381.
10042         Reported by Thomas Esposito.
10043         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10044         (verilog-uvm-statement-re): Support UVM indentation and
10045         highlighting, with old OVM keywords only.
10046         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10047         Support AUTOTIEOFF creating non-wire data types.
10048         Suggested by Jonathan Greenlaw.
10049         (verilog-auto-insert-lisp, verilog-delete-to-paren)
10050         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10051         (verilog-inject-sense, verilog-read-inst-pins)
10052         (verilog-read-sub-decls, verilog-read-sub-decls-line):
10053         Fix mismatching parenthesis inside commented out code when deleting
10054         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
10055         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10056         non-numeric vector width.  Reported by Alex Reed.
10057         (verilog-auto-ascii-enum): Add "onehot" option to work around not
10058         detecting signals with parameter widths.  Reported by Alex Reed.
10059         (verilog-auto-delete-trailing-whitespace):
10060         With `verilog-auto-delete-trailing-whitespace' remove trailing
10061         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
10062         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10063         Fix verilog-scan-cache corruption when running user AUTO expansion
10064         hooks that call indentation routines.
10065         (verilog-simplify-range-expression): Fix typo ignoring lower case
10066         identifiers.
10067         (verilog-delete-auto): Fix delete-autos to also remove user created
10068         automatics, as long as they start with AUTO.
10069         (verilog-batch-diff-auto, verilog-diff-auto)
10070         (verilog-diff-function): Add `verilog-diff-auto' and bind to
10071         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
10072         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10073         (verilog-in-paren-quick, verilog-re-search-backward-quick)
10074         (verilog-re-search-forward-quick, verilog-syntax-ppss):
10075         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10076         is disabled and its cache will get corrupt, causing AUTOS not to
10077         expand.  Instead use only -quick functions.
10078         (verilog-scan-region): Fix scanning over escaped quotes.
10079         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10080         (verilog-re-search-backward-quick)
10081         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10082         related functions now ignore strings, to fix misparsing of strings
10083         with magic comments embedded in them.
10084         (verilog-read-auto-template):
10085         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10086         Reported by Brad Dobbie.
10087         (verilog-read-auto-template):
10088         Fix 'verilog-auto-inst-template-numbers' with comments.
10089         Reported by Brad Dobbie.
10090         (verilog-auto-inst, verilog-auto-inst-param)
10091         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10092         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
10093         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10094         debugging templates without merge conflicts, bug357.
10095         Reported by Brad Dobbie.
10096         (verilog-read-auto-template):
10097         Fix verilog-auto-inst-template-numbers with multiple templates.
10098         Reported by Brad Dobbie.
10099         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10100         abbrevs so user won't be asked to save.
10101         (verilog-read-auto-lisp-present): Fix to start at beginning of
10102         buffer in case called outside of verilog-auto.
10103         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10104         to "X-2".  Reported by Matthew Myers.
10105         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10106         all inputs from module templates.  Reported by Leith Johnson.
10107         (verilog-module-inside-filename-p): Fix locating programs as with
10108         modules.
10109         (verilog-auto-inst-port): Fix vl-width expressions when using
10110         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
10111         (verilog-decls-get-regs, verilog-decls-get-signals,
10112         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10113         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10114         verilog-read-decls): Combine reg and wire structures into one var
10115         structure to represent SystemVerilog concepts.
10116         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10117         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10118         (verilog-auto-wire-type, verilog-insert-definition):
10119         Add verilog-auto-wire-type and AUTOLOGIC to support using
10120         SystemVerilog "logic" keyword instead of "wire"/"reg".
10121         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10122         to declares outputs that also have assignments (presumably in an
10123         ifdef or generate if so there's not a driver conflict).
10124         Reported by Matthew Myers.
10125         (verilog-auto-declare-nettype, verilog-insert-definition):
10126         Add verilog-auto-declare-nettype to fix declarations using
10127         `default_nettype none.  Reported by Julian Gorfajn.
10128         (verilog-read-always-signals-recurse, verilog-read-decls)
10129         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10130         malformed end statement, bug325.  Reported by Joshua Wise and
10131         Andrew Drake.
10132         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10133         (verilog-inst-comment-re): Fix not deleting Interfaced comment
10134         when expanding .* in interfaces, bug320.
10135         Reported by Pierre-David Pfister.
10136         (verilog-read-module-name): Fix import statements between module
10137         name and open parenthesis, bug317.
10138         Reported by Pierre-David Pfister.
10139         (verilog-simplify-range-expression): Fix simplification of
10140         multiplications inside AUTOWIRE connections, bug303.
10141         (verilog-auto-inst-port): Support parameter expansion in
10142         multidimensional arrays.
10143         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10144         after "assert property".  Reported by Julian Gorfajn.
10145         (verilog-simplify-range-expression): Fix "couldn't merge" errors
10146         with multiplication, bug303.
10147         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10148         Reported by Jan Frode Lonnum.
10150 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
10152         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10153         (hfy-shell-file-name, hfy-shell):
10154         * international/fontset.el (x-decompose-font-name): Fix typos.
10156 2011-11-29  Ken Brown  <kbrown@cornell.edu>
10158         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10159         (gdb-version): Remove defvar.
10160         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10161         (gdb-gud-context-command, gdb-non-stop-handler)
10162         (gdb-current-context-command, gdb-stopped): Use it.
10163         (gdb-init-1): Enable pretty printing here.
10164         (gdb-non-stop-handler): Don't enable pretty-printing here.
10165         Check to see if the target supports non-stop mode; if not, turn off
10166         non-stop mode.  Use the following.
10167         (gdb-check-target-async): New defun.
10168         (gud-watch, gdb-stopped): Fix whitespace.
10169         (gdb-get-source-file): Don't try to display the source file if
10170         `gdb-main-file' is nil.
10172 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10174         * align.el: Try to generate fewer markers (bug#10047).
10175         (align--set-marker): New macro.
10176         (align-region): Use it.
10178 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10180         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10182 2011-11-29  Chong Yidong  <cyd@gnu.org>
10184         * indent.el (indent-for-tab-command, indent-according-to-mode):
10185         Doc fix.
10186         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
10188 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
10190         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10191         aware of remote file names.  (Bug#10124)
10193 2011-11-29  Chong Yidong  <cyd@gnu.org>
10195         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10197 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10199         * files.el (find-file): Don't use force-same-window (bug#10144).
10200         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10201         use pop-to-buffer if the selected window can't be used.
10202         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10204 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
10206         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10207         special-mode-map.
10209 2011-11-28  Chong Yidong  <cyd@gnu.org>
10211         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10213 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
10215         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10216           gdb-get-source-file-list on gdb-create-source-file-list.
10218 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
10220         * whitespace.el (whitespace-newline): Use a different foreground
10221         color for 16-color light-background displays.
10223 2011-11-24  Chong Yidong  <cyd@gnu.org>
10225         * window.el (display-buffer--special-action): Doc fix.
10227 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
10229         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10230         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10231         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10232         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10233         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10234         (avl-tree-stack-first):
10235         * emacs-lisp/cconv.el (cconv--analyse-use):
10236         * net/gnutls.el (gnutls-negotiate): Fix typos.
10238 2011-11-24  Glenn Morris  <rgm@gnu.org>
10240         * lpr.el (lpr-windows-system, lpr-lp-system):
10241         * mail/binhex.el (binhex-begin-line):
10242         * progmodes/grep.el (grep-history, grep-find-history):
10243         * textmodes/flyspell.el:
10244         * vc/pcvs-defs.el (cvs-global-menu):
10245         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10246         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10247         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10249         * net/tls.el: Fix case of "GnuTLS".
10251         * paths.el (rmail-file-name): Format doc-string for make-docfile.
10253         * version.el (emacs-build-system): Give it a doc-string.
10255 2011-11-24  Juri Linkov  <juri@jurta.org>
10257         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10259 2011-11-24  Glenn Morris  <rgm@gnu.org>
10261         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10262         if called on a non-mime message just toggle the headers.  (Bug#8006)
10264 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
10266         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10267         (allout-lead-with-comment-string, allout-structure-deleted-hook)
10268         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10269         (allout-rebullet-heading, allout-open-sibtopic)
10270         (allout-toggle-current-subtree-encryption)
10271         (allout-toggle-subtree-encryption, allout-encrypt-string)
10272         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10273         (allout-distinctive-bullets-string, allout-auto-activation):
10274         * window.el (window-normalize-buffer-to-display):
10275         * progmodes/verilog-mode.el (verilog-batch-indent):
10276         * textmodes/bibtex.el (bibtex-field-braces-opt)
10277         (bibtex-field-strings-opt):
10278         * vc/cvs-status.el (cvs-tree-merge):
10279         Fix typos.
10281 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
10283         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10284         `non-essential' to t, in order to avoid remote connections.
10286 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
10288         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10289         On MS-DOS and MS-Windows, compare with loaddefs.el
10290         case-insensitively.
10292 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10294         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
10296 2011-11-23  Glenn Morris  <rgm@gnu.org>
10298         * paths.el (rmail-file-name): Reformat the doc-string so that it
10299         is picked up.
10301         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10302         (rmail-auto-file): Ignore case in the "special" field names,
10303         as mail-fetch-field does for all others.
10305         * mail/rmail.el (rmail-forward):
10306         * mail/rmailkwd.el (rmail-set-label):
10307         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10308         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
10310         * mail/rmail.el (rmail-current-message): Doc fix.
10312         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
10314 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10316         * server.el (server-eval-and-print): Allow C-g (bug#6585).
10318 2011-11-22  Glenn Morris  <rgm@gnu.org>
10320         * mail/rmailmm.el (test-rmail-mime-handler)
10321         (test-rmail-mime-bulk-handler)
10322         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10324 2011-11-21  Juri Linkov  <juri@jurta.org>
10326         * calc/calc.el (calc-read-key-sequence):
10327         Let-bind `input-method-function' to nil.  (Bug#10018)
10329 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10331         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10332         Tell the caller that the next line needs recomputation, even
10333         though it doesn't start a sexp (bug#10094).
10335 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10337         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10339 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10341         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10342         Use force-same-window.
10344 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
10346         * descr-text.el (describe-char-unicode-data):
10347         * json.el (json-string-escape):
10348         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10349         (Footnote-unicode, Footnote-style-p):
10350         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10352 2011-11-20  Chong Yidong  <cyd@gnu.org>
10354         * window.el (replace-buffer-in-windows): Restore interactive spec.
10356 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10358         * electric.el (electric-indent-mode): Fix last change (too optimistic).
10360         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10361         (byte-compile-global-not-obsolete-vars): New var.
10362         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10363         Use it.
10364         (byte-compile-warn-obsolete): Align text with the one in *Help*.
10366 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
10368         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10369         * progmodes/pascal.el (electric-pascal-equal):
10370         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10371         * xml.el (xml-substitute-special): Fix typos.
10373 2011-11-20  Glenn Morris  <rgm@gnu.org>
10375         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10376         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10377         Doc fixes.
10378         (rmail-decode-mime-charset): Mark as obsolete.
10380         * mail/rmailsum.el (rmail-message-regexp-p-1):
10381         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10382         Before using mime functions, check they are set.  (Bug#10077)
10384 2011-11-19  Juri Linkov  <juri@jurta.org>
10386         * info.el (Info-finder-find-node): Use `package--builtins' instead
10387         of `package-alist'.  Use node names formed by the pattern "Keyword "
10388         and the keyword name.
10390 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
10392         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10394 2011-11-19  Juri Linkov  <juri@jurta.org>
10396         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10397         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
10398         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10399         `old-history', `old-history-forward'.  Add let-binding
10400         `window-selected'.  Remove calls to `kill-buffer',
10401         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
10402         before calling `Info-find-node', so `Info-find-node-2' will reread
10403         the Info file.  Restore window positions only when `window-selected'
10404         is non-nil.
10406 2011-11-19  Juri Linkov  <juri@jurta.org>
10408         * isearch.el (isearch-lazy-highlight-new-loop):
10409         Remove condition `(not isearch-error)'.  (Bug#9918)
10411         * misearch.el (multi-isearch-search-fun): Add condition
10412         `(not bound)' to ignore lazy-highlighting search.
10413         Add the search-failed message "end of multi" when the end of
10414         multi-sequence is reached.  Uncapitalize the search-failed
10415         message "Repeat for next buffer".
10417         * info.el (Info-search): Add the search-failed message
10418         "end of the manual" when the end of the manual is reached
10419         in Isearch mode.
10421 2011-11-19  Juri Linkov  <juri@jurta.org>
10423         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10424         Use non-destructive `remove' instead of `delete' because
10425         `Info-history-list' stored to `Info-isearch-initial-history-list' in
10426         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10428 2011-11-19  Juri Linkov  <juri@jurta.org>
10430         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10431         to nil instead of binding `search-ring' and `regexp-search-ring'.
10432         (Bug#9185)
10434 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
10436         * simple.el (line-move): Force movement by logical lines for any
10437         hscrolled window, not only when auto-hscroll-mode is on.
10438         (line-move-visual): Update doc string to that effect.  (Bug#10076)
10440 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
10442         * language/european.el (macintosh): Define as alias for mac-roman.
10444 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
10446         * mail/rmailmm.el (rmail-mime-display-header)
10447         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10448         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10449         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10450         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10451         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10452         of a raw aref.
10453         (rmail-mime-entity-segment): To get past the tagline, move forward
10454         2 more lines, to account for the 2 empty lines that precede and
10455         follow the line with the buttons.
10456         (rmail-mime-update-tagline): Move one more line, to get past the
10457         empty line that follows the buttons in the tagline.  (Bug#9520)
10459 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
10461         * window.el (window-max-delta-1, window-min-delta-1)
10462         (window-min-size-1, window-state-get-1, window-state-put-1)
10463         (window-state-put-2): Use "window--" prefix.
10465 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10467         * emacs-lisp/smie.el: Improve warnings and conflict detection.
10468         (smie-warning-count): New var.
10469         (smie-set-prec2tab): Use it.
10470         (smie-bnf->prec2): Improve warnings.  Add docstring.
10471         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10472         (smie-bnf--set-class): New function.
10473         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
10474         corner case.
10476         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10477         (compilation-error-properties, compilation-move-to-column):
10478         Handle compilation-first-column while in the target buffer.
10480         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10481         Don't hardcode point-min==1.
10483         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10484         (eshell-rewrite-for-command): Remove workaround.
10485         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10486         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10487         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10489         * files-x.el (modify-file-local-variable): Obey commenting conventions.
10491 2011-11-17  Glenn Morris  <rgm@gnu.org>
10493         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10494         Ignore buffer-local generated-autoload-file if it is the same
10495         as the global value.  (Bug#10049)
10497 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
10499         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10500         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10501         (reftex-toc-previous-heading, reftex-toc-max-level)
10502         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10503         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10504         (reftex-toc-do-promote, reftex-toc-promote-prepare)
10505         (reftex-toc-promote-action, reftex-toc-extract-section-number)
10506         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10507         (reftex-toc-rename-label, reftex-toc-visit-location)
10508         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10509         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10510         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10511         leaving "*toc*" only for references to the buffer.
10513 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
10515         * window.el (window-resize, delete-window, split-window):
10516         Replace window-splits by window-combination-resize.
10517         * cus-start.el (window-splits): Replace by window-combination-resize.
10519 2011-11-17  Glenn Morris  <rgm@gnu.org>
10521         * progmodes/sh-script.el (sh-font-lock-keywords-var):
10522         Make bash entry derive from sh entry, not shell entry.
10524 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
10526         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10527         local file name.
10529 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
10531         * menu-bar.el (menu-bar-file-menu):
10532         * printing.el (pr-ps-utility):
10533         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10534         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10535         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10536         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10537         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10538         (icalendar--convert-cyclic-to-ical)
10539         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10540         (icalendar--convert-ical-to-diary)
10541         (icalendar--convert-recurring-to-diary)
10542         (icalendar--convert-non-recurring-all-day-to-diary)
10543         (icalendar-import-format-sample):
10544         * progmodes/idlw-shell.el (idlwave-shell-mode):
10545         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10546         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10547         (vhdl-ps-print-init): Fix typos.
10549 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
10551         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10552         FSF and collapse date sequence, obscure author/maintainer email address
10553         better, remove extra version line, track relocation of author's webpage.
10555         * progmodes/python.el (python-pdbtrack-input-prompt)
10556         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10557         regular python pdb prompts.  Adjustments shamelessly taken exactly as
10558         suggested in EmacsWiki page (tiny change):
10559         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
10561 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
10563         * expand.el (expand-pos, expand-index, expand-point):
10564         Remove redundant info from docstring.
10565         (expand-add-abbrevs): Doc fix.
10566         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10567         (expand-sample-perl-mode-expand-list): Fix typos.
10569         * net/dbus.el (dbus-event-member-name):
10570         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10571         * term/pc-win.el (msdos-create-frame-with-faces):
10572         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10574 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
10576         * window.el (split-window, window-state-get-1)
10577         (window-state-put-1, window-state-put-2): Rename occurrences of
10578         window-nest to window-combination-limit.
10579         * cus-start.el (window-nest): Rename to window-combination-limit.
10581 2011-11-16  Chong Yidong  <cyd@gnu.org>
10583         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10584         regexp (Bug#10033).
10586 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10588         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10589         `completing-read' will remove *Completions* and will preserve
10590         current-buffer for us.
10591         (tmm-add-prompt): Users of *Completions* will always (re)set its
10592         major mode.
10593         (tmm-old-comp-map): Remove.
10595 2011-11-16  Glenn Morris  <rgm@gnu.org>
10597         * mail/rmailedit.el: Require rmailmm when compiling.
10598         (rmail-old-mime-state): New declaration.
10599         (rmail-edit-current-message): If editing a mime message,
10600         edit the "raw" message from the mbox buffer.
10601         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
10603 2011-11-15  Glenn Morris  <rgm@gnu.org>
10605         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10606         which wasn't being used.  Add optional arg to force given state.
10607         (rmail-mime): Add optional arg to force given state.
10609 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
10611         * allout.el (allout-encryption-plaintext-sanitization-regexps):
10612         * frame.el (display-mm-dimensions-alist):
10613         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10614         (outline-move-subtree-down):
10615         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10616         (newsticker--treeview-do-get-node):
10617         * net/quickurl.el (quickurl-list-buffer-name):
10618         * progmodes/dcl-mode.el (dcl-mode):
10619         * progmodes/gdb-mi.el (gdb-mapcar*):
10620         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10622 2011-11-15  Glenn Morris  <rgm@gnu.org>
10624         * mail/rmail.el (rmail-file-coding-system): It's only ever used
10625         in a boolean sense, so just make it a boolean, and fix the doc.
10626         (rmail-show-mime-function, rmail-mime-feature)
10627         (rmail-require-mime-maybe): Doc fixes.
10628         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10630         * mail/rmailmm.el (rmail-show-mime): Doc fix.
10632 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
10634         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10635         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10636         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10637         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10639 2011-11-15  Glenn Morris  <rgm@gnu.org>
10641         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10642         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10643         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10644         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10645         (rmail-mime, rmail-show-mime): Doc fixes.
10647         * term/ns-win.el (mode-line-frame-identification):
10648         Leave it alone.  (Bug#10051)
10650         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
10652         * mail/rmailout.el (rmail-output-to-rmail-buffer):
10653         Handle empty buffers.  (Bug#9978)
10655 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
10657         * international/mule.el (define-charset):
10658         * mail/rmailmm.el (rmail-mime-find-header-encoding):
10659         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10660         * progmodes/verilog-mode.el (verilog-backward-token):
10661         * textmodes/ispell.el (lookup-words):
10662         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10664 2011-11-14  Glenn Morris  <rgm@gnu.org>
10666         * progmodes/executable.el
10667         (executable-make-buffer-file-executable-if-script-p):
10668         Handle file-modes returning nil.
10670         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10671         message - not necessary, and causes problems.  (Bug#9831)
10673         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10675         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10677         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10678         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
10679         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10681 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
10683         * window.el (window-resize, delete-window): Use window-splits
10684         variable instead of function.
10685         (window-state-get-1, window-state-put-2, window-state-put):
10686         Don't deal with windows' splits status.
10688 2011-11-12  Glenn Morris  <rgm@gnu.org>
10690         * apropos.el (apropos-do-all, apropos-library, apropos-value)
10691         (apropos-documentation): Doc fixes.
10693 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
10695         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10696         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10698 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10700         * electric.el (electric-indent-post-self-insert-function): Make it
10701         possible for a char to only indent in some circumstances.
10702         (electric-indent-mode): Simplify.
10704 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
10706         * window.el (windows-with-parameter): Remove unused function.
10707         (windows-at-side): Rename to window-at-side-list.
10708         (window-check, window-atom-check, window-atom-check-1)
10709         (window-side-check, window-size-ignore, window-size-fixed-1)
10710         (window-in-direction-2): Prefix with "window--".
10711         (window-tree-1): Rename to window--subtree, fix doc-string.
10713 2011-11-11  Glenn Morris  <rgm@gnu.org>
10715         * subr.el (eval-after-load): If FILE is already loaded,
10716         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
10718 2011-11-10  Glenn Morris  <rgm@gnu.org>
10720         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10721         Call svn via vc-svn-command rather than vc-do-command.
10722         (vc-svn-command): Add --non-interactive.  (Bug#9993)
10723         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10725         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10726         Add toggle-read-only.  (Bug#7292)
10727         * files.el (toggle-read-only): Mention that it should only
10728         be used interactively.  (Bug#10006)
10730 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10732         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10733         Adjust regexp for OCaml warnings.
10735         * electric.el (electric-pair-post-self-insert-function): Let user
10736         turn it off buffer-locally (bug#9932).
10738         * progmodes/python.el (python-beginning-of-statement):
10739         Rewrite (bug#2703).
10741         * progmodes/compile.el: Better handle TABs (bug#9749).
10742         (compilation-internal-error-properties)
10743         (compilation-next-error-function): Obey the target buffer's
10744         compilation-error-screen-columns.
10746 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
10748         * progmodes/meta-mode.el: Remove obsolete comments.
10749         (meta-right-comment-regexp, meta-ignore-comment-regexp):
10750         Fix typos in docstrings.
10752 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
10754         * window.el (window-size-fixed-p): Rewrite doc-string.
10755         (window-resizable-p): Rename to window--resizable-p.  Update callers.
10756         (window--resizable): New function.  Make all callers of
10757         window-resizable call window--resizable instead.
10758         (window-resizable): Rewrite in terms of window--resizable.
10760 2011-11-08  Glenn Morris  <rgm@gnu.org>
10762         * progmodes/delphi.el (delphi-mode-syntax-table):
10763         Let define-derived-mode define a proper syntax table.  (Bug#9994)
10765 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10767         * window.el: Stay away from defsubst.
10768         (window-list-no-nils): Remove.
10769         (window-state-get-1, window-state-get): Use backquote instead.
10771 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10773         * emacs-lisp/find-func.el (find-function-read):
10774         Fix incorrect use of default argument in `completing-read'.
10776 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
10778         * window.el (display-buffer-function, special-display-function):
10779         Mention display-buffer-record-window but do not mention
10780         help-setup parameter in doc-strings.
10781         (window-min-delta): Fix doc-string typo.
10783 2011-11-08  Chong Yidong  <cyd@gnu.org>
10785         * window.el (window-total-height, window-total-width): Doc fix.
10786         (window-body-size): Move from C.
10787         (window-body-height, window-body-width): Move to C.
10789 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10791         * window.el: Make special-display like display-buffer-alist (bug#9532).
10792         (display-buffer--special-action): New function, morphed
10793         from display-buffer--special.
10794         (display-buffer): Use it to handle special-display-buffers at higher
10795         priority (just after display-buffer-alist).
10796         (display-buffer-fallback-action, display-buffer--other-frame-action)
10797         (pop-to-buffer-same-window): Remove display-buffer--special.
10799 2011-11-07  Glenn Morris  <rgm@gnu.org>
10801         * calendar/cal-menu.el (cal-menu-set-date-title):
10802         Do nothing if not in a calendar.  (Bug#9976)
10804 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10806         * files.el (find-file): Always use selected-window.
10808 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
10810         * window.el (window-combinations): Make WINDOW argument
10811         mandatory.  Rewrite doc-string.
10812         (walk-window-subtree, window-atom-check, window-min-delta)
10813         (window-max-delta, window--resize-this-window)
10814         (window--resize-root-window-vertically, window-tree)
10815         (balance-windows, window-state-put): Rewrite doc-strings as to
10816         not mention the term "subwindow".
10817         (window--resize-subwindows-skip-p): Rename to
10818         window--resize-child-windows-skip-p.
10819         (window--resize-subwindows-normal): Rename to
10820         window--resize-child-windows-normal.
10821         (window--resize-subwindows): Rename to
10822         window--resize-child-windows.
10823         (window-or-subwindow-p): Rename to window--in-subtree-p.
10825 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10827         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10828         Ensure that mbox format messages end in two newlines (Bug#9974).
10830 2011-11-06  Chong Yidong  <cyd@gnu.org>
10832         * window.el (window-combination-p): Function deleted; its
10833         side-effect is not used in any existing code.
10834         (window-combinations, window-combined-p): Call window-*-child
10835         directly.
10837 2011-11-05  Chong Yidong  <cyd@gnu.org>
10839         * window.el (window-valid-p): Rename from window-any-p.
10840         (window-size-ignore, window-state-get): Callers changed.
10841         (window-normalize-window): Rename from window-normalize-any-window.
10842         New arg LIVE-ONLY, replacing window-normalize-live-window.
10843         (window-normalize-live-window): Delete.
10844         (window-combination-p, window-combined-p, window-combinations)
10845         (walk-window-subtree, window-atom-root, window-min-size)
10846         (window-sizable, window-sizable-p, window-size-fixed-p)
10847         (window-min-delta, window-max-delta, window-resizable)
10848         (window-resizable-p, window-full-height-p, window-full-width-p)
10849         (window-current-scroll-bars, window-point-1, set-window-point-1)
10850         (window-at-side-p, window-in-direction, window-resize)
10851         (adjust-window-trailing-edge, maximize-window, minimize-window)
10852         (window-deletable-p, delete-window, delete-other-windows)
10853         (record-window-buffer, unrecord-window-buffer)
10854         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10855         (quit-window, split-window, window-state-put)
10856         (set-window-text-height, fit-window-to-buffer)
10857         (shrink-window-if-larger-than-buffer): Callers changed.
10859 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
10861         * mail/rmail.el (rmail-simplified-subject): Decode subject with
10862         rfc2047-decode-string.
10863         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10864         warnings.
10866         * window.el (window-body-height, window-body-width): Mention in
10867         the doc string that the return values are in frame's canonical
10868         units.  (Bug#9949)
10870 2011-11-03  Alan Mackenzie  <acm@muc.de>
10872         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10873         change in cc-engine.el.
10875 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10877         * window.el (switch-to-buffer): Use `force-same-window' interactively.
10879 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
10881         * window.el (quit-window): Call unrecord-window-buffer after
10882         showing another buffer in the window.  (Bug#9937)
10883         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
10885 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
10887         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10888         Accept status with more than 9 shelves.  (Bug#9935)
10889         Reported by Colin D Bennett <colin@gibibit.com>.
10891 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
10893         * help.el (with-help-window): Don't reference
10894         temp-buffer-show-specifiers in doc-string.
10896 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10898         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10899         menu-item.
10901 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10903         * whitespace.el: New version 13.2.2.
10904         (whitespace-newline-mode): Disable properly.  Reported by Sarah
10905         <EmacsWiki>.
10907 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
10909         * net/newst-treeview.el: Remove "Time-stamp".
10910         (newsticker--group-manage-orphan-feeds): Do not call
10911         newsticker--treeview-tree-update.
10912         (newsticker-treeview-update, newsticker-treeview):
10913         Call newsticker--treeview-tree-update if necessary.
10915 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
10917         * window.el (window-iso-combination-p, window-iso-combined-p)
10918         (window-iso-combinations): Remove "iso-" infix.
10919         Suggested by Chong Yidong.
10920         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10921         (window-max-delta-1, window-resize, window--resize-siblings)
10922         (window--resize-this-window, adjust-window-trailing-edge)
10923         (split-window, balance-windows-1)
10924         (shrink-window-if-larger-than-buffer):
10925         * calendar/calendar.el (calendar-generate-window):
10926         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
10928 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10930         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10931         in place (bug#9907).
10932         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10933         (eshell-rewrite-if-command, eshell-rewrite-for-command)
10934         (eshell-structure-basic-command, eshell-rewrite-while-command)
10935         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10936         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10937         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10938         (eshell-do-pipelines-synchronously, eshell-eval-command):
10939         Use backquotes and prefer setq to set.
10940         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10941         (eshell-macrop): Use functionp.
10942         (eshell-do-eval): Handle multiple expressions in `while' body.
10944 2011-10-30  Chong Yidong  <cyd@gnu.org>
10946         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10947         instead of set-mark (Bug#9810).
10949 2011-10-30  Chong Yidong  <cyd@gnu.org>
10951         * window.el (split-window-below, split-window-right): Rename from
10952         split-window-above-each-other and split-window-side-by-side
10953         respectively.  All callers changed.
10954         (split-window-sensibly, split-window-sensibly): Use them.
10955         (split-window-keep-point): Doc fix.
10957         * isearch.el: Add isearch-scroll property to split-window-below
10958         and split-window-right.
10960         * follow.el (follow-mode):
10961         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10962         * progmodes/ada-xref.el (ada-gdb-application):
10963         * emulation/vip.el (vip-buffer-in-two-windows):
10964         * image-dired.el (image-dired-dired-with-window-configuration):
10965         * dired-x.el (dired-do-find-marked-files):
10966         * dired.el (dired-pop-to-buffer):
10967         * bs.el (bs--show-with-configuration):
10968         * vc/emerge.el (emerge-setup-windows):
10969         * textmodes/two-column.el (2C-two-columns):
10970         * textmodes/reftex-toc.el (reftex-toc):
10971         * progmodes/gdb-mi.el (gdb-setup-windows):
10972         * progmodes/fortran.el (fortran-window-create):
10973         * net/newst-treeview.el (newsticker--treeview-window-init):
10974         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10975         * emulation/tpu-edt.el (tpu-gold-map):
10976         * emulation/crisp.el (crisp-mode-map):
10977         * calendar/calendar.el (calendar-basic-setup): Callers changed.
10979 2011-10-29  Chong Yidong  <cyd@gnu.org>
10981         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10983         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10985         * textmodes/flyspell.el (flyspell-word): Fix char offset for
10986         forged Ispell output (Bug#7904).
10988         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10990 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10992         * doc-view.el: Avoid ugly errors about not finding nil.
10993         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10994         (doc-view-dvipdf-program, doc-view-unoconv-program)
10995         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10996         Avoid nil or absolute file name as default value.
10997         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10999 2011-10-28  Alan Mackenzie  <acm@muc.de>
11001         * progmodes/cc-defs.el (c-version): -> 5.32.2.
11003 2011-10-28  Alan Mackenzie  <acm@muc.de>
11005         Amend the handling of c-beginning/end-of-defun in nested declaration
11006         scopes.
11008         * progmodes/cc-vars.el (c-defun-tactic): Move here from
11009         cc-langs.el.  Change it to a defcustom.
11011         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11012         cc-vars.el.
11014         * progmodes/cc-engine.el (c-beginning-of-statement-1):
11015         Prevent "class foo : bar" being spuriously recognized as a label.
11017         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11018         Add parameter `inclusive' (to include enclosing braces in the region).
11019         (c-widen-to-enclosing-decl-scope): New function.
11020         (c-while-widening-to-decl-block): New macro.
11021         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11022         outward for defun boundaries, and correspondingly change symbol
11023         `respect-enclosure' to `go-outward'.
11024         (c-declaration-limits): Change algorithm to report only the "innermost"
11025         defun's boundaries.
11027 2011-10-28  Deniz Dogan  <deniz@dogan.se>
11029         * net/rcirc.el (rcirc-mode): Use hard newlines.
11031 2011-10-28  Alan Mackenzie  <acm@muc.de>
11033         Amend to indent and fontify macros "which include their own semicolon"
11034         correctly, using the "virtual semicolon" mechanism.
11036         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11038         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11039         Recode to scan one line at a time rather than having \n and \r
11040         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11041         (c-forward-label): Amend for virtual semicolons.
11042         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11044         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11045         of the new C macros.
11047         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11048         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11049         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11050         (c-opt-cpp-macro-define): Make into a full language variable.
11051         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11052         AWK Mode (including \n, \r) removed, no longer needed.
11054         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11055         Invoke c-make-macro-with-semi-re.
11057         * progmodes/cc-vars.el (c-macro-with-semi-re):
11058         (c-macro-names-with-semicolon): New variables.
11059         (c-make-macro-with-semi-re): New function.
11061 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11063         * vc/log-edit.el: Fill empty field rather than adding new one.
11064         (log-edit-add-field): New function.
11065         (log-edit-insert-changelog): Use it.
11067 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11069         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11071 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11073         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11074         (gdb--check-interpreter): New function.
11075         (gdb): Use it.
11077 2011-10-27  Glenn Morris  <rgm@gnu.org>
11079         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11080         (least-positive-float, least-negative-float)
11081         (least-positive-normalized-float, least-negative-normalized-float)
11082         (float-epsilon, float-negative-epsilon):
11083         Remove unnecessary declarations.
11085         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11086         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11087         (least-positive-float, least-negative-float)
11088         (least-positive-normalized-float, least-negative-normalized-float)
11089         (float-epsilon, float-negative-epsilon): Add doc-strings,
11090         based on those in cl.texi.
11092         * files.el (set-visited-file-name): If the major-mode changed,
11093         reload the local variables.  (Bug#9796)
11095 2011-10-27  Chong Yidong  <cyd@gnu.org>
11097         * subr.el (change-major-mode-after-body-hook): New hook.
11098         (run-mode-hooks): Run it.
11100         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11101         Use change-major-mode-before-body-hook.
11103         * simple.el (fundamental-mode):
11104         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11105         change introducing fundamental-mode-hook.
11107 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
11109         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11111 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
11113         * ido.el (ido-file-name-all-completions-1): Do not require
11114         tramp.el explicitly.  (Bug#7583)
11116 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11118         * progmodes/octave-mod.el:
11119         * progmodes/octave-inf.el: Update maintainer.
11121 2011-10-26  Chong Yidong  <cyd@gnu.org>
11123         * subr.el (with-wrapper-hook): Rewrite doc.
11125 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
11127         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11128         filenames "/method:foo:".  (Bug#9793)
11130 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11132         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11133         (bug#9865).
11135 2011-10-24  Glenn Morris  <rgm@gnu.org>
11137         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
11139 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
11141         * notifications.el: Add the requirement of a running D-Bus session
11142         bus to the Commentary.
11144 2011-10-24  Juri Linkov  <juri@jurta.org>
11146         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11147         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11148         (Bug#9364)
11150 2011-10-24  Juri Linkov  <juri@jurta.org>
11152         * info.el (Info-following-node-name-re): Add newline to the list
11153         of allowed characters for leading space.  (Bug#9824)
11155 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11157         * progmodes/octave-inf.el (inferior-octave-mode-map):
11158         Fix C-c C-h binding.
11159         * progmodes/octave-mod.el (octave-help): Remove.
11161 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
11163         Sync with Tramp 2.2.3.
11165         * net/tramp-cache.el (top): Pacify byte-compiler using
11166         `init-file-user' and `site-run-file'.
11168         * net/trampver.el: Update release number.
11170 2011-10-23  Chong Yidong  <cyd@gnu.org>
11172         * files.el (toggle-read-only): Remove obsolete comment about
11173         version control.
11175         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11176         for toggle-read-only.  Note that this hasn't called vc-next-action
11177         since 2008-05-02, though it wasn't documented at the time.
11179         * vc/ediff-init.el (ediff-toggle-read-only-function):
11180         Use toggle-read-only.
11182 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
11184         Fix bug #9560, sporadic wrong indentation; improve instrumentation
11185         of c-parse-state.
11187         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11188         correct faulty logical expression.
11189         (c-parse-state-state, c-record-parse-state-state):
11190         (c-replay-parse-state-state): New defvar/defuns.
11191         (c-debug-parse-state): Use new functions.
11193 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
11195         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11196         last fix.  Use window-in-direction correctly.
11198 2011-10-21  Chong Yidong  <cyd@gnu.org>
11200         * progmodes/idlwave.el (idlwave-mode):
11201         * progmodes/vera-mode.el (vera-mode): No need to set
11202         require-final-newline; that's done in prog-mode.
11203         Suggested by Stefan Monnier.
11205 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
11207         * mouse.el (mouse-drag-window-above)
11208         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11209         (mouse-drag-mode-line-1, mouse-drag-header-line)
11210         (mouse-drag-vertical-line-rightward-window): Remove.
11211         (mouse-drag-line): New function.
11212         (mouse-drag-mode-line, mouse-drag-header-line)
11213         (mouse-drag-vertical-line): Call mouse-drag-line.
11214         * window.el (window-at-side-p, windows-at-side): New functions.
11216 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
11218         * tar-mode.el (tar-grind-file-mode):
11219         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
11221 2011-10-21  Chong Yidong  <cyd@gnu.org>
11223         * progmodes/idlwave.el (idlwave-mode):
11224         * progmodes/vera-mode.el (vera-mode):
11225         Use mode-require-final-newline.
11227 2011-10-20  Glenn Morris  <rgm@gnu.org>
11229         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
11231 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
11233         * emulation/cua-base.el (cua-set-mark): Fix case of string.
11235 2011-10-20  Chong Yidong  <cyd@gnu.org>
11237         * emulation/cua-base.el (cua-mode):
11238         * mail/footnote.el (footnote-mode):
11239         * mail/mailabbrev.el (mail-abbrevs-mode):
11240         * net/xesam.el (xesam-minor-mode):
11241         * progmodes/bug-reference.el (bug-reference-mode):
11242         * progmodes/cap-words.el (capitalized-words-mode):
11243         * progmodes/compile.el (compilation-minor-mode)
11244         (compilation-shell-minor-mode):
11245         * progmodes/gud.el (gud-tooltip-mode):
11246         * progmodes/hideif.el (hide-ifdef-mode):
11247         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11248         * progmodes/subword.el (subword-mode):
11249         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11250         * progmodes/which-func.el (which-function-mode):
11251         * term/tvi970.el (tvi970-set-keypad-mode):
11252         * term/vt100.el (vt100-wide-mode):
11253         * textmodes/flyspell.el (flyspell-mode):
11254         * textmodes/ispell.el (ispell-minor-mode):
11255         * textmodes/nroff-mode.el (nroff-electric-mode):
11256         * textmodes/paragraphs.el (use-hard-newlines):
11257         * textmodes/refill.el (refill-mode):
11258         * textmodes/reftex.el (reftex-mode):
11259         * textmodes/rst.el (rst-minor-mode):
11260         * textmodes/sgml-mode.el (html-autoview-mode)
11261         (sgml-electric-tag-pair-mode):
11262         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11263         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11264         * emulation/crisp.el (crisp-mode):
11265         * emacs-lisp/eldoc.el (eldoc-mode):
11266         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11267         minor mode behavior.
11269 2011-10-19  Juri Linkov  <juri@jurta.org>
11271         * descr-text.el (describe-char): Add #x2010 and #x2011 to
11272         the list of hard-coded chars with escape-glyph face.
11274 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11276         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11278 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
11280         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11281         running process.
11283 2011-10-19  Glenn Morris  <rgm@gnu.org>
11285         * vc/vc-bzr.el (vc-bzr-after-dir-status):
11286         Ignore ignored files.  (Bug#9726)
11288 2011-10-19  Chong Yidong  <cyd@gnu.org>
11290         Doc fix for minor modes, stating that an omitted argument enables
11291         the mode unconditionally when called from Lisp.
11293         * abbrev.el (abbrev-mode):
11294         * allout.el (allout-mode):
11295         * autoinsert.el (auto-insert-mode):
11296         * autoarg.el (autoarg-mode, autoarg-kp-mode):
11297         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11298         (global-auto-revert-mode):
11299         * battery.el (display-battery-mode):
11300         * composite.el (global-auto-composition-mode)
11301         (auto-composition-mode):
11302         * delsel.el (delete-selection-mode):
11303         * desktop.el (desktop-save-mode):
11304         * dired-x.el (dired-omit-mode):
11305         * dirtrack.el (dirtrack-mode):
11306         * doc-view.el (doc-view-minor-mode):
11307         * double.el (double-mode):
11308         * electric.el (electric-indent-mode, electric-pair-mode):
11309         * emacs-lock.el (emacs-lock-mode):
11310         * epa-hook.el (auto-encryption-mode):
11311         * follow.el (follow-mode):
11312         * font-core.el (font-lock-mode):
11313         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11314         * help.el (temp-buffer-resize-mode):
11315         * hilit-chg.el (highlight-changes-mode)
11316         (highlight-changes-visible-mode):
11317         * hi-lock.el (hi-lock-mode):
11318         * hl-line.el (hl-line-mode, global-hl-line-mode):
11319         * icomplete.el (icomplete-mode):
11320         * ido.el (ido-everywhere):
11321         * image-file.el (auto-image-file-mode):
11322         * image-mode.el (image-minor-mode):
11323         * iswitchb.el (iswitchb-mode):
11324         * jka-cmpr-hook.el (auto-compression-mode):
11325         * linum.el (linum-mode):
11326         * longlines.el (longlines-mode):
11327         * master.el (master-mode):
11328         * mb-depth.el (minibuffer-depth-indicate-mode):
11329         * menu-bar.el (menu-bar-mode):
11330         * minibuf-eldef.el (minibuffer-electric-default-mode):
11331         * mouse-sel.el (mouse-sel-mode):
11332         * msb.el (msb-mode):
11333         * mwheel.el (mouse-wheel-mode):
11334         * outline.el (outline-minor-mode):
11335         * paren.el (show-paren-mode):
11336         * recentf.el (recentf-mode):
11337         * reveal.el (reveal-mode, global-reveal-mode):
11338         * rfn-eshadow.el (file-name-shadow-mode):
11339         * ruler-mode.el (ruler-mode):
11340         * savehist.el (savehist-mode):
11341         * scroll-all.el (scroll-all-mode):
11342         * scroll-bar.el (scroll-bar-mode):
11343         * server.el (server-mode):
11344         * shell.el (shell-dirtrack-mode):
11345         * simple.el (auto-fill-mode, transient-mark-mode)
11346         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11347         (line-number-mode, column-number-mode, size-indication-mode)
11348         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11349         * strokes.el (strokes-mode):
11350         * time.el (display-time-mode):
11351         * t-mouse.el (gpm-mouse-mode):
11352         * tool-bar.el (tool-bar-mode):
11353         * tooltip.el (tooltip-mode):
11354         * type-break.el (type-break-mode-line-message-mode)
11355         (type-break-query-mode):
11356         * view.el (view-mode):
11357         * whitespace.el (whitespace-mode, whitespace-newline-mode)
11358         (global-whitespace-mode, global-whitespace-newline-mode):
11359         * xt-mouse.el (xterm-mouse-mode): Doc fix.
11361         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11362         Fix autogenerated docstring.
11364 2011-10-19  Juri Linkov  <juri@jurta.org>
11366         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11367         by checking environment variables "DESKTOP_SESSION" and
11368         "XDG_CURRENT_DESKTOP".  (Bug#9779)
11370 2011-10-19  Juri Linkov  <juri@jurta.org>
11372         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11373         (browse-url-chromium-program, browse-url-chromium-arguments):
11374         New defcustoms.
11375         (browse-url-default-browser): Check for `browse-url-chromium' and
11376         call `browse-url-chromium-program'.
11377         (browse-url-chromium): New command.  (Bug#9779)
11379 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
11381         * facemenu.el (list-colors-duplicates): On Windows, detect more
11382         duplicates by assuming that only colors matching "^System" are
11383         special "system colors".  (Bug#9722)
11385 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11387         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11388         to distinguish the author from the committer.
11390 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
11392         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11394 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
11396         * international/mule.el (sgml-html-meta-auto-coding-function):
11397         Add support for detecting encoding in HTML5 specified only as
11398         <meta charset="UTF-8">.  Implementation just makes http-equiv and
11399         content-type parts from HTML4 encoding string optional.  (Bug#9716)
11401 2011-10-18  Glenn Morris  <rgm@gnu.org>
11403         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
11405 2011-10-18  Chong Yidong  <cyd@gnu.org>
11407         * faces.el (cursor): Doc fix.
11409 2011-10-17  Chong Yidong  <cyd@gnu.org>
11411         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11413 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
11415         * dirtrack.el (dirtrack): Support shell buffers with path
11416         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
11418 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
11420         * json.el: Bump version to 1.3 and note change in History.
11421         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11423 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11425         * comint.el (comint-insert-input, comint-send-input)
11426         (comint-get-old-input-default, comint-backward-matching-input)
11427         (comint-next-prompt): Use nil instead of `input' for field property of
11428         past user input (bug#114).
11430         * minibuffer.el (completion--replace): Inherit surrounding properties
11431         (bug#114).
11432         (minibuffer-complete-and-exit): Use it.
11434         * comint.el (comint--table-subvert): Quote the all-completions output
11435         (bug#9160).
11437 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
11439         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
11441         * menu-bar.el (menu-bar-file-menu): Add entry for making new
11442         window on right of selected.  (Bug#9350) Reword other window
11443         entries and separate them from frame entries.
11445 2011-10-15  Glenn Morris  <rgm@gnu.org>
11447         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11448         Doc fixes.
11450 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
11452         * net/network-stream.el (network-stream-open-starttls):
11453         Improve detection of failure due to lack of TLS support.
11455         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11456         putting the input text in front and in bold.
11458 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11460         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11462         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11463         empty buffer.
11465         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11466         unread-command-events rather than pushing yet-another event.
11468 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
11470         * mail/sendmail.el (sendmail-query-once): Improve the wording of
11471         the explanation of the possible choices.  Make the options passed
11472         to completing-read shorter.
11474 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11476         * textmodes/flyspell.el (flyspell-large-region): Make sure
11477         extended character mode is used if defined (Bug#1339).
11479 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
11481         * simple.el (what-cursor-position): Fix the display of the
11482         character info for LRE, LRO, RLE, and RLO characters by appending
11483         an invisible PDF.
11485 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11487         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11488         even in case of error; add debug spec; simplify data flow.
11489         (with-timeout-handler): Remove.
11491 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
11493         Fix Bug#6019, Bug#9315.
11495         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11496         complete `buffer-file-name', the local file name part could look
11497         remotely (for example on VMS).
11499         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11500         `tramp-run-real-handler'.
11501         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11502         already quoted by '"'.
11504         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11505         Let `file-name-handler-alist' be nil, the local file name part
11506         could look remotely (for example on VMS).
11508 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11510         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11511         from here...
11512         (flyspell-post-command-hook): ...to here.
11514 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11516         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11517         if not needed.
11518         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
11519         using completion.  Protect against "slow" callers.
11520         Remove the "message hack".
11522 2011-10-11  Juri Linkov  <juri@jurta.org>
11524         * isearch.el (isearch-lazy-highlight-word): New variable.
11525         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11526         Use it.  (Bug#9727)
11528 2011-10-11  Glenn Morris  <rgm@gnu.org>
11530         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11531         like f90-previous-statement does.
11533 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11535         * eshell/eshell.el (eshell-command): History should be saved
11536         only in interactive use, to avoid error.
11538 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11540         * minibuffer.el (completion-file-name-table): Fix last change,
11541         i.e. ignore normal errors but not the other ones.
11543 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
11545         * window.el (special-display-buffer-names)
11546         (special-display-regexps): Remove some remnants of earlier
11547         changes from doc-strings.
11548         (quit-windows-on): New function.
11550         * vc/vc.el (vc-revert, vc-rollback):
11551         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11552         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
11553         (Bug#6183) (Bug#7074) (Bug#7447)
11555 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
11557         * window.el (frame-auto-hide-function): Add version tag.
11558         (Bug#9699)
11560 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
11562         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11563         condition.
11565 2011-10-09  Leo Liu  <sdl.web@gmail.com>
11567         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11568         (Bug#9701)
11570 2011-10-08  Glenn Morris  <rgm@gnu.org>
11572         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11573         before the first code statement zero indent.  (Bug#9690)
11575 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
11577         * simple.el (count-words-region): Always count in the region.
11578         Report the number of lines and characters too.
11579         (count-words): New command, which counts in the buffer if the
11580         region is inactive, as count-words-region used to.
11581         (count-words--message): New function.  Handle plurals.
11582         (count-lines-region): Make it an alias for count-words-region.
11584         * bindings.el (esc-map): Replace count-lines-region with
11585         count-words-region.
11587 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
11589         * window.el (window--delete): Delete dedicated frame
11590         unconditionally when argument KILL is non-nil.  (Bug#9699)
11591         (switch-to-buffer): Fix doc-string typo.
11593 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11595         * eshell/eshell.el (eshell-command): Avoid using hooks.
11597 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
11599         * bindings.el ([M-left],[M-right]): Bind to left-word and
11600         right-word respectively.
11602 2011-10-07  Glenn Morris  <rgm@gnu.org>
11604         * cus-start.el (debug-on-quit): Fix custom type.
11606 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11608         * subr.el (define-key-after): Clarify that the function is not
11609         useful for non-menu keymaps.
11611         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11613 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11615         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
11616         in current minibuffer (Fix bug with recursive minibuffers).
11618 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
11620         * progmodes/gdb-mi.el (gdb): Doc fix.
11622 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
11624         * window.el (frame-auto-hide-function): New option replacing
11625         frame-auto-delete.  Suggested by Stefan Monnier.
11626         (window--delete): Call frame-auto-hide-function instead of
11627         investigating frame-auto-delete.
11628         (window-point-1, set-window-point-1): New functions.
11629         (window-in-direction, record-window-buffer, window-state-get-1)
11630         (display-buffer-record-window): Use window-point-1 instead of
11631         window-point.
11632         (set-window-buffer-start-and-point): Use set-window-point-1.
11634 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11636         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11638 2011-10-05  Glenn Morris  <rgm@gnu.org>
11640         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11641         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
11643 2011-10-05  Leo Liu  <sdl.web@gmail.com>
11645         * subr.el (read-char-choice): Fix argument to buffer-live-p which
11646         works with buffer object.
11648 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11650         * mpc.el (mpc-tool-bar-map): Add labels.
11652 2011-10-04  Glenn Morris  <rgm@gnu.org>
11654         * calendar/holidays.el (calendar-check-holidays): Doc fix.
11656 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
11658         * window.el (window--delete): New function.
11659         (frame-auto-delete): Resuscitate option.
11660         (bury-buffer, replace-buffer-in-windows)
11661         (quit-window): Rewrite using window--delete.
11662         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11663         Pass display-buffer-mark-dedicated to window--display-buffer-2
11664         (Bug#9639).
11666 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11668         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11669         returns a list (bug#9554).  Add remote file name completion.
11670         * comint.el (comint--table-subvert): Curry and get quote&unquote
11671         functions as arguments.
11672         (comint--complete-file-name-data): Adjust call accordingly.
11673         * pcomplete.el (pcomplete--table-subvert): Remove.
11674         (pcomplete-completions-at-point): Use comint--table-subvert instead.
11676         * minibuffer.el (completion-table-case-fold): Use currying.
11677         (completion--styles-type, completion--cycling-threshold-type):
11678         New constants.
11679         (completion-styles, completion-category-overrides)
11680         (completion-cycle-threshold): Use them.
11681         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11682         completion-table-case-fold.
11684 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
11686         * minibuffer.el (completion-category-overrides): Fix type of styles
11687         and add more user friendly tags (bug#9660).
11689 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11691         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11692         (mule-input-method-string): New widget.
11693         (default-input-method, language-info-custom-alist): Use it.
11695 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11697         * pcomplete.el: Require comint.
11698         (pcomplete--common-suffix): Remove.
11699         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11700         (pcomplete--table-subvert): Sync with comint--table-subvert.
11701         (pcomplete--entries): Use comint-completion-file-name-table.
11702         * comint.el (comint-unquote-filename): Simplify.
11703         (comint-completion-file-name-table): New function (bug#9616).
11704         (comint--complete-file-name-data): Use it.
11706         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11707         (pcmpl-gnu-tar-buffer): Remove.
11708         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
11709         around.  Make sure pcomplete-suffix-list is only changed temporarily.
11710         Don't look inside the tar's file if it's too large.
11712 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
11714         * cus-edit.el (custom-mode-map):
11715         * epa.el (epa-key-list-mode-map):
11716         * man.el (Man-mode-map):
11717         * startup.el (splash-screen-keymap):
11718         * simple.el (special-mode-map): Use scroll-up-command and
11719         scroll-down-command.
11721         * progmodes/idlw-help.el (idlwave-help-mode-map):
11722         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11723         * net/newst-plainview.el (newsticker-mode-map):
11724         * emulation/ws-mode.el (wordstar-mode-map):
11725         * emulation/vi.el (vi-com-map):
11726         * calc/calc-graph.el (calc-graph-show-dumb):
11727         * term/sun.el (terminal-init-sun):
11728         * term/ns-win.el (global-map):
11729         * progmodes/grep.el (grep-mode-map):
11730         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11731         * mail/rmail.el (rmail-mode-map):
11732         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11734         * custom.el (custom-safe-themes, load-theme): Treat value of t for
11735         custom-safe-themes as special.
11737 2011-10-01  Julien Danjou  <julien@danjou.info>
11739         * notifications.el (notifications-notify): Fix docstring.
11741 2011-10-01  Per Starbäck  <per@starback.se>
11743         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
11745 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
11747         * startup.el (command-line-1): Fix last fix by inserting
11748         initial-scratch-message into *scratch* before displaying it.
11749         (Bug#9605) and (Bug#9636)
11751 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
11753         * simple.el (line-move): If auto-hscroll-mode is disabled and the
11754         window is hscrolled, move by logical lines.  (Bug#9607)
11755         (line-move-visual): Update the doc string to the above effect.
11757 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
11759         * window.el (display-buffer-record-window): When WINDOW is the
11760         selected window use `point' instead of `window-point'.  (Bug#9626)
11762         * startup.el (command-line-1): Use insert-before-markers when
11763         inserting initial-scratch-message.  (Bug#9605)
11765         * help.el (help-window): Remove variable.
11767 2011-09-29  Glenn Morris  <rgm@gnu.org>
11769         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11771 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
11773         * descr-text.el (describe-char-categories): Accept category
11774         descriptions more than one line long.
11776 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11778         * simple.el (delete-trailing-whitespace): Fix last change.
11780         * progmodes/perl-mode.el (perl-syntax-propertize-function):
11781         Don't confuse "y => 3" as the beginning of a `y' operation.
11783         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11784         object has more than 4 slots (bug#9613).
11786 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
11788         * subr.el (with-output-to-temp-buffer):
11789         * net/quickurl.el (quickurl, quickurl-browse-url):
11790         Fix typos in docstrings.
11792 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
11794         * minibuffer.el (completion-styles)
11795         (completion-category-overrides): Cross reference each other in doc
11796         strings.
11798 2011-09-27  Glenn Morris  <rgm@gnu.org>
11800         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11801         to split-string.  (Bug#9606)
11803 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11805         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11806         (bug#9615).
11808 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
11810         * emacs-lisp/package.el (list-packages): Fix echo area message.
11812 2011-09-27  Leo Liu  <sdl.web@gmail.com>
11814         * ido.el (ido-read-internal): Accept cons cell HIST arg.
11816 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
11818         * net/dbus.el (dbus-unregister-object): Don't release services for
11819         registered signals.  (Bug#9581)
11821 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
11823         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11824         function that picks between cfengine 2 and 3 support
11825         automatically.  Update docs accordingly.
11827 2011-09-22  Kenichi Handa  <handa@m17n.org>
11829         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11830         ZERO.
11831         (indian-itrans-v5-table-for-tamil): New variable.
11832         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11834 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
11836         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11837         that's true if the current command involved collapsing of text.
11838         It's reset to false at the beginning of the next command.
11839         (allout-post-command-business): Move the cursor to the beginning
11840         of entry if the cursor is hidden and collapsing activity just
11841         happened.
11843 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
11845         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11846         tracking (Bug#9541).
11848 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
11850         * net/newst-reader.el (newsticker-html-renderer)
11851         (newsticker-show-news): Automatically load html rendering package
11852         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
11853         because w3m-fill-column is let-bound" and the error "Symbol's value
11854         as variable is void: w3m-fill-column".
11856 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
11858         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11859         Release services only if they are defined.  (Bug#9581)
11861 2011-09-23  Richard Stallman  <rms@gnu.org>
11863         * textmodes/paragraphs.el (forward-sentence): For backwards case,
11864         distinguish start of paragraph from start of its text.
11866         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11868         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11869         (rmail-generate-viewer-buffer): Put that hook on view buffer.
11870         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11872 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
11874         * international/mule-diag.el (mule-diag): Insert a newline after
11875         each fontset description.
11877 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11879         * simple.el (delete-trailing-whitespace):
11880         Document last change; simplify.
11882 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
11884         * simple.el (delete-trailing-whitespace): Also delete
11885         extra newlines at the end of the buffer.
11887         * textmodes/picture.el: Make motion commands obey shift-select-mode.
11888         (picture-newline): Use forward-line so as to ignore fields.
11890 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11892         * subr.el (with-wrapper-hook): Fix edebug spec.
11894 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11896         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11897         (bug#4538).
11899 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
11901         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11902         Fix nasty bug using wrong cached values.
11904 2011-09-23  Alan Mackenzie  <acm@muc.de>
11906         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11908 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
11910         * window.el (pop-to-buffer): Ensure right window is selected if we
11911         chose another frame.
11913 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
11915         * simple.el (what-cursor-position): Use get-char-property-change
11916         and next-single-char-property-change, to be able to show display
11917         properties that come from overlays as well as text properties.
11919 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
11921         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11923         * cmuscheme.el (run-scheme, switch-to-scheme):
11924         * cus-edit.el (customize-group, custom-buffer-create)
11925         (customize-browse):
11926         * info.el (info):
11927         * shell.el (shell):
11928         * mail/sendmail.el (mail):
11929         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11931 2011-09-22  Richard Stallman  <rms@gnu.org>
11933         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11934         move back only to line beg, don't move back over blank lines.
11936 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
11938         * files.el (copy-directory): Set directory attributes only in case
11939         they could be retrieved from the source directory.  (Bug#9565)
11941 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
11943         * progmodes/hideshow.el (hs-looking-at-block-start-p)
11944         (hs-find-block-beginning, hs-hide-level-recursive):
11945         Ignore strings as well as comments.  (Bug#9502)
11947 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
11949         * progmodes/sql.el (sql-comint-postgres):
11950         Convert port number to a string.  (Bug#9566)
11952 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
11954         * window.el (quit-window): Undedicate window when switching to
11955         previous buffer.  Reported by Thierry Volpiatto
11956         <thierry.volpiatto@gmail.com>.
11957         (special-display-popup-frame): When popping up a new frame reset
11958         its previous buffers to nil.  Simplify code.
11960 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
11962         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11963         and process filter, as done also in `shell-command'.
11965 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
11967         * window.el (set-window-buffer-start-and-point):
11968         Call set-window-start with NOFORCE argument t.
11969         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11970         (quit-window): Reword doc-string.  Handle new format of
11971         quit-restore parameter.  Don't delete window if it has a
11972         previous buffer we can show instead of the present one.
11973         (display-buffer-record-window): Rewrite using a new format for
11974         the quit-restore window parameter
11975         (special-display-popup-frame, display-buffer-same-window)
11976         (display-buffer-reuse-window, display-buffer-pop-up-frame)
11977         (display-buffer-pop-up-window, display-buffer-use-some-window):
11978         Adapt symbol passed to display-buffer-record-window.
11979         * help.el (help-window-setup): Handle new format of quit-restore
11980         parameter.
11982 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11984         * faces.el (face-list): Fix docstring (bug#9564).
11986         * window.el (display-buffer--action-function-custom-type):
11987         Don't include internal functions in the Custom interface.
11989 2011-09-20  Juri Linkov  <juri@jurta.org>
11991         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11992         (Info-forward-node, Info-backward-node, Info-next-preorder)
11993         (Info-last-preorder): Use it.  (Bug#9528)
11995 2011-09-20  Juri Linkov  <juri@jurta.org>
11997         * info.el (Info-last-preorder): Visit last menu item only when
11998         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12000 2011-09-20  Julien Danjou  <julien@danjou.info>
12002         * password-cache.el (password-cache-remove): Remove entries even if the
12003         value is nil, so that password with a nil value (negative caching) is
12004         possible to invalidate.
12006 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
12008         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12009         all whitespace around breakpoint.  (Bug#9553)
12010         (f90-find-breakpoint): Only break at whitespace inside a comment.
12012 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12014         * minibuffer.el (completion-file-name-table): Keep track of errors.
12015         (completion-table-with-predicate): Handle the case where pred1 is nil.
12016         * pcomplete.el (pcomplete-completions-at-point): Simplify.
12018 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12020         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12021         (debugger-return-value): Signal an error if the debugging context does
12022         not await any return value.
12024         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12025         * image-mode.el (image-toggle-display-text)
12026         (image-toggle-display-image): Stay away from evil `intangible'.
12028 2011-09-19  Leo Liu  <sdl.web@gmail.com>
12030         * replace.el (occur-revert-arguments): Make it permanent-local.
12031         (occur-mode): Don't call font-lock-defontify.
12033 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
12035         * net/ldap.el (ldap-search-internal): Don't push empty search
12036         result (Bug#9508).
12038 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12040         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12042 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
12044         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12045         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12047 2011-09-18  Juri Linkov  <juri@jurta.org>
12049         * buff-menu.el (Buffer-menu-mode-map):
12050         * dired.el (dired-mode-map):
12051         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12052         (lisp-interaction-mode-map):
12053         * emacs-lisp/package.el (package-menu-mode-map):
12054         * epa.el (epa-key-list-mode-map):
12055         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12056         (menu-bar-options-menu):
12057         * outline.el (outline-mode-menu-bar-map):
12058         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12059         * vc/vc-dir.el (vc-dir-menu-map):
12060         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12061         Capitalize non-function content words in menu item strings.
12063         * dired.el (dired-mode-map): Add menu item for
12064         `image-dired-dired-toggle-marked-thumbs'.
12066 2011-09-18  Juri Linkov  <juri@jurta.org>
12068         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12069         to `isearch-case-fold-search' and restore its original value
12070         after the `isearch-mode' call.
12072 2011-09-18  Juri Linkov  <juri@jurta.org>
12074         * progmodes/grep.el (grep-process-setup): Don't check code for 1
12075         because `zgrep' returns 1 for successful matches (bug#9226).
12077 2011-09-18  Juri Linkov  <juri@jurta.org>
12079         * info.el (Info-extract-menu-node-name): Check the second match
12080         for empty string (second test-case of bug#9528).
12081         (Info-last-preorder): Let-bind `Info-history' to nil to not add
12082         intermediate nodes to the history (first test-case of bug#9528).
12084 2011-09-18  Juri Linkov  <juri@jurta.org>
12086         * info.el (Info-mode-syntax-table): New variable.
12087         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12089 2011-09-18  Juri Linkov  <juri@jurta.org>
12091         * info.el (Info-file-supports-index-cookies):
12092         Increment line-beginning-position's arg from 3 to 4 because makeinfo
12093         outputs one more line for long file names (bug#4142).
12095 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
12097         * newcomment.el (comment-normalize-vars): If prompting for
12098         comment-start, set comment-start-skip too (Bug#8424).
12100 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
12102         * icomplete.el: Fix previous fix of Bug#5849.
12103         (icomplete-mode): Don't set completion-show-inline-help.
12104         (icomplete-minibuffer-setup): Set completion-show-inline-help
12105         locally during icompletion.
12107 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
12109         * woman.el (woman2-process-escapes): Don't delete unrecognized
12110         escapes (Bug#7843).
12112         * files.el (inhibit-first-line-modes-regexps): Add image files.
12113         (hack-local-variables-prop-line): Return nil for malformed
12114         prop-lines (Bug#9044).
12116 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
12118         * net/tramp.el (top): Don't require 'shell.
12119         (tramp-methods): Fix docstring.
12120         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12121         Return complete remote file name.  Handle "smb" case.
12122         Use `tramp-tmpdir', if defined for the respective method.
12123         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12125         * net/tramp-compat.el (top): Require 'shell.
12127         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12128         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12129         `tramp-current-host'.
12130         (tramp-get-remote-tmpdir): Remove.
12132         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12133         `tramp-tmpdir' entries.
12134         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12135         (tramp-smb-handle-file-attributes): Ignore errors.
12136         (tramp-smb-wait-for-output): Check also for process end.
12138 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12140         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12141         when sending QUIT (bug#9312).
12143 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
12145         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12146         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12147         occur-mode-display-occurrence.
12148         (occur-edit-mode): Add usage message.
12149         (occur-cease-edit): New command.
12150         (occur-after-change-function): Use text properties to find the
12151         position of the prefix text.
12152         (occur-engine): Set stickiness of prefix text properties.
12154 2011-09-17  Glenn Morris  <rgm@gnu.org>
12156         * progmodes/etags.el (complete-tag):
12157         Fix call to completion-in-region.  (Bug#9526)
12159 2011-09-17  Juri Linkov  <juri@jurta.org>
12161         * textmodes/ispell.el (ispell-word): Add to the error message
12162         the word, ispell program name and current dictionary (bug#9121).
12163         (ispell-tex-arg-end): Capitalize "error" in the error message.
12165 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
12167         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12168         check.  (Bug#4251)
12170 2011-09-17  Juri Linkov  <juri@jurta.org>
12172         * window.el (window-safe-min-height, window-safe-min-width):
12173         Fix typos (followup to bug#9522).
12175 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
12177         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12179 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
12181         * simple.el (line-move): If goal-column is set, move by logical
12182         lines, not by display lines.  (Bug#971)
12183         (next-line, previous-line, goal-column, line-move-visual): Doc fix
12184         to reflect the above change.
12186 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12188         * image.el (imagemagick-register-types): Use regexp-opt.
12190 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
12192         * window.el (display-buffer-base-action): Rename from
12193         display-buffer-default-action.  Make default value empty.
12194         (display-buffer-overriding-action): Convert to defvar.
12195         (display-buffer-fallback-action): New var.
12197 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
12199         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12200         declaration.
12201         (package--add-to-archive-contents): If there is a duplicate entry
12202         with an older version, remove it.
12203         (package-menu-mark-delete, package-menu-mark-install)
12204         (package-menu-mark-unmark): Make unused args optional.
12205         (package-menu-mark-obsolete-for-deletion):
12206         Use package-menu-get-status instead of a regexp search.
12207         (package-menu-get-status): Use tabulated-list-entry.
12208         (package-menu-mark-upgrades): New command.
12209         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
12210         (package-menu-execute): Do installation before deletion.
12211         (package-menu-refresh, package-menu-execute): Use derived-mode-p
12212         instead of checking major-mode.
12213         (package-menu--find-upgrades): New function.
12215 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12217         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12218         passwords in the log buffer.
12219         (smtpmail-process-filter): Update the process marker so that the
12220         "broken by peer" status message is inserted in the right place.
12222 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12224         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12225         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12226         bibtex-completion-at-point-function.
12227         (bibtex-completion-at-point-function): Use them.
12229         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12231         * mpc.el (mpc-constraints-tag-lookup): New function.
12232         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12233         also to browser "album|playlist".
12235 2011-09-14  Juri Linkov  <juri@jurta.org>
12237         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
12238         (isearch-edit-string): Use length of `isearch-string' when
12239         `isearch-fail-pos' returns nil.
12240         (isearch-message): Remove duplicate code and call
12241         `isearch-fail-pos' with arg `t'.
12243 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
12245         * replace.el (occur-mode-goto-occurrence): Don't force using other
12246         window (Bug#9499).
12248         * dired-aux.el (dired-do-chmod): Don't provide initial input.
12250 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
12252         * window.el (display-buffer-window): Remove.
12253         (display-buffer-record-window): Use help-setup window parameter
12254         instead of variable display-buffer-window.
12255         (display-buffer-function, special-display-buffer-names)
12256         (special-display-function): Mention help-setup parameter instead
12257         of display-buffer-window in doc-string.
12258         * help.el (help-window-setup): New argument help-window.
12259         Use help-window-setup parameter instead of display-buffer-window.
12260         Reword some messages.
12261         (with-help-window): Pass window used for displaying the buffer
12262         to help-window-setup.  Don't set display-buffer-window.
12264 2011-09-13  Glenn Morris  <rgm@gnu.org>
12266         * emacs-lisp/debug.el (debugger-make-xrefs):
12267         Preserve point.  (Bug#9462)
12269 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
12271         * window.el (window-deletable-p): Use next-frame.
12273 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
12275         * window.el (window-auto-delete): Remove.
12276         (window-deletable-p): Remove argument FORCE.  Don't deal with
12277         dedication and previous buffers.
12278         (switch-to-prev-buffer): Don't delete window.
12279         (delete-windows-on): Delete a window's frame if and only if the
12280         window is dedicated.
12281         (replace-buffer-in-windows): Delete buffer's window or frame if
12282         and only if window is dedicated.
12283         (quit-window): Handle quit-restore as before last change.
12284         (bury-buffer): Delete window only if window-deletable-p returns t.
12286 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
12288         * window.el (window-deletable-p): Never delete the last frame on a
12289         given terminal.
12291 2011-09-13  Glenn Morris  <rgm@gnu.org>
12293         * help.el (describe-key-briefly): Copy previous standard-output change.
12295 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
12297         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
12299 2011-09-13  Glenn Morris  <rgm@gnu.org>
12301         * emacs-lisp/lisp-mode.el (lisp-indent-function):
12302         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12304 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
12306         * dired-aux.el (dired-mark-read-string): Don't return default
12307         value on empty input (Bug#9361).
12308         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12309         Omit initial minibuffer contents.
12310         (dired-do-chmod): Signal an error on empty input.
12311         (dired-mark-read-string): Don't return default on empty input.
12313         * files.el (file-modes-symbolic-to-number): Doc fix.
12315 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12317         * international/mule-cmds.el (ucs-completions): Remove.
12318         (read-char-by-name): Use complete-with-action instead; add metadata.
12320 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
12322         * window.el (display-buffer--action-function-custom-type)
12323         (display-buffer--action-custom-type): New vars.
12324         (display-buffer-alist, display-buffer-default-action)
12325         (display-buffer-overriding-action): Add defcustom types.
12327         * frame.el (delete-other-frames): Doc fix (Bug#276).
12329 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12331         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12333 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
12335         Change modes that used same-window-* vars to use switch-to-buffer.
12337         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12338         Use switch-to-buffer.
12340         * cus-edit.el (customize-group, custom-buffer-create)
12341         (customize-browse, custom-buffer-create-other-window):
12342         Use switch-to-buffer or switch-to-buffer-other-window.
12344         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12345         (Info-prev, Info-up, Info-speedbar-goto-node)
12346         (info-display-manual): Use switch-to-buffer.
12347         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12349         * mail/sendmail.el (mail): Use switch-to-buffer.
12350         (mail-recover): Use switch-to-buffer-other-window.
12352         * cmuscheme.el (run-scheme, switch-to-scheme):
12353         * ielm.el (ielm):
12354         * shell.el (shell):
12355         * net/rlogin.el (rlogin):
12356         * net/telnet.el (telnet, rsh):
12357         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12359 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
12361         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12363 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12365         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12366         so don't mention it (bug#9301).
12367         (dired-sort-toggle-or-edit): Clarify string further.
12369         * faces.el (face-spec-set-match-display): Make `(type graphic)'
12370         match `x', `w32' and `ns', like the manual says (bug#9029).
12372         * subr.el (eval-after-load): Doc string clarification (bug#9125).
12373         (process-kill-buffer-query-function): Mention the buffer name in
12374         the query.
12376         * image-mode.el (image-next-line): The line parameter is mandatory
12377         (bug#9258).
12379         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12380         which can be useful (bug#9301).
12382         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12384         * subr.el (match-string): Mention that the current buffer should
12385         be the same as the search was done in (bug#9282).
12387         * facemenu.el: Disable the remove-* commands if the mark isn't
12388         active (bug#9162).
12390 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
12392         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12393         of display-buffer.
12394         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12396         * replace.el (occur-mode-goto-occurrence)
12397         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12398         and display-buffer.
12400         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12401         display-buffer.
12403         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12404         special-display and same-window variables.
12405         (mail-other-window): Use switch-to-buffer-other-window.
12406         (mail-other-frame): USe switch-to-buffer-other-frame.
12408         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12409         Use display-buffer-other-frame.
12410         (gdb-display-gdb-buffer): Use pop-to-buffer.
12412         * progmodes/gud.el (gud-goto-info): Use info-other-window.
12414         * progmodes/python.el: Don't set same-window-buffer-names.
12416         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12418         * window.el (display-buffer-alist): Add *Python*.
12420 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
12422         * window.el (display-buffer-alist): Add entry for buffers
12423         previously handled same-window-*.
12424         (display-buffer-alist, display-buffer-default-action)
12425         (display-buffer-overriding-action): Mark as risky.
12426         (display-buffer-alist): Document action function changes.
12427         (display-buffer--same-window-action)
12428         (display-buffer--other-frame-action): New variables.
12429         (switch-to-buffer, display-buffer-other-frame): Use them.
12430         (display-buffer): Rename reuse-frame entry to reusable-frames.
12431         (display-buffer-reuse-selected-window): Function deleted.
12432         (display-buffer-reuse-window): Handle reusable-frames alist entry.
12433         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12434         (display-buffer-special): New function.
12435         (display-buffer--maybe-pop-up-frame-or-window): Rename from
12436         display-buffer-reuse-or-pop-window.  Split off special-display
12437         part into display-buffer-special.
12438         (display-buffer-use-some-window): Don't perform any special
12439         pop-up-frames handling.
12440         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
12441         (display-buffer--maybe-same-window): Rename from
12442         display-buffer-maybe-same-window.
12444         * info.el: Don't set same-window-regexps.
12445         (info-setup): New function.
12446         (info-other-window, info): Call it.
12448         * cus-edit.el: Don't set same-window-regexps.
12449         (customize-group): New argument.
12450         (customize-group-other-window): Use it.
12451         (customize-face, customize-face-other-window): Likewise.
12452         (custom-buffer-create-other-window): Use pop-to-buffer directly.
12454         * net/rlogin.el:
12455         * net/telnet.el:
12456         * progmodes/gud.el: Don't set same-window-regexps.
12458         * cmuscheme.el:
12459         * ielm.el:
12460         * shell.el:
12461         * mail/sendmail.el:
12462         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12464 2011-09-10  Juri Linkov  <juri@jurta.org>
12466         * isearch.el (isearch-edit-string): Remove obsolete mention of
12467         `C-w' (`isearch-yank-word-or-char') from docstring.
12468         (isearch-query-replace): Fix typo in docstring (bug#9466).
12470 2011-09-10  Juri Linkov  <juri@jurta.org>
12472         * paren.el (show-paren-function): Don't show escaped parens.
12473         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
12475 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
12477         * mail/sendmail.el (mml-to-mime, mml-attach-file)
12478         (mm-default-file-encoding): Remove autoload forms, they are
12479         replaced with autoload cookies in mml.el and mm-encode.el.
12480         (mail-add-attachment): New command.
12481         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12482         (mail-mode): Mention mail-insert-file and mail-add-attachment in
12483         the doc string.
12484         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12486 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
12488         * simple.el (count-words-region): Use buffer if there's no region
12489         (bug#9429).
12491 2011-09-09  Juri Linkov  <juri@jurta.org>
12493         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12494         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12495         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
12497 2011-09-09  Alan Mackenzie  <acm@muc.de>
12499         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12500         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
12502 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
12504         Fix for Savannah bug#9392.
12505         * simple.el (mail-encode-mml): New defvar.
12507         * mail/rmail.el (mail-encode-mml): Add a defvar.
12508         (rmail-enable-mime-composing): Default to t.
12509         (rmail-forward): Use MIME method of forwarding only if both
12510         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12511         Set mail-encode-mml non-nil if the MIME method was used.
12513         * mail/sendmail.el (mml-to-mime): Add autoload form.
12514         (mail-encode-mml): Add a defvar.
12515         (mail-mode): Make mail-encode-mml buffer-local and initialize it
12516         to nil.
12517         (mail-send): If mail-encode-mml is non-nil, run the outgoing
12518         message through mml-to-mime, and reset mail-encode-mml to nil.
12520 2011-09-09  Glenn Morris  <rgm@gnu.org>
12522         * woman.el (woman-if-body): When processing an .el block,
12523         do not delete the next .el block as well.  (Bug#9447)
12524         (woman-special-characters): Add oq, cq, and hy characters.
12526 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
12528         * window.el (window-deletable-p): Make sure window is live before
12529         invoking window-prev-buffers.
12531 2011-09-08  Leo Liu  <sdl.web@gmail.com>
12533         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
12535 2011-09-08  Juri Linkov  <juri@jurta.org>
12537         * progmodes/compile.el (compilation-environment): Make it
12538         a defcustom (bug#8340).
12540 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
12542         * window.el (frame-auto-delete): Rename to window-auto-delete.
12543         Make it control auto-deletion of windows and/or frames.
12544         (window-deletable-p): New argument FORCE.  Rewrite conditions
12545         for deleting window/frame.  (Bug#9419)
12546         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12547         Rewrite handling of case when window/frame can be deleted.
12548         (delete-windows-on): Call window-deletable-p with new FORCE
12549         argument t.  (Bug#9456)
12551 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
12553         * help-mode.el (help-mode): Restore autoload.
12555 2011-09-07  Juri Linkov  <juri@jurta.org>
12557         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12558         `compilation-environment'.  Set buffer-local
12559         `compilation-environment' to `thisenv' later after (funcall mode).
12560         (Bug#8340)
12562         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
12563         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12564         instead of replacing its value.  (Bug#8340)
12566 2011-09-07  Juri Linkov  <juri@jurta.org>
12568         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12569         based on text properties put by `grep-filter' instead of matching
12570         escape sequences.
12571         (grep-mode): Set buffer-local `compilation-error-screen-columns'
12572         to the value of `grep-error-screen-columns' (bug#9438).
12574 2011-09-07  Juri Linkov  <juri@jurta.org>
12576         * simple.el (next-error-highlight, next-error-highlight-no-select):
12577         Doc fix (bug#9432).
12579 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
12581         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12582         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
12584 2011-09-07  Leo Liu  <sdl.web@gmail.com>
12586         * net/rcirc.el (rcirc-mode): Conditionally initialize
12587         rcirc-input-ring.
12589 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12591         * emacs-lisp/find-func.el (find-function-C-source): Only set
12592         find-function-C-source-directory after checking that we found a source
12593         file there (bug#9440).
12595 2011-09-06  Alan Mackenzie  <acm@muc.de>
12597         * isearch.el (isearch-other-meta-char): Wherever a key list is
12598         unread, "unread" the prefix arg, too.  This fixes bug #8901.
12600 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
12602         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12604 2011-09-05  Juri Linkov  <juri@jurta.org>
12606         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12608 2011-09-05  Juri Linkov  <juri@jurta.org>
12610         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12611         keeping point where processing of grep matches begins, and
12612         continue to delete remaining escape sequences from the same point.
12613         (grep-filter): Make leading zero optional in "0?1;31m" because
12614         git-grep emits "\033[1;31m" escape sequences unlike expected
12615         "\033[01;31m" as GNU Grep does (bug#9408).
12616         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12618 2011-09-05  Juri Linkov  <juri@jurta.org>
12620         * subr.el (y-or-n-p): Capitalize "yes".
12622 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
12624         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
12625         `tramp-cache-unload-hook' where appropriate.
12626         (tramp-methods): Rename `tramp-remote-sh' to
12627         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
12628         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12630         * net/tramp-sh.el (top): Don't require 'shell.
12631         (tramp-methods): Add `tramp-remote-shell' and
12632         `tramp-remote-shell-args' entries.
12633         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12634         (tramp-sh-handle-shell-command): Remove.
12635         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12636         Use `tramp-remote-shell'.
12638 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
12640         * mail/sendmail.el (sendmail-query-once-function): Delete.
12641         (sendmail-query-once): Save directly to send-mail-function.
12642         Update message-send-mail-function too.
12644         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12646 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
12648         * progmodes/python.el (python-mode-map): Use correct function to
12649         start python interpreter from menu-bar (as reported by Geert
12650         Kloosterman).
12651         (inferior-python-mode-map): Fix typo.
12652         (python-shell-map): Remove.
12654 2011-09-03  Deniz Dogan  <deniz@dogan.se>
12656         * net/rcirc.el (rcirc-print): Simplify code for
12657         rcirc-scroll-show-maximum-output.  There is no need to walk
12658         through all windows to find the right one.
12660 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
12662         * help.el (help-return-method): Doc fix.
12664 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
12666         * window.el (window-deletable-p): Don't return a non-nil value
12667         when there's a buffer that was shown in the window before.
12668         (Bug#9419)
12669         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12670         Set window's previous buffers to nil.
12672 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
12674         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12675         newline before and after the tag line, so it doesn't interfere
12676         with determining the paragraph direction of bidirectional text.
12678 2011-09-03  Leo Liu  <sdl.web@gmail.com>
12680         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
12682 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
12684         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
12685         (pop-to-buffer): Change interactive spec.  Pass second argument
12686         directly to display-buffer.
12687         (display-buffer): Fix interactive spec.  Use functionp to
12688         distinguish between a function and a list of functions.
12690         * abbrev.el (edit-abbrevs):
12691         * arc-mode.el (archive-extract):
12692         * autoinsert.el (auto-insert):
12693         * bookmark.el (bookmark-bmenu-list):
12694         * files.el (find-file):
12695         * view.el (view-buffer):
12696         * progmodes/compile.el (compilation-goto-locus):
12697         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12699 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
12701         * window.el (display-buffer-alist): Doc fix.
12702         (display-buffer): Add docstring.  Don't treat
12703         display-buffer-default specially.
12704         (display-buffer-reuse-selected-window)
12705         (display-buffer-same-window, display-buffer-maybe-same-window)
12706         (display-buffer-reuse-window, display-buffer-pop-up-frame)
12707         (display-buffer-pop-up-window)
12708         (display-buffer-reuse-or-pop-window)
12709         (display-buffer-use-some-window): New functions.
12710         (display-buffer-default-action): Use them.
12711         (display-buffer-default): Delete.
12712         (pop-to-buffer-1): Fix choice of actions.
12714 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12716         * minibuffer.el (completion--insert-strings): Don't get confused by
12717         completion entries that end with an LF char.
12719 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
12721         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12723 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
12725         * window.el (display-buffer): Restore interactive spec.
12726         (display-buffer-same-window, display-buffer-other-window):
12727         New functions.
12728         (pop-to-buffer-1): New function.  Use the above.
12729         (pop-to-buffer, pop-to-buffer-same-window): Use it.
12730         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
12732         * view.el (view-buffer-other-window, view-buffer-other-frame):
12733         Just use pop-to-buffer.
12735 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12737         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
12739 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
12741         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
12743 2011-08-31  Richard Stallman  <rms@gnu.org>
12745         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12746         of the separation of rmail-view-buffer from rmail-buffer.
12747         If you say no to "replace original", the decrypt is in the
12748         view buffer.  If you say yes, the decrypt goes into the
12749         rmail buffer also.
12751 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
12753         * window.el (display-buffer-window): Rewrite doc-string.
12754         (display-buffer-record-window): New function.
12755         (display-buffer-macro-specifiers)
12756         (display-buffer-even-window-sizes, display-buffer-set-height)
12757         (display-buffer-set-width, display-buffer-in-window)
12758         (display-buffer-reuse-window, display-buffer-split-specifiers)
12759         (display-buffer-side-specifiers, display-buffer-split-window-1)
12760         (display-buffer-split-window, display-buffer-split-atom-window)
12761         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12762         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12763         (display-buffer-other-window-means-other-frame)
12764         (display-buffer-normalize-special)
12765         (display-buffer-normalize-default)
12766         (display-buffer-normalize-argument)
12767         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12768         (display-buffer-normalize-specifiers, display-buffer-frame)
12769         (display-buffer-same-window, display-buffer-same-frame)
12770         (display-buffer-other-window)
12771         (display-buffer-same-frame-other-window)
12772         (display-buffer-other-frame, pop-to-buffer-same-window)
12773         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12774         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12775         (switch-to-buffer-same-frame)
12776         (switch-to-buffer-other-window-same-frame)
12777         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12778         (display-buffer-alist-set-1, display-buffer-alist-set-2)
12779         (display-buffer-alist-set): Remove.
12780         (display-buffer-function, special-display-buffer-names)
12781         (special-display-regexps, special-display-function):
12782         In doc-string refer to display-buffer-window and quit-restore
12783         parameter.
12784         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12785         (special-display-frame-alist, special-display-popup-frame)
12786         (same-window-buffer-names, same-window-regexps, same-window-p)
12787         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12788         (split-window-preferred-function, split-height-threshold)
12789         (split-width-threshold, window-splittable-p)
12790         (split-window-sensibly, window--try-to-split-window)
12791         (window--frame-usable-p, even-window-heights)
12792         (window--even-window-heights, window--display-buffer-1)
12793         (window--display-buffer-2, display-buffer-other-frame):
12794         Restore old Emacs 23 code, order and doc-strings where applicable.
12795         (display-buffer-default, display-buffer-assq-regexp): New functions.
12796         (display-buffer-alist): Rewrite doc-string.
12797         (display-buffer-default-action)
12798         (display-buffer-overriding-action): New variables.
12799         (display-buffer, switch-to-buffer): Rewrite.
12800         (pop-to-buffer): Restore Emacs 23 behavior but use
12801         window-normalize-buffer-to-display.
12802         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12803         Restore Emacs 23 behavior but use
12804         window-normalize-buffer-to-switch-to.
12805         (pop-to-buffer-same-window): Rewrite.
12806         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12807         Rewrite using Emacs 23 options.
12809 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
12811         * net/tramp.el (tramp-root-regexp): Remove.
12812         (tramp-completion-file-name-regexp-unified)
12813         (tramp-completion-file-name-regexp-separate)
12814         (tramp-completion-file-name-regexp-url): Don't use leading volume
12815         letter on w32 systems.  (Bug#5303, Bug#9311)
12816         (tramp-drop-volume-letter): Simplify definition.
12817         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12819 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12821         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12822         (bug#9356).
12824 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
12826         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
12828 2011-08-29  Juri Linkov  <juri@jurta.org>
12830         * isearch.el (isearch-done): Don't display message "Mark saved"
12831         when arg `edit' is non-nil to prevent its flicker in the echo area.
12833 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
12835         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12836         obsolete packages for deletion.
12838 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
12840         * help-mode.el (help-mode-map): Add special-mode-map to parent.
12841         (help-mode): Derive help-mode from special-mode.  Don't invoke
12842         view-mode from help-mode.
12843         (help-xref-override-view-map): Remove.
12844         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12845         view-mode is not used anymore.
12847 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
12849         * server.el (server-port): Doc fix.
12851         * cus-theme.el (custom-theme-choose-mode): Inherit from
12852         special-mode (Bug#9124).
12853         (custom-theme-choose-mode-map): Add special-mode to parent.
12855 2011-08-28  Alan Mackenzie  <acm@muc.de>
12857         * progmodes/cc-fonts.el
12858         (c-make-font-lock-BO-decl-search-function): New function.
12859         (c-basic-matchers-after - "Fontify the clauses after various
12860         keywords"): Extract the three keyword lists for the 3 erroneous
12861         constructs from the list of four, and use the new function above
12862         in place of an old one.
12864 2011-08-28  Deniz Dogan  <deniz@dogan.se>
12866         * net/rcirc.el (rcirc-insert-prev-input)
12867         (rcirc-insert-next-input): Remove unused argument.
12869 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12871         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12873 2011-08-27  Alan Mackenzie  <acm@muc.de>
12875         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12876         handle function pointer parameters properly.
12878 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
12880         * window.el (display-buffer-reuse-window): Fix case where
12881         selected window was reused with non-nil OTHER-WINDOW argument.
12882         (Bug#9381)
12884 2011-08-27  Deniz Dogan  <deniz@dogan.se>
12886         * net/rcirc.el (rcirc-check-auth-status): Adding support for
12887         oftc's NickServ messages.
12889 2011-08-27  Glenn Morris  <rgm@gnu.org>
12891         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
12893 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
12895         * emacs-lisp/package.el (package-install): Call package-initialize
12896         if called interactively.
12898 2011-08-26  Leo Liu  <sdl.web@gmail.com>
12900         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
12902 2011-08-25  Juri Linkov  <juri@jurta.org>
12904         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12905         `search-whitespace-regexp' (bug#9364).
12907 2011-08-25  Juri Linkov  <juri@jurta.org>
12909         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12910         `regexp-search-ring' to their global values to protect from
12911         updating by `read-from-minibuffer' (bug#9185).
12913 2011-08-25  Juri Linkov  <juri@jurta.org>
12915         * textmodes/ispell.el (ispell-command-loop): Add newline
12916         at the end of the "Use option `i'..." line.
12918 2011-08-25  Juri Linkov  <juri@jurta.org>
12920         * battery.el (display-battery-mode): If `battery-status-function'
12921         or `battery-mode-line-format' is nil, display the message and set
12922         `display-battery-mode' to nil (bug#9363).
12924 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
12926         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12927         bidi-string-mark-left-to-right; they are unnecessary now.
12929 2011-08-25  Deniz Dogan  <deniz@dogan.se>
12931         * net/quickurl.el: Documentation typo fixes.
12933 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
12935         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12937 2011-08-25  Glenn Morris  <rgm@gnu.org>
12939         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12941         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12942         (smtpmail-via-smtp): Handle nil response from smtp.
12944 2011-08-24  Juri Linkov  <juri@jurta.org>
12946         * proced.el (proced-marked): Inherit from `error' instead of
12947         `font-lock-warning-face'.
12949         * ibuffer.el (ibuffer-marked-face): Change default face from
12950         `font-lock-warning-face' to `warning'.
12951         (ibuffer-deletion-face): Change default face from
12952         `font-lock-type-face' to `error'.
12954         * battery.el (battery-update): Use the face `error' instead of
12955         `font-lock-warning-face' (bug#6117).
12957 2011-08-24  Juri Linkov  <juri@jurta.org>
12959         * faces.el (success): Change face color from "Green3" to
12960         "ForestGreen" on light background (bug#9353).
12962 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
12964         * window.el (quit-window): Rename from quit-restore-window.
12965         Use same arglist as old quit-window.
12966         (frame-auto-delete): Doc fix.
12968         * view.el (view-mode-exit): Use quit-window.
12970 2011-08-24  Juri Linkov  <juri@jurta.org>
12972         * isearch.el (isearch-ring-adjust1): Start visiting previous
12973         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12974         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12975         for empty search string (when the last search string is reused
12976         automatically) to adjust the isearch ring to the last element and
12977         prepare the correct index for further M-p commands (bug#9185).
12979 2011-08-24  Kenichi Handa  <handa@m17n.org>
12981         * international/ucs-normalize.el: If decomposition property of
12982         CHAR is the default one (i.e. a list of CHAR itself), treat it as
12983         nil.
12984         (nfd, nfkd): Likewise.
12986 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12988         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12989         from process filters aren't reliably transmitted to the surrounding
12990         accept-process-output.
12991         (mpc-proc-check): New function.
12992         (mpc-proc-sync): Use it (bug#8293)
12994 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12996         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12997         Add compatibility functions (bug#9313).
12999 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
13001         * cus-start.el (all): Add entry for bidi-paragraph-direction.
13003         * international/uni-bidi.el: Regenerate.
13005 2011-08-23  Kenichi Handa  <handa@m17n.org>
13007         * international/charprop.el:
13008         * international/uni-bidi.el:
13009         * international/uni-category.el:
13010         * international/uni-combining.el:
13011         * international/uni-comment.el:
13012         * international/uni-decimal.el:
13013         * international/uni-decomposition.el:
13014         * international/uni-digit.el:
13015         * international/uni-lowercase.el:
13016         * international/uni-mirrored.el:
13017         * international/uni-name.el:
13018         * international/uni-numeric.el:
13019         * international/uni-old-name.el:
13020         * international/uni-titlecase.el:
13021         * international/uni-uppercase.el: Regenerate.
13023 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
13025         * help.el (help-window-setup): Fix message displayed when other
13026         window is reused.  (Bug#9341)
13028 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13030         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13031         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13033         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13034         Mark obsolete.
13035         * shell.el (shell-parse-pcomplete-arguments): New function.
13036         (shell-completion-vars): Use it instead (bug#9160).
13038 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13040         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13041         strings and comments (bug#9333).
13043         * emacs-lisp/debug.el (debug-arglist): New function.
13044         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
13045         (debug-on-entry-1): Handle interpreted closures (bug#9120).
13047 2011-08-22  Juri Linkov  <juri@jurta.org>
13049         * progmodes/compile.el (compilation-mode-font-lock-keywords):
13050         Revert regexp that highlights output switches to its old
13051         pre-2010-10-28 value and remove one `?' from it (bug#9319).
13053         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13054         to check for empty output (bug#9226).
13056 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
13058         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13059         symbol-constituent as the default, as that stops font-lock from
13060         working properly (Bug#8843).
13062 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13064         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13065         `coding-system-for-*' around the process open call to avoid
13066         auth-source side effects.
13067         (smtpmail-try-auth-methods): Expand the secret password.
13068         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13069         probe hangs.
13071 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
13073         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13075         * emacs-lisp/find-func.el (find-function-noselect): New arg
13076         lisp-only.
13078         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13079         signal an error for built-in functions (Bug#6664).
13081 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13083         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13084         (smtpmail-try-auth-methods): Use it.
13086 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
13088         * font-lock.el (font-lock-fontify-region)
13089         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13090         (font-lock-default-unfontify-buffer)
13091         (font-lock-default-fontify-region)
13092         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13094         * progmodes/compile.el (compilation-error-properties):
13095         Fix confusion between file struct and message struct (Bug#9319).
13096         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13097         `ant' regexp.
13099         * net/browse-url.el (browse-url-firefox): Don't call
13100         browse-url-firefox-sentinel unless using -remote (Bug#9328).
13102 2011-08-20  Glenn Morris  <rgm@gnu.org>
13104         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13106         * tutorial.el (tutorial--default-keys): Update some default bindings.
13108         * files.el (hack-local-variables): Fully ignore case for "mode:".
13110 2011-08-20  Alan Mackenzie  <acm@muc.de>
13112         Resolve invalid use of a regexp in regexp-opt.
13114         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13115         detection for a java annotation.
13117         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13118         detection for a java annotation.
13120         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13121         handling for java.
13122         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13124 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
13126         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13127         (Bug#9274).
13129 2011-08-20  Alan Mackenzie  <acm@muc.de>
13131         Fontify CPP expressions correctly when starting in the middle of
13132         such a construct.  Mainly for when jit-lock etc. starts a chunk
13133         here.
13135         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13136         variable.
13137         (c-make-font-lock-search-form): New function, extracted from
13138         c-make-font-lock-search-function.
13139         (c-make-font-lock-search-function): Use the above function.
13140         (c-make-font-lock-context-search-function): New function.
13141         (c-cpp-matchers): Enhance the preprocessor expression case with
13142         the above function
13143         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13144         which takes an expression.
13146         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13148 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
13150         * window.el (display-buffer-reuse-window)
13151         (display-buffer-pop-up-window): Don't reuse or split a side
13152         window.
13154 2011-08-19  Glenn Morris  <rgm@gnu.org>
13156         * files.el (hack-local-variables-prop-line, hack-local-variables):
13157         Downcase "Mode:".  (Bug#9331)
13159 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
13161         * international/characters.el: Add L and R categories.
13163         * subr.el (bidi-string-mark-left-to-right): Rename from
13164         string-mark-left-to-right.  Use category search.
13166         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13168 2011-08-18  Juri Linkov  <juri@jurta.org>
13170         * faces.el (error, warning, success): New faces with definitions
13171         copied from old default values of `font-lock-warning-face',
13172         `compilation-warning', `compilation-info' (bug#6117).
13174         * font-lock.el (font-lock-warning-face): Inherit from `error'.
13176         * progmodes/compile.el (compilation-error): Inherit from `error'.
13177         (compilation-warning): Inherit from `warning'.
13178         (compilation-info): Inherit from `success'.
13180         * dired.el (dired-marked): Inherit from `warning'.
13181         (dired-flagged): Inherit from `error'.
13183 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13185         * mail/smtpmail.el (auth-source): Require to avoid problems with
13186         binding variables (bug#9298).  Also clean up some unused
13187         autoloads.
13189         * net/network-stream.el (network-stream-open-starttls):
13190         Support using starttls.el without using gnutls-cli.
13192 2011-08-17  Juri Linkov  <juri@jurta.org>
13194         * progmodes/grep.el (rgrep): Handle the case when
13195         `grep-find-command' is a cons cell (bug#9278).
13197 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
13199         * window.el (display-buffer-pop-up-frame): Run frame creation
13200         function with BUFFER current (as special-display-popup-frame
13201         does).  Reported by Drew Adams.
13203 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
13205         * epa-mail.el: Simplify GnuPG group expansion using
13206         epg-expand-group.
13207         (epa-mail-group-alist, epa-mail-group-modtime)
13208         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13209         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13210         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13211         Remove.
13213 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
13215         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13217 2011-08-16  Alan Mackenzie  <acm@muc.de>
13219         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13220         Correct, to avoid the inside of macros.
13222 2011-08-16  Richard Stallman  <rms@gnu.org>
13224         * epa-mail.el: Handle GnuPG group definitions.
13225         (epa-mail-group-alist, epa-mail-group-modtime)
13226         (epa-mail-gnupg-conf-file): New variables.
13227         (epa-mail-parse-groups, epa-mail-sync-groups)
13228         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13229         (epa-mail-expand-recipients): New functions.
13230         (epa-mail-encrypt): Call epa-mail-expand-recipients.
13232         * mail/rmail.el (rmail-epa-decrypt): New command.
13234         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13235         Don't bind buffer-read-only, just inhibit-read-only.
13236         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13237         (epa-decrypt-armor-in-region): Make error message clearer.
13239 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13241         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13242         and "a2b" to "ab" for `prefix'.
13244 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
13246         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13247         filter groups.
13248         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
13249         Fourquet (Bug#8804).
13251 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
13253         * startup.el (argi): Declare as global variable (bug#9275).
13255 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
13257         * subr.el (string-mark-left-to-right): Search the entire string
13258         for RTL script, not just the terminating character.  Doc fix.
13260 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13262         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13263         New function.
13264         (js--regexp-literal, js-syntax-propertize-function): Remove.
13265         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13266         (js-mode-map): Don't rebind electric keys.
13267         (js-insert-and-indent): Remove.
13268         (js-mode): Setup electric-layout and electric-indent instead.
13270         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13272 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
13274         * epa.el (epa-progress-callback-function): Fix the logic of
13275         displaying progress.
13276         * epa-file.el (epa-file-insert-file-contents): Make progress
13277         display more user-friendly.
13278         (epa-file-write-region): Ditto.
13280 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
13282         * subr.el (string-mark-left-to-right): New function.
13284         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13285         Use string-mark-left-to-right.
13286         (list-buffers-noselect): Caller changed.
13288         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13289         Use string-mark-left-to-right.
13290         (tabulated-list-print): Recenter after moving point.
13292 2011-08-10  Juri Linkov  <juri@jurta.org>
13294         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13295         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13296         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13298 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
13300         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13301         (Bug#7554).
13303 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13305         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13306         character.  (Bug#6594)
13308 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
13310         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13311         (image-dired--with-db-file): New macro.
13312         (image-dired-write-tags, image-dired-remove-tag)
13313         (image-dired-create-gallery-lists, image-dired-write-comments)
13314         (image-dired-get-comment, image-dired-mark-tagged-files)
13315         (image-dired-list-tags, image-dired-gallery-generate): Use it.
13316         (image-dired-gallery-generate): Use insert-file-contents.
13318         * time.el (display-time-world-list, display-time-world-display):
13319         * time-stamp.el (time-stamp-string):
13320         * vc/add-log.el (add-change-log-entry): Use setenv instead of
13321         set-time-zone-rule (Bug#7337).
13323 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
13325         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13326         (epg-error-to-string, epg-errors-to-string): New function.
13327         (epg-wait-for-completion): Reverse errors list.
13328         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13329         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13330         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13331         (epg-sign-keys, epg-generate-key-from-file)
13332         (epg-generate-key-from-string): Format errors by using
13333         epg-errors-to-string (bug#9255).
13334         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13336 2011-08-07  Juri Linkov  <juri@jurta.org>
13338         * faces.el (list-faces-display): Remove extra angle bracket
13339         from `help-mode-map'.
13341         * info.el (Info-history-toc-nodes): Doc fix.
13343         * longlines.el (longlines-mode): Doc fix.
13345 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13347         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13348         of statements and in a few more cases (bug#9183).
13350         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13351         New functions.
13352         (cl-transform-lambda): Use them (bug#9239).
13354 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
13356         * window.el (display-buffer-same-window)
13357         (display-buffer-same-frame, display-buffer-other-window)
13358         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13359         (pop-to-buffer-other-window)
13360         (pop-to-buffer-same-frame-other-window)
13361         (pop-to-buffer-other-frame): Make them defuns.
13362         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13364 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13366         * subr.el (make-composed-keymap): Move from C.  Change calling
13367         convention, and improve docstring to bring attention to a subtle point.
13368         * minibuffer.el (completing-read-default): Adjust accordingly.
13370 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
13372         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13373         (tramp-open-shell): Use `tramp-shell-quote-argument'.
13375         * net/trampver.el: Update release number.
13377 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13379         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13380         "in" (bug#9190).
13382 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13384         * mail/sendmail.el (sendmail-query-once): Restore the current
13385         buffer after querying (bug#9074).
13387         * dired.el (dired-flagged): Use different faces for marked and
13388         flagged files (bug#6117).
13390         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13391         (bug#4433).
13393         * ido.el (ido-mode): Switch off the message if called
13394         non-interactively.
13396         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13397         before 587, since it appears that that's more likely to work for
13398         more people.
13400         * cus-edit.el (custom-file): When running under emacs -q, always
13401         refuse to save the customizations, even if the .emacs file doesn't
13402         exist.
13404         * info.el: Remove the `Info-beginning-of-buffer' function
13405         (bug#8325).
13407         * net/network-stream.el (network-stream-open-starttls):
13408         Use `starttls-available-p' to see whether starttls.el can be used.
13410 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
13412         * window.el (display-buffer-in-window): Don't set dedicated status
13413         of window here (Bug#9215).
13414         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13415         (display-buffer-pop-up-side-window)
13416         (display-buffer-in-side-window): Set dedicated status of window here.
13418 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13420         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13421         before binding generated-autoload-file.
13423 2011-08-01  Deniz Dogan  <deniz@dogan.se>
13425         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13427 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
13429         Sync with Tramp 2.2.2.
13431         * net/trampver.el: Update release number.
13433 2011-07-30  Juri Linkov  <juri@jurta.org>
13435         * dired-aux.el (dired-touch-initial): Remove function.
13436         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13437         current time, and `default' to the last modification time of the
13438         current marked file (bug#6887).
13440 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
13442         * simple.el (goto-line): Use string-to-number to provide a
13443         numeric argument to read-number (bug#9163).
13445 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
13447         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13448         connection process, it could be nil.
13450 2011-07-27  Leo Liu  <sdl.web@gmail.com>
13452         Simplify url handling in rcirc-mode.
13454         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13455         (rcirc-browse-url-at-mouse): Remove.
13456         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13458 2011-07-26  Alan Mackenzie  <acm@muc.de>
13460         Fontify bitfield declarations properly.
13462         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13463         (c-symbol-chars): Now exported as a lang variable.
13464         (c-not-primitive-type-keywords): New lang variable.
13466         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13467         QT keyword "more" to prevent "more slots: ...." being spuriously
13468         parsed as a bitfield declaration.
13470         * progmodes/cc-engine.el (c-beginning-of-statement-1):
13471         Refactor and enhance to handle bitfield declarations.
13472         (c-punctuation-in): New function.
13473         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13474         declarations properly.
13476 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
13478         * calendar/icalendar.el (icalendar--all-events): Take care of
13479         multiple vcalendars in a single file.
13480         (icalendar--convert-float-to-ical): Checkdoc fixes.
13482 2011-07-25  Deniz Dogan  <deniz@dogan.se>
13484         * image.el (insert-image): Clarifying docstring.
13486 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
13488         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13489         `tramp-send-command-and-check' if there is no error.
13490         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13492 2011-07-22  Alan Mackenzie  <acm@muc.de>
13494         Prevent cc-langs.elc being loaded at run time.
13496         * progmodes/cc-mode.el: Remove two autoload forms which loaded
13497         cc-langs.
13499         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
13500         "(require 'cc-langs)".  Quote a form so it will evaluate at
13501         (cc-mode's) compilation time.
13503 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
13505         * net/tramp.el (tramp-file-name-handler): Avoid recursive
13506         loading.  (Bug#9114)
13508 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
13510         * window.el (display-buffer-pop-up-window)
13511         (display-buffer-pop-up-side-window)
13512         (display-buffer-in-side-window): Call display-buffer-set-height
13513         and display-buffer-set-width after setting the new window's
13514         buffer so `fit-window-to-buffer' and friends work on the right buffer.
13516 2011-07-20  Sam Steingold  <sds@gnu.org>
13518         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13519         (etags-tags-included-tables): Call `convert-standard-filename' on
13520         the file names contained in TAGS so that windows Emacs can handle
13521         TAGS files created by cygwin ctags.
13523 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13525         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13526         which apparently didn't work.
13528 2011-07-19  Roland Winkler  <winkler@gnu.org>
13530         * proced.el (proced-send-signal): For *Marked Processes* buffer
13531         put point at beginning of buffer.
13533 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
13535         * proced.el (proced-format): Make header lines align with the text
13536         (bug#1779).
13538 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13540         * view.el (view-buffer): Allow running in `special' modes if we're
13541         visiting a file (bug#8615).
13543 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
13545         * window.el (display-buffer-alist-of-strings-p)
13546         (display-buffer-alist-set-1, display-buffer-alist-set-2):
13547         New functions.
13548         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13549         more accurately.
13551 2011-07-18  Alan Mackenzie  <acm@muc.de>
13553         Fontify declarators properly when, e.g., a jit-lock chunk begins
13554         inside a declaration.
13556         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13558         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13559         New function.
13560         (c-complex-decl-matchers): Insert reference to
13561         c-font-lock-enclosing-decls.
13563         * progmodes/cc-engine.el (c-backward-single-comment):
13564         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13565         to nil around calls to (forward-comment -1).
13567 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13569         * image.el (put-image): Doc typo fix.
13571         * progmodes/etags.el (tags-search): Doc typo fix.
13573         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13574         password if we get errors 550 to 554.
13576 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13578         * net/gnutls.el (gnutls-log-level): Remove.
13580         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13581         indentation character (bug#6380).
13583         * files.el (buffer-offer-save): Made permanently local (bug#6241).
13585         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13586         to clarify what the problem is (bug#4291).
13588         * simple.el (current-kill): Clarify what
13589         `interprogram-paste-function' does (bug#7500).
13590         (auto-fill-mode): Document `auto-fill-function' in relation to
13591         `auto-fill-mode' (bug#2470).
13593 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
13595         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13596         method if slot is read-only (bug#9035).
13598 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
13600         * frame.el (select-frame-set-input-focus): New argument NORECORD.
13601         * window.el (pop-to-buffer): Select window used even if it was
13602         selected before, see discussion of (Bug#8615), (Bug#6954).
13603         Pass argument NORECORD on to select-frame-set-input-focus.
13605 2011-07-15  Glenn Morris  <rgm@gnu.org>
13607         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
13608         Respect help-form.
13610 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
13612         * net/gnutls.el (gnutls-min-prime-bits): New variable.
13613         (gnutls-negotiate): Use it.
13615 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13617         * net/gnutls.el (gnutls-negotiate):
13618         Upcase `gnutls-algorithm-priority'.
13620 2011-07-15  Glenn Morris  <rgm@gnu.org>
13622         * jka-compr.el (jka-compr-verbose): Move from here...
13623         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
13624         Add missing :version tag.
13625         * info.el: No need to require jka-compr when compiling.
13627 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13629         * net/gnutls.el (gnutls-algorithm-priority): New variable.
13630         (gnutls-negotiate): Use it.
13632         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13634         * info.el (Info-beginning-of-buffer): New command.
13635         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13636         announcing `b' as the key (bug#8325).
13637         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
13639         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13641         * international/mule-cmds.el
13642         (describe-specified-language-support): Make the error message
13643         clearer (bug#8905).
13645         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13647         * isearch.el (isearch-barrier): Add a doc string, since it's
13648         mentioned in a function doc string (bug#8678).
13650 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
13652         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13653         buffer argument (Bug#9083) and self-identifying label argument.
13655 2011-07-15  Glenn Morris  <rgm@gnu.org>
13657         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
13659 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13661         * man.el (Man-fontify-manpage): Fix message when formatting the
13662         man page (bug#7929).
13664 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
13666         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13667         argument LRM; if non-nil, append an invisible LRM character to the
13668         buffer name.
13669         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13670         last argument non-nil, when formatting buffer names.
13671         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13672         paragraph direction.
13674 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13676         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13677         the man page name (bug#7929).
13679         * image.el (put-image): Mention the `put-image' overlay property
13680         (bug#7834).
13682         * scroll-bar.el (set-scroll-bar-mode): Mention that
13683         `scroll-bar-mode' lists the values (bug#7772).
13685         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13686         command (bug#7729).
13688         * rect.el (apply-on-rectangle): Return the point after the last
13689         operation.
13690         (string-rectangle): Go to the point after the last operation
13691         (bug#7522).
13693         * printing.el (pr-toggle-region): Clarify the documentation
13694         slightly (bug#7493).
13696         * time.el (display-time-update):
13697         Allow `display-time-mail-function' to return nil (bug#7158).
13698         Fix suggested by Detlev Zundel.
13700         * vc/diff.el (diff): Clarify the order the file names are read
13701         (bug#7111).
13703         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13704         the doc string (bug#7015).
13706         * font-lock.el (font-lock-maximum-decoration): Mention what
13707         numeric levels mean (bug#6935).
13709         * startup.el (initial-buffer-choice): Don't mention the `none'
13710         selection, which is against policy.
13712 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
13714         * window.el (display-buffer-normalize-special):
13715         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
13717 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
13719         * subr.el (version<, version<=, version=): Mention "-CVS" and
13720         "-12345" alpha version numbers.
13722 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
13724         * bindings.el: Add advertised binding for set-mark-command
13725         (Bug#5772).
13727 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
13729         * bindings.el (mode-line-other-buffer):
13730         * bookmark.el (bookmark-bmenu-2-window):
13731         * bs.el (bs-cycle-next, bs-cycle-previous):
13732         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13733         switch-to-buffer.
13735         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13736         Delete.
13738 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
13740         * follow.el (follow-debug-message, follow-redisplay):
13741         * jka-cmpr-hook.el (with-auto-compression-mode):
13742         Fix typos in docstrings.
13744 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13746         * subr.el (with-silent-modifications): Clarify somewhat what the
13747         macro inhibits (bug#6525).
13749         * simple.el (eval-expression): Note what it does if called
13750         interactively (bug#6495).
13752 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
13754         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13755         Use pop-to-buffer buffer-or-name if it is nil.
13757         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13758         Remove switch-to-buffer.
13760 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13762         * files.el (make-directory): Clarify that an error will be raised
13763         if there's an error (bug#6397).
13765         * startup.el (initial-buffer-choice): Add `none' as a choice
13766         (bug#6234).
13768         * subr.el (add-hook): Clarify section about buffer-local hooks
13769         (bug#6218).
13771         * dired.el (dired-flagged): Clarify doc string (bug#6117).
13773 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
13775         * tabify.el (untabify): Preserve the current column so that point
13776         doesn't move (bug#6032).
13778 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13780         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13781         Rewrite to avoid awkward possessive "s" (bug#5986).
13783 2011-07-13  Glenn Morris  <rgm@gnu.org>
13785         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
13786         (dired-insert-directory): Give a message the first time
13787         if ls is found not to support --dired.
13789 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13791         * simple.el (toggle-truncate-lines): Clarify what is toggled
13792         (bug#5580).  Text by Drew Adams.
13794 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
13796         * simple.el (blink-matching-open): Make the error message from the
13797         last change less verbose.
13799 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
13801         * font-lock.el (font-lock-comment-face): Use the high contrast
13802         "yellow" color for font-lock-comment-face on low color terminals
13803         using a dark background color (bug#4221).
13805 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13807         * dired.el (dired-insert-set-properties): Make the doc string
13808         reflect what it does now (bug#5325).
13810         * simple.el (blink-matching-open): Say that we were unable to find
13811         the match within the limit, if we're limited (bug#5122).
13813         * international/mule-cmds.el (prefer-coding-system): Add an
13814         example (bug#4869).
13816         * progmodes/etags.el (tags-search): Document `file-list-form'
13817         (bug#4731).
13819 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
13821         * net/browse-url.el (browse-url-default-browser)
13822         (browse-url-browser-function): Make the default browser choice a
13823         bit more logical (bug#4300).  Also clean up the doc string.
13825 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
13827         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13828         binary endings (bug#4440).
13830 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13832         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13833         which can be pretty annoying (bug#8971).
13835         * jka-compr.el (jka-compr-verbose): New variable, and use
13836         throughout (bug#8971).
13838         * info.el (Info-find-file): Fall back on the installation
13839         directory if we can't find the info node anywhere else.
13841 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
13843         * vc/vc.el (vc-revert-file):
13844         Don't set file time-stamp in the past.  (Bug#5181)
13846 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13848         * files.el (after-find-file): Give a better error message when
13849         trying to find a symlink that points to a file that doesn't exist
13850         (bug#4398).
13852         * progmodes/cc-vars.el: Remove (probably) misleading comment
13853         (bug#4396).
13855 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
13857         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13859 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
13861         * mouse-sel.el: Hack restoring functionality, while keeping
13862         compatibility with 2010-07-03 changes to mouse selection.
13863         (mouse-sel-primary-overlay): New var.
13864         (mouse-sel-selection-alist): Use it.
13865         (mouse-sel-mode): Doc fix; remove points that are default features
13866         of mouse.el.
13868 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
13870         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13871         Fix previous fix (bug#2490).
13873 2011-07-12  Roland Winkler  <winkler@gnu.org>
13875         * textmodes/bibtex.el (bibtex-initialize):
13876         Use pop-to-buffer-same-window.
13877         (bibtex-search-entries): Fix interactive call.
13879 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13881         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13882         Fontise bytecomp Error lines more correctly (bug#2490).
13883         Fix suggested by Johan Bockgård.
13885         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13887         * dired-x.el (dired-guess-default): Use `delete-dups'.
13889 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
13891         * dired.el (dired-mark-prompt):
13892         * dired-aux.el (dired-read-shell-command): Doc fix.
13894 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13896         * mail/sendmail.el (sendmail-query-once):
13897         Use `customize-save-variable' unconditionally, now that it works under
13898         emacs -Q.
13900         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13902         * cus-edit.el (custom-file): Take an optional no-error variable.
13903         (customize-save-variable): Set the variable, and give a warning if
13904         running under "emacs -q".
13906 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
13908         * loadhist.el (unload-feature-special-hooks):
13909         Add `auto-coding-functions', `fill-nobreak-predicate' and
13910         `find-directory-functions' (bug#5327).
13912 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13914         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13916         * cus-edit.el (custom-guess-name-alist): -alist variables should
13917         use the `alist' type (bug#3120).  Suggested by Drew Adams.
13919         * printing.el: Add documentation to all the `pr-toggle-' commands.
13921 2011-07-11  Leo Liu  <sdl.web@gmail.com>
13923         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13924         backends where it makes sense (bug#2623).
13926 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13928         * dired-x.el (dired-guess-default): Remove duplicate shell command
13929         entries (bug#2028).
13930         (dired-guess-default): Fix grammar in doc string (bug#2028).
13931         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
13933         * subr.el (remove-duplicates): New conveniency function.
13935 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13937         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13938         (bug#1526).
13940 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
13942         * window.el (display-buffer-normalize-default): Don't invert
13943         meaning of even-window-heights.  Reported by Eli Zaretskii
13944         <eliz@gnu.org>.
13946 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
13948         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13950 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
13952         * window.el (display-buffer): Fix arguments to
13953         display-buffer-reuse-window in last change.
13955         * faces.el (link): Use a less saturated blue on light backgrounds.
13957         * startup.el (fancy-startup-text, fancy-about-text)
13958         (fancy-startup-tail): Use font-lock faces, for background safety.
13960 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
13962         * emulation/viper-cmd.el (viper-change-state-to-vi):
13963         Limit triggering of abbrev expansion (Bug#9038).
13965 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
13967         * window.el (display-buffer-default-specifiers): Remove.
13968         (display-buffer-macro-specifiers): Remove default specifiers.
13969         (display-buffer-alist): Default to nil.
13970         (display-buffer-reuse-window): New optional argument other-window.
13971         (display-buffer-pop-up-window): Allow splitting internal
13972         windows.  Check whether a live window was created.
13973         (display-buffer-other-window-means-other-frame)
13974         (display-buffer-normalize-arguments): Rename to
13975         display-buffer-normalize-argument and rewrite.  Set the
13976         other-window specifier.
13977         (display-buffer-normalize-special): New function.
13978         (display-buffer-normalize-options): Rename to
13979         display-buffer-normalize-default and rewrite.
13980         (display-buffer-normalize-options-inhibit): Remove.
13981         (display-buffer-normalize-specifiers): Rewrite.
13982         (display-buffer): Process other-window specifier and call
13983         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
13984         more faithfully.
13985         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
13986         (display-buffer-alist-set): Don't handle 'unset default values.
13987         (display-buffer-in-window, display-buffer-alist-set):
13988         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
13989         <tassilo@member.fsf.org>.
13991 2011-07-09  Leo Liu  <sdl.web@gmail.com>
13993         * register.el (insert-register): Restore accidental change on
13994         2011-06-26.  (Bug#9028)
13996 2011-07-09  Glenn Morris  <rgm@gnu.org>
13998         * subr.el (remq): Handle the empty list.  (Bug#9024)
14000 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
14002         * mail/sendmail.el (send-mail-function): No longer delay custom
14003         initialization.
14004         * custom.el (custom-initialize-delay): Doc fix.
14006 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14008         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14010 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
14012         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14013         human-friendly prompt.
14015 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14017         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14018         provided by a particular plugin.
14020 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14022         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14023         save customizations (with "emacs -Q"), just set the variable
14024         instead of erroring out.
14026         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14028 2011-07-08  Juri Linkov  <juri@jurta.org>
14030         * arc-mode.el (archive-zip-expunge, archive-zip-update)
14031         (archive-zip-update-case): Use 7z if found by `executable-find'.
14032         The order of searching the available programs is the same as in
14033         `archive-zip-extract' (bug#8968).
14035 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14037         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14038         (menu-bar-options-menu): Tweak descriptions.
14040 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14042         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14043         menu items into verb phrases (bug#1421).  Also refill to fit under
14044         80 columns.
14046 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14048         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14049         (Info-read-node-name): Doc fix (Bug#1084).
14051         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14052         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14053         (end-of-sexp, beginning-of-sexp)
14054         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14055         (forward-symbol, forward-same-syntax, word-at-point)
14056         (sentence-at-point): Doc fix (Bug#1144).
14058 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14060         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14061         should cover it (bug#1281).
14063         * cus-edit.el (custom-show): Mark as obsolete.
14065         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14066         negotiation fails, then possibly try again with a non-encrypted
14067         connection (bug#9017).
14069         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14070         be used.
14072 2011-07-07  Richard Stallman  <rms@gnu.org>
14074         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14075         property, and handle its changed format.
14076         Look for the correct line number.
14077         Use file's line contents (but not past first =) to find
14078         correct line in message.
14080 2011-07-07  Kenichi Handa  <handa@m17n.org>
14082         * international/characters.el (build-unicode-category-table):
14083         Delete it.
14084         (unicode-category-table): Set it by unicode-property-table-internal.
14086         * international/mule-cmds.el (char-code-property-alist): Move to
14087         to src/chartab.c.
14088         (get-char-code-property): Call unicode-property-table-internal to
14089         load a file.  Call get-unicode-property-internal where necessary.
14090         (put-char-code-property): Call unicode-property-table-internal to
14091         load a file.  Call put-unicode-property-internal where necessary.
14092         put-unicode-property-internal where necessary.
14093         (char-code-property-description):
14094         Call unicode-property-table-internal to load a file.
14096         * international/charprop.el:
14097         * international/uni-bidi.el:
14098         * international/uni-category.el:
14099         * international/uni-combining.el:
14100         * international/uni-comment.el:
14101         * international/uni-decimal.el:
14102         * international/uni-decomposition.el:
14103         * international/uni-digit.el:
14104         * international/uni-lowercase.el:
14105         * international/uni-mirrored.el:
14106         * international/uni-name.el:
14107         * international/uni-numeric.el:
14108         * international/uni-old-name.el:
14109         * international/uni-titlecase.el:
14110         * international/uni-uppercase.el: Regenerate.
14112         * loadup.el: Load international/charprop.el before
14113         international/characters.
14115 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14117         * window.el (next-buffer, previous-buffer): Signal an error if
14118         called from a minibuffer window.
14120         * bindings.el: Revert 2011-07-04 change.
14122 2011-07-06  Richard Stallman  <rms@gnu.org>
14124         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14125         (rmail-mime-insert-bulk, rmail-mime-insert-text):
14126         Treat markers like ints.
14127         (rmail-mime-entity): Doc fix.
14129 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14131         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14132         defcustom again for backwards compatibility.
14134         * simple.el (shell-command-on-region): Fill.
14136         * dired-aux.el (dired-kill-line): Add a doc string.
14138         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14139         to "\\sw\\|\\s_" (bug#358).
14141         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14142         (dired-unmark-backward): Ditto.
14143         (dired-flag-backup-files): Ditto.
14145         * dired-x.el (dired-mark-sexp): Ditto.
14147 2011-07-06  Richard Stallman  <rms@gnu.org>
14149         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14150         (rmail-mime-entity): New arg TRUNCATED.
14151         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14152         New functions.
14153         (rmail-mime-save): Warn if entity is truncated.
14154         (rmail-mime-toggle-hidden): Likewise, for showing.
14155         (rmail-mime-process-multipart): Record when an entity is truncated.
14157         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14158         if ENTITY is a string.
14160 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14162         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14163         of faces when `M-C-x'-ing their definitions (bug#8378).
14164         Also clean up the code slightly.
14166         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14167         because that makes the colors go away.
14169         * mail/sendmail.el (send-mail-function): Change the default to
14170         `sendmail-query-once'.
14171         (sendmail-query-once): Add an autoload cookie.
14173         * net/network-stream.el (network-stream-open-starttls): Try using
14174         a plain connection even if the server offered STARTTLS, and we
14175         kinda wanted to use it, if Emacs doesn't have any STARTTLS
14176         capability.  This should make smtpmail.el work in slightly more
14177         configurations.
14179 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
14181         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14182         New defun.
14183         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14185 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
14187         * progmodes/sql.el: Version 3.0
14188         (sql-product-alist): Add product :completion-object,
14189         :completion-column, and :statement attributes.
14190         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14191         (sql-mode-syntax-table): Mark all punctuation.
14192         (sql-font-lock-keywords-builder): Temporarily remove fallback on
14193         ansi keywords.
14194         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14195         (sql-mode-oracle-font-lock-keywords): Improve.
14196         (sql-oracle-show-reserved-words): New function for development.
14197         (sql-product-font-lock): Simplify for source code buffers.
14198         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14199         New functions.
14200         (sql-highlight-product): Set product specific syntax table.
14201         (sql-mode-map): Add statement movement functions.
14202         (sql-ansi-statement-starters, sql-oracle-statement-starters):
14203         New variable.
14204         (sql-statement-regexp, sql-beginning-of-statement)
14205         (sql-end-of-statement, sql-signum): New functions.
14206         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14207         (sql-show-sqli-buffer): Bug fix.
14208         (sql-interactive-mode): Store connection data as buffer local.
14209         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
14210         with sql-interactive-mode.
14211         (sql-save-connection): Save buffer local settings.
14212         (sql-connection-menu-filter): Change menu entry name.
14213         (sql-product-interactive): Bug fix.
14214         (sql-preoutput-hold): New variable.
14215         (sql-interactive-remove-continuation-prompt): Bug fixes.
14216         (sql-debug-redirect): New variable.
14217         (sql-str-literal): New function.
14218         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14219         Redesign.
14220         (sql-oracle-save-settings, sql-oracle-restore-settings)
14221         (sql-oracle-list-all, sql-oracle-list-table): New functions.
14222         (sql-completion-object, sql-completion-column)
14223         (sql-completion-sqlbuf): New variables.
14224         (sql-build-completions-1, sql-build-completions)
14225         (sql-try-completion): New functions.
14226         (sql-read-table-name): Use them.
14227         (sql-contains-names): New buffer local variable.
14228         (sql-list-all, sql-list-table): Use it.
14229         (sql-oracle-completion-types): New variable.
14230         (sql-oracle-completion-object, sql-sqlite-completion-object)
14231         (sql-postgres-completion-object): New functions.
14233 2011-07-06  Glenn Morris  <rgm@gnu.org>
14235         * window.el (pop-to-buffer): Doc fix.
14237 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
14239         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14241 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
14243         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14245         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14247 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
14249         * button.el (button): Inherit from link face.  Suggested by Dan
14250         Nicolaescu.
14252 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14254         * progmodes/gdb-mi.el: Fit in 80 columns.
14255         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14256         switch-to-buffer.
14258         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14259         if imenu is simply not configured (bug#8941).
14261 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
14263         * allout.el (allout-post-undo-hook): New allout outline-change
14264         event hook to signal undo activity.
14265         (allout-post-command-business): Run allout-post-undo-hook if an
14266         undo just occurred.
14267         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14268         * allout-widgets.el (allout-widgets-after-undo-function):
14269         Ensure the integrity of the current item's decoration after it has been
14270         in the vicinity of an undo.
14271         (allout-widgets-mode): Include allout-widgets-after-undo-function
14272         on the new allout-post-undo-hook.
14274 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14276         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14277         Let define-derived-mode define it.
14278         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14279         cycles of abbrev-table inheritance (bug#8998).
14281 2011-07-05  Roland Winkler  <winkler@gnu.org>
14283         * textmodes/bibtex.el: Add support for biblatex.
14284         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14285         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14286         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14287         (bibtex-entry-alist, bibtex-field-alist): New variables.
14288         (bibtex-entry-field-alist): Obsolete alias for
14289         bibtex-BibTeX-entry-alist.
14290         (bibtex-entry-alist, bibtex-field-alist): New widgets.
14291         (bibtex-set-dialect): New command.
14292         (bibtex-entry-type, bibtex-entry-head)
14293         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14294         Bind via bibtex-set-dialect.
14295         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14296         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14297         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14298         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14299         Define via bibtex-set-dialect.
14300         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14301         Obey bibtex-no-opt-remove-re.
14302         (bibtex-vec-push, bibtex-vec-incr): New functions.
14303         (bibtex-format-entry, bibtex-field-list)
14304         (bibtex-print-help-message, bibtex-validate)
14305         (bibtex-search-entries): Use new format of bibtex-entry-alist.
14307 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14309         * progmodes/compile.el (compilation-goto-locus):
14310         * net/tramp-cmds.el (tramp-append-tramp-buffers):
14311         * bs.el (bs-cycle-next, bs-cycle-previous):
14312         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14313         * bindings.el (mode-line-other-buffer):
14314         * autoinsert.el (auto-insert):
14315         * arc-mode.el (archive-extract):
14316         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14318 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14320         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14321         Fix check of `emacs-lock-unlockable-modes'.
14322         Coerce true values of `emacs-lock--try-unlocking' to t.
14324 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14326         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14327         * emacs-lock.el: New file.
14329 2011-07-05  Julien Danjou  <julien@danjou.info>
14331         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14332         than `boundp' to check if face is set.
14334 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14336         * register.el (registerv-make):
14337         * window.el (window-min-height): Fix typos in docstrings.
14339 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
14341         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14342         Update doc string.
14344 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
14346         * server.el (server-execute): Catch quit and call
14347         `server-return-error' to pass the error back to emacsclient and
14348         close the connection (bug#8942).
14350 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
14352         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14353         insecure exception for current topic.  Also note that auto-saves
14354         are handled differently.
14356         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14357         State variables for tracking auto-save inhibition situation.
14359         (allout-write-contents-hook-handler): Rename from
14360         'allout-write-file-hook-handler', and describe how it depends on
14361         write-contents-functions sensitivity to non-nil value to prevent
14362         file write.
14364         (allout-auto-save-hook-handler): Remove.  auto-save does not check
14365         this in individual buffers, only in the starting buffer, so this
14366         is not the right way for us to inhibit auto-save in a buffer
14367         according to its condition.
14369         (allout-mode): Use new allout-write-contents-hook-handler, and
14370         only with write-contents-functions.  Remove auto-save provisions -
14371         they're implemented elsewhere.
14373         (allout-before-change-handler): If undo is in progress, note that
14374         for attention of allout-post-command-business.
14376         (allout-post-command-business): If the command we're following was
14377         an undo, check for change in the status of encrypted items and
14378         adjust auto-save inhibitions accordingly.
14380         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14381         according to whether there are or aren't any plain-text topics
14382         pending encryption.
14384         (allout-inhibit-auto-save-info-for-decryption):
14385         Adjust buffer-saved-size and some allout state to inhibit auto-saves
14386         if there are plain-text topics pending encryption.
14388         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14389         buffer-saved-size and some allout state to not inhibit auto-saves
14390         if there are no longer any plain-text topics pending encryption.
14392         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14393         No longer provide for exemption of the current topic.
14395 2011-07-04  Juri Linkov  <juri@jurta.org>
14397         Add 7z operations to delete and save changed members (bug#8968).
14398         * arc-mode.el (archive-7z-expunge, archive-7z-update):
14399         New defcustoms.
14400         (archive-7z-write-file-member): New function.
14401         (archive-7z-summarize): Fix the number of dashes in the
14402         listing output.
14404 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14406         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14407         (bug#8958).
14409 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
14411         * bindings.el: Ignore next-buffer and previous-buffer in
14412         minibuffer-local-map.
14414         * font-lock.el (font-lock-builtin-face): Change light background
14415         color to dark slate blue (Bug#6693).
14417 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
14419         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14421 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14423         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14424         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14425         Add switch-to-buffer.
14427 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14429         * isearch.el (isearch-search-fun-function): Clarify further the
14430         meaning of the function returned.
14432 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
14434         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14436         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14437         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14438         Use it.
14439         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
14440         `tramp-default-remote-path' does not exist.
14441         (tramp-send-command-and-read): New optional argument NOERROR.
14442         (tramp-open-connection-setup-interactive-shell)
14443         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14444         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14445         (tramp-process-sentinel): Flush also process' connection property.
14446         (tramp-sh-handle-start-file-process): Do not set process
14447         sentinel.  It is done now ...
14448         (tramp-maybe-open-connection): ... here.  (Bug#8929)
14450 2011-07-04  MON KEY  <monkey@sandpframing.com>
14452         * play/animate.el (animate-string): Doc fixes and allow changing
14453         the buffer name (bug#5417).
14455 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14457         * play/animate.el (animation-buffer-name): Rename from *animate*.
14459 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
14461         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14462         This is simpler and helps future-proof the code.
14463         (timer-until): Use time-subtract and float-time.
14464         (timer--time-less-p): Use time-less-p.
14466 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
14468         * type-break.el (timep): Use the value of `float-time' to avoid a
14469         byte-compiler warning.
14471         * server.el (server-eval-and-print): Return any result, even nil.
14473 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
14475         * type-break.el: Accept time formats that the builtins accept.
14476         (timep, type-break-time-difference): Accept any format that
14477         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14478         This is simpler and helps future-proof the code.
14479         (type-break-time-difference): Round rather than ignoring
14480         subseconds components.
14482 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14484         * info.el (Info-apropos-matches): Make non-interactive, since it
14485         doesn't seem to do anything useful as a command (bug#8829).
14487 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
14489         * frame.el (frame-background-mode, frame-set-background-mode):
14490         Move from faces.el.
14491         (frame-default-terminal-background): New function.
14493         * custom.el (custom-push-theme): Don't record faces in `changed'
14494         theme; this doesn't work correctly for per-frame face settings.
14495         (disable-theme): Use face-set-after-frame-default to reset faces.
14496         (custom--frame-color-default): New function.
14498 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14500         * dired.el (dired-flagging-regexp): Remove unused variable
14501         (bug#8769).
14503 2011-03-29  Kevin Ryde  <user42@zip.com.au>
14505         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14506         `perl-Test2' extend to match possible "fail #N" rep count
14507         (bug#8377).
14509 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14511         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14512         `smtpmail-via-smtp' now returns the error instead of nil.
14514         * isearch.el (isearch-search-fun-function): Clarify the doc string
14515         (bug#8101).
14517 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
14519         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14520         unnecessary spaces (bug#8987).
14522 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14524         * net/network-stream.el (open-network-stream): Use the
14525         :end-of-capability command thoughout.
14527 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
14529         * net/network-stream.el (open-network-stream): Add the
14530         :end-of-capability command parameter, used by pop3.el.
14532 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14534         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14536         * fringe.el (fringe-query-style): Remove redundant text " (type ?
14537         for list)" (bug#6475).
14539         * files.el (file-expand-wildcards): Ignore non-readable
14540         sub-directories while trying to find matches instead of signaling
14541         an error (bug#6297).
14543         * man.el (Man-reference-regexp): Allow matching possible
14544         word-wrapped references (bug#6289).
14546         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14547         for consistency with the other vc buffers (bug#6197).
14548         (vc-checkin): Ditto.
14550         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14552         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14554 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14556         * custom.el (defcustom): Clarify that :set is only used in the
14557         Customize user interface (bug#6089).
14559         * progmodes/flymake.el (flymake-mode): If the buffer isn't
14560         associated with a file, refuse to run instead of erroring out
14561         (bug#6084).
14563         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14564         the doc string, since it appears that using `fill-column' always
14565         controls the width (bug#7845).
14567         * simple.el (shell-command-on-region): Say where the error output
14568         went if `shell-command-default-error-buffer' is set (bug#6857).
14570 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
14572         * allout.el (allout-yank-processing): Adjust cursor position for
14573         backwards-deleted space.
14575         (allout-rebullet-heading): Register changes with
14576         allout-exposure-changed-hook, so the modified topic is properly
14577         decorated.
14579 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14581         * minibuffer.el (completion-in-region): Document PREDICATE
14582         (bug#7136).
14584         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14585         of keyword/argument pairs (bug#6904).
14587         * replace.el (multi-occur):
14588         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
14590 2011-07-02  Drew Adams  <drew.adams@oracle.com>
14592         * dired.el (dired-mark-if): Make the message about whether it's
14593         marking or unmarking clearer (bug#8523).
14595 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14597         * disp-table.el (display-table-print-array): New function.
14598         (describe-display-table): Use it to print the vectors more pretty
14599         (Bug#8859).
14601 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
14603         * window.el (window-state-get-1): Don't assign clone numbers.
14604         Add clone-of item to list of window parameters.
14605         (window-state-put-2): Don't process clone numbers.
14606         (display-buffer-alist): Fix doc-string.
14608 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14610         * subr.el (remq): Don't allocate if it's not needed.
14611         (keymap--menu-item-binding, keymap--menu-item-with-binding)
14612         (keymap--merge-bindings): New functions.
14613         (keymap-canonicalize): Use them to refine the canonicalization.
14614         * minibuffer.el (minibuffer-local-completion-map)
14615         (minibuffer-local-must-match-map): Move initialization from C.
14616         (minibuffer-local-filename-completion-map): Move initialization from C;
14617         don't inherit from anything here.
14618         (minibuffer-local-filename-must-match-map): Make obsolete.
14619         (completing-read-default): Use make-composed-keymap to combine
14620         minibuffer-local-filename-completion-map with either
14621         minibuffer-local-must-match-map or
14622         minibuffer-local-filename-completion-map.
14624 2011-07-01  Glenn Morris  <rgm@gnu.org>
14626         * type-break.el (type-break-time-sum): Use dolist.
14628         * textmodes/flyspell.el (flyspell-word-search-backward):
14629         Replace CL function.
14631 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14633         * mouse.el (mouse--strip-first-event): New function.
14634         (function-key-map): Use it to map fringe clicks to normal clicks
14635         by default.
14637         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14638         (vc-bzr-revision-completion-table): Add support for annotate and date.
14640         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14641         inherit from parent.
14643 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14645         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
14646         (dired-show-file-type): Doc fixup (bug#8818).
14648         * dired.el (dired-mode): Fix up the doc string as suggested by
14649         Drew Adams (bug#8817).
14651         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14652         cookie, since the manual says that it should be possible to add
14653         this function to `find-file-hook' (bug#8709).
14655 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
14657         * progmodes/cfengine.el: Moved all cfengine3.el functionality
14658         here.  Noted Ted Zlatanov as the maintainer.
14659         (cfengine-common-settings, cfengine-common-syntax): New functions
14660         to set up common things between `cfengine-mode' and
14661         `cfengine3-mode'.
14662         (cfengine3-mode): New mode.
14663         (cfengine3-defuns cfengine3-defuns-regex
14664         (cfengine3-class-selector-regex cfengine3-category-regex)
14665         (cfengine3-vartypes cfengine3-font-lock-keywords)
14666         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
14667         (cfengine3-indent-line): Add from cfengine3.el.
14669 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
14671         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14673         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14675 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
14677         * window.el (same-window-buffer-names, same-window-regexps)
14678         (same-window-p, special-display-frame-alist)
14679         (special-display-popup-frame, special-display-function)
14680         (special-display-buffer-names, special-display-regexps)
14681         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14682         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14683         (split-window-preferred-function, split-height-threshold)
14684         (split-width-threshold, even-window-heights)
14685         (display-buffer-mark-dedicated, window-splittable-p)
14686         (split-window-sensibly, window-safely-shrinkable-p):
14687         Un-obsolete.
14688         (display-buffer): Don't spread args with function specifier
14689         because special-display-popup-frame won't like it.
14691 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
14693         Time-stamp simplifications and fixes.
14694         These improve accuracy slightly, and future-proof the code
14695         against some potential changes to current-time format.
14697         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14698         by using time-since and float-time.
14700         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14701         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
14702         + NNN microseconds".
14704         * type-break.el (type-break-time-sum): Rewrite using time-add.
14706         * play/hanoi.el (hanoi-current-time-float): Remove.
14707         All uses replaced by float-time.
14709         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14710         This yields a more-accurate answer.
14711         (rng-time-to-float): Remove; no longer needed.
14713         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14715         * calendar/timeclock.el (timeclock-seconds-to-time):
14716         Defalias to seconds-to-time, since they're the same thing.
14718         * emacs-lisp/elp.el (elp-elapsed-time):
14719         * emacs-lisp/benchmark.el (benchmark-elapse):
14720         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14722 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14724         * window.el (bury-buffer): Don't iconify the only frame.
14725         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14726         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
14728 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
14730         * eshell/em-smart.el (eshell-smart-display-navigate-list):
14731         Add mouse-yank-primary.
14733 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
14735         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14737 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14739         * emacs-lisp/find-func.el (find-library--load-name): New fun.
14740         (find-library-name): Use it to find relative load names when provided
14741         absolute file name (bug#8803).
14743 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14745         * textmodes/flyspell.el (flyspell-word): Consider words that
14746         differ only in case as potential doublons (bug#5687).
14748         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14749         Remove two rather uninteresting debugging-like messages to make
14750         debbugs.el more silent.
14752         * comint.el (comint-password-prompt-regexp): Accept "Response" as
14753         a password-like phrase.
14755 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
14757         * progmodes/cc-guess.el: New file.
14759         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
14761         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14762         derived from `c-basic-common-init'.
14764         * progmodes/cc-mode.el (top-level): Require cc-guess.
14765         (c-basic-common-init): Use `cc-choose-style-for-mode'.
14767 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
14769         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14771 2011-06-30  Alan Mackenzie  <acm@muc.de>
14773         * progmodes/cc-engine.el (c-guess-continued-construct):
14774         Correct the handling of template-args-cont, particularly for when font
14775         lock is disabled.  Name this case as "CASE G".
14777 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
14779         * allout.el (allout-yank-processing): Fix injection of extra space
14780         between bullet and non-whitespace character in first topic when
14781         pasting, ensuring that the actual spacing in the pasted topic
14782         following the bullet char is preserved.  This extra space was
14783         causing pasted encrypted topics to get a decrypted status even
14784         when the content was actually still encrypted.  Now the decryption
14785         status from before the paste is preserved.
14787         (allout-flag-region): Set all allout overlays so they evaporate
14788         when reduced to zero length (evanescent), to prevent overlay
14789         leakage.
14791 2011-06-30  Glenn Morris  <rgm@gnu.org>
14793         * w32-fns.el (w32-charset-info-alist): Declare.
14795         * find-dired.el (find-grep-options): Simplify.
14797         * term/ns-win.el (ns-set-resource): Declare.
14799         * ses.el (row, col): Declare dynamic variables honestly.
14801         * textmodes/reftex-parse.el (index-tags): Declare.
14803 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
14805         * cus-edit.el (customize-push-and-save): New function.
14807         * files.el (hack-local-variables-confirm): Use it.
14809         * custom.el (load-theme): New arg NO-CONFIRM.
14810         Use customize-push-and-save (Bug#8720).
14811         (custom-enabled-themes): Doc fix.
14813         * cus-theme.el (customize-create-theme)
14814         (custom-theme-merge-theme): Callers to load-theme changed.
14816 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14818         * thingatpt.el (thing-at-point-short-url-regexp): Require that
14819         short URLs have at least one dot in them (bug #7614).
14821         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14822         nil, because using a pty is apparently too slow (bug #895).
14824 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14826         * mail/sendmail.el (sendmail-query-once): New function.
14827         (sendmail-query-once-function): New variable.
14829 2011-06-29  Glenn Morris  <rgm@gnu.org>
14831         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14833         * ses.el (top-level): Require cl when compiling.
14834         (ses-set-localvars): Fix error statement.
14835         Call it at compile time to silence a storm of warnings.
14837 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
14839         * window.el (normalize-live-buffer): Rename to
14840         window-normalize-buffer.
14841         (normalize-live-frame): Rename to window-normalize-frame.
14842         (normalize-any-window): Rename to window-normalize-any-window.
14843         (normalize-live-window): Rename to window-normalize-live-window.
14844         (make-window-atom): Rename to window-make-atom.
14845         (window-resize-reset): Rename to window--resize-reset.
14846         (window-resize-reset-1): Rename to window--resize-reset-1.
14847         (resize-mini-window): Rename to window--resize-mini-window.
14848         (resize-subwindows-skip-p): Rename to
14849         window--resize-subwindows-skip-p.
14850         (resize-subwindows-normal): Rename to
14851         window--resize-subwindows-normal.
14852         (resize-subwindows): Rename to window--resize-subwindows.
14853         (resize-other-windows): Rename to window--resize-siblings.
14854         (resize-this-window): Rename to window--resize-this-window.
14855         (resize-root-window): Rename to window--resize-root-window.
14856         (resize-root-window-vertically): Rename to
14857         window--resize-root-window-vertically.
14858         (normalize-buffer-to-display): Rename to
14859         window-normalize-buffer-to-display.
14860         (normalize-buffer-to-switch-to): Rename to
14861         window-normalize-buffer-to-switch-to.
14862         Correspondingly update all callers of the functions listed
14863         above.
14864         (display-buffer-alist, display-buffer-normalize-arguments)
14865         (display-buffer-normalize-options, display-buffer)
14866         (display-buffer-alist-set): Use "function" instead of
14867         "fun-with-args".
14869 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
14871         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14872         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
14873         debbugs.gnu.org.  Mention acknowledgment email.
14875 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14877         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14878         buffer multibyteness, since it shouldn't matter.
14880 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
14882         * window.el (display-buffer-in-side-window): Handle dedicated
14883         windows as in display-buffer-reuse-window.
14884         (display-buffer-normalize-alist): Use value of override
14885         specifier.
14886         (display-buffer-normalize-specifiers): Use value of
14887         other-window-means-other-frame specifier.
14888         (display-buffer-alist): Rewrite some texts in widgets.
14889         (display-buffer): Spread arguments when calling function
14890         specified by fun-with-args.
14892 2011-06-28  Deniz Dogan  <deniz@dogan.se>
14894         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14895         Unnest `let'.
14897         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14898         selectors (Bug#5732).
14899         (css-proprietary-nmstart-re): Use `regexp-opt'.
14901 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
14903         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14904         (eshell-ls-date-format): New defcustom.
14905         (eshell-ls-file): Use it.
14907 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14909         * help-fns.el (describe-variable): Fix message for terminal-local vars.
14911 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
14913         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14914         (ange-ftp-make-tmp-name): New arg.
14915         (ange-ftp-file-local-copy): Use it.
14917 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
14919         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14920         no-conversion (Bug#8870).
14922 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
14924         * window.el (window-right, window-left, window-child)
14925         (window-child-count, window-last-child)
14926         (window-iso-combination-p, walk-window-tree-1)
14927         (window-atom-check-1, window-tree-1, delete-window)
14928         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14929         new naming conventions - window-vchild, window-hchild,
14930         window-next and window-prev are now called window-top-child,
14931         window-left-child, window-next-sibling and window-prev-sibling
14932         respectively.
14933         (resize-window-reset): Rename to window-resize-reset.
14934         (resize-window-reset-1): Rename to window-resize-reset-1.
14935         (resize-window): Rename to window-resize.
14936         (window-min-height, window-min-width)
14937         (resize-mini-window, resize-this-window, resize-root-window)
14938         (resize-root-window-vertically, adjust-window-trailing-edge)
14939         (enlarge-window, shrink-window, maximize-window)
14940         (minimize-window, delete-window, quit-restore-window)
14941         (split-window, balance-windows, balance-windows-area-adjust)
14942         (balance-windows-area, window-state-put-2)
14943         (display-buffer-even-window-sizes, display-buffer-set-height)
14944         (display-buffer-set-width, set-window-text-height)
14945         (fit-window-to-buffer): Rename all "resize-window" prefixed
14946         calls to use the "window-resize" prefix convention.
14947         (display-buffer-alist): Fix symbol for label specifier.
14948         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14949         corresponding specifier.
14950         Reported by Juanma Barranquero <lekktu@gmail.com>.
14952 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14954         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14955         convention.
14956         (ses-call-printer): Does not pass an empty string to formatter when the
14957         cell is empty to keep from barking printer Calc math-format-value.
14959 2011-06-27  Richard Stallman  <rms@gnu.org>
14961         * battery.el (battery-mode-line-limit): New variable.
14962         (battery-update): Handle it.
14964         * mail/rmailmm.el (rmail-mime-process-multipart):
14965         Handle truncated messages.
14967 2011-06-27  Glenn Morris  <rgm@gnu.org>
14969         * progmodes/flymake.el (flymake-err-line-patterns):
14970         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
14972 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14974         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
14975         (ses--clean-!, ses--clean-_): New functions.
14976         (ses-range): Add configurability of readout order, and conversion
14977         to Calc vector.
14979         * ses.el (ses-repair-cell-reference-all): New function.
14980         (ses-cell-symbol): Set macro as safe, so that it can be used in
14981         formulas.
14983         * ses.el: Update cycle detection algorithm.
14984         (ses-localvars): Add ses--Dijkstra-attempt-nb and
14985         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
14986         (ses-set-localvars): New function.
14987         (ses-make-cell): Add property-list as a cell element.
14988         (ses-cell-property-get-fun, ses-cell-property-get)
14989         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
14990         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14991         New functions.
14992         (ses-cell-property-set, ses-cell-property-pop)
14993         (ses-cell-property-get-handle): New macro.
14994         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14995         New aliases, used for code readability.
14996         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14997         cycle detection.
14998         (ses-self-reference-early-detection): New defcustom.
14999         (ses-formula-references): Robustify against self-referring cells.
15000         (ses-mode): Use ses-set-localvars.
15001         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15002         before lauching the update processing.
15003         (ses-initialize-Dijkstra-attempt): New function.
15004         (ses-recalculate-cell): Update for cycle detection based on
15005         Dijkstra algorithm.
15007         * ses.el: Fix commenting and indenting convention.
15009 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15011         * bs.el (bs-cycle-next): Complete last change.
15013 2011-06-27  Drew Adams  <drew.adams@oracle.com>
15015         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15017 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15019         * net/network-stream.el (network-stream-open-starttls):
15020         Don't re-get capabilities unless we've reestablished connection.
15021         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15023         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15024         to binary to possibly avoid line encoding issues on Windows (among
15025         other things).
15027 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15029         * net/network-stream.el (open-network-stream): Return an :error
15030         saying what the problem was, if possible.
15032         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15033         server.
15035         * net/network-stream.el (network-stream-open-starttls): If we
15036         wanted to use STARTTLS, and the server offered it, but we weren't
15037         able to because we had no STARTTLS support, then close the connection.
15038         (open-network-stream): Return an :error element, if present.
15040 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
15042         * hl-line.el (hl-line-sticky-flag): Doc fix.
15043         (global-hl-line-sticky-flag): New option (Bug#8323).
15044         (global-hl-line-highlight): Obey it.
15046         * vc/vc.el (vc-revert-show-diff): Default to t.
15048 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
15050         * allout-widgets.el (allout-widgets-post-command-business):
15051         Stop decorating intermediate isearch matches.  They're not being
15052         undecorated when an isearch is continued past, and isearch
15053         automatically collapses them.  This leads to "widget leaks", where
15054         decorated items accumulate in collapsed areas.  Lines with lots of
15055         hidden widgets can slow down cursor travel, substantially.
15056         Too much complicated machinery would be needed to ensure undecoration,
15057         so we're doing without this nicety.
15059         (allout-widgets-tally-string): Don't try to do a hash-table-count
15060         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
15061         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15062         *Messages* when allout-widgets-maintain-tally is t.
15064 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
15066         * window.el (display-buffer-normalize-argument): Rename to
15067         display-buffer-normalize-arguments.  Handle special meaning of
15068         LABEL argument.  Respect special-display-function when popping up
15069         a new frame.  Fix code searching for a window showing the buffer
15070         on another frame.
15071         (display-buffer-normalize-specifiers):
15072         Call display-buffer-normalize-arguments.
15073         (display-buffer-in-window): Don't undedicate the window if its
15074         buffer remains the same.
15075         Reported by Drew Adams <drew.adams@oracle.com>.
15076         (display-buffer-alist): Add choice for same-window macro
15077         specfier.
15078         (display-buffer): Mention special meaning of LABEL argument in
15079         doc-string.  Fix quoting.  Don't pop up a new frame even as
15080         fallback.
15082 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
15084         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15085         avoid deleting the current window in some cases (bug#8911).
15087 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
15089         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15090         (Bug#8934)
15092 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15094         * net/network-stream.el (network-stream-open-starttls):
15095         Use built-in TLS support if `gnutls-available-p' is true.
15096         (network-stream-open-tls): Ditto.
15098 2011-06-26  Leo Liu  <sdl.web@gmail.com>
15100         * register.el (registerv): New struct.
15101         (registerv-make): New function.
15102         (jump-to-register, describe-register-1, insert-register):
15103         Support the jump-func, print-func and insert-func slot of a registerv
15104         struct.  (Bug#8415)
15106 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
15108         * vc/vc.el (vc-revert-show-diff): New defcustom.
15109         (vc-diff-internal): New arg specifying diff buffer.
15110         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
15111         reuse an existing *vc-diff* buffer (Bug#8927).
15113         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15115 2011-06-26  Glenn Morris  <rgm@gnu.org>
15117         * progmodes/f90.el (f90-critical-indent): New option.
15118         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15119         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15120         (f90-mode): Doc fix.
15121         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15122         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15123         (f90-beginning-of-block, f90-next-block, f90-indent-region)
15124         (f90-match-end): Handle block, critical.
15126 2011-06-25  Glenn Morris  <rgm@gnu.org>
15128         * calendar/diary-lib.el (diary-included-files): Doc fix.
15129         (diary-include-files): New function, extracted from
15130         diary-include-other-diary-files and diary-mark-included-diary-files.
15131         (diary-include-other-diary-files, diary-mark-included-diary-files):
15132         Just call diary-include-files.
15133         (diary-mark-entries): Reset diary-included-files on first call.
15135         * calendar/diary-lib.el (diary-mark-entries)
15136         (diary-mark-included-diary-files):
15137         Visit included diary-files in temp buffers.
15139         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15140         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15141         (f90-start-block-re, f90-imenu-generic-expression)
15142         (f90-looking-at-program-block-start, f90-no-block-limit):
15143         Add support for submodules.
15145         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15146         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15148 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
15150         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15151         buffer-file-type before setting its value, to avoid disastrous
15152         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
15154 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
15156         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15158         * ses.el (ses-unload-function):
15159         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15161         * proced.el (proced-unload-function):
15162         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15164 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
15166         * server.el (server-create-window-system-frame): Add parameters arg.
15167         (server-process-filter): Doc fix.  Handle frame-parameters.
15169 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
15171         Fix bug#8730, bug#8781.
15173         * loadhist.el (unload--set-major-mode): New function.
15174         (unload-feature): Use it.
15176         * progmodes/python.el (python-after-info-look): Add autoload cookie.
15177         (python-unload-function): New function.
15179 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15181         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15183 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
15185         * net/browse-url.el (browse-url-firefox-program): Add icecat to
15186         the candidates list.
15188 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
15190         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15192 2011-06-23  Richard Stallman  <rms@gnu.org>
15194         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15195         (rmail-variables): Set next-error-move-function.
15196         (rmail-what-message): Take argument POS.
15197         (rmail-next-error-move): New function.
15199 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15201         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15202         messages for adjacent non-terminals.
15204 2011-06-23  Richard Stallman  <rms@gnu.org>
15206         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15207         (rmail-show-message-1): Preserve buffer modified flag.
15208         (rmail-start-mail): Don't specify use of rmail-mail-return;
15209         that's done by mail-bury now.
15210         (rmail-mail-return): Handle arg NEWBUF.
15212 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
15214         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15215         SIZE is a number.
15217 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
15219         * window.el (get-lru-window, get-mru-window)
15220         (get-largest-window): Never return a minibuffer window.
15221         (display-buffer-pop-up-window): Fix a bug that could lead to
15222         reusing the minibuffer window.
15223         (display-buffer): Pass original specifier argument to
15224         display-buffer-function instead of the normalized one.
15225         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15227 2011-06-22  Leo Liu  <sdl.web@gmail.com>
15229         * minibuffer.el (completing-read-function)
15230         (completing-read-default): Move from minibuf.c
15232 2011-06-22  Richard Stallman  <rms@gnu.org>
15234         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15235         to Rmail even if not started by a special Rmail command.
15237         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15238         Copy the buffer currently showing just one message.
15240 2011-06-22  Roland Winkler  <winkler@gnu.org>
15242         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15243         (bibtex-clean-entry): First delete the old key so that a
15244         customized algorithm for generating the new key does not get
15245         confused by the old key.
15246         (bibtex-url): Obey regexp of first step.
15247         (bibtex-search-entries): Do not use add-to-list with local
15248         list-var.
15250 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15252         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15253         stored a user name, then query for the password first, instead of
15254         waiting for SMTP to give an error message and the trying again.
15256 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
15258         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15259         BUFFER in call-process.
15261 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15263         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15264         QUIT twice.
15265         (smtpmail-try-auth-methods): Require user name and password from
15266         auth-source.
15268 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
15270         * window.el (display-buffer-default-specifiers)
15271         (display-buffer-alist): Remove entries for pop-up-frame-alist.
15272         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15273         (split-window): Normalize SIDE argument (Bug#8916).
15275         * frame.el (pop-up-frame-alist, pop-up-frame-function)
15276         (special-display-frame-alist, special-display-popup-frame):
15277         Remove duplicate declarations.  These are now in window.el.
15279 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15281         * mail/smtpmail.el (smtpmail-via-smtp):
15282         Set :use-starttls-if-possible so that we always use STARTTLS if the
15283         server supports it.  SMTP servers that support STARTTLS commonly
15284         require it.
15286         * net/network-stream.el (network-stream-open-starttls): Support
15287         upgrading to STARTTLS always, even if we don't have built-in support.
15288         (open-network-stream): Add the :always-query-capabilities keyword.
15290         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15291         upgrades with `open-network-stream', and rely solely on
15292         auth-source for all credentials.  Big changes throughout the file,
15293         but in particular:
15294         (smtpmail-auth-credentials): Remove.
15295         (smtpmail-starttls-credentials): Remove.
15296         (smtpmail-via-smtp): Check for servers saying they want AUTH after
15297         MAIL FROM, too.
15299         * net/network-stream.el (network-stream-open-starttls):
15300         Provide support for client certificates both for external and built-in
15301         STARTTLS.
15302         (auth-source): Require.
15303         (open-network-stream): Document the :client-certificate keyword.
15304         (network-stream-certificate): Change cert-cert to cert and
15305         cert-key to key.
15307 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
15309         * net/tramp-cache.el (top): Don't load the persistency file when
15310         "emacs -Q" has been called.
15312 2011-06-21  Tim Harper  <timcharper@gmail.com>
15314         * term/ns-win.el (ns-initialize-window-system):
15315         Set application-specific `ApplePressAndHoldEnabled' system
15316         resource to NO as it is not yet supported by the NS port.
15318 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
15320         * misc.el (list-dynamic-libraries--refresh): Compute header here...
15321         (list-dynamic-libraries): ...not here.
15323 2011-06-21  Leo Liu  <sdl.web@gmail.com>
15325         * subr.el (sha1): Implement sha1 using secure-hash.
15327 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
15329         * window.el (display-buffer-alist): In default value do not
15330         enforce searching a window on any but the selected frame.
15331         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15332         (display-buffer-select-window): Remove function.
15333         (display-buffer-in-window): When a window on another frame gets
15334         reused, do not select it any more but just raise its frame if
15335         necessary (Bug#8851) and (Bug#8856).
15336         (display-buffer-normalize-options): Handle pop-up-frames related
15337         options more faithfully.
15338         (pop-to-buffer): Don't rely on `display-buffer' selecting the
15339         window if it is on another frame.
15340         (display-buffer-alist, display-buffer-default-specifiers):
15341         Don't make new frame unsplittable by default.
15342         (display-buffer-normalize-argument): Fix doc-string typo and use
15343         'same-frame-other-window instead of 'other-window when associating
15344         with display-buffer-macro-specifiers.
15346 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
15348         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15349         New functions.
15350         (5x5-mode-map, 5x5-mode-menu): Bind them.
15351         (5x5-draw-grid): Tweak the solver's rendering.
15353 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15355         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15356         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15358 2011-06-21  Drew Adams  <drew.adams@oracle.com>
15360         * menu-bar.el: Use function variable instead of switch-to-buffer.
15361         (menu-bar-select-buffer-function): New variable.
15362         (menu-bar-update-buffers): Use it (bug#8876).
15364 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15366         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15367         variable's status.
15369 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
15371         * x-dnd.el (x-dnd-version-from-flags)
15372         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15373         and long as number (Bug#8899).
15374         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15376 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15378         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15379         (completion-try-completion, completion-all-completions): Compute the
15380         metadata argument if it's missing; make it optional (bug#8795).
15382         * wid-edit.el: Use lex-bind and move towards completion-at-point.
15383         (widget-complete): Use new :completion-function property.
15384         (widget-completions-at-point): New function.
15385         (default): Use :completion-function instead of :complete.
15386         (widget-default-completions): Rename from widget-default-complete;
15387         Rewrite.
15388         (widget-string-complete, widget-file-complete, widget-color-complete):
15389         Remove functions.
15390         (file, symbol, function, variable, coding-system, color):
15391         * international/mule-cmds.el (default-input-method, charset)
15392         (language-info-custom-alist):
15393         * cus-edit.el (face): Use new property :completions.
15395         * progmodes/pascal.el (pascal-completions-at-point): New function.
15396         (pascal-mode): Use it.
15397         (pascal-mode-map): Use completion-at-point.
15398         (pascal-toggle-completions): Make obsolete.
15399         (pascal-complete-word, pascal-show-completions):
15400         * progmodes/octave-mod.el (octave-complete-symbol):
15401         Redefine as obsolete alias.
15402         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15403         Signal absence of completion info for old Octave,
15404         (inferior-octave-complete): Redefine as obsolete alias.
15405         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15406         (meta-completions-at-point): Rename from meta-complete-symbol and
15407         adapt it for use on completion-at-point-functions.
15408         (meta-common-mode): Use it.
15409         (meta-looking-at-backward, meta-match-buffer): Remove.
15410         (meta-complete-symbol): Redefine as obsolete alias.
15411         (meta-common-mode-map): Use completion-at-point.
15412         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15413         (makefile-mode-map): Use completion-at-point.
15414         (makefile-completions-at-point): Rename from makefile-complete and
15415         adapt it for use on completion-at-point-functions.
15416         (makefile-mode): Use it.
15417         (makefile-complete): Redefine as obsolete alias.
15419 2011-06-20  Deniz Dogan  <deniz@dogan.se>
15421         * net/rcirc.el: Delete trailing whitespaces once and for all.
15423 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
15425         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15427 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
15429         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15431         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15433 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
15435         * window.el (display-buffer-other-window-means-other-frame):
15436         Call display-buffer-normalize-alist.
15437         (display-buffer-normalize-specifiers-1): Rename to
15438         display-buffer-normalize-argument.  New argument other-frame.
15439         Rewrite.
15440         (display-buffer-normalize-specifiers-2): Rename to
15441         display-buffer-normalize-options.
15442         (display-buffer-normalize-alist-1): New function.
15443         (display-buffer-normalize-specifiers-3): Rename to
15444         display-buffer-normalize-alist.
15445         Call display-buffer-normalize-alist-1.
15446         (display-buffer-normalize-options-inhibit): New variable.
15447         (display-buffer-normalize-specifiers): Rewrite calling
15448         display-buffer-normalize-alist,
15449         display-buffer-normalize-argument, and
15450         display-buffer-normalize-options.  Don't call the latter if
15451         display-buffer-normalize-options-inhibit is non-nil.
15452         (frame-auto-delete): New option.
15453         (window-deletable-p): Use frame-auto-delete.
15454         (window-list-no-nils, window-state-ignored-parameters)
15455         (window-state-get-1, window-state-get, window-state-put-list)
15456         (window-state-put-1, window-state-put-2, window-state-put):
15457         New functions.
15458         (display-buffer-normalize-options): Move special-display-p group
15459         after pop-up-frame group (Bug#8851) and (Bug#8856).
15461 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
15463         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15464         groups (Bug#8776).
15465         (rx-submatch-n): New function.
15466         (rx): Document it.
15468         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15469         (Bug#8768).
15471         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15473         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15475         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15476         anytime existing face settings are present (Bug#8889).
15478         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15479         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15480         Remove unused argument.
15482 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
15484         * window.el (display-buffer-default-specifiers):
15485         Remove pop-up-frame.  Add pop-up-window-min-height,
15486         pop-up-window-min-width, and another reuse-window specifier
15487         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
15488         (display-buffer-normalize-specifiers-2):
15489         Handle split-height-threshold and split-width-threshold also when
15490         pop-up-windows is unset.  Add a reuse-window specifier for the
15491         case popping up a new window fails.
15492         (special-display-popup-frame): Remove double quoting.
15493         (display-buffer-normalize-specifiers-1): Fix thinko.
15495 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15497         * shell.el (shell-completion-vars): Set pcomplete-termination-string
15498         according to comint-completion-addsuffix.
15500         * pcomplete.el: Convert to lexical binding and fix bug#8819.
15501         (pcomplete-suffix-list): Mark as obsolete.
15502         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15503         pcomplete-seen in the closure.
15504         (pcomplete-comint-setup): Setup completion-at-point as well.
15505         (pcomplete--entries): New function.
15506         (pcomplete--env-regexp): New var.
15507         (pcomplete-entries): Rewrite to work with partial-completion and
15508         without relying on pcomplete-suffix-list.
15509         (pcomplete-pare-list): Remove, unused.
15511 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
15513         * window.el (display-buffer-alist): Set pop-up-window-min-height
15514         and pop-up-window-min-width in default value.  Reported by
15515         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
15516         other-window-means-other-frame.
15517         (display-buffer-macro-specifiers): Comment out entry for
15518         other-window specifier.
15519         (display-buffer-other-window-means-other-frame): New function.
15520         (display-buffer-normalize-specifiers-1): New arguments
15521         buffer-name and label.  Treat other-window case specially.
15522         (display-buffer-normalize-specifiers-2): Treat other-window case
15523         specially.
15524         (display-buffer-normalize-specifiers-3): New function.
15525         (display-buffer-normalize-specifiers):
15526         Call display-buffer-normalize-specifiers-3.
15528 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
15530         * window.el (same-window-p): Fix two typos introduced when
15531         adding with-no-warnings.
15532         (display-buffer-normalize-specifiers-1): Don't check
15533         pop-up-frames for 'unset initialization.
15534         (display-buffer-normalize-specifiers-2): Major rewrite using
15535         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15536         (pop-up-frames, display-buffer-reuse-frames)
15537         (display-buffer-mark-dedicated): Don't initialize to 'unset.
15538         Suggested by David Engster <deng@randomsample.de>.
15539         (even-window-heights): Initialize to 'unset.
15540         (display-buffer-alist-set): Handle new 'unset initializations.
15541         (display-buffer-macro-specifiers): Don't pop up a new frame in the
15542         other window case.
15544 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
15546         * window.el (display-buffer-normalize-specifiers-1):
15547         Respect current value of pop-up-frames for most reasonable values of
15548         second argument of display-buffer (Bug#8865).
15549         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15550         (switch-to-buffer-other-window-same-frame)
15551         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
15552         Adams (Bug#8875).
15553         (display-buffer): Don't check noninteractive when calling
15554         display-buffer-pop-up-frame.
15555         (display-buffer-pop-up-frame): Never pop up a frame in
15556         noninteractive mode (Bug#8857).
15557         (enlarge-window, shrink-window): Don't report an error when the
15558         window can't be resized as requested (Bug#8862).
15560 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15562         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15564         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15566         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15568 2011-06-15  Alan Mackenzie  <acm@muc.de>
15570         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15571         for declarators, disable knr checking to speed up for normal files.
15572         2: Refactor, replacing a sequence of nested if forms by a cond form.
15574 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15576         * net/network-stream.el (open-network-stream): Add the keyword
15577         :always-query-capabilities for the case where you want to force a
15578         `plain' network connection, but the protocol still requires the
15579         capabilitiy command (i.e., SMTP and EHLO).
15581         * subr.el (process-live-p): Rename from `process-alive-p' for
15582         consistency with other `-live-p' functions.
15584 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15586         * window.el (same-window-buffer-names, same-window-regexps)
15587         (special-display-frame-alist, special-display-popup-frame)
15588         (special-display-function, special-display-buffer-names)
15589         (special-display-regexps, pop-up-frame-alist)
15590         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15591         (pop-up-windows, split-window-preferred-function)
15592         (split-height-threshold, split-width-threshold, even-window-heights)
15593         (display-buffer-mark-dedicated): Don't encourage the use of
15594         display-buffer-alist from Elisp code.
15596 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
15598         * progmodes/python.el (python-mode): Derive from prog-mode.
15599         * progmodes/ps-mode.el (ps-mode):
15600         * progmodes/mixal-mode.el (mixal-mode):
15601         * progmodes/cfengine.el (cfengine-mode):
15602         * progmodes/ld-script.el (ld-script-mode): Likewise.
15604 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
15606         * window.el (display-buffer-alist): Trim default value to avoid
15607         popping up a new frame (Bug#8857) or reusing an arbitrary window
15608         on another frame.
15609         (display-buffer): Do not fall back on popping up a new frame in
15610         batch mode (Bug#8857).
15612 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
15614         * cus-theme.el (describe-theme-1): Use custom-theme-p.
15615         (custom-theme-summary): New function.
15616         (customize-themes): Use it.
15618 2011-06-13  Glenn Morris  <rgm@gnu.org>
15620         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15622 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
15624         * help.el (help-window): Remove variable.
15625         (help-window-point-marker, temp-buffer-max-height)
15626         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15627         (help-print-return-message): Don't set help-window.
15628         (resize-temp-buffer-window): Rewrite cod eand doc-string.
15629         (help-window-setup-finish): Remove.
15630         (help-window-display-message, help-window-setup)
15631         (with-help-window): Major rewrite based on new
15632         display-buffer-window variable.
15634         * help-mode.el (help-mode-finish): Remove help-window related
15635         code.
15637         * view.el (view-exits-all-viewing-windows): Remove reference to
15638         view-return-to-alist in doc-string.
15639         (view-return-to-alist): Make obsolete.
15640         (view-buffer): Call pop-to-buffer-same-window and remove
15641         undo-window code.
15642         (view-buffer-other-window): Call pop-to-buffer-other-window and
15643         simplify code.  Ignore second argument.
15644         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15645         simplify code.  Ignore second argument.
15646         (view-return-to-alist-update): Make obsolete.
15647         (view-mode-enter): Rename second argument to QUIT-RESTORE.
15648         Rewrite using quit-restore window parameters.
15649         (view-mode-exit): Rename second argument to EXIT-ONLY.
15650         Rewrite using quit-restore-window.
15651         (View-exit, View-exit-and-edit, View-leave, View-quit)
15652         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15653         appropriate arguments.
15654         (view-end-message): Use quit-restore window parameter.
15656         * window.el (display-buffer-function): Rewrite doc-string.
15657         (display-buffer-window, display-buffer-alist): New variables.
15658         (display-buffer-split-specifiers)
15659         (display-buffer-side-specifiers)
15660         (display-buffer-macro-specifiers): New constants.
15661         (display-buffer-even-window-sizes, display-buffer-set-height)
15662         (display-buffer-set-width, display-buffer-select-window)
15663         (display-buffer-in-window, display-buffer-reuse-window)
15664         (display-buffer-split-window-1, display-buffer-split-window)
15665         (display-buffer-split-atom-window, display-buffer-pop-up-window)
15666         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15667         (display-buffer-in-side-window, normalize-buffer-to-display)
15668         (display-buffer-normalize-specifiers-1)
15669         (display-buffer-normalize-specifiers-2)
15670         (display-buffer-normalize-specifiers, display-buffer-frame):
15671         New functions.
15672         (display-buffer): Major rewrite.
15673         (display-buffer-other-window, display-buffer-other-frame)
15674         (pop-to-buffer, switch-to-buffer-other-window)
15675         (switch-to-buffer-other-frame): Rewrite.
15676         (display-buffer-same-window, display-buffer-same-frame)
15677         (display-buffer-same-frame-other-window)
15678         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15679         (pop-to-buffer-other-window)
15680         (pop-to-buffer-same-frame-other-window)
15681         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15682         (switch-to-buffer-other-window-same-frame): New functions.
15683         (same-window-p, special-display-p): Rewrite disabling warnings.
15684         Make obsolete.
15685         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15686         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15687         Make obsolete
15688         (same-window-buffer-names, same-window-regexps)
15689         (special-display-frame-alist, special-display-popup-frame)
15690         (special-display-function, special-display-buffer-names)
15691         (special-display-regexps, pop-up-frame-alist)
15692         (pop-up-frame-function, split-window-preferred-function)
15693         (split-height-threshold, split-width-threshold)
15694         (even-window-heights): Make obsolete.
15696 2011-06-12  Glenn Morris  <rgm@gnu.org>
15698         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
15699         Misc simplifications.
15701 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
15703         * window.el (window-safely-shrinkable-p): Restore function which
15704         was inadvertently removed in change from 2011-06-11.  Declare as
15705         obsolete.
15707         * calendar/calendar.el (calendar-generate-window):
15708         Use window-iso-combined-p instead of combination of one-window-p and
15709         window-safely-shrinkable-p.
15711 2011-06-12  Glenn Morris  <rgm@gnu.org>
15713         * progmodes/fortran.el (fortran-mode-syntax-table):
15714         * progmodes/f90.el (f90-mode-syntax-table):
15715         Set % to punctuation.  (Bug#8820)
15716         (f90-find-tag-default): Remove, no longer needed.
15718 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
15720         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15722 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
15724         * image.el (image-animated-p): Return animation delay in seconds.
15725         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15726         (image-animate-timeout): Remove DELAY argument.  Don't assume
15727         every subimage has the same delay; get it from image-animated-p.
15728         (image-animate): Caller changed.
15730 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
15732         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15733         to ignored backtrace functions.
15735 2011-06-11  Glenn Morris  <rgm@gnu.org>
15737         * calendar/appt.el (appt-disp-window-function): Doc fix.
15738         (appt-check): Handle overlapping appointments.  (Bug#8337)
15740 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
15742         * window.el (window-tree-1, window-tree): New functions, moving
15743         the latter to window.el.
15744         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15745         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15746         (bw-refresh-edges): Remove.
15747         (balance-windows-1, balance-windows-2): New functions.
15748         (balance-windows): Rewrite in terms of window tree functions,
15749         balance-windows-1 and balance-windows-2.
15750         (bw-adjust-window): Remove.
15751         (balance-windows-area-adjust): New function with functionality of
15752         bw-adjust-window but using resize-window.
15753         (set-window-text-height): Rewrite doc-string.
15754         Use normalize-live-window and resize-window.
15755         (enlarge-window-horizontally, shrink-window-horizontally):
15756         Rename argument to DELTA.
15757         (window-buffer-height): New function.
15758         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15759         Rewrite using new window resize routines.
15760         (kill-buffer-and-window, mouse-autoselect-window-select):
15761         Use ignore-errors instead of condition-case.
15762         (quit-window): Call delete-frame instead of delete-windows-on
15763         for the only buffer on frame.
15765 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
15767         * loadup.el (top-level): Load window before files for the sake
15768         of replace-buffer-in-windows.
15770         * files.el (read-buffer-to-switch)
15771         (switch-to-buffer-other-window)
15772         (switch-to-buffer-other-frame, display-buffer-other-frame):
15773         Move to window.el.
15775         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15776         (previous-buffer): Move to window.el.
15778         * bindings.el (unbury-buffer): Move to window.el.
15780         * window.el (delete-other-windows-vertically): Move after
15781         definition of delete-other-windows.
15782         (other-window, delete-windows-on, replace-buffer-in-windows):
15783         Move here from window.c.
15784         (record-window-buffer, unrecord-window-buffer)
15785         (set-window-buffer-start-and-point, switch-to-prev-buffer)
15786         (switch-to-next-buffer): New functions.
15787         (get-next-valid-buffer, last-buffer, next-buffer): Move here
15788         from simple.el.  Call switch-to-next-buffer.
15789         (previous-buffer): Move here from simple.el.
15790         Call switch-to-prev-buffer.
15791         (bury-buffer): Move here from buffer.c.  Switch to previous
15792         buffer when window cannot be deleted.
15793         (unbury-buffer): Move here from bindings.el.
15794         (ctl-x-map): Move binding for other-window from window.c to
15795         here.
15796         (read-buffer-to-switch, switch-to-buffer-other-window)
15797         (switch-to-buffer-other-frame): Move here from files.el.
15798         (normalize-buffer-to-switch-to): New functions.
15799         (switch-to-buffer): Move here from buffer.c.
15800         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
15802 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
15804         * window.el (window-min-height, window-min-width): Move here
15805         from window.c.  Add defcustoms and rewrite doc-strings.
15806         (resize-mini-window, resize-window): New functions.
15807         (adjust-window-trailing-edge, enlarge-window, shrink-window):
15808         Move here from window.c.
15809         (maximize-window, minimize-window): New functions.
15810         (delete-window, delete-other-windows, split-window): Move here
15811         from window.c.
15812         (window-split-min-size): New function.
15813         (split-window-keep-point): Mention split-window-above-each-other
15814         instead of split-window-vertically.
15815         (split-window-above-each-other, split-window-vertically):
15816         Rename split-window-vertically to split-window-above-each-other
15817         and provide defalias for old definition.
15818         (split-window-side-by-side, split-window-horizontally):
15819         Rename split-window-horizontally to split-window-side-by-side
15820         and provide defalias for the old definition.
15821         (ctl-x-map): Move bindings for delete-window,
15822         delete-other-windows and enlarge-window here from window.c.
15823         Replace bindings for split-window-vertically and
15824         split-window-horizontally by bindings for
15825         split-window-above-each-other and split-window-side-by-side.
15827         * cus-start.el (all): Remove entries for window-min-height and
15828         window-min-width.  Add entries for window-splits and
15829         window-nest.
15831 2011-06-09  Glenn Morris  <rgm@gnu.org>
15833         * calendar/appt.el (appt-mode-line): New function.
15834         (appt-check, appt-disp-window): Use it.
15836         * files.el (hack-one-local-variable-eval-safep):
15837         Allow minor-modes with explicit +/-1 arguments.
15839 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
15841         * term/xterm.el (xterm): Add defgroup.
15842         (xterm-extra-capabilities): Add defcustom to supply known xterm
15843         capabilities, skip querying them, or query them (default).
15844         (terminal-init-xterm): Use it.
15845         (terminal-init-xterm-modify-other-keys): New function to set up
15846         modifyOtherKeys support to simplify `terminal-init-xterm'.
15848 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
15850         * window.el (resize-window-reset, resize-window-reset-1)
15851         (resize-subwindows-skip-p, resize-subwindows-normal)
15852         (resize-subwindows, resize-other-windows, resize-this-window)
15853         (resize-root-window, resize-root-window-vertically)
15854         (window-deletable-p, window-or-subwindow-p)
15855         (frame-root-window-p): New functions.
15857 2011-06-09  Glenn Morris  <rgm@gnu.org>
15859         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15860         (ange-ftp-get-files): Use it.
15862 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
15864         * mail/sendmail.el (mail-recover-1, mail-recover):
15865         * files.el (recover-file, recover-session):
15866         Handle dired-listing-switches not being just a single short option.
15868 2011-06-09  Glenn Morris  <rgm@gnu.org>
15870         * calendar/appt.el (appt-display-message, appt-disp-window):
15871         Handle lists of appointments.
15873 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
15875         * window.el (one-window-p): Move down in code.
15876         Rewrite doc-string.
15877         (window-current-scroll-bars): Rewrite doc-string.
15878         Normalize live window argument.
15879         (walk-windows, get-window-with-predicate, count-windows):
15880         Rewrite doc-string.  Use window-list-1.
15881         (window-in-direction-2, window-in-direction, get-mru-window):
15882         New functions.
15884 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
15886         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15887         Doc fix (Bug#8713).
15889 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
15891         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15893 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
15895         * loadhist.el (unload-feature-special-hooks):
15896         Add `comint-output-filter-functions'.
15898 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
15900         * calendar/appt.el (appt-check): Move some initializations into the let.
15902 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
15904         * window.el (window-height): Defalias to window-total-height.
15905         (window-width): Defalias to window-body-width.
15907 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
15909         * image-mode.el (image-toggle-animation): New command.
15910         (image-mode-map): Bind it to RET.
15911         (image-mode): Update message.
15912         (image-toggle-display-image): Avoid a spurious cache flush.
15913         (image-transform-rotation): Doc fix.
15914         (image-transform-properties): Return quickly in the normal case.
15915         (image-animate-loop): Rename from image-animate-max-time.
15917         * image.el (image-animate-max-time): Move to image-mode.el.
15918         (create-animated-image): Remove unnecessary function.
15919         (image-animate): Rename from image-animate-start.  New arg.
15920         (image-animate-stop): Remove; just use image-animate-timer.
15921         (image-animate-timer): Use car-safe.
15922         (image-animate-timeout): Rename argument.
15924 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
15926         * window.el (get-lru-window, get-largest-window): Move here from
15927         window.c.  Rename first argument to ALL-FRAMES.
15928         Rephrase doc-strings.
15929         (get-buffer-window-list): Rewrite using window-list-1.
15930         Rephrase doc-string.
15931         (window-safe-min-height, window-safe-min-width): New constants.
15932         (window-size-ignore, window-min-size, window-min-size-1)
15933         (window-sizable, window-sizable-p, window-size-fixed-1)
15934         (window-size-fixed-p, window-min-delta-1, window-min-delta)
15935         (window-max-delta-1, window-max-delta, window-resizable)
15936         (window-resizable-p, window-total-height, window-total-width)
15937         (window-body-width): New functions.
15938         (window-full-height-p, window-full-width-p): Rewrite using
15939         window-total-size.
15940         (window-body-height): Rewrite using window-body-size.
15942 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
15944         * window.el (window-right, window-left, window-child)
15945         (window-child-count, window-last-child, window-any-p)
15946         (normalize-live-buffer, normalize-live-frame)
15947         (normalize-any-window, normalize-live-window)
15948         (window-iso-combination-p, window-iso-combined-p)
15949         (window-iso-combinations)
15950         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15951         (windows-with-parameter, window-with-parameter)
15952         (window-atom-root, make-window-atom, window-atom-check-1)
15953         (window-atom-check, window-side-check, window-check):
15954         New functions.
15955         (ignore-window-parameters, window-sides, window-sides-vertical)
15956         (window-sides-slots): New variables.
15957         (window-size-fixed): Move down in code.  Minor doc-string fix.
15959 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
15961         * comint.el (comint-dynamic-complete-as-filename)
15962         (comint-dynamic-complete-filename): Correctly call
15963         completion-in-region.
15965 2011-06-05  Deniz Dogan  <deniz@dogan.se>
15967         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15968         in last change.
15970 2011-06-05  Deniz Dogan  <deniz@dogan.se>
15972         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15973         (rcirc): Use it to prompt for encryption.
15975 2011-06-05  Roland Winkler  <winkler@gnu.org>
15977         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15978         (bibtex-search-entries): New command bound to C-c C-a.
15979         (bibtex-display-entries): New function.
15981 2011-06-05  Roland Winkler  <winkler@gnu.org>
15983         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15984         (bibtex-insert-kill): After yanking insert newline if necessary.
15985         (bibtex-initialize): Call bibtex-string-files-init only once.
15986         (bibtex-mode): Do not call easy-menu-add.
15987         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15988         (bibtex-yank): Set arg properly if nil.
15990 2011-06-05  Roland Winkler  <winkler@gnu.org>
15992         * textmodes/bibtex.el (bibtex-search-entry-globally):
15993         New variable.
15994         (bibtex-search-entry): Use it.
15996 2011-06-05  Roland Winkler  <winkler@gnu.org>
15998         * textmodes/bibtex.el (bibtex-entry-format): New option
15999         sort-fields.
16000         (bibtex-format-entry, bibtex-reformat): Honor this option.
16001         (bibtex-parse-entry): Return fields in proper order.
16003 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
16005         * doc-view.el (doc-view-remove-if): Move computation of result out
16006         of `dolist' to silence misleading lexical-binding warning.
16008 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
16010         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16011         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16013 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
16015         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16016         "SunOS 5.10".
16018 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
16020         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16021         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16022         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16023         (tramp-parse-putty):
16024         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16025         (tramp-completion-function-alist-ssh)
16026         (tramp-completion-function-alist-telnet)
16027         (tramp-completion-function-alist-su)
16028         (tramp-completion-function-alist-putty): Set `tramp-autoload'
16029         cookie.
16031         * net/tramp-ftp.el:
16032         * net/tramp-sh.el:
16033         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16034         load "tramp.el" `tramp-set-completion-function'.
16036 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16038         * shell.el: Require and use pcomplete.
16039         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16040         (shell-completion-vars): Set pcomplete-default-completion-function.
16042 2011-06-04  Deniz Dogan  <deniz@dogan.se>
16044         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16045         `memq' (Bug#8799).
16047 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16049         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16051 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
16053         * bs.el (bs--mark-unmark, bs--nth-wrapper):
16054         * mpc.el (mpc-select-extend, mpc-songpointer-context):
16055         * vc/log-view.el (log-view-beginning-of-defun):
16056         * vc/smerge-mode.el (smerge-apply-resolution-patch)
16057         (smerge-refine-forward, smerge-refine-chopup-region):
16058         Silence warning for unused `dotimes' counter variables.
16060 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16062         * net/tramp.el (tramp-with-progress-reporter): Rename from
16063         with-progress-reporter.  Use `declare'.
16064         * net/tramp-smb.el:
16065         * net/tramp-sh.el:
16066         * net/tramp-gvfs.el: Update all uses.
16068 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
16070         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16071         buffer isn't killed before making it current.
16073 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16075         Silence various byte-compiler warnings.
16076         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16077         `access-type' and new obsolescence format.
16078         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16079         new format.
16080         (byte-compile-check-variable): New `access-type' argument.
16081         Only warn if the access-type is obsolete.
16082         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16083         (byte-compile-variable-set): Adjust callers.
16084         * help-fns.el (describe-variable): Adjust to new obsolescence format.
16085         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16086         setting it as obsolete.
16087         * simple.el (minibuffer-completing-symbol):
16088         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16089         access as obsolete.
16090         * minibuffer.el (minibuffer-completing-file-name): Don't make it
16091         obsolete yet.
16092         * international/quail.el (quail-mouse-choose-completion): Remove unused
16093         code referring to obsolete var.
16094         (quail-choose-completion-string): Remove.
16095         * server.el (server-clients-with, server-kill-buffer-query-function)
16096         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16097         * proced.el (proced-send-signal):
16098         * emacs-lisp/lisp.el (lisp-complete-symbol):
16099         Replace completion-annotate-function with completion-extra-properties.
16101 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16103         * simple.el (goto-line): Use read-number.
16104         (overriding-map-is-bound): Remove.
16105         (saved-overriding-map): Change default.
16106         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16107         Take the map as argument.
16108         (universal-argument, negative-argument, digit-argument): Use it.
16109         (restore-overriding-map): Adjust.
16110         (do-auto-fill): Use fill-forward-paragraph.
16111         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16113         * minibuffer.el (minibuffer-inactive-mode-map): New var.
16114         (minibuffer-inactive-mode): New major mode.
16115         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16116         the *Messages* buffer" hack.
16117         (mouse-popup-menubar): Don't burp if the event is a normal key.
16119         Miscellaneous tweaks.
16120         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16121         lexical scoping as in subr.el's dolist and dotimes.
16122         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16123         Silence compiler warning.
16124         * thingatpt.el (forward-whitespace): Trivial coding style fix.
16125         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16126         * international/ccl.el (ccl-compile): Trivial simplification.
16127         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16128         * emacs-lisp/testcover.el (testcover-end): Remove spurious
16129         `printflag' argument.
16130         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16131         Purecopy the whole obsolescence data.
16133 2011-06-01  Leo Liu  <sdl.web@gmail.com>
16135         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16136         improve doc-string as suggested by Marco Pessotto
16137         <melmothx@gmail.com>.
16138         (rcirc-print): Fix last change.
16140 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16142         * minibuffer.el (complete-with-action): Return nil for the metadata and
16143         boundaries of non-functional tables.
16144         (completion-table-dynamic): Return nil for the metadata.
16145         (completion-table-with-terminator): Add default case, using
16146         complete-with-action.
16147         (completion--metadata): New function.
16148         (completion-all-sorted-completions, minibuffer-completion-help): Use it
16149         to try and avoid pathological performance problems.
16150         (completion--embedded-envvar-table): Return `category' metadata.
16152 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16154         * subr.el (process-alive-p): New tiny convenience function.
16156 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16158         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16159         content but also its previous major mode.
16161 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
16163         * emacs-lisp/debug.el (debug): Restore the previous content of the
16164         *Backtrace* buffer when we exit with C-M-c.
16166 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16168         * minibuffer.el: Add metadata method to completion tables.
16169         (completion-category-overrides): New defcustom.
16170         (completion-metadata, completion--field-metadata)
16171         (completion-metadata-get, completion--styles)
16172         (completion--cycle-threshold): New functions.
16173         (completion-try-completion, completion-all-completions):
16174         Add `metadata' argument to choose completion-styles.
16175         (completion--do-completion): Use metadata to choose cycling.
16176         (completion-all-sorted-completions): Use metadata for sorting.
16177         Remove :completion-cycle-penalty which is not needed any more.
16178         (completion--try-word-completion): Add `metadata' argument.
16179         (minibuffer-completion-help): Check metadata for annotation function
16180         and sorting.
16181         (completion-file-name-table): Return `category' metadata.
16182         (minibuffer-completing-file-name): Make obsolete.
16183         * simple.el (minibuffer-completing-symbol): Make obsolete.
16184         * icomplete.el (icomplete-completions): Pass new `metadata' param to
16185         completion-try-completion.
16187 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16189         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16191 2011-05-30  Leo Liu  <sdl.web@gmail.com>
16193         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16194         (rcirc-print): Decode all incoming messages (bug#8744).
16195         (rcirc-decode-coding-system): Allow value nil for automatic coding
16196         system detection.
16198 2011-06-01  Glenn Morris  <rgm@gnu.org>
16200         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16202 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16204         * image.el (image-animate-max-time): Allow nil and t values.
16205         Default to nil.
16206         (create-animated-image): Doc fix.
16207         (image-animate-start): Remove second arg; just use
16208         image-animate-max-time.
16209         (image-animate-timeout): Doc fix.  Args changed.
16211         * image-mode.el (image-toggle-display-image): Ensure that the
16212         image spec passed to the animate timer is the same object as in
16213         the buffer's display property (Bug#6981).
16214         (image-transform-properties): Doc fix.
16216         * image.el (image-animate-max-time): Default to nil.
16218 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
16220         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16221         entire buffer list (Bug#8184).
16223 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16225         * image.el (imagemagick-types-inhibit)
16226         (imagemagick-register-types): Doc fix.
16228 2011-05-29  Deniz Dogan  <deniz@dogan.se>
16230         * net/rcirc.el (rcirc): Use the user's stored encryption method by
16231         default.
16233 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16235         * select.el: Don't perform clipboard-manager saving in hooks;
16236         leave the hooks empty.
16238 2011-05-28  Leo Liu  <sdl.web@gmail.com>
16240         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16241         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
16242         (occur-edit-mode): New major mode (Bug#8463).
16243         (occur-after-change-function): New function.
16244         (occur-engine): Give Occur tags a read-only property.
16246 2011-05-28  Kevin Ryde  <user42@zip.com.au>
16248         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16250 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16252         * bindings.el (help-echo): Make the initial non-indicator dash
16253         empty on graphical terminals (Bug#7295).
16255         * files.el (auto-mode-alist): Move config rule after the
16256         in-stripping one (Bug#8547).
16258         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16260         * startup.el (normal-splash-screen): Remove gratuitous mode-line
16261         setting (Bug#8740).
16263 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
16265         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16266         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16267         (Bug#8539).
16269 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16271         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16273 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
16275         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16276         (hs-hide-block-at-point, hs-find-block-beginning)
16277         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16278         (Bug#8279).
16280 2011-05-28  Glenn Morris  <rgm@gnu.org>
16282         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
16284 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16286         * help-fns.el (describe-function-1): If the function is a derived
16287         major mode, print the parent mode.
16289         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16290         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16292 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16294         * minibuffer.el (completion--capf-wrapper): Check applicability before
16295         returning non-nil for non-exclusive completion data.
16296         * progmodes/etags.el (tags-completion-at-point-function):
16297         * info-look.el (info-lookup-completions-at-point): Mark as
16298         non-exclusive.
16299         (info-complete): Adjust accordingly.
16301         * info-look.el: Convert to lexical-binding and completion-at-point.
16302         (info-lookup-completions-at-point): New function.
16303         (info-complete): Use it and completion-in-region.
16305 2011-05-28  Drew Adams  <drew.adams@oracle.com>
16307         * isearch.el: Let M-e start with point at the first mismatched char.
16308         (isearch-fail-pos): New function.
16309         (isearch-edit-string): Use it.
16311 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
16313         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16315 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
16317         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
16318         traversal functions for avl-trees.
16319         (avl-tree--stack): New struct.
16320         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16321         (avl-tree-enter): Add optional `updatefun' arg.
16322         (avl-tree--do-enter): Add optional `updatefun' arg.
16323         Change return value.
16324         (avl-tree-delete): Add optional `test' and `nilflag' args.
16325         (avl-tree--do-delete): Add `test' and `nilflag' args.
16326         Change return value.
16327         (avl-tree-member): Add optional `nilflag'
16328         (avl-tree-member-p): New function.
16329         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16330         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16331         (avl-tree-stack-empty-p): New functions.
16333         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16334         avl-tree--del-balance1 and make it work both ways.
16335         (avl-tree--del-balance2): Remove.
16336         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16337         make it work both ways.
16338         (avl-tree--enter-balance2): Remove.
16339         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16340         New macros.
16341         (avl-tree--mapc, avl-tree-map): Add direction argument.
16343 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
16345         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16347 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
16349         * select.el: Support clipboard managers with built-in function
16350         x-clipboard-manager-save, via delete-frame-functions and
16351         kill-emacs-hook.
16352         (xselect-convert-to-targets): Add MULTIPLE target to list.
16353         (xselect-convert-to-save-targets): New function.
16355 2011-05-27  Kenichi Handa  <handa@m17n.org>
16357         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16358         let-binding rfc2047-encode-encoded-words to nil.
16360 2011-05-27  Glenn Morris  <rgm@gnu.org>
16362         * mail/emacsbug.el: Don't require url-util.
16364         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
16366         * files.el (set-auto-mode):
16367         Also respect mode: entries at the end of the file.  (Bug#8586)
16369 2011-05-26  Glenn Morris  <rgm@gnu.org>
16371         * files.el (hack-local-variables-prop-line, hack-local-variables):
16372         Downcase mode names, as seems to be traditional.
16373         (hack-local-variables, hack-local-variables-apply): Doc fixes.
16375         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16376         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
16378 2011-05-25  Julien Danjou  <julien@danjou.info>
16380         * textmodes/rst.el (rst-define-level-faces): Do not define face
16381         symbol if it is already defined.
16383 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16385         * play/5x5.el (5x5-new-game, 5x5-randomize):
16386         Reset 5x5-solver-output to nil when a new grid is cast.
16387         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16388         these debugging traces, as defmacro breaks the compiled code.
16390 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
16392         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16394 2011-05-24  Leo Liu  <sdl.web@gmail.com>
16396         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16397         (vc-bzr-sha1): Adapt.
16399         * sha1.el: Remove.  Function `sha1' is now builtin.
16401         * bindings.el: Provide sha1 feature.
16403 2011-05-24  Kenichi Handa  <handa@m17n.org>
16405         * mail/sendmail.el: Require `rfc2047'.
16406         (mail-insert-from-field): Do not perform RFC2047 encoding.
16407         (mail-encode-header): New function.
16408         (sendmail-send-it): Set buffer-file-coding-system of the work
16409         buffer to the return value of select-message-coding-system.
16410         Call mail-encode-header.
16412         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16414 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
16416         * mail/supercite.el (sc-default-cite-frame):
16417         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16419 2011-05-24  Glenn Morris  <rgm@gnu.org>
16421         * progmodes/python.el (brm-menu): Declare.
16423         * emulation/viper.el (viper-set-hooks): Declare.
16425         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16426         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16427         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16428         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16429         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16430         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16432 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16434         Add an :exit-function for completion-at-point.
16436         * minibuffer.el (completion--done): New fun.
16437         (completion--do-completion): Use it.  New arg `expect-exact'.
16438         (minibuffer-complete, minibuffer-complete-word): Don't output message,
16439         since completion--do-completion does it for us now.
16440         (minibuffer-force-complete): Use completion--done and
16441         completion--replace.  Handle sole-completion case with more care.
16442         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16443         (completion-extra-properties): New var.
16444         (completion-annotate-function): Make obsolete.
16445         (minibuffer-completion-help): Adjust accordingly.
16446         Use completion-list-insert-choice-function.
16447         (completion-at-point, completion-help-at-point):
16448         Bind completion-extra-properties.
16449         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16450         * simple.el (completion-list-insert-choice-function): New var.
16451         (completion-setup-function): Preserve it.
16452         (choose-completion): Pay attention to it, shuffle the code a bit.
16453         (choose-completion-string): New arg `insert-function'.
16455         * textmodes/bibtex.el: Convert to lexical binding.
16456         (bibtex-mode-map): Use completion-at-point.
16457         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16458         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16459         (bibtex-complete): Define as obsolete alias.
16460         (bibtex-complete-internal): Remove.
16461         (bibtex-format-entry): Remove unused sub-group in regexp.
16462         * shell.el (shell--command-completion-data)
16463         (shell-environment-variable-completion):
16464         * pcomplete.el (pcomplete-completions-at-point):
16465         * comint.el (comint--complete-file-name-data): Use :exit-function
16466         instead of completion-table-with-terminator so it also works for
16467         choose-completion.
16469 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16471         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16473         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16474         (bug#8710).
16476         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16478 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
16480         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16481         customization variable and implement: If non-nil, auto-fill will
16482         be inhibited while on topic's header line.
16484 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16486         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
16487         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
16488         always have a solution in grid size = 5 cases.
16489         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16490         (5x5-solver-output, 5x5-log-buffer): New vars.
16491         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16492         Make these variables buffer local to achieve 5x5 multi-session-ness.
16493         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16494         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16495         (5x5-solve-suggest): New funs.
16496         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16497         randomize a grid so that we ensure that there is always a solution.
16498         (5x5-make-random-grid): Allow other movement than flipping.
16500 2011-05-23  Kevin Ryde  <user42@zip.com.au>
16502         * emacs-lisp/advice.el (ad-read-advised-function):
16503         Use `function-called-at-point' as the default, if it has
16504         advice and passes PREDICATE.
16506 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16508         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16509         byte-compile-lambda if it's actually a lambda.
16511         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16512         Fix function quoting.  Use backquote better.
16514 2011-05-22  Yuanle Song  <sylecn@gmail.com>
16516         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16517         matching (Bug#8516).
16519 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
16521         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16522         different face (Bug#8178).
16524 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
16526         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16527         defface (Bug#8144).
16529 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16531         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16532         funcall as well (bug#8712).  Warn when performing those conversions.
16533         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16535         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16537 2011-05-22  Glenn Morris  <rgm@gnu.org>
16539         * files.el (hack-local-variables-prop-line): Small simplifications.
16540         (hack-local-variables, hack-local-variables-prop-line):
16541         If MODE-ONLY, return the mode, rather than just `t'.
16543 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16545         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16547 2011-05-21  Glenn Morris  <rgm@gnu.org>
16549         * files.el (hack-local-variables-prop-line, hack-local-variables):
16550         If only interested in the mode, don't bother doing the other stuff.
16552         * image-mode.el (image-after-revert-hook):
16553         Redraw all frames on which the image is visible.  (Bug#8567)
16555         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
16557         * wid-edit.el (widget-checklist-match-inline):
16558         Fix 2011-04-19 change.  (Bug#8649)
16560 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16562         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16563         Also allow singlespace after single-letter capitals followed by a dot.
16565         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16566         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16568 2011-05-20  Nix  <nix@esperi.org.uk>
16570         * files.el (basic-save-buffer-2):
16571         Fix handling of break-hardlink-on-save with non-existent files.
16573 2011-05-19  Deniz Dogan  <deniz@dogan.se>
16575         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
16576         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
16578 2011-05-19  Glenn Morris  <rgm@gnu.org>
16580         * progmodes/f90.el (f90-type-def-re):
16581         Handle "type, bind(c)".  (Bug#8691)
16583         * emacs-lisp/autoload.el (batch-update-autoloads):
16584         Set autoload-excludes by parsing loadup.el rather than Makefiles.
16586 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
16588         * net/tramp.el (tramp-process-actions): Set "first-password-request"
16589         property for the correct connection in case of multihops.
16591 2011-05-18  Glenn Morris  <rgm@gnu.org>
16593         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
16594         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16596         Rationalize calendar handling of day and month abbrev-arrays.
16597         * calendar/calendar.el (calendar-customized-p): New function.
16598         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16599         (calendar-day-name-array, calendar-month-name-array): Doc fix.
16600         Add :set function.
16601         (calendar-abbrev-length, calendar-day-abbrev-array)
16602         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16603         (calendar-day-abbrev-array, calendar-month-abbrev-array):
16604         Elements may no longer be nil.
16605         (calendar-day-name, calendar-month-name):
16606         Update for changed nature of abbrev arrays.
16607         * calendar/diary-lib.el (diary-name-pattern):
16608         Update for changed nature of abbrev arrays.
16609         (diary-mark-entries-1): Update calendar-make-alist calls.
16610         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16611         * calendar/cal-html.el (cal-html-day-abbrev-array):
16612         Simply inherit from calendar-day-abbrev-array.
16614 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16616         * progmodes/grep.el (grep-mode): Disable default
16617         compilation-directory-matcher setting (bug#8684).
16619 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
16621         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16622         instead of "head" and "tail".  There were problems with SunOS 5.9,
16623         and it performs better.
16625 2011-05-17  Glenn Morris  <rgm@gnu.org>
16627         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16629         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16630         Replace obsolete function.
16632         * shell.el (pcomplete-parse-arguments-function): Declare.
16634         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16635         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16636         (appt-check): Doc fixes.
16637         (appt-disp-window-function, appt-delete-window-function):
16638         Remove needless special case in custom :type.
16639         (appt-display-count): Default to 0, not nil.
16640         (appt-check): Reset appt-display-count to 0, not nil.
16642 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
16644         * progmodes/python.el (python-font-lock-keywords):
16645         Add the Python 3.X keyword "nonlocal" (bug#8639).
16647 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16649         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16651 2011-05-16  Kevin Ryde  <user42@zip.com.au>
16653         * info-look.el (makefile-automake-mode): New setups, looking in
16654         automake manual, then makefile-mode.
16655         (makefile-mode): Remove automake manual, have it just in
16656         makefile-automake-mode since there's various things different or
16657         not relevant to plain make.
16658         (makefile-mode): Remove "other-modes" non-existent automake-mode,
16659         believe a hypothetical automake-mode would go to makefile-mode,
16660         not the other way around.
16662 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
16664         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16665         hunk-end tags (Bug#8672).
16667         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16668         vc-annotate-show-diff-revision-at-line (Bug#8671).
16670 2011-05-14  Glenn Morris  <rgm@gnu.org>
16672         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16673         in the middle of an existing one with multiple authors.  (Bug#8645)
16674         (change-log-font-lock-keywords): Also handle multiple author lines
16675         with leading tabs.  (Bug#8644)
16677         * calendar/appt.el (appt-check): Rename some local variables.
16678         Some simplification/reordering.
16680         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16681         (feedmail-sendmail-f-doesnt-sell-me-out)
16682         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16683         (feedmail-debug-sit-for, feedmail-queue-express-hook)
16684         (feedmail-queue-runner-message-sender): Set :version.
16685         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16686         (bbdb-dwim-net-address, vm-mail): Declare.
16687         (feedmail-binmail-gnulinuxish-template):
16688         Rename from feedmail-binmail-linuxish-template.
16689         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16690         Use insert-buffer-substring.
16692 2011-05-14  Bill Carpenter  <bill@carpenter.org>
16694         * mail/feedmail.el (feedmail-patch-level): Increase.
16695         (feedmail-debug): New custom group.
16696         (feedmail-confirm-outgoing-timeout)
16697         (feedmail-sendmail-f-doesnt-sell-me-out)
16698         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16699         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16700         (feedmail-sender-line, feedmail-from-line)
16701         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
16702         (feedmail-spray-this-address)
16703         (feedmail-spray-address-fiddle-plex-list)
16704         (feedmail-queue-use-send-time-for-date)
16705         (feedmail-queue-use-send-time-for-message-id)
16706         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16707         (feedmail-buffer-eating-function):
16708         Doc fixes.
16709         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16710         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16711         (feedmail-message-action-scroll-down): New functions.
16712         (feedmail-queue-directory, feedmail-queue-draft-directory):
16713         Use expand-file-name.
16714         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16715         Remove C-v help entry.
16716         (feedmail-queue-buffer-file-name): New variable.
16717         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16718         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16719         (feedmail-message-action-send-strong, feedmail-message-action-edit)
16720         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16721         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16722         (feedmail-message-action-toggle-spray)
16723         (feedmail-run-the-queue-no-prompts)
16724         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16725         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16726         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16727         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16728         (feedmail-envelope-deducer, feedmail-fiddle-from)
16729         (feedmail-fiddle-sender, feedmail-default-date-generator)
16730         (feedmail-fiddle-date, feedmail-fiddle-message-id)
16731         (feedmail-fiddle-spray-address)
16732         (feedmail-fiddle-list-of-spray-fiddle-plexes)
16733         (feedmail-fiddle-list-of-fiddle-plexes)
16734         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16735         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16736         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16737         Change default.  Doc fix.
16738         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16739         (feedmail-binmail-linuxish-template): New constant.
16740         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
16741         Respect feedmail-sendmail-f-doesnt-sell-me-out.
16742         (feedmail-send-it): Add debug call.
16743         Use feedmail-queue-buffer-file-name, and
16744         feedmail-send-it-immediately-wrapper.
16745         (feedmail-message-action-send): Add debug call.
16746         Use feedmail-send-it-immediately-wrapper.
16747         (feedmail-queue-express-to-queue): Add debug call.
16748         Run feedmail-queue-express-hook.
16749         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
16750         (feedmail-message-action-help-blat):
16751         Rename from feedmail-queue-send-edit-prompt-help-first.
16752         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
16753         Check line-endings.  Handle errors better.
16754         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16755         Doc fix.  Add debug call.
16756         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
16757         Use feedmail-queue-send-edit-prompt-inner.
16758         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16759         (feedmail-queue-send-edit-prompt-inner): New function, extracted
16760         from feedmail-queue-send-edit-prompt.
16761         (feedmail-queue-send-edit-prompt-help)
16762         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16763         (feedmail-tidy-up-slug): Add debug call.
16764         Respect feedmail-queue-slug-suspect-regexp.
16765         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16766         (feedmail-dump-message-to-queue): Add debug call.
16767         Expand queue-directory.
16768         (feedmail-dump-message-to-queue): Change message slightly.
16769         Use feedmail-say-chatter.
16770         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
16771         (feedmail-send-it-immediately-wrapper): New function.
16772         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
16773         Insert empty string rather than newline.  Handle full-frame case.
16774         Use catch/throw.  Use feedmail-say-chatter.
16775         (feedmail-fiddle-from): Try mail-host-address.
16776         (feedmail-default-message-id-generator): Doc fix.
16777         Bind system-time-locale.  Handle missing end.
16778         (feedmail-fiddle-x-mailer): Add debug call.
16779         Handle feedmail-x-mailer-line being nil.
16780         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16781         Add debug call.  Use buffer-substring-no-properties.
16782         (feedmail-say-debug, feedmail-say-chatter): New functions.
16783         (feedmail-find-eoh): Give an explicit error.
16785 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
16787         * net/newst-treeview.el (newsticker-treeview-face): Change default
16788         family from helvetica to sans.
16789         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
16790         etc/images/newsticker.
16792         * net/newst-reader.el (newsticker-feed-face): Change default
16793         family from helvetica to sans.
16795         * net/newst-plainview.el (newsticker-new-item-face)
16796         (newsticker-old-item-face, newsticker-immortal-item-face)
16797         (newsticker-obsolete-item-face, newsticker-date-face)
16798         (newsticker-statistics-face): Change default family from
16799         helvetica to sans.
16800         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
16801         etc/images/newsticker.
16803         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16804         (newsticker--process-auto-mark-filter-match): Tell user about
16805         auto-marking.
16807 2011-05-13  Didier Verna  <didier@xemacs.org>
16809         Common Lisp indentation improvements on defmethod and lambda-lists.
16810         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16811         TODO entries.
16812         (lisp-lambda-list-keyword-parameter-indentation)
16813         (lisp-lambda-list-keyword-parameter-alignment)
16814         (lisp-lambda-list-keyword-alignment): New customizable user options.
16815         (lisp-indent-defun-method): Improve docstring.
16816         (extended-loop-p): Fix comment.
16817         (lisp-indent-lambda-list-keywords-regexp): New variable.
16818         (lisp-indent-lambda-list): New function.
16819         (lisp-indent-259): Use it.
16820         (lisp-indent-defmethod): Support for more than one
16821         method qualifier and properly indent methods lambda-lists.
16822         (defgeneric): Provide a missing common-lisp-indent-function property.
16824 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16826         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16827         bounds for the empty string (bug#8667).
16829 2011-05-13  Glenn Morris  <rgm@gnu.org>
16831         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16833         * mail/sendmail.el (sendmail-program): Try executable-find first.
16834         (sendmail-send-it): `sendmail-program' cannot be unbound.
16836         * calendar/appt.el (appt-make-list): Simplify.
16837         (appt-time-msg-list): Doc fix.
16838         (appt-check): Change mode-line message at the time of the appointment.
16840 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
16842         * progmodes/ld-script.el (ld-script-keywords)
16843         (ld-script-builtins): Update keywords list.
16845 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16847         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16849         * shell.el (shell-completion-vars): New function.
16850         (shell-mode):
16851         * simple.el (read-shell-command): Use it.
16852         (blink-matching-open): No need for " [...]" in minibuffer-message.
16854 2011-05-12  Glenn Morris  <rgm@gnu.org>
16856         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16857         (appt-check): Simplify.
16859 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
16861         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
16862         literal "/dev/null".
16864 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16866         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16867         Fix typo.
16869 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
16871         * progmodes/which-func.el (which-function):
16872         Use add-log-current-defun instead of add-log-current-defun-function,
16873         which might not be defined (Bug#8260).
16875 2011-05-12  Glenn Morris  <rgm@gnu.org>
16877         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16878         Let byte-compile-initial-macro-environment always take precedence.
16880 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16882         * net/rcirc.el: Add support for SSL/TLS connections.
16883         (rcirc-server-alist): New field `encryption'.
16884         (rcirc): Check `encryption' settings.
16885         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
16886         Merge make-local-variable into `set'.
16887         (rcirc--connection-open-p): New function.
16888         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16889         the process is not a network process (e.g. running gnutls-cli).
16890         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16891         Make rcirc-(en|de)code-coding-system local here.
16892         (rcirc-mode): Merge make-local-variable into `set'.
16893         (rcirc-parent-buffer): Make permanent buffer-local.
16894         (rcirc-multiline-minor-mode): Don't do it here.
16895         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16896         there's no server buffer.
16898 2011-05-11  Glenn Morris  <rgm@gnu.org>
16900         * newcomment.el (comment-kill): Prefix "unused" local.
16902         * term/w32console.el (get-screen-color): Declare.
16904         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16905         Handle symbol elements of byte-compile-initial-macro-environment.
16907 2011-05-10  Leo Liu  <sdl.web@gmail.com>
16909         * bookmark.el (bookmark-bmenu-mode-map):
16910         Bind bookmark-bmenu-search to `/'.
16912         * mail/footnote.el: Convert to utf-8 encoding.
16913         (footnote-unicode-string, footnote-unicode-regexp): New variable.
16914         (Footnote-unicode): New function.
16915         (footnote-style-alist): Add unicode style to the list.
16916         (footnote-style): Doc fix.
16918 2011-05-10  Jim Meyering  <meyering@redhat.com>
16920         Fix doubled-word typos.
16921         * international/quail.el (quail-insert-kbd-layout): and and -> and
16922         * kermit.el: and and -> and
16923         * net/ldap.el (ldap-search-internal): to to -> to
16924         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16925         * progmodes/js.el (js-mode): and and -> and
16926         * textmodes/artist.el (artist-move-to-xy): at at -> at
16927         (artist-draw-region-trim-line-endings): if if -> if
16928         And Safetyc -> Safety.
16929         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16931 2011-05-10  Glenn Morris  <rgm@gnu.org>
16932             Stefan Monnier  <monnier@iro.umontreal.ca>
16934         * files.el (hack-one-local-variable-eval-safep):
16935         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
16937 2011-05-10  Glenn Morris  <rgm@gnu.org>
16939         * calendar/diary-lib.el (diary-list-entries-hook)
16940         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16941         (diary-nongregorian-marking-hook, diary-list-entries)
16942         (diary-include-other-diary-files, diary-mark-entries)
16943         (diary-mark-included-diary-files): Doc fixes.
16945 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
16947         * misc.el: Require tabulated-list.el during compilation.
16949 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
16951         * progmodes/compile.el (compilation-start):
16952         Run compilation-filter-hook for the async case too.
16953         (compilation-filter-hook): Doc fix.
16955 2011-05-09  Deniz Dogan  <deniz@dogan.se>
16957         * wdired.el: Remove outdated installation comment.  Fix usage
16958         comment.
16960 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
16962         * misc.el: Implement new command `list-dynamic-libraries'.
16963         (list-dynamic-libraries--loaded-only-p): New variable.
16964         (list-dynamic-libraries--refresh): New function.
16965         (list-dynamic-libraries): New command.
16967 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
16969         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16970         Fix the ant regexp to handle end-line and end-column info from jikes.
16971         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
16972         higher priority to avoid clobbering by gnu.
16974 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
16976         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16977         if the face has existing theme settings (Bug#8454).
16979 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
16981         * progmodes/perl-mode.el (perl-imenu-generic-expression):
16982         Only match variables declared via `my' or `our' (Bug#8261).
16984         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16985         special file names `.' and `..' (Bug#8259).
16987 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
16989         * progmodes/grep.el (grep-mode-font-lock-keywords):
16990         Remove buffer-changing entries.
16991         (grep-filter): New function.
16992         (grep-mode): Add it to compilation-filter-hook.
16994         * progmodes/compile.el (compilation-filter-hook)
16995         (compilation-filter-start): New defvars.
16996         (compilation-filter): Call compilation-filter-hook prior to
16997         updating the process mark.
16999 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17001         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17003 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
17005         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17006         mailclient-send-it even if window-system is nil.  (Bug#8595)
17008         * term/w32console.el (terminal-init-w32console):
17009         Call get-screen-color and use its output to set the frame
17010         background-mode.  (Bug#8597)
17012 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17014         Make bytecomp.el understand that defmethod defines funs (bug#8631).
17015         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17016         New functions.
17017         (defgeneric, eieio--defmethod): Use them.
17018         (eieio-defgeneric): Remove.
17019         (defmethod): Call defgeneric in a way visible to the byte-compiler.
17021 2011-05-07  Glenn Morris  <rgm@gnu.org>
17023         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17024         Use let rather than let*.
17025         (timeclock-find-discrep): Remove unused local.
17027         * calendar/diary-lib.el (diary-comment-start): Doc fix.
17029         * calendar/appt.el (appt-time-msg-list): Doc fix.
17031 2011-05-06  Noah Friedman  <friedman@splode.com>
17033         * apropos.el (apropos-print-doc): Only use
17034         emacs-lisp-docstring-fill-column when it is bound to an integer,
17035         per that variable's documentation.
17037 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17039         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17040         and warnings are not silently discarded (e.g. use -d instead of -P).
17042 2011-05-06  Glenn Morris  <rgm@gnu.org>
17044         * calendar/appt.el (appt-message-warning-time): Doc fix.
17045         (appt-warning-time-regexp): New option.
17046         (appt-make-list): Respect appt-message-warning-time.
17048         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17049         New options.
17050         (diary-add-to-list): Strip comments from the displayed string.
17051         (diary-mode): Set comment-start and comment-end.
17053         * vc/diff-mode.el (smerge-refine-subst): Declare.
17054         (diff-refine-hunk): Don't require smerge-mode when compiling.
17056 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
17058         * simple.el (list-processes): Return nil as the docstring says.
17060 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
17062         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17063         to "".
17064         (ange-ftp-write-region, ange-ftp-insert-file-contents)
17065         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17066         determining of binary transfer.  (Bug#7383)
17068 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
17070         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17071         Fix port computation bug.  (Bug#8618)
17073 2011-05-05  Glenn Morris  <rgm@gnu.org>
17075         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17077         * simple.el (shell-dynamic-complete-functions)
17078         (comint-dynamic-complete-functions): Declare.
17080         * net/network-stream.el (gnutls-negotiate):
17081         * simple.el (tabulated-list-print): Fix declarations.
17083         * progmodes/gud.el (syntax-symbol, syntax-point):
17084         Remove unnecessary and incorrect declarations.
17086         * emacs-lisp/check-declare.el (check-declare-scan):
17087         Handle byte-compile-initial-macro-environment in bytecomp.el
17089 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17091         Fix earlier half-done eieio-defmethod change (bug#8338).
17092         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17093         Streamline and change calling convention.
17094         (defmethod): Adjust accordingly and simplify.
17095         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17096         new eieio--defmethod.
17097         (slot-boundp): Minor CSE simplification.
17099 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
17101         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17102         (glasses-make-readable): Use glasses-separate-capital-groups.
17104 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
17106         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17107         (warning-series): Doc fix.
17108         (display-warning): Don't try to create the buffer if we just found it.
17110 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
17112         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17113         (autoload-find-generated-file): New function.
17114         (generate-file-autoloads): Bind generated-autoload-file to
17115         buffer-file-name.
17116         (update-file-autoloads, update-directory-autoloads):
17117         Use autoload-find-generated-file.  If called interactively, prompt for
17118         output file (Bug#7989).
17119         (batch-update-autoloads): Doc fix.
17121 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
17123         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17125 2011-05-04  Glenn Morris  <rgm@gnu.org>
17127         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17128         function, so it follows changes in calendar-date-style.
17129         (diary-fancy-date-matcher): New function.
17130         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17131         (diary-fancy-font-lock-fontify-region-function):
17132         Use diary-fancy-date-pattern as a function.
17134         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17135         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
17137 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
17139         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17140         instead of positional arguments.  Allow :keylist and :crlfiles
17141         arguments.
17142         (open-gnutls-stream): Call it.
17144         * net/network-stream.el (network-stream-open-starttls): Adjust to
17145         call `gnutls-negotiate' with :process and :hostname arguments.
17147 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17149         * minibuffer.el (completion--message): New function.
17150         (completion--do-completion, minibuffer-complete)
17151         (minibuffer-force-complete, minibuffer-complete-word): Use it.
17152         (completion--do-completion): Don't ignore completion-auto-help when in
17153         icomplete-mode.
17155         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17156         internal encoding (e.g. tibetan zero is not whitespace).
17157         (global-whitespace-mode): Prefer save-current-buffer.
17158         (whitespace-trailing-regexp): Remove useless save-match-data.
17159         (whitespace-empty-at-bob-regexp): Minor simplification.
17161 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
17163         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17165 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
17167         * textmodes/ispell.el (ispell-add-per-file-word-list):
17168         Use `concat' to create string for insertion.
17170 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17172         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17173         Avoid open-line which runs post-self-insert-hook.
17174         (bibtex-fill-entry): Remove unused `end' var.
17176 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
17178         * textmodes/ispell.el (ispell-add-per-file-word-list):
17179         Protect against `nil' value of `comment-start' (Bug#8579).
17181 2011-05-03  Leo Liu  <sdl.web@gmail.com>
17183         * isearch.el (isearch-yank-pop): New command.
17184         (isearch-mode-map): Bind it to `M-y'.
17185         (isearch-forward): Mention it.
17187 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17189         * simple.el (minibuffer-complete-shell-command): Remove.
17190         (minibuffer-local-shell-command-map): Use completion-at-point.
17191         (read-shell-command): Setup completion vars here instead.
17192         (read-expression-map): Bind TAB to symbol completion.
17194         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17195         error directly rather via storing it into `results'.
17197 2011-05-02  Leo Liu  <sdl.web@gmail.com>
17199         * vc/diff.el: Fix description.
17201 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17203         * server.el (server-eval-at): New function.
17205 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17207         * net/network-stream.el (open-network-stream): Take a :nowait
17208         parameter and pass it on to `make-network-process'.
17209         (network-stream-open-plain): Ditto.
17211 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
17213         * faces.el (face-spec-set-match-display): Don't match toolkit
17214         options on terminal frames.
17216 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17218         * progmodes/pascal.el: Use lexical binding.
17219         (pascal-mode-map): Remove author preferences.
17221         * pcomplete.el (pcomplete-std-complete): Don't abuse
17222         completion-at-point.
17224 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
17226         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17227         removing code that has been dead since 1991 or so.
17229         * startup.el (command-line): When warning about "_emacs", use a
17230         delayed warning to allow the user to filter it out.
17232 2011-04-28  Deniz Dogan  <deniz@dogan.se>
17234         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17235         user has not joined.
17237 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17239         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17240         aren't any completions at point.
17242 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
17244         * subr.el (display-delayed-warnings): New function.
17245         (delayed-warnings-hook): New variable.
17247 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17249         * minibuffer.el (completion-at-point, completion-help-at-point):
17250         Don't presume that a given completion-at-point-function will always
17251         use the same calling convention.
17253         * pcomplete.el (pcomplete-completions-at-point):
17254         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
17255         pcomplete-seen is non-nil.
17256         (pcomplete-comint-setup): Also recognize the new comint/shell
17257         completion functions.
17258         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17259         pcomplete-seen is non-nil.
17261 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
17263         * calendar/icalendar.el (diary-lib): Add require statement.
17264         (icalendar--create-uid): Read out a uid from a text-property on
17265         the first character in the entry.  This allows for code to add its
17266         own uid to the entry.
17267         (icalendar--convert-float-to-ical): Add export of
17268         `diary-float'-entries save for those with the optional DAY
17269         argument.
17271 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
17273         * subr.el (shell-quote-argument): Use alternate escaping strategy
17274         when we spot a variable reference in a string.
17276 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
17278         * cus-start.el (all): Define customization for debug-on-event.
17280 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
17282         * subr.el (shell-quote-argument): Escape correctly under Windows.
17284 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17286         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17288 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
17290         * net/tramp.el (tramp-process-actions): Add POS argument.
17291         Delete region between POS and (pos).
17293         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17294         Use `nil' position in `tramp-process-actions' call.
17295         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17297         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17298         position in `tramp-process-actions' call.
17300         * net/trampver.el: Update release number.
17302 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17304         * custom.el (defcustom): Obey lexical-binding.
17306         Fix octave-inf completion problems reported by Alexander Klimov.
17307         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17308         Inherit from octave-mode-syntax-table.
17309         (inferior-octave-mode): Set info-lookup-mode.
17310         (inferior-octave-completion-at-point): New function.
17311         (inferior-octave-complete): Use it and completion-in-region.
17312         (inferior-octave-dynamic-complete-functions): Use it as well, and use
17313         comint-filename-completion.
17314         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17315         symbol elements which shouldn't be word elements.
17316         (octave-font-lock-keywords, octave-beginning-of-defun)
17317         (octave-function-header-regexp): Adjust regexps accordingly.
17318         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17320 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
17322         * net/gnutls.el (gnutls-errorp): Declare before first use.
17324 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
17326         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17327         verify-error, and verify-hostname-error parameters.  Check whether
17328         default trustfile exists before going to use it.  Add missing
17329         argument to gnutls-message-maybe call.  Return value.
17330         Reported by Claudio Bley <claudio.bley@gmail.com>.
17331         (open-gnutls-stream): Add usage example.
17333         * net/network-stream.el (network-stream-open-starttls): Give host
17334         parameter to `gnutls-negotiate'.
17335         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17336         * subr.el (shell-quote-argument): Escape correctly under Windows.
17338 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
17340         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17341         Use correct match group (bug#8438).
17343 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
17345         * emacs-lisp/package.el (package-built-in-p): Fix typo.
17346         (package-menu--generate): New arg specifying packages to show.
17347         (package-menu-refresh, package-menu-execute, list-packages):
17348         Callers changed.
17349         (package-show-package-list): New function, replacing deleted
17350         package--list-packages (renamed because it is non-internal).
17352         * finder.el (finder-list-matches): Use package-show-package-list
17353         instead of deleted package--list-packages.
17355         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17356         Based on a previous implementation by Juanma Barranquero (Bug#8366).
17357         (vc-annotate-mode-map): Bind it to RET.
17359 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
17361         * progmodes/etags.el (next-file): Don't use set-buffer to change
17362         buffers (Bug#8478).
17364 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
17366         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17368         * apropos.el (apropos-label-face): Avoid variable-pitch face.
17369         (apropos-accumulator): Doc fix.
17370         (apropos-function, apropos-macro, apropos-command)
17371         (apropos-variable, apropos-face, apropos-group, apropos-widget)
17372         (apropos-plist): Add face property.
17373         (apropos-symbols-internal): Fix indentation.
17374         (apropos-print): Simplify help, and recognize apropos-multi-type.
17375         (apropos-print-doc): Use button-type-get to extract the button's
17376         face property.  Fill docstring (Bug#8352).
17378 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
17380         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17382         * play/mpuz.el (mpuz-silent): Doc fix.
17383         (mpuz-mode-map): Use mapc.
17384         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17385         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17386         Fix typos in docstrings.
17388         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17389         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17391         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17393 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
17395         * minibuffer.el (completion--do-completion): Avoid the "Next char
17396         not unique" prompt if icomplete-mode is enabled (Bug#5849).
17398         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17399         mouse-2 into unread-command-events, it is interpreted correctly.
17401         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17402         (image-toggle-display): Doc fix.
17404 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
17406         * textmodes/page.el (what-page): Use line-number-at-pos to
17407         calculate line number (Bug#6825).
17409 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
17411         * eshell/esh-mode.el (find-tag-interactive): Declare function.
17412         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17413         Pass argument NO-DEFAULT to `find-tag-interactive'.
17415 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
17417         Lexical-binding cleanup.
17419         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17420         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17421         * progmodes/ada-prj.el (ada-prj-initialize-values)
17422         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17423         (ada-prj-show-value):
17424         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17425         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17426         (antlr-invalidate-context-cache, antlr-options-menu-filter)
17427         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17428         * progmodes/bug-reference.el (bug-reference-push-button):
17429         * progmodes/fortran.el (fortran-line-length):
17430         * progmodes/glasses.el (glasses-change):
17431         * progmodes/octave-mod.el (octave-fill-paragraph):
17432         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17433         (python-pdbtrack-grub-for-buffer, python-sentinel):
17434         * progmodes/sql.el (sql-save-connection):
17435         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17436         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17437         Mark unused parameters.
17439         * progmodes/compile.el (compilation--flush-directory-cache)
17440         (compilation--flush-parse, compile-internal): Mark unused parameters.
17441         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17442         (compilation-next-error-function): Remove unused variable `timestamp'.
17444         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17445         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17447         * progmodes/dcl-mode.el (dcl-end-of-command):
17448         Remove unused variable `start'.
17449         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17450         (dcl-option-value-basic, dcl-option-value-offset)
17451         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17452         Mark unused parameters.
17453         (dcl-save-local-variable): Remove unused variable `val'.
17454         (mode): Declare.
17456         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17457         Mark unused parameters.
17458         (delphi-ignore-changes): Move before first use.
17459         (delphi-charset-token-at): Remove unused variable `start'.
17460         (delphi-else-start): Remove unused variable `if-count'.
17461         (delphi-comment-block-start, delphi-comment-block-end):
17462         Remove unused variable `kind'.
17463         (delphi-indent-line): Remove unused variable `new-point'.
17465         * progmodes/ebrowse.el (ebrowse-files-list)
17466         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17467         Mark unused parameters.  Don't quote `lambda'.
17468         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17469         Don't quote `lambda'.
17470         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17471         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17472         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17473         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17474         Use `ignore-errors'.
17475         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17476         (ebrowse-view/find-file-and-search-pattern)
17477         (ebrowse-view/find-member-declaration/definition):
17478         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17479         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17480         Rename parameter PREFIX-ARG to PREFIX.
17481         (ebrowse-tags-read-name): Remove unused variables `start' and
17482         `member-info'.
17483         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17484         to `tags-file'.
17486         * progmodes/etags.el (local-find-tag-hook): Declare.
17487         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17488         Mark unused parameters.
17490         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17491         (executable-interpret): Mark unused parameter.
17493         * progmodes/flymake.el (flymake-process-sentinel)
17494         (flymake-after-change-function)
17495         (flymake-create-temp-with-folder-structure)
17496         (flymake-get-include-dirs-dot): Mark unused parameters.
17497         (flymake-safe-delete-directory): Remove unused variable `err'.
17499         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17500         (speedbar-timer-fn, speedbar-line-text)
17501         (speedbar-change-expand-button-char, speedbar-delete-subblock)
17502         (speedbar-center-buffer-smartly): Declare functions.
17503         (gdb-find-watch-expression): Remove unused variable `array'.
17504         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17505         (gdb-starting): Mark unused parameters.
17506         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17507         (gdb-table-string): Remove unused variable `res'.
17508         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17509         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17510         (gdb-display-buffer): Remove unused variable `cur-size'.
17512         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17513         allow lexical-binding compilation.
17514         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17515         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17516         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17517         Mark unused parameters.
17518         (gud-gdb-marker-filter): Remove unused variable `match'.
17519         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17520         lambda expressions and funcall them, instead of using `fset'.
17522         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17523         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17525         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17526         variable `header-beg'; use `let'.
17528         * progmodes/icon.el (indent-icon-exp): Remove unused variables
17529         `restart', `last-sexp' and `at-do'.
17531         * progmodes/js.el (js--debug): Mark unused parameter.
17532         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17533         (js--splice-into-items): Remove unused variable `item'.
17534         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17536         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17537         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17538         (makefile-complete): Remove unused variable `try'.
17539         (makefile-fill-paragraph, makefile-match-function-end):
17540         Mark unused parameters.
17542         * progmodes/octave-inf.el (inferior-octave-complete):
17543         Remove unused variable `proc'.
17544         (inferior-octave-output-digest): Mark unused parameter.
17546         * progmodes/perl-mode.el (perl-calculate-indent):
17547         Remove unused variable `err'.
17549         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17550         (prolog-indent-line): Mark unused parameters.
17551         (prolog-indent-line): Remove unused variable `beg'.
17553         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17554         (reporter-dont-compact-list): Declare.
17556         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17557         Remove unused variable `char'.
17558         (sh-debug): Mark unused parameter.
17559         (sh-get-indent-info): Remove unused variable `start'.
17560         (sh-calculate-indent): Remove unused variable `var'.
17562         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17563         (simula-electric-keyword): Remove unused variable `null'.
17564         (simula-search-backward, simula-search-forward): Remove unused
17565         variables `begin' and `end'.
17567         * progmodes/vera-mode.el (vera-guess-basic-syntax):
17568         Remove unused variable `pos'.
17569         (vera-electric-tab, vera-comment-uncomment-region):
17570         Mark unused parameters.
17571         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17573 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
17575         * emacs-lisp/package.el (package--builtins, package-alist)
17576         (package-load-descriptor, package-built-in-p, package-activate)
17577         (define-package, package-installed-p)
17578         (package-compute-transaction, package-buffer-info)
17579         (package--push): Doc fix.  Distinguish more clearly between
17580         version strings and version lists.
17582 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
17584         Lexical-binding cleanup.
17586         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17587         (5x5-make-mutate-best):
17588         * play/fortune.el (fortune-in-buffer):
17589         * play/gomoku.el (gomoku-init-display):
17590         * play/solitaire.el (solitaire, solitaire-do-check):
17591         * play/tetris.el (tetris-default-update-speed-function):
17592         Mark unused parameters.
17594         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17595         (bubbles--shift): Remove unused variable `char-org'.
17596         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
17597         (bubbles--show-images): Remove unused variable `char'.
17599         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17600         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17601         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17602         (decipher-analyze-buffer): Use ?\s.
17603         (decipher-make-checkpoint): Remove unused variable `mapping'.
17605         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17607         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17608         Remove unused variable `result'; use `let'.
17610         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17611         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17612         (gametree-children-shown-p, gametree-compute-reduced-score):
17613         Use `ignore-errors'.
17615         * play/handwrite.el (ps-lpr-switches): Declare.
17616         (handwrite): Remove unused variables `pmin' and `lastp'.
17618         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17620         * play/landmark.el (landmark-init-display)
17621         (landmark-update-naught-weights): Mark unused parameters.
17622         (landmark-y): Remove unused variable `noise'.  Simplify.
17623         (landmark-human-plays): Remove unused variable `score'.
17625         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17626         (mpuz-try-proposal): Remove unused variable `game'.
17628         * play/zone.el (life-patterns): Declare.
17630 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
17632         * vc/vc.el (ediff-vc-internal): Declare function.
17634 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17636         * shell.el: Use lexical-binding and std completion UI.
17637         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17638         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17639         comint-preoutput-filter-functions rather than on
17640         comint-output-filter-functions.
17641         (shell-command-completion, shell--command-completion-data)
17642         (shell-filename-completion, shell-environment-variable-completion)
17643         (shell-c-a-p-replace-by-expanded-directory): New functions.
17644         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17645         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17646         (shell-dynamic-complete-environment-variable): Use them.
17647         (shell-dynamic-complete-as-environment-variable)
17648         (shell-dynamic-complete-as-command): Remove.
17649         (shell-match-partial-variable): Match past point.
17650         * comint.el: Clean up use of completion-at-point-functions.
17651         (comint-completion-at-point): New function.
17652         (comint-mode): Use it completion-at-point-functions.
17653         (comint-dynamic-complete): Make it obsolete.
17654         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17655         (comint-c-a-p-replace-by-expanded-history): New function.
17656         (comint-dynamic-complete-functions)
17657         (comint-replace-by-expanded-history): Use it.
17658         * minibuffer.el (completion-table-with-terminator): Allow dynamic
17659         termination strings.  Try harder to avoid second try-completion.
17660         (completion-in-region-mode-map): Disable bindings that don't work yet.
17662         * comint.el: Use lexical-binding.  Require CL.
17663         (comint-dynamic-complete-functions): Use comint-filename-completion.
17664         (comint-completion-addsuffix): Tweak custom type.
17665         (comint-filename-completion, comint--common-suffix)
17666         (comint--common-quoted-suffix, comint--table-subvert)
17667         (comint--complete-file-name-data): New functions.
17668         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17669         (comint-dynamic-list-filename-completions): Use them.
17670         (comint-dynamic-simple-complete): Make obsolete.
17672         * minibuffer.el (completion-in-region-mode):
17673         Keep completion-in-region-mode--predicate global.
17674         (completion-in-region--postch):
17675         Assume completion-in-region-mode--predicate is not null.
17677         * progmodes/flymake.el (flymake-start-syntax-check-process):
17678         Obey `dir'.  Simplify.
17680         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17681         we're in VC after all.
17683 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
17685         * vc/vc.el (vc-diff-build-argument-list-internal)
17686         (vc-version-ediff, vc-ediff): New commands.
17687         (vc-version-diff): Use vc-diff-build-argument-list-internal.
17689 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17691         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17692         add sanity check.
17694         * obsolete/erc-hecomplete.el: Make obsolete.
17695         * obsolete/: Standardize obsolescence info in the header.
17697 2011-04-20  Glenn Morris  <rgm@gnu.org>
17699         * calendar/solar.el (solar-horizontal-coordinates):
17700         Use the longitude argument rather than `calendar-longitude'.
17701         (solar-date-next-longitude): Remove unused locals.
17703 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17705         * whitespace.el: New version 13.2.1.
17707 2011-04-20  felix  <EmacsWiki>  (tiny change)
17709         * whitespace.el (global-whitespace-mode): Keep highlight when
17710         switching between major modes on a file.
17712 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17714         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17715         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17716         multi-line comments as well.
17718 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
17720         Lexical-binding cleanup.
17722         * arc-mode.el (archive-mode-revert):
17723         * cmuscheme.el (scheme-interactively-start-process):
17724         * custom.el (custom-initialize-delay):
17725         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17726         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17727         * emacs-lock.el (emacs-lock-clear-sentinel):
17728         * ezimage.el (defezimage):
17729         * follow.el (follow-avoid-tail-recenter):
17730         * fringe.el (set-fringe-mode-1):
17731         * generic-x.el (bat-generic-mode-compile):
17732         * help-mode.el (help-info-variable, help-do-xref)
17733         (help-mode-revert-buffer):
17734         * help.el (view-emacs-todo):
17735         * iswitchb.el (iswitchb-completion-help):
17736         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17737         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17738         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17739         * locate.el (locate-update):
17740         * longlines.el (longlines-encode-region)
17741         (longlines-after-change-function):
17742         * outline.el (outline-isearch-open-invisible):
17743         * ps-def.el (declare-function, charset-dimension, char-width)
17744         (encode-char):
17745         * ps-mule.el (ps-mule-plot-string):
17746         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17747         (recentf-edit-list-select, recentf-edit-list-validate)
17748         (recentf-open-files-action):
17749         * rect.el (delete-whitespace-rectangle-line)
17750         (rectangle-number-line-callback):
17751         * register.el (window-configuration-to-register)
17752         (frame-configuration-to-register):
17753         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17754         * select.el (xselect-convert-to-string, xselect-convert-to-length)
17755         (xselect-convert-to-targets, xselect-convert-to-delete)
17756         (xselect-convert-to-filename, xselect-convert-to-charpos)
17757         (xselect-convert-to-lineno, xselect-convert-to-colno)
17758         (xselect-convert-to-os, xselect-convert-to-host)
17759         (xselect-convert-to-user, xselect-convert-to-class)
17760         (xselect-convert-to-name, xselect-convert-to-integer)
17761         (xselect-convert-to-atom, xselect-convert-to-identity):
17762         * subr.el (declare, ignore, process-kill-without-query)
17763         (text-clone-maintain):
17764         * terminal.el (te-get-char, te-tic-sentinel):
17765         * tool-bar.el (tool-bar-make-keymap):
17766         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17767         * type-break.el (type-break-mode, type-break-noninteractive-query):
17768         * view.el (View-back-to-mark):
17769         * wid-browse.el (widget-browse-action, widget-browse-widget)
17770         (widget-browse-widgets, widget-browse-sexp):
17771         * widget.el (define-widget-keywords):
17772         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17773         Mark unused parameters.
17775         * align.el (align-adjust-col-for-rule): Mark unused parameter.
17776         (align-areas): Remove unused variable `look'.
17777         (align-region): Remove unused variables `real-end' and `pos-list'.
17779         * apropos.el (apropos-score-doc): Remove unused variable `i'.
17781         * bindings.el (mode-line-modified, mode-line-remote):
17782         Mark unused parameters.
17783         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17785         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17786         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17788         * comint.el (comint-history-isearch-pop-state)
17789         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17790         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17791         (comint-substitute-in-file-name): Doc fix.
17793         * completion.el (cmpl-statistics-block): Mark unused parameter.
17794         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17795         (save-completions-to-file, load-completions-from-file):
17796         Remove unused local variable `e'.
17798         * composite.el (compose-chars): Remove unused variable `len'.
17799         (lgstring-insert-glyph): Remove unused variable `g'.
17800         (compose-glyph-string): Remove unused variables `ascent',
17801         `descent', `lbearing' and `rbearing'.
17802         (compose-glyph-string-relative): Remove unused variables
17803         `lbearing', `rbearing' and `wadjust'.
17804         (compose-gstring-for-graphic): Remove unused variables `header',
17805         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
17806         (compose-gstring-for-terminal): Remove unused variables `header'
17807         and `nchars'.  Use `let', not `let*'.
17809         * cus-edit.el (Custom-set, Custom-save, custom-reset)
17810         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17811         (Custom-buffer-done, custom-buffer-create-internal)
17812         (custom-browse-visibility-action, custom-browse-group-tag-action)
17813         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17814         (widget-magic-mouse-down-action, custom-toggle-parent)
17815         (custom-add-parent-links, custom-toggle-hide-variable)
17816         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17817         (custom-toggle-hide-face, face, hook, custom-group-link-action)
17818         (custom-face-menu-create, custom-variable-menu-create, get)
17819         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17820         (custom-reset-standard-save-and-update): Remove unused variable `value'.
17821         (customize-apropos): Remove unused variable `tests'.
17822         (custom-group-value-create): Remove unused variable `hidden-p'.
17823         (sort-fold-case): Declare.
17825         * cus-theme.el (custom-reset-standard-faces-list)
17826         (custom-reset-standard-variables-list): Declare.
17827         (customize-create-theme, custom-theme-revert, custom-theme-write)
17828         (custom-theme-choose-mode, customize-themes, custom-theme-save):
17829         Mark unused parameters.
17831         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17833         * delim-col.el (delimit-columns-max): Move defvar before first use.
17835         * descr-text.el (describe-char-categories): Don't quote `lambda'.
17836         (describe-char): Don't quote `lambda'.  Mark unused parameter.
17838         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17839         (auto-insert): Declare.
17840         (desktop-restore-file-buffer): Rename desktop-* parameters;
17841         mark unused ones.
17842         (desktop-create-buffer): Rename desktop-* parameters and bind them.
17843         (desktop-buffer): Rename desktop-* parameters.
17845         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17846         (dframe-reposition-frame-xemacs, dframe-help-echo)
17847         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17848         Mark unused parameters.
17850         * dired-aux.el (backup-extract-version-start, overwrite-query)
17851         (overwrite-backup-query, rename-regexp-query)
17852         (rename-non-directory-query): Declare.
17853         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17854         (dired-add-entry): Remove unused variable `orig-file-name'.
17855         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17856         Use parameter PRESERVE-TIME instead of accessing dynamic variable
17857         `dired-copy-preserve-time' directly.
17858         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17859         (dired-insert-subdir-newpos): Rename unused variable `pos'.
17861         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17862         (dired-virtual-revert, dired-make-relative-symlink):
17863         Mark unused parameters.
17864         (manual-program): Declare.
17865         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17866         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17867         wrapped in `with-no-warnings' to avoid replacing one warning by another.
17869         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17871         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17873         * echistory.el (electric-history-in-progress, Helper-return-blurb):
17874         Declare.
17876         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17878         * electric.el (Electric-command-loop): Rename parameter
17879         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17881         * expand.el (expand-in-literal): Remove unused variable `here'.
17883         * facemenu.el (facemenu-add-new-color):
17884         Remove unused variable `docstring'.
17886         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17887         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17888         (face-attr-construct): Mark unused parameter.  Doc fix.
17889         (read-color): Remove unused variable `hex-string'.
17891         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17892         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17893         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17894         (display-buffer-other-frame): Remove unused variable `old-window'.
17895         (kill-buffer-hook): Declare.
17896         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17897         Mark unused parameters.
17898         (after-find-file): Pass 1 to `auto-save-mode', not t.
17900         * files-x.el (auto-insert): Declare.
17901         (modify-file-local-variable-prop-line): Remove unused variable `val'.
17903         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
17904         variable `buf'.  Mark unused parameter.
17905         (find-lisp-insert-directory): Mark unused parameter.
17907         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17908         (format-encode-region): Remove unused variables `cur-buf' and `result'.
17909         (format-common-tail): Remove, unused.
17910         (format-deannotate-region): Remove unused variable `loc'.
17911         (format-annotate-region): Remove unused variable `p'.
17912         (format-annotate-single-property-change): Remove unused variables
17913         `default' and `tail'.
17915         * forms.el (read-file-filter): Declare.
17916         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17918         * frame.el (frame-creation-function-alist): Mark unused parameter.
17919         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17921         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17922         Remove unused parameters.
17923         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17924         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17926         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17927         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17928         (hfy-prepare-tag-map): Mark unused parameters.
17929         (htmlfontify-buffer): Use `called-interactively-p'.
17931         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17932         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17933         (ibuffer-do-occur): Mark unused parameters.
17934         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17935         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17937         * ibuffer.el: Don't quote `lambda'.
17938         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17939         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17940         Mark unused parameters.
17942         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17943         (ido-completing-read): Mark unused parameters.
17944         (ido-copy-current-word): Mark unused parameters;
17945         remove unused variable `name'.
17946         (ido-sort-merged-list): Remove unused parameter `dirs'.
17948         * ielm.el (ielm-input-sender): Mark unused parameter.
17949         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17950         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17951         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17952         `ielm-string' as a dynamic variable accessible from the IELM prompt.
17953         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
17955         * image-dired.el (image-dired-display-thumbs): Remove unused
17956         variables `curr-file' and `count'.
17957         (image-dired-remove-tag): Remove unused variable `start'.
17958         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17959         variable `curr-file'
17960         (image-dired-rotate-original): Remove unused variable `temp-file'.
17961         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17962         Remove unused variable `file'.
17963         (image-dired-gallery-generate): Remove unused variable `curr'.
17964         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17966         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17968         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17970         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17972         * isearch.el (minibuffer-history-symbol): Declare.
17973         (isearch-edit-string): Remove unused variable `err'.
17974         (isearch-message-prefix, isearch-message-suffix):
17975         Mark unused parameters.
17977         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17979         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17981         * makesum.el (double-column): Remove unused variable `cnt'.
17983         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17984         (ido-ignore-item-temp-list): Declare.
17986         * mouse-drag.el (mouse-drag-throw): Remove unused variables
17987         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17988         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17989         (mouse-drag-drag): Remove unused variables `mouse-delta' and
17990         `mouse-col-delta'.
17992         * mouse-sel.el (mouse-extend-internal):
17993         Remove unused variable `orig-window-frame'.
17995         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17996         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17997         Move declarations before first use.
17998         (pcomplete-opt): Mark unused parameters; doc fix.
18000         * proced.el (proced-revert): Mark unused parameter.
18001         (proced-send-signal): Remove unused variable `err'.
18003         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18004         Rename parameter PREFIX-ARG to ARG.
18005         (ps-basic-plot-string, ps-basic-plot-whitespace):
18006         Mark unused parameters.
18008         * replace.el (replace-count): Define.
18009         (occur-revert-function): Mark unused parameters.
18010         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18011         (isearch-case-fold-search, isearch-string): Declare.
18012         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18013         bind `case-fold-search'.  Remove unused variables `beg' and `end',
18014         and simplify.
18015         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18016         COUNT and bind `replace-count'.
18017         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18018         to COUNT.
18020         * savehist.el (print-readably, print-string-length): Declare.
18022         * shadowfile.el (shadow-expand-cluster-in-file-name):
18023         Remove unused variable `cluster'.
18024         (shadow-copy-file): Remove unused variable `i'.
18025         (shadow-noquery, shadow-clusters, shadow-site-cluster)
18026         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18027         (shadow-define-literal-group, shadow-define-regexp-group)
18028         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18030         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18031         (shell): Use `called-interactively-p'.
18032         (shell-directory-tracker): Remove unused variable `chdir-failure'.
18034         * simple.el (compilation-context-lines, comint-file-name-quote-list)
18035         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18036         (delete-backward-char): Remove unused variable `ocol'.
18037         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18038         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18039         (event-apply-hyper-modifier, event-apply-shift-modifier)
18040         (event-apply-control-modifier, event-apply-meta-modifier):
18041         Mark unused parameters.
18042         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18043         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18045         * speedbar.el (speedbar-ignored-directory-expressions)
18046         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18047         (speedbar-find-file, speedbar-dir-follow)
18048         (speedbar-directory-buttons-follow, speedbar-tag-find)
18049         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18050         (speedbar-buffers-line-directory, speedbar-buffer-click):
18051         Mark unused parameters.
18052         (speedbar-tag-file): Remove unused variable `mode'.
18053         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18055         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18057         * talk.el (talk): Remove unused variable `display'.
18059         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18060         (tar-write-region-annotate): Mark unused parameter.
18062         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18063         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18064         Declare them, wrapped in `with-no-warnings' to avoid replacing one
18065         warning by another.
18067         * time-stamp.el (time-stamp-string-preprocess):
18068         Remove unused variable `require-padding'.
18070         * tree-widget.el (widget-glyph-enable): Declare.
18071         (tree-widget-action): Mark unused parameter.
18073         * w32-fns.el (x-get-selection): Mark unused parameter.
18074         (autoload-make-program, generated-autoload-file): Declare.
18076         * wdired.el (wdired-revert): Mark unused parameters.
18077         (wdired-xcase-word): Remove unused variable `err'.
18079         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18080         (whitespace-help-scroll): Remove unused variable `data-help'.
18082         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18083         (widget-image-insert, widget-after-change, default)
18084         (widget-default-format-handler, widget-default-notify)
18085         (widget-default-prompt-value, widget-info-link-action)
18086         (widget-url-link-action, widget-function-link-action)
18087         (widget-variable-link-action, widget-file-link-action)
18088         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18089         (widget-field-prompt-internal, widget-field-action, widget-field-match)
18090         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18091         (widget-insert-button-action, widget-delete-button-action, visibility)
18092         (widget-documentation-link-action, widget-documentation-string-action)
18093         (widget-const-prompt-value, widget-regexp-match, symbol)
18094         (widget-coding-system-prompt-value)
18095         (widget-key-sequence-value-to-external, sexp)
18096         (widget-sexp-value-to-internal, character, vector, cons)
18097         (widget-choice-prompt-value, widget-boolean-prompt-value)
18098         (widget-color--choose-action): Mark unused parameters.
18099         (widget-item-match-inline, widget-choice-match-inline)
18100         (widget-checklist-match, widget-checklist-match-inline)
18101         (widget-group-match): Rename parameter VALUES to VALS.
18102         (widget-field-value-set): Remove unused variable `size'.
18103         (widget-color-action): Remove unused variables `value' and `start'.
18105         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18106         variable `dir'.  Doc fix.
18107         (windmove-find-other-window): Don't pass it.
18109         * window.el (count-windows): Mark unused parameter.
18110         (bw-adjust-window): Remove unused variable `err'.
18112         * woman.el (woman-file-name): Remove unused variable `default'.
18113         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18114         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18115         (global-font-lock-mode): Declare.
18116         (woman-decode-region): Mark unused parameter.
18117         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18119         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18120         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18121         (x-dnd-handle-moz-url): Remove unused variable `title'.
18122         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18124         * xml.el (xml-parse-tag, xml-parse-attlist):
18125         Remove unused variable `pos'.
18127 2011-04-19  Glenn Morris  <rgm@gnu.org>
18129         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18130         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18131         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18132         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18133         * calendar/cal-html.el (cal-html-insert-minical):
18134         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18135         (calendar-mark-date-pattern):
18136         Prefix "unused" locals.
18138         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18139         optional argument `style'.
18141         * calendar/appt.el (appt-make-list):
18142         * calendar/cal-china.el (calendar-chinese-date-string):
18143         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18144         (diary-hebrew-yahrzeit):
18145         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18146         * calendar/calendar.el (calendar-generate-window):
18147         * calendar/time-date.el (time-to-days):
18148         Remove unused local variables.
18150 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
18152         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18153         glyphless-char-display table.
18154         (tabulated-list-glyphless-char-display): New var.
18156 2011-04-18  Sam Steingold  <sds@gnu.org>
18158         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18159         to acknowledgments.
18161 2011-04-17  Glenn Morris  <rgm@gnu.org>
18163         * calendar/diary-lib.el (diary-sexp-entry):
18164         * calendar/holidays.el (holiday-sexp):
18165         Set debug-on-error rather than the removed stack-trace-on-error.
18167 2011-04-16  Glenn Morris  <rgm@gnu.org>
18169         * progmodes/f90.el: Use lexical-binding.
18170         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18172 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18174         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18175         (mail-mode): Setup mailalias completion here instead.
18176         * mail/mailalias.el: Use lexical-binding.
18177         (pattern, mailalias-done): Declare dynamic.
18178         (mail-completion-at-point-function): New function, from mail-complete.
18179         (mail-complete): Use it.
18180         (mail-completion-expand): New function.
18181         (mail-get-names): Use it.
18182         (mail-directory, mail-directory-process, mail-directory-stream):
18183         Don't use `pattern' for lexically bound arg.
18185         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18187         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18188         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18189         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18191         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18192         (byte-save-window-excursion, byte-temp-output-buffer-setup)
18193         (byte-interactive-p): Define them again, for use when inlining
18194         old code.
18196 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
18198         * loadup.el: Use `string-to-number', not `string-to-int'.
18200 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18202         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18203         gud-gdb-complete-command.
18204         (gud-gdb-completions): New function, from gud-gdb-complete-command.
18205         (gud-gdb-completion-at-point): New function.
18206         (gud-gdb-completions): Remove.
18208 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
18210         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18211         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
18212         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18213         whether `executable-find' is bound.
18215         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18217 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18219         * minibuffer.el (completion-in-region-mode-predicate)
18220         (completion-in-region-mode--predicate): New vars.
18221         (completion-in-region, completion-in-region--postch)
18222         (completion-in-region-mode): Use them.
18223         (completion--capf-wrapper): Also return the hook function.
18224         (completion-at-point, completion-help-at-point):
18225         Adjust and provide a predicate.
18227         Preserve arg names for advice of subr and lexical functions (bug#8457).
18228         * help-fns.el (help-function-arglist): Consolidate the subr and
18229         new-byte-code cases.  Add argument `preserve-names' to extract names
18230         from the docstring when needed.
18231         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18232         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18233         (ad-arglist): Use help-function-arglist's new arg.
18234         (ad-definition-type): Use cond.
18236 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
18238         * autorevert.el (auto-revert-handler):
18239         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18240         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18241         Don't quote lambda.
18243         * image-mode.el (image-transform-set-scale):
18244         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18246 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18248         * net/network-stream.el (network-stream-open-starttls): Only do
18249         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18250         Upgrades via gnutls-cli are too slow to be done opportunistically.
18252 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
18254         * dframe.el (dframe-current-frame): Remove spurious quote.
18256 2011-04-12  Glenn Morris  <rgm@gnu.org>
18258         * calendar/cal-tex.el (cal-tex-end-document):
18259         Try to automatically use latin1 input if needed.
18261         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18262         Don't try to cons a mark onto an empty element.
18264 2011-04-11  Leo Liu  <sdl.web@gmail.com>
18266         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18267         buffers.
18268         (ido-kill-buffer-at-head): Support killing virtual buffers.
18270 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
18272         * minibuffer.el (completion-show-inline-help): New var.
18273         (completion--do-completion, minibuffer-complete)
18274         (minibuffer-force-complete, minibuffer-complete-word):
18275         Inhibit minibuffer messages if completion-show-inline-help is nil.
18277         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18278         to avoid interference from inline help (Bug#5849).
18280 2011-04-10  Leo Liu  <sdl.web@gmail.com>
18282         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18283         Fix typo.
18285 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
18287         * image-mode.el (image-toggle-display-image): Signal an error if
18288         not in Image mode.
18289         (image-transform-mode, image-transform-resize)
18290         (image-transform-set-rotation): Doc fix.
18291         (image-transform-set-resize): Delete.
18292         (image-transform-set-scale, image-transform-fit-to-height)
18293         (image-transform-fit-to-width): Handle image-toggle-display-image
18294         and image-transform-resize directly.
18296 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
18298         * doc-view.el (doc-view-fit-width-to-window)
18299         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18300         New functions for fitting the shown image to the Emacs window size.
18301         (doc-view-mode-map): Add bindings for the new functions.
18303 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
18305         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18306         Fix typo in docstring.
18308 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
18310         * files.el (file-size-human-readable): Produce one digit after
18311         decimal, like "ls -lh" does.
18313         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18314         the file size representation.
18316         * simple.el (list-processes): If async subprocesses are not
18317         available, error out with a clear error message.
18319 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
18321         * help.el (help-form-show): New function, to be called from C.
18322         Put help-form output in a buffer named differently than *Help*.
18324 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
18326         * files.el (file-size-human-readable): New function.
18328         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18329         computing the representation inline.  Don't require `cl'.
18331 2011-04-08  Glenn Morris  <rgm@gnu.org>
18333         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18335         * net/browse-url.el (browse-url-firefox):
18336         Test system-type, not system-configuration.
18338         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18339         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18340         Use log-edit-empty-buffer-p.  (Bug#7598)
18342         * net/rlogin.el (rlogin-process-connection-type): Simplify.
18343         (rlogin-mode-map): Initialize in the defvar.
18344         (rlogin): Use ignore-errors.
18346         * replace.el (occur-mode-map): Some fixes for menu items.
18348 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
18350         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
18352 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
18354         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18355         issuing unused warnings.
18357         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18358         macro directly.
18360         * simple.el: Lisp reimplement of list-processes.  Based on an
18361         earlier reimplementation by Leo Liu, but using tabulated-list.el.
18362         (process-menu-mode): New major mode.
18363         (list-processes--refresh, list-processes):
18364         (process-menu-visit-buffer): New functions.
18366         * files.el (save-buffers-kill-emacs): Don't assume any return
18367         value of list-processes, which is undocumented anyway.
18369 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
18371         * emacs-lisp/tabulated-list.el: New file.
18373         * emacs-lisp/package.el: Use Tabulated List mode.
18374         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18375         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
18376         table format using Tabulated List mode variables.
18377         (package--push): New macro, replacing package-list-maybe-add.
18378         (package-menu--generate): Use package--push.  Renamed from
18379         package--generate-package-list.
18380         (package-menu-refresh, list-packages): Use it.
18381         (package-menu--print-info): Rename from package-print-package.
18382         Return insertion data instead of inserting it directly.
18383         (package-menu-describe-package, package-menu-execute):
18384         Use tabulated-list-get-id.
18385         (package-menu-mark-delete, package-menu-mark-install)
18386         (package-menu-mark-unmark, package-menu-backup-unmark)
18387         (package-menu-mark-obsolete-for-deletion):
18388         Use tabulated-list-put-tag.
18389         (package--list-packages, package-menu-revert)
18390         (package-menu-get-package, package-menu-get-version)
18391         (package-menu-sort-by-column): Functions deleted.
18392         (package-menu-package-list, package-menu-sort-key): Vars deleted.
18393         (package-menu--status-predicate, package-menu--version-predicate)
18394         (package-menu--name-predicate)
18395         (package-menu--description-predicate): Handle arguments in the
18396         Tabulated List format.
18397         (package-list-packages-no-fetch): Call list-packages.
18399 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
18401         * files.el (after-find-file-from-revert-buffer): Remove variable.
18402         (after-find-file): Don't bind it.
18403         (revert-buffer-in-progress-p): New variable.
18404         (revert-buffer): Bind it.
18405         Pass nil for `after-find-file-from-revert-buffer'.
18407         * saveplace.el (save-place-find-file-hook): Use new variable
18408         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18410 2011-04-06  Glenn Morris  <rgm@gnu.org>
18412         * Makefile.in (AUTOGEN_VCS): New variable.
18413         (autoloads): Use $AUTOGEN_VCS.
18415         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18416         * calendar/calendar.el (calendar-mode-map):
18417         Check for toolkit scroll bars.  (Bug#8305)
18419 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
18421         * minibuffer.el (completion-in-region--postch)
18422         (completion-in-region-mode): Remove unnecessary messages.
18424 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
18426         * font-lock.el (font-lock-refresh-defaults):
18427         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18428         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18430         * info.el (Info-directory-list, Info-read-node-name-2)
18431         (Info-split-parameter-string): Doc fixes.
18432         (Info-virtual-nodes): Reflow docstring.
18433         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18434         (Info-apropos-toc-nodes, info-finder, Info-get-token)
18435         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18436         Fix typos in docstrings.
18437         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18438         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18439         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18440         (Info-restore-desktop-buffer): Mark unused parameters.
18441         (Info-directory-find-file, Info-directory-find-node)
18442         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18443         (Info-virtual-index-find-node, Info-apropos-find-file)
18444         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18445         Mark unused parameters; fix typos in docstrings.
18446         (Info-virtual-index): Remove unused local variable `nodename'.
18448 2011-04-05  Deniz Dogan  <deniz@dogan.se>
18450         * net/rcirc.el: Update my e-mail address.
18451         (rcirc-mode-map): Remove M-o binding.
18453 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
18455         * startup.el (command-line): Save the cursor's theme-face
18456         directly, instead of using face-override-spec.
18458         * custom.el (load-theme): Minor optimization in assigning faces.
18460 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
18462         * help-fns.el (describe-variable): Complete all variables having
18463         documentation, including keywords.
18464         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18466 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
18468         Convert to lexical-binding.
18470         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18471         (bs--get-marked-string, bs--get-modified-string)
18472         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18473         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18474         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18476         * ehelp.el (electric-help-execute-extended)
18477         (electric-help-ctrl-x-prefix):
18478         * hexl.el (hexl-revert-buffer-function):
18479         * linum.el (linum-after-change, linum-after-scroll):
18480         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18482         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18484 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
18486         * epa-dired.el:
18487         * epa-mail.el:
18488         * epa-hook.el:
18489         * epa-file.el:
18490         * epa.el:
18491         * epg.el: Use lexical binding.
18493 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
18495         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18497         * textmodes/flyspell.el (flyspell-word): Recognize default
18498         dictionary case for flyspell-mark-duplications-exceptions.
18499         Use regexp matching for languages.
18500         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18501         default dictionary (Bug#7926).
18503 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
18505         * emacs-lisp/package.el (package--with-work-buffer):
18506         Recognize https URLs.
18508         * net/network-stream.el: Move from gnus/proto-stream.el.
18509         Change prefix to network-stream throughout.
18510         (open-protocol-stream): Merge into open-network-stream, leaving
18511         open-protocol-stream as an alias.  Handle nil BUFFER args.
18513         * subr.el (open-network-stream): Move to net/network-stream.el.
18515 2011-04-02  Glenn Morris  <rgm@gnu.org>
18517         * find-dired.el (find-exec-terminator): New option.
18518         (find-ls-option): Test for -ls support.
18519         (find-ls-subdir-switches): Test for -b in find-ls-option.
18520         (find-dired, find-grep-dired): Doc fixes.
18521         (find-dired): Use find-exec-terminator.
18523         * find-dired.el (find-ls-option, find-ls-subdir-switches)
18524         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18525         (find-name-arg): Remove purecopy.
18527         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18528         (grep-compute-defaults): Check for `-exec COMMAND +' support.
18529         Set grep-find-use-xargs, grep-find-command, and grep-find-template
18530         accordingly.  Don't add the null-device if not needed.
18532         * files.el (save-some-buffers): Doc fix.
18534 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
18536         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18538 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
18540         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18541         Use `dolist' rather than `mapcar'.
18543 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18545         Add lexical binding.
18547         * subr.el (apply-partially): Use new closures rather than CL.
18548         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18549         (dolist, dotimes): Use slightly different expansion for lexical code.
18550         (functionp): Move to C.
18551         (letrec): New macro.
18552         (with-wrapper-hook): Use it and apply-partially instead of CL.
18553         (eval-after-load): Preserve lexical-binding.
18554         (save-window-excursion, with-output-to-temp-buffer): Turn them
18555         into macros.
18557         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18559         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18560         than the arglist.
18561         (help-add-fundoc-usage): Don't add `Not documented'.
18562         (help-function-arglist): Handle closures, subroutines, and new
18563         byte-code-functions.
18564         (help-make-usage): Remove leading underscores.
18565         (describe-function-1): Handle closures.
18566         (describe-variable): Use special-variable-p for completion.
18568         * files.el (lexical-binding): Declare safe.
18570         * emacs-lisp/pcase.el: Don't use destructuring-bind.
18571         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
18572         (pcase): Add `let' pattern.
18573         Change memoization so it actually works.
18574         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18575         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18576         <let>: New case.
18578         * emacs-lisp/macroexp.el: Use lexical binding.
18579         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
18580         Don't convert ' to #' without checking that it's indeed quoting
18581         a lambda.
18583         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
18584         Use eval-sexp-add-defvars.
18585         (eval-sexp-add-defvars): New fun.
18587         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18589         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18590         Don't autoload.
18591         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18592         than the internal `byte-compile-lambda'.
18593         (defmethod): Don't hide code under quotes.
18594         (eieio-defmethod): New `code' argument.
18596         * emacs-lisp/eieio-comp.el: Remove.
18598         * emacs-lisp/edebug.el (edebug-eval-defun)
18599         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18600         (edebug-toggle): Avoid `eval'.
18602         * emacs-lisp/disass.el (disassemble-internal): Handle new
18603         `closure' objects.
18604         (disassemble-1): Handle new byte codes.
18606         * emacs-lisp/cl.el (pushnew): Silence warning.
18608         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18609         (cl-byte-compile-throw): Remove.
18610         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18612         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18613         closures.
18615         * emacs-lisp/cconv.el: New file.
18617         * emacs-lisp/bytecomp.el: Use lexical binding instead of
18618         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
18619         (byte-compile-initial-macro-environment):
18620         Handle declare-function here.
18621         (byte-compile--lexical-environment): New var.
18622         (byte-stack-ref, byte-stack-set, byte-discardN)
18623         (byte-discardN-preserve-tos): New lap codes.
18624         (byte-interactive-p): Don't use any more.
18625         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18626         New macros.
18627         (byte-compile-lapcode): Use them and handle new lap codes.
18628         (byte-compile-obsolete): Remove.
18629         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18630         (byte-compile-arglist-warn): Check late def of inlinable funs.
18631         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18632         since they should have been expanded by now.
18633         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18634         (byte-compile-from-buffer): Remove unused second arg.
18635         (byte-compile-preprocess): New function.
18636         (byte-compile-toplevel-file-form): New function to distinguish
18637         file-form calls from outside from file-form calls from hunk-handlers.
18638         (byte-compile-file-form): Simplify.
18639         (byte-compile-file-form-defsubst): Remove.
18640         (byte-compile-file-form-defmumble): Simplify now that
18641         byte-compile-lambda always returns a byte-code-function.
18642         (byte-compile): Preprocess.
18643         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18644         Remove, not used any more.
18645         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18646         (byte-compile-make-args-desc): New funs.
18647         (byte-compile-lambda): Handle lexical functions.  Always return
18648         a byte-code-function.
18649         (byte-compile-reserved-constants): New var, to make up room for
18650         closed-over variables.
18651         (byte-compile-constants-vector): Obey it.
18652         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18653         (byte-compile-macroexpand-declare-function): New function.
18654         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18655         byte-code-functions.
18656         (byte-compile-form): Check obsolescence here.
18657         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18658         (byte-compile-variable-ref): Remove.
18659         (byte-compile-dynamic-variable-op): New fun.
18660         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18661         (byte-compile-variable-set): New funs.
18662         (byte-compile-discard): Add 2 args.
18663         (byte-compile-stack-ref, byte-compile-stack-set)
18664         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18665         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18666         macroexpand-all instead.
18667         (byte-compile-quote-form): Remove.
18668         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18669         (byte-compile-bind, byte-compile-unbind): New funs.
18670         (byte-compile-let): Handle let* and lexical binding.
18671         (byte-compile-let*): Remove.
18672         (byte-compile-catch, byte-compile-unwind-protect)
18673         (byte-compile-track-mouse, byte-compile-condition-case):
18674         Handle a new :fun-body form, used for lexical scoping.
18675         (byte-compile-save-window-excursion)
18676         (byte-compile-with-output-to-temp-buffer): Remove.
18677         (byte-compile-defun): Simplify.
18678         (byte-compile-stack-adjustment): New fun.
18679         (byte-compile-out): Use it.
18680         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18682         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18683         handler any more.
18685         * emacs-lisp/byte-opt.el: Use lexical binding.
18686         (byte-inline-lapcode): Remove (to bytecomp).
18687         (byte-compile-inline-expand): Pay attention to inlining to/from
18688         lexically bound code.
18689         (byte-compile-unfold-lambda): Don't handle byte-code-functions
18690         any more.
18691         (byte-optimize-form-code-walker): Don't handle save-window-excursion
18692         any more and don't call compiler-macros.
18693         (byte-compile-splice-in-already-compiled-code): Remove.
18694         (byte-code): Don't inline any more.
18695         (disassemble-offset): Receive `bytes' as argument rather than via
18696         dynamic scoping.
18697         (byte-compile-tag-number): Declare before first use.
18698         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18699         `return' even if make-spliceable.
18700         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18701         obsolete interactive-p.
18702         (byte-optimize-lapcode): Optimize new lap-codes.
18703         Don't trip up on new form of `byte-constant' lap code.
18705         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18707         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18709         * custom.el (custom-initialize-default, custom-declare-variable):
18710         Use `defvar'.
18712         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18713         New variables.
18714         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18715         (COMPILE_FIRST): Add macroexp and cconv.
18716         * makefile.w32-in: Mirror changes in Makefile.in.
18718         * vc/cvs-status.el:
18719         * vc/diff-mode.el:
18720         * vc/log-edit.el:
18721         * vc/log-view.el:
18722         * vc/smerge-mode.el:
18723         * textmodes/bibtex-style.el:
18724         * textmodes/css-mode.el:
18725         * startup.el:
18726         * uniquify.el:
18727         * minibuffer.el:
18728         * newcomment.el:
18729         * reveal.el:
18730         * server.el:
18731         * mpc.el:
18732         * emacs-lisp/smie.el:
18733         * doc-view.el:
18734         * dired.el:
18735         * abbrev.el: Use lexical binding.
18737 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
18739         * info.el (info-display-manual): New function.
18741 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18743         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18745 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
18747         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
18748         an entry for that server in rcirc-authinfo.  (Bug#8385)
18750 2011-03-31  Glenn Morris  <rgm@gnu.org>
18752         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18754         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18756 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
18758         * progmodes/python.el (python-default-interpreter)
18759         (python-python-command-args, python-jython-command-args)
18760         (python-which-shell, python-which-args, python-which-bufname)
18761         (python-file-queue, python-comint-output-filter-function)
18762         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18763         variables and functions.
18765 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18767         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18768         (completion-in-region-mode): New minor mode.
18769         (completion-in-region): Use it.
18770         (completion-in-region--data, completion-in-region-mode-map): New vars.
18771         (completion-in-region--postch): New function.
18772         (completion--capf-misbehave-funs, completion--capf-safe-funs):
18773         New vars.
18774         (completion--capf-wrapper): New function.
18775         (completion-at-point): Use it to track well-behavedness of
18776         hook functions.
18777         (completion-help-at-point): New command.
18779 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
18781         * vc/add-log.el (add-change-log-entry): Don't use whitespace
18782         syntax class to search for whitespace on a single line
18783         (Message-ID: <4D938140.4030905@redhat.com>).
18785 2011-03-30  Leo Liu  <sdl.web@gmail.com>
18787         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18788         New commands.
18789         (edit-abbrevs-map): Bind them here.
18790         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
18792 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
18794         * allout.el (allout-hide-by-annotation, allout-flag-region):
18795         Reduce possibility of overlay leakage by making them volatile.
18797         * allout-widgets.el (allout-widgets-tally): Define as nil so the
18798         hash is not shared between buffers.  Mode initialization is
18799         responsible for giving it a useful starting value.
18800         (allout-item-span): Reduce possibility of overlay leakage by
18801         making them volatile.
18802         (allout-widgets-count-buttons-in-region): Add diagnostic function
18803         for tracking down button overlay leaks.
18805 2011-03-29  Leo Liu  <sdl.web@gmail.com>
18807         * ido.el (ido-read-internal): Use the default history var
18808         minibuffer-history if no HISTORY is specified.
18810 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
18812         * net/imap.el (imap-shell-open, imap-process-connection-type):
18813         Use imap-process-connection-type for 'shell' streams as well as
18814         Kerberos, SSL, other subprocesses.
18816 2011-03-28  Leo Liu  <sdl.web@gmail.com>
18818         * abbrev.el (abbrev-table-empty-p): New function.
18819         (prepare-abbrev-list-buffer): Place empty abbrev tables after
18820         nonempty ones.  (Bug#5937)
18822 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
18824         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18826 2011-03-27  Leo Liu  <sdl.web@gmail.com>
18828         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18829         for foreground and background colors.
18830         (ansi-color-make-color-map): Adapt.
18832 2011-03-25  Leo Liu  <sdl.web@gmail.com>
18834         * midnight.el (midnight-time-float): Remove.  Note it calculates
18835         the microsecond component incorrectly and seconds-to-time does the
18836         same job.
18837         Remove redundant (require 'timer).
18839         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18840         (ido-completions): Remove unused arguments.  (Bug#8329)
18842 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18844         * minibuffer.el (completion--flush-all-sorted-completions):
18845         Remove itself from hook.
18846         (completion-at-point): Let the functions perform the completion
18847         immediately and return nil or t.
18848         * comint.el (comint-dynamic-complete-functions): Now identical to
18849         completion-at-point-functions.
18850         (comint-dynamic-list-input-ring): Remove unused var `index'.
18851         (comint--match-partial-filename, comint--unquote&expand-filename):
18852         New funs, split from comint-match-partial-filename.
18853         (comint-dynamic-complete): Use completion-at-point.
18854         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18856 2011-03-24  Drew Adams  <drew.adams@oracle.com>
18858         * thingatpt.el: Support `defun'.
18860 2011-03-23  Leo Liu  <sdl.web@gmail.com>
18862         * abbrevlist.el: Move to obsolete/abbrevlist.el.
18864         * help-mode.el (help-mode-finish): Tweak regexp.
18866 2011-03-23  Glenn Morris  <rgm@gnu.org>
18868         * eshell/esh-opt.el (eshell-eval-using-options):
18869         Do not bind unused local variable `eshell-option-stub'.
18871         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18873 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
18875         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18876         keymap variable in `with-no-warnings' to avoid a warning when the
18877         keymap has been already `defconst'ed.
18879 2011-03-22  Leo Liu  <sdl.web@gmail.com>
18881         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18882         encode all chars in abbrevs; otherwise use emacs-mule or
18883         utf-8-emacs.  (Bug#8308)
18885 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
18887         * simple.el (backward-delete-char-untabify):
18888         Avoid warning about using `delete-backward-char'.
18890         * image.el (image-type-file-name-regexps): Make it variable.
18891         `imagemagick-register-types' modifies it, and the user may want
18892         to add new extensions for known image types.
18893         (imagemagick-register-types): Throw error if not using ImageMagick.
18895 2011-03-22  Leo Liu  <sdl.web@gmail.com>
18897         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18898         located before rcirc-prompt-end-marker.
18899         (rcirc-complete): Error if point is not after rcirc prompt.
18900         Handle the case when table is nil.
18901         (rcirc-user-authenticated): Define to fix compiler warning.
18903 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
18905         * custom.el (custom--inhibit-theme-enable): Make it affect only
18906         custom-theme-set-variables and custom-theme-set-faces.
18907         (provide-theme): Ignore custom--inhibit-theme-enable.
18908         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18909         (custom-enabling-themes): Delete variable.
18910         (enable-theme): Accept only loaded themes as arguments.
18911         Ignore the special custom-enabled-themes variable.
18912         (custom-enabled-themes): Forbid themes from setting this.
18913         Eliminate use of custom-enabling-themes.
18914         (custom-push-theme): Quote "changed" custom var entry.
18916 2011-03-21  Leo Liu  <sdl.web@gmail.com>
18918         * ido.el (ido-read-internal): Add ido-selected to history instead
18919         of user input.
18921 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18923         * subr.el (deferred-action-list, deferred-action-function):
18924         Mark obsolete.
18926 2011-03-21  Leo Liu  <sdl.web@gmail.com>
18928         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18929         change on 2011-02-13 (bug#8309).
18931         * minibuffer.el (read-file-name-function): Change default value.
18932         (read-file-name--defaults): Rename from read-file-name-defaults.
18933         (read-file-name-default): Rename from read-file-name.
18934         (read-file-name): Call read-file-name-function.
18936 2011-03-21  Glenn Morris  <rgm@gnu.org>
18938         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18939         Doc fixes.
18941 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
18943         * cus-theme.el: Add missing provide statement.
18944         (customize-create-theme): Extract theme value correctly.
18945         (custom-theme-visit-theme): Autoload.
18946         (customize-create-theme): Prompt before inserting default faces.
18948 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
18950         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18951         units and musical notes.
18953 2011-03-20  Leo Liu  <sdl.web@gmail.com>
18955         * ido.el (ido-read-internal): Use completing-read-default.
18956         (ido-completing-read): Fix compatibility with completing-read.
18958 2011-03-20  Christian Ohler  <ohler@gnu.org>
18960         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18961         (ert-delete-all-tests): Use `called-interactively-p' rather than
18962         `interactive-p'.
18963         (ert--make-xrefs-region): Respect END.
18965 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
18967         * dired-aux.el (dired-create-directory): Signal an error if the
18968         directory already exists (Bug#8246).
18970         * facemenu.el (list-colors-display): Call list-faces-display
18971         inside with-help-window.
18972         (list-colors-print): Use display property to align the final
18973         column, instead of checking window-width.
18975 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
18977         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
18978         windows-nt systems.
18979         (emerge-protect-metachars): Quote correctly for ms-dos and
18980         windows-nt systems.
18982 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
18984         * info.el (info-initialize): Replace all uses of `:' with
18985         path-separator for compatibility with non-Unix systems.
18986         Cache quoting of path-separator.  (Bug#8258)
18988 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
18990         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18991         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18992         (mouse-avoidance-mode): Fix typos in docstrings.
18994 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
18996         * startup.el (package-subdirectory-regexp): Move from package.el.
18997         Omit \\` and \\', and let callers add them.
18999         * emacs-lisp/package.el (package-strip-version)
19000         (package-load-all-descriptors): Add \\` and \\' to
19001         package-subdirectory-regexp before using it.
19002         (package-untar-buffer): New arg DIR; ensure that file untars only
19003         into this expected directory.  Remove superfluous delete-region.
19004         (package-unpack): Caller changed.
19005         (package-tar-file-info): Use package-subdirectory-regexp.
19007 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19009         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19010         diff-mode-shared-map (bug#8284).
19011         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19013 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19015         * calendar/time-date.el (format-seconds): Use assoc instead of
19016         assoc-string, since assoc-string doesn't exist in XEmacs.
19018 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
19020         * custom.el (custom-known-themes): Reflow docstring.
19021         (custom-theme-load-path): Fix typo in docstring.
19022         (load-theme): Fix typo in error message.
19023         (custom-available-themes, custom-variable-theme-value):
19024         Use `let', not `let*'.
19026 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
19028         * calc/README: Mention inclusion of musical notes.
19030         * calc/calc-units.el (calc-lu-quant): Rename from
19031         `calc-logunits-quantity'.
19032         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19033         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19034         (calc-db): Rename from `calc-dblevel'.
19035         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19036         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19037         (calc-np): Rename from `calc-nplevel'.
19038         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19039         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19040         (calc-lu-plus): Rename from `calc-logunits-add'.
19041         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19042         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19043         (calc-lu-minus): Rename from `calc-logunits-sub'.
19044         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19045         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19046         (calc-lu-times): Rename from `calc-logunits-mul'.
19047         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19048         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19049         (calc-lu-divide): Rename from `calc-logunits-div'.
19050         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19051         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19053         * calc/calc-ext.el (calc-init-extensions): Update the names of the
19054         functions being autoloaded.
19056         * calc/calc.el (calc-lu-power-reference): Rename from
19057         `calc-logunits-power-reference'.
19058         (calc-lu-field-reference): Rename from
19059         `calc-logunits-field-reference'.
19061         * calc/calc-help.el (calc-l-prefix-help):
19062         Mention musical note functions.
19064 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19066         * minibuffer.el (completion-all-sorted-completions):
19067         Use :completion-cycle-penalty text property if present.
19069 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
19071         * allout.el (allout-yank-processing): Adjust for new rebulleting
19072         regime so bullet being yanked is used without prompting the user
19073         for a choice.
19075 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
19077         * startup.el (command-line): Warn the user that _emacs is deprecated.
19079 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
19081         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19082         (delphi-verbose, delphi-comment-face, delphi-string-face)
19083         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19084         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19085         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19086         (delphi-new-comment-line, delphi-font-lock-defaults)
19087         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19088         Fix typos in docstrings.
19090 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
19092         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19093         Invert the roles of character and string values for INSTEAD, so a
19094         string is used for the more common case of a defaulting prompt.
19096 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19098         * progmodes/ruby-mode.el (ruby-backward-sexp):
19099         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19100         * play/gamegrid.el (gamegrid-make-face):
19101         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19102         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19103         * notifications.el (notifications-notify):
19104         * net/xesam.el (xesam-search-engines):
19105         * net/quickurl.el (quickurl-list-insert):
19106         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19108 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
19110         * startup.el (command-line): Update package subdirectory regexp.
19112 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19114         * allout.el (allout-abbreviate-flattened-numbering)
19115         (allout-mode-deactivate-hook): Fix up obsolescence "date".
19117         * subr.el (read-char-choice): Only show the cursor after the prompt,
19118         not after the answer.
19120 2011-03-15  Kevin Ryde  <user42@zip.com.au>
19122         * help-fns.el (variable-at-point): Skip leading quotes, if any
19123         (bug#8253).
19125 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19127         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19128         warning message.
19130 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
19132         * shell.el (shell): When called interactively, offer to change the
19133         shell file name on remote hosts.
19135 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
19137         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19138         integration for LDAP parameters.  The host, base, user or binddn,
19139         and secret tokens can be specified in a netrc file, for instance.
19140         This is optional because an `auth-source' parameter must be
19141         specified in the search attributes.
19143 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
19145         * help.el (describe-mode): Link to the mode's definition (bug#8185).
19147 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19149         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19150         into declaration.  Remove redundant and harmful binding.
19152 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
19154         * files.el (file-ownership-preserved-p): Pass `integer' as an
19155         explicit 2nd argument to `file-attributes'.  If the file's owner
19156         is the Administrators group on Windows, and the current user is
19157         Administrator, consider that a match.
19159         * server.el (server-ensure-safe-dir): Consider server directory
19160         safe on MS-Windows if its owner is the Administrators group while
19161         the current Emacs user is Administrator.  Use `=' to compare
19162         numerical UIDs, since they could be integers or floats.
19164 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
19166         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19168 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
19170         Sync with Tramp 2.2.1.
19172         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19174         * net/trampver.el: Update release number.
19176 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19178         * progmodes/compile.el (compilation--previous-directory): Fix up
19179         various nil/dead-marker mismatches (bug#8014).
19180         (compilation-directory-properties, compilation-error-properties):
19181         Don't call it at a position past the one we're about to change.
19183         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19184         Disable obsolescence warnings in the file that declares it.
19186 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
19188         * allout-widgets.el (allout-widgets-tally):
19189         Initialize allout-widgets-tally as a hash table rather than nil to
19190         prevent mode-line redisplay warnings.  Also, clarify the module
19191         description and fix a comment typo.
19193 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
19195         * help-fns.el (describe-variable): Don't complete keywords.
19196         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19198 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
19200         * emacs-lisp/package.el (package-version-join): Impose a standard
19201         string representation for pre/alpha/beta version lists.
19202         (package-unpack-single): Standardize the directory name by passing
19203         it through package-version-join.
19204         (package-strip-rcs-id): Accept any version string that does not
19205         signal an error in version-to-list.
19207 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
19209         * simple.el (delete-trailing-whitespace): Return nil for the
19210         benefit of `write-file-functions'.
19212 2011-03-10  Glenn Morris  <rgm@gnu.org>
19214         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19216         * vc/vc-git.el (vc-git-program): New option.
19217         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19218         (vc-git--call): Use it.
19220         * eshell/esh-util.el (eshell-condition-case): Doc fix.
19222         * cus-edit.el (Custom-newline): If no button at point, look
19223         for a subgroup button at start-of-line.  (Bug#2298)
19225         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19227 2011-03-10  Julien Danjou  <julien@danjou.info>
19229         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19230         `cursor-type' is nil.
19232 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
19234         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19236 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
19238         * allout.el: Change so yank of distinctive-bullet items
19239         preserves the existing header prefix, rebulleting it if necessary,
19240         rather than replacing it.  This is necessary for proper operation
19241         of cooperative addons like allout-widgets.
19242         (allout-make-topic-prefix, allout-rebullet-heading):
19243         Change SOLICIT arg to INSTEAD, and interpret additionally a string
19244         value as alternate bullet to be used, instead of prompting the user
19245         for a bullet character.
19247 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
19249         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19250         Do not use `tramp-file-name-port', because this returns also
19251         `tramp-default-port'.
19253 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
19255         * net/rcirc.el (rcirc-handler-001): Remove useless
19256         with-rcirc-process-buffer.
19257         (rcirc-check-auth-status): Swap arguments to string-match.
19259 2011-03-09  Glenn Morris  <rgm@gnu.org>
19261         * shell.el (shell-mode):
19262         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
19264         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19265         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
19267 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
19269         * emacs-lisp/package.el (package-refresh-contents)
19270         (package-menu-execute): Use condition-case-no-debug.
19272 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
19274         * simple.el (shell-command-to-string): Use `process-file'.
19276         * emacs-lisp/package.el (package-tar-file-info): Handle also
19277         remote files.
19279         * emacs-lisp/package-x.el (package-upload-buffer-internal):
19280         Use `equal' for upload base check.
19282 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
19284         * textmodes/texinfo.el (texinfo-environments):
19285         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
19287 2011-03-08  Glenn Morris  <rgm@gnu.org>
19289         * cus-start.el (cursor-in-non-selected-windows):
19290         Fix :set quoting oddness.  (Bug#8192)
19292         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19293         in some setf expressions.  (Bug#2159)
19295 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
19297         * custom.el (custom-available-themes): Return themes in
19298         alphabetical order.
19300 See ChangeLog.15 for earlier changes.
19302 ;; Local Variables:
19303 ;; coding: utf-8
19304 ;; End:
19306   Copyright (C) 2011-2012  Free Software Foundation, Inc.
19308   This file is part of GNU Emacs.
19310   GNU Emacs is free software: you can redistribute it and/or modify
19311   it under the terms of the GNU General Public License as published by
19312   the Free Software Foundation, either version 3 of the License, or
19313   (at your option) any later version.
19315   GNU Emacs is distributed in the hope that it will be useful,
19316   but WITHOUT ANY WARRANTY; without even the implied warranty of
19317   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19318   GNU General Public License for more details.
19320   You should have received a copy of the GNU General Public License
19321   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.