Merge from emacs-24; up to 2012-05-07T21:26:08Z!rgm@gnu.org
[emacs.git] / lisp / ChangeLog
blob4946fe5dd86630bc354c0932d80de26b71e571b1
1 2012-09-28  Leo Liu  <sdl.web@gmail.com>
3         * pcomplete.el (pcomplete-show-completions): Use
4         minibuffer-message to make pcomplete usable in minibuffer.
6         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10         * type-break.el: Use lexical-binding.
11         (type-break-mode): Use define-minor-mode.
13         * emacs-lisp/pcase.el (pcase--mark-used): New.
14         (pcase--u1): Use it (bug#12512).
16         * custom.el (load-theme): Set buffer-file-name so the load is recorded
17         in load-history with the right file name.
19 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
21         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
22         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
23         (doc-view-get-bounding-box): Make bounding box slicing work for
24         ODF and DVI documents.
26 2012-09-28  Glenn Morris  <rgm@gnu.org>
28         * type-break.el (type-break-mode, type-break-interval)
29         (type-break-good-rest-interval, type-break-keystroke-threshold):
30         No need to autoload.
31         (type-break-good-rest-interval, type-break-keystroke-threshold):
32         Add :set-after.
34 2012-09-28  Chong Yidong  <cyd@gnu.org>
36         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
37         Add :version tag.
39 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
41         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
43 2012-09-27  Glenn Morris  <rgm@gnu.org>
45         * faces.el (x-display-name): Declare (for without-x builds).
47         * linum.el (linum-format): Don't autoload it.  Improve :type.
49         * progmodes/tcl.el: Don't require outline when compiling.
50         (outline-regexp, outline-level): Declare.
51         * textmodes/sgml-mode.el: Don't require outline when compiling.
52         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
54         * term.el (term-ansi-reset):
55         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
57         * vc/vc.el (vc-next-action): Only gripe about committing read-only
58         files for RCS and SCCS.  (Bug#9781)
60 2012-09-27  Chong Yidong  <cyd@gnu.org>
62         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
63         change; value should be t.
65 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
67         * image-mode.el: Use lexical-binding.
68         (image-mode-winprops): Use t to stand for the window of
69         a buffer that's not displayed.
70         * doc-view.el (doc-view-new-window-function): Handle the new
71         t in winprops.
72         (doc-view-enlarge): Make it a real nop if the size is not changed.
73         (doc-view-display): Handle the case where the buffer is not (yet?)
74         displayed in any window.
75         (doc-view-saved-settings): New var.
76         (doc-view-mode): Use it.
77         (doc-view-fallback-mode): Set it.
79         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
80         Set lexical-binding.
81         (minibuffer-eldef-shorten-default): New var.
82         (minibuffer-default-in-prompt-regexps): Use it for new default.
83         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
85 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
87         * international/uni-bidi.el:
88         * international/uni-category.el:
89         * international/uni-name.el:
90         * international/uni-numeric.el: Regenerate.
92 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
93             Stefan Monnier  <monnier@iro.umontreal.ca>
95         * profiler.el: New file.
97 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
99         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
100         (testcover-reinstrument): Simplify with CSE.
102 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
104         * window.el (temp-buffer-window-setup): Fix typo in docstring.
106 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
108         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
109         (verilog-auto-input, verilog-auto-insert-lisp)
110         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
111         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
112         (verilog-auto-unused, verilog-auto-wire)
113         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
114         newline.  Reported by Andrew Jones.
115         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
116         Reported by Brad Dobbie.
117         (verilog-batch-delete-trailing-whitespace):
118         Create verilog-batch-delete-trailing-whitespace.
119         Reported by Brad Dobbie.
120         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
121         parameters from another module.  Reported by Dan Katz.
122         (verilog-auto, verilog-auto-assign-modport)
123         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
124         AUTOINOUTMODPORT for UVM interface module shell generation.
125         Reported by Brad Dobbie.
126         (verilog-auto-inst-interfaced-ports): Make default nil, as more
127         standard behavior.
128         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
129         Reported by Matt Martin.
131 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
133         * window.el (window--resize-child-windows): When resizing child
134         windows proportionally, process them in reverse order to
135         preserve the "when splitting a window the new one gets the odd
136         line" behavior.
137         (window--resize-root-window-vertically): When resizing the
138         minibuffer window try to affect only windows at the bottom of the
139         frame.  (Bug#12419)
141 2012-09-25  Chong Yidong  <cyd@gnu.org>
143         * subr.el (declare): Doc fix.
145         * help-fns.el (help-fns--obsolete): Handle macros properly.
147 2012-09-25  Chong Yidong  <cyd@gnu.org>
149         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
150         this function obsolete.
152         * calendar/cal-x.el (calendar-two-frame-setup)
153         (calendar-only-one-frame-setup, calendar-one-frame-setup):
154         * calendar/calendar.el (american-calendar, european-calendar)
155         (calendar-for-loop):
156         * comint.el (comint-dynamic-simple-complete)
157         (comint-dynamic-complete-as-filename, comint-unquote-filename):
158         * desktop.el (desktop-load-default):
159         * dired-x.el (dired-omit-here-always)
160         (dired-hack-local-variables, dired-default-directory):
161         * emacs-lisp/derived.el (derived-mode-class):
162         * emacs-lisp/timer.el (timer-set-time-with-usecs):
163         * emacs-lock.el (toggle-emacs-lock):
164         * epa.el (epa-display-verify-result):
165         * epg.el (epg-sign-keys, epg-start-sign-keys)
166         (epg-passphrase-callback-function):
167         * eshell/esh-util.el (eshell-for):
168         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
169         (eshell-add-to-window-buffer-names):
170         * files.el (locate-file-completion):
171         * imenu.el (imenu-example--create-c-index)
172         (imenu-example--create-lisp-index)
173         (imenu-example--lisp-extract-index-name)
174         (imenu-example--name-and-position):
175         * international/mule-cmds.el (princ-list):
176         * international/mule-diag.el (decode-codepage-char):
177         * international/mule-util.el (detect-coding-with-priority):
178         * iswitchb.el (iswitchb-read-buffer):
179         * mail/mailalias.el (mail-complete):
180         * mail/sendmail.el (mail-sent-via):
181         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
182         (mouse-major-mode-menu):
183         * password-cache.el (password-read-and-add):
184         * pcomplete.el (pcomplete-parse-comint-arguments):
185         * progmodes/sh-script.el (sh-maybe-here-document):
186         * replace.el (query-replace-regexp-eval):
187         * savehist.el (savehist-load):
188         * simple.el (choose-completion-delete-max-match):
189         * term.el (term-dynamic-simple-complete):
190         * vc/ediff-init.el (ediff-check-version):
191         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
192         * vc/vc.el (vc-diff-switches-list):
193         * view.el (view-return-to-alist-update): Likewise.
195         * subr.el (eval-next-after-load, makehash, insert-string)
196         (assoc-ignore-representation, assoc-ignore-case): Use declare to
197         mark obsolete.
198         (mode-line-inverse-video): Variable deleted.
200         * international/mule-util.el (string-to-sequence): Remove.
202         * calendar/calendar.el (calendar-version):
203         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
204         (icalendar-convert-diary-to-ical):
205         * cus-edit.el (custom-mode):
206         * ansi-color.el (ansi-color-unfontify-region):
207         * international/latin1-disp.el (latin1-char-displayable-p):
208         * progmodes/cwarn.el (turn-on-cwarn-mode):
209         * progmodes/which-func.el (which-func-update-1):
210         Use define-obsolete-function-alias.
212         * net/newst-backend.el (newsticker-cache-filename):
213         * net/newst-treeview.el (newsticker-groups-filename):
214         Fix incorrect obsolescence declaration.
216         * allout.el (allout-passphrase-hint-string): Likewise.
217         (allout-init): Use a declare form to mark obsolete.
219         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
220         this applies to functions.
222         * iswitchb.el (iswitchb-read-buffer): Move code of
223         iswitchb-define-mode-map here, and delete that obsolete function.
225         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
226         font-lock-reference-face.
228 2012-09-25  Glenn Morris  <rgm@gnu.org>
230         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
231         Doc fixes.
233         * eshell/em-term.el (eshell-term-name):
234         Default to term-term-name.  (Bug#12485)
236 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
238         * progmodes/python.el (python-shell-send-buffer): Better handling
239         of "if __name__ == '__main__':" conditionals when sending the buffer.
241 2012-09-24  Glenn Morris  <rgm@gnu.org>
243         * eshell/esh-cmd.el (eshell-find-alias-function):
244         Tighten up file-name regexp.  (Bug#12499)
246 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
248         Enhancements for triple-quote string syntax.
249         * progmodes/python.el (python-quote-syntax): Remove.
250         (python-syntax-propertize-function): New value.
251         (python-syntax-count-quotes, python-syntax-stringify):
252         New functions.
254 2012-09-24  Chong Yidong  <cyd@gnu.org>
256         * mail/supercite.el (sc-version): Remove obsolete function.
257         (sc-describe): Don't mark as obsolete, since it is bound.
258         (sc-submit-bug-report): Remove.
260         * vc/log-edit.el (cvs-changelog-full-paragraphs)
261         (cvs-commit-buffer-require-final-newline): Remove.
262         (log-edit-require-final-newline)
263         (log-edit-changelog-full-paragraphs): Default to t.
265         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
266         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
267         * vc/vc.el (vc-checkout-carefully): Likewise.
269         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
270         (emerge-version): Remove.
272         * progmodes/compile.el (compile-internal): Remove.
273         (compilation-parse-errors-function): Fix typo.
275         * international/mule.el (set-char-table-default): Remove.
276         (set-coding-priority, make-coding-system, generic-char-p)
277         (charset-list, charset-bytes, charset-id): Use declare to mark
278         functions as obsolete.
280         * vc/pcvs-defs.el (cvs-buffer-name-alist)
281         (cvs-invert-ignore-marks): Remove references to obsolete vars.
282         * vc/vc-hooks.el (vc-default-registered): Don't use
283         vc-master-templates.
285         * font-lock.el (font-lock-reference-face):
286         Use define-obsolete-variable-alias.
288         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
289         * calendar/calendar.el (calendar-font-lock-keywords):
290         * calendar/diary-lib.el (diary-font-lock-keywords)
291         (diary-fancy-font-lock-keywords):
292         * textmodes/reftex-sel.el (reftex-insert-docstruct):
293         * textmodes/reftex-index.el (reftex-insert-index):
294         * textmodes/reftex-cite.el (reftex-format-bib-entry):
295         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
296         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
297         * progmodes/prolog.el (prolog-font-lock-keywords):
298         * progmodes/idlwave.el (idlwave-idl-keywords):
299         * progmodes/ada-mode.el (ada-font-lock-keywords):
300         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
302 2012-09-24  Glenn Morris  <rgm@gnu.org>
304         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
306 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
308         * progmodes/python.el (python-indent-line): More consistent cursor
309         movement behavior.
311 2012-09-23  Stefan Merten  <smerten@oekonux.de>
313         * textmodes/rst.el: Fix compiler warning.
315 2012-09-23  Roland Winkler  <winkler@gnu.org>
317         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
318         Transcribe also LaTeX hyphenation.
319         (bibtex-reformat): Bug fix. Do not quote twice the elements of
320         bibtex-reformat-previous-options.
322 2012-09-23  Roland Winkler  <winkler@gnu.org>
324         * proced.el (proced-renice-command): New variable.
325         (proced-marked-processes): New function.
326         (proced-with-processes-buffer): New macro.
327         (proced-send-signal): Use them.
328         (proced-renice): New command bound to r.
330 2012-09-23  Roland Winkler  <winkler@gnu.org>
332         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
333         ibuffer-saved-filter-groups has one element, shortcut the call of
334         completing-read.  (Bug#12331)
336 2012-09-23  Chong Yidong  <cyd@gnu.org>
338         * bindings.el (mode-line-toggle-read-only):
339         * bs.el (bs-toggle-readonly):
340         * buff-menu.el (Buffer-menu-toggle-read-only):
341         * dired.el (dired-toggle-read-only):
342         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
344 2012-09-23  Chong Yidong  <cyd@gnu.org>
346         * image.el (image-type-available-p): Adapt to init-image-library
347         argument changes.
349 2012-09-22  Juri Linkov  <juri@jurta.org>
351         * dired.el (dired-mode-map): Add [remap read-only-mode] for
352         `dired-toggle-read-only'.  (Bug#12462)
354 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
356         * subr.el (temp-output-buffer-show): New function.
357         (with-output-to-temp-buffer): Call temp-output-buffer-show
358         instead of internal-temp-output-buffer-show.
360 2012-09-22  Chong Yidong  <cyd@gnu.org>
362         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
363         (Bug#12462).
365         * repeat.el (repeat): Doc fix (Bug#12348).
367         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
368         (Bug#10909).
370         * simple.el (shell-command-on-region): Doc fix.
371         (read-only-mode): Doc fix.
373 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
375         * emacs-lisp/timer.el (run-with-idle-timer)
376         (timer-activate-when-idle): Warn against reinvoking an idle timer
377         from within its own timer action.  (Bug#12447)
379 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
381         * cus-start.el (window-combination-limit): Add new optional
382         values.
383         * window.el (temp-buffer-window-show)
384         (window--try-to-split-window): Handle new values of
385         window-combination-limit (Bug#1806).
386         (split-window): Test window-combination-limit for t instead of
387         non-nil.
388         (display-buffer-at-bottom): New buffer display action function.
389         * help.el (temp-buffer-resize-regexps): New option.
390         (temp-buffer-resize-mode): Rewrite doc-string.
391         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
392         Don't resize reused window.  Suggested by Glenn Morris.
394 2012-09-22  Stefan Merten  <smerten@oekonux.de>
396         * textmodes/rst.el: Revamp section title faces.
397         (rst-official-version)
398         (rst-package-emacs-version-alist): Sync with official version
399         V1.4.0.
400         (rst-faces-defaults, rst-set-level-default)
401         (rst-level-face-max, rst-level-face-base-color)
402         (rst-level-face-base-light, rst-level-face-format-light)
403         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
404         (rst-adornment-faces-alist): Match new setup.
405         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
406         (rst-level-5, rst-level-6): New faces.
408 2012-09-22  Chong Yidong  <cyd@gnu.org>
410         * simple.el (undo): Handle indirect buffers (Bug#8207).
412 2012-09-21  Leo Liu  <sdl.web@gmail.com>
414         IDO: Disable match re-ordering for buffer switching.
415         * ido.el (ido-buffer-disable-smart-matches): New variable.
416         (ido-set-matches-1): Use it.  (Bug#2042)
418 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
420         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
421         Fix 2011-05-17 change.  (Bug#12418)
423 2012-09-21  Leo Liu  <sdl.web@gmail.com>
425         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
427 2012-09-21  Glenn Morris  <rgm@gnu.org>
429         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
430         Be more robust about locating simple.el.
432 2012-09-21  Glenn Morris  <rgm@gnu.org>
434         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
436 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
438         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
440 2012-09-20  Juri Linkov  <juri@jurta.org>
442         * replace.el (query-replace-read-from): Use `read-regexp' instead
443         of `read-from-minibuffer' when `regexp-flag' is non-nil.
444         (occur-read-primary-args): Use `read-regexp' instead of
445         `read-string'.
446         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
447         `read-from-minibuffer'.
448         * isearch.el (isearch-occur): Use `read-regexp' instead of
449         `read-string'.
450         * dired.el (dired-read-regexp): Use `read-regexp' instead of
451         `read-from-minibuffer'.
452         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
453         of `read-string'.  (Bug#7567)
455         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
456         and allow accepting a list of strings prepended to a list of
457         standard default values.  Doc fix.  (Bug#12321)
459         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
461         * replace.el (read-regexp): Don't add ": " when PROMPT already
462         ends with a colon and space.  (Bug#12321)
464 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
466         * doc-view.el (doc-view-display): Better fix for the cl-assertion
467         error.
469 2012-09-20  Stefan Merten  <smerten@oekonux.de>
471         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
472         Fixes feature request bug#11711.
473         (rst-mode): Create `imenu-create-index-function'.
474         (rst-get-stripped-line): Delete after refactoring.
475         (rst-section-tree, rst-section-tree-rec)
476         (rst-section-tree-point): Refactor and document properly.
477         (rst-imenu-find-adornments-for-position)
478         (rst-imenu-convert-cell, rst-imenu-create-index):
479         New function.
481 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
483         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
484         (macroexp--expand-all): Use it.
485         (macroexp--funcall-and-return): Remove by folding it into its sole
486         caller (macroexp--warn-and-return).
487         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
488         Use macroexp--obsolete-warning.
490         * calc/calc.el: Fix last change by removing the whole chunk, since it
491         was only needed back when Calc was not bundled.
493 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
495         * emacs-lisp/debug.el (debug): Restore assignment to
496         debugger-old-buffer removed on 2012-09-08.
498 2012-09-20  Juri Linkov  <juri@jurta.org>
500         * dired-aux.el (dired-diff): Remove (require 'diff) since
501         `diff-latest-backup-file' is now autoloaded.
503 2012-09-20  Chong Yidong  <cyd@gnu.org>
505         * vc/diff.el (diff-latest-backup-file): Autoload.
507 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
509         * calc/calc.el: Remove redundant autoload shape check.
510         (sel-mode): Don't defvar.
511         (calc-get-stack-element): Add `sel-mode' arg instead.
512         (calc-top, calc-top-list): Pass it this additional argument.
513         * calc/calc-store.el (calc-store-map):
514         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
515         (calc-map-equation, calc-outer-product, calc-inner-product):
516         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
518         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
520 2012-09-19  Juri Linkov  <juri@jurta.org>
522         * dired-aux.el (dired-diff): Add (require 'diff) because
523         `diff-latest-backup-file' is not autoloaded.
524         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
525         of `dired-get-filename' to t to not report error when there is
526         no default file on the current line.
528 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
530         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
531         macroexp--eval-if-compile.
532         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
533         (macroexp--expand-all): Use them (bug#12371).
535         * doc-view.el (doc-view-guess-paper-size)
536         (doc-view-scale-bounding-box): Fix unbound `caddr'.
538 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
540         New feature: set optimal slice from BoundingBox information.
541         * doc-view.el (doc-view-mode-map): Add keybinding.
542         (doc-view-menu): Add menu entry.
543         (doc-view-set-slice): Adapt docstring.
544         (doc-view-get-bounding-box, doc-view-guess-paper-size)
545         (doc-view-scale-bounding-box)
546         (doc-view-set-slice-from-bounding-box): New functions.
547         (doc-view-paper-sizes): New defvar.
549 2012-09-19  Glenn Morris  <rgm@gnu.org>
551         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
552         (byte-compile-log-warning): Autoload.  (Bug#12371)
554         * calendar/calendar.el (calendar-american-month-header)
555         (calendar-european-month-header, calendar-iso-month-header)
556         (calendar-month-header): New options.
557         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
558         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
560 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
562         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
564 2012-09-18  Juri Linkov  <juri@jurta.org>
566         * dired-aux.el (dired-diff): Restore original functionality of
567         getting the default value, but keep new feature of using the
568         latest existing backup file (`diff-latest-backup-file').
570 2012-09-18  Juri Linkov  <juri@jurta.org>
572         * dired.el (dired-mark): If the region is active in Transient Mark
573         mode, mark all files in the active region.  Doc fix.
574         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
575         Doc fix.  (Bug#10624)
577 2012-09-18  Juri Linkov  <juri@jurta.org>
579         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
580         attributes for M-n are pulled from the file at point.
581         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
582         Suggested by Drew Adams.  (Bug#10624)
584 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
586         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
587         whitespace after "end".
588         (ruby-do-end-to-brace): Collapse block to one line if it fits
589         within fill-column.
591 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
593         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
594         value.
595         (debug): Don't remove debugger window when debugger is expected
596         to be back.
598 2012-09-18  Chong Yidong  <cyd@gnu.org>
600         * custom.el (defface): Doc fix.
602         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
604 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
606         * progmodes/compile.el (compilation-start): Use compilation-always-kill
607         to initialize query-on-exit; then test that instead (bug#12288).
609 2012-09-17  Stefan Merten  <smerten@oekonux.de>
611         * textmodes/rst.el: Add support for `testcover'.
612         (rst-defcustom-testcover, rst-testcover-add-compose)
613         (rst-testcover-add-1value): New functions.
614         (rst-portable-mark-active-p): Replace by `use-region-p'.
615         (rst-update-section, rst-classify-adornment)
616         (rst-find-title-line): Mark `1value' forms.
617         (rst-classify-adornment): Remove superfluous form.
618         (rst-update-section, rst-get-adornments-around)
619         (rst-adornment-complete-p, rst-get-next-adornment)
620         (rst-adjust, rst-promote-region)
621         (rst-display-adornments-hierarchy, rst-straighten-adornments)
622         (rst-find-pfx-in-region, rst-section-tree-rec)
623         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
624         (rst-toc-node, rst-toc, rst-forward-section)
625         (rst-iterate-leftmost-paragraphs)
626         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
627         (rst-bullet-list-region)
628         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
629         (rst-compile-find-conf, rst-compile)
630         (rst-repeat-last-character): Fix style.
632 2012-09-17  Chong Yidong  <cyd@gnu.org>
634         * comint.el (comint--complete-file-name-data): Don't add a space
635         if the status is `sole'; that adds a gratuitous space in the
636         completion-cycling case (Bug#12092).
638         * pcomplete.el (pcomplete-completions-at-point): Likewise.
640 2012-09-17  Richard Stallman  <rms@gnu.org>
642         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
643         only in the mime-shown mode, not in raw mode.
644         (rmail-mime): Toggle off mime by displaying the message without
645         mime processing.  (Bug#12305)
647         * mail/rmail.el (rmail-retry-failure):
648         Turn off mime processing first.  (Bug#12037)
650         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
652 2012-09-17  Chong Yidong  <cyd@gnu.org>
654         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
655         (shell-dynamic-complete-functions): Convert to defcustom.
656         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
658         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
659         * comint.el (comint-prompt-read-only):
660         * custom.el (defcustom):
661         * hi-lock.el (hi-lock-mode):
662         * ibuffer.el (ibuffer-formats):
663         * ielm.el (ielm-prompt-read-only):
664         * novice.el (disable-command):
665         * saveplace.el (toggle-save-place):
666         * speedbar.el (speedbar-supported-extension-expressions):
667         * startup.el (auto-save-list-file-prefix, init-file-user)
668         (after-init-hook, inhibit-startup-echo-area-message):
669         * strokes.el (strokes-help):
670         * time-stamp.el (time-stamp):
671         * calendar/calendar.el (calendar, diary-file):
672         * calendar/diary-lib.el (diary-mail-entries, diary)
673         (diary-list-entries-hook):
674         * calendar/holidays.el (holidays, calendar-holidays):
675         * calendar/lunar.el (lunar-phases):
676         * calendar/solar.el (sunrise-sunset):
677         * emulation/edt.el (edt-load-keys):
678         * emulation/viper.el (viper-mode):
679         * eshell/em-alias.el (eshell-command-aliases-list):
680         * eshell/esh-util.el (eshell-convert-numeric-arguments):
681         * international/ogonek.el (ogonek-information):
682         * net/tramp-cmds.el (tramp-bug):
683         * net/quickurl.el (quickurl-reread-hook-postfix):
684         * play/decipher.el (decipher-font-lock-keywords):
685         * progmodes/cc-styles.el (c-set-style):
686         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
687         * progmodes/inf-lisp.el (inferior-lisp-prompt):
688         * progmodes/octave-mod.el (octave-mode):
689         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
690         * progmodes/verilog-mode.el (verilog-read-defines):
691         * textmodes/two-column.el (2C-mode): Likewise.
693 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
695         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
696         that holds many addresses.
698 2012-09-16  Chong Yidong  <cyd@gnu.org>
700         * align.el (align-areas): Call the indication function with
701         positions instead of markers for arguments (Bug#12343).
703         * files.el (parse-colon-path): Use split-string (Bug#12351).
705         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
706         (display-buffer-function): Mark as obsolete.
708         * progmodes/compile.el (compilation-parse-errors): Accept list
709         values similar to font-lock-keywords (Bug#12136).
710         Suggested by Oleksandr Manzyuk.
711         (compilation-error-regexp-alist): Doc fix.
713 2012-09-15  Glenn Morris  <rgm@gnu.org>
715         * version.el (emacs-bzr-version-bzr): New function.
716         (emacs-bzr-get-version): Add optional EXTERNAL argument.
718         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
719         checkouts, check the parent dirstate matches the branch.
720         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
721         empty string.
723         * version.el (emacs-bzr-version): Doc fix.
724         (emacs-bzr-version-dirstate): New function.
725         (emacs-bzr-get-version): For lightweight checkouts, if the parent
726         is local try and check that it matches the branch.  If not, just
727         use dirstate information.  (Bug#12441)
729 2012-09-14  Juri Linkov  <juri@jurta.org>
731         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
732         (Bug#12399)
734 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
736         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
738         * emacs-lisp/edebug.el: Miscellaneous cleanup.
739         Remove obsolete byte-compiler hack that tried to silence some warnings.
740         (edebug-submit-bug-report): Remove.
741         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
742         Remove aliases, use the un-prefixed name instead.
743         (edebug-pop-to-buffer): Consider other frames.
744         (edebug-original-read):: Make it more obvious that it's always defined.
745         (edebug--make-form-data-entry, edebug--form-data-name)
746         (edebug--form-data-begin, edebug--form-data-end): Rename from the
747         single-dashed name, and implement with cl-defstruct.
748         (edebug-set-form-data-entry): Use the standard accessors.
749         (edebug-make-top-form-data-entry): Use push.
750         (edebug-no-match): Drop useless `funcall'.
751         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
752         to functions.
753         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
754         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
755         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
756         (easy-menu-define, with-custom-print): Remove redundant specs.
757         (edebug-outside-overriding-local-map)
758         (edebug-outside-overriding-terminal-local-map): Remove, unused.
759         (edebug--display): Bind unread-command-events directly to nil rather
760         than binding it to unread-command-events and later setting it to nil.
761         (edebug--display): Kill edebug-eval-buffer here...
762         (edebug--recursive-edit): ...rather than here.
763         Bind standard-output and standard-input.
764         (edebug-eval): Check cl-macroexpand-all is fboundp.
765         (edebug-temp-display-freq-count): Fix last change.
767         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
768         * subr.el (noreturn, 1value): Add `debug' spec.
769         * emacs-lisp/advice.el: Require cl-lib.
770         (ad-copy-tree): Remove, use copy-tree instead.
771         (ad-dolist): Remove use dolist or cl-dolist instead.
772         (ad-do-return): Remove, use cl-return instead.
773         (defadvice): Add `debug' spec.
775 2012-09-13  Juri Linkov  <juri@jurta.org>
777         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
778         (Bug#12399)
780 2012-09-13  Glenn Morris  <rgm@gnu.org>
782         * calc/calc.el (math-compose-expr):
783         * calc/calc-ext.el (math-compose-expr):
784         * progmodes/cc-defs.el (cl-macroexpand-all):
785         * progmodes/cc-langs.el (delete-duplicates, mapcan)
786         (cl-macroexpand-all): Update declarations.
788         * vc/vc.el: No need to require ediff.
789         (ediff-load-version-control): Declare.
790         (ediff-vc-internal): Fix declaration.
791         (vc-version-ediff): Require ediff.
793 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
795         Use a more backwards-compatible timer format (Bug#12430).
796         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
797         being right after USECS, as that better supports old code that
798         inadvisedly looked directly at the timer vector.
800 2012-09-13  Kenichi Handa  <handa@gnu.org>
802         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
803         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
804         `coding-priority' property of these language environment.
806 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
808         Fix glitches caused by addition of psec to timers (Bug#12430).
809         * image.el (image-animate-timer):
810         * time.el (display-time-world-timer):
811         Use timer--function and timer--args rather than raw access to
812         timer vector.
814 2012-09-13  Glenn Morris  <rgm@gnu.org>
816         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
817         If not compiling a file, try using load-file-name.
819 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
821         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
822         Fix last change.
823         (edebug-update-eval-list): Use `push'.
825         * emacs-lisp/edebug.el: Use lexical-binding.
826         Remove the "edebug-" prefix from non-dynamically-scoped variables.
827         Mark unused args with underscore.
828         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
829         (edebug-form-data): Use defvar-local.
830         (edebug-make-before-and-after-form, edebug-make-after-form):
831         Use backquote.
832         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
833         Not dynamically scoped any more.
834         (edebug--enter-trace): Add arguments `function' and `args'.
835         Rename from edebug-enter-trace.
836         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
837         (edebug--update-coverage): Add `after-index' and `value' args.
838         Rename from edebug-update-coverage.
839         (edebug-slow-after): Call it accordingly.
840         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
841         edebug-recursive-edit.
842         (edebug--display): Call it accordingly.  Add args `value',
843         `offset-index', and `arg-mode'.  Rename from edebug-display.
844         (edebug-debugger, edebug): Call it accordingly.
845         (edebug-eval-display-list): Use dolist.
847 2012-09-12  Juri Linkov  <juri@jurta.org>
849         * info.el (Info-search): Don't check for isearch-mode and
850         isearch-regexp before let-binding search-spaces-regexp to
851         Info-search-whitespace-regexp.
852         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
853         search-whitespace-regexp if isearch-lax-whitespace or
854         isearch-regexp-lax-whitespace is non-nil.
855         (Info-mode): Don't set local variable search-whitespace-regexp.
856         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
858 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
860         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
861         (debugger-env-macro): Remove support for unread-command-char.
863         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
864         the temporary map re-appearing on emulation-mode-map-alists.
866         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
867         since 22.1.
869         * ehelp.el (with-electric-help): Accept functions in
870         electric-help-form-to-execute.
871         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
872         And replace unread-command-char -> unread-command-events.
874 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
876         Sync with Tramp 2.2.6.
878         * net/tramp.el (tramp-accept-process-output): Don't use
879         JUST-THIS-ONE in the XEmacs case.
881         * net/trampver.el: Update release number.
883 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
885         * emacs-lisp/debug.el (debugger-previous-window-height):
886         New variable.
887         (debug): When debugger-jumping-flag is non-nil try to restore
888         height of debugger window.  (Bug#8789)
890 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
892         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
893         overriding-local-map and pre/post-command-hook here.
894         (edebug-recursive-edit): Do it here instead (bug#12345).
895         (edebug-outside-unread-command-char): Remove all uses of
896         unread-command-char.
898         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
899         inhibit-debugger is bound instead.
901 2012-09-11  Bastien Guerry  <bzg@gnu.org>
903         * subr.el (set-temporary-overlay-map): Add a docstring.
904         (Bug#12346)
906 2012-09-11  Bastien Guerry  <bzg@gnu.org>
908         * minibuffer.el (completion-table-subvert): Fix docstring.
909         (Bug#12347)
911 2012-09-11  Bastien Guerry  <bzg@gnu.org>
913         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
915 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
917         * progmodes/sql.el: Version 3.1
918         (sql-db2-escape-newlines): New variable.
919         (sql-escape-newlines-filter): Use it.
921 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
923         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
925 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
927         * vc/diff-mode.el (diff-mode-menu):
928         Bind diff-remove-trailing-whitespace.
930 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
932         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
933         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
934         (emacs-lisp-byte-code-mode): New functions.
935         (eval-sexp-add-defvars): Don't skip defvars in column >0.
936         (eval-defun-2): Remove bogus interactive spec.
937         (lisp-indent-line): Remove redundant whole-exp code, now done in
938         indent-according-to-mode.
939         (save-match-data): Remove redundant indent data.
941         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
942         Use `declare'.
944 2012-09-09  Juri Linkov  <juri@jurta.org>
946         * replace.el (replace-regexp-lax-whitespace): New defcustom.
947         (replace-lax-whitespace, query-replace-regexp)
948         (query-replace-regexp-eval, replace-regexp): Doc fix.
949         (perform-replace, replace-highlight): Let-bind
950         isearch-lax-whitespace to replace-lax-whitespace and
951         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
953         * isearch.el (isearch-query-replace): Let-bind
954         replace-lax-whitespace to isearch-lax-whitespace and
955         replace-regexp-lax-whitespace to
956         isearch-regexp-lax-whitespace.  (Bug#10885)
958 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
960         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
962 2012-09-09  Alan Mackenzie  <acm@muc.de>
964         * progmodes/cc-engine.el (c-state-cache-init):
965         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
966         (c-record-parse-state-state):
967         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
969 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
971         * register.el (register-separator): Rename from
972         separator-register.  All uses changed.  Doc fix.
973         (register): Fix version.
975 2012-09-09  Chong Yidong  <cyd@gnu.org>
977         * replace.el (query-replace-map): Bind four new symbols for
978         requesting window scrolling.
980         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
981         query-replace-map (Bug#8948).
983         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
985         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
986         since they are now in query-replace-map.
988         * window.el (scroll-other-window-down): Make the arg optional.
990 2012-09-09  Chong Yidong  <cyd@gnu.org>
992         * files.el (hack-local-variables-confirm): Use quit-window to kill
993         the *Local Variables* buffer.
995 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
997         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
998         not just expect to be at its beginning.  Adjust callees.
999         Succeed when do-end block has no space before the pipe character.
1000         (ruby-brace-to-do-end): When the original block is one-liner,
1001         convert to multiline.  Reindent the result.
1003 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
1005         * register.el (register): New group.
1006         (register-separator): New user option.
1007         (increment-register): Route it to `append-to-register', if
1008         register contains text.  Implication is that `C-x r +' can now be
1009         used for appending to a text register (bug#12217).
1010         (append-to-register, prepend-to-register): Add separator based on
1011         `register-separator.
1013 2012-09-08  Alan Mackenzie  <acm@muc.de>
1015         AWK Mode: make auto-newline work when there's "==" in the pattern.
1016         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1017         correctly.
1018         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1019         Test more rigorously for "=" token.
1021 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
1023         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1024         Only fail when reached LIMIT.
1026 2012-09-08  Chong Yidong  <cyd@gnu.org>
1028         * dired.el (dired-mode-map): Don't bind M-=.
1030         * dired-aux.el (dired-diff): Use backup file as default.
1032 2012-09-08  Drew Adams  <drew.adams@oracle.com>
1034         * subr.el (add-to-history): Fix delete usage (Bug#12314).
1036 2012-09-08  Chong Yidong  <cyd@gnu.org>
1038         * subr.el (syntax-after, syntax-class): Doc fix.
1040 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
1042         * window.el (display-buffer-in-previous-window): New buffer
1043         display action function.
1045         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1046         (debugger-previous-window): New variable.
1047         (debug): Rewrite using display-buffer-in-previous-window,
1048         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
1050 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1052         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
1054 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
1056         * progmodes/python.el (python-shell-send-string):
1057         When default-directory is remote, create temp file on remote
1058         filesystem.
1059         (python-shell-send-file): When file is remote, pass local view of
1060         file paths to remote Python interpreter.  (Bug#12340)
1062 2012-09-07  Chong Yidong  <cyd@gnu.org>
1064         * window.el (switch-to-buffer): Doc fix (Bug#12181).
1066         * files.el (after-find-file): Don't fail on a read-only buffer if
1067         require-final-newline is `visit' or `visit-save' (Bug#11156).
1069         * subr.el (read-char-choice): Allow quitting via ESC ESC.
1071         * userlock.el (ask-user-about-supersession-threat):
1072         Use read-char-choice (Bug#12093).
1074 2012-09-07  Chong Yidong  <cyd@gnu.org>
1076         * subr.el (buffer-narrowed-p): New function.
1078         * ses.el (ses-widen):
1079         * simple.el (count-words--buffer-message):
1080         * net/browse-url.el (browse-url-of-buffer): Use it
1082         * simple.el (count-words-region): Don't signal an error if there
1083         is a non-nil prefix arg and the mark is not set.
1085         * help.el (describe-key-briefly): Allow the message to be seen
1086         when invoked from the minibuffer (Bug#7014).
1088 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
1090         * progmodes/ruby-mode.el (ruby-end-of-defun)
1091         (ruby-beginning-of-defun): Simplify, allow indentation before
1092         block beginning and end keywords.
1093         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1094         (ruby-end-of-defun): Expect that the point is at the beginning of
1095         the defun.
1097 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1099         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1100         (bug#12367).
1101         (cl--make-usage-args): Strip _ from argument names.
1103 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1105         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1106         obsolete alias speedbar-key-map.
1107         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1108         (vhdl-index-menu-init): Don't use obsolete variable
1109         font-lock-maximum-size.
1111 2012-09-06  Chong Yidong  <cyd@gnu.org>
1113         * frame.el (window-system-version): Mark as obsolete.
1115         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1116         of obsolete variable speedbar-key-map.
1118 2012-09-06  Juri Linkov  <juri@jurta.org>
1120         * replace.el (replace-lax-whitespace): New defcustom.
1121         (query-replace, query-replace-regexp, query-replace-regexp-eval)
1122         (replace-string, replace-regexp): Mention it in docstrings.
1123         (perform-replace, replace-highlight): Let-bind
1124         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1125         to the values of replace-lax-whitespace and regexp-flag.
1126         Don't let-bind search-whitespace-regexp.  (Bug#10885)
1128         * isearch.el (isearch-query-replace): Let-bind
1129         replace-lax-whitespace instead of let-binding
1130         replace-search-function and replace-re-search-function.
1131         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1132         and isearch-regexp-lax-whitespace to lazy-highlight variables.
1133         (isearch-toggle-symbol): Set isearch-regexp to nil
1134         in isearch-word mode (like in isearch-toggle-word).
1136 2012-09-06  Juri Linkov  <juri@jurta.org>
1138         * replace.el (replace-search-function)
1139         (replace-re-search-function): Set default values to nil.
1140         (perform-replace): Let-bind isearch-related variables based on
1141         replace-related values, call `isearch-search-fun' and let-bind
1142         the result to `search-function'.  Remove code that sets
1143         `search-function' and `search-string' separately for
1144         `delimited-flag'.
1145         (replace-highlight): Add new argument `delimited-flag' and
1146         rename other arguments to the names used in `perform-replace'.
1147         Let-bind `isearch-word' to the argument `delimited-flag'.
1148         (Bug#10885, bug#10887)
1150 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
1152         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1153         ruby-beginning-of-indent, simplify, allow all keywords to have
1154         indentation before them.
1155         (ruby-beginning-of-indent): Adjust for above.  Search until the
1156         found point is not inside a string or comment.
1157         (ruby-font-lock-keywords): Allow symbols to start with "@"
1158         character, give them higher priority than variables.
1159         (ruby-syntax-propertize-function)
1160         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1161         matchers.  Expression expansions are not comments when inside a
1162         string, and there comment syntax status is irrelevant.
1163         (ruby-match-expression-expansion): New function.  Check that
1164         expression expansion is inside a string, and it's not escaped.
1165         (ruby-font-lock-keywords): Use it.
1167 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
1169         * help.el (temp-buffer-max-height): New default value.
1170         (temp-buffer-resize-frames): New option.
1171         (resize-temp-buffer-window): Optionally resize frame.
1173         * window.el (fit-frame-to-buffer-bottom-margin): New option.
1174         (fit-frame-to-buffer): New function.
1176 2012-09-05  Glenn Morris  <rgm@gnu.org>
1178         * emulation/cua-rect.el (cua--init-rectangles):
1179         * textmodes/picture.el (picture-mode-map):
1180         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1181         like forward-char and backward-char.  (Bug#12317)
1183 2012-09-05  Leo Liu  <sdl.web@gmail.com>
1185         * progmodes/flymake.el (flymake-warning-re): New variable.
1186         (flymake-parse-line): Use it.
1188 2012-09-05  Glenn Morris  <rgm@gnu.org>
1190         * calendar/holidays.el (holiday-christian-holidays):
1191         Rename an entry.  (Bug#12289)
1193 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1195         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1196         (bug#12222).
1198 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1200         * loadup.el: Load macroexp.  Remove hack.
1201         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1202         (macroexp--expand-all): Use it to get better warnings.
1203         (macroexp--backtrace, macroexp--trim-backtrace-frame)
1204         (internal-macroexpand-for-load): New functions.
1205         (macroexp--pending-eager-loads): New var.
1206         (emacs-startup-hook): New hack to replace one in loadup.el.
1207         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1208         (cl--compiler-macro-cXXr): Move to top, before they can be used.
1209         (cl-psetf): Simplify.
1210         (cl-defstruct): Add indent rule.
1212 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
1214         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1215         over `user-mail-address' for the SMTP MAIL FROM envelope.
1216         (smtpmail-via-smtp): Ditto.
1218 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
1220         * progmodes/ruby-mode.el: Clean up keybindings.
1221         (ruby-mode-map): Don't bind ruby-electric-brace,
1222         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1223         backward-kill-word, reindent-then-newline-and-indent.
1224         (ruby-mark-defun): Remove.
1225         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
1226         (ruby-mode): Set local beginning-of-defun-function and
1227         end-of-defun-function values.
1229 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
1231         * window.el (temp-buffer-window-setup-hook)
1232         (temp-buffer-window-show-hook): New hooks.
1233         (temp-buffer-window-setup, temp-buffer-window-show)
1234         (with-temp-buffer-window): New functions.
1235         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1236         (special-display-popup-frame): Make sure the window used shows BUFFER.
1238         * help.el (temp-buffer-resize-mode): Fix doc-string.
1239         (resize-temp-buffer-window): New optional argument WINDOW.
1241         * files.el (recover-file, save-buffers-kill-emacs):
1242         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1244 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
1246         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1247         remote definition of `default-directory', ensure we can connect.
1249 2012-09-02  Juri Linkov  <juri@jurta.org>
1251         Toggle whitespace matching mode with M-s SPC.
1252         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1254         * isearch.el (search-whitespace-regexp): Doc fix.
1255         Remove cons cell customization.
1256         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1257         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1258         New variables.
1259         (isearch-forward, isearch-forward-regexp): Doc fix.
1260         (isearch-toggle-lax-whitespace): New command.
1261         (search-forward-lax-whitespace, search-backward-lax-whitespace)
1262         (re-search-forward-lax-whitespace)
1263         (re-search-backward-lax-whitespace): New functions.
1264         (isearch-whitespace-regexp): Remove function.
1265         (isearch-query-replace): Let-bind replace-search-function and
1266         replace-re-search-function.
1267         (isearch-occur): Let-bind search-spaces-regexp according to the
1268         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1269         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1270         condition for C-q SPC.
1271         (isearch-search-fun-default): Use new functions mentioned above.
1272         (isearch-search-forward, isearch-search-backward): Remove functions.
1273         (isearch-search): Don't let-bind search-spaces-regexp.
1274         (isearch-lazy-highlight-space-regexp): Remove variable.
1275         (isearch-lazy-highlight-lax-whitespace)
1276         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1277         (isearch-lazy-highlight-new-loop): Use them.
1278         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1280 2012-09-02  Chong Yidong  <cyd@gnu.org>
1282         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1284 2012-09-02  Glenn Morris  <rgm@gnu.org>
1286         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
1288 2012-09-01  Glenn Morris  <rgm@gnu.org>
1290         * term.el: Tidy up menu definitions.
1291         (term-mode-map): Use easymenu for In/Out, Complete menus.
1292         (term-pager-break-map): Initialize in the defvar.
1293         (term-terminal-menu, term-signals-menu): Define with easymenu.
1294         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
1295         (term-pager-menu): New, extracted from term-process-pager.
1296         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1297         (term-update-mode-line): Propertize line/char and page items.
1298         (term-process-pager): Move keymap initialization elsewhere.
1300 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
1302         * window.el (switch-to-prev-buffer): Handle additional values of
1303         BURY-OR-KILL argument.  Don't switch in minibuffer window.
1304         (switch-to-next-buffer): Don't switch in minibuffer window.
1305         (quit-restore-window): New function based on quit-window.
1306         Handle additional values of former KILL argument.
1307         (quit-window): Call quit-restore-window with appropriate
1308         interpretation of KILL argument.
1309         (display-buffer-below-selected): New buffer display action
1310         function.
1312 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1314         * minibuffer.el (completion-at-point-functions): Complete docstring
1315         (bug#12254).
1317 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
1319         Better seed support for (random).
1320         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1321         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1322         * play/mpuz.el, play/tetris.el, play/zone.el:
1323         * calc/calc-comb.el (math-init-random-base):
1324         * play/blackbox.el (bb-init-board):
1325         * play/life.el (life):
1326         * server.el (server-use-tcp):
1327         * type-break.el (type-break):
1328         Remove unnecessary call to (random t).
1329         * net/sasl.el (sasl-unique-id-function):
1330         Change (random t) to (random), now that the latter is more random.
1331         * play/life.el (life-initialized): Remove no-longer-needed var.
1333 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
1335         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1336         Consider frame's buffer predicate when choosing the buffer.
1337         (Bug#12081)
1339 2012-08-30  Richard Stallman  <rms@gnu.org>
1341         * simple.el (special-mode-map): Delete binding for `z'.
1343 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
1345         * progmodes/compile.el (compilation-always-kill): Doc fix.
1347 2012-08-30  Chong Yidong  <cyd@gnu.org>
1349         * window.el (display-buffer-reuse-frames): Make the obsolescence
1350         message more informative.
1352 2012-08-30  Glenn Morris  <rgm@gnu.org>
1354         * paren.el (show-paren-delay):
1355         Add a :set function.  Doc fix.  (Bug#12297)
1357 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
1359         * progmodes/compile.el (compilation-always-kill): New var.
1360         (compilation-start): Use it.
1362 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1364         * simple.el (read-only-mode): Move from files.el for bootstrapping.
1365         * files.el (read-only-mode): Move to simple.el.
1367         * files.el (read-only-mode): New minor mode.
1368         (toggle-read-only): Use it and mark obsolete.
1369         (find-file--read-only):
1370         * vc/vc.el (vc-next-action, vc-checkout):
1371         * vc/vc-cvs.el (vc-cvs-checkout):
1372         * obsolete/vc-mcvs.el (vc-mcvs-update):
1373         * ffap.el (ffap--toggle-read-only): Update callers.
1375 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
1377         * eshell/esh-ext.el (eshell-external-command): Do not examine
1378         remote shell scripts.
1379         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1381         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1382         "/usr/local/sbin".
1384 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1386         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1388 2012-08-28  Leo Liu  <sdl.web@gmail.com>
1390         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1391         completion-at-point.  (Bug#12220)
1393         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1395         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1397 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1399         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1400         be buffer-local; add delete-trailing-whitespace (bug#12259).
1402 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
1404         * progmodes/hideif.el (hif-compress-define-list):
1405         Fix typo.  (Bug#11951)
1407 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
1409         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1410         buffer local setting.
1412         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1413         rcirc-encode-coding-system.
1415 2012-08-28  Leo Liu  <sdl.web@gmail.com>
1417         * net/rcirc.el (rcirc-split-message): New function.
1418         (rcirc-send-message): Use it.  (Bug#12051)
1420 2012-08-28  Juri Linkov  <juri@jurta.org>
1422         * info.el (Info-fontify-node): Hide empty lines at the end of
1423         the node.  (Bug#12272)
1425 2012-08-27  Drew Adams  <drew.adams@oracle.com>
1427         * dired.el (dired-pop-to-buffer): Make window start at beginning
1428         of buffer (Bug#12281).
1430 2012-08-26  Chong Yidong  <cyd@gnu.org>
1432         * window.el (special-display-regexps, special-display-frame-alist)
1433         (special-display-buffer-names, special-display-function)
1434         (display-buffer-reuse-frames): Mark as obsolete.
1436         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1438         * help.el (help-print-return-message): Don't treat
1439         display-buffer-reuse-frames specially.
1441 2012-08-26  Chong Yidong  <cyd@gnu.org>
1443         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1444         New variable, replacing gdb-frame-parameters.
1445         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1446         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1447         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1448         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1449         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
1450         the functions directly with gdb-display-buffer-other-frame-action.
1451         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1452         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1453         (gdb-display-stack-buffer, gdb-display-locals-buffer)
1454         (gdb-display-registers-buffer): Define directly.
1455         (def-gdb-display-buffer): Macro deleted.
1456         (gdb-display-buffer): Remove second and third args, callers don't
1457         use them.  Defer to the default display-buffer behavior, apart
1458         from making windows dedicated.
1459         (gdb-setup-windows): Don't call display-buffer unnecessarily.
1461         * progmodes/gud.el (gud-display-line): Just use display-buffer.
1463         * window.el (display-buffer-pop-up-frame): Handle a
1464         pop-up-frame-parameters alist entry.
1465         (display-buffer): Document it.
1467 2012-08-26  Chong Yidong  <cyd@gnu.org>
1469         * isearch.el (search-whitespace-regexp): Make string and nil
1470         values apply to both ordinary and regexp search.  Allow a cons
1471         cell value to distinguish between the two.
1472         (isearch-whitespace-regexp, isearch-search-forward)
1473         (isearch-search-backward): New functions.
1474         (isearch-occur, isearch-search-fun-default, isearch-search)
1475         (isearch-lazy-highlight-new-loop): Use them.
1476         (isearch-forward, isearch-forward-regexp): Doc fix.
1478 2012-08-26  Chong Yidong  <cyd@gnu.org>
1480         * faces.el (help-argument-name): Always inherit from italic
1481         (Bug#12213).
1483 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
1485         * window.el (window--even-window-heights): Even heights when
1486         WINDOW and the selected window form a vertical combination.
1487         (display-buffer-use-some-window): Provide that window used gets
1488         sized back by quit-window.  (Bug#11880) and (Bug#12091)
1490 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1492         Fix file time stamp problem with bzr and CVS (Bug#12001).
1493         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1494         in the file's time stamp, since the version control system loses
1495         that information.
1497 2012-08-22  Juri Linkov  <juri@jurta.org>
1499         * info.el (Info-fontify-node): Hide the suffix of the
1500         Info file name in the header line.  (Bug#12187)
1502 2012-08-22  Glenn Morris  <rgm@gnu.org>
1504         * calendar/cal-tex.el (cal-tex-weekly-common):
1505         Restore leading blank page.
1507 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
1509         * misc.el (forward-to-word, backward-to-word): Activate or extend
1510         the region under `shift-select-mode'.  (Bug#12231)
1512 2012-08-22  Bastien Guerry  <bzg@gnu.org>
1514         * progmodes/executable.el (executable-prefix): Set to "#!" instead
1515         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
1516         gives details on why the space is never needed.
1518 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
1520         * window.el (walk-window-tree, window-with-parameter):
1521         New optional argument MINIBUF to control whether these functions
1522         should run on the minibuffer window.
1523         (window-at-side-list): Don't operate on minibuffer window.
1524         (window-in-direction): Simplify and rewrite doc-string.
1525         (window--size-ignore): Rename to window--size-ignore-p.
1526         Update callers.
1527         (display-buffer-in-atom-window, window--major-non-side-window)
1528         (window--major-side-window, display-buffer-in-major-side-window)
1529         (delete-side-window, display-buffer-in-side-window):
1530         New functions.
1531         (window--side-check, window-deletable-p, delete-window)
1532         (delete-other-windows, split-window): Handle side windows and
1533         atomic windows appropriately.
1534         (window--display-buffer): Call display-buffer-record-window also
1535         when the window buffer did not change.
1537 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
1539         * help-fns.el (help-fns--key-bindings):
1540         Abbreviate non-symbol remap targets.  (Bug#12174)
1542 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
1544         * dired.el (dired-mark-remembered): Don't clobber point.
1545         (Bug#11795)
1547 2012-08-22  Glenn Morris  <rgm@gnu.org>
1549         * progmodes/bug-reference.el (bug-reference): New custom group.
1550         (bug-reference-bug-regexp): Make it a defcustom.
1552 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
1554         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1555         (js-paren-indent-offset, js-square-indent-offset)
1556         (js-curly-indent-offset): Add :safe (Bug#12257).
1558 2012-08-22  Edward O'Connor  <hober0@gmail.com>
1560         * json.el (json-key-format): Add error properties.
1561         (json-encode-key): New function.
1562         (json-encode-hash-table, json-encode-alist, json-encode-plist):
1563         Use json-encode-key.
1565 2012-08-22  Glenn Morris  <rgm@gnu.org>
1567         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1568         (cal-tex-leftday, cal-tex-rightday): Remove functions.
1569         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1570         Update for above change.
1572 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
1574         * cus-face.el (custom-face-attributes): Fix customize type for the
1575         :underline attribute.  (Bug#11805)
1577 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
1579         * window.el (window-point-1, set-window-point-1): Remove.
1580         (window-in-direction, record-window-buffer)
1581         (set-window-buffer-start-and-point, split-window-below)
1582         (window--state-get-1, display-buffer-record-window):
1583         Replace calls to window-point-1 and set-window-point-1 by calls to
1584         window-point and set-window-point respectively.
1586 2012-08-21  Glenn Morris  <rgm@gnu.org>
1588         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1589         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1590         Use it.
1592         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1593         (cal-tex-shortday): New function.
1594         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1595         (cal-tex-cursor-filofax-daily): Use the above.
1597         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1598         New functions.
1599         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1600         (cal-tex-cursor-filofax-week): Use them.
1602         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1603         New constants.
1604         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1605         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1607         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1608         (cal-tex-end-document): Don't rely on buffer name.
1610         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1611         Use cal-tex-vspace.
1612         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1613         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
1614         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1615         Use cal-tex-arg.
1617         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1618         (cal-tex-cursor-week, cal-tex-cursor-week2)
1619         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1620         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1621         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1622         (cal-tex-insert-preamble, cal-tex-b-document)
1623         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1624         Improve cal-tex-cmd usage.
1626         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1627         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1628         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1629         (cal-tex-weekly-paper): New function.
1630         (cal-tex-cursor-week, cal-tex-cursor-week2)
1631         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1632         (cal-tex-cursor-day): Use it.
1634         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1635         (cal-tex-cursor-filofax-week): Remove leading blank page.
1637         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1638         Add autoload cookie.  For now at least, don't use color, since
1639         no other cal-tex function does.
1641         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1642         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1643         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1645 2012-08-21  Juri Linkov  <juri@jurta.org>
1647         * info.el (Info-file-attributes): New variable.
1648         (info-insert-file-contents): Add file attributes to
1649         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
1650         `Info-toc-nodes' when previous modtime of the Info file is less
1651         than new modtime.
1652         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1653         of info.el.  (Bug#12230)
1655 2012-08-20  Glenn Morris  <rgm@gnu.org>
1657         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1658         * calendar/holidays.el (calendar-holiday-list):
1659         Report errors with display-warning rather than beep'n'sleep.
1661 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
1663         * net/tramp.el (tramp-accept-process-output): Accept only output
1664         from PROC.  Otherwise, process filters and sentinels might be
1665         confused.  (Bug#12145)
1667 2012-08-20  Chong Yidong  <cyd@gnu.org>
1669         * descr-text.el (describe-text-properties-1): Use overlays-in to
1670         report on empty overlays (Bug#3322).
1672 2012-08-20  Glenn Morris  <rgm@gnu.org>
1674         * mail/rmailout.el (rmail-output-read-file-name):
1675         Trap and report errors in rmail-output-file-alist elements.
1677         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1678         since most non-font-lock faces are not also variables).
1680 2012-08-20  Edward Reingold  <reingold@iit.edu>
1682         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1683         New function.  (Bug12160)
1685 2012-08-19  Glenn Morris  <rgm@gnu.org>
1687         * mail/rmailout.el (rmail-output-read-file-name):
1688         Fix previous change (when the alist is nil or does not match).
1690 2012-08-19  Chong Yidong  <cyd@gnu.org>
1692         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1693         (Bug#12228).
1695 2012-08-18  Chong Yidong  <cyd@gnu.org>
1697         * simple.el (yank-handled-properties): New defcustom.
1698         (yank-excluded-properties): Add font-lock-face and category.
1699         (yank): Doc fix.
1701         * subr.el (remove-yank-excluded-properties):
1702         Obey yank-handled-properties.  The special handling of font-lock-face
1703         and category is now done this way, instead of being hard-coded.
1704         (insert-for-yank-1): Remove font-lock-face handling.
1705         (yank-handle-font-lock-face-property)
1706         (yank-handle-category-property): New function.
1708 2012-08-17  Glenn Morris  <rgm@gnu.org>
1710         * mail/rmailout.el (rmail-output-read-file-name):
1711         Check rmail-output-file-alist against the full message body
1712         in the correct rmail buffer.  (Bug#12214)
1714 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
1716         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1717         Eliminate superfluous prompt.  (Bug#12203)
1719 2012-08-17  Chong Yidong  <cyd@gnu.org>
1721         * mouse.el (mouse-appearance-menu): If x-select-font returns a
1722         font spec, set the font directly (Bug#3228).
1724 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
1726         * window.el (delete-window): Fix last fix.
1728 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
1730         * window.el (window-valid-p): Move to window.c.
1731         (window-child, window-child-count, window-last-child)
1732         (window-normalize-window, window-combined-p)
1733         (window-combinations, window-atom-root, window-min-size)
1734         (window-sizable, window-sizable-p, window-size-fixed-p)
1735         (window-min-delta, window-max-delta, window--resizable)
1736         (window--resizable-p, window-resizable, window-total-size)
1737         (window-full-height-p, window-full-width-p, window-body-size)
1738         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1739         (minimize-window, window-deletable-p, delete-window)
1740         (delete-other-windows, set-window-buffer-start-and-point)
1741         (next-buffer, previous-buffer, split-window, balance-windows-2)
1742         (set-window-text-height, window-buffer-height)
1743         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
1744         (truncated-partial-width-window-p): Minor code adjustments.
1745         In doc-strings state whether the argument window has to denote a
1746         live, valid or any window.
1748 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
1750         * progmodes/subword.el (subword-forward-function)
1751         (subword-backward-function, subword-forward-regexp)
1752         (subword-backward-regexp): New variables.
1753         (subword-forward, subword-forward-internal, subword-backward-internal):
1754         Use new variables, eg so that different "word" definitions
1755         can be easily used.  (Bug#11411)
1757 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1759         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1760         for composite selectors.
1761         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1762         operation just because we can't find a previous revision.
1764 2012-08-15  Chong Yidong  <cyd@gnu.org>
1766         * frame.el (set-frame-font): Accept font objects.
1768 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1770         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1772 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
1774         * man.el (Man-overstrike-face, Man-underline-face)
1775         (Man-reverse-face): Remove variables.
1776         (Man-overstrike, Man-underline, Man-reverse): New faces.
1777         (Man-fontify-manpage): Use them instead of the variables.
1778         (Man-cleanup-manpage): Comment change.
1779         (Man-ansi-color-map): New variable.
1780         (Man-fontify-manpage): Use it.
1781         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1783         Implement ANSI SGR parameters 22-27 (bug#12146).
1784         * ansi-color.el (ansi-colors): Doc fix.
1785         (ansi-color-context, ansi-color-context-region): Doc fix.
1786         (ansi-color--find-face): New function.
1787         (ansi-color-apply, ansi-color-apply-on-region): Use it.
1788         Rename the local variable `face' to `codes' since it is now a list of
1789         ansi codes.  Doc fix.
1790         (ansi-color-get-face): Remove.
1791         (ansi-color-parse-sequence): New function, derived from
1792         ansi-color-get-face.
1793         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
1794         codes 22-27.
1796 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1798         * subr.el (read-passwd): Allow use from a minibuffer.
1800 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
1802         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1803         inside comments and strings as identifiers.
1805         * progmodes/gud.el (gud-tooltip-print-command): Quote the
1806         expression to evaluate.  This allows to evaluate expressions with
1807         embedded whitespace.
1808         (gud-tooltip-tips): Add a blank before the newline in the
1809         message-box text, for the benefit of message-box emulation on
1810         MS-Windows.
1812         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1813         messages from GDB, pop them up in a tooltip to give feedback to
1814         user.
1815         (gdb-tooltip-print-1): Quote the expression to evaluate.
1816         This allows to evaluate expressions with embedded whitespace.
1817         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1818         if the TTY name is nil or empty (which happens when communicating
1819         with the inferior via pipes, e.g. on MS-Windows).
1820         (gdb-internals): If GDB sends a "&\n" empty debugging message,
1821         don't send that to the GUD buffer.
1823 2012-08-14  Glenn Morris  <rgm@gnu.org>
1825         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1826         Optimize away setq-default with no args, as for setq.  (Bug#12195)
1828 2012-08-14  Chong Yidong  <cyd@gnu.org>
1830         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1832         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1833         (Bug#12085).
1835 2012-08-14  Glenn Morris  <rgm@gnu.org>
1837         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1839 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
1841         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1842         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1843         Use cached shell name.
1845 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
1847         * progmodes/python.el (python-shell-send-string):
1848         (python-shell-send-setup-code): Do not use `format' with `message'.
1850 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
1852         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1853         (ruby-percent-literal-beg-re): New constant.
1854         (ruby-syntax-general-delimiters-goto-beg): Rename to
1855         `ruby-syntax-enclosing-percent-literal', improve literal type check.
1856         (ruby-syntax-propertize-general-delimiters): Rename to
1857         `ruby-syntax-propertize-percent-literal', it's a shorter and more
1858         popular term.  Adjust comments everywhere.
1859         (ruby-syntax-propertize-percent-literal): Only propertize when not
1860         inside a simple string or comment.  When the literal is unclosed,
1861         leave the text after it unpropertized.
1862         (ruby-syntax-methods-before-regexp): New constant.
1863         (ruby-syntax-propertize-function): Use it to recognize regexps.
1864         Don't look at the text after regexp, just use the whitelist.
1866 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
1868         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1869         non-nil always load the compiled file if it exists.  (Bug#12197)
1871 2012-08-14  Chong Yidong  <cyd@gnu.org>
1873         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1874         (hi-lock-set-pattern): When deciding whether to use font lock or
1875         overlays, look at font-lock-mode instead of font-lock-fontified
1876         (Bug#12168).
1877         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1878         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1880 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
1882         * subr.el (internal--after-with-selected-window): Fix typo
1883         (Bug#12193).
1885 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
1887         Use `completion-table-dynamic' for completion functions.
1888         * progmodes/python.el
1889         (python-shell-completion--do-completion-at-point)
1890         (python-shell-completion--get-completions):
1891         Remove functions.
1892         (python-shell-completion-complete-at-point): New function.
1893         (python-completion-complete-at-point): Use it.
1895 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
1897         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1898         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1900 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1902         * subr.el (function-get): Refine `autoload' arg so it can also
1903         autoload functions for gv.el (bug#12191).
1904         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1905         autoloads macros.
1907         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1908         Prefer pcase-let over destructuring-bind.
1909         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1910         Also, remove whitespace as we go, rather than after accumulating the
1911         various places.
1913         * subr.el (internal--before-with-selected-window)
1914         (internal--after-with-selected-window): Fix typo seleted->selected.
1915         (with-selected-window): Adjust callers.
1916         Reported by Dmitry Gutov <dgutov@yandex.ru>.
1918 2012-08-13  Bastien Guerry  <bzg@gnu.org>
1920         * window.el (special-display-popup-frame): Minor docstring
1921         enhancement.  (Bug#12172)
1923 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
1925         * tar-mode.el (tar-header-data-end): Only ignore size for files of
1926         type 1-6.
1927         (tar-header-block-summarize, tar-get-descriptor): Handle pax
1928         extended headers.
1930         * files.el (hack-local-variables-filter): Remove useless eval.
1932 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
1934         * subr.el (with-selected-window): Fix last change.
1936 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1938         * subr.el (internal--before-with-seleted-window)
1939         (internal--after-with-seleted-window): New functions.
1940         (with-selected-window): Use them, to replace dependency on
1941         tty-top-frame.
1943 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1945         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1946         binding for `newline'.
1947         (ruby-move-to-block): When moving backward, stop at block opening,
1948         not indentation.
1949         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1950         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1951         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1952         `ruby-toggle-block'.
1954 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1956         * ibuffer.el (ibuffer-do-toggle-read-only):
1957         * dired.el (dired-toggle-read-only):
1958         * buff-menu.el (Buffer-menu-toggle-read-only):
1959         * bindings.el (mode-line-toggle-read-only):
1960         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1962 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
1964         * descr-text.el (describe-char): Put the overlays over the
1965         "displayed as" character.
1967 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
1969         * calc/calc-units.el (math-default-units-table): Give an
1970         initial value.
1971         (math-put-default-units): Add options to put composite units and
1972         unit systems in the default units table.
1973         (calc-convert-units): Send composite units to
1974         `math-put-default-units' when appropriate.
1976 2012-08-11  Glenn Morris  <rgm@gnu.org>
1978         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1980         * tutorial.el (help-with-tutorial):
1981         * emacs-lisp/copyright.el (copyright-update-directory):
1982         * emacs-lisp/autoload.el (autoload-find-generated-file)
1983         (autoload-find-file): Disable local eval: (for insurance).
1985         * files.el (hack-local-variables-filter): If an eval: form is not
1986         known to be safe, and enable-local-variables is :safe, then ignore
1987         the form totally, as is done for non-eval forms.  (Bug#12155)
1988         This is CVE-2012-3479.
1990 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1992         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1993         (rx-form): Simplify.
1995 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
1997         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1998         ?, _, and : are symbol constituents, ! is not (but kinda should be).
1999         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2000         (ruby-syntax-propertize-function): Adjust for changes in
2001         `ruby-syntax-propertize-heredoc'.
2003 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
2005         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2006         binding (use `M-;' instead).
2007         (ruby-singleton-class-p): New function.
2008         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2010 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2012         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2014 2012-08-10  Chong Yidong  <cyd@gnu.org>
2016         * progmodes/python.el (python-shell-get-process-name): Don't mess
2017         with same-window-buffer-names.
2019         * eshell/eshell.el (eshell-add-to-window-buffer-names)
2020         (eshell-remove-from-window-buffer-names): Make obsolete.
2021         (eshell-buffer-name, eshell-unload-hook): Don't use them.
2022         (eshell): Just use pop-to-buffer-same-window instead.
2024 2012-08-10  Chong Yidong  <cyd@gnu.org>
2026         * bindings.el: Bind M-= back to count-words-region.
2028         * simple.el (count-words-region): Accept a prefix arg for acting
2029         on the entire buffer.
2030         (count-words--buffer-message): New helper function.
2032 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2034         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2035         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2036         (event-start, event-end): Use posn-at-point to return a more
2037         informative posn.
2038         (posnp): New function.
2039         * mouse.el (popup-menu-normalize-position): Use it.
2041 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
2043         * mouse.el (popup-menu-normalize-position): New function.
2044         (popup-menu): Use `popup-menu-normalize-position' to normalize
2045         the form for POSITION argument.
2047         * term/x-win.el (x-menu-bar-open):
2048         Use the value returend from (posn-at-point) as position
2049         passed to `popup-menu'.
2051 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
2053         * calc/calccomp.el (math-compose-expr): Add extra argument
2054         indicating that parentheses should be put around products in
2055         denominators.  Give multiplication precedence over division during
2056         composition.
2058 2012-08-09  Chong Yidong  <cyd@gnu.org>
2060         * man.el (Man-switches, Man-sed-command, Man-awk-command)
2061         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2062         (Man-untabify-command, manual-program): Convert to defcustom
2063         (Bug#10429).
2065         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2067         * descr-text.el (describe-char): Don't insert extra newlines
2068         (Bug#10127).
2070         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2071         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2073         * align.el (align-region): Delete temporary markers (Bug#10047).
2074         Plus some code cleanups.
2076 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
2078         * progmodes/python.el (python-pdbtrack-tracked-buffer)
2079         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2080         (python-shell-internal-last-output): Use make-local-variable
2081         instead of make-variable-buffer-local.
2083 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
2085         * progmodes/python.el: Enhancements to forward-sexp.
2086         (python-nav-forward-sexp): Rename from
2087         python-nav-forward-sexp-function.
2088         (python-nav--forward-sexp, python-nav--backward-sexp):
2089         New functions.
2091 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
2093         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2094         modes and simplification modes.
2096 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2098         * delsel.el (delete-selection-pre-hook): Don't propagate the
2099         file-supersession signals (bug#12161).
2101 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2103         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2104         (cl-map-extents): Add compatibility aliases (bug#12135).
2106 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
2108         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2109         tests by `ignore-error'.
2110         (tramp-find-shell): Open also a new shell, when cache is already
2111         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
2113 2012-08-08  Juri Linkov  <juri@jurta.org>
2115         * bookmark.el: Add `defaults' property to the bookmark record.
2116         (bookmark-current-buffer): Doc fix.
2117         (bookmark-make-record): Add `defaults' property with default values
2118         to the bookmark record.
2119         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2120         with `bookmark-insert-current-bookmark'.
2121         (bookmark-set): Get `defaults' property from the bookmark record
2122         and use it in `read-from-minibuffer'.
2123         (bookmark-insert-current-bookmark): Remove function.
2125         * info.el (Info-bookmark-make-record): Add `defaults' property
2126         with values of canonical Info node name, the current Info file
2127         name and the current Info node name.  (Bug#12107)
2129 2012-08-08  Juri Linkov  <juri@jurta.org>
2131         * files.el (basic-save-buffer): Use `buffer-name' as the default
2132         of `read-file-name' when buffer is not visiting a file (bug#12128).
2134 2012-08-08  Juri Linkov  <juri@jurta.org>
2136         * info.el (Info-isearch-search): Doc fix.
2137         (Info-search): Change search-failed message from "initial node" to
2138         "end of node" (bug#12078).
2139         (Info-isearch-search): Change `isearch-string-state' to
2140         `isearch--state-string'.
2142 2012-08-08  Glenn Morris  <rgm@gnu.org>
2144         * language/persian.el: Remove file.
2145         * language/misc-lang.el: Move unique part of persian.el here.
2146         * loadup.el: Remove language/persian.
2148 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
2150         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2152 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
2154         * progmodes/python.el Fixed defsubst warning.
2155         (python-syntax-context) Rename from python-info-ppss-context.
2156         (python-syntax-context-type): Rename from
2157         python-info-ppss-context-type.
2158         (python-syntax-comment-or-string-p): Rename from
2159         python-info-ppss-comment-or-string-p.
2161 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
2163         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2165 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
2167         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2168         a defcustom that is quoted with backquote.
2170         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2171         Fix handling of interactive spec when the body uses return.
2172         (math-do-arg-check, math-define-function-body): Use backquote forms.
2173         * calc/calc-ext.el (math-defcache): Likewise.
2174         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2175         * allout.el (allout-new-exposure): Likewise.
2176         * calc/calcalg2.el (math-tracing-integral): Likewise.
2177         * info.el (Info-last-menu-item): Likewise.
2178         * emulation/vip.el (vip-loop): Likewise.
2179         * textmodes/artist.el (artist-funcall): Likewise.
2180         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2181         Construct menu-item directly.
2183         * progmodes/autoconf.el (font-lock-syntactic-keywords):
2184         Don't declare.
2186 2012-08-07  Chong Yidong  <cyd@gnu.org>
2188         * simple.el (deactivate-mark): Preserve text properties when
2189         saving the primary selection (Bug#8384).
2191 2012-08-07  Kevin Ryde  <user42@zip.com.au>
2193         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2194         (woman-parse-numeric-value): On a bad .IP line, issue a warning
2195         and continue processing (Bug#12110).
2197 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2199         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2200         syntax-propertize-function (bug#10095).
2202 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2204         * help-fns.el (help-fns--key-bindings, help-fns--signature)
2205         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2206         describe-function-1.
2207         (describe-function-1): Use them.  Move compiler macro after sig.
2208         (help-fns--compiler-macro): Use function-get.  Assume we're already in
2209         standard-output.  Adjust layout to new call order.
2211         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2212         re-binding a symbol that has a symbol-macro (bug#12119).
2214 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
2216         * language/persian.el: New file.  (Bug#11812)
2217         * loadup.el: Add language/persian.el.
2219 2012-08-06  Chong Yidong  <cyd@gnu.org>
2221         * window.el (window--maybe-raise-frame): New function.
2222         (window--display-buffer): Split off from here.
2223         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2224         (display-buffer-pop-up-window, display-buffer-use-some-window):
2225         Obey an inhibit-switch-frame action alist entry.
2226         (display-buffer): Update doc.
2228         * replace.el (occur-after-change-function): Avoid losing focus by
2229         using the inhibit-switch-frame display parameter (Bug#12139).
2231 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
2233         Make internal shell process buffer names start with space.
2234         * progmodes/python.el (python-shell-make-comint): Add optional
2235         argument INTERNAL.
2236         (run-python-internal): Use it.
2237         (python-shell-internal-get-or-create-process): Check for new
2238         internal buffer names.
2240 2012-08-06  Glenn Morris  <rgm@gnu.org>
2242         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2243         Do less getting and setting of environment variables.
2245 2012-08-05  Chong Yidong  <cyd@gnu.org>
2247         * proced.el (proced): Add substitution string to docstring to
2248         trigger autoloading of the proced library on C-h f (Bug#1768).
2250         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2251         Don't show defvars which have no second argument (Bug#8638).
2253         * imenu.el (imenu-generic-expression): Move documentation here
2254         from imenu--generic-function.
2255         (imenu--generic-function): Refer to imenu-generic-expression.
2257 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
2259         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2260         indentation declaration.
2261         (viper-loop): Add indentation declaration (Bug#7025).
2263 2012-08-05  Chong Yidong  <cyd@gnu.org>
2265         * help-fns.el (describe-variable): Add hyperlink for
2266         directory-local variables files.  Improve buffer-local and
2267         permanent-local reporting; suggested by MON KEY (Bug#6644).
2269         * help-mode.el (help-dir-local-var-def): New button type.
2271         * files.el (kill-buffer-hook): Provide a defvar.
2273 2012-08-05  Glenn Morris  <rgm@gnu.org>
2275         * eshell/esh-ext.el (eshell/addpath):
2276         Also update eshell-path-env.  (Bug#12013)
2278 2012-08-05  Chong Yidong  <cyd@gnu.org>
2280         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2282         * fringe.el (fringe-styles): Add docstring.
2283         (fringe--check-mode): New function.
2284         (set-fringe-mode, set-fringe-style): Use it.
2285         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2287         * files.el (set-auto-mode): Fix invalid setq call.
2289 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2291         * isearch.el: Misc simplification; use defstruct.
2292         (isearch-mode-map): Dense maps now work like sparse ones.
2293         (isearch--state): New defstruct.
2294         (isearch-string-state, isearch-message-state, isearch-point-state)
2295         (isearch-success-state, isearch-forward-state)
2296         (isearch-other-end-state, isearch-word-state, isearch-error-state)
2297         (isearch-wrapped-state, isearch-barrier-state)
2298         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2299         replaced by defstruct's accessors.
2300         (isearch--set-state): Rename from isearch-top-state and change
2301         calling convention.
2302         (isearch-push-state): Use new isearch--get-state.
2303         (isearch-toggle-word): Disable regexp when enabling word.
2304         (isearch-message-prefix): Remove unused arg _c-q-hack.
2305         (isearch-message-suffix): Remove unused arg _ellipsis.
2307 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
2309         * simple.el (list-processes--refresh): For a server use :host or
2310         :local as the address.
2311         (list-processes): Doc fix.
2313 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
2315         * lisp/mpc.el: Support password in host argument.
2316         (mpc--proc-connect): Parse and use new password element.
2317         Set mpc-proc variable instead of returning process.
2318         (mpc-proc): Adjust accordingly.
2320 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
2322         * whitespace.el (whitespace-display-mappings): Use Unicode
2323         codepoints, instead of emacs-mule codepoints.  See
2324         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2325         for the details.
2327         * files.el (file-truename): Don't skip symlink-chasing part on
2328         windows-nt.  Incorporate the resolution of 8+3 short aliases on
2329         Windows into the loop that recursively chases symlinks.
2330         Compare directory and its parent case-insensitively on MS-Windows and
2331         MS-DOS.
2333 2012-08-03  Chong Yidong  <cyd@gnu.org>
2335         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2337         * sort.el (sort-regexp-fields): Doc fix.
2339 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
2341         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2342         labels regex position point at the expected place.
2344 2012-08-03  MON KEY  <monkey@sandpframing.com>
2346         * net/imap.el (imap-interactive-login, imap-authenticate)
2347         (imap-mailbox-lsub, imap-mailbox-list)
2348         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2349         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2350         (imap-parse-response): Doc fix.
2352 2012-08-03  João Távora  <joaotavora@gmail.com>
2354         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2355         if sexp scanning does not move point (Bug#5734).
2357 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
2359         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2360         Add listings, minted, and ctable packages.
2361         (reftex-label-alist-builtin): Move listings, minted, and ctable
2362         entries before LaTeX.
2363         (reftex-label-alist): Docfix.
2365 2012-08-02  Bastien Guerry  <bzg@gnu.org>
2367         * replace.el (occur): Fix docstring (bug#12122).
2369 2012-08-02  Glenn Morris  <rgm@gnu.org>
2371         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2373 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
2375         Obsolete alias inactivate-current-input-method-function (Bug#10150).
2376         * international/mule-cmds.el: Create
2377         inactivate-current-input-method-function as an obsolete alias for
2378         deactivate-current-input-method-function.  See Katsumi Yamaoka in
2379         <http://bugs.gnu.org/10150#46>.
2381 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
2383         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2384         of nested `if's.
2386 2012-08-01  Glenn Morris  <rgm@gnu.org>
2388         * progmodes/autoconf.el (autoconf-definition-regexp):
2389         Add AH_TEMPLATE, adjust submatch numbering.
2390         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2391         (autoconf-current-defun-function): Update for above change.
2392         (autoconf-current-defun-function): First skip to end of current word.
2394 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
2396         * calendar/cal-html.el (cal-html-insert-agenda-days):
2397         Fix typo.  (Bug#12018)
2399 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
2401         Shell processes: enhancements to startup and CEDET compatibility.
2402         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2403         (python-shell-make-comint): accept-process-output at startup.
2404         (run-python-internal): Set inferior-python-mode-hook to nil.
2405         (python-shell-internal-get-or-create-process): call sit-for.
2406         (python-preoutput-result): Add obsolete alias.
2407         (python-shell-internal-send-string): Use it.
2408         (python-shell-send-setup-code): Remove call to
2409         accept-process-output.
2411 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
2413         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2414         (Bug#12108)
2416 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
2418         * calc-mode.el (calc-basic-simplification-mode): Rename from
2419         `calc-limited-simplification-mode'.
2420         (calc-alg-simplification-mode): New function.
2421         (calc-set-simplify-mode): Adjust message.
2423         * calc.el (calc-set-mode-line): Adjust mode line display for
2424         basic simplification mode.
2426         * calc-help.el (calc-m-prefix-help): Update help message.
2428         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2429         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2431 2012-07-31  Bastien Guerry  <bzg@gnu.org>
2433         * man.el (man): Fix comment.  (bug#12101)
2435 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
2437         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2438         Don't return a non-nil value when no suitable buffer was found.
2440 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
2442         * progmodes/python.el (run-python-internal): Disable font lock for
2443         internal shells.
2445 2012-07-30  Stefan Merten  <smerten@oekonux.de>
2447         * textmodes/rst.el: Silence `checkdoc-ispell'.
2448         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2449         (rst-official-version, rst-official-cvs-rev)
2450         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2451         (rst-mode-map): New key binding.
2453 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
2455         Update .PHONY listings in makefiles.
2456         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2457         autoloads, update-subdirs, updates, bzr-update, update-authors,
2458         compile-onefile, compile-calc, backup-compiled-files,
2459         compile-after-backup, compile-one-process, mh-autoloads,
2460         bootstrap-clean, distclean, maintainer-clean.
2462 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
2464         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2465         (calc-set-mode-line): Don't display "AlgSimp ".
2467         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2468         (calc-lim-simplify-mode): New function.
2469         (calc-set-simplify-mode): Default to 'alg.
2470         (calc-default-simplify-mode): Make algebraic simplifications
2471         the default.
2473         * calc/calc-ext.el (calc-init-extensions): Remove binding for
2474         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
2476         * calc/calc-help.el (calc-m-prefix-help): Change messages to
2477         indicate new simplification modes.
2479         * calc/README: Mention new default simplification mode.
2481         * calc/calc.el (math-normalize-error): New variable.
2482         (math-normalize): Set `math-normalize-error' to t
2483         when there's an error.
2485         * calc/calc-alg.el (math-simplify): Don't simplify when
2486         `math-normalize' returns an error.
2488 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
2490         * international/mule-cmds.el (set-locale-environment): Revert last
2491         change, since display-graphic-p returns nil when this function is
2492         called during startup.  Instead...
2494         * term/w32console.el (terminal-init-w32console): ...setup the
2495         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
2497 2012-07-29  Juri Linkov  <juri@jurta.org>
2499         * simple.el (goto-line): Don't display default line number in the
2500         prompt because it should be displayed by `read-number' (bug#9952).
2501         Add the current line number to the defaults of `goto-line' to
2502         allow its easier modification by users with `M-n' (bug#9201).
2504         * subr.el (read-number): Support multiple default values like in
2505         other minibuffer reading functions.  Replace `read' with
2506         `string-to-number' for consistency with `number-to-string'.
2508 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
2510         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2511         * emulation/viper-init.el (viper-deactivate-input-method-action):
2512         Rename from viper-inactivate-input-method-action.
2513         (viper-deactivate-input-method):
2514         Rename from viper-inactivate-input-method.
2515         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2516         * international/mule-cmds.el (deactivate-input-method):
2517         Rename from inactivate-input-method.
2518         Also run input-method-deactivate-hook.
2519         (deactivate-current-input-method-function):
2520         Rename from inactivate-current-input-method-function.
2521         (input-method-deactivate-hook): New hook.
2522         (input-method-inactivate-hook): Mark obsolete.
2523         (inactivate-input-method): Mark obsolete.
2525         * international/quail.el (quail-activate):
2526         Also run quail-deactivate-hook.
2527         (quail-deactivate): Rename from quail-inactivate.
2528         * international/robin.el (robin-activate):
2529         Also run robin-deactivate-hook.
2530         (robin-deactivate): Rename from robin-inactivate.
2532 2012-07-29  Chong Yidong  <cyd@gnu.org>
2534         * simple.el (indicate-copied-region): New function.
2535         (kill-ring-save): Split off from here.
2537         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2538         (kill-rectangle): Set deactivate-mark to t on read-only error.
2540         * register.el (copy-to-register, copy-rectangle-to-register):
2541         Deactivate the mark, and use indicate-copied-region (Bug#10056).
2542         (append-to-register, prepend-to-register):
2543         Call 2012-07-29  Juri Linkov  <juri@jurta.org>
2545         * simple.el (async-shell-command-buffer): New defcustom.
2546         (shell-command): Use it.  (Bug#4719)
2548 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
2550         * international/mule-cmds.el (set-locale-environment): In a
2551         console session on MS-Windows, set up keyboard and terminal
2552         encoding from the OEM codepage, not the ANSI codepage.
2553         (Bug#12055)
2555 2012-07-28  Chong Yidong  <cyd@gnu.org>
2557         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2558         gdb-get-location.
2560 2012-07-28  Leo Liu  <sdl.web@gmail.com>
2562         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2563         the alist (bug#12029).
2565 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
2567         * makefile.w32-in (custom-deps, finder-data, updates, compile)
2568         (compile-always, compile-first)
2569         ($(lisp)/calendar/cal-loaddefs.el)
2570         ($(lisp)/calendar/diary-loaddefs.el)
2571         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2572         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2573         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2574         instead of on update-subdirs.
2575         (bootstrap-clean): Delete $(lisp)/subdirs.el.
2577 2012-07-28  Chong Yidong  <cyd@gnu.org>
2579         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2580         directory if vc-deduce-backend returns nil (Bug#7350).
2582         * simple.el (delete-trailing-lines): New option.
2583         (delete-trailing-whitespace): Obey it (Bug#11879).
2585 2012-07-28  David Engster  <deng@randomsample.de>
2587         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2588         Explanation of new 'symbol-qnames feature in doc-strings.
2589         (xml-maybe-do-ns): Return expanded names as plain symbols if
2590         'symbol-qnames was provided in XML-NS argument (Bug#11916).
2591         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2593 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
2595         Consistent completion in inferior python with emacs -nw.
2596         * progmodes/python.el (inferior-python-mode): replace "<tab>"
2597         binding in inferior-python-mode-map with "\t".
2598         (python-shell-completion-complete-at-point)
2599         (python-completion-complete-at-point): Remove interactive spec.
2601 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
2603         * calc/calccomp.el (math-compose-expr): Undo previous change.
2605 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
2607         * progmodes/python.el (python-mode-map): Add keybinding for
2608         run-python.
2609         (python-shell-make-comint): Fix pop-to-buffer call.
2610         (run-python): Autoload.  New arg SHOW.
2611         (python-shell-get-or-create-process): Do not pop python process
2612         buffer.
2614 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
2616         * notifications.el (notifications-on-action-signal)
2617         (notifications-on-closed-signal): Use also the bus address for the map.
2618         (notifications-notify, notifications-close-notification)
2619         (notifications-get-capabilities): Add optional argument BUS.
2621 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
2623         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2624         Add support for the lstlisting and minted environments, and for the
2625         ctable macro.
2626         * textmodes/reftex.el (reftex-compile-variables): Also recognize
2627         labels written in keyvals syntax.
2629 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
2631         * calc/calccomp.el (math-compose-expr): Use parentheses when
2632         there is a product in the denominator of a fraction.
2634 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
2636         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2637         ($(lisp)/calendar/diary-loaddefs.el)
2638         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2639         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2640         Fixes failures in parallel bootstrap because subdirs.el is being
2641         rewritten while the autoload files are built at the same time,
2642         which needs to load subdirs.el.
2644 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
2646         * mouse.el (popup-menu): Fix doc-string and re-indent code.
2647         (mouse-drag-line): Don't exit tracking when a switch-frame or
2648         switch-window event occurs (Bug#12006).
2650 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2652         * mouse.el (popup-menu): Fix last change.
2654 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2656         Autoload from Lisp with more care.  Follow aliases when looking for
2657         function properties.
2658         * subr.el (autoloadp): New function.
2659         (symbol-file): Use it.
2660         (function-get): New function.
2661         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2662         autoload-do-load.
2663         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2664         (lisp-indent-function):
2665         * emacs-lisp/gv.el (gv-get):
2666         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2667         * emacs-lisp/byte-opt.el (byte-optimize-form):
2668         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2669         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2670         Use function-get.
2671         * emacs-lisp/cl.el: Don't propagate function properties any more.
2673         * speedbar.el (speedbar-add-localized-speedbar-support):
2674         * emacs-lisp/disass.el (disassemble-internal):
2675         * desktop.el (desktop-load-file):
2676         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2677         (describe-function-1):
2678         * emacs-lisp/find-func.el (find-function-noselect):
2679         * emacs-lisp/elp.el (elp-instrument-function):
2680         * emacs-lisp/advice.el (ad-has-proper-definition):
2681         * apropos.el (apropos-safe-documentation, apropos-macrop):
2682         * emacs-lisp/debug.el (debug-on-entry):
2683         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2684         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2685         * calc/calc.el (name): Use autoloadp & autoload-do-load.
2687 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
2689         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2690         function, not an obsolete variable (Bug#12046).
2692 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
2694         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
2696 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
2698         * emacs-lisp/pp.el (pp-display-expression): Select old selected
2699         window only if it is still live (Bug#12034).
2701 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
2703         * subr.el (redirect-frame-focus): Add advertised calling
2704         convention (Bug#12030).
2706 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
2708         Prefer typical American spelling for "acknowledgment".
2709         * vc/add-log.el (change-log-acknowledgment): Rename from
2710         change-log-acknowledgement, with an alias for the old name.
2712 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
2714         * calc-alg.el (math-simplify-divide): Don't cross multiply
2715         in an equation when the lhs is a variable.
2717 2012-07-24  Julien Danjou  <julien@danjou.info>
2719         * net/netrc.el (netrc-find-service-number, netrc-store-data):
2720         Remove, unused.
2722 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
2724         * startup.el (command-line): Don't display an empty user name in
2725         the error message about non-existent home directory, when
2726         init-file-user was set to an empty string.  See
2727         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2728         for the details and context.
2730 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2732         * ses.el (ses-cell-formula-aset): New macro.
2733         (ses-cell-references-aset): New macro.
2734         (ses-cell-p): New function.
2735         (ses-rename-cell): Do no longer rely on complex operations like
2736         ses-cell-set-formula or ses-set-cell to change the cell and handle
2737         the undo at the same time, but rather use lower level new macros
2738         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2739         the undo directly.  Refresh the mode line.
2741 2012-07-21  Leo Liu  <sdl.web@gmail.com>
2743         * progmodes/cc-cmds.el (c-defun-name):
2744         Use match-string-no-properties instead for consistency.
2746 2012-07-20  Leo Liu  <sdl.web@gmail.com>
2748         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2749         (Bug#7879)
2751         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2753 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2755         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2756         * progmodes/bug-reference.el, misearch.el: Provide themselves
2757         (bug#11915).
2759         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2760         of narrowed buffer (bug#11966).
2762 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2764         * ses.el (ses-rename-cell): Set new name also in reference list of
2765         cells of which the renamed cell depends.
2767 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
2769         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2770         to check whether menu-bar is shown or not.  If not shown,
2771         show the menu-bar as a popup menu instead of using tmm.
2772         * mouse.el (popup-menu): Accept `point' as `position' argument.
2774 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
2776         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2777         up inside string symbol literal (bug#11923).
2779 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
2781         * startup.el (fancy-startup-text): Read the whole tutorial, not
2782         just its first 256 bytes.  Prevents gibberish in display of the
2783         tutorial title.
2785 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
2787         Drop idle buffer compaction due to an absence of the
2788         proved efficiency.
2789         * compact.el: Remove.
2791 2012-07-19  Sam Steingold  <sds@gnu.org>
2793         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2794         vc-bzr-pull & vc-bzr-merge-branch.
2795         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2796         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2797         for consistency with compilation-error-regexp-alist.
2798         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2799         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2800         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2801         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2803 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2805         * emacs-lisp/chart.el: Use lexical-binding.
2806         (chart-emacs-storage): Don't hardcode the list of entries.
2808 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
2810         Next round of tweaks caused by Fgarbage_collect changes.
2811         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2813 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
2815         Compact buffers when idle.
2816         * compact.el: New file.
2818 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2820         * subr.el (eventp): Presume that if it looks vaguely like an event,
2821         it's an event (bug#10190).
2823 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
2825         Enhancements to ppss related code (thanks Stefan).
2826         * progmodes/python.el (python-indent-context)
2827         (python-indent-calculate-indentation, python-indent-dedent-line)
2828         (python-indent-electric-colon, python-nav-forward-block)
2829         (python-mode-abbrev-table)
2830         (python-info-assignment-continuation-line-p): Simplify checks
2831         for ppss context.
2832         (python-info-continuation-line-p): Cleanup.
2833         (python-info-ppss-context): Do not catch 'quote.
2834         (python-info-ppss-context-type)
2835         (python-info-ppss-comment-or-string-p): Simplify.
2837 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
2839         * progmodes/python.el: Enhancements to eldoc support.
2840         (python-info-current-symbol): New function.
2841         (python-eldoc-at-point): Use python-info-current-symbol.
2842         (python-info-current-defun): Fix cornercase on first defun scan.
2843         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2844         and signal error when no inferior python process is available.
2846 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
2848         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2849         assume it's always t.
2850         (vc-git-registered): Remove caching, the function is only called
2851         once.
2852         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2854 2012-07-18  Chong Yidong  <cyd@gnu.org>
2856         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2858         * simple.el (count-words): Report on narrowing (Bug#9959).
2860         * bindings.el: Bind M-= to count-words.
2862         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2864 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
2866         * progmodes/sh-script.el (sh-imenu-generic-expression):
2867         Capture a function with `function' keyword and without parentheses
2868         like "function FOO" (bug#11856).
2870 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
2872         * window.el (split-window-sensibly): Make WINDOW argument
2873         optional.
2875 2012-07-18  Chong Yidong  <cyd@gnu.org>
2877         * subr.el (keyboard-translate): Doc fix (Bug#7261).
2879         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2880         and make C-x 8 RET exit isearch (Bug#11439).
2882         * international/iso-transl.el: Move isearch-mode-map key
2883         definitions to isearch.el.
2885 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2887         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2888         (eieio-defclass): Use gv-define-setter when possible.
2890 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
2892         Reflect recent changes in Fgarbage_collect.
2893         * emacs-lisp/chart.el (chart-emacs-storage): Change to
2894         reflect new format of data returned by Fgarbage_collect.
2896 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2898         New utility functions + python-info-ppss-context fix (Bug#11910).
2899         * progmodes/python.el (python-info-beginning-of-block-statement-p)
2900         (python-info-ppss-comment-or-string-p): New functions.
2901         (python-info-ppss-context): Small fix for string check.
2903 2012-07-17  Juri Linkov  <juri@jurta.org>
2905         * dired-aux.el (dired-do-async-shell-command): Doc fix.
2906         (dired-do-async-shell-command): Don't add `*' at the end of the
2907         command (Bug#11815).
2908         (dired-do-shell-command): Doc fix.
2909         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2910         Join the individual commands using either "&" or ";" as the
2911         separator depending on the values of these trailing characters.
2912         At the end re-add the trailing "&".  (Bug#10598)
2914         * simple.el (async-shell-command): Sync the interactive spec with
2915         `shell-command'.  Doc fix.
2916         (shell-command): Doc fix.
2918 2012-07-17  Juri Linkov  <juri@jurta.org>
2920         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
2922 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2924         Final renames and doc fixes for movement commands (bug#11899).
2925         * progmodes/python.el (python-nav-beginning-of-statement):
2926         Rename from python-nav-statement-start.
2927         (python-nav-end-of-statement): Rename from
2928         python-nav-statement-end.
2929         (python-nav-beginning-of-block): Rename from
2930         python-nav-block-start.
2931         (python-nav-end-of-block): Rename from python-nav-block-end.
2933 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2935         * progmodes/python.el (python-shell-send-string-no-output):
2936         Allow accept-process-output to quit, keeping shell process ready for
2937         future interactions (Bug#11868).
2939 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2941         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2943         * emacs-lisp/elint.el (elint-find-args-in-code):
2944         Use help-function-arglist, so as to handle lexical byte-code.
2946         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2947         change (bug#11826).
2949 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2951         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2952         Avoid spuriously marking the buffer as modified because of c-is-sws.
2954         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2955         as not-a-comment (bug#11946).
2957         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2958         for uninterned vars.
2960         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2961         Use read-event since we don't really want to read chars but bytes.
2963         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2964         $$..$$ but also $..$ using regexps (bug#11953).
2965         Use tex-verbatim for \url and \path.
2966         (tex-font-lock-keywords): Define as defconst like the others.
2967         (tex-common-initialization): Don't use font-lock-syntax-table any more.
2969 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
2971         * international/mule-cmds.el (ucs-insert): Make it an obsolete
2972         alias for insert-char.
2974 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
2976         * progmodes/python.el: Simplified imenu implementation.
2977         (python-nav-jump-to-defun): Remove command.
2978         (python-mode-map): Use `imenu' instead.
2979         (python-nav-list-defun-positions-cache)
2980         (python-imenu-include-defun-type, python-imenu-make-tree)
2981         (python-imenu-subtree-root-label, python-imenu-index-alist):
2982         Remove vars.
2983         (python-nav-list-defun-positions, python-nav-read-defun)
2984         (python-imenu-tree-assoc, python-imenu-make-element-tree)
2985         (python-imenu-make-tree, python-imenu-create-index):
2986         Remove functions.
2987         (python-mode): Update to interact with imenu by setting
2988         `imenu-extract-index-name-function' only.
2990 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
2992         * progmodes/python.el: Enhancements to navigation commands.
2993         (python-nav-backward-sentence)
2994         (python-nav-forward-sentence): Remove.
2995         (python-nav-backward-statement, python-nav-forward-statement)
2996         (python-nav-statement-start, python-nav-statement-end)
2997         (python-nav-backward-block, python-nav-forward-block)
2998         (python-nav-block-start, python-nav-block-end)
2999         (python-nav-forward-sexp-function)
3000         (python-info-current-line-comment-p)
3001         (python-info-current-line-empty-p): New functions.
3002         (python-indent-context): Use `python-nav-statement-start'.
3004 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
3006         * eshell/em-ls.el (eshell/ls): Use `apply'.
3008         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3009         multi-hops, instead of Tramp internals.
3011         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3013         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3014         when F1 and F2 are located on different hosts.
3016 2012-07-14  Chong Yidong  <cyd@gnu.org>
3018         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3019         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3020         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3021         (xterm-mouse--read-event-sequence-1000)
3022         (xterm-mouse--read-event-sequence-1006): New functions.  For old
3023         mouse protocol, handle M-mouse-X events correctly.
3024         (xterm-mouse-event): New arg specifying mouse protocol.
3025         (turn-on-xterm-mouse-tracking-on-terminal)
3026         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3027         sequence to toggle extended coordinates on newer XTerms.
3028         This appears to be harmless on terminals which do not support this.
3030 2012-07-14  Leo Liu  <sdl.web@gmail.com>
3032         Add fringe bitmap indicators for flymake.  (Bug#11253)
3033         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3034         (flymake-make-overlay): New arg BITMAP.
3035         (flymake-error-bitmap, flymake-warning-bitmap)
3036         (flymake-fringe-indicator-position): New user variables.
3038         * fringe.el: New bitmap exclamation-mark.
3040 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
3042         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3043         also (Bug#7879).
3045 2012-07-14  Chong Yidong  <cyd@gnu.org>
3047         * electric.el (electric-pair-post-self-insert-function): Fix pair
3048         insertion in empty-region case (Bug#11520).
3050 2012-07-14  Chong Yidong  <cyd@gnu.org>
3052         * bindings.el: Consolidate ctl-x-r-map bindings.
3053         Bind copy-rectangle-as-kill to C-x r w.
3055         * rect.el, register.el: Move bindings to bindings.el.
3057 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
3059         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3061 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
3063         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
3065 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
3067         * bindings.el (top): Use `mapc' instead of `mapcar'.
3069         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3071 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
3073         * progmodes/sql.el (sql-comint): Suppress the check for program on
3074         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
3075         (Bug#11908)
3077 2012-07-13  Chong Yidong  <cyd@gnu.org>
3079         * bindings.el: Assign a non-nil permanent-local property to
3080         per-buffer variables which lack a default value (Bug#11930).
3082         * help-fns.el (describe-variable): In the "automatically becomes
3083         local" notice, take note of permanent-local variables.
3085 2012-07-13  Chong Yidong  <cyd@gnu.org>
3087         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
3088         to allow printing the message when called from Lisp.
3090         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3091         Remove toggle-read-only.
3093         * bs.el (bs-toggle-readonly):
3094         * buff-menu.el (Buffer-menu-toggle-read-only):
3095         Remove with-no-warnings around toggle-read-only.
3097         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3098         Remove with-no-warnings around toggle-read-only.
3099         (ffap-read-only, ffap-read-only-other-window)
3100         (ffap-read-only-other-frame): Callers changed.
3102         * help-mode.el: Don't require view package.
3103         (help-mode-finish): Set buffer-read-only instead of calling
3104         toggle-read-only.
3106         * bindings.el (mode-line-toggle-read-only):
3107         * dired.el (dired-toggle-read-only):
3108         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3109         with non-nil second arg.
3111         * emacs-lisp/eieio-custom.el (eieio-customize-object):
3112         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3113         directly.
3115 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
3117         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3118         not incf.
3120 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3122         More CL cleanups and reduction of use of cl.el.
3123         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3124         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3125         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3126         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3127         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3128         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3129         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3130         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3131         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3132         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3133         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3134         * eshell/em-cmpl.el, eshell/em-banner.el:
3135         * calendar/parse-time.el: Use cl-lib.
3136         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3137         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3138         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3139         * term/ns-win.el, term.el, shell.el, ps-samp.el:
3140         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3141         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3142         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3143         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3144         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3145         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3146         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3147         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3148         `lambda' rather than with `quote'.
3149         (eshell-do-opt): Adjust accordingly.
3150         (eshell-process-option): Simplify.
3151         * eshell/esh-var.el:
3152         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3153         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3154         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3155         to `pcase--dontcare'.
3156         * emacs-lisp/cl.el (labels): Mark obsolete.
3157         (cl--letf, letf): Move to cl-lib.
3158         (cl--letf*, letf*): Remove.
3159         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3160         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3161         (cl-progv): Rewrite.
3162         (cl--letf, cl-letf): Move from cl.el.
3163         (cl-letf*): New macro.
3164         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3166 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
3168         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3170 2012-07-11  Chong Yidong  <cyd@gnu.org>
3172         * vc/log-edit.el (log-edit-vc-backend): New variable.
3173         (log-edit): Doc fix.
3175         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
3176         argument of log-edit to set up all local variables.
3177         (vc-start-logentry): New optional arg specifying VC backend.
3179         * vc/vc.el (vc-checkin): Use it.
3180         (vc-deduce-fileset): Handle Log Edit buffers.
3181         (vc-diff): Make first argument optional too.
3183         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3185 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
3187         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3188         command, just in case.  The function is not needed anymore.
3189         (eshell-external-command): Do not call `eshell-remote-command'.
3191 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3193         Reduce use of (require 'cl).
3194         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3195         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3196         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3197         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3198         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3199         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3200         * battery.el, avoid.el, abbrev.el: Use cl-lib.
3201         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3202         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3203         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3204         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3205         * calculator.el, autorevert.el, apropos.el: Don't require CL.
3206         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3207         (byte-compile-unfold-bcf, byte-compile-check-variable):
3208         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3209         (byte-compile-nilconstp):
3210         * emacs-lisp/autoload.el (make-autoload): Use pcase.
3211         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3213         * emacs-lisp/gv.el (cond): Make it a valid place.
3214         (if): Simplify slightly.
3216         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3217         (pcase--self-quoting-p): New function.
3218         (pcase--u1): Use it.
3220 2012-07-10  Glenn Morris  <rgm@gnu.org>
3222         * emacs-lisp/authors.el (authors-fixed-entries):
3223         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3225 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
3227         Rename configure.in to configure.ac (Bug#11603).
3228         * emacs-lisp/authors.el (authors-canonical-file-name):
3229         * progmodes/autoconf.el (autoconf-mode):
3230         Prefer configure.ac to configure.in.
3232 2012-07-08  Chong Yidong  <cyd@gnu.org>
3234         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3235         Implement the mouse-1-click-follows-link handling properly.
3237         * info.el (Info-link-keymap): Use follow-link mechanism for
3238         header-line links (Bug#374).
3240         * simple.el (deactivate-mark): Do not set the primary selection
3241         if another program has acquired it (Bug#11772).
3243 2012-07-07  Kevin Ryde  <user42@zip.com.au>
3245         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3246         (woman-decode-region): Replace escaped-escapes without destroying
3247         bold or underline (Bug#11552).
3248         (woman2-process-escapes): Handle nofill regions (Bug#11591).
3250 2012-07-07  Chong Yidong  <cyd@gnu.org>
3252         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3253         (interprogram-cut-function, interprogram-paste-function):
3254         Mention that we typically mean the clipboard.
3256 2012-07-06  Glenn Morris  <rgm@gnu.org>
3258         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
3260         * files.el (toggle-read-only): Restrict message to interactive use.
3262 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
3264         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3266         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3268 2012-07-06  Glenn Morris  <rgm@gnu.org>
3270         * Makefile.in (compile-one-process): Rename from "recompile".
3272         * Makefile.in (bzr-update): "compile" is the same as "recompile
3273         autoloads", but parallelizable, so use that instead.
3275 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
3277         * window.el (quit-window): Always restore window height when
3278         it's saved in quit-restore parameter (Bug#11810).
3280 2012-07-06  Glenn Morris  <rgm@gnu.org>
3282         * simple.el (kill-whole-line): Doc tweak.
3284 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
3286         * files.el (file-relative-name): Compare file names
3287         case-insensitively if on MS-Windows or MS-DOS, or if
3288         read-file-name-completion-ignore-case is non-nil.  Don't use
3289         case-fold-search for this purpose.  (Bug#11827)
3291 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
3293         * calendar/cal-dst.el (calendar-current-time-zone):
3294         Return calendar-current-time-zone-cache if non-nil.
3296 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
3297 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
3299         * calendar/cal-dst.el (calendar-current-time-zone):
3300         Return calendar-current-time-zone-cache if non-nil.
3302 2012-07-06  Glenn Morris  <rgm@gnu.org>
3304         * Makefile.in (cvs-update): Remove old alias.
3306 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
3308         Sync with Tramp 2.2.6-pre.
3310         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3311         compatible declaration.
3313         * net/tramp-cmds.el (tramp-append-tramp-buffers):
3314         Protect `list-load-path-shadows' call.
3316         * net/tramp-compat.el (top): Require packages, which aren't
3317         autoloaded anymore for XEmacs.  Protect call of
3318         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3319         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
3320         it hurts at least for SXEmacs.
3321         (tramp-compat-temporary-file-directory): In XEmacs, there is no
3322         standard-value for `temporary-file-directory'.
3324         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3325         Redirect stderr to /dev/null.
3326         (tramp-sh-handle-write-region): uid and gid can be floats.
3327         Reported by Russell Sim <russell.sim@gmail.com>.
3328         (tramp-sh-handle-vc-registered): Hide errors.
3329         (tramp-vc-file-name-handler): Use dummy results for `process-file'
3330         and `start-file-process'.
3331         (tramp-maybe-open-connection): Check also whether `non-essential'
3332         is bound.
3334 2012-07-04  Chong Yidong  <cyd@gnu.org>
3336         * xml.el (xml--parse-buffer): Use xml-syntax-table.
3337         (xml-parse-tag): Likewise, and avoid changing entity tables.
3338         (xml-syntax-table): Define from scratch, making sure not to give
3339         x2000 and other Unicode spaces whitespace syntax, since those are
3340         not spaces in XML.
3341         (xml-parse-fragment): Delete unused function.
3342         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3343         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3344         (xml-entity-ref, xml-pe-reference-re)
3345         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3346         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3347         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3348         (xml-entity-value-re): Use syntax references in regexps where
3349         possible; no need to define inside a let-binding.
3350         (xml-parse-dtd): Use xml-pe-reference-re.
3351         (xml-entity-or-char-ref-re): New defconst.
3352         (xml-parse-string, xml-substitute-special): Use it.
3354 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3356         * files.el (locate-dominating-file): Allow `name' to be a predicate.
3357         (find-file--read-only): New function.
3358         (find-file-read-only, find-file-read-only-other-window)
3359         (find-file-read-only-other-frame): Use it.
3360         (insert-file-contents-literally): Don't `fset'.
3361         (get-free-disk-space): Use locate-dominating-file.
3363         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3364         function is already compiled.
3366         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
3368 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
3370         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3371         files on the same host.
3373 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
3375         * help-fns.el (describe-function-1): Only call
3376         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
3378 2012-07-03  Chong Yidong  <cyd@gnu.org>
3380         * xml.el: Protect parser against XML bombs.
3381         (xml-entity-expansion-limit): New variable.
3382         (xml-parse-string, xml-substitute-special): Use it.
3383         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3385 2012-07-03  Glenn Morris  <rgm@gnu.org>
3387         * progmodes/bug-reference.el (bug-reference-bug-regexp):
3388         Allow linking to specific messages in debbugs reports (eg 123#5).
3390 2012-07-02  Chong Yidong  <cyd@gnu.org>
3392         * xml.el: Fix entity and character reference expansion, allowing
3393         them to expand into markup as per XML spec.
3394         (xml-default-ns): New variable.
3395         (xml-entity-alist): Use XML spec definitions for lt and amp.
3396         (xml-parse-region): Make first two arguments optional.
3397         Discard text properties.
3398         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3399         All callers changed.
3400         (xml-parse-tag): Call xml-parse-tag-1.  For backward
3401         compatibility, this function should not modify buffer contents.
3402         (xml-parse-tag-1): Fix opening-tag regexp.
3403         (xml-parse-string): Rewrite, handling entity and character
3404         references properly.
3405         (xml--entity-replacement-text): Signal an error if a parameter
3406         entity is undefined.
3408 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3410         * comint.el (comint-output-filter): Filter out repeated prompts.
3412         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3413         and file-name-absolute-p.
3414         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3415         internal calls.
3417 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
3419         Spelling fixes.
3420         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3421         Rename from byte-compile--refiy-function.  All uses changed.
3423 2012-07-01  Chong Yidong  <cyd@gnu.org>
3425         * xml.el (xml--parse-buffer): New function.  Move most of
3426         xml-parse-region here.
3427         (xml-parse-region): Copy region into a temporary buffer, since
3428         parameter entity substitution requires changing buffer contents.
3429         Use xml--parse-buffer.
3430         (xml-parse-file): Use xml--parse-buffer.
3431         (xml-parse-dtd): Make parameter entity substitution work right.
3432         Use proper regexps for ELEMENT declarations (Bug#7172).
3434 2012-06-30  Glenn Morris  <rgm@gnu.org>
3436         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3438         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3439         Remove outdated and unnecessary dbus declarations.
3441 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
3443         * emacs-lisp/timer.el (timer-until): Subtract results of
3444         float-time, instead of taking float-time of the result of
3445         time-subtract, since float-time signals an error for negative time
3446         arguments.
3448 2012-06-30  Chong Yidong  <cyd@gnu.org>
3450         * xml.el (xml-*-re): Convert defvars into defconsts, and
3451         eval-and-compile them so eval-and-compile works on derivatives.
3452         (xml--entity-replacement-text): Use eval-and-comple.
3454 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
3456         * vc/vc-git.el (vc-git-registered): Use cache property
3457         `git-registered'.
3458         (vc-git-mode-line-string): Call `vc-working-revision' instead of
3459         `vc-git-working-revision' in order to benefit from the cache.
3460         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
3462 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
3464         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3465         removed (likely outside Emacs).  (Bug#11757)
3467 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3469         * emacs-lisp/cl-lib.el: Require macroexp.
3471 2012-06-30  Chong Yidong  <cyd@gnu.org>
3473         * xml.el: Implement XML parameter entities.
3474         (xml-parameter-entity-alist): New variable.
3475         (xml-parse-region, xml-parse-fragment): Preserve previous values
3476         of xml-entity-alist and xml-parameter-entity-alist, so that
3477         repeated calls on different documents do not change them.
3478         (xml-parse-tag): Fix doctype regexp.
3479         (xml--entity-replacement-text): New function.
3480         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
3481         properly requires url retrieval which is unimplemented.
3482         (xml-escape-string): Doc fix.
3484 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3486         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3488 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
3490         * fringe.el (fringe-mode): Doc fix.
3492 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
3494         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3495         is non-nil.
3496         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3497         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
3499 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
3501         * calendar/cal-dst.el (calendar-current-time-zone):
3502         Return calendar-current-time-zone-cache if non-nil.
3504 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
3506         * progmodes/which-func.el (which-func-format):
3507         Add mouse-face.  (Bug#11698)
3509 2012-06-29  Leo Liu  <sdl.web@gmail.com>
3511         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3513 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3515         * minibuffer.el (minibuffer-confirm-exit-commands):
3516         Add completion-at-point (bug#11725).
3518 2012-06-29  Glenn Morris  <rgm@gnu.org>
3520         * progmodes/f90.el (f90-font-lock-keywords-2):
3521         Add some preprocessor elements.  (Bug#10499)
3523 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3525         * progmodes/cperl-mode.el (cperl-update-syntaxification):
3526         Use syntax-propertize (bug#11739).
3528 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
3530         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3532 2012-06-28  Julien Danjou  <julien@danjou.info>
3534         * term.el (term-handle-colors-array): Use a set of new faces to
3535         color the terminal.  Also uses :inverse-video property.
3536         (term-default-fg-color): Set to nil by default, deprecate in favor
3537         of `term-face'.
3538         (term-default-bg-color): Set to nil by default, deprecate in favor
3539         of `term-face'.
3540         (term-current-face): Use `term-face' by default.
3541         (term-bold-attribute): Variable deleted.
3543 2012-06-28  Glenn Morris  <rgm@gnu.org>
3545         * simple.el (completion-list-mode-finish):
3546         Don't use toggle-read-only.  (Since completion-list-mode has
3547         a special mode-class, it wasn't doing anything extra anyway.)
3549 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3551         Make inlining of other-mode interpreted functions work (bug#11799).
3552         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3553         (byte-compile): Use it to fix compilation of lexical-binding closures.
3554         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3555         function, if needed.
3557 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3559         * help-mode.el (help-make-xrefs): Don't just withstand
3560         cyclic-variable-indirection but any error in documentation-property.
3562         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3563         memory use.
3564         * bindings.el (bindings--define-key): New function.
3565         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3566         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3567         * bindings.el: Use it to purecopy define-key bindings.
3569         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3571         * emacs-lisp/cl.el (flet): Mark obsolete.
3572         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3573         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3574         * progmodes/js.el (js-c-fill-paragraph):
3575         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3576         (ebrowse-switch-member-buffer-to-derived-class):
3577         * play/5x5.el (5x5-solver): Use cl-flet.
3579         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
3580         (cl--symbol-function): New macro.
3581         (cl--letf, cl--letf*): Use it.
3583         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3584         Strip "toggle-" if any.
3586 2012-06-27  Glenn Morris  <rgm@gnu.org>
3588         * info.el (Info-default-directory-list): Move here from paths.el.
3589         * paths.el: Remove file, which is now empty.
3590         * loadup.el: No longer load "paths".
3592         * custom.el (custom-initialize-delay): Doc fix.
3594         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3595         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3596         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3597         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3598         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3599         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3600         * eshell/eshell.el (eshell-defgroup): Remove alias.
3602 2012-06-27  Chong Yidong  <cyd@gnu.org>
3604         * help.el (help-enable-auto-load): New variable.
3606         * help-fns.el (help-fns--autoloaded-p): New function.
3607         (describe-function-1): Refer to a function as "autoloaded" if it
3608         was autoloaded at any time in the past.  Perform autoloading if
3609         help-enable-auto-load is non-nil.
3611 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
3613         * makefile.w32-in (compile, compile-always): Depend on
3614         update-subdirs, not on subdirs.el.  Otherwise, several different
3615         sub-targets of 'bootstrap' running in parallel could
3616         simultaneously write to subdirs.el, producing a garbled file.
3618 2012-06-26  Sam Steingold  <sds@gnu.org>
3620         * files.el (file-name-base): New convenience function.
3621         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3622         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3623         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3624         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3625         * textmodes/ispell.el, textmodes/reftex-ref.el:
3626         * textmodes/tex-mode.el: Use it.
3627         Did not touch cedet and org because they are maintained elsewhere.
3629 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
3631         * calendar/calendar.el (calendar-exit): Don't try to delete or
3632         iconify last frame.  See:
3633         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3635 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
3637         * server.el (server-process-filter): Remember dir in the
3638         process's `server-client-directory' properties.
3640 2012-06-24  Chong Yidong  <cyd@gnu.org>
3642         * xml.el (xml-parse-tag): Correctly handle comment embedded in
3643         non-tag text.
3645 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
3647         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3649 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3651         * help-fns.el (describe-variable): Don't croak when doc is not found.
3652         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3653         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3654         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3655         * emacs-lisp/smie.el (smie-next-sexp): CSE.
3656         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3657         ((lambda ..) ..).
3658         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3660 2012-06-23  Chong Yidong  <cyd@gnu.org>
3662         * info.el (Info-mouse-follow-link): Accept symbol values of
3663         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
3664         (Info-fontify-node): Use Info-link-keymap for all navigation
3665         buttons, with link-args property to perform the desired action.
3666         (Info-link-keymap): Doc fix.
3667         (Info-next-link-keymap, Info-prev-link-keymap)
3668         (Info-up-link-keymap): Delete now-unused keymaps.
3670 2012-06-23  Chong Yidong  <cyd@gnu.org>
3672         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3674         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3675         system abbrevs.
3677         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3679 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3681         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3682         (bug#11719).
3684         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3685         the requote function doesn't work properly (bug#11714).
3687 2012-06-23  Glenn Morris  <rgm@gnu.org>
3689         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3691 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3693         Further GV/CL cleanups.
3694         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3695         gv-expander.
3696         (gv--defun-declaration): New function.
3697         (defun-declarations-alist): Use it.
3698         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3699         (gv-place): Autoload.
3700         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3701         original definition of dotimes and dolist.
3702         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3703         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3704         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3705         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3706         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3707         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3708         to the function's definition.
3709         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3710         * window.el:
3711         * files.el:
3712         * faces.el:
3713         * env.el: Don't use CL.
3715 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
3717         Support higher-resolution time stamps (Bug#9000).
3719         * calendar/time-date.el (with-decoded-time-value): New arg
3720         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
3721         (encode-time-value): New optional arg PICO.  New type 3.
3722         (time-to-seconds) [!float-time]: Support the new picoseconds
3723         component if it's used.
3724         (seconds-to-time, time-subtract, time-add):
3725         Support ps-resolution time stamps as well.
3727         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
3728         (timerp): Timer vectors now have length 9, not 8.
3729         (timer--time): Support new-style (4-part) time stamps.
3730         (timer-next-integral-multiple-of-time): Time stamps now have
3731         picosecond resolution, so take a bit more care about rounding.
3732         (timer-relative-time, timer-inc-time): New optional arg psecs.
3733         (timer-set-time-with-usecs): Set psecs to 0.
3734         (timer--activate): Check psecs component, too.
3736         * proced.el (proced-time-lessp): Support ps-resolution stamps.
3738 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3740         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3741         Move the non-essential binding to the post/pre-command-hook where it is
3742         more obviously correct.
3744         * subr.el (read-passwd): Don't use a history at all.
3745         * savehist.el (savehist-save): Remove password saved accidentally
3746         because of the above bug.
3748 2012-06-22  Bastien Guerry  <bzg@gnu.org>
3750         * files.el (toggle-read-only): Display a message telling whether
3751         the buffer is read-only or not (bug#11726).
3753 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3755         * emacs-lisp/gv.el: New file.
3756         * subr.el (push, pop): Extend to generalized variables.
3757         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3758         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3759         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
3760         gv-define-simple-setter, and gv-define-expander.
3761         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
3762         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3763         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3764         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3765         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3766         gv-letplace.
3767         (cl-defstruct): Don't define setf-method any more.
3768         * emacs-lisp/cl.el (flet): Don't autoload.
3769         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3770         (define-setf-expander, defsetf, define-modify-macro)
3771         (cl-struct-setf-expander): Move from cl-lib.el.
3772         * emacs-lisp/syntax.el:
3773         * emacs-lisp/ewoc.el:
3774         * emacs-lisp/smie.el:
3775         * emacs-lisp/cconv.el:
3776         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3777         (timer--time): Use gv-define-simple-setter.
3778         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3779         to avoid coding-system problems in subr.el.  Adjust all users.
3780         (macroexp--maxsize, macroexp-small-p): New functions.
3781         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3782         * scroll-bar.el (scroll-bar-mode):
3783         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3784         (normal-erase-is-backspace-mode): Don't use the `eq' place.
3785         * winner.el (winner-configuration, winner-make-point-alist)
3786         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3787         * files.el (locate-file-completion-table): Avoid list*.
3789 2012-06-22  Chong Yidong  <cyd@gnu.org>
3791         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3792         (dired-create-files): Doc fix (Bug#11329).
3793         (dired-do-copy): Doc fix (Bug#11334).
3794         (dired-mark-read-string): Doc fix (Bug#11553).
3796         * dired.el (dired-recursive-copies, dired-recursive-deletes):
3797         Doc fix (Bug#11326).
3798         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
3799         (dired-dwim-target): Doc fix.
3801         * wdired.el (wdired-mode): Doc fix.
3803 2012-06-22  Glenn Morris  <rgm@gnu.org>
3805         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3806         (pcmpl-rpm-cache-stamp-file): New constant.
3807         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3808         (pcmpl-rpm-packages): Optionally cache list of packages.
3810         * pcmpl-rpm.el (pcmpl-rpm): New group.
3811         (pcmpl-rpm-query-options): New option.
3812         (pcmpl-rpm-packages): No need to inline it.
3813         Use pcmpl-rpm-query-options.
3815         * calendar/calendar.el (calendar-in-read-only-buffer):
3816         Avoid some needless mode changes.
3818 2012-06-21  Chong Yidong  <cyd@gnu.org>
3820         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3821         (desktop-path): Remove . from the default value (Bug#10977).
3822         (desktop-read): Use user-emacs-directory if desktop-path is nil.
3824 2012-06-20  Chong Yidong  <cyd@gnu.org>
3826         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3828 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
3830         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3831         (bug#11201).
3833 2012-06-20  Chong Yidong  <cyd@gnu.org>
3835         * term.el (term-window-width): Handle the case of a missing right
3836         fringe (Bug#8837).
3837         (term-check-size): Use window-text-height (Bug#5445).
3838         (term-mode): Use define-derived-mode.  Minor cleanups.
3839         Set font-lock-defaults (Bug#7692).
3840         (term-move-columns, term-insert-char, term-emulate-terminal)
3841         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
3843 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
3845         * net/ange-ftp.el (ange-ftp-get-passwd):
3846         Bind `enable-recursive-minibuffers'.
3847         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3849 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
3851         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3853 2012-06-19  Glenn Morris  <rgm@gnu.org>
3855         * progmodes/python.el (python-mode): Derive from prog-mode.
3857 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
3859         * emulation/edt.el (edt-default-menu-bar-update-buffers)
3860         (edt-user-menu-bar-update-buffers): New functions.
3861         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3863 2012-06-19  Chong Yidong  <cyd@gnu.org>
3865         * subr.el (with-selected-window): Preserve the selected window's
3866         terminal's top-frame (Bug#4702).
3868         * window.el (save-selected-window): Likewise.
3870 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3872         * progmodes/python.el (python-rx-constituents): Move backquote.
3873         (python-skeleton-define, python-define-auxiliary-skeleton):
3874         Use `declare'.
3876 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
3878         * minibuffer.el (read-file-name-default): Revert the patch from
3879         2012-06-17.
3881 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3883         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3884         (pcase--u1, pcase--q1): Don't use apply-partially.
3886 2012-06-18  Glenn Morris  <rgm@gnu.org>
3888         * progmodes/python.el (python-proc, python-buffer)
3889         (python-send-receive, python-send-string): Fix obsolete versions.
3891 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
3893         * window.el (special-display-p): Completely remove stringp
3894         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3896 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
3898         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3900         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3902         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3903         * net/tramp-sh.el (tramp-maybe-open-connection):
3904         Throw if `non-essential' is non-nil.
3906 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
3908         * window.el (special-display-p): Signal an error if BUFFER-NAME
3909         is not a string (Bug#11713).
3911 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
3913         * progmodes/python.el (python-info-beginning-of-backslash):
3914         Rename from python-info-beginning-of-backlash, as a spelling fix.
3916 2012-06-17  Chong Yidong  <cyd@gnu.org>
3918         * term.el (term-emulate-terminal): If term-check-size is called,
3919         move point to the process mark without resetting point (Bug#4635).
3921 2012-06-17  Glenn Morris  <rgm@gnu.org>
3923         * international/mule-cmds.el (mule-menu-keymap)
3924         (set-language-environment, set-locale-environment): Doc tweaks.
3926 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
3928         * cus-face.el (custom-face-attributes): Add wave-style underline
3929         attribute.
3930         * faces.el (set-face-attribute): Update docstring to describe
3931         wave-style underline attribute.
3933 2012-06-16  Chong Yidong  <cyd@gnu.org>
3935         * term/xterm.el (terminal-init-xterm): Discard input before
3936         querying background mode (Bug#10959).
3938 2012-06-16  Stefan Merten  <smerten@oekonux.de>
3940         * textmodes/rst.el: Added and corrected some comments.
3941         (rst-re-alist-def): Improve symbol syntax.
3942         (rst-mode-syntax-table): Correct syntax entries.
3943         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3944         (rst-official-version, rst-official-cvs-rev): Update version
3945         information.
3947 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
3949         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3950         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3952 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
3954         * progmodes/python.el: New python.el merge.
3955         (python-guess-indent): Obsolete var.
3956         (python-indent-guess-indent-offset): New defcustom.
3957         (python-indent): Obsolete var.
3958         (python-indent-offset): New defcustom.
3959         (python-python-command, python-jython-command): Delete var.
3960         (python-shell-interpreter): New defcustom.
3961         (python-pdbtrack-do-tracking-p): Delete var.
3962         (python-pdbtrack-activate): New defcustom.
3963         (python-use-skeletons): Obsolete var.
3964         (python-skeleton-autoinsert): New defcustom.
3965         (inferior-python-filter-regexp, python-continuation-offset)
3966         (python-honour-comment-indentation, python-indent-string-contents)
3967         (python-jython-packages, python-mode-hook)
3968         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3969         (python-shell-prompt-alist)
3970         (python-source-modes): Delete defcustoms.
3971         (python-check-buffer-name, python-eldoc-setup-code)
3972         (python-eldoc-string-code, python-ffap-setup-code)
3973         (python-ffap-string-code, python-fill-comment-function)
3974         (python-fill-decorator-function, python-fill-paren-function)
3975         (python-fill-string-function, python-imenu-include-defun-type)
3976         (python-imenu-make-tree, python-imenu-subtree-root-label)
3977         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3978         (python-shell-compilation-regexp-alist)
3979         (python-shell-completion-module-string-code)
3980         (python-shell-completion-pdb-string-code)
3981         (python-shell-completion-setup-code)
3982         (python-shell-completion-string-code)
3983         (python-shell-enable-font-lock, python-shell-exec-path)
3984         (python-shell-extra-pythonpaths)
3985         (python-shell-internal-buffer-name, python-shell-interpreter-args)
3986         (python-shell-process-environment)
3987         (python-shell-prompt-block-regexp)
3988         (python-shell-prompt-output-regexp)
3989         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3990         (python-shell-send-setup-max-wait, python-shell-setup-codes)
3991         (python-shell-virtualenv-path): New defcustoms.
3992         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3993         (inferior-python-mode-syntax-table, python--prompt-regexp)
3994         (python-buffer, python-command python-python-command)
3995         (python-default-template, python-imports, python-indent-index)
3996         (python-indent-list, python-indent-list-length)
3997         (python-mode-running, python-pdbtrack-is-tracking-p)
3998         (python-preoutput-continuation, python-preoutput-leftover)
3999         (python-preoutput-result, python-preoutput-skip-next-prompt)
4000         (python-prev-dir/file, python-recursing)
4001         (python-saved-check-command, python-version-checked)
4002         (python-which-func-length-limit)
4003         (view-return-to-alist): Delete vars.
4004         (python-check-custom-command, python-dotty-syntax-table)
4005         (python-imenu-index-alist, python-indent-current-level)
4006         (python-indent-dedenters, python-indent-levels)
4007         (python-nav-beginning-of-defun-regexp)
4008         (python-nav-list-defun-positions-cache)
4009         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4010         (python-shell-internal-buffer)
4011         (python-skeleton-available): New vars.
4012         (def-python-skeleton): Delete macro.
4013         (python-skeleton-define): New macro.
4014         (python-define-auxiliary-skeleton, python-rx): New macros.
4015         (python-insert-class): Delete command.
4016         (python-skeleton-class): New command.
4017         (python-insert-def): Delete command.
4018         (python-skeleton-def): New command.
4019         (python-insert-for): Delete command.
4020         (python-skeleton-for): New command.
4021         (python-insert-if): Delete command.
4022         (python-skeleton-if): New command.
4023         (python-insert-try/except, python-insert-try/finally): Delete commands.
4024         (python-skeleton-try): New command.
4025         (python-insert-while): Delete command.
4026         (python-skeleton-while): New command.
4027         (python-backspace): Delete command.
4028         (python-indent-dedent-line-backspace): New command.
4029         (python-electric-colon): Delete command.
4030         (python-indent-electric-colon): New command.
4031         (python-guess-indent): Delete command.
4032         (python-indent-guess-indent-offset): New command.
4033         (python-shift-left): Delete command.
4034         (python-indent-shift-left): New command.
4035         (python-shift-right): Delete command.
4036         (python-indent-shift-right): New command.
4037         (python-find-function): Delete command.
4038         (python-nav-jump-to-defun): New command.
4039         (python-next-statement): Delete command.
4040         (python-nav-forward-sentence): New command.
4041         (python-previous-statement): Delete command.
4042         (python-nav-backward-sentence): New command.
4043         (python-fill-paragraph): Delete command.
4044         (python-fill-paragraph-function): New command.
4045         (python-send-buffer): Delete command.
4046         (python-shell-send-buffer): New command.
4047         (python-send-defun): Delete command.
4048         (python-shell-send-defun): New command.
4049         (python-send-region, python-send-region-and-go): Delete commands.
4050         (python-shell-send-region)
4051         (python-shell-switch-to-shell): New commands.
4052         (python-send-string): Delete command.
4053         (python-shell-send-string): New command.
4054         (python-switch-to-python): Delete command.
4055         (python-shell-switch-to-shell): New command.
4056         (python-describe-symbol): Delete command.
4057         (python-eldoc-at-point): New command.
4058         (python--set-prompt-regexp, python-args-to-list)
4059         (python-after-info-look, python-check-version)
4060         (python-check-comint-prompt, python-find-imports)
4061         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4062         (python-unload-function, python-expand-template)
4063         (python-maybe-jython, python-preoutput-filter)
4064         (python-pdbtrack-get-source-buffer)
4065         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4066         (python-pdbtrack-toggle-stack-tracking)
4067         (python-pdbtrack-track-stack-file, python-initial-text)
4068         (python-first-word, python-comment-line-p, python-send-command)
4069         (python-setup-brm, python-sentinel, python-set-proc)
4070         (python-skip-out, python-input-filter, python-outdent-p)
4071         (python-outline-level, python-backslash-continuation-line-p)
4072         (python-end-of-block, python-end-of-statement, python-mark-block)
4073         (python-beginning-of-block, python-beginning-of-statement)
4074         (python-blank-line-p, python-beginning-of-string)
4075         (python-open-block-statement-p): Delete functions.
4076         (python-indent-line, python-indent-line-1): Delete functions.
4077         (python-indent-line): New function.
4078         (python-indentation-levels): Delete function.
4079         (python-indent-calculate-levels): New function.
4080         (python-proc): Delete function.
4081         (python-shell-get-process): New function.
4082         (python-send-receive): Delete function.
4083         (python-shell-send-string-no-output): New function.
4084         (python-module-path): Delete function.
4085         (python-ffap-module-path): New function.
4086         (python-completion-at-point)
4087         (python-symbol-completions): Delete functions.
4088         (python-completion-complete-at-point): New function.
4089         (python-load-file): Delete function.
4090         (python-shell-send-file): New function.
4091         (python-calculate-indentation): Delete function.
4092         (python-indent-calculate-indentation): New function.
4093         (python-skip-comments/blanks): Delete function.
4094         (python-util-forward-comment): New function.
4095         (python-continuation-line-p): Delete function.
4096         (python-info-continuation-line-p): New function.
4097         (python-which-func, python-current-defun): Delete function.
4098         (python-info-current-defun): New function.
4099         (python-beginning-of-defun): Delete function.
4100         (python-nav-beginning-of-defun): New function.
4101         (python-close-block-statement-p)
4102         (python-block-end-p): Delete function.
4103         (python-info-closing-block): New function.
4104         (python-comint-output-filter-function)
4105         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4106         (python-fill-comment, python-fill-decorator, python-fill-paren)
4107         (python-fill-string, python-imenu-make-element-tree)
4108         (python-imenu-make-tree, python-imenu-tree-assoc)
4109         (python-indent-context, python-indent-dedent-line)
4110         (python-indent-line-function)
4111         (python-indent-post-self-insert-function)
4112         (python-indent-toggle-levels)
4113         (python-info-assignment-continuation-line-p)
4114         (python-info-beginning-of-backlash)
4115         (python-info-block-continuation-line-p)
4116         (python-info-closing-block-message)
4117         (python-info-line-ends-backslash-p)
4118         (python-info-looking-at-beginning-of-defun)
4119         (python-info-ppss-context, python-info-ppss-context-type)
4120         (python-nav-list-defun-positions, python-nav-read-defun)
4121         (python-nav-sentence-end, python-nav-sentence-start)
4122         (python-pdbtrack-comint-output-filter-function)
4123         (python-pdbtrack-set-tracked-buffer)
4124         (python-shell-calculate-exec-path)
4125         (python-shell-calculate-process-environment)
4126         (python-shell-completion--do-completion-at-point)
4127         (python-shell-completion--get-completions)
4128         (python-shell-completion-complete-at-point)
4129         (python-shell-completion-complete-or-indent)
4130         (python-shell-get-or-create-process)
4131         (python-shell-get-process-name)
4132         (python-shell-internal-get-or-create-process)
4133         (python-shell-internal-get-process-name)
4134         (python-shell-internal-send-string, python-shell-make-comint)
4135         (python-shell-parse-command, python-shell-send-setup-code)
4136         (python-skeleton-add-menu-items)
4137         (python-util-clone-local-variables, python-util-position)
4138         (run-python-internal, python-indentation-levels)
4139         (python-nav-beginning-of-defun)
4140         (python-completion-complete-at-point): New functions.
4141         (run-python): Change arguments.  New API requirements.
4143 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4145         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4146         (bug#11649).
4148         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4149         (macroexp--expand-all): Use it.
4151         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4152         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4153         Use `cl-function' instead.
4155 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
4157         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4158         Suggested by Stefan Monnier while discussing bug#11657.
4160 2012-06-14  Sam Steingold  <sds@gnu.org>
4162         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4164 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4166         * play/doctor.el (doctor-doc): Remove parameter and use
4167         doctor-sent instead of sent.
4168         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
4170 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4172         * files.el: Require cl-lib.
4173         (file-name-non-special): Replace case -> cl-case.
4175         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4177         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4178         mapping from #' to function*.
4180 2012-06-13  Chong Yidong  <cyd@gnu.org>
4182         * mouse.el (mouse-drag-track): Do not set the mark if the user
4183         releases the mouse without selecting anything (Bug#11588).
4185 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4187         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4188         as well (bug#11646).
4190         * loadup.el: Count byte-code functions as well.
4192         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4193         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4195         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4196         (bug#11649).  Add cl-defun and cl-defmacro.
4198 2012-06-13  Drew Adams  <drew.adams@oracle.com>
4200         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4201         Fix last change.
4203 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
4205         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4206         Otherwise, it blocks in batch mode.
4208 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
4210         * help-mode.el (bookmark-make-record-default): Declare.
4212 2012-06-13  Chong Yidong  <cyd@gnu.org>
4214         * emacs-lisp/package.el (list-packages): Compute a list of
4215         packages that are newly-available since the last list-packages
4216         invocation.
4217         (package-menu--new-package-list): New var.
4218         (package-menu--generate, package-menu--print-info)
4219         (package-menu--status-predicate, package-menu-mark-install):
4220         Handle new status label "new".
4222 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4224         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4225         conversion to backquotes.
4227 2012-06-12  Chong Yidong  <cyd@gnu.org>
4229         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4230         Rename from gud-inhibit-global-bindings.
4232         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4234         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4235         hook from nxml-glyph-set-hook.
4237         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4238         declaration.
4240         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4242         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4243         Convert to defcustom.
4245 2012-06-12  Drew Adams  <drew.adams@oracle.com>
4247         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4248         New functions.
4249         (help-mode): Use them.
4251 2012-06-11  Glenn Morris  <rgm@gnu.org>
4253         * progmodes/fortran.el (fortran-font-lock-keywords-3):
4254         Use preprocessor face for directives.
4255         (fortran-directive-re): Doc fix.
4257 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4259         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4260         conversion to backquotes (bug#11652).
4262         Fix compiler-expansion of CL's cXXr functions (bug#11673).
4263         * emacs-lisp/cl-lib.el (cl--defalias): New function.
4264         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4265         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4266         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4267         (cl-ninth, cl-tenth): Mark them as inlinable.
4268         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4269         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4270         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4271         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4272         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4273         (cl-list*, cl-adjoin): Don't put an autoload manually.
4274         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4275         (cl--compiler-macro-list*): Add autoload cookie.
4276         (cl--compiler-macro-cXXr): New function.
4278         * help-fns.el (help-fns--compiler-macro): New function extracted from
4279         describe-function-1; follow aliases and use `compiler-macro' property.
4280         (describe-function-1): Use it.
4282 2012-06-11  Chong Yidong  <cyd@gnu.org>
4284         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4285         is uninstalled, if imagemagick is installed.
4287 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4289         * emacs-lisp/cl-lib.el: Use lexical-binding.
4290         (cl-map-extents, cl-maclisp-member): Remove.
4291         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4292         (cl--set-substring, cl--block-wrapper, cl--block-throw)
4293         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4294         * emacs-lisp/cl-extra.el: Use lexical-binding.
4295         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4296         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4297         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4298         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4299         * emacs-lisp/cl-seq.el: Use lexical-binding.
4300         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4301         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4302         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4303         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4304         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4305         CL's internals.
4307 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
4309         Sync with Tramp 2.2.6-pre.
4311         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4312         `print-length' and `print-level' to nil, in order to avoid
4313         truncation.  Reported by Christopher Schmidt
4314         <christopher@ristopher.com>.
4316         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4318         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4319         New defmacro.
4320         (tramp-compat-copy-directory): Add optional argument
4321         COPY-CONTENTS.  It is not handled yet.
4323         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4324         (tramp-ftp-file-name-p): Simplify.
4326         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4327         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4328         connection vector.
4330         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4331         (tramp-methods): Do not use `tramp-password-end-of-line'.
4332         (tramp-completion-function-alist-putty): Handle UNIX case.
4333         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4334         (tramp-do-file-attributes-with-stat)
4335         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4336         gid as real numbers.  They could run out of integer range on cygwin.
4337         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4338         (tramp-sh-handle-expand-file-name): Handle hops.
4339         (tramp-open-connection-setup-interactive-shell):
4340         Use `tramp-cleanup'.  Move check for busyboxes ...
4341         (tramp-find-shell): ... here.  Simplify implementation.
4342         Set "remote-shell" property also for alternative shells.
4343         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4344         If failing, a regular file would be written otherwise.
4345         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4346         (tramp-find-inline-encoding): Cache the coding commands in the
4347         process cache.  Apply test command on the remote side, if defined.
4348         (tramp-find-inline-compress): Cache the compress commands in the
4349         process cache.
4350         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4351         when requested.  Handle hops.
4352         (tramp-current-connection): New defvar.
4353         (tramp-maybe-open-connection): Use `tramp-cleanup'.
4354         Throw `suppress', if there was a failed connection shortly before.
4355         Handle user interrupt.  (Bug#10187)
4356         (tramp-get-inline-compress, tramp-get-inline-coding):
4357         Read connection properties from the process cache.
4359         * net/tramp-smb.el (tramp-smb-server-version)
4360         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4361         New defconsts.
4362         (tramp-smb-prompt): Extend for powershell prompt.
4363         (tramp-smb-file-name-handler-alist): Add handlers for
4364         `process-file', `shell-command' and `start-file-process'.
4365         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4366         (tramp-smb-winexe-shell-command-switch): New defcustoms.
4367         (tramp-smb-file-name-p): Simplify.
4368         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4369         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4370         (tramp-smb-shell-quote-argument): New defuns.
4371         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4372         Implement using "tar".  By this, time-stamps are preserved.
4373         (tramp-smb-handle-copy-file): Handle also the case of directories.
4374         (tramp-smb-do-file-attributes-with-stat)
4375         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4376         Use `tramp-get-connection-buffer').
4377         (tramp-smb-handle-rename-file): Use "rename", when source and
4378         target are on the same share.
4379         (tramp-smb-maybe-open-connection): Handle wrong passwords.
4380         Use `tramp-smb-server-version'.
4381         (tramp-smb-wait-for-output): Remove prompt.
4383         * net/tramp.el (top): Require 'cl.
4384         (tramp-methods, tramp-rsh-end-of-line):
4385         Remove `tramp-password-end-of-line' from docstring.
4386         (tramp-save-ad-hoc-proxies): New defcustom.
4387         (tramp-completion-function-alist): Adapt docstring.
4388         (tramp-default-password-end-of-line): Remove defcustom.
4389         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
4390         (tramp-user-regexp, tramp-file-name-regexp-unified)
4391         (tramp-file-name-regexp-url): Extend regexp by hop separator.
4392         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4393         (tramp-remote-file-name-spec-regexp): New defconst.
4394         (tramp-file-name-structure): Extend structure for hops.
4395         (tramp-get-method-parameter): Move up.
4396         (tramp-file-name-p, tramp-dissect-file-name)
4397         (with-parsed-tramp-file-name): Handle hops.
4398         (tramp-file-name-hop): New defun.
4399         (tramp-make-tramp-file-name): New optional arg HOP.
4400         (tramp-message-show-progress-reporter-message): New defvar.
4401         (tramp-with-progress-reporter): Use it.  We cannot use
4402         `tramp-message-show-message' here, because this suppresses also
4403         error buffers.
4404         (tramp-error-with-buffer): Suppress buffer view, if
4405         `tramp-message-show-message' is nil.
4406         Use `tramp-get-connection-buffer'.
4407         (tramp-cleanup): New defun.
4408         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4409         (tramp-file-name-handler): If `debug-on-error' is set, propagate
4410         an error unchanged.
4411         (tramp-completion-handle-file-name-all-completions): Handle hops.
4412         Fix an error when called from ido.
4413         (tramp-completion-dissect-file-name): Use better local variable
4414         name.  Add hop to the vector.
4415         (tramp-handle-insert-file-contents): Use progress-reporter for the
4416         whole scenario.
4417         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4418         to `t'.
4419         (tramp-check-for-regexp): Simplify search.
4420         (tramp-enter-password): Remove it.  Move implementation ...
4421         (tramp-action-password): ... here.
4422         (tramp-mode-string-to-int, tramp-local-host-p)
4423         (tramp-make-tramp-temp-file, tramp-read-passwd)
4424         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4425         Set tramp-autoload cookie.
4427         * net/trampver.el: Update release number.
4429 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4430             Michael Albinus  <michael.albinus@gmx.de>
4432         * net/tramp.el (tramp-set-completion-function): Fix docstring.
4433         (tramp-parse-group, tramp-parse-file)
4434         (tramp-parse-shostkeys-sknownhosts): New defuns.
4435         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4436         (tramp-parse-shosts-group, tramp-parse-sconfig)
4437         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4438         (tramp-parse-sknownhosts, tramp-parse-hosts)
4439         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4440         Use them.
4441         (tramp-parse-passwd-group, tramp-parse-netrc-group)
4442         (tramp-parse-putty-group): Don't narrow.
4443         (tramp-parse-putty): Make a loop.
4444         (tramp-file-name-handler): Catch the `suppress' signal.
4446 2012-06-11  Chong Yidong  <cyd@gnu.org>
4448         * image.el (imagemagick-register-types): Put the ImageMagick entry
4449         at the end of image-type-file-name-regexps.
4451 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
4453         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4454         (pcase, pcase-let*, pcase-dolist): Use them.
4456 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4458         * emacs-lisp/pcase.el (pcase--let*): New function.
4459         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
4460         (pcase--expand): Use macroexp-let².
4462 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4464         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4465         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4466         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4467         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4468         * emacs-lisp/derived.el: Use pcase instead of `cl'.
4469         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4471 2012-06-10  Glenn Morris  <rgm@gnu.org>
4473         * mail/rmail.el (rmail-yank-current-message): Leave point at
4474         correct position.  (Bug#11660)
4476 2012-06-10  Chong Yidong  <cyd@gnu.org>
4478         * allout-widgets.el: Fix code header.
4480 2012-06-10  Chong Yidong  <cyd@gnu.org>
4482         * cus-edit.el (customize-changed-options-previous-release):
4483         Bump to 24.1.
4485 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
4487         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4489 2012-06-09  Chong Yidong  <cyd@gnu.org>
4491         * ebuff-menu.el (electric-buffer-list): Preserve header line.
4493 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
4495         * window.el (special-display-popup-frame): Don't use
4496         window--display-buffer (Bug#11651).
4498 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
4500         Fix parallel builds: make sure loaddefs.el is not being written
4501         while Lisp files are compiled.
4502         (compile): Don't depend on 'mh-autoloads'.
4503         (compile-CMD, compile-SH): Depend on 'autoloads'.
4504         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4506         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
4508 2012-06-09  Chong Yidong  <cyd@gnu.org>
4510         * face-remap.el (face-remap-add-relative, face-remap-set-base)
4511         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4512         Doc fixes (Bug#11225).
4514 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4516         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4517         a function if there's a clear indication that it has a compiler-macro.
4518         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4519         (macro-declarations-alist): Add arglist to declaration functions.
4520         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4521         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4522         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4523         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4524         Also add autoload to find the compiler macro.
4525         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4526         (cl--compiler-macro-member, cl--compiler-macro-assoc)
4527         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4528         (cl--compiler-macro-get): New functions, replacing calls to
4529         cl-define-compiler-macro.
4530         (cl-typep) [compiler-macro]: Use macroexp-let².
4532 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
4534         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4535         string properly, fixes Bug#11473.
4537 2012-06-08  Chong Yidong  <cyd@gnu.org>
4539         * faces.el (set-face-attribute): Doc fix.
4540         (modify-face): Don't use :bold and :italic.
4541         (error, warning, success): Tweak definitions.
4543         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4544         (custom-modified, custom-set, custom-changed, custom-themed)
4545         (custom-saved, custom-button, custom-button-mouse)
4546         (custom-button-pressed, custom-state, custom-comment-tag)
4547         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4548         (custom-group-subtitle): Use new-style face specs.
4549         (custom-invalid-face, custom-rogue-face, custom-modified-face)
4550         (custom-set-face, custom-changed-face, custom-saved-face)
4551         (custom-button-face, custom-button-pressed-face)
4552         (custom-documentation-face, custom-state-face)
4553         (custom-comment-face, custom-comment-tag-face)
4554         (custom-variable-tag-face, custom-variable-button-face)
4555         (custom-face-tag-face, custom-group-tag-face-1)
4556         (custom-group-tag-face): Remove obsolete face alias.
4558         * epa.el (epa-validity-high, epa-validity-medium)
4559         (epa-validity-low, epa-mark, epa-field-name, epa-string)
4560         (epa-field-name, epa-field-body):
4561         * font-lock.el (font-lock-comment-face, font-lock-string-face)
4562         (font-lock-keyword-face, font-lock-builtin-face)
4563         (font-lock-function-name-face, font-lock-variable-name-face)
4564         (font-lock-type-face, font-lock-constant-face):
4565         * ido.el (ido-first-match, ido-only-match, ido-subdir)
4566         (ido-virtual, ido-indicator, ido-incomplete-regexp):
4567         * speedbar.el (speedbar-button-face, speedbar-file-face)
4568         (speedbar-directory-face, speedbar-tag-face)
4569         (speedbar-selected-face, speedbar-highlight-face)
4570         (speedbar-separator-face):
4571         * whitespace.el (whitespace-newline, whitespace-space)
4572         (whitespace-hspace, whitespace-tab, whitespace-trailing)
4573         (whitespace-line, whitespace-space-before-tab)
4574         (whitespace-space-after-tab, whitespace-indentation)
4575         (whitespace-empty):
4576         * emulation/cua-base.el (cua-global-mark):
4577         * eshell/em-prompt.el (eshell-prompt):
4578         * net/newst-plainview.el (newsticker-new-item-face)
4579         (newsticker-old-item-face, newsticker-immortal-item-face)
4580         (newsticker-obsolete-item-face, newsticker-date-face)
4581         (newsticker-statistics-face, newsticker-default-face):
4582         * net/newst-reader.el (newsticker-feed-face)
4583         (newsticker-extra-face, newsticker-enclosure-face):
4584         * net/newst-treeview.el (newsticker-treeview-face)
4585         (newsticker-treeview-new-face, newsticker-treeview-old-face)
4586         (newsticker-treeview-immortal-face)
4587         (newsticker-treeview-obsolete-face)
4588         (newsticker-treeview-selection-face):
4589         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4590         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4591         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4592         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4593         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4594         (nxml-outline-active-indicator, nxml-outline-ellipsis):
4595         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4596         (mpuz-text):
4597         * progmodes/vera-mode.el (vera-font-lock-number)
4598         (vera-font-lock-function, vera-font-lock-interface):
4599         * textmodes/table.el (table-cell): Use new-style face specs, and
4600         don't use the old :bold and :italic attributes.
4602         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4603         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4604         (ebrowse-member-class, ebrowse-progress): Likewise.
4605         (ebrowse-tree-mark-face, ebrowse-root-class-face)
4606         (ebrowse-file-name-face, ebrowse-default-face)
4607         (ebrowse-member-attribute-face, ebrowse-member-class-face)
4608         (ebrowse-progress-face): Remove obsolete faces.
4610         * progmodes/flymake.el (flymake-errline, flymake-warnline):
4611         Inherit from error and warning faces respectively.
4613         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4614         Likewise.
4615         (flyspell-incorrect-face, flyspell-duplicate-face):
4616         Remove obsolete aliases.
4618 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
4620         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4621         Avoid infloop.
4623 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4625         * startup.el (argv, argi): Make lexically scoped.
4626         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4627         * emacs-lisp/cl-macs.el: Use lexical-binding.
4628         Rename cl-bind-* to cl--bind-*.
4629         * files.el: Don't require `cl' since it doesn't use it.
4630         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4632 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
4634         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4635         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4636         instead of calling external sort utility.
4637         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4639 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
4641         * descr-text.el (describe-char): Mention how to insert the
4642         character, if the current input method doesn't support it.
4643         See the discussion in this thread for the details:
4644         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4646 2012-06-08  Sam Steingold  <sds@gnu.org>
4648         * bindings.el (global-map): Bind XF86Forward to next-buffer and
4649         XF86Back to previous-buffer.
4650         (minibuffer-local-map): Bind them to next-history-element and
4651         previous-history-element respectively.
4652         * help-mode.el (help-mode-map): Bind them to help-go-forward and
4653         help-go-back respectively.
4654         * info.el (Info-mode-map): Bind them to Info-history-forward and
4655         Info-history-back respectively.
4656         These are the keys next to Up on the ThinkPad keyboard.
4658 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4660         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4661         * emacs-lisp/cl-macs.el: Provide itself.
4662         (cl--labels-convert-cache): New var.
4663         (cl--labels-convert): New function.
4664         (cl-flet, cl-labels): New implementation with new semantics, relying on
4665         lexical-binding.
4666         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4667         (cl-closure-vars, cl--function-convert-cache)
4668         (cl--function-convert): Move from cl-macs.el.
4669         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4670         rename by removing the "cl-" prefix.
4671         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4673 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4675         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4676         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4677         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4678         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4679         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4680         (cl-hash-table-count): Add old compatibility aliases.
4682         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4683         Use macroexpand-all-environment instead.
4684         (cl--old-macroexpand): New var.
4685         (cl--sm-macroexpand): New function.
4686         (cl-symbol-macrolet): Use it during macro expansion.
4687         (cl--function-convert-cache): New var.
4688         (cl--function-convert): New function, extracted from
4689         cl-macroexpand-all.
4690         (cl-lexical-let): Use it.
4692         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4693         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4694         (cl-member): Remove old alias.
4696         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4697         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4698         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4699         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4700         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4701         (cl-macroexpand-cmacs): Remove var.
4702         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4703         Use macroexpand-all instead.
4705 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4707         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4708         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4709         (macroexp-copyable-p): New functions and macros.
4710         * emacs-lisp/edebug.el (edebug-unwrap):
4711         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4712         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4713         (pcase--let*): Remove.
4714         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4715         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
4716         macroexp-const-p instead.
4717         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4719         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4720         instead of "cl-" for internal definitions.  Use macroexp-const-p.
4721         (cl-old-bc-file-form): Remove var.
4722         (cl-const-exprs-p): Remove fun.
4723         (cl-labels, cl-macrolet): Use backquote.
4724         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
4725         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4726         (cl-define-setf-expander): Rename from cl-define-setf-method.
4727         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4729         * international/mule-cmds.el: Don't require CL.
4730         (view-hello-file): Don't use `letf'.
4732 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4734         * tmm.el (tmm-prompt): Use string-prefix-p.
4735         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4736         (tmm-add-prompt): Use minibuffer-completion-help.
4737         (tmm-delete-map): Remove.
4739         * subr.el (kbd): Make it its own function.
4741 2012-06-07  Stefan Merten  <smerten@oekonux.de>
4743         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4744         Silence compiler warnings.  Fix versions.
4745         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
4746         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
4747         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
4748         (rst-package-emacs-version-alist): Correct Emacs version to
4749         represent major merge with upstream.
4750         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
4752 2012-06-06  Glenn Morris  <rgm@gnu.org>
4754         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4755         Only print environment variables if set.
4757 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4759         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4760         (macroexp--cons): Rename from maybe-cons.
4761         (macroexp--accumulate): Rename from macroexp-accumulate.
4762         (macroexp--all-forms): Rename from macroexpand-all-forms.
4763         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4764         (macroexp--expand-all): Rename from macroexpand-all-1.
4766 2012-06-06  Sam Steingold  <sds@gnu.org>
4768         * calendar/calendar.el (calendar-in-read-only-buffer):
4769         Call `special-mode' to enable the standard read-only keybindings.
4771 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4773         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4774         with "loading" messages (bug#11635).
4776 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
4778         * files.el (enable-remote-dir-locals): New option.
4779         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
4781         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4782         Ensure, that the temp directory is local.
4784         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4785         `temporary-file-directory'.
4787         * progmodes/python.el (python-send-region): Ensure, that the
4788         temporary file is created also in the remote case.
4790 2012-06-06  Glenn Morris  <rgm@gnu.org>
4792         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4793         (vc-rcs-update-changelog): Use it.
4795         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
4797         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4798         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4799         (vc-sccs-diff): Replace use of the external vcdiff script.
4801 2012-06-05  Glenn Morris  <rgm@gnu.org>
4803         * ledit.el: Move to obsolete/.
4805 2012-06-05  Sam Steingold  <sds@gnu.org>
4807         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
4808         patch (Bug#11140).
4810 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4812         * emacs-lisp/cust-print.el: Move to obsolete.
4814         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4815         compiler-macro expansion.
4817         Add native compiler-macro support.
4818         * emacs-lisp/macroexp.el (macroexpand-all-1):
4819         Support compiler-macros directly.  Properly follow aliases and apply
4820         the compiler macros more thoroughly.
4821         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4822         macroexpand now properly follows aliases.
4823         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4824         (cl-compiler-macroexpand): Use new prop.
4825         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4827         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4829 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
4831         * window.el (get-lru-window, get-mru-window, get-largest-window):
4832         New argument NOT-SELECTED to avoid picking the selected window.
4833         (window--display-buffer-1, window--display-buffer-2): Replace by
4834         new function window--display-buffer
4835         (display-buffer-same-window, display-buffer-reuse-window)
4836         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4837         Use window--display-buffer.
4838         (display-buffer-use-some-window): Remove temporary dedication
4839         hack by calling get-lru-window and get-largest-window with
4840         NOT-SELECTED argument non-nil.  Call window--display-buffer.
4842 2012-06-05  Glenn Morris  <rgm@gnu.org>
4844         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4845         Replace external vcdiff script.
4847 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4849         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4851 2012-06-04  Chong Yidong  <cyd@gnu.org>
4853         * image.el (imagemagick-types-inhibit): Revert last change.
4854         Add INFO and M.
4855         (imagemagick-enabled-types): Remove CIN and EPS*.
4857 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4859         * emacs-lisp/cl-lib.el: Rename from cl.el.
4860         * emacs-lisp/cl.el: New compatibility file.
4861         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4862         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4863         to obey the "cl-" prefix.
4864         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4866 2012-06-03  Glenn Morris  <rgm@gnu.org>
4868         * emacs-lisp/authors.el (authors-aliases): Addition.
4870         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4871         Fix :version.
4873 2012-06-03  Stefan Merten  <smerten@oekonux.de>
4875         * textmodes/rst.el: Add comments.
4876         (rst-transition, rst-adornment): New faces.
4877         (rst-adornment-faces-alist): Make default safe to reevaluate.
4878         Fixes
4879         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4880         Improve customization tags.
4881         (rst-define-level-faces): Clarify meaning.
4883 2012-06-03  Chong Yidong  <cyd@gnu.org>
4885         * progmodes/compile.el (compilation-mode-line-fail)
4886         (compilation-mode-line-run, compilation-mode-line-exit):
4887         New faces.
4888         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4890 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
4892         * progmodes/which-func.el (which-func-update-ediff-windows):
4893         New function.  Use it in ediff-select-hook (Bug#11478).
4895 2012-06-03  Chong Yidong  <cyd@gnu.org>
4897         * bindings.el: Remove explicit help text from format-mode-line.
4898         It is now supplied by mode-line-default-help-echo.
4899         (mode-line-front-space, mode-line-end-spaces)
4900         (mode-line-misc-info): New variables.
4901         (mode-line-modes, mode-line-position): Move the default value to
4902         the variable definition.
4903         (mode-line-default-help-echo): New defcustom.
4904         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4905         (mode-line-modified-help-echo): New functions.
4906         (mode-line-mule-info, mode-line-modified): Use them.
4907         (mode-line-eol-desc, propertized-buffer-identification):
4908         Consistency fixes for help text.
4909         (mode-line-coding-system-map): Allow using mouse-3 to invoke
4910         set-buffer-file-coding-system (Bug#289).
4911         (mode-line-mule-info-help-echo): Update help text.
4913 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4915         * simple.el (execute-extended-command): Set real-this-command
4916         (bug#11506).
4918 2012-06-02  Chong Yidong  <cyd@gnu.org>
4920         Remove incorrect uses of "modeline" in comments, docstrings, and
4921         function/variable names (Bug#10329).
4923         * cus-edit.el (mode-line):
4924         * dframe.el (dframe-mouse-hscroll):
4925         * emacs-lisp/re-builder.el:
4926         * emacs-lisp/easy-mmode.el (define-minor-mode):
4927         * frame.el (set-frame-name):
4928         * help.el (lookup-minor-mode-from-indicator):
4929         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4930         * progmodes/cc-cmds.el (c-toggle-auto-newline)
4931         (c-toggle-hungry-state):
4932         * progmodes/antlr-mode.el (antlr-language-alist):
4933         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4934         * progmodes/vhdl-mode.el (vhdl-mode):
4935         * progmodes/which-func.el (which-func, which-func-cleanup-function):
4936         * term/ns-win.el (ns-face-at-pos):
4937         * term/sup-mouse.el (sup-mouse-report):
4938         * textmodes/flyspell.el (flyspell-mode-line-string):
4939         * textmodes/ispell.el (ispell-highlight-face):
4940         * textmodes/reftex-global.el:
4941         * vc/vc-arch.el (vc-arch-mode-line-string):
4942         * vc/vc-cvs.el (vc-cvs-mode-line-string):
4943         * vc/vc-git.el (vc-git-mode-line-string):
4944         * vc/vc-hooks.el (vc-display-status)
4945         (vc-default-mode-line-string):
4946         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4948         * ansi-color.el (ansi-color-faces-vector): Change default faces.
4950         * dired.el (dired-sort-set-mode-line): Rename from
4951         dired-sort-set-modeline.  All callers changed.
4953         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4954         eshell-status-in-modeline.
4956         * foldout.el (foldout-mode-line-string): Rename from
4957         foldout-modeline-string.  All callers changed.
4958         (foldout-update-mode-line): Rename from foldout-update-modeline.
4960         * subr.el (redraw-modeline): Make into obsolete alias.
4962         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4963         timeclock-modeline-display.  Make old name an alias.
4964         (timeclock-update-mode-line): Likewise.  All callers changed.
4965         (timeclock-mode-line-display): No need to check before using
4966         add-hook.
4967         (timeclock-relative, timeclock-day-over-hook)
4968         (timeclock-use-elapsed, timeclock-mode-string)
4969         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4971         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4972         crisp-mode-modeline-string.
4974         * play/solitaire.el (solitaire-build-mode-line): Rename from
4975         solitaire-build-modeline.  All callers changed.
4977         * play/zone.el (zone-hiding-mode-line): Rename from
4978         zone-hiding-modeline.  All callers changed.
4979         (zone): Remove unusued `modeline-hidden-level' property.
4981         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4982         xscheme-modeline-initialize.  All callers changed.
4984         * strokes.el (strokes-lighter): Rename from
4985         strokes-modeline-string.
4987         * textmodes/sgml-mode.el (html-face-tag-alist)
4988         (html-tag-face-alist): Use mode-line face instead of obsolete
4989         alias modeline.
4991 2012-06-02  Stefan Merten  <smerten@oekonux.de>
4993         * textmodes/rst.el: Always require `cl'.
4994         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
4996 2012-06-02  Chong Yidong  <cyd@gnu.org>
4998         * image.el (imagemagick-enabled-types): Rename from
4999         imagemagick-types-enable.  Add many more types.
5000         (imagemagick-types-inhibit): Change default to nil.
5001         (imagemagick-filter-types): Caller changed.
5003 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5005         * emacs-lisp/cl-macs.el: Use backquotes.
5006         (cl-transform-function-property): Use eval-and-compile rather than
5007         abusing `require'.
5008         (defstruct): Use declare-function instead of with-no-warnings.
5010         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5011         (byte-compile-output-docform): Re-add the print-circle bindings.
5012         (byte-compile-fix-header): Use #$ just because it's shorter.
5013         (byte-compile-output-file-form): Remove defun/defmacro.
5015 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
5017         * simple.el (choose-completion): Remove now obsolete binding for
5018         owindow.
5020 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
5022         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5023         in order to avoid "Stack overflow in regexp matcher".
5025 2012-05-31  Glenn Morris  <rgm@gnu.org>
5027         * image.el: For clarity, call imagemagick-register-types at
5028         top-level, rather than relying on a custom :initialize.
5029         (imagemagick-types-enable): New option.  (Bug#11557)
5030         (imagemagick-filter-types): New function.  (Bug#7406)
5031         (imagemagick-register-types): Use imagemagick-filter-types.
5032         If disabling support, remove elements altogether rather
5033         than using an impossible regexp.
5034         (imagemagick-types-inhibit): Give it the default init function.
5036 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5038         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5039         Handle arbitrary file name lengths (Bug#11585).
5041 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
5043         * desktop.el (desktop-read): Clear previous and next buffers for
5044         all windows and bury *Messages* buffer (bug#11556).
5046 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5048         Add `declare' for `defun'.  Align `defmacro's with it.
5049         * emacs-lisp/easy-mmode.el (define-minor-mode)
5050         (define-globalized-minor-mode): Don't autoload the var definitions.
5051         * emacs-lisp/byte-run.el: Use lexical-binding.
5052         (defun-declarations-alist, macro-declarations-alist): New vars.
5053         (defmacro, defun): Use them.
5054         (make-obsolete, define-obsolete-function-alias)
5055         (make-obsolete-variable, define-obsolete-variable-alias):
5056         Use `declare'.
5057         (macro-declaration-function): Mark obsolete.
5058         * emacs-lisp/autoload.el: Use lexical-binding.
5059         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
5061 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5063         * textmodes/ispell.el (ispell-with-no-warnings):
5064         Define as a macro.
5065         (ispell-kill-ispell, ispell-change-dictionary):
5066         Use `called-interactively-p' for Emacs instead of obsolete
5067         `interactive-p'.
5069 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5071         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5072         (macro-declaration-function): Move var from C code.
5073         (macro-declaration-function): Define function with defalias.
5074         * emacs-lisp/macroexp.el (macroexpand-all-1):
5075         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5076         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5077         defun/defmacro any more.
5078         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5079         Provide fallback for unknown arglist.
5080         (byte-compile-arglist-warn): Change calling convention.
5081         (byte-compile-output-file-form): Move print-vars binding.
5082         (byte-compile-output-docform): Simplify accordingly.
5083         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5084         (byte-compile-defmacro-declaration): Remove.
5085         (byte-compile-file-form-defmumble): Generalize to defalias.
5086         (byte-compile-output-as-comment): Return byte-positions.
5087         Simplify callers accordingly.
5088         (byte-compile-lambda): Use `assert'.
5089         (byte-compile-defun, byte-compile-defmacro): Remove.
5090         (byte-compile-file-form-defalias):
5091         Use byte-compile-file-form-defmumble.
5092         (byte-compile-defalias-warn): Remove.
5094 2012-05-29  Stefan Merten  <smerten@oekonux.de>
5096         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5097         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
5099         (rst-mode-abbrev-table): Merge definition.
5100         (rst-mode): Make sure `font-lock-defaults' is buffer local.
5101         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5103 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
5105         * calendar/icalendar.el
5106         (icalendar-export-region): Export UID properly.
5108 2012-05-29  Leo Liu  <sdl.web@gmail.com>
5109         * calendar/icalendar.el (icalendar-import-format):
5110         Add `icalendar-import-format-uid' (Bug#11525).
5111         (icalendar-import-format-uid): New.
5112         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5113         Export UID.
5115 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5117         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5118         different alternative patterns.
5119         (pcase-codegen): Be more careful to preserve identity.
5120         (pcase--u1): Don't forget to mark vars as used.
5122         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5123         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5124         (byte-compile-from-buffer): ...rather than here.
5126         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5127         functions from byte-compile-function-environment.
5129 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
5131         * window.el (window-deletable-p): Avoid deleting the root window
5132         of a frame with an active minibuffer.
5134 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
5136         * simple.el (choose-completion): Use quit-window (Bug#11567).
5138 2012-05-29  Chong Yidong  <cyd@gnu.org>
5140         * whitespace.el (whitespace-cleanup): Fix usage of
5141         whitespace-empty-at-bob-regexp (Bug#11492).
5143 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5145         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5146         revert (Bug#11488).
5148 2012-05-29  Juri Linkov  <juri@jurta.org>
5150         * isearch.el (isearch-mode-map): Bind `M-s _' to
5151         `isearch-toggle-symbol'.  Bind `M-s c' to
5152         `isearch-toggle-case-fold'.
5153         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5154         (isearch-forward): Add `M-s _' to the docstring.
5155         (isearch-forward-symbol, isearch-toggle-case-fold)
5156         (isearch-symbol-regexp): New functions.  (Bug#11381)
5158 2012-05-29  Juri Linkov  <juri@jurta.org>
5160         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
5161         (isearch-occur, isearch-search-and-update): If `isearch-word' is
5162         a function, call it to get the regexp.
5163         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5164         property `isearch-message-prefix' instead of the string "word ".
5165         (isearch-search-fun-default): For the case of `isearch-word',
5166         return a lambda that calls re-search-forward/re-search-backward
5167         with a regexp returned by `word-search-regexp' or by the function
5168         in `isearch-word'.
5170 2012-05-29  Juri Linkov  <juri@jurta.org>
5172         * isearch.el (isearch-search-fun-default): New function.
5173         (isearch-search-fun): Move default part to the new function
5174         `isearch-search-fun-default'.
5175         (isearch-search-fun-function): Set the default value to
5176         `isearch-search-fun-default'.  (Bug#11381)
5178         * comint.el (comint-history-isearch-end):
5179         Use `isearch-search-fun-default'.
5180         (comint-history-isearch-search): Use `isearch-search-fun-default'
5181         and remove spacial case for `isearch-word'.
5182         (comint-history-isearch-wrap): Remove spacial case for
5183         `isearch-word'.
5185         * hexl.el (hexl-isearch-search-function):
5186         Use `isearch-search-fun-default'.
5188         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5189         Use `word-search-regexp' for `isearch-word'.
5191         * misearch.el (multi-isearch-search-fun):
5192         Use `isearch-search-fun-default'.
5194         * simple.el (minibuffer-history-isearch-search):
5195         Use `isearch-search-fun-default' and remove spacial case for
5196         `isearch-word'.
5197         (minibuffer-history-isearch-wrap): Remove spacial case for
5198         `isearch-word'.
5200         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5201         Remove spacial case for `isearch-word'.
5202         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5204 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5206         Decrease XEmacs incompatibilities.
5207         * textmodes/flyspell.el (flyspell-check-pre-word-p):
5208         Use `string-match'.
5209         (flyspell-delete-region-overlays): Use alternative definition for
5210         XEmacs.
5211         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5212         (flyspell-word): Use `process-kill-without-query' if XEmacs.
5213         (flyspell-mode-on): Use `interactive-p' if XEmacs.
5214         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5215         `define-obsolete-face-alias' under XEmacs, but old method.
5217         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5218         `with-no-warnings' definition or Emacs alias.
5219         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5220         (ispell-word): Do not use `region-p' if XEmacs.
5222 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5224         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5225         Check for `ispell-dictionary-base-alist' instead of full
5226         `ispell-dictionary-alist'.
5227         (ispell-init-process): Show spellchecker when starting new Ispell
5228         process.
5230 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5232         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5233         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5235 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
5237         * version.el (motif-version-string, gtk-version-string)
5238         (ns-version-string): Declare.
5240 2012-05-27  Juri Linkov  <juri@jurta.org>
5242         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5243         after the `eval-defun-1' specialcaseing
5244         like in `edebug-eval-defun' (bug#10181).
5246         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5247         like in `eval-defun-1'.
5249 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
5251         * mail/sendmail.el (mail-yank-region):
5252         Recognize rmail-yank-current-message in addition to insert-buffer.
5253         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5254         a *mail* buffer created through rmail-start-mail with sendmail as
5255         mail-user-agent.
5257 2012-05-27  Chong Yidong  <cyd@gnu.org>
5259         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5260         Default to 256 (Bug#11267).
5262         * help.el (describe-mode): Doc fix.
5264 2012-05-26  Glenn Morris  <rgm@gnu.org>
5266         * w32-fns.el (w32-init-info): Remove.
5267         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5269         * info.el (info-initialize): For self-contained NS builds, put the
5270         included info/ directory at the front.  (Bug#2791)
5272         * paths.el (Info-default-directory-list): Make it a defcustom,
5273         mainly so that we can use custom-initialize-delay.
5275 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5277         * subr.el (buffer-has-markers-at): Mark obsolete.
5279         * subr.el (lambda): Use declare.
5281         * emacs-lisp/lisp-mode.el (lambda):
5282         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5284 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5286         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
5288 2012-05-26  Glenn Morris  <rgm@gnu.org>
5290         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5292 2012-05-25  Glenn Morris  <rgm@gnu.org>
5294         * paths.el: Remove no-byte-compile.
5295         * loadup.el: No need to load paths.el uncompiled.
5297         * image.el (imagemagick-types-inhibit): Doc fix.
5299         * version.el: Remove no-byte-compile and associated formatting.
5300         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
5301         is ancient code from when there was an "inc-vers.el".
5303 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5305         * progmodes/gdb-mi.el: Minor style changes.
5306         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5307         Turn into minor modes.
5308         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5309         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5310         (gdb-shell): Remove unneeded let-binding.
5311         (gdb-get-many-fields): Eliminate O(n²) behavior.
5313 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
5315         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5316         platforms that don't link in fontset.c.
5318 2012-05-25  Juri Linkov  <juri@jurta.org>
5320         Use the same diff color scheme as in modern VCSes (bug#10181).
5322         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5323         to avoid confusion with `diff-added' that now uses green colors.
5324         (diff-removed): Use shades of red.
5325         (diff-added): Use shades of green.
5326         (diff-changed): Leave just the yellow color.
5327         (diff-use-changed-face): New variable.
5328         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5329         how to highlight context diff changes.
5330         (diff-refine-change): Use shades of yellow.
5331         (diff-refine-removed): New face that uses shades of red.
5332         (diff-refine-added): New face that uses shades of green.
5333         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5334         `diff-refine-removed' in the call to `smerge-refine-subst'
5335         depending on the value of `diff-use-changed-face'.
5337         * vc/smerge-mode.el (smerge-mine): Use shades of red.
5338         (smerge-other): Use shades of green.
5339         (smerge-base): Use shades of yellow.
5340         (smerge-refined-change): Empty face.
5341         (smerge-refined-removed): New face that uses shades of red.
5342         (smerge-refined-added): New face that uses shades of green.
5343         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
5344         args `props-r' and `props-a', and use them.  Doc fix.
5345         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5346         on its value use different faces `smerge-refined-change',
5347         `smerge-refined-removed', `smerge-refined-added' in the call to
5348         `smerge-refine-subst'.
5350         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5351         Add face condition `min-colors 88' with shades of red.
5352         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5353         `min-colors 88' with shades of green.
5354         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5355         `min-colors 88' with shades of yellow.
5357 2012-05-24  Glenn Morris  <rgm@gnu.org>
5359         * paths.el (prune-directory-list, remote-shell-program): Move to...
5360         * files.el (prune-directory-list, remote-shell-program): ...here.
5361         For the latter, delay initialization, prefer ssh, just search PATH.
5363         * paths.el (term-file-prefix): Move to faces.el (the only user).
5364         * faces.el (term-file-prefix): Move here, make it a defcustom.
5366         * paths.el (news-directory, news-path, news-inews-program):
5367         Move to gnus/nnspool.el.
5369         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5371         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5372         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5373         Make the latter a defcustom, with a delayed initialization.
5375         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5376         These were deleted from Gnus itself late 2010.
5378 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
5380         * progmodes/which-func.el (which-func-ff-hook):
5381         Check against user-error, not error.
5383         * emacs-lisp/edebug.el (top): Do not load or set up loading of
5384         cl-specs.el, which no longer exists.
5386 2012-05-22  Glenn Morris  <rgm@gnu.org>
5388         * info.el (info-emacs-bug): New command.
5389         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5390         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5392 2012-05-21  Glenn Morris  <rgm@gnu.org>
5394         * makefile.w32-in (update-subdirs-SH):
5395         * Makefile.in (update-subdirs): Update for moved update-subdirs.
5397 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5399         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5401         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5402         Simplify Maven regexp, and make sure the file can't start with a space
5403         (bug#11517).
5405 2012-05-21  Glenn Morris  <rgm@gnu.org>
5407         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5408         Scrap superfluous subshells.
5410 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5412         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5413         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5415 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
5417         * calc/calc.el (calc-ensure-consistent-units): New variable.
5419         * calc/calc-units.el (math-consistent-units-p)
5420         (math-check-unit-consistency): New functions.
5421         (calc-quick-units, calc-convert-units):
5422         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5423         is non-nil.
5424         (calc-extract-units): Fix typo.
5426 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5428         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5430         * textmodes/flyspell.el: Commenting style, plus code simplifications.
5431         (flyspell-default-deplacement-commands): Don't spell check after
5432         repeated window/frame switches (e.g. triggered by mouse-movement).
5433         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5434         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5435         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5436         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5437         Remove unused vars.
5438         (flyspell-get-casechars, flyspell-get-not-casechars):
5439         Simplify; Don't bother removing a ] just to add it back.
5440         * textmodes/ispell.el (ispell-program-name): Use executable-find.
5442 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5444         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5445         New functions.
5446         (math-function-table): Add support for more C functions.
5448 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5450         * textmodes/flyspell.el (flyspell-check-pre-word-p)
5451         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5452         Protect delay handling for otherchars against empty otherchars.
5454 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5456         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5457         their respective macro declarations.
5458         * skeleton.el (define-skeleton):
5459         * progmodes/compile.el (define-compilation-mode):
5460         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5461         (define-ibuffer-filter):
5462         * emacs-lisp/generic.el (define-generic-mode):
5463         * emacs-lisp/easy-mmode.el (define-minor-mode)
5464         (define-globalized-minor-mode):
5465         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5466         * emacs-lisp/byte-run.el (defsubst):
5467         * custom.el (deftheme): Add doc-string metadata.
5469 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5471         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5473 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5475         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5477         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5478         * emacs-lisp/cl-macs.el: Idem.
5479         * emacs-lisp/cl-specs.el: Remove.
5481 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5483         Minor renaming of internal CL functions and variables.
5484         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5485         (cl--position): Rename from cl-position.
5486         (cl--delete-duplicates): Rename from cl-delete-duplicates.
5487         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5488         (cl--random-state): Rename from *random-state*.
5490 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5492         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5493         parens around the arg list (bug#11499).
5495 2012-05-17  Juri Linkov  <juri@jurta.org>
5497         * isearch.el (word-search-regexp, word-search-backward)
5498         (word-search-forward, word-search-backward-lax)
5499         (word-search-forward-lax): Move functions from search.c
5500         (bug#10145, bug#11381).
5502 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5504         * textmodes/flyspell.el (flyspell-check-pre-word-p)
5505         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5506         Delay for otherchars as for normal word components.
5508 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5510         * minibuffer.el (completion--sifn-requote): Fix last change.
5511         (minibuffer-local-must-match-filename-map):
5512         Move define-obsolete-variable-alias before its var.
5514 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5516         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5518         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5519         behavior.
5520         (completion--string-equal-p): New function.
5521         (completion--twq-all): Use it to get better assertion failure data.
5523         Only handle ".." and '..' quoting in shell-mode (bug#11466).
5524         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5525         (shell--requote-argument): New functions.
5526         (shell-completion-vars): Use them.
5527         (shell--parse-pcomplete-arguments): Rename from
5528         shell-parse-pcomplete-arguments.
5529         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
5530         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5531         Obey comint-file-name-quote-list.
5533         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5534         (smie-indent-keyword): Use it.
5536 2012-05-14  Stefan Merten  <smerten@oekonux.de>
5538         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5540 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5542         * net/rlogin.el (rlogin-mode-map): Fix last change.
5544 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
5546         * mail/smtpmail.el (smtpmail-send-command): Send the command and
5547         the following \r\n using a single `process-send-string', since the
5548         Lotus SMTP server refuses to accept any commands if they are sent
5549         with two `process-send-string's (Bug#11444).
5551 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5553         * shell.el (shell-parse-pcomplete-arguments):
5554         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
5556 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
5558         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5559         (image-transform-scale, image-transform-right-angle-fudge): New vars.
5560         (image-transform-width, image-transform-fit-width): New functions.
5561         (image-transform-properties): Use them.
5562         (image-transform-check-size): New function.
5563         (image-toggle-display-image): Use it (for testing).
5564         (image-transform-set-rotation): Reduce angle mod 360.
5565         Delete obsolete comment.
5567 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
5569         * image-mode.el: Fix scaling (bug#11399).
5570         (image-transform-resize): Doc fix.
5571         (image-transform-properties): Default scale is 1 and height should
5572         be an integer.
5574 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
5576         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5577         than hard-coding `car', to fix misbehavior when moving forward.
5579 2012-05-13  Chong Yidong  <cyd@gnu.org>
5581         * emacs-lisp/tabulated-list.el (tabulated-list-format)
5582         (tabulated-list-entries, tabulated-list-padding)
5583         (tabulated-list-sort-key): Make permanent-local.
5585         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5586         (electric-buffer-list): Put electric buffer menu
5587         command descriptions in this docstring, instead of the docstring
5588         of electric-buffer-menu-mode.  Code cleanups.
5589         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
5590         Electric-buffer-menu-mode.
5591         (electric-buffer-update-highlight): Minor code cleanup.
5593 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
5595         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5596         (Bug#11447)
5598 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5600         Move define-obsolete-variable-alias before the var's definition.
5601         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5602         * tooltip.el (tooltip-hook):
5603         * textmodes/reftex-toc.el (reftex-toc-map):
5604         * textmodes/reftex-sel.el (reftex-select-label-map)
5605         (reftex-select-bib-map):
5606         * textmodes/reftex-index.el (reftex-index-map)
5607         (reftex-index-phrases-map):
5608         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5609         * progmodes/meta-mode.el (meta-mode-map):
5610         * novice.el (disabled-command-hook):
5611         * loadhist.el (unload-hook-features-list):
5612         * frame.el (blink-cursor):
5613         * files.el (find-file-not-found-hooks, write-file-hooks)
5614         (write-contents-hooks):
5615         * emulation/tpu-edt.el (GOLD-map):
5616         * emacs-lock.el (emacs-lock-from-exiting):
5617         * emacs-lisp/generic.el (generic-font-lock-defaults):
5618         * emacs-lisp/chart.el (chart-map):
5619         * dos-fns.el (register-name-alist):
5620         * dired-x.el (dired-omit-files-p):
5621         * desktop.el (desktop-enable):
5622         * cus-edit.el (custom-mode-hook):
5623         * buff-menu.el (buffer-menu-mode-hook):
5624         * bookmark.el (bookmark-read-annotation-text-func)
5625         (bookmark-exit-hooks):
5626         * allout.el (allout-mode-deactivate-hook)
5627         (allout-exposure-change-hook, allout-structure-added-hook)
5628         (allout-structure-deleted-hook, allout-structure-shifted-hook):
5629         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5630         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5631         comes before the corresponding variable's definition.
5633 2012-05-12  Chong Yidong  <cyd@gnu.org>
5635         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
5636         (Buffer-menu-mouse-select): Restore function (Bug#11459).
5637         (Buffer-menu-mode-map): Bind it.
5638         (Buffer-menu--pretty-name): Add a mouse-face property.
5640 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5642         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
5643         (prolog-upper-case-string, prolog-lower-case-string)
5644         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5645         (prolog-use-smie, prolog-smie-grammar): New vars.
5646         (prolog-smie-forward-token, prolog-smie-backward-token)
5647         (prolog-smie-rules): New funs.
5648         (prolog-comment-indent): Remove.
5649         (prolog-mode-variables): Use default comment indentation instead.
5650         Setup SMIE.
5651         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5652         (prolog-mode): Don't call them any more.
5653         (prolog-electric-colon, prolog-electric-dash)
5654         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5656         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5658         * minibuffer.el (completion--twq-all): Again, allow case differences.
5660         * term.el: Move keymap initialization code to be more idiomatic.
5661         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5662         (term-terminal-menu): Move initialization into declaration.
5663         (term-escape-char): Let the user set it in her .emacs.
5665         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5666         Provide SMIE-based indentation (not enabled by default yet).
5667         (sh-mode-map): Don't bind electric keys.
5668         Use electric-pair-mode instead of skeleton-pair.
5669         (sh-assignment-regexp): Fit within 80 columns.
5670         (sh-indent-supported): Specify actual shell name instead of boolean.
5671         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5672         (sh-maybe-here-document): Use it.  Make obsolete.
5673         (sh-electric-here-document-mode) New minor mode.
5674         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
5675         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5676         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5677         (sh-smie-rc-grammar, sh-use-smie): New vars.
5678         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5679         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5680         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5681         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5682         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5683         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5684         (sh-set-shell): Use smie-setup if requested.
5686         * term.el (term-set-escape-char): Properly set term-escape-char.
5687         See http://stackoverflow.com/questions/10524656.
5689 2012-05-10  Chong Yidong  <cyd@gnu.org>
5691         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5692         Use url-generic-parse-url, and handle host names and Windows
5693         filenames properly.
5694         (ffap-url-unwrap-remote): Use url-generic-parse-url.
5695         (ffap-url-unwrap-remote): Accept list values, specifying a list of
5696         URL schemes to work on.
5697         (ffap--toggle-read-only): New function.
5698         (ffap-read-only, ffap-read-only-other-window)
5699         (ffap-read-only-other-frame): Use it.
5700         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5701         necessary for ffap-url-unwrap-remote.
5703 2012-05-10  Dave Abrahams  <dave@boostpro.com>
5705         * cus-start.el (create-lockfiles): Add it.
5707 2012-05-09  Chong Yidong  <cyd@gnu.org>
5709         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5710         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5712 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5714         * shell.el (shell-completion-vars): Fix last change (bug#11348).
5716 2012-05-09  Chong Yidong  <cyd@gnu.org>
5718         * ansi-color.el (ansi-color-process-output): Check for validity of
5719         comint-last-output-start before using it.  This avoids a bad
5720         interaction with gdb-mi's input/output buffer.
5722 2012-05-09  Glenn Morris  <rgm@gnu.org>
5724         * files.el (dir-locals-read-from-file):
5725         Mention dir-locals in any error message.
5727 2012-05-09  Chong Yidong  <cyd@gnu.org>
5729         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5730         package (Bug#11410).
5732         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5733         variables into description.
5735 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5737         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5738         shell-delimiter-argument-list (bug#11348).
5739         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5741 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
5743         * textmodes/rst.el: Silence byte-compiler warnings.
5744         (rst-re-alist, rst-reset-section-caches): Move around.
5745         (rst-re): Use `characterp', not `char-valid-p'.
5746         (font-lock-beg, font-lock-end): Declare.
5748         * progmodes/idlw-shell.el (specs): Remove reference to deleted
5749         variable `idlwave-shell-activate-alt-keybindings' and simplify.
5751         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5753 2012-05-08  Glenn Morris  <rgm@gnu.org>
5755         * files.el (auto-mode-alist): Treat ".make" like ".mk".
5757 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5759         * vc/log-edit.el: Add GNU coding standards highlighting.
5760         (log-edit-font-lock-gnu-style)
5761         (log-edit-font-lock-gnu-keywords): New vars.
5762         (log-edit-font-lock-keywords): New fun.
5763         (log-edit-mode): Don't fold case in font-lock.
5764         (log-edit-font-lock-keywords): Do not assume case-folding.
5766         * imenu.el: Misc cleanup.  Make docstrings out of comments.
5767         Use lexical-binding.
5768         (imenu--index-alist, imenu--last-menubar-index-alist)
5769         (imenu-menubar-modified-tick): Use defvar-local.
5770         (imenu--split-menu): Remove unused var.
5771         (imenu--cleanup-seen): Declare as global.
5772         (imenu--cleanup): Use dolist.
5774         * subr.el (defvar-local): Add debug spec and doc-string position.
5776 2012-05-08  Glenn Morris  <rgm@gnu.org>
5778         * language/burmese.el, language/cham.el, language/czech.el:
5779         * language/english.el, language/georgian.el, language/greek.el:
5780         * language/japanese.el, language/khmer.el, language/korean.el:
5781         * language/lao.el, language/misc-lang.el, language/romanian.el:
5782         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5783         * language/thai.el, language/utf-8-lang.el:
5784         Remove no-byte-compile setting.
5786         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
5788 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5790         * progmodes/make-mode.el (makefile-browse):
5791         Remove unnecessary interactive.  (Bug#11324)
5793 2012-05-07  Glenn Morris  <rgm@gnu.org>
5795         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5797         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5799 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5801         * loadup.el: Preload newcomment.el.
5802         * newcomment.el: Move autoload-only code to toplevel.
5804         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5805         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5806         Handle new :right-align column property.
5807         (tabulated-list-print-col): Idem, plus use `display' text-property to
5808         try and preserve alignment for variable pitch fonts.
5810 2012-05-07  Chong Yidong  <cyd@gnu.org>
5812         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5813         (tabulated-list-use-header-line): New var.
5814         (tabulated-list-init-header): Use it.
5815         (tabulated-list-print-fake-header): New function.
5816         (tabulated-list-print): Use it.
5817         (tabulated-list-sort-button-map): Add non-header-line commands.
5818         (tabulated-list-init-header): Add column name property to basic
5819         labels as well.
5820         (tabulated-list-col-sort): Handle non-header-line button case.
5821         (tabulated-list--sort-by-column-name): Fix a corner case.
5823         * buff-menu.el (list-buffers--refresh):
5824         Handle Buffer-menu-use-header-line.
5826 2012-05-06  Chong Yidong  <cyd@gnu.org>
5828         * buff-menu.el: Convert to Tabulated List mode.
5829         (Buffer-menu-buffer+size-width): Make obsolete.
5830         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5831         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5832         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
5833         documentation into docstring of buffer-menu.
5834         (Buffer-menu-toggle-files-only): Add an informative message.
5835         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5836         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5837         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5838         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5839         (Buffer-menu-execute, Buffer-menu-select)
5840         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5841         (Buffer-menu-bury): Use Tabulated List machinery.
5842         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5843         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
5844         Delete.
5845         (list-buffers--refresh): New function.
5846         (list-buffers-noselect): Use it.
5847         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5848         (Buffer-menu--pretty-file-name): New helper functions.
5850         * loadup.el: Preload tabulated-list.
5852         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5853         tabulated-list-sort-column.
5854         (tabulated-list-init-header): Add the initial aligning space even
5855         if tabulated-list-padding is zero.
5857 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
5859         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5860         whose cdr is not a cons cell correctly (bug#11038).
5862 2012-05-06  Chong Yidong  <cyd@gnu.org>
5864         * emacs-lisp/tabulated-list.el (tabulated-list-format):
5865         Accept additional plist in column descriptors.
5866         (tabulated-list-init-header): Obey it.
5867         (tabulated-list-get-entry): New function.
5868         (tabulated-list-put-tag): Use it.  Use string-width instead of
5869         length.
5870         (tabulated-list--column-number): New function.
5871         (tabulated-list-print): Use it.
5872         (tabulated-list-print-col): New function.
5873         Set `tabulated-list-column-name' property on each column's text.
5874         (tabulated-list-print-entry): Use it.
5875         (tabulated-list-delete-entry, tabulated-list-set-col):
5876         New functions.
5877         (tabulated-list-sort-column): New command (Bug#11337).
5879         * buff-menu.el (list-buffers): Move C-x C-b binding from
5880         buff-menu.el to bindings.el.
5882         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5883         :advertised-binding feature.
5885 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
5887         * progmodes/compile.el (compilation-internal-error-properties):
5888         Calculate start position correctly when end-col is set but
5889         end-line is not (Bug#11382).
5891 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
5893         * man.el (Man-unindent): Use text-property-default-nonsticky to
5894         prevent untabify from inheriting face properties (Bug#11408).
5896 2012-05-05  Stefan Merten  <smerten@oekonux.de>
5898         * textmodes/rst.el: Major merge with upstream development up to
5899         Docutils SVN r7399 / rst.el V1.2.1.
5901         Clarify maintainership and authors.
5903         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5904         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5905         (rst-official-version, rst-official-cvs-rev, rst-version)
5906         (rst-package-emacs-version-alist): New functions and variables
5907         for version information.
5909         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5910         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5911         (rst-mode-syntax-table, rst-mode): New and corrected functions
5912         and variables representing reStructuredText features.
5914         (rst-re): New function for reStructuredText regexes.  Use in
5915         many places.
5917         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5918         (rst-mode-map): Rebind keys.
5920         (rst-mode-lazy, rst-font-lock-keywords)
5921         (rst-font-lock-extend-region)
5922         (rst-font-lock-extend-region-internal)
5923         (rst-font-lock-extend-region-extend)
5924         (rst-font-lock-find-unindented-line-limit)
5925         (rst-font-lock-find-unindented-line-match)
5926         (rst-adornment-level, rst-font-lock-adornment-level)
5927         (rst-font-lock-adornment-match)
5928         (rst-font-lock-handle-adornment-pre-match-form)
5929         (rst-font-lock-handle-adornment-matcher): Major revision of
5930         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
5932         (rst-preferred-adornments, rst-adjust-hook)
5933         (rst-new-adornment-down, rst-preferred-bullets)
5934         (rst-preferred-bullets, rst-indent, rst-indent-width)
5935         (rst-indent-field, rst-indent-literal-normal)
5936         (rst-indent-literal-minimized, rst-indent-comment): Change,
5937         extend and improve customization.
5939         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5940         (rst-normalize-cursor-position, rst-get-decoration)
5941         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5942         (rst-rstrip, rst-toc-insert-find-delete-contents)
5943         (rst-shift-fill-region, rst-compute-bullet-tabs)
5944         (rst-debug-print-tabs, rst-debug-mark-found)
5945         (rst-shift-region-guts, rst-shift-region-right)
5946         (rst-shift-region-left, rst-use-char-classes)
5947         (rst-font-lock-keywords-function)
5948         (rst-font-lock-indentation-point)
5949         (rst-font-lock-find-unindented-line-begin)
5950         (rst-font-lock-find-unindented-line-end)
5951         (rst-font-lock-find-unindented-line)
5952         (rst-font-lock-adornment-point, rst-font-lock-level)
5953         (rst-adornment-level-alist): Remove functions and variables.
5955         (rst-compare-adornments, rst-get-adornment-match)
5956         (rst-suggest-new-adornment, rst-get-adornments-around)
5957         (rst-adornment-complete-p, rst-get-next-adornment)
5958         (rst-adjust-adornment, rst-display-adornments-hierarchy)
5959         (rst-straighten-adornments): Standardize function names to
5960         use "adornment" instead of "decoration".  Correct callers.
5961         Similar standardizing in many places.
5963         (rst-update-section, rst-adjust, rst-promote-region)
5964         (rst-enumerate-region, rst-bullet-list-region)
5965         (rst-repeat-last-character): Correct use of `interactive'.
5967         (rst-classify-adornment, rst-find-all-adornments)
5968         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5969         (rst-find-leftmost-column, rst-repeat-last-character):
5970         Refactor functions.
5972         (rst-find-title-line, rst-reset-section-caches)
5973         (rst-get-adornments-around, rst-adjust-adornment-work)
5974         (rst-arabic-to-roman, rst-roman-to-arabic)
5975         (rst-insert-list-pos, rst-insert-list-new-item)
5976         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5977         New functions.
5979         (rst-all-sections, rst-section-hierarchy)
5980         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5981         New variables.
5983         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5984         configuration instead of only buffer.  Change where necessary.
5986         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5987         (rst-shift-region, rst-adaptive-fill): New functions for
5988         indentation and filling.
5990         (rst-comment-line-break, rst-comment-indent)
5991         (rst-comment-insert-comment, rst-comment-region)
5992         (rst-uncomment-region): New functions for handling comments.
5994         (rst-compile): Quote shell arguments.
5996         (rst-compile-pdf-preview, rst-compile-slides-preview):
5997         Delete temporary files after use.
5999 2012-05-05  Glenn Morris  <rgm@gnu.org>
6001         * calendar/cal-html.el: Optionally include holidays in the output.
6002         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6003         (cal-html-holidays): New option.
6004         (cal-html-css-default): Add holiday entry.
6005         (holiday-in-range): Autoload it.
6006         (cal-html-htmlify-entry): Add optional class argument.
6007         (cal-html-htmlify-list): Add optional holidays argument.
6008         (cal-html-insert-agenda-days): Include holidays in the output.
6009         (cal-html-one-month): Maybe include holidays.
6011         * calendar/holidays.el (holiday-in-range):
6012         Move here from cal-tex-list-holidays.
6013         * calendar/cal-tex.el (cal-tex-list-holidays):
6014         Make it an obsolete alias for holiday-in-range.  Update all callers.
6016 2012-05-05  Chong Yidong  <cyd@gnu.org>
6018         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6019         Nextstep.
6021 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
6023         * files.el (file-auto-mode-skip): New var.
6024         (set-auto-mode-1): Use it.
6026 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6028         * repeat.el: Use lexical-binding.
6029         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6030         (repeat-undo-count): Remove.
6031         (repeat):
6032         * progmodes/octave-mod.el (octave-abbrev-start):
6033         * progmodes/f90.el (f90-abbrev-start):
6034         * face-remap.el (text-scale-adjust):
6035         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6037         * emacs-lisp/pcase.el (pcase--let*): New function.
6038         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6039         a bit more.
6040         (pcase--split-pred): Be more clever about ruling out overlap between
6041         a predicate and some constant pattern.
6042         (pcase--q1): Use `null' instead of (eq foo nil).
6044         * subr.el (setq-local, defvar-local): New macros.
6045         (kbd): Redefine as an alias.
6046         (with-selected-window): Leave unrelated frames alone.
6047         (set-temporary-overlay-map): New function.
6049 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6051         * subr.el (user-error): New function.
6052         * window.el (switch-to-buffer):
6053         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6054         (smerge-match-conflict):
6055         * simple.el (previous-matching-history-element)
6056         (next-matching-history-element, goto-history-element, undo-more)
6057         (undo-start):
6058         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6059         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6060         (next-file, tags-loop-scan, list-tags, complete-tag):
6061         * progmodes/compile.el (compilation-loop):
6062         * mouse.el (mouse-minibuffer-check):
6063         * man.el (Man-bgproc-sentinel, Man-goto-page):
6064         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6065         (Info-history-forward, Info-follow-reference, Info-menu)
6066         (Info-extract-menu-item, Info-extract-menu-counting)
6067         (Info-forward-node, Info-backward-node, Info-next-menu-item)
6068         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6069         (Info-next-reference, Info-prev-reference, Info-index)
6070         (Info-index-next, Info-follow-nearest-node)
6071         (Info-copy-current-node-name):
6072         * imenu.el (imenu--make-index-alist)
6073         (imenu-default-create-index-function, imenu-add-to-menubar):
6074         * files.el (basic-save-buffer, recover-file):
6075         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6076         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6077         (checkdoc-message-text, checkdoc-defun):
6078         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6079         * cus-edit.el (customize-changed-options, customize-rogue)
6080         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6081         (custom-variable-mark-to-reset-standard)
6082         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6083         (custom-file):
6084         * completion.el (check-completion-length):
6085         * comint.el (comint-search-arg)
6086         (comint-previous-matching-input-string-position)
6087         (comint-previous-matching-input)
6088         (comint-replace-by-expanded-history-before-point, comint-send-input)
6089         (comint-copy-old-input, comint-backward-matching-input)
6090         (comint-goto-process-mark, comint-set-process-mark):
6091         * calendar/calendar.el (calendar-cursor-to-date): Use it.
6092         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6094 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6096         * dabbrev.el (dabbrev--ignore-case-p): New function.
6097         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6098         Use it.
6100         * files.el (automount-dir-prefix): Mark as obsolete.
6102 2012-05-04  Glenn Morris  <rgm@gnu.org>
6104         * patcomp.el, play/bruce.el: Move to obsolete/.
6106 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
6108         Fix minor Y10k bugs.
6109         * arc-mode.el (archive-unixdate):
6110         * autoinsert.el (auto-insert-alist):
6111         * calc/calc-forms.el (math-this-year):
6112         * emacs-lisp/copyright.el (copyright-current-year)
6113         (copyright-update-year, copyright):
6114         * tar-mode.el (tar-clip-time-string):
6115         * time.el (display-time-update):
6116         Don't assume years have 4 digits.
6118 2012-05-04  Chong Yidong  <cyd@gnu.org>
6120         * dos-w32.el (file-name-buffer-file-type-alist)
6121         (direct-print-region-use-command-dot-com):
6122         * ffap.el (ffap-menu-regexp):
6123         * find-file.el (ff-special-constructs):
6124         * follow.el (follow-debug):
6125         * forms.el (forms--debug):
6126         * iswitchb.el (iswitchb-all-frames):
6127         * ido.el (ido-all-frames):
6128         * emacs-lisp/timer.el (timer-max-repeats):
6129         * mail/feedmail.el (feedmail-mail-send-hook)
6130         (feedmail-mail-send-hook-queued):
6131         * mail/footnote.el (footnote-signature-separator):
6132         * mail/mailabbrev.el (mail-alias-separator-string)
6133         (mail-abbrev-mode-regexp):
6134         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6135         * progmodes/idlwave.el (idlwave-libinfo-file)
6136         (idlwave-default-completion-case-is-down)
6137         (idlwave-library-routines): Convert defvars to defcustoms.
6139         * mail/rmail.el (rmail-decode-mime-charset):
6140         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6141         (idlwave-shell-fix-inserted-breaks)
6142         (idlwave-shell-activate-alt-keybindings)
6143         (idlwave-shell-use-breakpoint-glyph):
6144         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6146 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6148         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6150 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
6152         * progmodes/verilog-mode.el (font-lock-keywords):
6153         Fix mis-highligting auto.  Reported by Craig Barner.
6154         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6155         defines from global name space.  Reported by Dan Dever.
6156         (verilog-auto-reset, verilog-auto-reset-widths)
6157         (verilog-auto-tieoff): Support using unbased numbers for
6158         AUTORESET and AUTOTIEOFF.
6159         (verilog-submit-bug-report): Update variable list.
6160         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6161         parenthesis from not matching.  Reported by Michael Rytting.
6162         (verilog-auto-template-lint): Fix hash error when linting modules
6163         with no used templates.
6164         (verilog-warn, verilog-warn-error)
6165         (verilog-warn-fatal): When non-interactive report multiple
6166         warnings before exiting.  Suggested by Brad Dobbie.
6167         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6168         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6169         to report unused template errors.  Reported by Brad Dobbie.
6170         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6171         nets, bug438.  Reported by Vns Blore.
6172         (verilog-auto-inout-module, verilog-auto-reg)
6173         (verilog-read-decls, verilog-read-sub-decls-sig)
6174         (verilog-signals-edit-wire-reg, verilog-signals-with):
6175         Fix passing of Verilog data types in ANSI input/output ports
6176         such as "output logic" into the AUTOs.  Special case "wire" and
6177         "reg" for backwards compatibility presuming Verilog 2001.
6178         (verilog-auto-ascii-enum): Add "auto enum" as alias.
6179         (verilog-preprocess): Fix replication of preprocess output.
6180         Reported by Brad Dobbie.
6181         (verilog-auto-inst-interfaced-ports):
6182         Create verilog-auto-inst-interfaced-ports, bug429.
6183         Reported by Julian Gorfajn.
6184         (verilog-after-save-font-hook)
6185         (verilog-before-save-font-hook): New variable.
6186         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6187         (verilog-save-font-mods): Wrap disabling fontification, reported
6188         by David Rogoff.
6189         (verilog-do-indent, verilog-pretty-declarations-auto)
6190         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6191         Reported by Pierre-David Pfister.
6192         (verilog-set-auto-endcomments): Fix endtask auto comments outside
6193         of class declarations, bug292.  Reported by Kevin Heilman.
6194         (verilog-read-decls): Fix 'parameter type' not appearing in
6195         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
6196         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6197         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
6198         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6199         Reported by David Kravitz.
6201 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
6203         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6204         assignment with tests in ifs and for loops.
6205         (verilog-extended-complete-re, verilog-complete-reg): Change so
6206         that DPI inport functions don't look like fuction declarations.
6207         (verilog-pretty-expr): Don't line up assignment
6208         operations to the test and increment in if and for loops
6209         (verilog-extended-complete-re, verilog-complete-reg): Change so
6210         that DPI inport functions don't look like fuction declarations.
6212 2012-05-03  Kenichi Handa  <handa@m17n.org>
6214         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6215         decoding, and show a warning message without signaling an error
6216         (Bug#11282).
6218 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6220         * emacs-lisp/bytecomp.el
6221         (byte-compile-file-form-custom-declare-variable): Compile all elements,
6222         since cconv.el might have introduced :fun-body, internal-make-closure,
6223         and friends for bytecomp to handle (bug#11391).
6224         * custom.el (defcustom): Avoid ((λ ..) ..).
6226 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6228         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6230 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
6232         * notifications.el (dbus-debug):
6233         * term/linux.el (gpm-mouse-enable):
6234         * term/screen.el (xterm-register-default-colors): Declare.
6236 2012-05-02  Chong Yidong  <cyd@gnu.org>
6238         * cus-start.el (gc-cons-percentage, exec-suffixes)
6239         (dos-display-scancodes, dos-hyper-key, dos-super-key)
6240         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6241         (make-cursor-line-fully-visible, void-text-area-pointer)
6242         (font-list-limit): Add customization data.
6244         * allout.el (allout-exposure-change-functions)
6245         (allout-structure-added-functions)
6246         (allout-structure-deleted-functions)
6247         (allout-structure-shifted-functions): Rename abnormal hooks from
6248         *-hook, and convert to defcustoms.
6249         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6250         Convert to defcustoms.
6251         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6253         * allout-widgets.el: Hook callers changed.
6255 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
6257         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6258         the yanked message in preference to the default value of
6259         buffer-file-coding-system.
6261 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
6263         * window.el (display-buffer--action-function-custom-type):
6264         Fix entry.
6266 2012-05-02  Alan Mackenzie  <acm@muc.de>
6268         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6270 2012-05-01  Glenn Morris  <rgm@gnu.org>
6272         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6274         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
6276         * cus-edit.el (custom-variable-documentation): Simplify with format.
6278 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6279             Stefan Monnier  <monnier@iro.umontreal.ca>
6281         * simple.el (suggest-key-bindings, execute-extended-command):
6282         Move from keyboard.c.
6284 2012-05-01  Chong Yidong  <cyd@gnu.org>
6286         * follow.el: Eliminate advice.
6287         (set-process-filter, process-filter, sit-for): Advice deleted.
6288         (follow-mode-off-hook): Obsolete hook removed.
6289         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6290         Vars deleted.
6291         (follow-auto): Use a :set function.
6292         (follow-mode): Rewritten.  Don't advise process filters.
6293         (follow-switch-to-current-buffer-all, follow-scroll-up)
6294         (follow-scroll-down): Assume follow-mode is bound.
6295         (follow-comint-scroll-to-bottom)
6296         (follow-align-compilation-windows): New functions.
6297         (follow--window-sorter): New function.
6298         (follow-all-followers): Use it to explicitly sort windows by their
6299         positions; don't make assumptions about next-window order.
6300         (follow-windows-start-end, follow-delete-other-windows-and-split)
6301         (follow-calc-win-start): Doc fix.
6302         (follow-windows-aligned-p, follow-select-if-visible): Don't call
6303         vertical-motion unnecessarily.
6304         (follow-adjust-window): New function.
6305         (follow-post-command-hook): Use it.
6306         (follow-call-set-process-filter, follow-call-process-filter)
6307         (follow-intercept-process-output, follow-tidy-process-filter-alist)
6308         (follow-stop-intercept-process-output, follow-generic-filter):
6309         Functions deleted.
6310         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6311         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6312         New functions, replacing advice on scroll-bar-* commands.
6313         (follow-mwheel-scroll): New function (Bug#4112).
6315         * comint.el (comint-adjust-point): New function.
6316         (comint-postoutput-scroll-to-bottom): Use it.
6317         Call follow-comint-scroll-to-bottom for Follow mode buffers.
6319 2012-05-01  Glenn Morris  <rgm@gnu.org>
6321         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6322         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6323         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6324         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6325         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6326         Remove no-byte-compile setting.
6328 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6330         * minibuffer.el (completion-table-with-quoting): Fix compatibility
6331         all-completions code to not return a number in the last cdr.
6333 2012-04-30  Leo Liu  <sdl.web@gmail.com>
6335         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6336         read-only error.
6338 2012-04-29  Chong Yidong  <cyd@gnu.org>
6340         * follow.el (follow-calc-win-end): Rewrite to handle partial
6341         screen lines correctly (Bug#8390).
6342         (follow-avoid-tail-recenter): Minor cleanup.
6344 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6346         Avoid the obsolete `assoc' package.
6347         * speedbar.el (speedbar-refresh): Avoid adelete.
6348         (speedbar-file-lists): Simplify and avoid aput.
6349         * man.el (Man--sections, Man--refpages): New vars, replacing
6350         Man-sections-alist and Man-refpages-alist.
6351         (Man-build-section-alist, Man-build-references-alist):
6352         Use them; avoid aput.
6353         (Man--last-section, Man--last-refpage): New vars.
6354         (Man-follow-manual-reference): Use them.
6355         Use the `default' arg of completing-read.
6356         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
6358 2012-04-27  Chong Yidong  <cyd@gnu.org>
6360         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6362         * startup.el (x-apply-session-resources): New function.
6364         * term/ns-win.el (ns-initialize-window-system):
6365         * term/w32-win.el (w32-initialize-window-system):
6366         * term/x-win.el (x-initialize-window-system): Use it to properly
6367         set menu-bar-mode and other vars from X resources, even if the
6368         initial frame is not a window-system frame (Bug#2299).
6370         * subr.el (read-key): Avoid running filter function when setting
6371         up temporary tool bar entries (Bug#9922).
6373 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
6375         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6376         (Bug#11344)
6378 2012-04-27  Chong Yidong  <cyd@gnu.org>
6380         * select.el (xselect--encode-string): New function, split from
6381         xselect-convert-to-string.
6382         (xselect-convert-to-string): Use it.
6383         (xselect-convert-to-filename, xselect-convert-to-os)
6384         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6385         returned strings are properly encoded (Bug#11315).
6387 2012-04-27  Chong Yidong  <cyd@gnu.org>
6389         * simple.el (delete-active-region): Move to killing custom group.
6391 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
6393         * progmodes/which-func.el (which-func-current): Quote %
6394         characters for mode-line processing.
6396 2012-04-27  Chong Yidong  <cyd@gnu.org>
6398         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6399         reaching eob (Bug#11286).
6401 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
6403         * progmodes/gdb-mi.el (gdb-control-level): New variable.
6404         (gdb): Make it buffer-local and init to zero.
6405         (gdb-control-commands-regexp): New variable.
6406         (gdb-send): Don't wrap in "-interpreter-exec console" if
6407         gdb-control-level is positive.  Increment gdb-control-level
6408         whenever the command matches gdb-control-commands-regexp, and
6409         decrement it each time the command is "end".  (Bug#11279)
6411 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
6413         * window.el (adjust-window-trailing-edge, enlarge-window)
6414         (shrink-window, window-resize):
6415         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6416         windows (Bug#11276).
6418 2012-04-27  Chong Yidong  <cyd@gnu.org>
6420         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6421         fix "missing prefix" warning.  All callers changed.
6423 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6425         * emacs-lisp/assoc.el: Move to obsolete/.
6427 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6429         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6431         * term/ns-win.el (ns-define-service):
6432         * progmodes/pascal.el (pascal-goto-defun):
6433         * progmodes/js.el (js--read-tab):
6434         * progmodes/etags.el (tags-lazy-completion-table):
6435         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6436         * emacs-lisp/ewoc.el (ewoc--wrap):
6437         * emacs-lisp/assoc.el (aput, adelete, amake):
6438         * doc-view.el (doc-view-convert-current-doc):
6439         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6441 2012-04-26  Chong Yidong  <cyd@gnu.org>
6443         * image.el (image-type-from-buffer): Only return supported image
6444         type (Bug#9045).
6446         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6447         value, for symmetry with diff-end-of-hunk.
6448         (diff-split-hunk, diff-find-source-location)
6449         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6450         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6451         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6452         compute the relevant hunk or file properly (Bug#6005).
6453         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6455 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6457         * vc/vc-mtn.el:
6458         * vc/vc-hg.el:
6459         * vc/vc-git.el:
6460         * vc/vc-dir.el:
6461         * vc/vc-cvs.el:
6462         * vc/vc-bzr.el:
6463         * vc/vc-arch.el:
6464         * vc/vc.el: Replace lexical-let by lexical-binding.
6465         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6466         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6467         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6469 2012-04-26  Chong Yidong  <cyd@gnu.org>
6471         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6472         (diff-mode-shared-map): Bind it to / and [remap undo].
6474         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6475         (ediff-window-setup-function): Use it as the default, to set up
6476         windows based on whether the current frame is graphical (Bug#2138).
6477         (ediff-choose-window-setup-function-automatically): Make obsolete.
6479         * vc/ediff-init.el: Always define ediff-pixel-width/height.
6481 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6483         * ffap.el: Remove old code for obsolete package.
6484         (ffap-complete-as-file-p): Remove.
6486         Use completion-table-with-quoting for comint and pcomplete.
6487         * comint.el (comint--unquote&requote-argument)
6488         (comint--unquote-argument, comint--requote-argument): New functions.
6489         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6490         (comint-quote-filename): Use regexp-opt-charset.
6491         (comint--common-suffix, comint--common-quoted-suffix)
6492         (comint--table-subvert): Remove.
6493         (comint-unquote-function, comint-requote-function): New vars.
6494         (comint--complete-file-name-data): Use them with
6495         completion-table-with-quoting.
6496         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6497         * pcomplete.el (pcomplete-arg-quote-list)
6498         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6499         (pcomplete-unquote-argument-function): Default to non-nil.
6500         (pcomplete-unquote-argument): Simplify.
6501         (pcomplete--common-quoted-suffix): Remove.
6502         (pcomplete-requote-argument-function): New var.
6503         (pcomplete--common-suffix): New function.
6504         (pcomplete-completions-at-point): Use completion-table-with-quoting
6505         and completion-table-subvert.
6507         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6508         (minibuffer--double-dollars): Preserve properties.
6509         (completion--sifn-requote): New function.
6510         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6512         * minibuffer.el: Add support for completion of quoted/escaped data.
6513         (completion-table-with-quoting, completion-table-subvert): New funs.
6514         (completion--twq-try, completion--twq-all): New functions.
6515         (completion--nth-completion): New function.
6516         (completion-try-completion, completion-all-completions): Use it.
6518 2012-04-25  Leo Liu  <sdl.web@gmail.com>
6520         * progmodes/python.el (python-pdbtrack-get-source-buffer):
6521         Use compilation-message if available to find real filename.
6523 2012-04-25  Chong Yidong  <cyd@gnu.org>
6525         * vc/diff-mode.el (diff-setup-whitespace): New function.
6526         (diff-mode): Use it.
6528         * vc/diff.el (diff-sentinel):
6529         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6530         Whitespace mode variables based on diff style (Bug#8612).
6532 2012-04-25  Leo Liu  <sdl.web@gmail.com>
6534         * progmodes/python.el (python-send-region): Add suffix .py to the
6535         temp file.
6537         * files.el (auto-mode-alist): Use javascript-mode instead.
6539 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
6541         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
6543         * net/soap-client.el (soap-resolve-references-for-sequence-type)
6544         (soap-resolve-references-for-array-type): Hack to prevent self
6545         references, see Bug#9.
6546         (soap-parse-envelope): Report the contents of the 'detail' node
6547         when receiving a fault reply.
6548         (soap-parse-envelope): Report the contents of the entire 'detail' node.
6550         * net/soap-inspect.el (soap-sample-value-for-simple-type)
6551         (soap-inspect-simple-type): New function.
6553         * net/soap-client.el (soap-simple-type): New struct.
6554         (soap-default-xsd-types, soap-default-soapenc-types)
6555         (soap-decode-basic-type, soap-encode-basic-type):
6556         support unsignedInt and double basic types.
6557         (soap-resolve-references-for-simple-type)
6558         (soap-parse-simple-type, soap-encode-simple-type): New function.
6559         (soap-parse-schema): Parse xsd:simpleType declarations.
6561         * net/soap-client.el (soap-default-xsd-types)
6562         (soap-default-soapenc-types): Add integer, byte and anyURI types.
6563         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6564         the local name of "soapenc:Array".
6565         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
6566         decoding integer, byte and anyURI xsd types.
6568 2012-04-25  Chong Yidong  <cyd@gnu.org>
6570         * cus-edit.el (custom-buffer-create-internal): Update header text.
6572 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
6574         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6575         settings on 'system-type', not on 'window-system'.  On MS-Windows,
6576         set interactive-mode on in GDB.
6578 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6580         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6581         (ruby-syntax-propertize-regexp): Remove.
6582         (ruby-syntax-propertize-function): Split regexp into chunks.
6583         Match following code directly.
6585 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
6587         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6588         (ruby-syntax-propertize-regexp): New function.
6589         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6590         by a special keyword.
6592         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6593         (ruby-syntax-general-delimiters-goto-beg)
6594         (ruby-syntax-propertize-general-delimiters): New functions.
6595         (ruby-syntax-propertize-function): Use them to handle GDL.
6596         (ruby-font-lock-keywords): Move old handling of GDL...
6597         (ruby-font-lock-syntactic-keywords): .. to here.
6598         (ruby-calculate-indent): Adjust indentation for GDL.
6600 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
6602         * notifications.el (top): Remove unneeded declarations.
6603         (notifications-specification-version): Change to "1.2".
6604         (notifications-interface, notifications-notify-method)
6605         (notifications-close-notification-method): Fix docstring.
6606         (notifications-get-capabilities-method): New defconst.
6607         (notifications-notify): Add :action-items, :resident and
6608         :transient hints.  Change "image_data" to "image-data" and
6609         "image_path" to "image-path".
6610         (notifications-get-capabilities): New defun.
6612 2012-04-24  Leo Liu  <sdl.web@gmail.com>
6614         * progmodes/python.el: Move hideshow setup to the end.
6616 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
6618         * window.el (handle-select-window): Clear echo area since this is
6619         no more done by read_char (Bug#11304).
6621 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6623         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6624         and `/ M' to filter-derived-mode.
6625         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6626         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6627         (ibuffer-mark-by-mode): Use default rather than initial-input.
6628         (ibuffer-filter-by-derived-mode): Autoload and require-match.
6630 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
6632         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6633         (ibuffer-filter-by-derived-mode): New filter.
6634         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6636 2012-04-23  Andreas Politz  <politza@fh-trier.de>
6638         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6640 2012-04-23  Chong Yidong  <cyd@gnu.org>
6642         * cus-edit.el (customize-apropos, customize-apropos-options):
6643         Disable matching of non-option variables (Bug#11176).
6644         (customize-option, customize-option-other-window)
6645         (customize-changed-options): Doc fix.
6646         (customize-apropos-options, customize-apropos-faces)
6647         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6649         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
6650         Fix word list splitting (Bug#11132).
6651         (apropos-symbol, apropos-keybinding, apropos-label)
6652         (apropos-property, apropos-function-button)
6653         (apropos-variable-button, apropos-misc-button): New faces.
6654         (apropos-symbol-face, apropos-keybinding-face)
6655         (apropos-label-face, apropos-property-face, apropos-match-face):
6656         Variables removed (Bug#8396).
6657         (apropos-library-button, apropos-format-plist, apropos-print)
6658         (apropos-print-doc, apropos-describe-plist): Callers changed.
6660 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
6662         * net/xesam.el (xesam-mode-map): Use let-bound map in
6663         initialization.  (Bug#11292)
6665 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6667         Preserve ispell session localwords when switching back to
6668         original buffer.
6670         * textmodes/ispell.el (ispell-buffer-session-localwords):
6671         New buffer-local variable to hold buffer session localwords.
6672         (ispell-kill-ispell): Add option 'clear to delete session
6673         localwords.
6674         (ispell-command-loop, ispell-change-dictionary)
6675         (ispell-buffer-local-words): Preserve session localwords when
6676         needed.
6678         * textmodes/flyspell.el (flyspell-process-localwords)
6679         (flyspell-do-correct): Preserve session localwords when needed.
6681 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6683         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6684         using obsolete `translation-table-for-input'.
6685         (ispell-word, ispell-process-line, ispell-complete-word):
6686         Use plain `insert' instead of removed `ispell-insert-word'.
6688 2012-04-22  Chong Yidong  <cyd@gnu.org>
6690         * cus-edit.el (custom-variable-menu)
6691         (custom-variable-reset-saved, custom-face-menu)
6692         (custom-face-reset-saved): If there is no saved value, make the
6693         "reset-saved" operation bring back the default (Bug#9509).
6694         (custom-face-state): Properly detect themed faces.
6696         * faces.el (face-spec-set): Stop supporting deprecated form of
6697         third arg.
6699 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
6701         Move functions from C to Lisp.  Make non-blocking method calls
6702         the default.  Implement further D-Bus standard interfaces.
6704         * net/dbus.el (dbus-message-internal): Declare function.
6705         Remove unneeded function declarations.
6706         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6707         (dbus-message-type-method-return, dbus-message-type-error)
6708         (dbus-message-type-signal): Declare variables.  Remove local
6709         definitions.
6710         (dbus-interface-dbus, dbus-interface-peer)
6711         (dbus-interface-introspectable, dbus-interface-properties)
6712         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6713         Adapt docstring.
6714         (dbus-interface-objectmanager): New defconst.
6715         (dbus-call-method, dbus-call-method-asynchronously)
6716         (dbus-send-signal, dbus-method-return-internal)
6717         (dbus-method-error-internal, dbus-register-service)
6718         (dbus-register-signal, dbus-register-method): New defuns, moved
6719         from dbusbind.c
6720         (dbus-call-method-handler, dbus-setenv)
6721         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6722         New defuns.
6723         (dbus-call-method-non-blocking): Make it an obsolete function.
6724         (dbus-unregister-object, dbus-unregister-service)
6725         (dbus-handle-event, dbus-register-property)
6726         (dbus-property-handler): Obey the new structure of
6727         `bus-registered-objects'.
6728         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
6729         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6730         Use `dbus-call-method'.
6732 2012-04-22  Chong Yidong  <cyd@gnu.org>
6734         * cus-edit.el (custom-commands, custom-reset-menu)
6735         (Custom-reset-standard): Tweak labels.
6736         (custom-reset-button-menu): Change default to t.
6737         (custom-buffer-create-internal): For the custom-reset-button-menu
6738         case, put the revert button first.
6739         (custom-group-subtitle): New face.
6740         (custom-group-value-create): Align docstring to a specific column.
6742         * wid-edit.el (widget-documentation-link-add): Don't handle
6743         indentation in this function.
6744         (widget-documentation-string-indent-to): New function.
6745         (widget-documentation-string-value-create): Use it.
6747         * autorevert.el (auto-revert):
6748         * epg-config.el (epg):
6749         * ibuffer.el (ibuffer):
6750         * mpc.el (mpc):
6751         * ses.el (ses):
6752         * eshell/eshell.el (eshell):
6753         * net/ange-ftp.el (ange-ftp):
6754         * progmodes/ebnf2ps.el (postscript):
6755         * progmodes/flymake.el (flymake):
6756         * progmodes/prolog.el (prolog):
6757         * progmodes/verilog-mode.el (verilog-mode):
6758         * progmodes/which-func.el (which-func):
6759         * term/xterm.el (xterm):
6760         * textmodes/picture.el (picture):
6761         * textmodes/tildify.el (tildify):
6762         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6763         customization buffers.
6765 2012-04-22  Alan Mackenzie  <acm@muc.de>
6767         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6768         Adding a ) can hide the resulting (..) from searches.  Fix it.
6769         Bound the backward search to the position of the existing (.
6771 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
6773         * progmodes/verilog-mode.el (verilog-mode): Check whether
6774         which-func-modes is t before adding verilog-mode.
6775         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6777 2012-04-21  Leo Liu  <sdl.web@gmail.com>
6779         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
6781 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
6783         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6784         filling of the last column of a table (Bug#5635).
6785         (woman-find-next-control-line): New arg, specifying an additional
6786         regexp component for the control line.
6787         (woman2-roff-buffer): Use it.
6788         (woman-break-table): New function.
6789         (woman2-TS): Use it.
6791 2012-04-21  Chong Yidong  <cyd@gnu.org>
6793         * woman.el (woman-set-buffer-display-table, woman-decode-region)
6794         (woman-horizontal-escapes, woman-negative-vertical-space)
6795         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6796         (WoMan-warn-ignored): Use ?\s instead of ?\ .
6798 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6800         * minibuffer.el (completion-file-name-table): Complete user names.
6802 2012-04-20  Leo Liu  <sdl.web@gmail.com>
6804         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6805         and pcase-let*.
6807 2012-04-20  Chong Yidong  <cyd@gnu.org>
6809         * server.el (server-execute): Respect initial-buffer-choice if it
6810         is a string and there are no files to open (Bug#2825).
6811         (server-create-window-system-frame, server-create-tty-frame):
6812         Don't switch buffers here.
6813         (server-process-filter): Only try to open a window system frame if
6814         compiled with graphical support (Bug#8314).
6816 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
6818         * battery.el (battery-echo-area-format): Display remaining time
6819         for sysfs backend too (Bug#11269).
6820         (battery-linux-sysfs): Fix conditional for the charge.
6822 2012-04-20  Chong Yidong  <cyd@gnu.org>
6824         * progmodes/gdb-mi.el (gdb): Revert previous change.
6825         (gdb-inferior-io--init-proc): New function.
6826         (gdb-init-1): Use it.
6827         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6828         responsible for allocating a new pty and hooking it to gdb when
6829         the old pty gets an EIO due to process exit.
6830         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
6831         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6832         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6834 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
6836         * window.el (window-min-size, window-sizable, window-min-delta)
6837         (window-max-delta, window--resizable, window-resizable)
6838         (window-total-size, window-full-height-p, window-full-width-p)
6839         (window-in-direction, window--resize-mini-window, window-resize)
6840         (window--resize-child-windows-normal)
6841         (window--resize-child-windows, window--resize-siblings)
6842         (window--resize-this-window, adjust-window-trailing-edge)
6843         (enlarge-window, shrink-window): Doc fixes.
6845 2012-04-20  Chong Yidong  <cyd@gnu.org>
6847         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6848         New function to call delete-process on the gdb-inferior buffer's pty.
6849         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6850         pty process (Bug#11273).
6851         (gdb-update): New arg to suppress talking to the gdb process.
6852         (gdb-done-or-error): Use it.
6853         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6854         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6855         sentinel not being called.
6857         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6859         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6861 2012-04-20  Glenn Morris  <rgm@gnu.org>
6863         * net/network-stream.el (open-network-stream): Doc fix.
6865 2012-04-20  Chong Yidong  <cyd@gnu.org>
6867         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6869 2012-04-20  Alan Mackenzie  <acm@muc.de>
6871         Ensure searching for keywords is case sensitive.
6873         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6874         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6875         (c-defun-name, c-mark-function, c-cpp-define-name)
6876         (c-comment-indent, c-scan-conditionals, c-indent-defun)
6877         (c-context-line-break): Bind case-fold-search to nil.
6879         * progmodes/cc-mode.el (c-font-lock-fontify-region):
6880         Bind case-fold-search to nil.
6882 2012-04-20  Chong Yidong  <cyd@gnu.org>
6884         * mail/sendmail.el (mail-bury): Call return action with the right
6885         Rmail buffer (Bug#11242).
6887         * server.el (server-process-filter): Handle corner case where both
6888         tty and nowait options are present (Bug#11102).
6890 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
6892         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6893         (top level): Put into the executable the ident-style '$Id:' tag on
6894         windows-nt as well.
6896 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6898         * electric.el (electric-indent-post-self-insert-function): Check that
6899         electric-indent-mode is enabled in current buffer.
6901 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
6903         * imenu.el (imenu-progress-message): Restore; it is "used" in
6904         erc/erc-imenu.el and net/snmp-mode.el.
6906 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
6908         * avoid.el (mouse-avoidance-mode): Mark unused arg.
6909         (mouse-avoidance-nudge-mouse): Remove unused binding.
6911         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6913         * descr-text.el (describe-char):
6914         * progmodes/python.el (python-describe-symbol):
6915         Don't call `toggle-read-only', set `buffer-read-only'.
6917         * imenu.el (imenu-default-goto-function): Mark unused args.
6918         (imenu-progress-message): Remove obsolete macro; all callers changed.
6920         * subr.el (keymap-canonicalize): Remove unused binding.
6921         (read-passwd): Mark unused arg.
6923         * tutorial.el (tutorial--display-changes): Remove unused binding.
6924         (tutorial--save-tutorial-to): Remove unused variable.
6926         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6927         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6928         (package-generate-autoloads, package-menu--generate)
6929         (package-menu--find-upgrades): Remove unused bindings.
6931         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6932         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
6933         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6934         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6935         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6936         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6937         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6938         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6939         (cua-delete-char-rectangle): Mark unused args.
6940         (cua-align-rectangle): Remove unused binding.
6942         * mail/rmail.el (compilation--message->loc)
6943         (epa--find-coding-system-for-mime-charset): Declare.
6945         * net/dbus.el (dbus-register-service): Declare.
6946         (dbus-name-owner-changed-handler): Remove unused binding.
6948         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6949         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6950         (nxml-scan-backward-within): Mark unused arg.
6951         (nxml-dynamic-markup-word): Remove unused binding.
6953         * mouse.el (mouse-menu-major-mode-map):
6954         * emacs-lisp/authors.el (authors-scan-change-log)
6955         (authors-add-to-author-list):
6956         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6957         * emacs-lisp/smie.el (smie-auto-fill):
6958         * mail/sendmail.el (mail-bury):
6959         * mail/unrmail.el (unrmail):
6960         * net/tls.el (open-tls-stream):
6961         * textmodes/picture.el (picture-mouse-set-point):
6962         Remove unused bindings.
6964 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
6966         * net/tramp.el (tramp-action-password): Let-bind
6967         `enable-recursive-minibuffers' to t.
6969 2012-04-18  Sam Steingold  <sds@gnu.org>
6971         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6972         instead of 'string to accommodate values like [f11].
6973         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6974         * progmodes/gdb-mi.el: Likewise.
6976 2012-04-18  Leo Liu  <sdl.web@gmail.com>
6978         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6979         current buffer.
6980         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6981         LOCAL is nil.
6983 2012-04-18  Chong Yidong  <cyd@gnu.org>
6985         * simple.el (line-move): Use forward-line if in batch mode
6986         (Bug#11053).
6988 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
6990         * files.el (after-find-file): Do not try to add a final newline if
6991         the buffer is read-only (Bug#11156).
6993 2012-04-17  Richard Stallman  <rms@gnu.org>
6995         * mail/rmail.el (rmail-start-mail):
6996         Pass (rmail-mail-return...) for the return-action.
6997         Pass (rmail-yank-current-message...) for the yank-action.
6998         (rmail-yank-current-message): New function.
6999         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7000         (rmail-reply): Likewise.
7001         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7003         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7004         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
7005         buffer, not newbuf.
7007 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
7009         * server.el (server-ensure-safe-dir): Simplify.
7011 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7013         * emacs-lisp/smie.el: Provide smarter auto-filling.
7014         (smie-auto-fill): New function.
7015         (smie-setup): Use it.
7017         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7019 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
7021         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7022         (comment-indent): Use it.
7024 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7026         * ses.el: The overall change is to add cell renaming, that is
7027         setting fancy names for cell symbols other than name matching
7028         "\\`[A-Z]+[0-9]+\\'" regexp .
7029         (ses-localvars): Add ses--renamed-cell-symb-list.
7030         (ses-create-cell-variable): New defun.
7031         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7032         (ses-relocate-formula): Relocate formulas only for cells the
7033         symbols of which are not renamed, i.e. symbols whose names do not
7034         match regexp "\\`[A-Z]+[0-9]+\\'".
7035         (ses-relocate-all): Relocate values only for cells the symbols of
7036         which are not renamed.
7037         (ses-load): Create cells variables as the (ses-cell ...) are read,
7038         in order to check row col consistency with cell symbol name only
7039         for cells that are not renamed.
7040         (ses-replace-name-in-formula): New defun.
7041         (ses-rename-cell): New defun.
7043 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
7045         * progmodes/perl-mode.el (perl-indent-parens-as-block):
7046         New option (bug#11118).
7047         (perl-calculate-indent): Respect it.
7049 2012-04-17  Glenn Morris  <rgm@gnu.org>
7051         * dired-aux.el (dired-mark-read-string): Doc fix.
7053 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
7055         * dired-aux.el (dired-mark-read-string): Offer optional completion.
7056         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
7058 2012-04-17  Glenn Morris  <rgm@gnu.org>
7060         * mouse.el (mouse-drag-track):
7061         * speedbar.el (speedbar-frame-mode):
7062         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7064 2012-04-16  Leo Liu  <sdl.web@gmail.com>
7066         * progmodes/python.el: Trivial cleanup.
7068 2012-04-16  Glenn Morris  <rgm@gnu.org>
7070         * vc/vc.el (vc-string-prefix-p):
7071         * vc/pcvs-util.el (cvs-string-prefix-p):
7072         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7073         * mpc.el (mpc-string-prefix-p):
7074         Make all of these into obsolete aliases for string-prefix-p.
7075         Update callers.
7076         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7078         * textmodes/two-column.el: Move custom options to the start.
7079         (frame-width): Remove compat definition.
7080         (2C-associate-buffer, 2C-dissociate):
7081         Use with-current-buffer rather than save-excursion.
7082         (2C-dissociate): Force a mode-line update.
7083         (2C-autoscroll): Use ignore-errors.
7085         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7086         Autoload trivia.
7088         * emacs-lisp/cl-extra.el (*random-state*):
7089         Remove unnecessary declaration.
7091         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7093         * play/cookie1.el (cookie-snarf):
7094         Give an explicit error if input file cannot be read.
7096         * play/yow.el (yow-file): Use expand-file-name rather than concat.
7098         * progmodes/perl-mode.el (c-macro-expand):
7099         Remove unnecessary autoload (it is in loaddefs.el).
7101         * textmodes/picture.el (picture-desired-column)
7102         (picture-update-desired-column): Convert comments to doc-strings.
7103         (picture-substitute): Remove function.
7104         (picture-mode-map): Initialize in the defvar.
7106         * woman.el: Remove eval-after-load for tar-mode.
7107         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7108         (woman-tar-extract-file): Autoload it.
7110         * frame.el (automatic-hscrolling): Make this alias obsolete.
7112 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7114         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7115         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7116         (ispell-dictionary-base-alist): Revert to original XEmacs
7117         friendly version for default.  [:alpha:] will be added in
7118         `ispell-set-spellchecker-params' if needed.
7120 2012-04-16  Chong Yidong  <cyd@gnu.org>
7122         * image.el (imagemagick--file-regexp): New variable.
7123         (imagemagick-register-types): Use it.
7124         (imagemagick-types-inhibit): Add :set function.  Allow new value
7125         of t to inhibit all types.
7127         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7128         so we can preload it.
7130         * loadup.el (fboundp): Preload regexp-opt, needed by
7131         imagemagick-register-types.
7133 2012-04-15  Chong Yidong  <cyd@gnu.org>
7135         * frame.el (scrolling): Remove nearly unused customization group.
7137         * scroll-all.el (scroll-all-mode): Move to windows group.
7139 2012-04-15  Chong Yidong  <cyd@gnu.org>
7141         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7143 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7145         Avoid the use of ((lambda ...) ...) in lexical-binding code.
7146         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7148 2012-04-15  Glenn Morris  <rgm@gnu.org>
7150         * simple.el (process-file-side-effects): Doc fix.
7152 2012-04-15  Glenn Morris  <rgm@gnu.org>
7154         * international/mule-cmds.el (set-language-environment): Doc fix.
7156 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
7158         * server.el (server-auth-key, server-generate-key): Doc fixes.
7159         (server-get-auth-key): Doc fix.  Use `string-match-p'.
7160         (server-start): Reflow docstring.
7162 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
7164         * server.el (server-generate-key): `called-interactively-p'
7165         requires a parameter.
7167 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
7169         * server.el (server-auth-key): New variable.
7170         (server-generate-key, server-get-auth-key): New function.
7171         (server-start): Use the new variable and functions to allow
7172         setting a permanent server key (bug#9423).
7174 2012-04-14  Leo Liu  <sdl.web@gmail.com>
7176         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7178 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
7180         Spelling fixes.
7181         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7182         Emacs uses American spelling.
7184 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
7186         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7187         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
7188         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7189         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
7191 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7193         * progmodes/which-func.el (which-func-modes): Change default.
7195 2012-04-14  Kim F. Storm  <storm@cua.dk>
7197         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7198         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7200 2012-04-14  Chong Yidong  <cyd@gnu.org>
7202         * custom.el (custom-theme-set-variables): Doc fix.
7204 2012-04-14  Glenn Morris  <rgm@gnu.org>
7206         * international/mule.el (set-auto-coding-for-load): Doc fix.
7208 2012-04-14  Alan Mackenzie  <acm@muc.de>
7210         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7211         imenu work again for Objective C Mode.  Correct the *-index values,
7212         these having been disturbed by a previous change in 2011-08.
7214         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7215         Correct two search limits.
7217 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7219         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7221 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
7223         * international/characters.el: Fix sorting.
7225 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7227         * international/characters.el: Add more missing Latin case pairs.
7229 2012-04-14  Glenn Morris  <rgm@gnu.org>
7231         * files.el (dir-locals-set-class-variables): Doc fix.
7233 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7235         * international/characters.el: Add set-case-syntax-pair call for
7236         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7237         counterpart.  (Bug#11209)
7239         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
7241 2012-04-14  Glenn Morris  <rgm@gnu.org>
7243         * calendar/holidays.el (calendar-check-holidays): Doc fix.
7245 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7247         * textmodes/ispell.el (ispell-dictionary-base-alist):
7248         Add data for Hebrew.
7250 2012-04-14  Chong Yidong  <cyd@gnu.org>
7252         * net/rcirc.el (rcirc-cmd-quit):
7253         Revert 2012-03-18 change (Bug#11192).
7255 2012-04-14  Glenn Morris  <rgm@gnu.org>
7257         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7259 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7261         * minibuffer.el (completion-in-region-mode-map):
7262         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
7264 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
7266         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7268 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
7270         * minibuffer.el (minibuffer-local-filename-syntax): New variable
7271         to allow `C-M-f' and `C-M-b' to move to the nearest path
7272         separator (bug#9511).
7274 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
7276         * avoid.el: Require cl when compiling.  And also move the
7277         `provide' to the end.
7279 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7281         * avoid.el (mouse-avoidance-banish-position): New variable.
7282         (mouse-avoidance-banish-destination): Use it (bug#10165).
7284 2012-04-13  Leo Liu  <sdl.web@gmail.com>
7286         * progmodes/which-func.el (which-func-modes): Add objc-mode.
7288 2012-04-13  Ken Brown  <kbrown@cornell.edu>
7290         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7291         this is no longer needed now that cygstart understands file:// URLs.
7292         (browse-url-filename-alist): For the same reason, don't modify
7293         file:// URLs on Cygwin.
7295 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7297         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7298         the region on shift if the binding is already shifted (bug#11221).
7300 2012-04-12  Glenn Morris  <rgm@gnu.org>
7302         * mail/mailpost.el: Move to obsolete/.
7304 2012-04-12  Drew Adams  <drew.adams@oracle.com>
7306         * imenu.el (imenu--generic-function): Ignore invisible definitions
7307         (bug#10123).
7309 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
7311         * hexl.el (hexl-bits): New variable.
7312         (hexl-options): Mention the variable in the doc string.
7313         (hexl-rulerise, hexl-line-displen): New functions.
7314         (hexl-mode): Mention the new variable.
7315         (hexl-mode, hexl-current-address, hexl-current-address):
7316         Use the displen.
7317         (hexl-ascii-start-column): New function.
7318         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7319         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7321 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7323         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7324         '("-i" ENCODING), in 2 separate command-line arguments, to specify
7325         the encoding, as expected by hunspell.
7327 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7329         * battery.el (battery--linux-sysfs-regexp): New const.
7330         (battery-status-function): Use it.  Remove yeeloong special case.
7331         (battery-yeeloong-sysfs): Remove.
7332         (battery-echo-area-format): Remove yeeloong special case.
7334 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7336         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7337         Reported by Noah Friedman.
7339         * subr.el (read-passwd): Use read-string.
7341 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7343         * vcursor.el (vcursor-move): Increase the priority of the overlay
7344         (bug#9663).
7346 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7348         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7349         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7351 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
7353         * textmodes/artist.el (artist-mode): Convert artist-mode to use
7354         define-minor-mode (bug#10760).
7356 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
7358         * progmodes/grep.el (rgrep): Tweak the find command line so
7359         that directories matching `grep-find-ignored-files' won't be
7360         pruned (bug#10351).
7362 2012-04-11  Chong Yidong  <cyd@gnu.org>
7364         * startup.el (command-line): Remove support for long-obsolete
7365         variable font-lock-face-attributes.
7367 2012-04-11  Glenn Morris  <rgm@gnu.org>
7369         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7371 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7373         * window.el (window--state-get-1): Obey window-point-insertion-type.
7375 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
7377         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7378         to previous function when point is on the first character of a
7379         function.  Take care of that in `narrow-to-defun' (bug#6157).
7381 2012-04-11  Glenn Morris  <rgm@gnu.org>
7383         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7384         not just file-errors.
7386         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7387         (vc-bzr-sha1): Use internal sha1.
7389 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7391         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7393 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
7395         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7396         that start in the middle of the line (bug#10496).
7398 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
7400         * battery.el (battery-linux-proc-acpi): Only one battery is
7401         discharged at a time, but that seems to confuse battery.el when
7402         computing `rate-type' for the battery not being discharged
7403         (bug#10332).
7405 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7407         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7409         * international/quail.el: Use dolist and simplify.
7410         (quail-define-package, quail-update-keyboard-layout)
7411         (quail-define-rules): Use dolist.
7412         (quail-insert-kbd-layout, quail-get-translation): CSE.
7414         * tmm.el: Use dolist, remove left over hook.
7415         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7416         Use dolist.
7417         (calendar-load-hook): Don't mess with it.
7419         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7420         Use derived-mode-p.  Run the diff asynchronously.
7422 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7424         * obsolete/mouse-sel.el: Add an Obsolete-since header.
7426 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
7428         * misc.el: Display absolute path of loaded DLLs (bug#10424).
7429         (list-dynamic-libraries--loaded): New function.
7430         (list-dynamic-libraries--refresh): Use it.
7432 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
7434         * progmodes/python.el (python-fill-paragraph):
7435         Make python-fill-region in a multiline string work when font-lock is
7436         disabled (bug#7018).
7438 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
7440         * language/european.el (cp775): Add oem/legacy (en)coding on
7441         DOS/MS Windows for the Baltic languages.  There are still plenty
7442         of texts written in this encoding/codepage (bug#6519).
7444 2012-04-10  Glenn Morris  <rgm@gnu.org>
7446         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7447         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7449 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
7451         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7452         next-line "n" and previous-line "p" in order to make recentf more
7453         consistent with ibuffer, dired or org-mode (bug#9387).
7455 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7457         * image.el (put-image): Return the overlay created instead of the
7458         optional input string (bug#7834).  Note that this may break code
7459         that is (for some reason or other) depending on `put-image'
7460         returning the string.
7462         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7464         * simple.el (zap-to-char): Allow zapping using input methods
7465         (bug#1580).
7467         * textmodes/fill.el (fill-region): Leave point and mark where they
7468         were before filling (bug#5399).
7470 2012-04-09  Glenn Morris  <rgm@gnu.org>
7472         * version.el (emacs-bzr-get-version):
7473         Handle lightweight checkouts of local branches.
7475 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
7477         * international/characters.el: Recover lost case pairs.  (Bug#11209)
7479 2012-04-09  Chong Yidong  <cyd@gnu.org>
7481         * custom.el (custom-variable-p): Return nil for non-symbol
7482         arguments instead of signaling an error.
7483         (user-variable-p): Obsolete alias for custom-variable-p.
7485         * apropos.el (apropos-variable):
7486         * files-x.el (read-file-local-variable):
7487         * simple.el (set-variable):
7488         * woman.el (woman-mini-help):
7489         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7491 2012-04-09  Glenn Morris  <rgm@gnu.org>
7493         * startup.el (normal-top-level): Don't look for leim-list.el
7494         in places where it will not be found.  (Bug#910)
7496         * international/mule-cmds.el (set-default-coding-systems):
7497         * files.el (normal-mode):
7498         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
7499         This function was removed with ucs-tables.el in 2008.
7501 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
7503         * textmodes/ispell.el (ispell-check-version): For hunspell, set
7504         ispell-encoding8-command to "-i", without a trailing space.
7505         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7506         separate command-line arguments, to specify the encoding, since
7507         that's how hunspell expects it.
7509 2012-04-08  Glenn Morris  <rgm@gnu.org>
7511         * loadup.el: Load bindings before cus-start.
7512         This reduces somewhat the number of "rogue" settings in emacs -Q.
7514 2012-04-07  Glenn Morris  <rgm@gnu.org>
7516         * version.el (emacs-bzr-get-version): New function.
7517         (emacs-bzr-version): New variable.
7518         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
7519         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7521 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
7523         * international/uni-bidi.el, international/uni-category.el:
7524         * international/uni-combining.el, international/uni-decimal.el:
7525         * international/uni-decomposition.el, international/uni-digit.el:
7526         * international/uni-lowercase.el, international/uni-mirrored.el:
7527         * international/uni-name.el, international/uni-numeric.el:
7528         * international/uni-titlecase.el, international/uni-uppercase.el:
7529         Update for Unicode 6.1.
7531 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
7533         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7535 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7537         * window.el (shrink-window): Mention the `window-min-height'
7538         variable in the doc string.
7540 2012-04-05  Bastien Guerry  <bzg@altern.org>
7542         * color.el (color-lighten-name): Fix typo.
7544 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7546         * server.el (server--on-display-p): New function.
7547         (server--on-display-p): Use it.
7549 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
7551         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7552         (bug#11145).
7554 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7556         * comint.el (comint--common-quoted-suffix): Check string boundary
7557         before comparing (bug#11158).
7558         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7560 2012-04-04  Chong Yidong  <cyd@gnu.org>
7562         * minibuffer.el (completion-extra-properties): Doc fix.
7564         * subr.el (delayed-warnings-hook): Doc fix.
7566 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
7568         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7569         selection (Bug#11159).
7570         (epa-insert-keys): Inform that the default public key will be
7571         exported if no key is selected.
7573 2012-04-04  Richard Stallman  <rms@gnu.org>
7575         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7577 2012-04-03  Chong Yidong  <cyd@gnu.org>
7579         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7580         mail-insert-file, not its obsolete alias mail-attach-file.
7582 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
7584         * notifications.el (notifications-notify): Fix docstring.
7586 2012-04-02  Glenn Morris  <rgm@gnu.org>
7588         * emacs-lisp/authors.el (authors-aliases): Another addition.
7590 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
7592         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7593         `tramp-compat-call-process' instead of `tramp-local-call-process'.
7594         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7596 2012-04-01  Chong Yidong  <cyd@gnu.org>
7598         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7599         Handle root directory properly.
7600         (copy-directory): Caller changed.
7602         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7603         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7605 2012-03-31  Glenn Morris  <rgm@gnu.org>
7607         * term/xterm.el (xterm-extra-capabilities): Doc fix.
7609         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
7611         * calendar/calendar.el (calendar-window-list)
7612         (calendar-hide-window): Restore.  (Bug#11140)
7613         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7615         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7617 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7619         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7620         Check if file is a symlink (Bug#10489).
7622         * files.el (copy-directory): Likewise.
7624 2012-03-30  Chong Yidong  <cyd@gnu.org>
7626         * image.el (imagemagick-types-inhibit)
7627         (imagemagick-register-types): Doc fix.
7629 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7631         * textmodes/ispell.el (ispell-get-extended-character-mode):
7632         Disable extended-char-mode for hunspell.  hunspell does not support it
7633         and treats ~word as ordinary words in pipe mode.
7635 2012-03-30  Glenn Morris  <rgm@gnu.org>
7637         * tutorial.el (help-with-tutorial): Ensure local variables don't
7638         happen to make the buffer read-only.  (Bug#11127)
7640 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7642         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7643         (perl-calculate-indent): Return `noindent' in strings.
7645 2012-03-28  Sam Steingold  <sds@gnu.org>
7647         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7648         instead of the broken adhockery which does not prevent calendar
7649         buffers from being displayed at random after exit.
7650         (calendar-window-list, calendar-hide-window): Remove the broken
7651         adhockery.
7653 2012-03-28  Glenn Morris  <rgm@gnu.org>
7655         * replace.el (query-replace-map): Doc fix.
7657 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
7659         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7660         contents.  (Bug#11109)
7662 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7664         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7665         (bug#11077).
7666         (avl-tree--check, avl-tree--check-node): New funs.
7668 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
7670         * window.el (switch-to-visible-buffer): New option.
7671         (switch-to-prev-buffer, switch-to-next-buffer):
7672         Observe switch-to-visible-buffer.  Make sure that checking for a window
7673         showing a buffer already is done on the same frame.
7675 2012-03-27  Glenn Morris  <rgm@gnu.org>
7677         * startup.el (mail-host-address): Doc fix.
7679 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7681         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7682         than 197 variables.
7684 2012-03-26  Ami Fischman  <ami@fischman.org>
7686         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7688 2012-03-26  Glenn Morris  <rgm@gnu.org>
7690         * files.el (save-buffers-kill-emacs): Doc fix.
7692         * startup.el (normal-top-level, command-line, command-line-1):
7693         Give them doc strings.
7695 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
7697         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
7698         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
7700 2012-03-25  Chong Yidong  <cyd@gnu.org>
7702         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7703         theme if it was previously enabled before (Bug#11031).
7705         * cus-theme.el (custom-theme-write-faces): Retrieve current face
7706         spec with custom-face-get-current-spec if its :shown-value is not
7707         determined yet (Bug#9337).
7708         (customize-create-theme, custom-theme-revert): Doc fixes.
7710         * button.el (button-at): Minor addition to docstring.
7712 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
7714         * vc/vc.el (vc-merge): Fix a prompt.
7716 2012-03-24  Chong Yidong  <cyd@gnu.org>
7718         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7719         point (Bug#9623).
7721         * button.el (button-at): Minor addition to docstring.
7723 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7725         * newcomment.el (comment-choose-indent): No space after BOL.
7727 2012-03-22  Sam Steingold  <sds@gnu.org>
7729         * window.el (switch-to-prev-buffer): Revert last patch because the
7730         bug turned out to be an advertised feature (Elisp manual 28.14).
7732 2012-03-22  Glenn Morris  <rgm@gnu.org>
7734         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
7735         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7737 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7739         * net/network-stream.el (network-stream-open-starttls): Make error
7740         message under Windows be less misleading.
7742 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
7744         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7745         understands (bug#9942).
7747 2012-03-22  Chong Yidong  <cyd@gnu.org>
7749         * simple.el (end-of-visible-line): Handle return value of
7750         next-single-property-change properly (Bug#9371).
7752 2012-03-22  Kenichi Handa  <handa@m17n.org>
7754         * international/quail.el (quail-insert-kbd-layout): Fix previous
7755         change.  To avoid unwanted bidi reordering, use
7756         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7758 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
7760         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7761         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7762         (ruby-beginning-of-indent): Be more careful with the difference
7763         between word-boundary and symbol boundary.
7764         (ruby-mode-syntax-table): Make : a symbol constituent.
7766 2012-03-21  Andreas Politz  <politza@fh-trier.de>
7768         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7770 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7772         * progmodes/etags.el (tags-completion-at-point-function):
7773         Improve last fix.
7775         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7777 2012-03-21  Sam Steingold  <sds@gnu.org>
7779         * progmodes/etags.el (tags-completion-at-point-function):
7780         Avoid the error when point is inside the pattern.
7782 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
7784         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7785         line (Bug#10855).
7787 2012-03-21  Drew Adams  <drew.adams@oracle.com>
7789         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7791 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
7793         * ido.el (ido-set-current-directory, ido-read-internal)
7794         (ido-choose-completion-string, ido-completion-help): Handle nil
7795         value of ido-completion-buffer (Bug#11008).
7797 2012-03-21  Sam Steingold  <sds@gnu.org>
7799         * window.el (switch-to-prev-buffer): Do not switch to a visible
7800         window previous buffer, just like with the frame previous buffers.
7802 2012-03-21  Chong Yidong  <cyd@gnu.org>
7804         * faces.el (make-face, make-empty-face, copy-face):
7805         * face-remap.el (face-remap-add-relative, face-remap-set-base):
7806         Doc fixes.
7808 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7810         * wid-edit.el (widget-complete-field): Remove (bug#11051).
7811         (widget-complete): Remove broken use of it.
7813 2012-03-20  Chong Yidong  <cyd@gnu.org>
7815         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7816         Use string-width and truncate-string-width to handle arbitrary
7817         characters.
7819 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
7821         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7822         to draw rectangles, not squares.  (Regression introduced by revno
7823         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7825 2012-03-18  Chong Yidong  <cyd@gnu.org>
7827         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7828         it is not yet defined (for temacs).
7830 2012-03-18  Leo Liu  <sdl.web@gmail.com>
7832         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
7834 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
7836         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7837         (ispell-choices-win-default-height, ispell-silently-savep)
7838         (ispell-dictionary-alist, ispell-encoding8-command)
7839         (ispell-check-version, ispell-aspell-find-dictionary)
7840         (ispell-valid-dictionary-list, ispell-words-keyword)
7841         (ispell-get-word, ispell-internal-change-dictionary)
7842         (ispell-region, ispell-skip-region-list)
7843         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7844         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7845         (ispell-message-text-end, ispell-message)
7846         (ispell-buffer-local-parsing): Doc fix.
7848 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
7850         * htmlfontify.el: Add support for code block fontification for ODT
7851         export (Bug #9914).
7852         (hfy-optimisations): Define new option
7853         `body-text-only'
7854         (hfy-fontify-buffer): Honor above setting.
7855         (hfy-begin-span, hfy-end-span): New routines factored out form
7856         `hfy-fontify-buffer'.
7857         (hfy-begin-span-handler, hfy-end-span-handler): New variables
7858         that permit insertion of custom tags.
7859         (hfy-fontify-buffer): Use above handlers.
7860         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7861         (hfy-face-to-css): Re-defined to be a variable.
7862         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
7863         over multiple runs.  This is made possible by having the caller let
7864         bind a special variable `hfy-user-sheet-assoc'.
7865         (htmlfontify-string): New defun.
7866         (hfy-compile-face-map): Make sure that the last char in the
7867         buffer is correctly fontified.
7868         (hfy-face-resolve-face): Whitespace only change.
7870 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
7872         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7873         message more clear.
7875 2012-03-16  Leo Liu  <sdl.web@gmail.com>
7877         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7879 2012-03-16  Alan Mackenzie  <acm@muc.de>
7881         Further optimise the handling of large macros.
7883         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7884         limit to a call of `c-literal-limits'.
7885         (c-determine-+ve-limit): New function.
7886         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7887         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
7888         In CASE 5B, restrict a search limit to 500.
7889         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7891         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7892         Restrict macro bounds to +-500 from after-change's BEG END.
7894 2012-03-16  Leo Liu  <sdl.web@gmail.com>
7896         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7898 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
7900         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
7901         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
7903 2012-03-16  Glenn Morris  <rgm@gnu.org>
7905         * view.el (view-buffer, view-buffer-other-window)
7906         (view-buffer-other-frame): Doc fixes re special mode-class.
7908         * subr.el (eval-after-load): If named feature is provided not from
7909         a file, run after-load forms.  (Bug#10946)
7911         * calendar/calendar.el (calendar-insert-at-column):
7912         Handle non-unit-width characters a bit better.  (Bug#10978)
7914 2012-03-15  Chong Yidong  <cyd@gnu.org>
7916         * emacs-lisp/ring.el (ring-extend): New function.
7917         (ring-insert+extend): Extend the ring correctly (Bug#11019).
7919         * comint.el (comint-read-input-ring)
7920         (comint-add-to-input-history): Grow comint-input-ring lazily.
7922 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7924         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7925         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7927         * imenu.el: Fix multiple inheritance breakage (bug#9199).
7928         (imenu-add-to-menubar): Don't add a redundant index.
7929         (imenu-update-menubar): Handle a dynamically composed keymap.
7931 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
7933         * mail/sendmail.el (mail-encode-header):
7934         Bind rfc2047-encode-encoded-words to nil.
7936 2012-03-13  Glenn Morris  <rgm@gnu.org>
7938         * calendar/calendar.el (calendar-string-spread):
7939         Handle non-unit-width characters a bit better.  (Bug#10978)
7941 2012-03-13  Leo Liu  <sdl.web@gmail.com>
7943         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7944         directory and file as argument (Bug#10822).
7946 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
7948         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7949         For dynamically generated code, follow $PC.
7950         (gdb-disassembly-handler-custom): Handle no function name case.
7952 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
7954         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7955         * emulation/ws-mode.el (ws-query-replace):
7956         * sort.el (sort-regexp-fields):
7957         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
7959 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7961         * dabbrev.el: Fix cycle completion order (bug#10963).
7962         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7963         (dabbrev-completion): Don't use an obarray; provide
7964         a cycle-sort-function.
7966 2012-03-12  Leo Liu  <sdl.web@gmail.com>
7968         * simple.el (kill-new): Use equal-including-properties for comparison.
7969         (kill-do-not-save-duplicates): Doc fix.
7971 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7973         * dabbrev.el: Fix cycle completion (bug#10963).
7974         Use lexical binding and wrap to 80 columns.
7975         (dabbrev-completion): Delay computing the list of completions.
7977 2012-03-12  Kenichi Handa  <handa@m17n.org>
7979         * international/quail.el (quail-insert-kbd-layout): Surround each
7980         row by LRO and PDF instead of inserting many LRMs.  Pad the left
7981         and right of each non-spacing marks.  Insert invisible space
7982         between lower and upper characters to prevent composition.
7984 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7986         * minibuffer.el (minibuffer-complete): Don't get confused when the
7987         function is run twice via different commands (bug#10958).
7988         (complete-with-action): Fix docstring.
7990 2012-03-12  Chong Yidong  <cyd@gnu.org>
7992         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7993         (nxml-completion-at-point-function): New function.
7994         (nxml-mode): Use it.
7995         (nxml-bind-meta-tab-to-complete-flag): Default to t.
7997         * emacs-lisp/package.el (package-unpack, package-unpack-single):
7998         Load generated autoloads file before byte compiling (Bug#10970).
7999         (package--make-autoloads-and-compile): New helper fun.
8001 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
8003         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8005 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
8007         * autorevert.el (auto-revert-handler): Ensure, that
8008         file-readable-p is applied only for local files or in
8009         auto-revert-tail-mode.
8011 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
8013         * server.el (server-eval-at): Handle non-tcp connections.
8014         Decode result string.
8016         * server.el (server-msg-size): New constant.
8017         (server-reply-print): New function.
8018         (server-eval-and-print): Use it.
8019         (server-eval-at): Use server-quote-arg and server-unquote-arg.
8020         Handle -print-nonl.
8022 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
8024         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8025         (Bug#10987).
8027 2012-03-11  Chong Yidong  <cyd@gnu.org>
8029         * simple.el (goto-line): Doc fix (Bug#9938).
8031         * subr.el (save-window-excursion): Doc fix (Bug#9979).
8033         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8034         when finished (Bug#10963).
8036 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
8038         * window.el (split-window-below): Fix bug in case where
8039         split-window-keep-point is nil (Bug#10971).
8041 2012-03-11  Juri Linkov  <juri@jurta.org>
8043         * replace.el (replace-highlight): Set isearch-word to nil
8044         unconditionally.  (Bug#10887)
8046 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
8048         * net/mairix.el (mairix-replace-invalid-chars): Rename from
8049         mairix-replace-illegal-chars; all callers changed.  Don't remove
8050         ^, ~, and = characters: they are meaningful in mairix search specs.
8051         (mairix-widget-create-query): Add usage information about mairix
8052         search forms: negating words, searching for substrings, etc.
8054 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
8056         * international/fontset.el (font-encoding-alist): Add an entry for
8057         ksx1001 (Bug#5667).
8059 2012-03-10  Richard Stallman  <rms@gnu.org>
8061         * mail/sendmail.el (mail-encode-header):
8062         Set rfc2047-encode-encoded-words.
8064         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8066         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8067         view buffer means not swapped.
8068         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8069         (rmail-write-region-annotate): Error if real text has disappeared.
8071         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8073 2012-03-10  Chong Yidong  <cyd@gnu.org>
8075         * emulation/cua-rect.el (cua--init-rectangles):
8076         * emulation/cua-base.el (cua--init-keymaps):
8077         Add delete-forward-char to remappings (Bug#9666).
8079 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
8081         * speedbar.el (speedbar-unhighlight-one-tag-line):
8082         Avoid unhighlighting due to frame switching (Bug#10275).
8084 2012-03-10  Chong Yidong  <cyd@gnu.org>
8086         * minibuffer.el (completion-in-region, completion-help-at-point):
8087         Give the completion field overlay a high priority (Bug#6830).
8089         * dired.el (dired-goto-file): Recognize absolute file name
8090         listings (Bug#7126).
8091         (dired-goto-file-1): New helper function.
8092         (dired-toggle-read-only): Inhibit warnings.
8094 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
8096         * net/dbus.el (dbus-property-handler): Return empty array if
8097         there are no properties.
8099 2012-03-09  Leo Liu  <sdl.web@gmail.com>
8101         * savehist.el (savehist-printable): Stricter check for string
8102         value (Bug#10937).
8104 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
8106         * mail/smtpmail.el (smtpmail-send-it):
8107         Bind coding-system-for-write to *-unix, so that FCC files are kept in
8108         valid mbox format.
8110 2012-03-09  Glenn Morris  <rgm@gnu.org>
8112         * files.el (dir-locals-find-file):
8113         Don't check result is regular, readable.
8114         (dir-locals-read-from-file): Demote errors.
8116 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
8118         * international/quail.el (quail-insert-kbd-layout):
8119         Insert invisible LRM characters before each character in a keyboard
8120         layout cell, to prevent their reordering by bidi display engine.
8121         For details, see the discussion in
8122         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8124 2012-03-08  Alan Mackenzie  <acm@muc.de>
8126         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8127         the starting position; make it extend the marked region when
8128         invoked repeatedly - all under appropriate circumstances.
8129         Fixes bugs #5525, #10906.
8131 2012-03-08  Glenn Morris  <rgm@gnu.org>
8133         * files.el (locate-dominating-file, dir-locals-find-file):
8134         Undo 2012-03-06 change.
8136 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
8138         * international/quail.el (quail-help):
8139         Force bidi-paragraph-direction be left-to-right.  See discussion in
8140         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8141         for the reason.
8143 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
8145         Avoid superfluous registering of signals.  (Bug#10807)
8147         * notifications.el (notifications-on-action-object)
8148         (notifications-on-close-object): New defvars.
8149         (notifications-on-action-signal, notifications-on-closed-signal):
8150         Unregister the signal if not needed any longer.
8151         (notifications-notify): Register `notifications-action-signal' or
8152         `notifications-closed-signal', if :on-action or :on-close has been
8153         passed as argument.
8155 2012-03-07  Chong Yidong  <cyd@gnu.org>
8157         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8158         non-X platforms.
8160 2012-03-06  Glenn Morris  <rgm@gnu.org>
8162         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8163         (x-disown-selection-internal, x-get-selection-internal):
8164         Doc fix (add arglist signatures).  (Bug#10783)
8166 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
8168         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8169         Handle breakpoints with no "type".
8171 2012-03-06  Glenn Morris  <rgm@gnu.org>
8173         * files.el (locate-dominating-file): Add optional predicate argument.
8174         (dir-locals-find-file): Make use of above change.
8176 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
8178         * info.el (Info-insert-dir): Also try "dir.gz".
8180 2012-03-06  Glenn Morris  <rgm@gnu.org>
8182         * files.el (dir-locals-find-file):
8183         Ignore non-readable or non-regular files.  (Bug#10928)
8185         * files.el (locate-dominating-file): Doc fix.
8187 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
8189         * calendar/calendar.el (calendar-set-mode-line):
8190         `getenv' returns a string.  (Bug#10951)
8192 2012-03-05  Leo Liu  <sdl.web@gmail.com>
8194         * simple.el (backward-delete-char-untabify): Constrain point to
8195         field (Bug#10939).
8197         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8199 2012-03-05  Chong Yidong  <cyd@gnu.org>
8201         * simple.el (count-words): If called from Lisp, return the word
8202         count, for symmetry with `count-lines'.  Arglist changed.
8203         (count-words--message): Args changed.  Consolidate counting code
8204         from count-words and count-words-region.
8205         (count-words-region): Caller changed.
8206         (count-lines-region): Make it an obsolete alias.
8208 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
8210         * saveplace.el (save-place-to-alist)
8211         (save-place-ignore-files-regexp): Allow value nil to disable this
8212         feature.
8214 2012-03-04  Chong Yidong  <cyd@gnu.org>
8216         * faces.el (face-spec-reset-face): For the default face, reset the
8217         attributes to default values (Bug#10748).
8219 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8221         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8222         previous patch: Check `message-send-mail-function', and not the
8223         default function (bug#10897).
8225 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
8227         * notifications.el (notifications-on-action-signal)
8228         (notifications-on-closed-signal): Check for unique service name of
8229         incoming event.  Fix error in removing entry.
8230         (top): Register for signals with wildcard service name.
8231         (notifications-notify): Use daemon unique service name for map entries.
8233 2012-03-04  Chong Yidong  <cyd@gnu.org>
8235         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8237 2012-03-04  Glenn Morris  <rgm@gnu.org>
8239         * abbrev.el (copy-abbrev-table, abbrev-table-p)
8240         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8241         (expand-abbrev, define-abbrev-table): Doc fixes.
8243 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8245         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8246         `message-default-send-mail-function' and not `send-mail-function'
8247         when doing the prompting for `sendmail-query-once' before sending
8248         in Message buffers (bug#10897).
8250         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8251         This is inconsistent with all the other stream functions, which leave
8252         the setting up to the higher levels (if so wanted) (bug#10931).
8254 2012-03-02  Alan Mackenzie  <acm@muc.de>
8256         Depessimize the handling of very large macros.
8258         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8259         (c-macro-cache-syntactic): New variables to implement a one
8260         element macro cache.
8261         (c-invalidate-macro-cache): New function.
8262         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8263         Adapt to use the new cache.
8264         (c-state-safe-place): Use better the cache of safe positions.
8265         (c-state-semi-nonlit-pos-cache)
8266         (c-state-semi-nonlit-pos-cache-limit):
8267         New variables for...
8268         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
8269         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8270         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8271         Use c-state-semi-safe-place.
8273         * progmodes/cc-langs.el (c-get-state-before-change-functions):
8274         Add c-invalidate-macro-cache to the C, C++, Obj entries.
8276 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
8278         * jka-compr.el (jka-compr-call-process):
8279         Apply `file-accessible-directory-p' only when the default directory is
8280         not remote.
8282 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
8284         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
8285         access of FILE2, if FILE1 does not exist.
8287         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8288         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8290         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8291         Add "PAGER=" to `process-environment'.
8293 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
8295         * progmodes/sql.el: Bug fix
8296         (sql-get-login-ext): Save login values in globals.
8297         (sql-get-login): Use new version of `sql-get-login-ext'.
8298         (sql-interactive-mode): Set global `sql-connection' to nil.
8299         (sql-connect): Set global values for connection.
8300         (sql-product-interactive): Save global values as buffer local.
8302 2012-02-29  Leo Liu  <sdl.web@gmail.com>
8304         * abbrev.el (define-abbrevs): Reset sys to nil.
8306 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8308         * files.el (file-equal-p): Rename from `files-equal-p'.
8309         Return nil when one or both files don't exist.
8310         (file-subdir-of-p): Now only top directory must exists,
8311         return nil if it doesn't.
8312         (copy-directory): No need to test with `file-subdir-of-p' after
8313         creating dir.
8314         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8315         to `file-equal-p'.
8317 2012-02-28  Glenn Morris  <rgm@gnu.org>
8319         * shell.el (shell-mode):
8320         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8321         * play/landmark.el (landmark-font-lock-face-O):
8322         * play/handwrite.el (handwrite):
8323         * play/gomoku.el (gomoku-O):
8324         * net/browse-url.el (browse-url-browser-display):
8325         * international/mule.el (define-charset):
8326         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8327         * filesets.el (filesets-find-file-delay):
8328         * eshell/em-xtra.el (eshell-xtra):
8329         * eshell/em-unix.el (eshell-grep):
8330         * emulation/viper.el (viper-mode):
8331         * emacs-lisp/regexp-opt.el (regexp-opt-group):
8332         * emacs-lisp/easymenu.el (easy-menu-define):
8333         * calendar/timeclock.el (timeclock-use-display-time):
8334         * bs.el (bs-mode):
8335         * bookmark.el (bookmark-save-flag):
8336         Doc fix (standardize possessive apostrophe usage).
8338 2012-02-27  Chong Yidong  <cyd@gnu.org>
8340         * emulation/viper-cmd.el (viper-intercept-ESC-key):
8341         Fix key-binding lookup for ESC key (Bug#9146).
8343         * font-lock.el (font-lock-specified-p): Rename from
8344         font-lock-spec-present.  Callers changed.
8346 2012-02-27  Daniel Hackney  <dan@haxney.org>
8348         * emacs-lisp/package.el (package-compute-transaction):
8349         Handle holding a package version to t in package-load-list.
8351 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
8353         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8354         (tramp-get-inode, tramp-get-device): Use cached values.
8356 2012-02-26  Alan Mackenzie  <acm@muc.de>
8358         Check there is a font-lock specification before doing initial
8359         fontification.
8361         * font-core.el (font-lock-mode): Move the conditional from
8362         :after-hook to font-lock-initial-fontify.
8363         (font-lock-default-function): Move the check for a specification
8364         to font-lock-spec-present.
8366         * font-lock.el (font-lock-initial-fontify): Call ...
8367         (font-lock-spec-present): New function.
8369 2012-02-26  Jim Blandy  <jimb@red-bean.com>
8371         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8372         (gdb-send): Apply it to the operand of the '-interpreter-exec
8373         console' command, so that we can pass arguments with (say) quotes
8374         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
8376 2012-02-26  Chong Yidong  <cyd@gnu.org>
8378         * help-fns.el (describe-function-1): Clarify description of
8379         remapping (Bug#10844).
8381         * files.el (files-equal-p): Doc fix.
8382         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
8383         and quit the loop once a mismatch is found.
8385 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
8387         * bs.el (bs--show-with-configuration): Don't throw an error
8388         if the window cannot be split; otherwise, subsequent calls to
8389         bs-show fail, restoring a stale window config.  (Bug#10882)
8391 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
8393         * term/ns-win.el (global-map): Bind ns-drag-file to
8394         ns-find-file (Bug#5855, Bug#10050).
8396 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
8398         * calendar/parse-time.el (parse-time-string): Allow extractor to
8399         return nil.
8401 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
8403         * net/tramp.el (tramp-file-name-for-operation):
8404         Add `files-equal-p' and `file-subdir-of-p'.
8406         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8407         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8408         Add COPY-CONTENTS argument.
8410 2012-02-25  Chong Yidong  <cyd@gnu.org>
8412         Add custom groups for VC backends, for consistency with vc-bzr.
8414         * vc/vc-arch.el (vc-arch):
8415         * vc/vc-cvs.el (vc-cvs):
8416         * vc/vc-git.el (vc-git):
8417         * vc/vc-hg.el (vc-hg):
8418         * vc/vc-mtn.el (vc-mtn):
8419         * vc/vc-rcs.el (vc-rcs):
8420         * vc/vc-sccs.el (vc-sccs):
8421         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8422         All relevant defcustoms reassigned.
8424 2012-02-25  Chong Yidong  <cyd@gnu.org>
8426         * newcomment.el (comment-styles): Add autoload (Bug#10868).
8428         * term/x-win.el (x-initialize-window-system): Reduce default for
8429         x-selection-timeout to 5 seconds (Bug#8869).
8431 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8433         * files.el (files-equal-p, file-subdir-of-p): New functions.
8434         (copy-directory): Error when trying to copy a directory on itself.
8435         Add missing copy-contents arg to tramp handler.
8436         * dired-aux.el (dired-copy-file-recursive): Same.
8437         (dired-create-files): Modify destination when source is equal to
8438         dest when copying files.
8439         Return also when dest is a subdir of source.  (Bug#10489)
8441 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
8443         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8444         (Bug#10874)
8446 2012-02-23  Alan Mackenzie  <acm@muc.de>
8448         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8449         parameter "after-hook:" to allow the expansion to run code after
8450         the execution of the mode hooks.
8452         * font-lock.el (font-lock-initial-fontify): New function extracted
8453         from font-lock-mode-internal.
8455         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8456         :after-hook.
8458 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8460         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8461         (completion--cache-all-sorted-completions): New function.
8462         (completion-all-sorted-completions): Use it.
8463         (completion--do-completion, minibuffer-force-complete):
8464         Use it to re-instate the flush hook.
8466         * icomplete.el (icomplete-completions): Replace last fix with a better
8467         one (bug#10850).
8469 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
8471         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8472         when it might call us back infinitely (bug#10797).
8474 2012-02-23  Glenn Morris  <rgm@gnu.org>
8476         * minibuffer.el (completion-category-overrides): Doc fix.
8478 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8480         * minibuffer.el (completion-table-with-context): Fix inf-loop.
8481         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8483 2012-02-23  Glenn Morris  <rgm@gnu.org>
8485         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8486         (authors-obsolete-files-regexps, authors-ignored-files)
8487         (authors-ambiguous-files, authors-renamed-files-alist):
8488         Add more entries.
8490 2012-02-23  Juri Linkov  <juri@jurta.org>
8492         * isearch.el (isearch-occur): Sync interactive spec with occur's
8493         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
8495         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8497 2012-02-22  Juri Linkov  <juri@jurta.org>
8499         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8500         (ucs-insert): Doc fix.  Check for hex digits in the string.
8501         Don't display `nil' in the error message.  (Bug#10857)
8503 2012-02-22  Alan Mackenzie  <acm@muc.de>
8505         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
8507 2012-02-22  Glenn Morris  <rgm@gnu.org>
8509         * ffap.el (ffap-c-path):
8510         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
8512 2012-02-22  Chong Yidong  <cyd@gnu.org>
8514         * custom.el (load-theme): Doc fix.
8516 2012-02-22  Glenn Morris  <rgm@gnu.org>
8518         * dired-x.el (dired-guess-shell-alist-default):
8519         Remove escape sequences from nroff output.  (Bug#172)
8521 2012-02-21  Glenn Morris  <rgm@gnu.org>
8523         * vc/emerge.el (emerge-defvar-local):
8524         Set `permanent-local' property rather than unused `preserved'.
8526         * textmodes/picture.el (picture-delete-char): New alias.
8527         (picture-mode-map): Use it.  (Bug#10860)
8528         (picture-mode): Doc fix.
8530 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
8532         * newcomment.el (uncomment-region-default): Remove unused binding.
8534 2012-02-21  Glenn Morris  <rgm@gnu.org>
8536         * textmodes/picture.el (picture-motion, picture-motion-reverse)
8537         (picture-self-insert, picture-tab-chars): Doc fix.
8538         (picture-mode-map): Fix C-a, C-e.
8540 2012-02-20  Glenn Morris  <rgm@gnu.org>
8542         * emacs-lisp/authors.el (authors-aliases): Add another entry.
8544 2012-02-20  Leo Liu  <sdl.web@gmail.com>
8546         * icomplete.el (icomplete-completions): Check FROM arg before
8547         passing to substring (Bug#10850).
8549 2012-02-19  Chong Yidong  <cyd@gnu.org>
8551         * comint.el: Require ansi-color.
8552         (comint-output-filter-functions): Add ansi-color-process-output.
8554         * ansi-color.el: Don't set comint-output-filter-functions; it is
8555         now in the initial value defined in comint.el.
8556         (ansi-color-apply-face-function): New variable.
8557         (ansi-color-apply-on-region): Use it.
8558         (ansi-color-apply-overlay-face): New function.
8560         * shell.el (shell): No need to require ansi-color.
8561         (shell-mode): Use ansi-color-apply-face-function to highlight
8562         color escapes using font-lock-face property (Bug#10835).
8564 2012-02-19  Chong Yidong  <cyd@gnu.org>
8566         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8567         mode-line formats (Bug#10839).
8569 2012-02-18  Glenn Morris  <rgm@gnu.org>
8571         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8573         * mail/undigest.el (unforward-rmail-message): Doc fix.
8575         * saveplace.el (save-place-ignore-files-regexp): Add :version.
8577 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
8579         * international/characters.el (script-list): Sync with the latest
8580         Unicode Character Database.
8582 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
8584         * international/titdic-cnv.el: Remove duplicate coding tag.
8585         * language/cham.el: Likewise.
8586         * language/tai-viet.el: Likewise.
8588 2012-02-18  Glenn Morris  <rgm@gnu.org>
8590         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8591         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8592         (calendar-bahai-all-holidays-flag, calendar-other-dates):
8593         * calendar/diary-lib.el (diary-abbreviated-year-flag):
8594         * calendar/holidays.el (holiday-bahai-holidays)
8595         (calendar-holidays, list-holidays):
8596         Use utf-8 Bahá'í in doc-strings, menus, etc.
8598 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
8600         * saveplace.el (save-place-ignore-files-regexp): New variable
8601         allowing for excluding files from saving their location of point.
8602         The default value matches the temporary commit message editing
8603         files from Git, SVN, Bazaar, and Mercurial.
8604         (save-place-to-alist): Use it.
8606 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
8607             Stefan Monnier  <monnier@iro.umontreal.ca>
8609         * newcomment.el (uncomment-region-default): Don't leave extra space
8610         when an arg is provided (bug#8150).
8612 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
8614         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
8616 2012-02-17  Glenn Morris  <rgm@gnu.org>
8618         * net/socks.el: Require network-stream.  (Bug#10599)
8620 2012-02-17  Kenichi Handa  <handa@m17n.org>
8622         * international/charprop.el:
8623         * international/uni-name.el:
8624         * international/uni-old-name.el:
8625         * international/uni-comment.el: Regenerate.
8627 2012-02-16  Glenn Morris  <rgm@gnu.org>
8629         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8630         Interactively in calendar buffer, give an error if not on a date.
8632 2012-02-15  Glenn Morris  <rgm@gnu.org>
8634         * shell.el (shell-delimiter-argument-list):
8635         Revert 2011-02-17 change.  (Bug#8027)
8637 2012-02-15  Chong Yidong  <cyd@gnu.org>
8639         * minibuffer.el (completion-at-point-functions): Doc fix.
8641         * custom.el (defcustom): Doc fix; note use of defvar.
8643 2012-02-15  Glenn Morris  <rgm@gnu.org>
8645         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8646         Doc fixes.
8648 2012-02-14  Glenn Morris  <rgm@gnu.org>
8650         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8652 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
8654         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8655         way the ports list is computed.
8656         (smtpmail-query-smtp-server): Prompt the user for a port number if
8657         we can't connect to any of the standard ports (bug#10810).
8659 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
8661         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8663 2012-02-13  Glenn Morris  <rgm@gnu.org>
8665         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
8667 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
8669         * net/gnutls.el (gnutls-trustfiles): New variable.
8670         (gnutls-negotiate): Use it.
8672 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
8674         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8675         does its stuff if Gnus is running.
8677 2012-02-13  Alan Mackenzie  <acm@muc.de>
8679         Fix a loop in c-set-fl-decl-start.
8681         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
8682         c-backward-syntactic-ws actually moves backwards.
8684 2012-02-13  Leo Liu  <sdl.web@gmail.com>
8686         * net/rcirc.el (rcirc-markup-attributes): Move point to the
8687         beginning so that all \C-o chars are removed.
8689 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
8691         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
8693 2012-02-12  Alan Mackenzie  <acm@muc.de>
8695         Fix infinite loop with long macros.
8696         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
8698 2012-02-12  Chong Yidong  <cyd@gnu.org>
8700         * window.el (display-buffer): Doc fix (Bug#10785).
8702 2012-02-12  Glenn Morris  <rgm@gnu.org>
8704         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8705         (x-disown-selection-internal, x-get-selection-internal):
8706         Sync docs with the xselect.c versions.
8708         * allout-widgets.el: Add missing license notice.
8710 2012-02-11  Glenn Morris  <rgm@gnu.org>
8712         * select.el (x-get-selection-internal, x-own-selection-internal)
8713         (x-disown-selection-internal):
8714         * x-dnd.el (x-get-selection-internal): Update declarations.
8716         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8718         * window.el (window-sides-slots):
8719         * tool-bar.el (tool-bar-position):
8720         * term/xterm.el (xterm-extra-capabilities):
8721         * ses.el (ses-self-reference-early-detection):
8722         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8723         (verilog-auto-wire-type)
8724         (verilog-auto-delete-trailing-whitespace)
8725         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8726         (verilog-auto-tieoff-declaration):
8727         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8728         (sql-oracle-statement-starters, sql-oracle-scan-on):
8729         * progmodes/prolog.el (prolog-align-comments-flag)
8730         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8731         (prolog-left-indent-regexp, prolog-paren-indent-p)
8732         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8733         (prolog-types, prolog-mode-specificators)
8734         (prolog-determinism-specificators, prolog-directives)
8735         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8736         (prolog-electric-dot-flag)
8737         (prolog-electric-dot-full-predicate-template)
8738         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8739         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8740         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8741         (prolog-program-switches, prolog-prompt-regexp)
8742         (prolog-debug-on-string, prolog-debug-off-string)
8743         (prolog-trace-on-string, prolog-trace-off-string)
8744         (prolog-zip-on-string, prolog-zip-off-string)
8745         (prolog-use-standard-consult-compile-method-flag)
8746         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8747         (prolog-imenu-max-lines, prolog-info-predicate-index)
8748         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8749         (prolog-char-quote-workaround):
8750         * progmodes/cc-vars.el (c-defun-tactic):
8751         * net/tramp.el (tramp-encoding-command-interactive)
8752         (tramp-local-end-of-line):
8753         * net/soap-client.el (soap-client):
8754         * net/netrc.el (netrc-file):
8755         * net/gnutls.el (gnutls):
8756         * minibuffer.el (completion-category-overrides)
8757         (completion-cycle-threshold)
8758         (completion-pcm-complete-word-inserts-delimiters):
8759         * man.el (Man-name-local-regexp):
8760         * mail/feedmail.el (feedmail-display-full-frame):
8761         * international/characters.el (glyphless-char-display-control):
8762         * eshell/em-ls.el (eshell-ls-date-format):
8763         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8764         (lisp-lambda-list-keyword-parameter-indentation)
8765         (lisp-lambda-list-keyword-parameter-alignment):
8766         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8767         * dired-x.el (dired-omit-verbose):
8768         * cus-theme.el (custom-theme-allow-multiple-selections):
8769         * calc/calc.el (calc-highlight-selections-with-faces)
8770         (calc-lu-field-reference, calc-lu-power-reference)
8771         (calc-note-threshold):
8772         * battery.el (battery-mode-line-limit):
8773         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8774         (archive-7z-update):
8775         * allout.el (allout-prefixed-keybindings)
8776         (allout-unprefixed-keybindings)
8777         (allout-inhibit-auto-fill-on-headline)
8778         (allout-flattened-numbering-abbreviation):
8779         * allout-widgets.el (allout-widgets-auto-activation)
8780         (allout-widgets-icons-dark-subdir)
8781         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8782         (allout-widgets-theme-dark-background)
8783         (allout-widgets-theme-light-background)
8784         (allout-widgets-item-image-properties-emacs)
8785         (allout-widgets-item-image-properties-xemacs)
8786         (allout-widgets-run-unit-tests-on-load)
8787         (allout-widgets-time-decoration-activity)
8788         (allout-widgets-hook-error-post-time)
8789         (allout-widgets-track-decoration):
8790         Add missing :version tags to new defcustoms and defgroups.
8792         * progmodes/sql.el (sql-ansi-statement-starters)
8793         (sql-oracle-statement-starters): Add custom type.
8795         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8796         (prolog-system-version): Give it a type.
8798 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
8800         * term/pc-win.el (x-select-text, x-selection-owner-p)
8801         (x-own-selection-internal, x-disown-selection-internal)
8802         (x-get-selection-internal): Sync doc strings and argument lists
8803         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
8805 2012-02-11  Leo Liu  <sdl.web@gmail.com>
8807         * progmodes/python.el (python-end-of-statement): Fix infinite
8808         loop.  (Bug#10788)
8810 2012-02-10  Glenn Morris  <rgm@gnu.org>
8812         * international/mule-cmds.el (unify-8859-on-encoding-mode)
8813         (unify-8859-on-decoding-mode): Properly mark as obsolete.
8815 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
8817         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8818         about SMTP before checking the From header.
8820         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
8821         into own function for reuse by emacsbug.el.
8823 2012-02-10  Leo Liu  <sdl.web@gmail.com>
8825         * subr.el (condition-case-unless-debug): Rename from
8826         condition-case-no-debug.  All callers changed.
8827         (with-demoted-errors): Fix caller.
8829         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8830         * nxml/rng-valid.el (rng-do-some-validation):
8831         * emacs-lisp/package.el (package-refresh-contents)
8832         (package-menu-execute):
8833         * desktop.el (desktop-create-buffer):
8834         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
8836 2012-02-10  Glenn Morris  <rgm@gnu.org>
8838         * textmodes/bibtex.el:
8839         Add missing :version tags for new/changed defcustoms.
8841         * files.el (remote-file-name-inhibit-cache): Doc fixes.
8843 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
8845         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8846         (smtpmail-via-smtp): Use it, or fall back on the From address.
8847         (smtpmail-send-it): Ditto.
8849 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8851         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8852         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
8853         (byte-compile-tmp-var): New const.
8854         (byte-compile-defvar): Use it to minimize .elc size.
8855         Just use `defvar' rather than simulate it (bug#10761).
8857 2012-02-09  Glenn Morris  <rgm@gnu.org>
8859         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
8861         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8862         Add :version tags.
8864         * progmodes/compile.el (compilation-error-screen-columns)
8865         (compilation-first-column, compilation-filter-start): Doc fixes.
8867         * vc/log-view.el (log-view-toggle-entry-display):
8868         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8870         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8871         (report-emacs-bug-can-use-xdg-email):
8872         (report-emacs-bug-insert-to-mailer): Doc fixes.
8873         (report-emacs-bug): Message fix.
8875         * net/browse-url.el (browse-url-can-use-xdg-open)
8876         (browse-url-xdg-open): Doc fixes.
8878         * electric.el (electric-indent-mode, electric-pair-mode)
8879         (electric-layout-rules, electric-layout-mode): Doc fixes.
8880         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8882 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
8884         * server.el (server-unselect-display): Don't inadvertently kill
8885         the current buffer.  (Bug#10729)
8887 2012-02-08  Glenn Morris  <rgm@gnu.org>
8889         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8890         (sql-list-table): Doc fixes.
8892         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8893         Comment out (does nothing).
8895         * completion.el (dynamic-completion-mode):
8896         * dirtrack.el (dirtrack-debug-mode):
8897         * electric.el (electric-layout-mode):
8898         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8899         * face-remap.el (text-scale-mode, buffer-face-mode):
8900         * iimage.el (iimage-mode):
8901         * image-mode.el (image-transform-mode):
8902         * minibuffer.el (completion-in-region-mode):
8903         * scroll-lock.el (scroll-lock-mode):
8904         * simple.el (next-error-follow-minor-mode):
8905         * tar-mode.el (tar-subfile-mode):
8906         * tooltip.el (tooltip-mode):
8907         * vcursor.el (vcursor-use-vcursor-map):
8908         * wid-browse.el (widget-minor-mode):
8909         * emulation/tpu-edt.el (tpu-edt-mode):
8910         * emulation/tpu-extras.el (tpu-cursor-free-mode):
8911         * international/iso-ascii.el (iso-ascii-mode):
8912         * language/thai-util.el (thai-word-mode):
8913         * mail/supercite.el (sc-minor-mode):
8914         * net/goto-addr.el (goto-address-mode):
8915         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8916         * progmodes/cwarn.el (cwarn-mode):
8917         * progmodes/flymake.el (flymake-mode):
8918         * progmodes/glasses.el (glasses-mode):
8919         * progmodes/hideshow.el (hs-minor-mode):
8920         * progmodes/pascal.el (pascal-outline-mode):
8921         * textmodes/enriched.el (enriched-mode):
8922         * vc/smerge-mode.el (smerge-mode):
8923         Doc fixes (minor mode argument).
8925 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
8927         * ls-lisp.el (ls-lisp-sanitize): New function.
8928         (ls-lisp-insert-directory): Use it to fix or remove any elements
8929         in file-alist with missing attributes.  (Bug#4673)
8931 2012-02-07  Alan Mackenzie  <acm@muc.de>
8933         Fix spurious recognition of c-in-knr-argdecl.
8935         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8936         putative K&R region.
8938 2012-02-07  Alan Mackenzie  <acm@muc.de>
8940         * progmodes/cc-engine.el (c-forward-objc-directive):
8941         Prevent looping in "#pragma mark @implementation".
8943 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
8945         * notifications.el (notifications-on-closed-signal): Make `reason'
8946         optional.  (Bug#10744)
8948 2012-02-07  Glenn Morris  <rgm@gnu.org>
8950         * emacs-lisp/easy-mmode.el (define-minor-mode):
8951         Doc fixes for the macro and the mode it defines.
8953         * image.el (imagemagick-types-inhibit): Doc fix.
8955         * cus-start.el (imagemagick-render-type): Add it.
8957 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
8959         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8960         Set the default at load time, too, so that `font-lock-fontify-buffer'
8961         can be called without setting up the entire mode first.  This fixes
8962         a bug in `mm-inline-text' with C MIME parts.
8964 2012-02-06  Chong Yidong  <cyd@gnu.org>
8966         * simple.el (list-processes--refresh): Delete exited processes
8967         (Bug#8094).
8969         * comint.el (comint-next-prompt): next-single-char-property-change
8970         and prev-single-char-property-change never return nil (Bug#8657).
8972         * custom.el (defcustom): Doc fix (Bug#9711).
8974 2012-02-05  Chong Yidong  <cyd@gnu.org>
8976         * cus-edit.el (custom-variable-reset-backup): Quote the value
8977         before storing it in the customized-value property (Bug#6712).
8978         (custom-display): Add a customization type tag.
8979         (custom-buffer-create-internal): Improve tooltip message.
8981         * wid-edit.el (widget-field-value-get): New optional arg to
8982         suppress trailing whitespace truncation.
8983         (character): Use it (Bug#2689).
8985 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
8987         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8988         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8990 2012-02-05  Chong Yidong  <cyd@gnu.org>
8992         * cus-edit.el (custom-variable-value-create): For mismatched
8993         types, show the current value (Bug#7600).
8995         * custom.el (defcustom): Doc fix.
8997 2012-02-05  Glenn Morris  <rgm@gnu.org>
8999         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9001 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
9003         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9004         (pp-buffer): Use `ignore-errors', `looking-at-p'.
9005         (pp-last-sexp): Use `looking-at-p'.
9007 2012-02-04  Glenn Morris  <rgm@gnu.org>
9009         * files.el (revert-buffer):
9010         Doc fix (mention revert-buffer-in-progress-p).
9012         * emacs-lisp/ert-x.el (ert-simulate-command):
9013         Check deferred-action-list (which is obsolete) is bound.
9015         * subr.el (with-wrapper-hook): Doc fixes.
9017         * simple.el (filter-buffer-substring-functions)
9018         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9020 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
9022         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9023         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
9025 2012-02-04  Leo Liu  <sdl.web@gmail.com>
9027         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9029 2012-02-04  Glenn Morris  <rgm@gnu.org>
9031         * image.el (image-extension-data): Add obsolete alias.
9033         * isearch.el (isearch-update): Doc fix.
9035         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9037         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9039 2012-02-03  Glenn Morris  <rgm@gnu.org>
9041         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
9042         (image-animate-timeout): Doc fix.
9044         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9046 2012-02-02  Glenn Morris  <rgm@gnu.org>
9048         * server.el (server-auth-dir): Doc fix.
9049         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
9051         * subr.el (run-mode-hooks): Doc fix.
9053 2012-02-02  Juri Linkov  <juri@jurta.org>
9055         * image-mode.el (image-toggle-display-image): Remove tautological
9056         `major-mode' from the `derived-mode-p' test.
9058 2012-02-02  Kenichi Handa  <handa@m17n.org>
9060         * composite.el (compose-region): Cancel previous change.
9062 2012-02-02  Kenichi Handa  <handa@m17n.org>
9064         * composite.el (compose-region, compose-string): Signal error for
9065         a null string component (Bug#6988).
9067 2012-02-01  Chong Yidong  <cyd@gnu.org>
9069         * view.el (view-buffer-other-window, view-buffer-other-frame):
9070         Handle special modes like view-buffer (Bug#10650).
9071         (view-buffer): Simplify.
9073         * frame.el (set-frame-font): Tweak meaning of third argument.
9075         * dynamic-setting.el (font-setting-change-default-font):
9076         Use set-frame-font (Bug#9982).
9078 2012-02-01  Glenn Morris  <rgm@gnu.org>
9080         * progmodes/compile.el (compilation-internal-error-properties):
9081         Respect compilation-first-column in the "*compilation*" buffer.
9083         * emacs-lisp/easy-mmode.el (define-minor-mode):
9084         Relax :variable's test for a named function.
9086 2012-01-31  Alan Mackenzie  <acm@muc.de>
9088         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9089         off by one error.
9091 2012-01-31  Chong Yidong  <cyd@gnu.org>
9093         * frame.el (set-frame-font): New arg ALL-FRAMES.
9095         * menu-bar.el (menu-set-font): Use set-frame-font.
9097         * faces.el (face-spec-reset-face): Don't apply unspecified
9098         attribute values to the default face.
9100 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
9102         * progmodes/cwarn.el (cwarn): Remove dead link.
9103         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9104         Remove * from defcustom docstrings.
9105         (turn-on-cwarn-mode): Make obsolete.
9106         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9107         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9109 2012-01-31  Glenn Morris  <rgm@gnu.org>
9111         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9112         Fix :variable handling of mode a symbol not equal to modefun.
9113         Allow named functions to be used as the cdr of :variable.
9115 2012-01-30  Glenn Morris  <rgm@gnu.org>
9117         * emacs-lisp/authors.el (authors-fixed-entries):
9118         Remove reference to deleted file rnewspost.el.
9120 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
9122         * window.el (window-with-parameter): Remove unused variable `windows'.
9123         (window--side-check): Remove unused variable `code'.
9124         (window--resize-siblings): Remove unused variable `first'.
9125         (adjust-window-trailing-edge): Remove unused variable `failed'.
9126         (window-deletable-p, window--delete): Remove unused variable `buffer'.
9127         Use `let', not `let*'.
9128         (balance-windows-2): Remove unused variable `found'.
9129         (window--state-put-2): Remove unused variable `splits'.
9130         (window-state-put): Remove unused variable `selected'.
9131         (same-window-p): Use `string-match-p'.
9132         (display-buffer-assq-regexp): Remove unused variable `value'.
9133         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9134         Mark argument ALIST as ignored.
9135         (pop-to-buffer): Remove unused variable `old-window'.
9137 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
9139         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9140         and .lzma compressed files.
9142 2012-01-29  Chong Yidong  <cyd@gnu.org>
9144         * frame.el (window-system-default-frame-alist): Doc fix.
9146         * dynamic-setting.el (font-setting-change-default-font): Don't
9147         change the default face if SET-FONT argument is non-nil (Bug#9982).
9149 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
9151         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9153 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
9155         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9156         breakpoints in files outside current directory (Bug#6098).
9158 2012-01-29  Chong Yidong  <cyd@gnu.org>
9160         * progmodes/python.el: Require ansi-color at top-level.
9162         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9163         Define and use in Emacs Lisp mode (Bug#9360).
9164         (lisp-mode-abbrev-table): Add doc.
9165         (lisp-mode-variables): Don't set local-abbrev-table.
9166         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9168 2012-01-28  Roland Winkler  <winkler@gnu.org>
9170         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9172 2012-01-28  Roland Winkler  <winkler@gnu.org>
9174         * textmodes/bibtex.el (bibtex-entry-alist): New function.
9175         (bibtex-set-dialect): Use it.  Either set global values of
9176         dialect-dependent variables or bind these variables buffer-locally
9177         (Bug#10254).
9178         (bibtex-mode): Call bibtex-set-dialect via
9179         hack-local-variables-hook.
9180         (bibtex-dialect): Update docstring.
9181         Add safe-local-variable predicate.
9182         (bibtex-entry-alist, bibtex-field-alist): Initialize via
9183         bibtex-set-dialect.
9184         (bibtex-mode-map): Define menu for each dialect.
9185         (bibtex-entry): Fix docstring.
9187 2012-01-28  Chong Yidong  <cyd@gnu.org>
9189         * eshell/esh-arg.el (eshell-quote-argument): New function.
9191         * eshell/esh-ext.el (eshell-invoke-batch-file):
9192         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9193         first arg to eshell-parse-command (Bug#10523).
9195 2012-01-28  Drew Adams  <drew.adams@oracle.com>
9197         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9198         `default-directory' is non-nil.
9200 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
9202         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9203         line that displays system-configuration-options.  (Bug#9924)
9205 2012-01-28  Drew Adams  <drew.adams@oracle.com>
9207         * descr-text.el (describe-char): Show information about POS, in
9208         addition to information about the character at POS.  Improve and
9209         update the doc string.  Change "code point" to "code point in
9210         charset", to avoid confusion with the character's Unicode code
9211         point shown above that.  (Bug#10129)
9213 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
9215         * descr-text.el (describe-char): Show the raw character, not only
9216         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
9217         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9218         for the reasons.
9220 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
9222         * emacs-lisp/package.el (package-install):
9223         Run package-refresh-contents if there is no archive yet (Bug#9798).
9225 2012-01-28  Chong Yidong  <cyd@gnu.org>
9227         * emacs-lisp/package.el (package-maybe-load-descriptor):
9228         New function, split from package-maybe-load-descriptor.
9229         (package-maybe-load-descriptor): Use it.
9230         (package-download-transaction): Fully load required packages
9231         inside the loop, so that `require' calls work (Bug#10593).
9232         (package-install): No need to call package-initialize now.
9234 2012-01-28  Chong Yidong  <cyd@gnu.org>
9236         * simple.el (deactivate-mark): Doc fix (Bug#8614).
9238         * tooltip.el (tooltip-mode): Doc fix.
9239         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9241         * frame.el (set-cursor-color): Doc fix (Bug#352).
9243         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9244         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9246         * cus-edit.el (custom-buffer-create-internal): Fix search button
9247         action (Bug#10542).
9248         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9250 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
9252         * dired.el (dired-mark-files-regexp):
9253         Include any subdirectory components.  (Bug#10445)
9255 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
9257         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9258         Handle [host]:port syntax.  (Bug#10533)
9260 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
9262         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9264 2012-01-26  Glenn Morris  <rgm@gnu.org>
9266         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9267         * term.el (term-raw-escape-map): Use Control-X-prefix.
9268         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
9270 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
9272         * window.el (window-state-get, window--state-get-1): Don't deal
9273         with fixed-sizeness of windows.  Simplify code.
9275 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
9277         * window.el (window--state-get-1, window--state-put-2):
9278         Don't save and restore the mark.
9280 2012-01-25  Chong Yidong  <cyd@gnu.org>
9282         * custom.el (custom-variable-p): Doc fix.
9284 2012-01-25  Glenn Morris  <rgm@gnu.org>
9286         * dired.el (dired-goto-file): Handle some of the more common
9287         characters that `ls -b' escapes.  (Bug#10596)
9289         * progmodes/compile.el (compilation-next-error-function):
9290         Respect compilation-first-column in the "*compilation*" buffer.
9291         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
9293         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
9295 2012-01-24  Glenn Morris  <rgm@gnu.org>
9297         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
9299 2012-01-24  Julien Danjou  <julien@danjou.info>
9301         * color.el (color-rgb-to-hsl): Fix value computing.
9302         (color-hue-to-rgb): New function.
9303         (color-hsl-to-rgb): New function.
9304         (color-clamp, color-saturate-hsl, color-saturate-name)
9305         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9306         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9308 2012-01-24  Glenn Morris  <rgm@gnu.org>
9310         * vc/vc-rcs.el (vc-rcs-create-tag):
9311         * vc/vc-sccs.el (vc-sccs-create-tag):
9312         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
9314 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
9316         * eshell/esh-util.el (eshell-read-hosts-file):
9317         Skip comment lines.  (Bug#10549)
9319         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
9321 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
9323         * subr.el (display-delayed-warnings): Doc fix.
9324         (collapse-delayed-warnings): New function to collapse identical
9325         adjacent warnings.
9326         (delayed-warnings-hook): Add it.
9328 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
9330         * net/tramp.el (tramp-action-login): Set connection property "login-as".
9332         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9333         (tramp-default-user-alist): Don't add "pscp".
9334         (tramp-do-copy-or-rename-file-out-of-band): Use connection
9335         property "login-as", if set.  (Bug#10530)
9337 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
9339         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9340         "plink1" and "psftp".  (Bug#10530)
9342 2012-01-21  Kenichi Handa  <handa@m17n.org>
9344         * international/mule-cmds.el (prefer-coding-system): Show a
9345         warning message if the default value of file-name-coding-system
9346         was not changed.
9348 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
9350         * windmove.el (windmove-reference-loc):
9351         Fix windmove-reference-loc miscalculation.
9353 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
9355         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9356         default unit.
9358 2012-01-21  Glenn Morris  <rgm@gnu.org>
9360         * international/mule.el (auto-coding-alist): Add .tbz.
9362         * files.el (local-enable-local-variables): Doc fix.
9363         (inhibit-local-variables-regexps): Rename from
9364         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
9365         Doc fix.  Add some extensions from auto-coding-alist.
9366         (inhibit-local-variables-suffixes):
9367         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
9368         (inhibit-local-variables-p):
9369         New function, extracted from set-auto-mode-1.
9370         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
9371         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
9372         (hack-local-variables): Doc fix.  Make the mode-only case
9373         respect enable-local-variables and friends.
9374         Respect inhibit-local-variables-regexps for file-locals, but
9375         not for directory-locals.
9376         (set-visited-file-name):
9377         Take account of inhibit-local-variables-regexps.
9378         Whether it applies may change as the file name is changed.
9379         * jka-cmpr-hook.el (jka-compr-install):
9380         * jka-compr.el (jka-compr-uninstall):
9381         Update for inhibit-first-line-modes-suffixes name change.
9383 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
9385         * help-macro.el (make-help-screen): Temporarily restore original
9386         binding for minor-mode-map-alist (Bug#10454).
9388 2012-01-19  Julien Danjou  <julien@danjou.info>
9390         * color.el (color-name-to-rgb): Use the white color to find the max
9391         color component value and return correctly computed values.
9392         (color-name-to-rgb): Add missing float conversion for max value.
9394 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
9396         * window.el (window--state-get-1, window-state-get): Do not use
9397         special state value for window-persistent-parameters.
9398         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
9399         (window--state-put-2): Reset all window parameters to nil before
9400         assigning values of persistent parameters.
9402 2012-01-18  Alan Mackenzie  <acm@muc.de>
9404         Eliminate sluggishness and hangs in fontification of "semicolon
9405         deserts".
9407         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9408         Change value 10000 -> 3000.
9409         (c-state-safe-place): Reformulate so it doesn't stack up an
9410         infinite number of wrong entries in c-state-nonlit-pos-cache.
9411         (c-determine-limit-get-base, c-determine-limit): New functions to
9412         determine backward search limits disregarding literals.
9413         (c-find-decl-spots): Amend commenting.
9414         (c-cheap-inside-bracelist-p): New function which detects "={".
9416         * progmodes/cc-fonts.el
9417         (c-make-font-lock-BO-decl-search-function): Give a limit to a
9418         backward search.
9419         (c-font-lock-declarations): Fix an occurrence of point being
9420         undefined.  Check additionally for point being in a bracelist or
9421         near a macro invocation without a semicolon so as to avoid a
9422         fruitless time consuming search for a declarator.  Give a more
9423         precise search limit for declarators using the new
9424         c-determine-limit.
9426 2012-01-18  Glenn Morris  <rgm@gnu.org>
9428         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9429         (set-auto-mode): Doc fixes.
9431 2012-01-17  Glenn Morris  <rgm@gnu.org>
9433         * isearch.el (search-nonincremental-instead): Fix doc typo.
9435         * dired.el (dired-insert-directory): Handle newlines in directory name.
9436         (dired-build-subdir-alist): Unescape newlines in directory name.
9438 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
9440         * net/tramp.el (tramp-local-end-of-line): New defcustom.
9441         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9442         (tramp-action-terminal): Use it.  (Bug#10530)
9444 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9446         * minibuffer.el (completion--replace): Strip properties (bug#10062).
9448 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
9450         * window.el (window-state-ignored-parameters): Remove variable.
9451         (window--state-get-1): Rename argument MARKERS to IGNORE.
9452         Handle persistent window parameters.  Make copy of clone-of
9453         parameter only if requested.  (Bug#10348)
9454         (window--state-put-2): Install a window parameter only if it has
9455         a non-nil value or an existing parameter shall be overwritten.
9457 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
9459         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9461 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
9463         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9464         don't pass the (nil) value of `upnode' to string-match.
9466 2012-01-14  Chong Yidong  <cyd@gnu.org>
9468         * startup.el (command-line): Fix X resource class for cursorColor.
9469         Fix values recognized by the cursorBlink resource.
9471 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
9473         * epg.el (epg--make-temp-file): Avoid permission race condition
9474         when running on old Emacs versions (bug#10403).
9476 2012-01-14  Glenn Morris  <rgm@gnu.org>
9478         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9480 2012-01-13  Alan Mackenzie  <acm@muc.de>
9482         Fix filling for when filladapt mode is enabled.
9484         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9485         c-mask-paragraph, pass in `fill-paragraph' rather than
9486         `fill-region-as-paragraph'.  (This is a reversion of a previous
9487         change.)
9488         * progmodes/cc-mode.el (c-basic-common-init):
9489         Make fill-paragraph-handle-comment buffer local and set it to nil.
9491 2012-01-13  Glenn Morris  <rgm@gnu.org>
9493         * dired.el (dired-switches-escape-p): New function.
9494         (dired-insert-directory): Use dired-switches-escape-p.
9495         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
9497         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
9499 2012-01-12  Glenn Morris  <rgm@gnu.org>
9501         * mail/sendmail.el (mail-mode): Update paragraph-separate for
9502         changes in adaptive-fill-regexp.  (Bug#10276)
9504 2012-01-11  Alan Mackenzie  <acm@muc.de>
9506         Fix Emacs bug #10463 - put `widen's around the critical spots.
9508         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9509         widen around each invocation of c-state-pp-to-literal.  Remove an
9510         unused let variable.
9512 2012-01-11  Glenn Morris  <rgm@gnu.org>
9514         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
9515         Doc fix.
9517 2012-01-10  Chong Yidong  <cyd@gnu.org>
9519         * net/network-stream.el (network-stream-open-starttls):
9520         Avoid emitting a confusing error message when the server gives a bad
9521         response to the capability command.
9523 2012-01-10  Glenn Morris  <rgm@gnu.org>
9525         * mail/unrmail.el (unrmail): Tweak previous change.
9527 2012-01-09  Chong Yidong  <cyd@gnu.org>
9529         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9531 2012-01-08  Alan Mackenzie  <acm@muc.de>
9533         Optimise font locking in long enum definitions.
9535         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9536         arm to a cond form to handle enums.
9537         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9538         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9540 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9542         * files.el (move-file-to-trash): Preserve default file modes on error.
9543         (Bug#10401)
9545 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9547         * faces.el (set-face-attribute): Clarify the meaning of the nil
9548         frame (bug#10294).
9550         * subr.el (with-selected-frame): Mention that the selected frame
9551         is restored (bug#9980).
9553         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9554         (bug#9759).
9556         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
9557         (password-read): Don't autoload unused function.
9559 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
9561         * progmodes/which-func.el (which-func-mode): Turn into a
9562         non-interactive function and mark as obsolete (bug#10428).
9564 2012-01-06  Chong Yidong  <cyd@gnu.org>
9566         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9567         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9568         functions, along with 1 and -1.
9570 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
9572         * time.el (display-time-load-average)
9573         (display-time-default-load-average): Doc fixes.  See the thread
9574         starting at
9575         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9576         for the details.
9578 2012-01-06  Glenn Morris  <rgm@gnu.org>
9580         * mail/unrmail.el (unrmail): Give an explicit error if the input file
9581         has no messages.  (Bug#10377)
9583         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9584         than Info-edit.  (Bug#10385)
9586         * time.el (display-time-load-average, display-time-next-load-average):
9587         Doc fixes.
9589         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9590         local setting of buffer-read-only to the input buffer.  (Bug#10419)
9592         * calendar/calendar.el (calendar-mode):
9593         Locally set scroll-margin to 0.  (Bug#10379)
9595 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
9597         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
9599 2012-01-05  Glenn Morris  <rgm@gnu.org>
9601         * eshell/em-unix.el (diff-no-select): Autoload it.
9602         (eshell/diff): Use diff-no-select.  (Bug#10420)
9604 2012-01-05  Chong Yidong  <cyd@gnu.org>
9606         * shell.el (shell-dynamic-complete-functions): Revert last change.
9607         (shell-command-completion-function): New function.
9608         (shell-completion-vars): Use it to implement
9609         shell-completion-execonly (Bug#10417).
9611         * custom.el (enable-theme): Don't set custom-safe-themes.
9613         * cus-theme.el (custom-theme-merge-theme):
9614         Ignore custom-enabled-themes and custom-safe-themes.
9616 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
9618         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9619         first prompt in `sql-interacive-mode'.
9620         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
9621         keywords.
9622         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
9623         (sql-product-interactive): Bug fix: Set `sql-buffer' in
9624         context of original buffer.  Invoke `sql-login-hook'.
9626 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
9628         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9629         letters in cite-prefix.
9631 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9633         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9635 2012-01-03  Chong Yidong  <cyd@gnu.org>
9637         * shell.el (shell-dynamic-complete-functions):
9638         Put pcomplete-completions-at-point, so as to try
9639         comint-filename-completion first (Bug#10417).
9641 2012-01-02  Richard Stallman  <rms@gnu.org>
9643         * battery.el (battery-status-function):
9644         Detect when to use battery-yeeloong-sysfs.
9645         (battery-echo-area-format): Add string for Yeeloong.
9646         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9647         (battery-yeeloong-sysfs): New function.
9649 2012-01-02  Chong Yidong  <cyd@gnu.org>
9651         * dirtrack.el (dirtrack-list): Eliminate unused third element.
9652         (dirtrack): Merge code for handling relative filenames in prompt
9653         from shell-dir-cookie-watcher.
9654         (dirtrack-debug-message): New arg to avoid excess format calls.
9656         * shell.el (shell-dir-cookie-re): Variable deleted.
9657         (shell-dir-cookie-watcher): Function deleted.
9658         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9659         with dirtrack-mode.
9661 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
9663         * term/w32-win.el (dynamic-library-alist) <gnutls>:
9664         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
9665         libgnutls-26.dll.
9667 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
9669         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9671 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
9673         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9674         headers of non-MIME messages, when rmail-enable-mime is non-nil.
9676 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
9678         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9679         also for alternative shells.
9680         (tramp-open-connection-setup-interactive-shell): Check, whether
9681         the shell is a busybox.
9682         (tramp-send-command): Don't suppress multiple prompts for
9683         busyboxes, it hurts.
9685 2011-12-28  Chong Yidong  <cyd@gnu.org>
9687         * progmodes/gdb-mi.el (gdb-get-source-file-list)
9688         (gdb-get-source-file): Move mode line update to
9689         gdb-get-source-file (Bug#10087).
9691 2011-12-25  Chong Yidong  <cyd@gnu.org>
9693         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9694         gud-gdb-marker-filter without taking it as an argument.
9695         (gud-gdb-run-command-fetch-lines): Caller changed.
9696         (gud-gdb-completion-function): New variable.
9697         (gud-gdb-completion-at-point): Use it.
9698         (gud-gdb-completions-1): Split from gud-gdb-completions.
9700         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9701         function as separate arguments.
9702         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9703         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9704         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9705         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9706         (gdb-stopped, def-gdb-auto-update-trigger)
9707         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
9708         (gdb-get-changed-registers, gdb-get-main-selected-frame):
9709         Callers changed.
9710         (gud-gdbmi-completions): New function.
9711         (gdb): Use it for generating the completion table.
9713 2011-12-24  Alan Mackenzie  <acm@muc.de>
9715         Introduce a mechanism to widen the region used in context font
9716         locking.  Use this to protect declarations from losing their contexts.
9718         * progmodes/cc-langs.el (c-before-font-lock-functions):
9719         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
9720         (c-before-context-fontification-functions): New defvar, a list of
9721         functions to be run just before context (etc.) font locking.
9723         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
9724         New, functionality extracted from
9725         c-neutralize-syntax-in-and-mark-CPP.
9726         (c-in-after-change-fontification): New variable.
9727         (c-after-change): Set c-in-after-change-fontification.
9728         (c-set-fl-decl-start): Rejig its interface, so it can be called
9729         from both after-change and context fontifying.
9730         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9731         New functions.
9732         (c-standard-font-lock-fontify-region-function): New variable.
9733         (c-font-lock-fontify-region): New function.
9735 2011-12-24  Juri Linkov  <juri@jurta.org>
9737         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9738         (Bug#10348)
9740 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
9742         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9743         existence of source file.  (Bug#10325)
9745 2011-12-23  Alan Mackenzie  <acm@muc.de>
9747         Fix unstable fontification inside templates.
9749         * progmodes/cc-langs.el (c-before-font-lock-functions):
9750         Newly created from the singular version.  The (c c++ objc) entry now
9751         additionally has c-set-fl-decl-start.  The other languages (apart
9752         from AWK) have that as a single entry.
9754         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9755         The functionality for "local" declarations has been extracted to
9756         c-set-fl-decl-start.
9758         * progmodes/cc-mode.el (c-common-init, c-after-change):
9759         Changes due to pluralisation of c-before-font-lock-functions.
9760         (c-set-fl-decl-start): New function, extracted from
9761         c-font-lock-enclosing-decls and enhanced.
9763 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
9765         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9767 2011-12-22  Juri Linkov  <juri@jurta.org>
9769         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
9771 2011-12-22  Chong Yidong  <cyd@gnu.org>
9773         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9775 2011-12-21  Drew Adams  <drew.adams@oracle.com>
9777         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
9779 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
9781         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9783 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
9785         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
9786         highlighting and support.  Fix up comments for capitalization.
9787         (cfengine-mode-debug): New var.
9788         (cfengine3-mode): Change the modeline indicator to "CFE3".
9789         (cfengine3-font-lock-keywords): Improve defun highlighting.
9790         (cfengine2-actions): Rename from `cfengine-actions'.
9791         (cfengine2-font-lock-keywords): Rename from
9792         `cfengine-font-lock-keywords'.
9793         (cfengine2-imenu-expression): Rename from
9794         `cfengine-imenu-expression'.
9795         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9796         (cfengine2-beginning-of-defun): Rename from
9797         `cfengine-beginning-of-defun'.
9798         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9799         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9800         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
9801         modeline indicator to "CFE2".
9802         (cfengine-mode): Defalias to `cfengine-auto-mode'.
9803         (cfengine-mode-abbrevs): Mark obsolete.
9805 2011-12-21  Chong Yidong  <cyd@gnu.org>
9807         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9808         filename argument.
9810 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
9812         * window.el (window-normalize-buffer-to-display): Remove.
9813         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9815 2011-12-19  Chong Yidong  <cyd@gnu.org>
9817         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9818         Don't signal an error in a predicate function; return non-nil.
9819         (vc-dir-mark-file): Move the error here.
9820         (vc-dir-mark-unmark): If acting on the region, keep going if one
9821         of the entries cannot be marked/unmarked.
9822         (vc-dir-mark-all-files): If current entry is a directory, mark
9823         only child files, as documented.
9825 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9827         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9828         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9829         addition.
9831 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
9833         * term/ns-win.el (ns-get-selection-internal)
9834         (ns-store-selection-internal): Declare.
9835         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9836         Declare as obsolete.
9837         (ns-get-pasteboard, ns-paste-secondary):
9838         Use ns-get-selection-internal.
9839         (ns-set-pasteboard, ns-copy-including-secondary):
9840         Use ns-store-selection-internal.
9842 2011-12-17  Chong Yidong  <cyd@gnu.org>
9844         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9845         (vc-deduce-fileset): Doc fix.
9847 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
9849         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9851 2011-12-13  Sam Steingold  <sds@gnu.org>
9853         * man.el (Man-getpage-in-background): When running under a
9854         window-system, ignore $MANWIDTH and $COLUMNS.
9856 2011-12-15  Kenichi Handa  <handa@m17n.org>
9858         * language/ethio-util.el: Change coding tag to utf-8-emacs.
9859         (setup-ethiopic-environment-internal): Comment out key-binding for
9860         ethio-toggle-punctuation.
9862 2011-12-13  Alan Mackenzie  <acm@muc.de>
9864         Add the switch statement to AWK Mode.
9866         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
9867         "default" to the keywords regexp.
9869         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
9870         expression as the rest.
9871         (c-nonlabel-token-key): Allow string literals for AWK.
9872         Refactor for the other modes.
9874         Large brace-block initialisation makes CC Mode slow: Fix.
9875         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
9876         routines.  Limit backward searching in c-font-lock-enclosing.decl.
9878         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9879         pp-state and literal type in addition to the limits.
9880         (c-state-safe-place): New defun, extracted from c-state-literal-at.
9881         (c-state-literal-at): Use the above new defun.
9882         (c-slow-in-literal, c-fast-in-literal): Remove.
9883         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
9885         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9886         being in a literal.  Add a limit for backward searching.
9888         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9889         c-slow-in-literal.
9891 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9893         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9895 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
9897         * window.el (delete-other-windows): Use correct frame in call to
9898         window-with-parameter.
9900 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
9902         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9903         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9904         (makefile-gmake-statements, makefile-makepp-statements):
9905         Use it and add new makepp keywords.
9906         (makefile-makepp-font-lock-keywords): Add new patterns.
9907         (makefile-match-function-end): Match new [...] and [[...]].
9909 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
9911         * ses.el (ses-call-printer-return, ses-cell-property-get)
9912         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9913         (ses-create-cell-variable, ses-reset-header-string)
9914         (ses-cell-set-formula, ses-repair-cell-reference-all)
9915         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9916         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9917         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9918         (ses-aset-with-undo, ses-load, ses-truncate-cell)
9919         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9920         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9921         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9922         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9923         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9924         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9925         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9926         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9928 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9930         * ses.el: The overall change is to add cell renaming, that is
9931         setting fancy names for cell symbols other than name matching
9932         "\\`[A-Z]+[0-9]+\\'" regexp .
9933         (ses-create-cell-variable): New defun.
9934         (ses-relocate-formula): Relocate formulas only for cells the
9935         symbols of which are not renamed, i.e. symbols whose names do not
9936         match regexp "\\`[A-Z]+[0-9]+\\'".
9937         (ses-relocate-all): Relocate values only for cells the symbols of
9938         which are not renamed.
9939         (ses-load): Create cells variables as the (ses-cell ...) are read,
9940         in order to check row col consistency with cell symbol name only
9941         for cells that are not renamed.
9942         (ses-replace-name-in-formula): New defun.
9943         (ses-rename-cell): New defun.
9945 2011-12-11  Chong Yidong  <cyd@gnu.org>
9947         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9948         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9950 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
9952         * window.el (other-window): Fix docstring.
9954 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
9956         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
9957         `from' or `to' address before taking its substring.
9958         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
9959         encoded name is chopped in the middle of the encoded string, and
9960         thus displayed encoded.
9962 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
9964         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9966 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
9968         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
9969         to use texinfo-update-node and commands that call it if the
9970         Texinfo file uses @node lines without next/prev/up pointers.
9971         Correct outdated description about texinfo-master-menu.
9972         (texinfo-all-menus-update, texinfo-master-menu)
9973         (texinfo-update-node, texinfo-every-node-update)
9974         (texinfo-multiple-files-update): Doc fix.  Warn against updating
9975         all the @node lines.
9976         (texinfo-master-menu): Only call texinfo-update-node if the prefix
9977         argument is numeric.  Explain better in the doc string what the
9978         function really does.
9979         (texinfo-insert-master-menu-list): Improve the error message
9980         displayed if there's no menu in the Top node.
9981         (Bug#2975)  See also this thread:
9982         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9984 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
9986         * speedbar.el (speedbar-supported-extension-expressions):
9987         Add .adb and .ads, commonly used for Ada source code (bug#10256).
9989 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
9991         * printing.el (pr-mode-alist):
9992         * simple.el (filter-buffer-substring-functions)
9993         (completion-list-insert-choice-function):
9994         * window.el (window-with-parameter, window-atom-root)
9995         (window-sides-slots, window-size-fixed, window-min-delta)
9996         (window-max-delta, window--resize-mini-window)
9997         (window--resize-child-windows-normal, window-tree)
9998         (delete-other-windows, quit-window, split-window)
9999         (display-buffer-record-window, special-display-buffer-names)
10000         (special-display-regexps, special-display-popup-frame)
10001         (same-window-p, split-window-sensibly)
10002         (display-buffer-overriding-action, display-buffer-alist)
10003         (display-buffer-base-action, display-buffer, switch-to-buffer)
10004         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10005         (fit-window-to-buffer, recenter-positions)
10006         (mouse-autoselect-window-state, mouse-autoselect-window-select):
10007         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10008         and remove unneeded backslashes in docstrings.
10010 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10012         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10014         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10015         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10016         end in ".mk".
10017         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10018         when reading the makefile (bug#10116).
10020 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10022         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10023         (bug#10116).
10025 2011-12-06  Glenn Morris  <rgm@gnu.org>
10027         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10029 2011-12-06  Chong Yidong  <cyd@gnu.org>
10031         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10033 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
10035         * textmodes/table.el (table-shorten-cell): Fix typo.
10037 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
10039         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10041 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
10043         * descr-text.el (describe-char): Fix display of strong
10044         right-to-left characters and directional embeddings and overrides.
10046         * simple.el (what-cursor-position): Fix display of codepoints of
10047         strong right-to-left characters.
10049 2011-12-05  Chong Yidong  <cyd@gnu.org>
10051         * faces.el (read-color): Doc fix.
10053 2011-12-05  Glenn Morris  <rgm@gnu.org>
10055         * align.el (align--set-marker): Add doc-string.
10056         Don't try to move something that is not a marker.  (Bug#10216)
10058 2011-12-04  Glenn Morris  <rgm@gnu.org>
10060         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10061         overly zealous deletion of trailing whitespace.
10063 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
10065         * server.el (server-delete-client): On Windows, do not try to delete
10066         the only terminal.
10067         (server-process-filter): On Windows, treat requests for a tty frame as
10068         if they were for a GUI frame if the running server is in GUI mode.
10070 2011-12-03  Glenn Morris  <rgm@gnu.org>
10072         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
10074 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10076         * electric.el: Streamline electric-indent's hook.
10077         (electric-indent-chars): Revert to simple list.
10078         (electric-indent-functions): New var.
10079         (electric-indent-post-self-insert-function): Use it.
10081         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10082         there's no inferior buffer (bug#10196).
10083         (prolog-consult-compile): Don't use toggle-read-only.
10085 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
10087         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10088         interrupt.  (Bug#10187)
10090 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10092         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10093         (bug#9160).
10095         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10096         (bug#10191).
10098 2011-12-02  Juri Linkov  <juri@jurta.org>
10100         * info.el (Info-search): Display "end of manual" when Isearch
10101         reaches the end of single-file Info manual.  (Bug#9918)
10103 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
10105         * isearch.el (isearch-message-prefix): Run the input method part
10106         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
10108 2011-12-02  Juri Linkov  <juri@jurta.org>
10110         * isearch.el (isearch-occur): Use `word-search-regexp' for
10111         `isearch-word'.
10112         (isearch-search-and-update): Add condition for `isearch-word' and
10113         call `word-search-regexp'.  (Bug#10145)
10115 2011-12-01  Glenn Morris  <rgm@gnu.org>
10117         * eshell/em-hist.el (eshell-hist-initialize):
10118         Handle eshell-history-size nil and HISTSIZE set or unset.
10119         (eshell-history-file-name, eshell-history-size): Fix custom type.
10121 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10123         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10125 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
10127         * progmodes/verilog-mode.el (verilog-pretty-expr):
10128         Rework verilog-pretty-expr to handle new assignment operators in system
10129         verilog, such as += *= and the like.
10130         (verilog-assignment-operator-re): Regular expression to find the
10131         assigment operator in a verilog assignment.
10132         (verilog-assignment-operation-re): Regular expression to find an
10133         assignment statement for pretty-expr.
10134         (verilog-in-attribute-p): Query returns true if point is in an
10135         attribute context; used to skip these for expression line up from
10136         pretty-expr.
10137         (verilog-in-parameter-p): Query returns true if point is in an
10138         parameter definition context; used to skip these for expression
10139         line up from pretty-expr.
10140         (verilog-in-parenthesis-p): Query returns true if point is in a
10141         parenthetical expression, specifically ( ) but not [ ] or { };
10142         used by pretty-expr.
10143         (verilog-just-one-space): If there is no space, don't add one.
10144         (verilog-get-lineup-indent-2): Specifically skip just attribute
10145         contexts for expression lineup, rather than skipping all
10146         parenthetical expressions.
10147         (verilog-calculate-indent): Fix comment, and fix indent.
10148         (verilog-do-indent): Indent declarations in lists (suggested by
10149         Joachim Lechner).
10150         (verilog-mode-abbrev-table): Populate abbrev mode with the various
10151         skeleton items.
10152         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10153         by Alain Mellan).
10155 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
10157         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10158         parameters with embedded comments.  Reported by Ray Stevens.
10159         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10160         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10161         Reported by Tim Holt.
10162         (verilog-auto): Fix AUTOing a upper module then AUTOing module
10163         instantiated by upper module causing wrong expansion until AUTOed a
10164         second time.  Reported by K C Buckenmaier.
10165         (verilog-diff-auto): Fix showing .* as a difference when
10166         `verilog-auto-star-save' off.  Reported by Dan Dever.
10167         (verilog-auto-reset, verilog-read-always-signals)
10168         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10169         temporary signals in reset list if
10170         verilog-auto-reset-blocking-in-non is nil, and match assignment
10171         style to each signal's assignment type, bug381.
10172         Reported by Thomas Esposito.
10173         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10174         (verilog-uvm-statement-re): Support UVM indentation and
10175         highlighting, with old OVM keywords only.
10176         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10177         Support AUTOTIEOFF creating non-wire data types.
10178         Suggested by Jonathan Greenlaw.
10179         (verilog-auto-insert-lisp, verilog-delete-to-paren)
10180         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10181         (verilog-inject-sense, verilog-read-inst-pins)
10182         (verilog-read-sub-decls, verilog-read-sub-decls-line):
10183         Fix mismatching parenthesis inside commented out code when deleting
10184         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
10185         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10186         non-numeric vector width.  Reported by Alex Reed.
10187         (verilog-auto-ascii-enum): Add "onehot" option to work around not
10188         detecting signals with parameter widths.  Reported by Alex Reed.
10189         (verilog-auto-delete-trailing-whitespace):
10190         With `verilog-auto-delete-trailing-whitespace' remove trailing
10191         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
10192         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10193         Fix verilog-scan-cache corruption when running user AUTO expansion
10194         hooks that call indentation routines.
10195         (verilog-simplify-range-expression): Fix typo ignoring lower case
10196         identifiers.
10197         (verilog-delete-auto): Fix delete-autos to also remove user created
10198         automatics, as long as they start with AUTO.
10199         (verilog-batch-diff-auto, verilog-diff-auto)
10200         (verilog-diff-function): Add `verilog-diff-auto' and bind to
10201         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
10202         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10203         (verilog-in-paren-quick, verilog-re-search-backward-quick)
10204         (verilog-re-search-forward-quick, verilog-syntax-ppss):
10205         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10206         is disabled and its cache will get corrupt, causing AUTOS not to
10207         expand.  Instead use only -quick functions.
10208         (verilog-scan-region): Fix scanning over escaped quotes.
10209         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10210         (verilog-re-search-backward-quick)
10211         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10212         related functions now ignore strings, to fix misparsing of strings
10213         with magic comments embedded in them.
10214         (verilog-read-auto-template):
10215         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10216         Reported by Brad Dobbie.
10217         (verilog-read-auto-template):
10218         Fix 'verilog-auto-inst-template-numbers' with comments.
10219         Reported by Brad Dobbie.
10220         (verilog-auto-inst, verilog-auto-inst-param)
10221         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10222         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
10223         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10224         debugging templates without merge conflicts, bug357.
10225         Reported by Brad Dobbie.
10226         (verilog-read-auto-template):
10227         Fix verilog-auto-inst-template-numbers with multiple templates.
10228         Reported by Brad Dobbie.
10229         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10230         abbrevs so user won't be asked to save.
10231         (verilog-read-auto-lisp-present): Fix to start at beginning of
10232         buffer in case called outside of verilog-auto.
10233         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10234         to "X-2".  Reported by Matthew Myers.
10235         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10236         all inputs from module templates.  Reported by Leith Johnson.
10237         (verilog-module-inside-filename-p): Fix locating programs as with
10238         modules.
10239         (verilog-auto-inst-port): Fix vl-width expressions when using
10240         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
10241         (verilog-decls-get-regs, verilog-decls-get-signals,
10242         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10243         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10244         verilog-read-decls): Combine reg and wire structures into one var
10245         structure to represent SystemVerilog concepts.
10246         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10247         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10248         (verilog-auto-wire-type, verilog-insert-definition):
10249         Add verilog-auto-wire-type and AUTOLOGIC to support using
10250         SystemVerilog "logic" keyword instead of "wire"/"reg".
10251         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10252         to declares outputs that also have assignments (presumably in an
10253         ifdef or generate if so there's not a driver conflict).
10254         Reported by Matthew Myers.
10255         (verilog-auto-declare-nettype, verilog-insert-definition):
10256         Add verilog-auto-declare-nettype to fix declarations using
10257         `default_nettype none.  Reported by Julian Gorfajn.
10258         (verilog-read-always-signals-recurse, verilog-read-decls)
10259         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10260         malformed end statement, bug325.  Reported by Joshua Wise and
10261         Andrew Drake.
10262         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10263         (verilog-inst-comment-re): Fix not deleting Interfaced comment
10264         when expanding .* in interfaces, bug320.
10265         Reported by Pierre-David Pfister.
10266         (verilog-read-module-name): Fix import statements between module
10267         name and open parenthesis, bug317.
10268         Reported by Pierre-David Pfister.
10269         (verilog-simplify-range-expression): Fix simplification of
10270         multiplications inside AUTOWIRE connections, bug303.
10271         (verilog-auto-inst-port): Support parameter expansion in
10272         multidimensional arrays.
10273         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10274         after "assert property".  Reported by Julian Gorfajn.
10275         (verilog-simplify-range-expression): Fix "couldn't merge" errors
10276         with multiplication, bug303.
10277         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10278         Reported by Jan Frode Lonnum.
10280 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
10282         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10283         (hfy-shell-file-name, hfy-shell):
10284         * international/fontset.el (x-decompose-font-name): Fix typos.
10286 2011-11-29  Ken Brown  <kbrown@cornell.edu>
10288         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10289         (gdb-version): Remove defvar.
10290         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10291         (gdb-gud-context-command, gdb-non-stop-handler)
10292         (gdb-current-context-command, gdb-stopped): Use it.
10293         (gdb-init-1): Enable pretty printing here.
10294         (gdb-non-stop-handler): Don't enable pretty-printing here.
10295         Check to see if the target supports non-stop mode; if not, turn off
10296         non-stop mode.  Use the following.
10297         (gdb-check-target-async): New defun.
10298         (gud-watch, gdb-stopped): Fix whitespace.
10299         (gdb-get-source-file): Don't try to display the source file if
10300         `gdb-main-file' is nil.
10302 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10304         * align.el: Try to generate fewer markers (bug#10047).
10305         (align--set-marker): New macro.
10306         (align-region): Use it.
10308 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10310         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10312 2011-11-29  Chong Yidong  <cyd@gnu.org>
10314         * indent.el (indent-for-tab-command, indent-according-to-mode):
10315         Doc fix.
10316         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
10318 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
10320         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10321         aware of remote file names.  (Bug#10124)
10323 2011-11-29  Chong Yidong  <cyd@gnu.org>
10325         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10327 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10329         * files.el (find-file): Don't use force-same-window (bug#10144).
10330         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10331         use pop-to-buffer if the selected window can't be used.
10332         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10334 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
10336         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10337         special-mode-map.
10339 2011-11-28  Chong Yidong  <cyd@gnu.org>
10341         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10343 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
10345         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10346           gdb-get-source-file-list on gdb-create-source-file-list.
10348 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
10350         * whitespace.el (whitespace-newline): Use a different foreground
10351         color for 16-color light-background displays.
10353 2011-11-24  Chong Yidong  <cyd@gnu.org>
10355         * window.el (display-buffer--special-action): Doc fix.
10357 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
10359         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10360         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10361         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10362         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10363         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10364         (avl-tree-stack-first):
10365         * emacs-lisp/cconv.el (cconv--analyse-use):
10366         * net/gnutls.el (gnutls-negotiate): Fix typos.
10368 2011-11-24  Glenn Morris  <rgm@gnu.org>
10370         * lpr.el (lpr-windows-system, lpr-lp-system):
10371         * mail/binhex.el (binhex-begin-line):
10372         * progmodes/grep.el (grep-history, grep-find-history):
10373         * textmodes/flyspell.el:
10374         * vc/pcvs-defs.el (cvs-global-menu):
10375         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10376         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10377         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10379         * net/tls.el: Fix case of "GnuTLS".
10381         * paths.el (rmail-file-name): Format doc-string for make-docfile.
10383         * version.el (emacs-build-system): Give it a doc-string.
10385 2011-11-24  Juri Linkov  <juri@jurta.org>
10387         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10389 2011-11-24  Glenn Morris  <rgm@gnu.org>
10391         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10392         if called on a non-mime message just toggle the headers.  (Bug#8006)
10394 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
10396         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10397         (allout-lead-with-comment-string, allout-structure-deleted-hook)
10398         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10399         (allout-rebullet-heading, allout-open-sibtopic)
10400         (allout-toggle-current-subtree-encryption)
10401         (allout-toggle-subtree-encryption, allout-encrypt-string)
10402         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10403         (allout-distinctive-bullets-string, allout-auto-activation):
10404         * window.el (window-normalize-buffer-to-display):
10405         * progmodes/verilog-mode.el (verilog-batch-indent):
10406         * textmodes/bibtex.el (bibtex-field-braces-opt)
10407         (bibtex-field-strings-opt):
10408         * vc/cvs-status.el (cvs-tree-merge):
10409         Fix typos.
10411 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
10413         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10414         `non-essential' to t, in order to avoid remote connections.
10416 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
10418         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10419         On MS-DOS and MS-Windows, compare with loaddefs.el
10420         case-insensitively.
10422 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10424         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
10426 2011-11-23  Glenn Morris  <rgm@gnu.org>
10428         * paths.el (rmail-file-name): Reformat the doc-string so that it
10429         is picked up.
10431         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10432         (rmail-auto-file): Ignore case in the "special" field names,
10433         as mail-fetch-field does for all others.
10435         * mail/rmail.el (rmail-forward):
10436         * mail/rmailkwd.el (rmail-set-label):
10437         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10438         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
10440         * mail/rmail.el (rmail-current-message): Doc fix.
10442         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
10444 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10446         * server.el (server-eval-and-print): Allow C-g (bug#6585).
10448 2011-11-22  Glenn Morris  <rgm@gnu.org>
10450         * mail/rmailmm.el (test-rmail-mime-handler)
10451         (test-rmail-mime-bulk-handler)
10452         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10454 2011-11-21  Juri Linkov  <juri@jurta.org>
10456         * calc/calc.el (calc-read-key-sequence):
10457         Let-bind `input-method-function' to nil.  (Bug#10018)
10459 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10461         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10462         Tell the caller that the next line needs recomputation, even
10463         though it doesn't start a sexp (bug#10094).
10465 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10467         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10469 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10471         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10472         Use force-same-window.
10474 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
10476         * descr-text.el (describe-char-unicode-data):
10477         * json.el (json-string-escape):
10478         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10479         (Footnote-unicode, Footnote-style-p):
10480         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10482 2011-11-20  Chong Yidong  <cyd@gnu.org>
10484         * window.el (replace-buffer-in-windows): Restore interactive spec.
10486 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10488         * electric.el (electric-indent-mode): Fix last change (too optimistic).
10490         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10491         (byte-compile-global-not-obsolete-vars): New var.
10492         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10493         Use it.
10494         (byte-compile-warn-obsolete): Align text with the one in *Help*.
10496 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
10498         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10499         * progmodes/pascal.el (electric-pascal-equal):
10500         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10501         * xml.el (xml-substitute-special): Fix typos.
10503 2011-11-20  Glenn Morris  <rgm@gnu.org>
10505         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10506         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10507         Doc fixes.
10508         (rmail-decode-mime-charset): Mark as obsolete.
10510         * mail/rmailsum.el (rmail-message-regexp-p-1):
10511         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10512         Before using mime functions, check they are set.  (Bug#10077)
10514 2011-11-19  Juri Linkov  <juri@jurta.org>
10516         * info.el (Info-finder-find-node): Use `package--builtins' instead
10517         of `package-alist'.  Use node names formed by the pattern "Keyword "
10518         and the keyword name.
10520 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
10522         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10524 2011-11-19  Juri Linkov  <juri@jurta.org>
10526         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10527         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
10528         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10529         `old-history', `old-history-forward'.  Add let-binding
10530         `window-selected'.  Remove calls to `kill-buffer',
10531         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
10532         before calling `Info-find-node', so `Info-find-node-2' will reread
10533         the Info file.  Restore window positions only when `window-selected'
10534         is non-nil.
10536 2011-11-19  Juri Linkov  <juri@jurta.org>
10538         * isearch.el (isearch-lazy-highlight-new-loop):
10539         Remove condition `(not isearch-error)'.  (Bug#9918)
10541         * misearch.el (multi-isearch-search-fun): Add condition
10542         `(not bound)' to ignore lazy-highlighting search.
10543         Add the search-failed message "end of multi" when the end of
10544         multi-sequence is reached.  Uncapitalize the search-failed
10545         message "Repeat for next buffer".
10547         * info.el (Info-search): Add the search-failed message
10548         "end of the manual" when the end of the manual is reached
10549         in Isearch mode.
10551 2011-11-19  Juri Linkov  <juri@jurta.org>
10553         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10554         Use non-destructive `remove' instead of `delete' because
10555         `Info-history-list' stored to `Info-isearch-initial-history-list' in
10556         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10558 2011-11-19  Juri Linkov  <juri@jurta.org>
10560         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10561         to nil instead of binding `search-ring' and `regexp-search-ring'.
10562         (Bug#9185)
10564 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
10566         * simple.el (line-move): Force movement by logical lines for any
10567         hscrolled window, not only when auto-hscroll-mode is on.
10568         (line-move-visual): Update doc string to that effect.  (Bug#10076)
10570 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
10572         * language/european.el (macintosh): Define as alias for mac-roman.
10574 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
10576         * mail/rmailmm.el (rmail-mime-display-header)
10577         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10578         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10579         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10580         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10581         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10582         of a raw aref.
10583         (rmail-mime-entity-segment): To get past the tagline, move forward
10584         2 more lines, to account for the 2 empty lines that precede and
10585         follow the line with the buttons.
10586         (rmail-mime-update-tagline): Move one more line, to get past the
10587         empty line that follows the buttons in the tagline.  (Bug#9520)
10589 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
10591         * window.el (window-max-delta-1, window-min-delta-1)
10592         (window-min-size-1, window-state-get-1, window-state-put-1)
10593         (window-state-put-2): Use "window--" prefix.
10595 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10597         * emacs-lisp/smie.el: Improve warnings and conflict detection.
10598         (smie-warning-count): New var.
10599         (smie-set-prec2tab): Use it.
10600         (smie-bnf->prec2): Improve warnings.  Add docstring.
10601         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10602         (smie-bnf--set-class): New function.
10603         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
10604         corner case.
10606         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10607         (compilation-error-properties, compilation-move-to-column):
10608         Handle compilation-first-column while in the target buffer.
10610         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10611         Don't hardcode point-min==1.
10613         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10614         (eshell-rewrite-for-command): Remove workaround.
10615         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10616         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10617         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10619         * files-x.el (modify-file-local-variable): Obey commenting conventions.
10621 2011-11-17  Glenn Morris  <rgm@gnu.org>
10623         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10624         Ignore buffer-local generated-autoload-file if it is the same
10625         as the global value.  (Bug#10049)
10627 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
10629         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10630         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10631         (reftex-toc-previous-heading, reftex-toc-max-level)
10632         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10633         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10634         (reftex-toc-do-promote, reftex-toc-promote-prepare)
10635         (reftex-toc-promote-action, reftex-toc-extract-section-number)
10636         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10637         (reftex-toc-rename-label, reftex-toc-visit-location)
10638         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10639         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10640         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10641         leaving "*toc*" only for references to the buffer.
10643 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
10645         * window.el (window-resize, delete-window, split-window):
10646         Replace window-splits by window-combination-resize.
10647         * cus-start.el (window-splits): Replace by window-combination-resize.
10649 2011-11-17  Glenn Morris  <rgm@gnu.org>
10651         * progmodes/sh-script.el (sh-font-lock-keywords-var):
10652         Make bash entry derive from sh entry, not shell entry.
10654 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
10656         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10657         local file name.
10659 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
10661         * menu-bar.el (menu-bar-file-menu):
10662         * printing.el (pr-ps-utility):
10663         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10664         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10665         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10666         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10667         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10668         (icalendar--convert-cyclic-to-ical)
10669         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10670         (icalendar--convert-ical-to-diary)
10671         (icalendar--convert-recurring-to-diary)
10672         (icalendar--convert-non-recurring-all-day-to-diary)
10673         (icalendar-import-format-sample):
10674         * progmodes/idlw-shell.el (idlwave-shell-mode):
10675         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10676         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10677         (vhdl-ps-print-init): Fix typos.
10679 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
10681         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10682         FSF and collapse date sequence, obscure author/maintainer email address
10683         better, remove extra version line, track relocation of author's webpage.
10685         * progmodes/python.el (python-pdbtrack-input-prompt)
10686         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10687         regular python pdb prompts.  Adjustments shamelessly taken exactly as
10688         suggested in EmacsWiki page (tiny change):
10689         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
10691 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
10693         * expand.el (expand-pos, expand-index, expand-point):
10694         Remove redundant info from docstring.
10695         (expand-add-abbrevs): Doc fix.
10696         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10697         (expand-sample-perl-mode-expand-list): Fix typos.
10699         * net/dbus.el (dbus-event-member-name):
10700         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10701         * term/pc-win.el (msdos-create-frame-with-faces):
10702         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10704 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
10706         * window.el (split-window, window-state-get-1)
10707         (window-state-put-1, window-state-put-2): Rename occurrences of
10708         window-nest to window-combination-limit.
10709         * cus-start.el (window-nest): Rename to window-combination-limit.
10711 2011-11-16  Chong Yidong  <cyd@gnu.org>
10713         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10714         regexp (Bug#10033).
10716 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10718         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10719         `completing-read' will remove *Completions* and will preserve
10720         current-buffer for us.
10721         (tmm-add-prompt): Users of *Completions* will always (re)set its
10722         major mode.
10723         (tmm-old-comp-map): Remove.
10725 2011-11-16  Glenn Morris  <rgm@gnu.org>
10727         * mail/rmailedit.el: Require rmailmm when compiling.
10728         (rmail-old-mime-state): New declaration.
10729         (rmail-edit-current-message): If editing a mime message,
10730         edit the "raw" message from the mbox buffer.
10731         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
10733 2011-11-15  Glenn Morris  <rgm@gnu.org>
10735         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10736         which wasn't being used.  Add optional arg to force given state.
10737         (rmail-mime): Add optional arg to force given state.
10739 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
10741         * allout.el (allout-encryption-plaintext-sanitization-regexps):
10742         * frame.el (display-mm-dimensions-alist):
10743         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10744         (outline-move-subtree-down):
10745         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10746         (newsticker--treeview-do-get-node):
10747         * net/quickurl.el (quickurl-list-buffer-name):
10748         * progmodes/dcl-mode.el (dcl-mode):
10749         * progmodes/gdb-mi.el (gdb-mapcar*):
10750         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10752 2011-11-15  Glenn Morris  <rgm@gnu.org>
10754         * mail/rmail.el (rmail-file-coding-system): It's only ever used
10755         in a boolean sense, so just make it a boolean, and fix the doc.
10756         (rmail-show-mime-function, rmail-mime-feature)
10757         (rmail-require-mime-maybe): Doc fixes.
10758         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10760         * mail/rmailmm.el (rmail-show-mime): Doc fix.
10762 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
10764         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10765         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10766         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10767         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10769 2011-11-15  Glenn Morris  <rgm@gnu.org>
10771         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10772         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10773         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10774         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10775         (rmail-mime, rmail-show-mime): Doc fixes.
10777         * term/ns-win.el (mode-line-frame-identification):
10778         Leave it alone.  (Bug#10051)
10780         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
10782         * mail/rmailout.el (rmail-output-to-rmail-buffer):
10783         Handle empty buffers.  (Bug#9978)
10785 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
10787         * international/mule.el (define-charset):
10788         * mail/rmailmm.el (rmail-mime-find-header-encoding):
10789         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10790         * progmodes/verilog-mode.el (verilog-backward-token):
10791         * textmodes/ispell.el (lookup-words):
10792         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10794 2011-11-14  Glenn Morris  <rgm@gnu.org>
10796         * progmodes/executable.el
10797         (executable-make-buffer-file-executable-if-script-p):
10798         Handle file-modes returning nil.
10800         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10801         message - not necessary, and causes problems.  (Bug#9831)
10803         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10805         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10807         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10808         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
10809         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10811 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
10813         * window.el (window-resize, delete-window): Use window-splits
10814         variable instead of function.
10815         (window-state-get-1, window-state-put-2, window-state-put):
10816         Don't deal with windows' splits status.
10818 2011-11-12  Glenn Morris  <rgm@gnu.org>
10820         * apropos.el (apropos-do-all, apropos-library, apropos-value)
10821         (apropos-documentation): Doc fixes.
10823 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
10825         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10826         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10828 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10830         * electric.el (electric-indent-post-self-insert-function): Make it
10831         possible for a char to only indent in some circumstances.
10832         (electric-indent-mode): Simplify.
10834 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
10836         * window.el (windows-with-parameter): Remove unused function.
10837         (windows-at-side): Rename to window-at-side-list.
10838         (window-check, window-atom-check, window-atom-check-1)
10839         (window-side-check, window-size-ignore, window-size-fixed-1)
10840         (window-in-direction-2): Prefix with "window--".
10841         (window-tree-1): Rename to window--subtree, fix doc-string.
10843 2011-11-11  Glenn Morris  <rgm@gnu.org>
10845         * subr.el (eval-after-load): If FILE is already loaded,
10846         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
10848 2011-11-10  Glenn Morris  <rgm@gnu.org>
10850         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10851         Call svn via vc-svn-command rather than vc-do-command.
10852         (vc-svn-command): Add --non-interactive.  (Bug#9993)
10853         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10855         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10856         Add toggle-read-only.  (Bug#7292)
10857         * files.el (toggle-read-only): Mention that it should only
10858         be used interactively.  (Bug#10006)
10860 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10862         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10863         Adjust regexp for OCaml warnings.
10865         * electric.el (electric-pair-post-self-insert-function): Let user
10866         turn it off buffer-locally (bug#9932).
10868         * progmodes/python.el (python-beginning-of-statement):
10869         Rewrite (bug#2703).
10871         * progmodes/compile.el: Better handle TABs (bug#9749).
10872         (compilation-internal-error-properties)
10873         (compilation-next-error-function): Obey the target buffer's
10874         compilation-error-screen-columns.
10876 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
10878         * progmodes/meta-mode.el: Remove obsolete comments.
10879         (meta-right-comment-regexp, meta-ignore-comment-regexp):
10880         Fix typos in docstrings.
10882 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
10884         * window.el (window-size-fixed-p): Rewrite doc-string.
10885         (window-resizable-p): Rename to window--resizable-p.  Update callers.
10886         (window--resizable): New function.  Make all callers of
10887         window-resizable call window--resizable instead.
10888         (window-resizable): Rewrite in terms of window--resizable.
10890 2011-11-08  Glenn Morris  <rgm@gnu.org>
10892         * progmodes/delphi.el (delphi-mode-syntax-table):
10893         Let define-derived-mode define a proper syntax table.  (Bug#9994)
10895 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10897         * window.el: Stay away from defsubst.
10898         (window-list-no-nils): Remove.
10899         (window-state-get-1, window-state-get): Use backquote instead.
10901 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10903         * emacs-lisp/find-func.el (find-function-read):
10904         Fix incorrect use of default argument in `completing-read'.
10906 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
10908         * window.el (display-buffer-function, special-display-function):
10909         Mention display-buffer-record-window but do not mention
10910         help-setup parameter in doc-strings.
10911         (window-min-delta): Fix doc-string typo.
10913 2011-11-08  Chong Yidong  <cyd@gnu.org>
10915         * window.el (window-total-height, window-total-width): Doc fix.
10916         (window-body-size): Move from C.
10917         (window-body-height, window-body-width): Move to C.
10919 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10921         * window.el: Make special-display like display-buffer-alist (bug#9532).
10922         (display-buffer--special-action): New function, morphed
10923         from display-buffer--special.
10924         (display-buffer): Use it to handle special-display-buffers at higher
10925         priority (just after display-buffer-alist).
10926         (display-buffer-fallback-action, display-buffer--other-frame-action)
10927         (pop-to-buffer-same-window): Remove display-buffer--special.
10929 2011-11-07  Glenn Morris  <rgm@gnu.org>
10931         * calendar/cal-menu.el (cal-menu-set-date-title):
10932         Do nothing if not in a calendar.  (Bug#9976)
10934 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10936         * files.el (find-file): Always use selected-window.
10938 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
10940         * window.el (window-combinations): Make WINDOW argument
10941         mandatory.  Rewrite doc-string.
10942         (walk-window-subtree, window-atom-check, window-min-delta)
10943         (window-max-delta, window--resize-this-window)
10944         (window--resize-root-window-vertically, window-tree)
10945         (balance-windows, window-state-put): Rewrite doc-strings as to
10946         not mention the term "subwindow".
10947         (window--resize-subwindows-skip-p): Rename to
10948         window--resize-child-windows-skip-p.
10949         (window--resize-subwindows-normal): Rename to
10950         window--resize-child-windows-normal.
10951         (window--resize-subwindows): Rename to
10952         window--resize-child-windows.
10953         (window-or-subwindow-p): Rename to window--in-subtree-p.
10955 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10957         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10958         Ensure that mbox format messages end in two newlines (Bug#9974).
10960 2011-11-06  Chong Yidong  <cyd@gnu.org>
10962         * window.el (window-combination-p): Function deleted; its
10963         side-effect is not used in any existing code.
10964         (window-combinations, window-combined-p): Call window-*-child
10965         directly.
10967 2011-11-05  Chong Yidong  <cyd@gnu.org>
10969         * window.el (window-valid-p): Rename from window-any-p.
10970         (window-size-ignore, window-state-get): Callers changed.
10971         (window-normalize-window): Rename from window-normalize-any-window.
10972         New arg LIVE-ONLY, replacing window-normalize-live-window.
10973         (window-normalize-live-window): Delete.
10974         (window-combination-p, window-combined-p, window-combinations)
10975         (walk-window-subtree, window-atom-root, window-min-size)
10976         (window-sizable, window-sizable-p, window-size-fixed-p)
10977         (window-min-delta, window-max-delta, window-resizable)
10978         (window-resizable-p, window-full-height-p, window-full-width-p)
10979         (window-current-scroll-bars, window-point-1, set-window-point-1)
10980         (window-at-side-p, window-in-direction, window-resize)
10981         (adjust-window-trailing-edge, maximize-window, minimize-window)
10982         (window-deletable-p, delete-window, delete-other-windows)
10983         (record-window-buffer, unrecord-window-buffer)
10984         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10985         (quit-window, split-window, window-state-put)
10986         (set-window-text-height, fit-window-to-buffer)
10987         (shrink-window-if-larger-than-buffer): Callers changed.
10989 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
10991         * mail/rmail.el (rmail-simplified-subject): Decode subject with
10992         rfc2047-decode-string.
10993         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10994         warnings.
10996         * window.el (window-body-height, window-body-width): Mention in
10997         the doc string that the return values are in frame's canonical
10998         units.  (Bug#9949)
11000 2011-11-03  Alan Mackenzie  <acm@muc.de>
11002         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11003         change in cc-engine.el.
11005 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11007         * window.el (switch-to-buffer): Use `force-same-window' interactively.
11009 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
11011         * window.el (quit-window): Call unrecord-window-buffer after
11012         showing another buffer in the window.  (Bug#9937)
11013         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11015 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
11017         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11018         Accept status with more than 9 shelves.  (Bug#9935)
11019         Reported by Colin D Bennett <colin@gibibit.com>.
11021 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
11023         * help.el (with-help-window): Don't reference
11024         temp-buffer-show-specifiers in doc-string.
11026 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11028         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11029         menu-item.
11031 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11033         * whitespace.el: New version 13.2.2.
11034         (whitespace-newline-mode): Disable properly.  Reported by Sarah
11035         <EmacsWiki>.
11037 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
11039         * net/newst-treeview.el: Remove "Time-stamp".
11040         (newsticker--group-manage-orphan-feeds): Do not call
11041         newsticker--treeview-tree-update.
11042         (newsticker-treeview-update, newsticker-treeview):
11043         Call newsticker--treeview-tree-update if necessary.
11045 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
11047         * window.el (window-iso-combination-p, window-iso-combined-p)
11048         (window-iso-combinations): Remove "iso-" infix.
11049         Suggested by Chong Yidong.
11050         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11051         (window-max-delta-1, window-resize, window--resize-siblings)
11052         (window--resize-this-window, adjust-window-trailing-edge)
11053         (split-window, balance-windows-1)
11054         (shrink-window-if-larger-than-buffer):
11055         * calendar/calendar.el (calendar-generate-window):
11056         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11058 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11060         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11061         in place (bug#9907).
11062         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11063         (eshell-rewrite-if-command, eshell-rewrite-for-command)
11064         (eshell-structure-basic-command, eshell-rewrite-while-command)
11065         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11066         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11067         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11068         (eshell-do-pipelines-synchronously, eshell-eval-command):
11069         Use backquotes and prefer setq to set.
11070         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11071         (eshell-macrop): Use functionp.
11072         (eshell-do-eval): Handle multiple expressions in `while' body.
11074 2011-10-30  Chong Yidong  <cyd@gnu.org>
11076         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11077         instead of set-mark (Bug#9810).
11079 2011-10-30  Chong Yidong  <cyd@gnu.org>
11081         * window.el (split-window-below, split-window-right): Rename from
11082         split-window-above-each-other and split-window-side-by-side
11083         respectively.  All callers changed.
11084         (split-window-sensibly, split-window-sensibly): Use them.
11085         (split-window-keep-point): Doc fix.
11087         * isearch.el: Add isearch-scroll property to split-window-below
11088         and split-window-right.
11090         * follow.el (follow-mode):
11091         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11092         * progmodes/ada-xref.el (ada-gdb-application):
11093         * emulation/vip.el (vip-buffer-in-two-windows):
11094         * image-dired.el (image-dired-dired-with-window-configuration):
11095         * dired-x.el (dired-do-find-marked-files):
11096         * dired.el (dired-pop-to-buffer):
11097         * bs.el (bs--show-with-configuration):
11098         * vc/emerge.el (emerge-setup-windows):
11099         * textmodes/two-column.el (2C-two-columns):
11100         * textmodes/reftex-toc.el (reftex-toc):
11101         * progmodes/gdb-mi.el (gdb-setup-windows):
11102         * progmodes/fortran.el (fortran-window-create):
11103         * net/newst-treeview.el (newsticker--treeview-window-init):
11104         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11105         * emulation/tpu-edt.el (tpu-gold-map):
11106         * emulation/crisp.el (crisp-mode-map):
11107         * calendar/calendar.el (calendar-basic-setup): Callers changed.
11109 2011-10-29  Chong Yidong  <cyd@gnu.org>
11111         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11113         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11115         * textmodes/flyspell.el (flyspell-word): Fix char offset for
11116         forged Ispell output (Bug#7904).
11118         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11120 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11122         * doc-view.el: Avoid ugly errors about not finding nil.
11123         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11124         (doc-view-dvipdf-program, doc-view-unoconv-program)
11125         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11126         Avoid nil or absolute file name as default value.
11127         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11129 2011-10-28  Alan Mackenzie  <acm@muc.de>
11131         * progmodes/cc-defs.el (c-version): -> 5.32.2.
11133 2011-10-28  Alan Mackenzie  <acm@muc.de>
11135         Amend the handling of c-beginning/end-of-defun in nested declaration
11136         scopes.
11138         * progmodes/cc-vars.el (c-defun-tactic): Move here from
11139         cc-langs.el.  Change it to a defcustom.
11141         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11142         cc-vars.el.
11144         * progmodes/cc-engine.el (c-beginning-of-statement-1):
11145         Prevent "class foo : bar" being spuriously recognized as a label.
11147         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11148         Add parameter `inclusive' (to include enclosing braces in the region).
11149         (c-widen-to-enclosing-decl-scope): New function.
11150         (c-while-widening-to-decl-block): New macro.
11151         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11152         outward for defun boundaries, and correspondingly change symbol
11153         `respect-enclosure' to `go-outward'.
11154         (c-declaration-limits): Change algorithm to report only the "innermost"
11155         defun's boundaries.
11157 2011-10-28  Deniz Dogan  <deniz@dogan.se>
11159         * net/rcirc.el (rcirc-mode): Use hard newlines.
11161 2011-10-28  Alan Mackenzie  <acm@muc.de>
11163         Amend to indent and fontify macros "which include their own semicolon"
11164         correctly, using the "virtual semicolon" mechanism.
11166         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11168         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11169         Recode to scan one line at a time rather than having \n and \r
11170         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11171         (c-forward-label): Amend for virtual semicolons.
11172         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11174         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11175         of the new C macros.
11177         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11178         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11179         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11180         (c-opt-cpp-macro-define): Make into a full language variable.
11181         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11182         AWK Mode (including \n, \r) removed, no longer needed.
11184         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11185         Invoke c-make-macro-with-semi-re.
11187         * progmodes/cc-vars.el (c-macro-with-semi-re):
11188         (c-macro-names-with-semicolon): New variables.
11189         (c-make-macro-with-semi-re): New function.
11191 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11193         * vc/log-edit.el: Fill empty field rather than adding new one.
11194         (log-edit-add-field): New function.
11195         (log-edit-insert-changelog): Use it.
11197 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11199         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11201 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11203         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11204         (gdb--check-interpreter): New function.
11205         (gdb): Use it.
11207 2011-10-27  Glenn Morris  <rgm@gnu.org>
11209         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11210         (least-positive-float, least-negative-float)
11211         (least-positive-normalized-float, least-negative-normalized-float)
11212         (float-epsilon, float-negative-epsilon):
11213         Remove unnecessary declarations.
11215         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11216         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11217         (least-positive-float, least-negative-float)
11218         (least-positive-normalized-float, least-negative-normalized-float)
11219         (float-epsilon, float-negative-epsilon): Add doc-strings,
11220         based on those in cl.texi.
11222         * files.el (set-visited-file-name): If the major-mode changed,
11223         reload the local variables.  (Bug#9796)
11225 2011-10-27  Chong Yidong  <cyd@gnu.org>
11227         * subr.el (change-major-mode-after-body-hook): New hook.
11228         (run-mode-hooks): Run it.
11230         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11231         Use change-major-mode-before-body-hook.
11233         * simple.el (fundamental-mode):
11234         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11235         change introducing fundamental-mode-hook.
11237 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
11239         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11241 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
11243         * ido.el (ido-file-name-all-completions-1): Do not require
11244         tramp.el explicitly.  (Bug#7583)
11246 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11248         * progmodes/octave-mod.el:
11249         * progmodes/octave-inf.el: Update maintainer.
11251 2011-10-26  Chong Yidong  <cyd@gnu.org>
11253         * subr.el (with-wrapper-hook): Rewrite doc.
11255 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
11257         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11258         filenames "/method:foo:".  (Bug#9793)
11260 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11262         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11263         (bug#9865).
11265 2011-10-24  Glenn Morris  <rgm@gnu.org>
11267         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
11269 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
11271         * notifications.el: Add the requirement of a running D-Bus session
11272         bus to the Commentary.
11274 2011-10-24  Juri Linkov  <juri@jurta.org>
11276         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11277         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11278         (Bug#9364)
11280 2011-10-24  Juri Linkov  <juri@jurta.org>
11282         * info.el (Info-following-node-name-re): Add newline to the list
11283         of allowed characters for leading space.  (Bug#9824)
11285 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11287         * progmodes/octave-inf.el (inferior-octave-mode-map):
11288         Fix C-c C-h binding.
11289         * progmodes/octave-mod.el (octave-help): Remove.
11291 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
11293         Sync with Tramp 2.2.3.
11295         * net/tramp-cache.el (top): Pacify byte-compiler using
11296         `init-file-user' and `site-run-file'.
11298         * net/trampver.el: Update release number.
11300 2011-10-23  Chong Yidong  <cyd@gnu.org>
11302         * files.el (toggle-read-only): Remove obsolete comment about
11303         version control.
11305         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11306         for toggle-read-only.  Note that this hasn't called vc-next-action
11307         since 2008-05-02, though it wasn't documented at the time.
11309         * vc/ediff-init.el (ediff-toggle-read-only-function):
11310         Use toggle-read-only.
11312 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
11314         Fix bug #9560, sporadic wrong indentation; improve instrumentation
11315         of c-parse-state.
11317         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11318         correct faulty logical expression.
11319         (c-parse-state-state, c-record-parse-state-state):
11320         (c-replay-parse-state-state): New defvar/defuns.
11321         (c-debug-parse-state): Use new functions.
11323 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
11325         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11326         last fix.  Use window-in-direction correctly.
11328 2011-10-21  Chong Yidong  <cyd@gnu.org>
11330         * progmodes/idlwave.el (idlwave-mode):
11331         * progmodes/vera-mode.el (vera-mode): No need to set
11332         require-final-newline; that's done in prog-mode.
11333         Suggested by Stefan Monnier.
11335 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
11337         * mouse.el (mouse-drag-window-above)
11338         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11339         (mouse-drag-mode-line-1, mouse-drag-header-line)
11340         (mouse-drag-vertical-line-rightward-window): Remove.
11341         (mouse-drag-line): New function.
11342         (mouse-drag-mode-line, mouse-drag-header-line)
11343         (mouse-drag-vertical-line): Call mouse-drag-line.
11344         * window.el (window-at-side-p, windows-at-side): New functions.
11346 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
11348         * tar-mode.el (tar-grind-file-mode):
11349         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
11351 2011-10-21  Chong Yidong  <cyd@gnu.org>
11353         * progmodes/idlwave.el (idlwave-mode):
11354         * progmodes/vera-mode.el (vera-mode):
11355         Use mode-require-final-newline.
11357 2011-10-20  Glenn Morris  <rgm@gnu.org>
11359         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
11361 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
11363         * emulation/cua-base.el (cua-set-mark): Fix case of string.
11365 2011-10-20  Chong Yidong  <cyd@gnu.org>
11367         * emulation/cua-base.el (cua-mode):
11368         * mail/footnote.el (footnote-mode):
11369         * mail/mailabbrev.el (mail-abbrevs-mode):
11370         * net/xesam.el (xesam-minor-mode):
11371         * progmodes/bug-reference.el (bug-reference-mode):
11372         * progmodes/cap-words.el (capitalized-words-mode):
11373         * progmodes/compile.el (compilation-minor-mode)
11374         (compilation-shell-minor-mode):
11375         * progmodes/gud.el (gud-tooltip-mode):
11376         * progmodes/hideif.el (hide-ifdef-mode):
11377         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11378         * progmodes/subword.el (subword-mode):
11379         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11380         * progmodes/which-func.el (which-function-mode):
11381         * term/tvi970.el (tvi970-set-keypad-mode):
11382         * term/vt100.el (vt100-wide-mode):
11383         * textmodes/flyspell.el (flyspell-mode):
11384         * textmodes/ispell.el (ispell-minor-mode):
11385         * textmodes/nroff-mode.el (nroff-electric-mode):
11386         * textmodes/paragraphs.el (use-hard-newlines):
11387         * textmodes/refill.el (refill-mode):
11388         * textmodes/reftex.el (reftex-mode):
11389         * textmodes/rst.el (rst-minor-mode):
11390         * textmodes/sgml-mode.el (html-autoview-mode)
11391         (sgml-electric-tag-pair-mode):
11392         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11393         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11394         * emulation/crisp.el (crisp-mode):
11395         * emacs-lisp/eldoc.el (eldoc-mode):
11396         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11397         minor mode behavior.
11399 2011-10-19  Juri Linkov  <juri@jurta.org>
11401         * descr-text.el (describe-char): Add #x2010 and #x2011 to
11402         the list of hard-coded chars with escape-glyph face.
11404 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11406         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11408 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
11410         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11411         running process.
11413 2011-10-19  Glenn Morris  <rgm@gnu.org>
11415         * vc/vc-bzr.el (vc-bzr-after-dir-status):
11416         Ignore ignored files.  (Bug#9726)
11418 2011-10-19  Chong Yidong  <cyd@gnu.org>
11420         Doc fix for minor modes, stating that an omitted argument enables
11421         the mode unconditionally when called from Lisp.
11423         * abbrev.el (abbrev-mode):
11424         * allout.el (allout-mode):
11425         * autoinsert.el (auto-insert-mode):
11426         * autoarg.el (autoarg-mode, autoarg-kp-mode):
11427         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11428         (global-auto-revert-mode):
11429         * battery.el (display-battery-mode):
11430         * composite.el (global-auto-composition-mode)
11431         (auto-composition-mode):
11432         * delsel.el (delete-selection-mode):
11433         * desktop.el (desktop-save-mode):
11434         * dired-x.el (dired-omit-mode):
11435         * dirtrack.el (dirtrack-mode):
11436         * doc-view.el (doc-view-minor-mode):
11437         * double.el (double-mode):
11438         * electric.el (electric-indent-mode, electric-pair-mode):
11439         * emacs-lock.el (emacs-lock-mode):
11440         * epa-hook.el (auto-encryption-mode):
11441         * follow.el (follow-mode):
11442         * font-core.el (font-lock-mode):
11443         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11444         * help.el (temp-buffer-resize-mode):
11445         * hilit-chg.el (highlight-changes-mode)
11446         (highlight-changes-visible-mode):
11447         * hi-lock.el (hi-lock-mode):
11448         * hl-line.el (hl-line-mode, global-hl-line-mode):
11449         * icomplete.el (icomplete-mode):
11450         * ido.el (ido-everywhere):
11451         * image-file.el (auto-image-file-mode):
11452         * image-mode.el (image-minor-mode):
11453         * iswitchb.el (iswitchb-mode):
11454         * jka-cmpr-hook.el (auto-compression-mode):
11455         * linum.el (linum-mode):
11456         * longlines.el (longlines-mode):
11457         * master.el (master-mode):
11458         * mb-depth.el (minibuffer-depth-indicate-mode):
11459         * menu-bar.el (menu-bar-mode):
11460         * minibuf-eldef.el (minibuffer-electric-default-mode):
11461         * mouse-sel.el (mouse-sel-mode):
11462         * msb.el (msb-mode):
11463         * mwheel.el (mouse-wheel-mode):
11464         * outline.el (outline-minor-mode):
11465         * paren.el (show-paren-mode):
11466         * recentf.el (recentf-mode):
11467         * reveal.el (reveal-mode, global-reveal-mode):
11468         * rfn-eshadow.el (file-name-shadow-mode):
11469         * ruler-mode.el (ruler-mode):
11470         * savehist.el (savehist-mode):
11471         * scroll-all.el (scroll-all-mode):
11472         * scroll-bar.el (scroll-bar-mode):
11473         * server.el (server-mode):
11474         * shell.el (shell-dirtrack-mode):
11475         * simple.el (auto-fill-mode, transient-mark-mode)
11476         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11477         (line-number-mode, column-number-mode, size-indication-mode)
11478         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11479         * strokes.el (strokes-mode):
11480         * time.el (display-time-mode):
11481         * t-mouse.el (gpm-mouse-mode):
11482         * tool-bar.el (tool-bar-mode):
11483         * tooltip.el (tooltip-mode):
11484         * type-break.el (type-break-mode-line-message-mode)
11485         (type-break-query-mode):
11486         * view.el (view-mode):
11487         * whitespace.el (whitespace-mode, whitespace-newline-mode)
11488         (global-whitespace-mode, global-whitespace-newline-mode):
11489         * xt-mouse.el (xterm-mouse-mode): Doc fix.
11491         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11492         Fix autogenerated docstring.
11494 2011-10-19  Juri Linkov  <juri@jurta.org>
11496         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11497         by checking environment variables "DESKTOP_SESSION" and
11498         "XDG_CURRENT_DESKTOP".  (Bug#9779)
11500 2011-10-19  Juri Linkov  <juri@jurta.org>
11502         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11503         (browse-url-chromium-program, browse-url-chromium-arguments):
11504         New defcustoms.
11505         (browse-url-default-browser): Check for `browse-url-chromium' and
11506         call `browse-url-chromium-program'.
11507         (browse-url-chromium): New command.  (Bug#9779)
11509 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
11511         * facemenu.el (list-colors-duplicates): On Windows, detect more
11512         duplicates by assuming that only colors matching "^System" are
11513         special "system colors".  (Bug#9722)
11515 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11517         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11518         to distinguish the author from the committer.
11520 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
11522         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11524 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
11526         * international/mule.el (sgml-html-meta-auto-coding-function):
11527         Add support for detecting encoding in HTML5 specified only as
11528         <meta charset="UTF-8">.  Implementation just makes http-equiv and
11529         content-type parts from HTML4 encoding string optional.  (Bug#9716)
11531 2011-10-18  Glenn Morris  <rgm@gnu.org>
11533         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
11535 2011-10-18  Chong Yidong  <cyd@gnu.org>
11537         * faces.el (cursor): Doc fix.
11539 2011-10-17  Chong Yidong  <cyd@gnu.org>
11541         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11543 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
11545         * dirtrack.el (dirtrack): Support shell buffers with path
11546         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
11548 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
11550         * json.el: Bump version to 1.3 and note change in History.
11551         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11553 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11555         * comint.el (comint-insert-input, comint-send-input)
11556         (comint-get-old-input-default, comint-backward-matching-input)
11557         (comint-next-prompt): Use nil instead of `input' for field property of
11558         past user input (bug#114).
11560         * minibuffer.el (completion--replace): Inherit surrounding properties
11561         (bug#114).
11562         (minibuffer-complete-and-exit): Use it.
11564         * comint.el (comint--table-subvert): Quote the all-completions output
11565         (bug#9160).
11567 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
11569         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
11571         * menu-bar.el (menu-bar-file-menu): Add entry for making new
11572         window on right of selected.  (Bug#9350) Reword other window
11573         entries and separate them from frame entries.
11575 2011-10-15  Glenn Morris  <rgm@gnu.org>
11577         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11578         Doc fixes.
11580 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
11582         * net/network-stream.el (network-stream-open-starttls):
11583         Improve detection of failure due to lack of TLS support.
11585         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11586         putting the input text in front and in bold.
11588 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11590         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11592         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11593         empty buffer.
11595         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11596         unread-command-events rather than pushing yet-another event.
11598 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
11600         * mail/sendmail.el (sendmail-query-once): Improve the wording of
11601         the explanation of the possible choices.  Make the options passed
11602         to completing-read shorter.
11604 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11606         * textmodes/flyspell.el (flyspell-large-region): Make sure
11607         extended character mode is used if defined (Bug#1339).
11609 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
11611         * simple.el (what-cursor-position): Fix the display of the
11612         character info for LRE, LRO, RLE, and RLO characters by appending
11613         an invisible PDF.
11615 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11617         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11618         even in case of error; add debug spec; simplify data flow.
11619         (with-timeout-handler): Remove.
11621 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
11623         Fix Bug#6019, Bug#9315.
11625         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11626         complete `buffer-file-name', the local file name part could look
11627         remotely (for example on VMS).
11629         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11630         `tramp-run-real-handler'.
11631         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11632         already quoted by '"'.
11634         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11635         Let `file-name-handler-alist' be nil, the local file name part
11636         could look remotely (for example on VMS).
11638 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11640         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11641         from here...
11642         (flyspell-post-command-hook): ...to here.
11644 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11646         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11647         if not needed.
11648         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
11649         using completion.  Protect against "slow" callers.
11650         Remove the "message hack".
11652 2011-10-11  Juri Linkov  <juri@jurta.org>
11654         * isearch.el (isearch-lazy-highlight-word): New variable.
11655         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11656         Use it.  (Bug#9727)
11658 2011-10-11  Glenn Morris  <rgm@gnu.org>
11660         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11661         like f90-previous-statement does.
11663 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11665         * eshell/eshell.el (eshell-command): History should be saved
11666         only in interactive use, to avoid error.
11668 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11670         * minibuffer.el (completion-file-name-table): Fix last change,
11671         i.e. ignore normal errors but not the other ones.
11673 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
11675         * window.el (special-display-buffer-names)
11676         (special-display-regexps): Remove some remnants of earlier
11677         changes from doc-strings.
11678         (quit-windows-on): New function.
11680         * vc/vc.el (vc-revert, vc-rollback):
11681         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11682         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
11683         (Bug#6183) (Bug#7074) (Bug#7447)
11685 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
11687         * window.el (frame-auto-hide-function): Add version tag.
11688         (Bug#9699)
11690 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
11692         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11693         condition.
11695 2011-10-09  Leo Liu  <sdl.web@gmail.com>
11697         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11698         (Bug#9701)
11700 2011-10-08  Glenn Morris  <rgm@gnu.org>
11702         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11703         before the first code statement zero indent.  (Bug#9690)
11705 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
11707         * simple.el (count-words-region): Always count in the region.
11708         Report the number of lines and characters too.
11709         (count-words): New command, which counts in the buffer if the
11710         region is inactive, as count-words-region used to.
11711         (count-words--message): New function.  Handle plurals.
11712         (count-lines-region): Make it an alias for count-words-region.
11714         * bindings.el (esc-map): Replace count-lines-region with
11715         count-words-region.
11717 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
11719         * window.el (window--delete): Delete dedicated frame
11720         unconditionally when argument KILL is non-nil.  (Bug#9699)
11721         (switch-to-buffer): Fix doc-string typo.
11723 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11725         * eshell/eshell.el (eshell-command): Avoid using hooks.
11727 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
11729         * bindings.el ([M-left],[M-right]): Bind to left-word and
11730         right-word respectively.
11732 2011-10-07  Glenn Morris  <rgm@gnu.org>
11734         * cus-start.el (debug-on-quit): Fix custom type.
11736 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11738         * subr.el (define-key-after): Clarify that the function is not
11739         useful for non-menu keymaps.
11741         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11743 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11745         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
11746         in current minibuffer (Fix bug with recursive minibuffers).
11748 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
11750         * progmodes/gdb-mi.el (gdb): Doc fix.
11752 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
11754         * window.el (frame-auto-hide-function): New option replacing
11755         frame-auto-delete.  Suggested by Stefan Monnier.
11756         (window--delete): Call frame-auto-hide-function instead of
11757         investigating frame-auto-delete.
11758         (window-point-1, set-window-point-1): New functions.
11759         (window-in-direction, record-window-buffer, window-state-get-1)
11760         (display-buffer-record-window): Use window-point-1 instead of
11761         window-point.
11762         (set-window-buffer-start-and-point): Use set-window-point-1.
11764 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11766         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11768 2011-10-05  Glenn Morris  <rgm@gnu.org>
11770         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11771         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
11773 2011-10-05  Leo Liu  <sdl.web@gmail.com>
11775         * subr.el (read-char-choice): Fix argument to buffer-live-p which
11776         works with buffer object.
11778 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11780         * mpc.el (mpc-tool-bar-map): Add labels.
11782 2011-10-04  Glenn Morris  <rgm@gnu.org>
11784         * calendar/holidays.el (calendar-check-holidays): Doc fix.
11786 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
11788         * window.el (window--delete): New function.
11789         (frame-auto-delete): Resuscitate option.
11790         (bury-buffer, replace-buffer-in-windows)
11791         (quit-window): Rewrite using window--delete.
11792         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11793         Pass display-buffer-mark-dedicated to window--display-buffer-2
11794         (Bug#9639).
11796 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11798         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11799         returns a list (bug#9554).  Add remote file name completion.
11800         * comint.el (comint--table-subvert): Curry and get quote&unquote
11801         functions as arguments.
11802         (comint--complete-file-name-data): Adjust call accordingly.
11803         * pcomplete.el (pcomplete--table-subvert): Remove.
11804         (pcomplete-completions-at-point): Use comint--table-subvert instead.
11806         * minibuffer.el (completion-table-case-fold): Use currying.
11807         (completion--styles-type, completion--cycling-threshold-type):
11808         New constants.
11809         (completion-styles, completion-category-overrides)
11810         (completion-cycle-threshold): Use them.
11811         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11812         completion-table-case-fold.
11814 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
11816         * minibuffer.el (completion-category-overrides): Fix type of styles
11817         and add more user friendly tags (bug#9660).
11819 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11821         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11822         (mule-input-method-string): New widget.
11823         (default-input-method, language-info-custom-alist): Use it.
11825 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11827         * pcomplete.el: Require comint.
11828         (pcomplete--common-suffix): Remove.
11829         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11830         (pcomplete--table-subvert): Sync with comint--table-subvert.
11831         (pcomplete--entries): Use comint-completion-file-name-table.
11832         * comint.el (comint-unquote-filename): Simplify.
11833         (comint-completion-file-name-table): New function (bug#9616).
11834         (comint--complete-file-name-data): Use it.
11836         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11837         (pcmpl-gnu-tar-buffer): Remove.
11838         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
11839         around.  Make sure pcomplete-suffix-list is only changed temporarily.
11840         Don't look inside the tar's file if it's too large.
11842 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
11844         * cus-edit.el (custom-mode-map):
11845         * epa.el (epa-key-list-mode-map):
11846         * man.el (Man-mode-map):
11847         * startup.el (splash-screen-keymap):
11848         * simple.el (special-mode-map): Use scroll-up-command and
11849         scroll-down-command.
11851         * progmodes/idlw-help.el (idlwave-help-mode-map):
11852         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11853         * net/newst-plainview.el (newsticker-mode-map):
11854         * emulation/ws-mode.el (wordstar-mode-map):
11855         * emulation/vi.el (vi-com-map):
11856         * calc/calc-graph.el (calc-graph-show-dumb):
11857         * term/sun.el (terminal-init-sun):
11858         * term/ns-win.el (global-map):
11859         * progmodes/grep.el (grep-mode-map):
11860         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11861         * mail/rmail.el (rmail-mode-map):
11862         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11864         * custom.el (custom-safe-themes, load-theme): Treat value of t for
11865         custom-safe-themes as special.
11867 2011-10-01  Julien Danjou  <julien@danjou.info>
11869         * notifications.el (notifications-notify): Fix docstring.
11871 2011-10-01  Per Starbäck  <per@starback.se>
11873         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
11875 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
11877         * startup.el (command-line-1): Fix last fix by inserting
11878         initial-scratch-message into *scratch* before displaying it.
11879         (Bug#9605) and (Bug#9636)
11881 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
11883         * simple.el (line-move): If auto-hscroll-mode is disabled and the
11884         window is hscrolled, move by logical lines.  (Bug#9607)
11885         (line-move-visual): Update the doc string to the above effect.
11887 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
11889         * window.el (display-buffer-record-window): When WINDOW is the
11890         selected window use `point' instead of `window-point'.  (Bug#9626)
11892         * startup.el (command-line-1): Use insert-before-markers when
11893         inserting initial-scratch-message.  (Bug#9605)
11895         * help.el (help-window): Remove variable.
11897 2011-09-29  Glenn Morris  <rgm@gnu.org>
11899         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11901 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
11903         * descr-text.el (describe-char-categories): Accept category
11904         descriptions more than one line long.
11906 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11908         * simple.el (delete-trailing-whitespace): Fix last change.
11910         * progmodes/perl-mode.el (perl-syntax-propertize-function):
11911         Don't confuse "y => 3" as the beginning of a `y' operation.
11913         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11914         object has more than 4 slots (bug#9613).
11916 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
11918         * subr.el (with-output-to-temp-buffer):
11919         * net/quickurl.el (quickurl, quickurl-browse-url):
11920         Fix typos in docstrings.
11922 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
11924         * minibuffer.el (completion-styles)
11925         (completion-category-overrides): Cross reference each other in doc
11926         strings.
11928 2011-09-27  Glenn Morris  <rgm@gnu.org>
11930         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11931         to split-string.  (Bug#9606)
11933 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11935         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11936         (bug#9615).
11938 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
11940         * emacs-lisp/package.el (list-packages): Fix echo area message.
11942 2011-09-27  Leo Liu  <sdl.web@gmail.com>
11944         * ido.el (ido-read-internal): Accept cons cell HIST arg.
11946 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
11948         * net/dbus.el (dbus-unregister-object): Don't release services for
11949         registered signals.  (Bug#9581)
11951 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
11953         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11954         function that picks between cfengine 2 and 3 support
11955         automatically.  Update docs accordingly.
11957 2011-09-22  Kenichi Handa  <handa@m17n.org>
11959         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11960         ZERO.
11961         (indian-itrans-v5-table-for-tamil): New variable.
11962         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11964 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
11966         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11967         that's true if the current command involved collapsing of text.
11968         It's reset to false at the beginning of the next command.
11969         (allout-post-command-business): Move the cursor to the beginning
11970         of entry if the cursor is hidden and collapsing activity just
11971         happened.
11973 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
11975         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11976         tracking (Bug#9541).
11978 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
11980         * net/newst-reader.el (newsticker-html-renderer)
11981         (newsticker-show-news): Automatically load html rendering package
11982         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
11983         because w3m-fill-column is let-bound" and the error "Symbol's value
11984         as variable is void: w3m-fill-column".
11986 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
11988         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11989         Release services only if they are defined.  (Bug#9581)
11991 2011-09-23  Richard Stallman  <rms@gnu.org>
11993         * textmodes/paragraphs.el (forward-sentence): For backwards case,
11994         distinguish start of paragraph from start of its text.
11996         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11998         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11999         (rmail-generate-viewer-buffer): Put that hook on view buffer.
12000         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12002 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
12004         * international/mule-diag.el (mule-diag): Insert a newline after
12005         each fontset description.
12007 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12009         * simple.el (delete-trailing-whitespace):
12010         Document last change; simplify.
12012 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
12014         * simple.el (delete-trailing-whitespace): Also delete
12015         extra newlines at the end of the buffer.
12017         * textmodes/picture.el: Make motion commands obey shift-select-mode.
12018         (picture-newline): Use forward-line so as to ignore fields.
12020 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12022         * subr.el (with-wrapper-hook): Fix edebug spec.
12024 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12026         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12027         (bug#4538).
12029 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
12031         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12032         Fix nasty bug using wrong cached values.
12034 2011-09-23  Alan Mackenzie  <acm@muc.de>
12036         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12038 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
12040         * window.el (pop-to-buffer): Ensure right window is selected if we
12041         chose another frame.
12043 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
12045         * simple.el (what-cursor-position): Use get-char-property-change
12046         and next-single-char-property-change, to be able to show display
12047         properties that come from overlays as well as text properties.
12049 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
12051         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12053         * cmuscheme.el (run-scheme, switch-to-scheme):
12054         * cus-edit.el (customize-group, custom-buffer-create)
12055         (customize-browse):
12056         * info.el (info):
12057         * shell.el (shell):
12058         * mail/sendmail.el (mail):
12059         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12061 2011-09-22  Richard Stallman  <rms@gnu.org>
12063         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12064         move back only to line beg, don't move back over blank lines.
12066 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
12068         * files.el (copy-directory): Set directory attributes only in case
12069         they could be retrieved from the source directory.  (Bug#9565)
12071 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
12073         * progmodes/hideshow.el (hs-looking-at-block-start-p)
12074         (hs-find-block-beginning, hs-hide-level-recursive):
12075         Ignore strings as well as comments.  (Bug#9502)
12077 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
12079         * progmodes/sql.el (sql-comint-postgres):
12080         Convert port number to a string.  (Bug#9566)
12082 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
12084         * window.el (quit-window): Undedicate window when switching to
12085         previous buffer.  Reported by Thierry Volpiatto
12086         <thierry.volpiatto@gmail.com>.
12087         (special-display-popup-frame): When popping up a new frame reset
12088         its previous buffers to nil.  Simplify code.
12090 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
12092         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12093         and process filter, as done also in `shell-command'.
12095 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
12097         * window.el (set-window-buffer-start-and-point):
12098         Call set-window-start with NOFORCE argument t.
12099         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12100         (quit-window): Reword doc-string.  Handle new format of
12101         quit-restore parameter.  Don't delete window if it has a
12102         previous buffer we can show instead of the present one.
12103         (display-buffer-record-window): Rewrite using a new format for
12104         the quit-restore window parameter
12105         (special-display-popup-frame, display-buffer-same-window)
12106         (display-buffer-reuse-window, display-buffer-pop-up-frame)
12107         (display-buffer-pop-up-window, display-buffer-use-some-window):
12108         Adapt symbol passed to display-buffer-record-window.
12109         * help.el (help-window-setup): Handle new format of quit-restore
12110         parameter.
12112 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12114         * faces.el (face-list): Fix docstring (bug#9564).
12116         * window.el (display-buffer--action-function-custom-type):
12117         Don't include internal functions in the Custom interface.
12119 2011-09-20  Juri Linkov  <juri@jurta.org>
12121         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12122         (Info-forward-node, Info-backward-node, Info-next-preorder)
12123         (Info-last-preorder): Use it.  (Bug#9528)
12125 2011-09-20  Juri Linkov  <juri@jurta.org>
12127         * info.el (Info-last-preorder): Visit last menu item only when
12128         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12130 2011-09-20  Julien Danjou  <julien@danjou.info>
12132         * password-cache.el (password-cache-remove): Remove entries even if the
12133         value is nil, so that password with a nil value (negative caching) is
12134         possible to invalidate.
12136 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
12138         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12139         all whitespace around breakpoint.  (Bug#9553)
12140         (f90-find-breakpoint): Only break at whitespace inside a comment.
12142 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12144         * minibuffer.el (completion-file-name-table): Keep track of errors.
12145         (completion-table-with-predicate): Handle the case where pred1 is nil.
12146         * pcomplete.el (pcomplete-completions-at-point): Simplify.
12148 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12150         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12151         (debugger-return-value): Signal an error if the debugging context does
12152         not await any return value.
12154         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12155         * image-mode.el (image-toggle-display-text)
12156         (image-toggle-display-image): Stay away from evil `intangible'.
12158 2011-09-19  Leo Liu  <sdl.web@gmail.com>
12160         * replace.el (occur-revert-arguments): Make it permanent-local.
12161         (occur-mode): Don't call font-lock-defontify.
12163 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
12165         * net/ldap.el (ldap-search-internal): Don't push empty search
12166         result (Bug#9508).
12168 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12170         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12172 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
12174         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12175         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12177 2011-09-18  Juri Linkov  <juri@jurta.org>
12179         * buff-menu.el (Buffer-menu-mode-map):
12180         * dired.el (dired-mode-map):
12181         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12182         (lisp-interaction-mode-map):
12183         * emacs-lisp/package.el (package-menu-mode-map):
12184         * epa.el (epa-key-list-mode-map):
12185         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12186         (menu-bar-options-menu):
12187         * outline.el (outline-mode-menu-bar-map):
12188         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12189         * vc/vc-dir.el (vc-dir-menu-map):
12190         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12191         Capitalize non-function content words in menu item strings.
12193         * dired.el (dired-mode-map): Add menu item for
12194         `image-dired-dired-toggle-marked-thumbs'.
12196 2011-09-18  Juri Linkov  <juri@jurta.org>
12198         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12199         to `isearch-case-fold-search' and restore its original value
12200         after the `isearch-mode' call.
12202 2011-09-18  Juri Linkov  <juri@jurta.org>
12204         * progmodes/grep.el (grep-process-setup): Don't check code for 1
12205         because `zgrep' returns 1 for successful matches (bug#9226).
12207 2011-09-18  Juri Linkov  <juri@jurta.org>
12209         * info.el (Info-extract-menu-node-name): Check the second match
12210         for empty string (second test-case of bug#9528).
12211         (Info-last-preorder): Let-bind `Info-history' to nil to not add
12212         intermediate nodes to the history (first test-case of bug#9528).
12214 2011-09-18  Juri Linkov  <juri@jurta.org>
12216         * info.el (Info-mode-syntax-table): New variable.
12217         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12219 2011-09-18  Juri Linkov  <juri@jurta.org>
12221         * info.el (Info-file-supports-index-cookies):
12222         Increment line-beginning-position's arg from 3 to 4 because makeinfo
12223         outputs one more line for long file names (bug#4142).
12225 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
12227         * newcomment.el (comment-normalize-vars): If prompting for
12228         comment-start, set comment-start-skip too (Bug#8424).
12230 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
12232         * icomplete.el: Fix previous fix of Bug#5849.
12233         (icomplete-mode): Don't set completion-show-inline-help.
12234         (icomplete-minibuffer-setup): Set completion-show-inline-help
12235         locally during icompletion.
12237 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
12239         * woman.el (woman2-process-escapes): Don't delete unrecognized
12240         escapes (Bug#7843).
12242         * files.el (inhibit-first-line-modes-regexps): Add image files.
12243         (hack-local-variables-prop-line): Return nil for malformed
12244         prop-lines (Bug#9044).
12246 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
12248         * net/tramp.el (top): Don't require 'shell.
12249         (tramp-methods): Fix docstring.
12250         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12251         Return complete remote file name.  Handle "smb" case.
12252         Use `tramp-tmpdir', if defined for the respective method.
12253         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12255         * net/tramp-compat.el (top): Require 'shell.
12257         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12258         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12259         `tramp-current-host'.
12260         (tramp-get-remote-tmpdir): Remove.
12262         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12263         `tramp-tmpdir' entries.
12264         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12265         (tramp-smb-handle-file-attributes): Ignore errors.
12266         (tramp-smb-wait-for-output): Check also for process end.
12268 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12270         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12271         when sending QUIT (bug#9312).
12273 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
12275         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12276         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12277         occur-mode-display-occurrence.
12278         (occur-edit-mode): Add usage message.
12279         (occur-cease-edit): New command.
12280         (occur-after-change-function): Use text properties to find the
12281         position of the prefix text.
12282         (occur-engine): Set stickiness of prefix text properties.
12284 2011-09-17  Glenn Morris  <rgm@gnu.org>
12286         * progmodes/etags.el (complete-tag):
12287         Fix call to completion-in-region.  (Bug#9526)
12289 2011-09-17  Juri Linkov  <juri@jurta.org>
12291         * textmodes/ispell.el (ispell-word): Add to the error message
12292         the word, ispell program name and current dictionary (bug#9121).
12293         (ispell-tex-arg-end): Capitalize "error" in the error message.
12295 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
12297         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12298         check.  (Bug#4251)
12300 2011-09-17  Juri Linkov  <juri@jurta.org>
12302         * window.el (window-safe-min-height, window-safe-min-width):
12303         Fix typos (followup to bug#9522).
12305 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
12307         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12309 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
12311         * simple.el (line-move): If goal-column is set, move by logical
12312         lines, not by display lines.  (Bug#971)
12313         (next-line, previous-line, goal-column, line-move-visual): Doc fix
12314         to reflect the above change.
12316 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12318         * image.el (imagemagick-register-types): Use regexp-opt.
12320 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
12322         * window.el (display-buffer-base-action): Rename from
12323         display-buffer-default-action.  Make default value empty.
12324         (display-buffer-overriding-action): Convert to defvar.
12325         (display-buffer-fallback-action): New var.
12327 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
12329         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12330         declaration.
12331         (package--add-to-archive-contents): If there is a duplicate entry
12332         with an older version, remove it.
12333         (package-menu-mark-delete, package-menu-mark-install)
12334         (package-menu-mark-unmark): Make unused args optional.
12335         (package-menu-mark-obsolete-for-deletion):
12336         Use package-menu-get-status instead of a regexp search.
12337         (package-menu-get-status): Use tabulated-list-entry.
12338         (package-menu-mark-upgrades): New command.
12339         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
12340         (package-menu-execute): Do installation before deletion.
12341         (package-menu-refresh, package-menu-execute): Use derived-mode-p
12342         instead of checking major-mode.
12343         (package-menu--find-upgrades): New function.
12345 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12347         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12348         passwords in the log buffer.
12349         (smtpmail-process-filter): Update the process marker so that the
12350         "broken by peer" status message is inserted in the right place.
12352 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12354         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12355         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12356         bibtex-completion-at-point-function.
12357         (bibtex-completion-at-point-function): Use them.
12359         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12361         * mpc.el (mpc-constraints-tag-lookup): New function.
12362         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12363         also to browser "album|playlist".
12365 2011-09-14  Juri Linkov  <juri@jurta.org>
12367         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
12368         (isearch-edit-string): Use length of `isearch-string' when
12369         `isearch-fail-pos' returns nil.
12370         (isearch-message): Remove duplicate code and call
12371         `isearch-fail-pos' with arg `t'.
12373 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
12375         * replace.el (occur-mode-goto-occurrence): Don't force using other
12376         window (Bug#9499).
12378         * dired-aux.el (dired-do-chmod): Don't provide initial input.
12380 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
12382         * window.el (display-buffer-window): Remove.
12383         (display-buffer-record-window): Use help-setup window parameter
12384         instead of variable display-buffer-window.
12385         (display-buffer-function, special-display-buffer-names)
12386         (special-display-function): Mention help-setup parameter instead
12387         of display-buffer-window in doc-string.
12388         * help.el (help-window-setup): New argument help-window.
12389         Use help-window-setup parameter instead of display-buffer-window.
12390         Reword some messages.
12391         (with-help-window): Pass window used for displaying the buffer
12392         to help-window-setup.  Don't set display-buffer-window.
12394 2011-09-13  Glenn Morris  <rgm@gnu.org>
12396         * emacs-lisp/debug.el (debugger-make-xrefs):
12397         Preserve point.  (Bug#9462)
12399 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
12401         * window.el (window-deletable-p): Use next-frame.
12403 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
12405         * window.el (window-auto-delete): Remove.
12406         (window-deletable-p): Remove argument FORCE.  Don't deal with
12407         dedication and previous buffers.
12408         (switch-to-prev-buffer): Don't delete window.
12409         (delete-windows-on): Delete a window's frame if and only if the
12410         window is dedicated.
12411         (replace-buffer-in-windows): Delete buffer's window or frame if
12412         and only if window is dedicated.
12413         (quit-window): Handle quit-restore as before last change.
12414         (bury-buffer): Delete window only if window-deletable-p returns t.
12416 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
12418         * window.el (window-deletable-p): Never delete the last frame on a
12419         given terminal.
12421 2011-09-13  Glenn Morris  <rgm@gnu.org>
12423         * help.el (describe-key-briefly): Copy previous standard-output change.
12425 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
12427         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
12429 2011-09-13  Glenn Morris  <rgm@gnu.org>
12431         * emacs-lisp/lisp-mode.el (lisp-indent-function):
12432         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12434 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
12436         * dired-aux.el (dired-mark-read-string): Don't return default
12437         value on empty input (Bug#9361).
12438         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12439         Omit initial minibuffer contents.
12440         (dired-do-chmod): Signal an error on empty input.
12441         (dired-mark-read-string): Don't return default on empty input.
12443         * files.el (file-modes-symbolic-to-number): Doc fix.
12445 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12447         * international/mule-cmds.el (ucs-completions): Remove.
12448         (read-char-by-name): Use complete-with-action instead; add metadata.
12450 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
12452         * window.el (display-buffer--action-function-custom-type)
12453         (display-buffer--action-custom-type): New vars.
12454         (display-buffer-alist, display-buffer-default-action)
12455         (display-buffer-overriding-action): Add defcustom types.
12457         * frame.el (delete-other-frames): Doc fix (Bug#276).
12459 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12461         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12463 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
12465         Change modes that used same-window-* vars to use switch-to-buffer.
12467         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12468         Use switch-to-buffer.
12470         * cus-edit.el (customize-group, custom-buffer-create)
12471         (customize-browse, custom-buffer-create-other-window):
12472         Use switch-to-buffer or switch-to-buffer-other-window.
12474         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12475         (Info-prev, Info-up, Info-speedbar-goto-node)
12476         (info-display-manual): Use switch-to-buffer.
12477         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12479         * mail/sendmail.el (mail): Use switch-to-buffer.
12480         (mail-recover): Use switch-to-buffer-other-window.
12482         * cmuscheme.el (run-scheme, switch-to-scheme):
12483         * ielm.el (ielm):
12484         * shell.el (shell):
12485         * net/rlogin.el (rlogin):
12486         * net/telnet.el (telnet, rsh):
12487         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12489 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
12491         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12493 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12495         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12496         so don't mention it (bug#9301).
12497         (dired-sort-toggle-or-edit): Clarify string further.
12499         * faces.el (face-spec-set-match-display): Make `(type graphic)'
12500         match `x', `w32' and `ns', like the manual says (bug#9029).
12502         * subr.el (eval-after-load): Doc string clarification (bug#9125).
12503         (process-kill-buffer-query-function): Mention the buffer name in
12504         the query.
12506         * image-mode.el (image-next-line): The line parameter is mandatory
12507         (bug#9258).
12509         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12510         which can be useful (bug#9301).
12512         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12514         * subr.el (match-string): Mention that the current buffer should
12515         be the same as the search was done in (bug#9282).
12517         * facemenu.el: Disable the remove-* commands if the mark isn't
12518         active (bug#9162).
12520 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
12522         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12523         of display-buffer.
12524         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12526         * replace.el (occur-mode-goto-occurrence)
12527         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12528         and display-buffer.
12530         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12531         display-buffer.
12533         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12534         special-display and same-window variables.
12535         (mail-other-window): Use switch-to-buffer-other-window.
12536         (mail-other-frame): USe switch-to-buffer-other-frame.
12538         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12539         Use display-buffer-other-frame.
12540         (gdb-display-gdb-buffer): Use pop-to-buffer.
12542         * progmodes/gud.el (gud-goto-info): Use info-other-window.
12544         * progmodes/python.el: Don't set same-window-buffer-names.
12546         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12548         * window.el (display-buffer-alist): Add *Python*.
12550 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
12552         * window.el (display-buffer-alist): Add entry for buffers
12553         previously handled same-window-*.
12554         (display-buffer-alist, display-buffer-default-action)
12555         (display-buffer-overriding-action): Mark as risky.
12556         (display-buffer-alist): Document action function changes.
12557         (display-buffer--same-window-action)
12558         (display-buffer--other-frame-action): New variables.
12559         (switch-to-buffer, display-buffer-other-frame): Use them.
12560         (display-buffer): Rename reuse-frame entry to reusable-frames.
12561         (display-buffer-reuse-selected-window): Function deleted.
12562         (display-buffer-reuse-window): Handle reusable-frames alist entry.
12563         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12564         (display-buffer-special): New function.
12565         (display-buffer--maybe-pop-up-frame-or-window): Rename from
12566         display-buffer-reuse-or-pop-window.  Split off special-display
12567         part into display-buffer-special.
12568         (display-buffer-use-some-window): Don't perform any special
12569         pop-up-frames handling.
12570         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
12571         (display-buffer--maybe-same-window): Rename from
12572         display-buffer-maybe-same-window.
12574         * info.el: Don't set same-window-regexps.
12575         (info-setup): New function.
12576         (info-other-window, info): Call it.
12578         * cus-edit.el: Don't set same-window-regexps.
12579         (customize-group): New argument.
12580         (customize-group-other-window): Use it.
12581         (customize-face, customize-face-other-window): Likewise.
12582         (custom-buffer-create-other-window): Use pop-to-buffer directly.
12584         * net/rlogin.el:
12585         * net/telnet.el:
12586         * progmodes/gud.el: Don't set same-window-regexps.
12588         * cmuscheme.el:
12589         * ielm.el:
12590         * shell.el:
12591         * mail/sendmail.el:
12592         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12594 2011-09-10  Juri Linkov  <juri@jurta.org>
12596         * isearch.el (isearch-edit-string): Remove obsolete mention of
12597         `C-w' (`isearch-yank-word-or-char') from docstring.
12598         (isearch-query-replace): Fix typo in docstring (bug#9466).
12600 2011-09-10  Juri Linkov  <juri@jurta.org>
12602         * paren.el (show-paren-function): Don't show escaped parens.
12603         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
12605 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
12607         * mail/sendmail.el (mml-to-mime, mml-attach-file)
12608         (mm-default-file-encoding): Remove autoload forms, they are
12609         replaced with autoload cookies in mml.el and mm-encode.el.
12610         (mail-add-attachment): New command.
12611         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12612         (mail-mode): Mention mail-insert-file and mail-add-attachment in
12613         the doc string.
12614         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12616 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
12618         * simple.el (count-words-region): Use buffer if there's no region
12619         (bug#9429).
12621 2011-09-09  Juri Linkov  <juri@jurta.org>
12623         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12624         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12625         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
12627 2011-09-09  Alan Mackenzie  <acm@muc.de>
12629         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12630         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
12632 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
12634         Fix for Savannah bug#9392.
12635         * simple.el (mail-encode-mml): New defvar.
12637         * mail/rmail.el (mail-encode-mml): Add a defvar.
12638         (rmail-enable-mime-composing): Default to t.
12639         (rmail-forward): Use MIME method of forwarding only if both
12640         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12641         Set mail-encode-mml non-nil if the MIME method was used.
12643         * mail/sendmail.el (mml-to-mime): Add autoload form.
12644         (mail-encode-mml): Add a defvar.
12645         (mail-mode): Make mail-encode-mml buffer-local and initialize it
12646         to nil.
12647         (mail-send): If mail-encode-mml is non-nil, run the outgoing
12648         message through mml-to-mime, and reset mail-encode-mml to nil.
12650 2011-09-09  Glenn Morris  <rgm@gnu.org>
12652         * woman.el (woman-if-body): When processing an .el block,
12653         do not delete the next .el block as well.  (Bug#9447)
12654         (woman-special-characters): Add oq, cq, and hy characters.
12656 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
12658         * window.el (window-deletable-p): Make sure window is live before
12659         invoking window-prev-buffers.
12661 2011-09-08  Leo Liu  <sdl.web@gmail.com>
12663         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
12665 2011-09-08  Juri Linkov  <juri@jurta.org>
12667         * progmodes/compile.el (compilation-environment): Make it
12668         a defcustom (bug#8340).
12670 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
12672         * window.el (frame-auto-delete): Rename to window-auto-delete.
12673         Make it control auto-deletion of windows and/or frames.
12674         (window-deletable-p): New argument FORCE.  Rewrite conditions
12675         for deleting window/frame.  (Bug#9419)
12676         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12677         Rewrite handling of case when window/frame can be deleted.
12678         (delete-windows-on): Call window-deletable-p with new FORCE
12679         argument t.  (Bug#9456)
12681 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
12683         * help-mode.el (help-mode): Restore autoload.
12685 2011-09-07  Juri Linkov  <juri@jurta.org>
12687         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12688         `compilation-environment'.  Set buffer-local
12689         `compilation-environment' to `thisenv' later after (funcall mode).
12690         (Bug#8340)
12692         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
12693         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12694         instead of replacing its value.  (Bug#8340)
12696 2011-09-07  Juri Linkov  <juri@jurta.org>
12698         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12699         based on text properties put by `grep-filter' instead of matching
12700         escape sequences.
12701         (grep-mode): Set buffer-local `compilation-error-screen-columns'
12702         to the value of `grep-error-screen-columns' (bug#9438).
12704 2011-09-07  Juri Linkov  <juri@jurta.org>
12706         * simple.el (next-error-highlight, next-error-highlight-no-select):
12707         Doc fix (bug#9432).
12709 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
12711         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12712         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
12714 2011-09-07  Leo Liu  <sdl.web@gmail.com>
12716         * net/rcirc.el (rcirc-mode): Conditionally initialize
12717         rcirc-input-ring.
12719 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12721         * emacs-lisp/find-func.el (find-function-C-source): Only set
12722         find-function-C-source-directory after checking that we found a source
12723         file there (bug#9440).
12725 2011-09-06  Alan Mackenzie  <acm@muc.de>
12727         * isearch.el (isearch-other-meta-char): Wherever a key list is
12728         unread, "unread" the prefix arg, too.  This fixes bug #8901.
12730 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
12732         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12734 2011-09-05  Juri Linkov  <juri@jurta.org>
12736         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12738 2011-09-05  Juri Linkov  <juri@jurta.org>
12740         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12741         keeping point where processing of grep matches begins, and
12742         continue to delete remaining escape sequences from the same point.
12743         (grep-filter): Make leading zero optional in "0?1;31m" because
12744         git-grep emits "\033[1;31m" escape sequences unlike expected
12745         "\033[01;31m" as GNU Grep does (bug#9408).
12746         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12748 2011-09-05  Juri Linkov  <juri@jurta.org>
12750         * subr.el (y-or-n-p): Capitalize "yes".
12752 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
12754         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
12755         `tramp-cache-unload-hook' where appropriate.
12756         (tramp-methods): Rename `tramp-remote-sh' to
12757         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
12758         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12760         * net/tramp-sh.el (top): Don't require 'shell.
12761         (tramp-methods): Add `tramp-remote-shell' and
12762         `tramp-remote-shell-args' entries.
12763         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12764         (tramp-sh-handle-shell-command): Remove.
12765         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12766         Use `tramp-remote-shell'.
12768 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
12770         * mail/sendmail.el (sendmail-query-once-function): Delete.
12771         (sendmail-query-once): Save directly to send-mail-function.
12772         Update message-send-mail-function too.
12774         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12776 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
12778         * progmodes/python.el (python-mode-map): Use correct function to
12779         start python interpreter from menu-bar (as reported by Geert
12780         Kloosterman).
12781         (inferior-python-mode-map): Fix typo.
12782         (python-shell-map): Remove.
12784 2011-09-03  Deniz Dogan  <deniz@dogan.se>
12786         * net/rcirc.el (rcirc-print): Simplify code for
12787         rcirc-scroll-show-maximum-output.  There is no need to walk
12788         through all windows to find the right one.
12790 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
12792         * help.el (help-return-method): Doc fix.
12794 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
12796         * window.el (window-deletable-p): Don't return a non-nil value
12797         when there's a buffer that was shown in the window before.
12798         (Bug#9419)
12799         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12800         Set window's previous buffers to nil.
12802 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
12804         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12805         newline before and after the tag line, so it doesn't interfere
12806         with determining the paragraph direction of bidirectional text.
12808 2011-09-03  Leo Liu  <sdl.web@gmail.com>
12810         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
12812 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
12814         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
12815         (pop-to-buffer): Change interactive spec.  Pass second argument
12816         directly to display-buffer.
12817         (display-buffer): Fix interactive spec.  Use functionp to
12818         distinguish between a function and a list of functions.
12820         * abbrev.el (edit-abbrevs):
12821         * arc-mode.el (archive-extract):
12822         * autoinsert.el (auto-insert):
12823         * bookmark.el (bookmark-bmenu-list):
12824         * files.el (find-file):
12825         * view.el (view-buffer):
12826         * progmodes/compile.el (compilation-goto-locus):
12827         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12829 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
12831         * window.el (display-buffer-alist): Doc fix.
12832         (display-buffer): Add docstring.  Don't treat
12833         display-buffer-default specially.
12834         (display-buffer-reuse-selected-window)
12835         (display-buffer-same-window, display-buffer-maybe-same-window)
12836         (display-buffer-reuse-window, display-buffer-pop-up-frame)
12837         (display-buffer-pop-up-window)
12838         (display-buffer-reuse-or-pop-window)
12839         (display-buffer-use-some-window): New functions.
12840         (display-buffer-default-action): Use them.
12841         (display-buffer-default): Delete.
12842         (pop-to-buffer-1): Fix choice of actions.
12844 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12846         * minibuffer.el (completion--insert-strings): Don't get confused by
12847         completion entries that end with an LF char.
12849 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
12851         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12853 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
12855         * window.el (display-buffer): Restore interactive spec.
12856         (display-buffer-same-window, display-buffer-other-window):
12857         New functions.
12858         (pop-to-buffer-1): New function.  Use the above.
12859         (pop-to-buffer, pop-to-buffer-same-window): Use it.
12860         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
12862         * view.el (view-buffer-other-window, view-buffer-other-frame):
12863         Just use pop-to-buffer.
12865 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12867         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
12869 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
12871         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
12873 2011-08-31  Richard Stallman  <rms@gnu.org>
12875         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12876         of the separation of rmail-view-buffer from rmail-buffer.
12877         If you say no to "replace original", the decrypt is in the
12878         view buffer.  If you say yes, the decrypt goes into the
12879         rmail buffer also.
12881 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
12883         * window.el (display-buffer-window): Rewrite doc-string.
12884         (display-buffer-record-window): New function.
12885         (display-buffer-macro-specifiers)
12886         (display-buffer-even-window-sizes, display-buffer-set-height)
12887         (display-buffer-set-width, display-buffer-in-window)
12888         (display-buffer-reuse-window, display-buffer-split-specifiers)
12889         (display-buffer-side-specifiers, display-buffer-split-window-1)
12890         (display-buffer-split-window, display-buffer-split-atom-window)
12891         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12892         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12893         (display-buffer-other-window-means-other-frame)
12894         (display-buffer-normalize-special)
12895         (display-buffer-normalize-default)
12896         (display-buffer-normalize-argument)
12897         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12898         (display-buffer-normalize-specifiers, display-buffer-frame)
12899         (display-buffer-same-window, display-buffer-same-frame)
12900         (display-buffer-other-window)
12901         (display-buffer-same-frame-other-window)
12902         (display-buffer-other-frame, pop-to-buffer-same-window)
12903         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12904         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12905         (switch-to-buffer-same-frame)
12906         (switch-to-buffer-other-window-same-frame)
12907         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12908         (display-buffer-alist-set-1, display-buffer-alist-set-2)
12909         (display-buffer-alist-set): Remove.
12910         (display-buffer-function, special-display-buffer-names)
12911         (special-display-regexps, special-display-function):
12912         In doc-string refer to display-buffer-window and quit-restore
12913         parameter.
12914         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12915         (special-display-frame-alist, special-display-popup-frame)
12916         (same-window-buffer-names, same-window-regexps, same-window-p)
12917         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12918         (split-window-preferred-function, split-height-threshold)
12919         (split-width-threshold, window-splittable-p)
12920         (split-window-sensibly, window--try-to-split-window)
12921         (window--frame-usable-p, even-window-heights)
12922         (window--even-window-heights, window--display-buffer-1)
12923         (window--display-buffer-2, display-buffer-other-frame):
12924         Restore old Emacs 23 code, order and doc-strings where applicable.
12925         (display-buffer-default, display-buffer-assq-regexp): New functions.
12926         (display-buffer-alist): Rewrite doc-string.
12927         (display-buffer-default-action)
12928         (display-buffer-overriding-action): New variables.
12929         (display-buffer, switch-to-buffer): Rewrite.
12930         (pop-to-buffer): Restore Emacs 23 behavior but use
12931         window-normalize-buffer-to-display.
12932         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12933         Restore Emacs 23 behavior but use
12934         window-normalize-buffer-to-switch-to.
12935         (pop-to-buffer-same-window): Rewrite.
12936         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12937         Rewrite using Emacs 23 options.
12939 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
12941         * net/tramp.el (tramp-root-regexp): Remove.
12942         (tramp-completion-file-name-regexp-unified)
12943         (tramp-completion-file-name-regexp-separate)
12944         (tramp-completion-file-name-regexp-url): Don't use leading volume
12945         letter on w32 systems.  (Bug#5303, Bug#9311)
12946         (tramp-drop-volume-letter): Simplify definition.
12947         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12949 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12951         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12952         (bug#9356).
12954 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
12956         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
12958 2011-08-29  Juri Linkov  <juri@jurta.org>
12960         * isearch.el (isearch-done): Don't display message "Mark saved"
12961         when arg `edit' is non-nil to prevent its flicker in the echo area.
12963 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
12965         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12966         obsolete packages for deletion.
12968 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
12970         * help-mode.el (help-mode-map): Add special-mode-map to parent.
12971         (help-mode): Derive help-mode from special-mode.  Don't invoke
12972         view-mode from help-mode.
12973         (help-xref-override-view-map): Remove.
12974         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12975         view-mode is not used anymore.
12977 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
12979         * server.el (server-port): Doc fix.
12981         * cus-theme.el (custom-theme-choose-mode): Inherit from
12982         special-mode (Bug#9124).
12983         (custom-theme-choose-mode-map): Add special-mode to parent.
12985 2011-08-28  Alan Mackenzie  <acm@muc.de>
12987         * progmodes/cc-fonts.el
12988         (c-make-font-lock-BO-decl-search-function): New function.
12989         (c-basic-matchers-after - "Fontify the clauses after various
12990         keywords"): Extract the three keyword lists for the 3 erroneous
12991         constructs from the list of four, and use the new function above
12992         in place of an old one.
12994 2011-08-28  Deniz Dogan  <deniz@dogan.se>
12996         * net/rcirc.el (rcirc-insert-prev-input)
12997         (rcirc-insert-next-input): Remove unused argument.
12999 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13001         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13003 2011-08-27  Alan Mackenzie  <acm@muc.de>
13005         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13006         handle function pointer parameters properly.
13008 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
13010         * window.el (display-buffer-reuse-window): Fix case where
13011         selected window was reused with non-nil OTHER-WINDOW argument.
13012         (Bug#9381)
13014 2011-08-27  Deniz Dogan  <deniz@dogan.se>
13016         * net/rcirc.el (rcirc-check-auth-status): Adding support for
13017         oftc's NickServ messages.
13019 2011-08-27  Glenn Morris  <rgm@gnu.org>
13021         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
13023 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
13025         * emacs-lisp/package.el (package-install): Call package-initialize
13026         if called interactively.
13028 2011-08-26  Leo Liu  <sdl.web@gmail.com>
13030         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
13032 2011-08-25  Juri Linkov  <juri@jurta.org>
13034         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13035         `search-whitespace-regexp' (bug#9364).
13037 2011-08-25  Juri Linkov  <juri@jurta.org>
13039         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13040         `regexp-search-ring' to their global values to protect from
13041         updating by `read-from-minibuffer' (bug#9185).
13043 2011-08-25  Juri Linkov  <juri@jurta.org>
13045         * textmodes/ispell.el (ispell-command-loop): Add newline
13046         at the end of the "Use option `i'..." line.
13048 2011-08-25  Juri Linkov  <juri@jurta.org>
13050         * battery.el (display-battery-mode): If `battery-status-function'
13051         or `battery-mode-line-format' is nil, display the message and set
13052         `display-battery-mode' to nil (bug#9363).
13054 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
13056         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13057         bidi-string-mark-left-to-right; they are unnecessary now.
13059 2011-08-25  Deniz Dogan  <deniz@dogan.se>
13061         * net/quickurl.el: Documentation typo fixes.
13063 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
13065         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13067 2011-08-25  Glenn Morris  <rgm@gnu.org>
13069         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13071         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13072         (smtpmail-via-smtp): Handle nil response from smtp.
13074 2011-08-24  Juri Linkov  <juri@jurta.org>
13076         * proced.el (proced-marked): Inherit from `error' instead of
13077         `font-lock-warning-face'.
13079         * ibuffer.el (ibuffer-marked-face): Change default face from
13080         `font-lock-warning-face' to `warning'.
13081         (ibuffer-deletion-face): Change default face from
13082         `font-lock-type-face' to `error'.
13084         * battery.el (battery-update): Use the face `error' instead of
13085         `font-lock-warning-face' (bug#6117).
13087 2011-08-24  Juri Linkov  <juri@jurta.org>
13089         * faces.el (success): Change face color from "Green3" to
13090         "ForestGreen" on light background (bug#9353).
13092 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
13094         * window.el (quit-window): Rename from quit-restore-window.
13095         Use same arglist as old quit-window.
13096         (frame-auto-delete): Doc fix.
13098         * view.el (view-mode-exit): Use quit-window.
13100 2011-08-24  Juri Linkov  <juri@jurta.org>
13102         * isearch.el (isearch-ring-adjust1): Start visiting previous
13103         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13104         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13105         for empty search string (when the last search string is reused
13106         automatically) to adjust the isearch ring to the last element and
13107         prepare the correct index for further M-p commands (bug#9185).
13109 2011-08-24  Kenichi Handa  <handa@m17n.org>
13111         * international/ucs-normalize.el: If decomposition property of
13112         CHAR is the default one (i.e. a list of CHAR itself), treat it as
13113         nil.
13114         (nfd, nfkd): Likewise.
13116 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13118         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13119         from process filters aren't reliably transmitted to the surrounding
13120         accept-process-output.
13121         (mpc-proc-check): New function.
13122         (mpc-proc-sync): Use it (bug#8293)
13124 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13126         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13127         Add compatibility functions (bug#9313).
13129 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
13131         * cus-start.el (all): Add entry for bidi-paragraph-direction.
13133         * international/uni-bidi.el: Regenerate.
13135 2011-08-23  Kenichi Handa  <handa@m17n.org>
13137         * international/charprop.el:
13138         * international/uni-bidi.el:
13139         * international/uni-category.el:
13140         * international/uni-combining.el:
13141         * international/uni-comment.el:
13142         * international/uni-decimal.el:
13143         * international/uni-decomposition.el:
13144         * international/uni-digit.el:
13145         * international/uni-lowercase.el:
13146         * international/uni-mirrored.el:
13147         * international/uni-name.el:
13148         * international/uni-numeric.el:
13149         * international/uni-old-name.el:
13150         * international/uni-titlecase.el:
13151         * international/uni-uppercase.el: Regenerate.
13153 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
13155         * help.el (help-window-setup): Fix message displayed when other
13156         window is reused.  (Bug#9341)
13158 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13160         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13161         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13163         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13164         Mark obsolete.
13165         * shell.el (shell-parse-pcomplete-arguments): New function.
13166         (shell-completion-vars): Use it instead (bug#9160).
13168 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13170         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13171         strings and comments (bug#9333).
13173         * emacs-lisp/debug.el (debug-arglist): New function.
13174         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
13175         (debug-on-entry-1): Handle interpreted closures (bug#9120).
13177 2011-08-22  Juri Linkov  <juri@jurta.org>
13179         * progmodes/compile.el (compilation-mode-font-lock-keywords):
13180         Revert regexp that highlights output switches to its old
13181         pre-2010-10-28 value and remove one `?' from it (bug#9319).
13183         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13184         to check for empty output (bug#9226).
13186 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
13188         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13189         symbol-constituent as the default, as that stops font-lock from
13190         working properly (Bug#8843).
13192 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13194         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13195         `coding-system-for-*' around the process open call to avoid
13196         auth-source side effects.
13197         (smtpmail-try-auth-methods): Expand the secret password.
13198         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13199         probe hangs.
13201 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
13203         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13205         * emacs-lisp/find-func.el (find-function-noselect): New arg
13206         lisp-only.
13208         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13209         signal an error for built-in functions (Bug#6664).
13211 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13213         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13214         (smtpmail-try-auth-methods): Use it.
13216 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
13218         * font-lock.el (font-lock-fontify-region)
13219         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13220         (font-lock-default-unfontify-buffer)
13221         (font-lock-default-fontify-region)
13222         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13224         * progmodes/compile.el (compilation-error-properties):
13225         Fix confusion between file struct and message struct (Bug#9319).
13226         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13227         `ant' regexp.
13229         * net/browse-url.el (browse-url-firefox): Don't call
13230         browse-url-firefox-sentinel unless using -remote (Bug#9328).
13232 2011-08-20  Glenn Morris  <rgm@gnu.org>
13234         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13236         * tutorial.el (tutorial--default-keys): Update some default bindings.
13238         * files.el (hack-local-variables): Fully ignore case for "mode:".
13240 2011-08-20  Alan Mackenzie  <acm@muc.de>
13242         Resolve invalid use of a regexp in regexp-opt.
13244         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13245         detection for a java annotation.
13247         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13248         detection for a java annotation.
13250         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13251         handling for java.
13252         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13254 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
13256         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13257         (Bug#9274).
13259 2011-08-20  Alan Mackenzie  <acm@muc.de>
13261         Fontify CPP expressions correctly when starting in the middle of
13262         such a construct.  Mainly for when jit-lock etc. starts a chunk
13263         here.
13265         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13266         variable.
13267         (c-make-font-lock-search-form): New function, extracted from
13268         c-make-font-lock-search-function.
13269         (c-make-font-lock-search-function): Use the above function.
13270         (c-make-font-lock-context-search-function): New function.
13271         (c-cpp-matchers): Enhance the preprocessor expression case with
13272         the above function
13273         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13274         which takes an expression.
13276         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13278 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
13280         * window.el (display-buffer-reuse-window)
13281         (display-buffer-pop-up-window): Don't reuse or split a side
13282         window.
13284 2011-08-19  Glenn Morris  <rgm@gnu.org>
13286         * files.el (hack-local-variables-prop-line, hack-local-variables):
13287         Downcase "Mode:".  (Bug#9331)
13289 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
13291         * international/characters.el: Add L and R categories.
13293         * subr.el (bidi-string-mark-left-to-right): Rename from
13294         string-mark-left-to-right.  Use category search.
13296         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13298 2011-08-18  Juri Linkov  <juri@jurta.org>
13300         * faces.el (error, warning, success): New faces with definitions
13301         copied from old default values of `font-lock-warning-face',
13302         `compilation-warning', `compilation-info' (bug#6117).
13304         * font-lock.el (font-lock-warning-face): Inherit from `error'.
13306         * progmodes/compile.el (compilation-error): Inherit from `error'.
13307         (compilation-warning): Inherit from `warning'.
13308         (compilation-info): Inherit from `success'.
13310         * dired.el (dired-marked): Inherit from `warning'.
13311         (dired-flagged): Inherit from `error'.
13313 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13315         * mail/smtpmail.el (auth-source): Require to avoid problems with
13316         binding variables (bug#9298).  Also clean up some unused
13317         autoloads.
13319         * net/network-stream.el (network-stream-open-starttls):
13320         Support using starttls.el without using gnutls-cli.
13322 2011-08-17  Juri Linkov  <juri@jurta.org>
13324         * progmodes/grep.el (rgrep): Handle the case when
13325         `grep-find-command' is a cons cell (bug#9278).
13327 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
13329         * window.el (display-buffer-pop-up-frame): Run frame creation
13330         function with BUFFER current (as special-display-popup-frame
13331         does).  Reported by Drew Adams.
13333 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
13335         * epa-mail.el: Simplify GnuPG group expansion using
13336         epg-expand-group.
13337         (epa-mail-group-alist, epa-mail-group-modtime)
13338         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13339         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13340         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13341         Remove.
13343 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
13345         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13347 2011-08-16  Alan Mackenzie  <acm@muc.de>
13349         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13350         Correct, to avoid the inside of macros.
13352 2011-08-16  Richard Stallman  <rms@gnu.org>
13354         * epa-mail.el: Handle GnuPG group definitions.
13355         (epa-mail-group-alist, epa-mail-group-modtime)
13356         (epa-mail-gnupg-conf-file): New variables.
13357         (epa-mail-parse-groups, epa-mail-sync-groups)
13358         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13359         (epa-mail-expand-recipients): New functions.
13360         (epa-mail-encrypt): Call epa-mail-expand-recipients.
13362         * mail/rmail.el (rmail-epa-decrypt): New command.
13364         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13365         Don't bind buffer-read-only, just inhibit-read-only.
13366         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13367         (epa-decrypt-armor-in-region): Make error message clearer.
13369 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13371         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13372         and "a2b" to "ab" for `prefix'.
13374 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
13376         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13377         filter groups.
13378         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
13379         Fourquet (Bug#8804).
13381 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
13383         * startup.el (argi): Declare as global variable (bug#9275).
13385 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
13387         * subr.el (string-mark-left-to-right): Search the entire string
13388         for RTL script, not just the terminating character.  Doc fix.
13390 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13392         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13393         New function.
13394         (js--regexp-literal, js-syntax-propertize-function): Remove.
13395         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13396         (js-mode-map): Don't rebind electric keys.
13397         (js-insert-and-indent): Remove.
13398         (js-mode): Setup electric-layout and electric-indent instead.
13400         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13402 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
13404         * epa.el (epa-progress-callback-function): Fix the logic of
13405         displaying progress.
13406         * epa-file.el (epa-file-insert-file-contents): Make progress
13407         display more user-friendly.
13408         (epa-file-write-region): Ditto.
13410 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
13412         * subr.el (string-mark-left-to-right): New function.
13414         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13415         Use string-mark-left-to-right.
13416         (list-buffers-noselect): Caller changed.
13418         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13419         Use string-mark-left-to-right.
13420         (tabulated-list-print): Recenter after moving point.
13422 2011-08-10  Juri Linkov  <juri@jurta.org>
13424         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13425         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13426         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13428 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
13430         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13431         (Bug#7554).
13433 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13435         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13436         character.  (Bug#6594)
13438 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
13440         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13441         (image-dired--with-db-file): New macro.
13442         (image-dired-write-tags, image-dired-remove-tag)
13443         (image-dired-create-gallery-lists, image-dired-write-comments)
13444         (image-dired-get-comment, image-dired-mark-tagged-files)
13445         (image-dired-list-tags, image-dired-gallery-generate): Use it.
13446         (image-dired-gallery-generate): Use insert-file-contents.
13448         * time.el (display-time-world-list, display-time-world-display):
13449         * time-stamp.el (time-stamp-string):
13450         * vc/add-log.el (add-change-log-entry): Use setenv instead of
13451         set-time-zone-rule (Bug#7337).
13453 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
13455         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13456         (epg-error-to-string, epg-errors-to-string): New function.
13457         (epg-wait-for-completion): Reverse errors list.
13458         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13459         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13460         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13461         (epg-sign-keys, epg-generate-key-from-file)
13462         (epg-generate-key-from-string): Format errors by using
13463         epg-errors-to-string (bug#9255).
13464         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13466 2011-08-07  Juri Linkov  <juri@jurta.org>
13468         * faces.el (list-faces-display): Remove extra angle bracket
13469         from `help-mode-map'.
13471         * info.el (Info-history-toc-nodes): Doc fix.
13473         * longlines.el (longlines-mode): Doc fix.
13475 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13477         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13478         of statements and in a few more cases (bug#9183).
13480         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13481         New functions.
13482         (cl-transform-lambda): Use them (bug#9239).
13484 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
13486         * window.el (display-buffer-same-window)
13487         (display-buffer-same-frame, display-buffer-other-window)
13488         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13489         (pop-to-buffer-other-window)
13490         (pop-to-buffer-same-frame-other-window)
13491         (pop-to-buffer-other-frame): Make them defuns.
13492         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13494 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13496         * subr.el (make-composed-keymap): Move from C.  Change calling
13497         convention, and improve docstring to bring attention to a subtle point.
13498         * minibuffer.el (completing-read-default): Adjust accordingly.
13500 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
13502         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13503         (tramp-open-shell): Use `tramp-shell-quote-argument'.
13505         * net/trampver.el: Update release number.
13507 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13509         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13510         "in" (bug#9190).
13512 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13514         * mail/sendmail.el (sendmail-query-once): Restore the current
13515         buffer after querying (bug#9074).
13517         * dired.el (dired-flagged): Use different faces for marked and
13518         flagged files (bug#6117).
13520         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13521         (bug#4433).
13523         * ido.el (ido-mode): Switch off the message if called
13524         non-interactively.
13526         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13527         before 587, since it appears that that's more likely to work for
13528         more people.
13530         * cus-edit.el (custom-file): When running under emacs -q, always
13531         refuse to save the customizations, even if the .emacs file doesn't
13532         exist.
13534         * info.el: Remove the `Info-beginning-of-buffer' function
13535         (bug#8325).
13537         * net/network-stream.el (network-stream-open-starttls):
13538         Use `starttls-available-p' to see whether starttls.el can be used.
13540 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
13542         * window.el (display-buffer-in-window): Don't set dedicated status
13543         of window here (Bug#9215).
13544         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13545         (display-buffer-pop-up-side-window)
13546         (display-buffer-in-side-window): Set dedicated status of window here.
13548 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13550         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13551         before binding generated-autoload-file.
13553 2011-08-01  Deniz Dogan  <deniz@dogan.se>
13555         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13557 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
13559         Sync with Tramp 2.2.2.
13561         * net/trampver.el: Update release number.
13563 2011-07-30  Juri Linkov  <juri@jurta.org>
13565         * dired-aux.el (dired-touch-initial): Remove function.
13566         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13567         current time, and `default' to the last modification time of the
13568         current marked file (bug#6887).
13570 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
13572         * simple.el (goto-line): Use string-to-number to provide a
13573         numeric argument to read-number (bug#9163).
13575 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
13577         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13578         connection process, it could be nil.
13580 2011-07-27  Leo Liu  <sdl.web@gmail.com>
13582         Simplify url handling in rcirc-mode.
13584         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13585         (rcirc-browse-url-at-mouse): Remove.
13586         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13588 2011-07-26  Alan Mackenzie  <acm@muc.de>
13590         Fontify bitfield declarations properly.
13592         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13593         (c-symbol-chars): Now exported as a lang variable.
13594         (c-not-primitive-type-keywords): New lang variable.
13596         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13597         QT keyword "more" to prevent "more slots: ...." being spuriously
13598         parsed as a bitfield declaration.
13600         * progmodes/cc-engine.el (c-beginning-of-statement-1):
13601         Refactor and enhance to handle bitfield declarations.
13602         (c-punctuation-in): New function.
13603         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13604         declarations properly.
13606 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
13608         * calendar/icalendar.el (icalendar--all-events): Take care of
13609         multiple vcalendars in a single file.
13610         (icalendar--convert-float-to-ical): Checkdoc fixes.
13612 2011-07-25  Deniz Dogan  <deniz@dogan.se>
13614         * image.el (insert-image): Clarifying docstring.
13616 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
13618         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13619         `tramp-send-command-and-check' if there is no error.
13620         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13622 2011-07-22  Alan Mackenzie  <acm@muc.de>
13624         Prevent cc-langs.elc being loaded at run time.
13626         * progmodes/cc-mode.el: Remove two autoload forms which loaded
13627         cc-langs.
13629         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
13630         "(require 'cc-langs)".  Quote a form so it will evaluate at
13631         (cc-mode's) compilation time.
13633 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
13635         * net/tramp.el (tramp-file-name-handler): Avoid recursive
13636         loading.  (Bug#9114)
13638 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
13640         * window.el (display-buffer-pop-up-window)
13641         (display-buffer-pop-up-side-window)
13642         (display-buffer-in-side-window): Call display-buffer-set-height
13643         and display-buffer-set-width after setting the new window's
13644         buffer so `fit-window-to-buffer' and friends work on the right buffer.
13646 2011-07-20  Sam Steingold  <sds@gnu.org>
13648         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13649         (etags-tags-included-tables): Call `convert-standard-filename' on
13650         the file names contained in TAGS so that windows Emacs can handle
13651         TAGS files created by cygwin ctags.
13653 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13655         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13656         which apparently didn't work.
13658 2011-07-19  Roland Winkler  <winkler@gnu.org>
13660         * proced.el (proced-send-signal): For *Marked Processes* buffer
13661         put point at beginning of buffer.
13663 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
13665         * proced.el (proced-format): Make header lines align with the text
13666         (bug#1779).
13668 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13670         * view.el (view-buffer): Allow running in `special' modes if we're
13671         visiting a file (bug#8615).
13673 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
13675         * window.el (display-buffer-alist-of-strings-p)
13676         (display-buffer-alist-set-1, display-buffer-alist-set-2):
13677         New functions.
13678         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13679         more accurately.
13681 2011-07-18  Alan Mackenzie  <acm@muc.de>
13683         Fontify declarators properly when, e.g., a jit-lock chunk begins
13684         inside a declaration.
13686         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13688         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13689         New function.
13690         (c-complex-decl-matchers): Insert reference to
13691         c-font-lock-enclosing-decls.
13693         * progmodes/cc-engine.el (c-backward-single-comment):
13694         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13695         to nil around calls to (forward-comment -1).
13697 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13699         * image.el (put-image): Doc typo fix.
13701         * progmodes/etags.el (tags-search): Doc typo fix.
13703         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13704         password if we get errors 550 to 554.
13706 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13708         * net/gnutls.el (gnutls-log-level): Remove.
13710         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13711         indentation character (bug#6380).
13713         * files.el (buffer-offer-save): Made permanently local (bug#6241).
13715         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13716         to clarify what the problem is (bug#4291).
13718         * simple.el (current-kill): Clarify what
13719         `interprogram-paste-function' does (bug#7500).
13720         (auto-fill-mode): Document `auto-fill-function' in relation to
13721         `auto-fill-mode' (bug#2470).
13723 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
13725         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13726         method if slot is read-only (bug#9035).
13728 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
13730         * frame.el (select-frame-set-input-focus): New argument NORECORD.
13731         * window.el (pop-to-buffer): Select window used even if it was
13732         selected before, see discussion of (Bug#8615), (Bug#6954).
13733         Pass argument NORECORD on to select-frame-set-input-focus.
13735 2011-07-15  Glenn Morris  <rgm@gnu.org>
13737         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
13738         Respect help-form.
13740 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
13742         * net/gnutls.el (gnutls-min-prime-bits): New variable.
13743         (gnutls-negotiate): Use it.
13745 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13747         * net/gnutls.el (gnutls-negotiate):
13748         Upcase `gnutls-algorithm-priority'.
13750 2011-07-15  Glenn Morris  <rgm@gnu.org>
13752         * jka-compr.el (jka-compr-verbose): Move from here...
13753         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
13754         Add missing :version tag.
13755         * info.el: No need to require jka-compr when compiling.
13757 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13759         * net/gnutls.el (gnutls-algorithm-priority): New variable.
13760         (gnutls-negotiate): Use it.
13762         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13764         * info.el (Info-beginning-of-buffer): New command.
13765         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13766         announcing `b' as the key (bug#8325).
13767         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
13769         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13771         * international/mule-cmds.el
13772         (describe-specified-language-support): Make the error message
13773         clearer (bug#8905).
13775         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13777         * isearch.el (isearch-barrier): Add a doc string, since it's
13778         mentioned in a function doc string (bug#8678).
13780 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
13782         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13783         buffer argument (Bug#9083) and self-identifying label argument.
13785 2011-07-15  Glenn Morris  <rgm@gnu.org>
13787         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
13789 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13791         * man.el (Man-fontify-manpage): Fix message when formatting the
13792         man page (bug#7929).
13794 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
13796         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13797         argument LRM; if non-nil, append an invisible LRM character to the
13798         buffer name.
13799         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13800         last argument non-nil, when formatting buffer names.
13801         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13802         paragraph direction.
13804 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13806         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13807         the man page name (bug#7929).
13809         * image.el (put-image): Mention the `put-image' overlay property
13810         (bug#7834).
13812         * scroll-bar.el (set-scroll-bar-mode): Mention that
13813         `scroll-bar-mode' lists the values (bug#7772).
13815         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13816         command (bug#7729).
13818         * rect.el (apply-on-rectangle): Return the point after the last
13819         operation.
13820         (string-rectangle): Go to the point after the last operation
13821         (bug#7522).
13823         * printing.el (pr-toggle-region): Clarify the documentation
13824         slightly (bug#7493).
13826         * time.el (display-time-update):
13827         Allow `display-time-mail-function' to return nil (bug#7158).
13828         Fix suggested by Detlev Zundel.
13830         * vc/diff.el (diff): Clarify the order the file names are read
13831         (bug#7111).
13833         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13834         the doc string (bug#7015).
13836         * font-lock.el (font-lock-maximum-decoration): Mention what
13837         numeric levels mean (bug#6935).
13839         * startup.el (initial-buffer-choice): Don't mention the `none'
13840         selection, which is against policy.
13842 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
13844         * window.el (display-buffer-normalize-special):
13845         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
13847 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
13849         * subr.el (version<, version<=, version=): Mention "-CVS" and
13850         "-12345" alpha version numbers.
13852 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
13854         * bindings.el: Add advertised binding for set-mark-command
13855         (Bug#5772).
13857 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
13859         * bindings.el (mode-line-other-buffer):
13860         * bookmark.el (bookmark-bmenu-2-window):
13861         * bs.el (bs-cycle-next, bs-cycle-previous):
13862         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13863         switch-to-buffer.
13865         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13866         Delete.
13868 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
13870         * follow.el (follow-debug-message, follow-redisplay):
13871         * jka-cmpr-hook.el (with-auto-compression-mode):
13872         Fix typos in docstrings.
13874 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13876         * subr.el (with-silent-modifications): Clarify somewhat what the
13877         macro inhibits (bug#6525).
13879         * simple.el (eval-expression): Note what it does if called
13880         interactively (bug#6495).
13882 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
13884         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13885         Use pop-to-buffer buffer-or-name if it is nil.
13887         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13888         Remove switch-to-buffer.
13890 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13892         * files.el (make-directory): Clarify that an error will be raised
13893         if there's an error (bug#6397).
13895         * startup.el (initial-buffer-choice): Add `none' as a choice
13896         (bug#6234).
13898         * subr.el (add-hook): Clarify section about buffer-local hooks
13899         (bug#6218).
13901         * dired.el (dired-flagged): Clarify doc string (bug#6117).
13903 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
13905         * tabify.el (untabify): Preserve the current column so that point
13906         doesn't move (bug#6032).
13908 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13910         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13911         Rewrite to avoid awkward possessive "s" (bug#5986).
13913 2011-07-13  Glenn Morris  <rgm@gnu.org>
13915         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
13916         (dired-insert-directory): Give a message the first time
13917         if ls is found not to support --dired.
13919 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13921         * simple.el (toggle-truncate-lines): Clarify what is toggled
13922         (bug#5580).  Text by Drew Adams.
13924 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
13926         * simple.el (blink-matching-open): Make the error message from the
13927         last change less verbose.
13929 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
13931         * font-lock.el (font-lock-comment-face): Use the high contrast
13932         "yellow" color for font-lock-comment-face on low color terminals
13933         using a dark background color (bug#4221).
13935 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13937         * dired.el (dired-insert-set-properties): Make the doc string
13938         reflect what it does now (bug#5325).
13940         * simple.el (blink-matching-open): Say that we were unable to find
13941         the match within the limit, if we're limited (bug#5122).
13943         * international/mule-cmds.el (prefer-coding-system): Add an
13944         example (bug#4869).
13946         * progmodes/etags.el (tags-search): Document `file-list-form'
13947         (bug#4731).
13949 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
13951         * net/browse-url.el (browse-url-default-browser)
13952         (browse-url-browser-function): Make the default browser choice a
13953         bit more logical (bug#4300).  Also clean up the doc string.
13955 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
13957         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13958         binary endings (bug#4440).
13960 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13962         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13963         which can be pretty annoying (bug#8971).
13965         * jka-compr.el (jka-compr-verbose): New variable, and use
13966         throughout (bug#8971).
13968         * info.el (Info-find-file): Fall back on the installation
13969         directory if we can't find the info node anywhere else.
13971 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
13973         * vc/vc.el (vc-revert-file):
13974         Don't set file time-stamp in the past.  (Bug#5181)
13976 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13978         * files.el (after-find-file): Give a better error message when
13979         trying to find a symlink that points to a file that doesn't exist
13980         (bug#4398).
13982         * progmodes/cc-vars.el: Remove (probably) misleading comment
13983         (bug#4396).
13985 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
13987         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13989 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
13991         * mouse-sel.el: Hack restoring functionality, while keeping
13992         compatibility with 2010-07-03 changes to mouse selection.
13993         (mouse-sel-primary-overlay): New var.
13994         (mouse-sel-selection-alist): Use it.
13995         (mouse-sel-mode): Doc fix; remove points that are default features
13996         of mouse.el.
13998 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
14000         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14001         Fix previous fix (bug#2490).
14003 2011-07-12  Roland Winkler  <winkler@gnu.org>
14005         * textmodes/bibtex.el (bibtex-initialize):
14006         Use pop-to-buffer-same-window.
14007         (bibtex-search-entries): Fix interactive call.
14009 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14011         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14012         Fontise bytecomp Error lines more correctly (bug#2490).
14013         Fix suggested by Johan Bockgård.
14015         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14017         * dired-x.el (dired-guess-default): Use `delete-dups'.
14019 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
14021         * dired.el (dired-mark-prompt):
14022         * dired-aux.el (dired-read-shell-command): Doc fix.
14024 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14026         * mail/sendmail.el (sendmail-query-once):
14027         Use `customize-save-variable' unconditionally, now that it works under
14028         emacs -Q.
14030         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14032         * cus-edit.el (custom-file): Take an optional no-error variable.
14033         (customize-save-variable): Set the variable, and give a warning if
14034         running under "emacs -q".
14036 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
14038         * loadhist.el (unload-feature-special-hooks):
14039         Add `auto-coding-functions', `fill-nobreak-predicate' and
14040         `find-directory-functions' (bug#5327).
14042 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14044         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14046         * cus-edit.el (custom-guess-name-alist): -alist variables should
14047         use the `alist' type (bug#3120).  Suggested by Drew Adams.
14049         * printing.el: Add documentation to all the `pr-toggle-' commands.
14051 2011-07-11  Leo Liu  <sdl.web@gmail.com>
14053         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14054         backends where it makes sense (bug#2623).
14056 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14058         * dired-x.el (dired-guess-default): Remove duplicate shell command
14059         entries (bug#2028).
14060         (dired-guess-default): Fix grammar in doc string (bug#2028).
14061         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14063         * subr.el (remove-duplicates): New conveniency function.
14065 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14067         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14068         (bug#1526).
14070 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
14072         * window.el (display-buffer-normalize-default): Don't invert
14073         meaning of even-window-heights.  Reported by Eli Zaretskii
14074         <eliz@gnu.org>.
14076 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
14078         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14080 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
14082         * window.el (display-buffer): Fix arguments to
14083         display-buffer-reuse-window in last change.
14085         * faces.el (link): Use a less saturated blue on light backgrounds.
14087         * startup.el (fancy-startup-text, fancy-about-text)
14088         (fancy-startup-tail): Use font-lock faces, for background safety.
14090 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
14092         * emulation/viper-cmd.el (viper-change-state-to-vi):
14093         Limit triggering of abbrev expansion (Bug#9038).
14095 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
14097         * window.el (display-buffer-default-specifiers): Remove.
14098         (display-buffer-macro-specifiers): Remove default specifiers.
14099         (display-buffer-alist): Default to nil.
14100         (display-buffer-reuse-window): New optional argument other-window.
14101         (display-buffer-pop-up-window): Allow splitting internal
14102         windows.  Check whether a live window was created.
14103         (display-buffer-other-window-means-other-frame)
14104         (display-buffer-normalize-arguments): Rename to
14105         display-buffer-normalize-argument and rewrite.  Set the
14106         other-window specifier.
14107         (display-buffer-normalize-special): New function.
14108         (display-buffer-normalize-options): Rename to
14109         display-buffer-normalize-default and rewrite.
14110         (display-buffer-normalize-options-inhibit): Remove.
14111         (display-buffer-normalize-specifiers): Rewrite.
14112         (display-buffer): Process other-window specifier and call
14113         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
14114         more faithfully.
14115         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14116         (display-buffer-alist-set): Don't handle 'unset default values.
14117         (display-buffer-in-window, display-buffer-alist-set):
14118         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
14119         <tassilo@member.fsf.org>.
14121 2011-07-09  Leo Liu  <sdl.web@gmail.com>
14123         * register.el (insert-register): Restore accidental change on
14124         2011-06-26.  (Bug#9028)
14126 2011-07-09  Glenn Morris  <rgm@gnu.org>
14128         * subr.el (remq): Handle the empty list.  (Bug#9024)
14130 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
14132         * mail/sendmail.el (send-mail-function): No longer delay custom
14133         initialization.
14134         * custom.el (custom-initialize-delay): Doc fix.
14136 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14138         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14140 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
14142         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14143         human-friendly prompt.
14145 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14147         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14148         provided by a particular plugin.
14150 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14152         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14153         save customizations (with "emacs -Q"), just set the variable
14154         instead of erroring out.
14156         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14158 2011-07-08  Juri Linkov  <juri@jurta.org>
14160         * arc-mode.el (archive-zip-expunge, archive-zip-update)
14161         (archive-zip-update-case): Use 7z if found by `executable-find'.
14162         The order of searching the available programs is the same as in
14163         `archive-zip-extract' (bug#8968).
14165 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14167         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14168         (menu-bar-options-menu): Tweak descriptions.
14170 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14172         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14173         menu items into verb phrases (bug#1421).  Also refill to fit under
14174         80 columns.
14176 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14178         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14179         (Info-read-node-name): Doc fix (Bug#1084).
14181         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14182         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14183         (end-of-sexp, beginning-of-sexp)
14184         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14185         (forward-symbol, forward-same-syntax, word-at-point)
14186         (sentence-at-point): Doc fix (Bug#1144).
14188 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14190         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14191         should cover it (bug#1281).
14193         * cus-edit.el (custom-show): Mark as obsolete.
14195         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14196         negotiation fails, then possibly try again with a non-encrypted
14197         connection (bug#9017).
14199         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14200         be used.
14202 2011-07-07  Richard Stallman  <rms@gnu.org>
14204         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14205         property, and handle its changed format.
14206         Look for the correct line number.
14207         Use file's line contents (but not past first =) to find
14208         correct line in message.
14210 2011-07-07  Kenichi Handa  <handa@m17n.org>
14212         * international/characters.el (build-unicode-category-table):
14213         Delete it.
14214         (unicode-category-table): Set it by unicode-property-table-internal.
14216         * international/mule-cmds.el (char-code-property-alist): Move to
14217         to src/chartab.c.
14218         (get-char-code-property): Call unicode-property-table-internal to
14219         load a file.  Call get-unicode-property-internal where necessary.
14220         (put-char-code-property): Call unicode-property-table-internal to
14221         load a file.  Call put-unicode-property-internal where necessary.
14222         put-unicode-property-internal where necessary.
14223         (char-code-property-description):
14224         Call unicode-property-table-internal to load a file.
14226         * international/charprop.el:
14227         * international/uni-bidi.el:
14228         * international/uni-category.el:
14229         * international/uni-combining.el:
14230         * international/uni-comment.el:
14231         * international/uni-decimal.el:
14232         * international/uni-decomposition.el:
14233         * international/uni-digit.el:
14234         * international/uni-lowercase.el:
14235         * international/uni-mirrored.el:
14236         * international/uni-name.el:
14237         * international/uni-numeric.el:
14238         * international/uni-old-name.el:
14239         * international/uni-titlecase.el:
14240         * international/uni-uppercase.el: Regenerate.
14242         * loadup.el: Load international/charprop.el before
14243         international/characters.
14245 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14247         * window.el (next-buffer, previous-buffer): Signal an error if
14248         called from a minibuffer window.
14250         * bindings.el: Revert 2011-07-04 change.
14252 2011-07-06  Richard Stallman  <rms@gnu.org>
14254         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14255         (rmail-mime-insert-bulk, rmail-mime-insert-text):
14256         Treat markers like ints.
14257         (rmail-mime-entity): Doc fix.
14259 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14261         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14262         defcustom again for backwards compatibility.
14264         * simple.el (shell-command-on-region): Fill.
14266         * dired-aux.el (dired-kill-line): Add a doc string.
14268         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14269         to "\\sw\\|\\s_" (bug#358).
14271         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14272         (dired-unmark-backward): Ditto.
14273         (dired-flag-backup-files): Ditto.
14275         * dired-x.el (dired-mark-sexp): Ditto.
14277 2011-07-06  Richard Stallman  <rms@gnu.org>
14279         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14280         (rmail-mime-entity): New arg TRUNCATED.
14281         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14282         New functions.
14283         (rmail-mime-save): Warn if entity is truncated.
14284         (rmail-mime-toggle-hidden): Likewise, for showing.
14285         (rmail-mime-process-multipart): Record when an entity is truncated.
14287         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14288         if ENTITY is a string.
14290 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14292         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14293         of faces when `M-C-x'-ing their definitions (bug#8378).
14294         Also clean up the code slightly.
14296         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14297         because that makes the colors go away.
14299         * mail/sendmail.el (send-mail-function): Change the default to
14300         `sendmail-query-once'.
14301         (sendmail-query-once): Add an autoload cookie.
14303         * net/network-stream.el (network-stream-open-starttls): Try using
14304         a plain connection even if the server offered STARTTLS, and we
14305         kinda wanted to use it, if Emacs doesn't have any STARTTLS
14306         capability.  This should make smtpmail.el work in slightly more
14307         configurations.
14309 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
14311         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14312         New defun.
14313         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14315 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
14317         * progmodes/sql.el: Version 3.0
14318         (sql-product-alist): Add product :completion-object,
14319         :completion-column, and :statement attributes.
14320         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14321         (sql-mode-syntax-table): Mark all punctuation.
14322         (sql-font-lock-keywords-builder): Temporarily remove fallback on
14323         ansi keywords.
14324         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14325         (sql-mode-oracle-font-lock-keywords): Improve.
14326         (sql-oracle-show-reserved-words): New function for development.
14327         (sql-product-font-lock): Simplify for source code buffers.
14328         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14329         New functions.
14330         (sql-highlight-product): Set product specific syntax table.
14331         (sql-mode-map): Add statement movement functions.
14332         (sql-ansi-statement-starters, sql-oracle-statement-starters):
14333         New variable.
14334         (sql-statement-regexp, sql-beginning-of-statement)
14335         (sql-end-of-statement, sql-signum): New functions.
14336         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14337         (sql-show-sqli-buffer): Bug fix.
14338         (sql-interactive-mode): Store connection data as buffer local.
14339         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
14340         with sql-interactive-mode.
14341         (sql-save-connection): Save buffer local settings.
14342         (sql-connection-menu-filter): Change menu entry name.
14343         (sql-product-interactive): Bug fix.
14344         (sql-preoutput-hold): New variable.
14345         (sql-interactive-remove-continuation-prompt): Bug fixes.
14346         (sql-debug-redirect): New variable.
14347         (sql-str-literal): New function.
14348         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14349         Redesign.
14350         (sql-oracle-save-settings, sql-oracle-restore-settings)
14351         (sql-oracle-list-all, sql-oracle-list-table): New functions.
14352         (sql-completion-object, sql-completion-column)
14353         (sql-completion-sqlbuf): New variables.
14354         (sql-build-completions-1, sql-build-completions)
14355         (sql-try-completion): New functions.
14356         (sql-read-table-name): Use them.
14357         (sql-contains-names): New buffer local variable.
14358         (sql-list-all, sql-list-table): Use it.
14359         (sql-oracle-completion-types): New variable.
14360         (sql-oracle-completion-object, sql-sqlite-completion-object)
14361         (sql-postgres-completion-object): New functions.
14363 2011-07-06  Glenn Morris  <rgm@gnu.org>
14365         * window.el (pop-to-buffer): Doc fix.
14367 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
14369         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14371 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
14373         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14375         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14377 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
14379         * button.el (button): Inherit from link face.  Suggested by Dan
14380         Nicolaescu.
14382 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14384         * progmodes/gdb-mi.el: Fit in 80 columns.
14385         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14386         switch-to-buffer.
14388         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14389         if imenu is simply not configured (bug#8941).
14391 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
14393         * allout.el (allout-post-undo-hook): New allout outline-change
14394         event hook to signal undo activity.
14395         (allout-post-command-business): Run allout-post-undo-hook if an
14396         undo just occurred.
14397         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14398         * allout-widgets.el (allout-widgets-after-undo-function):
14399         Ensure the integrity of the current item's decoration after it has been
14400         in the vicinity of an undo.
14401         (allout-widgets-mode): Include allout-widgets-after-undo-function
14402         on the new allout-post-undo-hook.
14404 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14406         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14407         Let define-derived-mode define it.
14408         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14409         cycles of abbrev-table inheritance (bug#8998).
14411 2011-07-05  Roland Winkler  <winkler@gnu.org>
14413         * textmodes/bibtex.el: Add support for biblatex.
14414         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14415         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14416         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14417         (bibtex-entry-alist, bibtex-field-alist): New variables.
14418         (bibtex-entry-field-alist): Obsolete alias for
14419         bibtex-BibTeX-entry-alist.
14420         (bibtex-entry-alist, bibtex-field-alist): New widgets.
14421         (bibtex-set-dialect): New command.
14422         (bibtex-entry-type, bibtex-entry-head)
14423         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14424         Bind via bibtex-set-dialect.
14425         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14426         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14427         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14428         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14429         Define via bibtex-set-dialect.
14430         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14431         Obey bibtex-no-opt-remove-re.
14432         (bibtex-vec-push, bibtex-vec-incr): New functions.
14433         (bibtex-format-entry, bibtex-field-list)
14434         (bibtex-print-help-message, bibtex-validate)
14435         (bibtex-search-entries): Use new format of bibtex-entry-alist.
14437 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14439         * progmodes/compile.el (compilation-goto-locus):
14440         * net/tramp-cmds.el (tramp-append-tramp-buffers):
14441         * bs.el (bs-cycle-next, bs-cycle-previous):
14442         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14443         * bindings.el (mode-line-other-buffer):
14444         * autoinsert.el (auto-insert):
14445         * arc-mode.el (archive-extract):
14446         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14448 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14450         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14451         Fix check of `emacs-lock-unlockable-modes'.
14452         Coerce true values of `emacs-lock--try-unlocking' to t.
14454 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14456         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14457         * emacs-lock.el: New file.
14459 2011-07-05  Julien Danjou  <julien@danjou.info>
14461         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14462         than `boundp' to check if face is set.
14464 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14466         * register.el (registerv-make):
14467         * window.el (window-min-height): Fix typos in docstrings.
14469 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
14471         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14472         Update doc string.
14474 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
14476         * server.el (server-execute): Catch quit and call
14477         `server-return-error' to pass the error back to emacsclient and
14478         close the connection (bug#8942).
14480 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
14482         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14483         insecure exception for current topic.  Also note that auto-saves
14484         are handled differently.
14486         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14487         State variables for tracking auto-save inhibition situation.
14489         (allout-write-contents-hook-handler): Rename from
14490         'allout-write-file-hook-handler', and describe how it depends on
14491         write-contents-functions sensitivity to non-nil value to prevent
14492         file write.
14494         (allout-auto-save-hook-handler): Remove.  auto-save does not check
14495         this in individual buffers, only in the starting buffer, so this
14496         is not the right way for us to inhibit auto-save in a buffer
14497         according to its condition.
14499         (allout-mode): Use new allout-write-contents-hook-handler, and
14500         only with write-contents-functions.  Remove auto-save provisions -
14501         they're implemented elsewhere.
14503         (allout-before-change-handler): If undo is in progress, note that
14504         for attention of allout-post-command-business.
14506         (allout-post-command-business): If the command we're following was
14507         an undo, check for change in the status of encrypted items and
14508         adjust auto-save inhibitions accordingly.
14510         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14511         according to whether there are or aren't any plain-text topics
14512         pending encryption.
14514         (allout-inhibit-auto-save-info-for-decryption):
14515         Adjust buffer-saved-size and some allout state to inhibit auto-saves
14516         if there are plain-text topics pending encryption.
14518         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14519         buffer-saved-size and some allout state to not inhibit auto-saves
14520         if there are no longer any plain-text topics pending encryption.
14522         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14523         No longer provide for exemption of the current topic.
14525 2011-07-04  Juri Linkov  <juri@jurta.org>
14527         Add 7z operations to delete and save changed members (bug#8968).
14528         * arc-mode.el (archive-7z-expunge, archive-7z-update):
14529         New defcustoms.
14530         (archive-7z-write-file-member): New function.
14531         (archive-7z-summarize): Fix the number of dashes in the
14532         listing output.
14534 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14536         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14537         (bug#8958).
14539 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
14541         * bindings.el: Ignore next-buffer and previous-buffer in
14542         minibuffer-local-map.
14544         * font-lock.el (font-lock-builtin-face): Change light background
14545         color to dark slate blue (Bug#6693).
14547 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
14549         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14551 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14553         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14554         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14555         Add switch-to-buffer.
14557 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14559         * isearch.el (isearch-search-fun-function): Clarify further the
14560         meaning of the function returned.
14562 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
14564         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14566         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14567         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14568         Use it.
14569         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
14570         `tramp-default-remote-path' does not exist.
14571         (tramp-send-command-and-read): New optional argument NOERROR.
14572         (tramp-open-connection-setup-interactive-shell)
14573         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14574         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14575         (tramp-process-sentinel): Flush also process' connection property.
14576         (tramp-sh-handle-start-file-process): Do not set process
14577         sentinel.  It is done now ...
14578         (tramp-maybe-open-connection): ... here.  (Bug#8929)
14580 2011-07-04  MON KEY  <monkey@sandpframing.com>
14582         * play/animate.el (animate-string): Doc fixes and allow changing
14583         the buffer name (bug#5417).
14585 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14587         * play/animate.el (animation-buffer-name): Rename from *animate*.
14589 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
14591         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14592         This is simpler and helps future-proof the code.
14593         (timer-until): Use time-subtract and float-time.
14594         (timer--time-less-p): Use time-less-p.
14596 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
14598         * type-break.el (timep): Use the value of `float-time' to avoid a
14599         byte-compiler warning.
14601         * server.el (server-eval-and-print): Return any result, even nil.
14603 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
14605         * type-break.el: Accept time formats that the builtins accept.
14606         (timep, type-break-time-difference): Accept any format that
14607         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14608         This is simpler and helps future-proof the code.
14609         (type-break-time-difference): Round rather than ignoring
14610         subseconds components.
14612 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14614         * info.el (Info-apropos-matches): Make non-interactive, since it
14615         doesn't seem to do anything useful as a command (bug#8829).
14617 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
14619         * frame.el (frame-background-mode, frame-set-background-mode):
14620         Move from faces.el.
14621         (frame-default-terminal-background): New function.
14623         * custom.el (custom-push-theme): Don't record faces in `changed'
14624         theme; this doesn't work correctly for per-frame face settings.
14625         (disable-theme): Use face-set-after-frame-default to reset faces.
14626         (custom--frame-color-default): New function.
14628 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14630         * dired.el (dired-flagging-regexp): Remove unused variable
14631         (bug#8769).
14633 2011-03-29  Kevin Ryde  <user42@zip.com.au>
14635         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14636         `perl-Test2' extend to match possible "fail #N" rep count
14637         (bug#8377).
14639 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14641         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14642         `smtpmail-via-smtp' now returns the error instead of nil.
14644         * isearch.el (isearch-search-fun-function): Clarify the doc string
14645         (bug#8101).
14647 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
14649         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14650         unnecessary spaces (bug#8987).
14652 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14654         * net/network-stream.el (open-network-stream): Use the
14655         :end-of-capability command thoughout.
14657 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
14659         * net/network-stream.el (open-network-stream): Add the
14660         :end-of-capability command parameter, used by pop3.el.
14662 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14664         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14666         * fringe.el (fringe-query-style): Remove redundant text " (type ?
14667         for list)" (bug#6475).
14669         * files.el (file-expand-wildcards): Ignore non-readable
14670         sub-directories while trying to find matches instead of signaling
14671         an error (bug#6297).
14673         * man.el (Man-reference-regexp): Allow matching possible
14674         word-wrapped references (bug#6289).
14676         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14677         for consistency with the other vc buffers (bug#6197).
14678         (vc-checkin): Ditto.
14680         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14682         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14684 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14686         * custom.el (defcustom): Clarify that :set is only used in the
14687         Customize user interface (bug#6089).
14689         * progmodes/flymake.el (flymake-mode): If the buffer isn't
14690         associated with a file, refuse to run instead of erroring out
14691         (bug#6084).
14693         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14694         the doc string, since it appears that using `fill-column' always
14695         controls the width (bug#7845).
14697         * simple.el (shell-command-on-region): Say where the error output
14698         went if `shell-command-default-error-buffer' is set (bug#6857).
14700 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
14702         * allout.el (allout-yank-processing): Adjust cursor position for
14703         backwards-deleted space.
14705         (allout-rebullet-heading): Register changes with
14706         allout-exposure-changed-hook, so the modified topic is properly
14707         decorated.
14709 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14711         * minibuffer.el (completion-in-region): Document PREDICATE
14712         (bug#7136).
14714         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14715         of keyword/argument pairs (bug#6904).
14717         * replace.el (multi-occur):
14718         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
14720 2011-07-02  Drew Adams  <drew.adams@oracle.com>
14722         * dired.el (dired-mark-if): Make the message about whether it's
14723         marking or unmarking clearer (bug#8523).
14725 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14727         * disp-table.el (display-table-print-array): New function.
14728         (describe-display-table): Use it to print the vectors more pretty
14729         (Bug#8859).
14731 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
14733         * window.el (window-state-get-1): Don't assign clone numbers.
14734         Add clone-of item to list of window parameters.
14735         (window-state-put-2): Don't process clone numbers.
14736         (display-buffer-alist): Fix doc-string.
14738 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14740         * subr.el (remq): Don't allocate if it's not needed.
14741         (keymap--menu-item-binding, keymap--menu-item-with-binding)
14742         (keymap--merge-bindings): New functions.
14743         (keymap-canonicalize): Use them to refine the canonicalization.
14744         * minibuffer.el (minibuffer-local-completion-map)
14745         (minibuffer-local-must-match-map): Move initialization from C.
14746         (minibuffer-local-filename-completion-map): Move initialization from C;
14747         don't inherit from anything here.
14748         (minibuffer-local-filename-must-match-map): Make obsolete.
14749         (completing-read-default): Use make-composed-keymap to combine
14750         minibuffer-local-filename-completion-map with either
14751         minibuffer-local-must-match-map or
14752         minibuffer-local-filename-completion-map.
14754 2011-07-01  Glenn Morris  <rgm@gnu.org>
14756         * type-break.el (type-break-time-sum): Use dolist.
14758         * textmodes/flyspell.el (flyspell-word-search-backward):
14759         Replace CL function.
14761 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14763         * mouse.el (mouse--strip-first-event): New function.
14764         (function-key-map): Use it to map fringe clicks to normal clicks
14765         by default.
14767         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14768         (vc-bzr-revision-completion-table): Add support for annotate and date.
14770         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14771         inherit from parent.
14773 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14775         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
14776         (dired-show-file-type): Doc fixup (bug#8818).
14778         * dired.el (dired-mode): Fix up the doc string as suggested by
14779         Drew Adams (bug#8817).
14781         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14782         cookie, since the manual says that it should be possible to add
14783         this function to `find-file-hook' (bug#8709).
14785 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
14787         * progmodes/cfengine.el: Moved all cfengine3.el functionality
14788         here.  Noted Ted Zlatanov as the maintainer.
14789         (cfengine-common-settings, cfengine-common-syntax): New functions
14790         to set up common things between `cfengine-mode' and
14791         `cfengine3-mode'.
14792         (cfengine3-mode): New mode.
14793         (cfengine3-defuns cfengine3-defuns-regex
14794         (cfengine3-class-selector-regex cfengine3-category-regex)
14795         (cfengine3-vartypes cfengine3-font-lock-keywords)
14796         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
14797         (cfengine3-indent-line): Add from cfengine3.el.
14799 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
14801         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14803         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14805 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
14807         * window.el (same-window-buffer-names, same-window-regexps)
14808         (same-window-p, special-display-frame-alist)
14809         (special-display-popup-frame, special-display-function)
14810         (special-display-buffer-names, special-display-regexps)
14811         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14812         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14813         (split-window-preferred-function, split-height-threshold)
14814         (split-width-threshold, even-window-heights)
14815         (display-buffer-mark-dedicated, window-splittable-p)
14816         (split-window-sensibly, window-safely-shrinkable-p):
14817         Un-obsolete.
14818         (display-buffer): Don't spread args with function specifier
14819         because special-display-popup-frame won't like it.
14821 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
14823         Time-stamp simplifications and fixes.
14824         These improve accuracy slightly, and future-proof the code
14825         against some potential changes to current-time format.
14827         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14828         by using time-since and float-time.
14830         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14831         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
14832         + NNN microseconds".
14834         * type-break.el (type-break-time-sum): Rewrite using time-add.
14836         * play/hanoi.el (hanoi-current-time-float): Remove.
14837         All uses replaced by float-time.
14839         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14840         This yields a more-accurate answer.
14841         (rng-time-to-float): Remove; no longer needed.
14843         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14845         * calendar/timeclock.el (timeclock-seconds-to-time):
14846         Defalias to seconds-to-time, since they're the same thing.
14848         * emacs-lisp/elp.el (elp-elapsed-time):
14849         * emacs-lisp/benchmark.el (benchmark-elapse):
14850         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14852 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14854         * window.el (bury-buffer): Don't iconify the only frame.
14855         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14856         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
14858 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
14860         * eshell/em-smart.el (eshell-smart-display-navigate-list):
14861         Add mouse-yank-primary.
14863 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
14865         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14867 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14869         * emacs-lisp/find-func.el (find-library--load-name): New fun.
14870         (find-library-name): Use it to find relative load names when provided
14871         absolute file name (bug#8803).
14873 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14875         * textmodes/flyspell.el (flyspell-word): Consider words that
14876         differ only in case as potential doublons (bug#5687).
14878         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14879         Remove two rather uninteresting debugging-like messages to make
14880         debbugs.el more silent.
14882         * comint.el (comint-password-prompt-regexp): Accept "Response" as
14883         a password-like phrase.
14885 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
14887         * progmodes/cc-guess.el: New file.
14889         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
14891         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14892         derived from `c-basic-common-init'.
14894         * progmodes/cc-mode.el (top-level): Require cc-guess.
14895         (c-basic-common-init): Use `cc-choose-style-for-mode'.
14897 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
14899         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14901 2011-06-30  Alan Mackenzie  <acm@muc.de>
14903         * progmodes/cc-engine.el (c-guess-continued-construct):
14904         Correct the handling of template-args-cont, particularly for when font
14905         lock is disabled.  Name this case as "CASE G".
14907 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
14909         * allout.el (allout-yank-processing): Fix injection of extra space
14910         between bullet and non-whitespace character in first topic when
14911         pasting, ensuring that the actual spacing in the pasted topic
14912         following the bullet char is preserved.  This extra space was
14913         causing pasted encrypted topics to get a decrypted status even
14914         when the content was actually still encrypted.  Now the decryption
14915         status from before the paste is preserved.
14917         (allout-flag-region): Set all allout overlays so they evaporate
14918         when reduced to zero length (evanescent), to prevent overlay
14919         leakage.
14921 2011-06-30  Glenn Morris  <rgm@gnu.org>
14923         * w32-fns.el (w32-charset-info-alist): Declare.
14925         * find-dired.el (find-grep-options): Simplify.
14927         * term/ns-win.el (ns-set-resource): Declare.
14929         * ses.el (row, col): Declare dynamic variables honestly.
14931         * textmodes/reftex-parse.el (index-tags): Declare.
14933 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
14935         * cus-edit.el (customize-push-and-save): New function.
14937         * files.el (hack-local-variables-confirm): Use it.
14939         * custom.el (load-theme): New arg NO-CONFIRM.
14940         Use customize-push-and-save (Bug#8720).
14941         (custom-enabled-themes): Doc fix.
14943         * cus-theme.el (customize-create-theme)
14944         (custom-theme-merge-theme): Callers to load-theme changed.
14946 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14948         * thingatpt.el (thing-at-point-short-url-regexp): Require that
14949         short URLs have at least one dot in them (bug #7614).
14951         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14952         nil, because using a pty is apparently too slow (bug #895).
14954 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14956         * mail/sendmail.el (sendmail-query-once): New function.
14957         (sendmail-query-once-function): New variable.
14959 2011-06-29  Glenn Morris  <rgm@gnu.org>
14961         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14963         * ses.el (top-level): Require cl when compiling.
14964         (ses-set-localvars): Fix error statement.
14965         Call it at compile time to silence a storm of warnings.
14967 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
14969         * window.el (normalize-live-buffer): Rename to
14970         window-normalize-buffer.
14971         (normalize-live-frame): Rename to window-normalize-frame.
14972         (normalize-any-window): Rename to window-normalize-any-window.
14973         (normalize-live-window): Rename to window-normalize-live-window.
14974         (make-window-atom): Rename to window-make-atom.
14975         (window-resize-reset): Rename to window--resize-reset.
14976         (window-resize-reset-1): Rename to window--resize-reset-1.
14977         (resize-mini-window): Rename to window--resize-mini-window.
14978         (resize-subwindows-skip-p): Rename to
14979         window--resize-subwindows-skip-p.
14980         (resize-subwindows-normal): Rename to
14981         window--resize-subwindows-normal.
14982         (resize-subwindows): Rename to window--resize-subwindows.
14983         (resize-other-windows): Rename to window--resize-siblings.
14984         (resize-this-window): Rename to window--resize-this-window.
14985         (resize-root-window): Rename to window--resize-root-window.
14986         (resize-root-window-vertically): Rename to
14987         window--resize-root-window-vertically.
14988         (normalize-buffer-to-display): Rename to
14989         window-normalize-buffer-to-display.
14990         (normalize-buffer-to-switch-to): Rename to
14991         window-normalize-buffer-to-switch-to.
14992         Correspondingly update all callers of the functions listed
14993         above.
14994         (display-buffer-alist, display-buffer-normalize-arguments)
14995         (display-buffer-normalize-options, display-buffer)
14996         (display-buffer-alist-set): Use "function" instead of
14997         "fun-with-args".
14999 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
15001         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15002         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
15003         debbugs.gnu.org.  Mention acknowledgment email.
15005 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15007         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15008         buffer multibyteness, since it shouldn't matter.
15010 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
15012         * window.el (display-buffer-in-side-window): Handle dedicated
15013         windows as in display-buffer-reuse-window.
15014         (display-buffer-normalize-alist): Use value of override
15015         specifier.
15016         (display-buffer-normalize-specifiers): Use value of
15017         other-window-means-other-frame specifier.
15018         (display-buffer-alist): Rewrite some texts in widgets.
15019         (display-buffer): Spread arguments when calling function
15020         specified by fun-with-args.
15022 2011-06-28  Deniz Dogan  <deniz@dogan.se>
15024         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15025         Unnest `let'.
15027         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15028         selectors (Bug#5732).
15029         (css-proprietary-nmstart-re): Use `regexp-opt'.
15031 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
15033         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15034         (eshell-ls-date-format): New defcustom.
15035         (eshell-ls-file): Use it.
15037 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15039         * help-fns.el (describe-variable): Fix message for terminal-local vars.
15041 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
15043         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15044         (ange-ftp-make-tmp-name): New arg.
15045         (ange-ftp-file-local-copy): Use it.
15047 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
15049         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15050         no-conversion (Bug#8870).
15052 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
15054         * window.el (window-right, window-left, window-child)
15055         (window-child-count, window-last-child)
15056         (window-iso-combination-p, walk-window-tree-1)
15057         (window-atom-check-1, window-tree-1, delete-window)
15058         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15059         new naming conventions - window-vchild, window-hchild,
15060         window-next and window-prev are now called window-top-child,
15061         window-left-child, window-next-sibling and window-prev-sibling
15062         respectively.
15063         (resize-window-reset): Rename to window-resize-reset.
15064         (resize-window-reset-1): Rename to window-resize-reset-1.
15065         (resize-window): Rename to window-resize.
15066         (window-min-height, window-min-width)
15067         (resize-mini-window, resize-this-window, resize-root-window)
15068         (resize-root-window-vertically, adjust-window-trailing-edge)
15069         (enlarge-window, shrink-window, maximize-window)
15070         (minimize-window, delete-window, quit-restore-window)
15071         (split-window, balance-windows, balance-windows-area-adjust)
15072         (balance-windows-area, window-state-put-2)
15073         (display-buffer-even-window-sizes, display-buffer-set-height)
15074         (display-buffer-set-width, set-window-text-height)
15075         (fit-window-to-buffer): Rename all "resize-window" prefixed
15076         calls to use the "window-resize" prefix convention.
15077         (display-buffer-alist): Fix symbol for label specifier.
15078         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15079         corresponding specifier.
15080         Reported by Juanma Barranquero <lekktu@gmail.com>.
15082 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15084         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15085         convention.
15086         (ses-call-printer): Does not pass an empty string to formatter when the
15087         cell is empty to keep from barking printer Calc math-format-value.
15089 2011-06-27  Richard Stallman  <rms@gnu.org>
15091         * battery.el (battery-mode-line-limit): New variable.
15092         (battery-update): Handle it.
15094         * mail/rmailmm.el (rmail-mime-process-multipart):
15095         Handle truncated messages.
15097 2011-06-27  Glenn Morris  <rgm@gnu.org>
15099         * progmodes/flymake.el (flymake-err-line-patterns):
15100         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
15102 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15104         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15105         (ses--clean-!, ses--clean-_): New functions.
15106         (ses-range): Add configurability of readout order, and conversion
15107         to Calc vector.
15109         * ses.el (ses-repair-cell-reference-all): New function.
15110         (ses-cell-symbol): Set macro as safe, so that it can be used in
15111         formulas.
15113         * ses.el: Update cycle detection algorithm.
15114         (ses-localvars): Add ses--Dijkstra-attempt-nb and
15115         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15116         (ses-set-localvars): New function.
15117         (ses-make-cell): Add property-list as a cell element.
15118         (ses-cell-property-get-fun, ses-cell-property-get)
15119         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15120         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15121         New functions.
15122         (ses-cell-property-set, ses-cell-property-pop)
15123         (ses-cell-property-get-handle): New macro.
15124         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15125         New aliases, used for code readability.
15126         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15127         cycle detection.
15128         (ses-self-reference-early-detection): New defcustom.
15129         (ses-formula-references): Robustify against self-referring cells.
15130         (ses-mode): Use ses-set-localvars.
15131         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15132         before lauching the update processing.
15133         (ses-initialize-Dijkstra-attempt): New function.
15134         (ses-recalculate-cell): Update for cycle detection based on
15135         Dijkstra algorithm.
15137         * ses.el: Fix commenting and indenting convention.
15139 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15141         * bs.el (bs-cycle-next): Complete last change.
15143 2011-06-27  Drew Adams  <drew.adams@oracle.com>
15145         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15147 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15149         * net/network-stream.el (network-stream-open-starttls):
15150         Don't re-get capabilities unless we've reestablished connection.
15151         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15153         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15154         to binary to possibly avoid line encoding issues on Windows (among
15155         other things).
15157 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15159         * net/network-stream.el (open-network-stream): Return an :error
15160         saying what the problem was, if possible.
15162         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15163         server.
15165         * net/network-stream.el (network-stream-open-starttls): If we
15166         wanted to use STARTTLS, and the server offered it, but we weren't
15167         able to because we had no STARTTLS support, then close the connection.
15168         (open-network-stream): Return an :error element, if present.
15170 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
15172         * hl-line.el (hl-line-sticky-flag): Doc fix.
15173         (global-hl-line-sticky-flag): New option (Bug#8323).
15174         (global-hl-line-highlight): Obey it.
15176         * vc/vc.el (vc-revert-show-diff): Default to t.
15178 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
15180         * allout-widgets.el (allout-widgets-post-command-business):
15181         Stop decorating intermediate isearch matches.  They're not being
15182         undecorated when an isearch is continued past, and isearch
15183         automatically collapses them.  This leads to "widget leaks", where
15184         decorated items accumulate in collapsed areas.  Lines with lots of
15185         hidden widgets can slow down cursor travel, substantially.
15186         Too much complicated machinery would be needed to ensure undecoration,
15187         so we're doing without this nicety.
15189         (allout-widgets-tally-string): Don't try to do a hash-table-count
15190         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
15191         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15192         *Messages* when allout-widgets-maintain-tally is t.
15194 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
15196         * window.el (display-buffer-normalize-argument): Rename to
15197         display-buffer-normalize-arguments.  Handle special meaning of
15198         LABEL argument.  Respect special-display-function when popping up
15199         a new frame.  Fix code searching for a window showing the buffer
15200         on another frame.
15201         (display-buffer-normalize-specifiers):
15202         Call display-buffer-normalize-arguments.
15203         (display-buffer-in-window): Don't undedicate the window if its
15204         buffer remains the same.
15205         Reported by Drew Adams <drew.adams@oracle.com>.
15206         (display-buffer-alist): Add choice for same-window macro
15207         specfier.
15208         (display-buffer): Mention special meaning of LABEL argument in
15209         doc-string.  Fix quoting.  Don't pop up a new frame even as
15210         fallback.
15212 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
15214         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15215         avoid deleting the current window in some cases (bug#8911).
15217 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
15219         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15220         (Bug#8934)
15222 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15224         * net/network-stream.el (network-stream-open-starttls):
15225         Use built-in TLS support if `gnutls-available-p' is true.
15226         (network-stream-open-tls): Ditto.
15228 2011-06-26  Leo Liu  <sdl.web@gmail.com>
15230         * register.el (registerv): New struct.
15231         (registerv-make): New function.
15232         (jump-to-register, describe-register-1, insert-register):
15233         Support the jump-func, print-func and insert-func slot of a registerv
15234         struct.  (Bug#8415)
15236 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
15238         * vc/vc.el (vc-revert-show-diff): New defcustom.
15239         (vc-diff-internal): New arg specifying diff buffer.
15240         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
15241         reuse an existing *vc-diff* buffer (Bug#8927).
15243         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15245 2011-06-26  Glenn Morris  <rgm@gnu.org>
15247         * progmodes/f90.el (f90-critical-indent): New option.
15248         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15249         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15250         (f90-mode): Doc fix.
15251         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15252         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15253         (f90-beginning-of-block, f90-next-block, f90-indent-region)
15254         (f90-match-end): Handle block, critical.
15256 2011-06-25  Glenn Morris  <rgm@gnu.org>
15258         * calendar/diary-lib.el (diary-included-files): Doc fix.
15259         (diary-include-files): New function, extracted from
15260         diary-include-other-diary-files and diary-mark-included-diary-files.
15261         (diary-include-other-diary-files, diary-mark-included-diary-files):
15262         Just call diary-include-files.
15263         (diary-mark-entries): Reset diary-included-files on first call.
15265         * calendar/diary-lib.el (diary-mark-entries)
15266         (diary-mark-included-diary-files):
15267         Visit included diary-files in temp buffers.
15269         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15270         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15271         (f90-start-block-re, f90-imenu-generic-expression)
15272         (f90-looking-at-program-block-start, f90-no-block-limit):
15273         Add support for submodules.
15275         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15276         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15278 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
15280         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15281         buffer-file-type before setting its value, to avoid disastrous
15282         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
15284 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
15286         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15288         * ses.el (ses-unload-function):
15289         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15291         * proced.el (proced-unload-function):
15292         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15294 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
15296         * server.el (server-create-window-system-frame): Add parameters arg.
15297         (server-process-filter): Doc fix.  Handle frame-parameters.
15299 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
15301         Fix bug#8730, bug#8781.
15303         * loadhist.el (unload--set-major-mode): New function.
15304         (unload-feature): Use it.
15306         * progmodes/python.el (python-after-info-look): Add autoload cookie.
15307         (python-unload-function): New function.
15309 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15311         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15313 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
15315         * net/browse-url.el (browse-url-firefox-program): Add icecat to
15316         the candidates list.
15318 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
15320         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15322 2011-06-23  Richard Stallman  <rms@gnu.org>
15324         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15325         (rmail-variables): Set next-error-move-function.
15326         (rmail-what-message): Take argument POS.
15327         (rmail-next-error-move): New function.
15329 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15331         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15332         messages for adjacent non-terminals.
15334 2011-06-23  Richard Stallman  <rms@gnu.org>
15336         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15337         (rmail-show-message-1): Preserve buffer modified flag.
15338         (rmail-start-mail): Don't specify use of rmail-mail-return;
15339         that's done by mail-bury now.
15340         (rmail-mail-return): Handle arg NEWBUF.
15342 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
15344         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15345         SIZE is a number.
15347 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
15349         * window.el (get-lru-window, get-mru-window)
15350         (get-largest-window): Never return a minibuffer window.
15351         (display-buffer-pop-up-window): Fix a bug that could lead to
15352         reusing the minibuffer window.
15353         (display-buffer): Pass original specifier argument to
15354         display-buffer-function instead of the normalized one.
15355         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15357 2011-06-22  Leo Liu  <sdl.web@gmail.com>
15359         * minibuffer.el (completing-read-function)
15360         (completing-read-default): Move from minibuf.c
15362 2011-06-22  Richard Stallman  <rms@gnu.org>
15364         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15365         to Rmail even if not started by a special Rmail command.
15367         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15368         Copy the buffer currently showing just one message.
15370 2011-06-22  Roland Winkler  <winkler@gnu.org>
15372         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15373         (bibtex-clean-entry): First delete the old key so that a
15374         customized algorithm for generating the new key does not get
15375         confused by the old key.
15376         (bibtex-url): Obey regexp of first step.
15377         (bibtex-search-entries): Do not use add-to-list with local
15378         list-var.
15380 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15382         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15383         stored a user name, then query for the password first, instead of
15384         waiting for SMTP to give an error message and the trying again.
15386 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
15388         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15389         BUFFER in call-process.
15391 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15393         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15394         QUIT twice.
15395         (smtpmail-try-auth-methods): Require user name and password from
15396         auth-source.
15398 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
15400         * window.el (display-buffer-default-specifiers)
15401         (display-buffer-alist): Remove entries for pop-up-frame-alist.
15402         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15403         (split-window): Normalize SIDE argument (Bug#8916).
15405         * frame.el (pop-up-frame-alist, pop-up-frame-function)
15406         (special-display-frame-alist, special-display-popup-frame):
15407         Remove duplicate declarations.  These are now in window.el.
15409 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15411         * mail/smtpmail.el (smtpmail-via-smtp):
15412         Set :use-starttls-if-possible so that we always use STARTTLS if the
15413         server supports it.  SMTP servers that support STARTTLS commonly
15414         require it.
15416         * net/network-stream.el (network-stream-open-starttls): Support
15417         upgrading to STARTTLS always, even if we don't have built-in support.
15418         (open-network-stream): Add the :always-query-capabilities keyword.
15420         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15421         upgrades with `open-network-stream', and rely solely on
15422         auth-source for all credentials.  Big changes throughout the file,
15423         but in particular:
15424         (smtpmail-auth-credentials): Remove.
15425         (smtpmail-starttls-credentials): Remove.
15426         (smtpmail-via-smtp): Check for servers saying they want AUTH after
15427         MAIL FROM, too.
15429         * net/network-stream.el (network-stream-open-starttls):
15430         Provide support for client certificates both for external and built-in
15431         STARTTLS.
15432         (auth-source): Require.
15433         (open-network-stream): Document the :client-certificate keyword.
15434         (network-stream-certificate): Change cert-cert to cert and
15435         cert-key to key.
15437 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
15439         * net/tramp-cache.el (top): Don't load the persistency file when
15440         "emacs -Q" has been called.
15442 2011-06-21  Tim Harper  <timcharper@gmail.com>
15444         * term/ns-win.el (ns-initialize-window-system):
15445         Set application-specific `ApplePressAndHoldEnabled' system
15446         resource to NO as it is not yet supported by the NS port.
15448 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
15450         * misc.el (list-dynamic-libraries--refresh): Compute header here...
15451         (list-dynamic-libraries): ...not here.
15453 2011-06-21  Leo Liu  <sdl.web@gmail.com>
15455         * subr.el (sha1): Implement sha1 using secure-hash.
15457 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
15459         * window.el (display-buffer-alist): In default value do not
15460         enforce searching a window on any but the selected frame.
15461         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15462         (display-buffer-select-window): Remove function.
15463         (display-buffer-in-window): When a window on another frame gets
15464         reused, do not select it any more but just raise its frame if
15465         necessary (Bug#8851) and (Bug#8856).
15466         (display-buffer-normalize-options): Handle pop-up-frames related
15467         options more faithfully.
15468         (pop-to-buffer): Don't rely on `display-buffer' selecting the
15469         window if it is on another frame.
15470         (display-buffer-alist, display-buffer-default-specifiers):
15471         Don't make new frame unsplittable by default.
15472         (display-buffer-normalize-argument): Fix doc-string typo and use
15473         'same-frame-other-window instead of 'other-window when associating
15474         with display-buffer-macro-specifiers.
15476 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
15478         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15479         New functions.
15480         (5x5-mode-map, 5x5-mode-menu): Bind them.
15481         (5x5-draw-grid): Tweak the solver's rendering.
15483 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15485         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15486         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15488 2011-06-21  Drew Adams  <drew.adams@oracle.com>
15490         * menu-bar.el: Use function variable instead of switch-to-buffer.
15491         (menu-bar-select-buffer-function): New variable.
15492         (menu-bar-update-buffers): Use it (bug#8876).
15494 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15496         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15497         variable's status.
15499 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
15501         * x-dnd.el (x-dnd-version-from-flags)
15502         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15503         and long as number (Bug#8899).
15504         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15506 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15508         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15509         (completion-try-completion, completion-all-completions): Compute the
15510         metadata argument if it's missing; make it optional (bug#8795).
15512         * wid-edit.el: Use lex-bind and move towards completion-at-point.
15513         (widget-complete): Use new :completion-function property.
15514         (widget-completions-at-point): New function.
15515         (default): Use :completion-function instead of :complete.
15516         (widget-default-completions): Rename from widget-default-complete;
15517         Rewrite.
15518         (widget-string-complete, widget-file-complete, widget-color-complete):
15519         Remove functions.
15520         (file, symbol, function, variable, coding-system, color):
15521         * international/mule-cmds.el (default-input-method, charset)
15522         (language-info-custom-alist):
15523         * cus-edit.el (face): Use new property :completions.
15525         * progmodes/pascal.el (pascal-completions-at-point): New function.
15526         (pascal-mode): Use it.
15527         (pascal-mode-map): Use completion-at-point.
15528         (pascal-toggle-completions): Make obsolete.
15529         (pascal-complete-word, pascal-show-completions):
15530         * progmodes/octave-mod.el (octave-complete-symbol):
15531         Redefine as obsolete alias.
15532         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15533         Signal absence of completion info for old Octave,
15534         (inferior-octave-complete): Redefine as obsolete alias.
15535         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15536         (meta-completions-at-point): Rename from meta-complete-symbol and
15537         adapt it for use on completion-at-point-functions.
15538         (meta-common-mode): Use it.
15539         (meta-looking-at-backward, meta-match-buffer): Remove.
15540         (meta-complete-symbol): Redefine as obsolete alias.
15541         (meta-common-mode-map): Use completion-at-point.
15542         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15543         (makefile-mode-map): Use completion-at-point.
15544         (makefile-completions-at-point): Rename from makefile-complete and
15545         adapt it for use on completion-at-point-functions.
15546         (makefile-mode): Use it.
15547         (makefile-complete): Redefine as obsolete alias.
15549 2011-06-20  Deniz Dogan  <deniz@dogan.se>
15551         * net/rcirc.el: Delete trailing whitespaces once and for all.
15553 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
15555         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15557 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
15559         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15561         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15563 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
15565         * window.el (display-buffer-other-window-means-other-frame):
15566         Call display-buffer-normalize-alist.
15567         (display-buffer-normalize-specifiers-1): Rename to
15568         display-buffer-normalize-argument.  New argument other-frame.
15569         Rewrite.
15570         (display-buffer-normalize-specifiers-2): Rename to
15571         display-buffer-normalize-options.
15572         (display-buffer-normalize-alist-1): New function.
15573         (display-buffer-normalize-specifiers-3): Rename to
15574         display-buffer-normalize-alist.
15575         Call display-buffer-normalize-alist-1.
15576         (display-buffer-normalize-options-inhibit): New variable.
15577         (display-buffer-normalize-specifiers): Rewrite calling
15578         display-buffer-normalize-alist,
15579         display-buffer-normalize-argument, and
15580         display-buffer-normalize-options.  Don't call the latter if
15581         display-buffer-normalize-options-inhibit is non-nil.
15582         (frame-auto-delete): New option.
15583         (window-deletable-p): Use frame-auto-delete.
15584         (window-list-no-nils, window-state-ignored-parameters)
15585         (window-state-get-1, window-state-get, window-state-put-list)
15586         (window-state-put-1, window-state-put-2, window-state-put):
15587         New functions.
15588         (display-buffer-normalize-options): Move special-display-p group
15589         after pop-up-frame group (Bug#8851) and (Bug#8856).
15591 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
15593         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15594         groups (Bug#8776).
15595         (rx-submatch-n): New function.
15596         (rx): Document it.
15598         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15599         (Bug#8768).
15601         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15603         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15605         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15606         anytime existing face settings are present (Bug#8889).
15608         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15609         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15610         Remove unused argument.
15612 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
15614         * window.el (display-buffer-default-specifiers):
15615         Remove pop-up-frame.  Add pop-up-window-min-height,
15616         pop-up-window-min-width, and another reuse-window specifier
15617         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
15618         (display-buffer-normalize-specifiers-2):
15619         Handle split-height-threshold and split-width-threshold also when
15620         pop-up-windows is unset.  Add a reuse-window specifier for the
15621         case popping up a new window fails.
15622         (special-display-popup-frame): Remove double quoting.
15623         (display-buffer-normalize-specifiers-1): Fix thinko.
15625 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15627         * shell.el (shell-completion-vars): Set pcomplete-termination-string
15628         according to comint-completion-addsuffix.
15630         * pcomplete.el: Convert to lexical binding and fix bug#8819.
15631         (pcomplete-suffix-list): Mark as obsolete.
15632         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15633         pcomplete-seen in the closure.
15634         (pcomplete-comint-setup): Setup completion-at-point as well.
15635         (pcomplete--entries): New function.
15636         (pcomplete--env-regexp): New var.
15637         (pcomplete-entries): Rewrite to work with partial-completion and
15638         without relying on pcomplete-suffix-list.
15639         (pcomplete-pare-list): Remove, unused.
15641 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
15643         * window.el (display-buffer-alist): Set pop-up-window-min-height
15644         and pop-up-window-min-width in default value.  Reported by
15645         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
15646         other-window-means-other-frame.
15647         (display-buffer-macro-specifiers): Comment out entry for
15648         other-window specifier.
15649         (display-buffer-other-window-means-other-frame): New function.
15650         (display-buffer-normalize-specifiers-1): New arguments
15651         buffer-name and label.  Treat other-window case specially.
15652         (display-buffer-normalize-specifiers-2): Treat other-window case
15653         specially.
15654         (display-buffer-normalize-specifiers-3): New function.
15655         (display-buffer-normalize-specifiers):
15656         Call display-buffer-normalize-specifiers-3.
15658 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
15660         * window.el (same-window-p): Fix two typos introduced when
15661         adding with-no-warnings.
15662         (display-buffer-normalize-specifiers-1): Don't check
15663         pop-up-frames for 'unset initialization.
15664         (display-buffer-normalize-specifiers-2): Major rewrite using
15665         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15666         (pop-up-frames, display-buffer-reuse-frames)
15667         (display-buffer-mark-dedicated): Don't initialize to 'unset.
15668         Suggested by David Engster <deng@randomsample.de>.
15669         (even-window-heights): Initialize to 'unset.
15670         (display-buffer-alist-set): Handle new 'unset initializations.
15671         (display-buffer-macro-specifiers): Don't pop up a new frame in the
15672         other window case.
15674 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
15676         * window.el (display-buffer-normalize-specifiers-1):
15677         Respect current value of pop-up-frames for most reasonable values of
15678         second argument of display-buffer (Bug#8865).
15679         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15680         (switch-to-buffer-other-window-same-frame)
15681         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
15682         Adams (Bug#8875).
15683         (display-buffer): Don't check noninteractive when calling
15684         display-buffer-pop-up-frame.
15685         (display-buffer-pop-up-frame): Never pop up a frame in
15686         noninteractive mode (Bug#8857).
15687         (enlarge-window, shrink-window): Don't report an error when the
15688         window can't be resized as requested (Bug#8862).
15690 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15692         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15694         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15696         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15698 2011-06-15  Alan Mackenzie  <acm@muc.de>
15700         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15701         for declarators, disable knr checking to speed up for normal files.
15702         2: Refactor, replacing a sequence of nested if forms by a cond form.
15704 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15706         * net/network-stream.el (open-network-stream): Add the keyword
15707         :always-query-capabilities for the case where you want to force a
15708         `plain' network connection, but the protocol still requires the
15709         capabilitiy command (i.e., SMTP and EHLO).
15711         * subr.el (process-live-p): Rename from `process-alive-p' for
15712         consistency with other `-live-p' functions.
15714 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15716         * window.el (same-window-buffer-names, same-window-regexps)
15717         (special-display-frame-alist, special-display-popup-frame)
15718         (special-display-function, special-display-buffer-names)
15719         (special-display-regexps, pop-up-frame-alist)
15720         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15721         (pop-up-windows, split-window-preferred-function)
15722         (split-height-threshold, split-width-threshold, even-window-heights)
15723         (display-buffer-mark-dedicated): Don't encourage the use of
15724         display-buffer-alist from Elisp code.
15726 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
15728         * progmodes/python.el (python-mode): Derive from prog-mode.
15729         * progmodes/ps-mode.el (ps-mode):
15730         * progmodes/mixal-mode.el (mixal-mode):
15731         * progmodes/cfengine.el (cfengine-mode):
15732         * progmodes/ld-script.el (ld-script-mode): Likewise.
15734 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
15736         * window.el (display-buffer-alist): Trim default value to avoid
15737         popping up a new frame (Bug#8857) or reusing an arbitrary window
15738         on another frame.
15739         (display-buffer): Do not fall back on popping up a new frame in
15740         batch mode (Bug#8857).
15742 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
15744         * cus-theme.el (describe-theme-1): Use custom-theme-p.
15745         (custom-theme-summary): New function.
15746         (customize-themes): Use it.
15748 2011-06-13  Glenn Morris  <rgm@gnu.org>
15750         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15752 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
15754         * help.el (help-window): Remove variable.
15755         (help-window-point-marker, temp-buffer-max-height)
15756         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15757         (help-print-return-message): Don't set help-window.
15758         (resize-temp-buffer-window): Rewrite cod eand doc-string.
15759         (help-window-setup-finish): Remove.
15760         (help-window-display-message, help-window-setup)
15761         (with-help-window): Major rewrite based on new
15762         display-buffer-window variable.
15764         * help-mode.el (help-mode-finish): Remove help-window related
15765         code.
15767         * view.el (view-exits-all-viewing-windows): Remove reference to
15768         view-return-to-alist in doc-string.
15769         (view-return-to-alist): Make obsolete.
15770         (view-buffer): Call pop-to-buffer-same-window and remove
15771         undo-window code.
15772         (view-buffer-other-window): Call pop-to-buffer-other-window and
15773         simplify code.  Ignore second argument.
15774         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15775         simplify code.  Ignore second argument.
15776         (view-return-to-alist-update): Make obsolete.
15777         (view-mode-enter): Rename second argument to QUIT-RESTORE.
15778         Rewrite using quit-restore window parameters.
15779         (view-mode-exit): Rename second argument to EXIT-ONLY.
15780         Rewrite using quit-restore-window.
15781         (View-exit, View-exit-and-edit, View-leave, View-quit)
15782         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15783         appropriate arguments.
15784         (view-end-message): Use quit-restore window parameter.
15786         * window.el (display-buffer-function): Rewrite doc-string.
15787         (display-buffer-window, display-buffer-alist): New variables.
15788         (display-buffer-split-specifiers)
15789         (display-buffer-side-specifiers)
15790         (display-buffer-macro-specifiers): New constants.
15791         (display-buffer-even-window-sizes, display-buffer-set-height)
15792         (display-buffer-set-width, display-buffer-select-window)
15793         (display-buffer-in-window, display-buffer-reuse-window)
15794         (display-buffer-split-window-1, display-buffer-split-window)
15795         (display-buffer-split-atom-window, display-buffer-pop-up-window)
15796         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15797         (display-buffer-in-side-window, normalize-buffer-to-display)
15798         (display-buffer-normalize-specifiers-1)
15799         (display-buffer-normalize-specifiers-2)
15800         (display-buffer-normalize-specifiers, display-buffer-frame):
15801         New functions.
15802         (display-buffer): Major rewrite.
15803         (display-buffer-other-window, display-buffer-other-frame)
15804         (pop-to-buffer, switch-to-buffer-other-window)
15805         (switch-to-buffer-other-frame): Rewrite.
15806         (display-buffer-same-window, display-buffer-same-frame)
15807         (display-buffer-same-frame-other-window)
15808         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15809         (pop-to-buffer-other-window)
15810         (pop-to-buffer-same-frame-other-window)
15811         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15812         (switch-to-buffer-other-window-same-frame): New functions.
15813         (same-window-p, special-display-p): Rewrite disabling warnings.
15814         Make obsolete.
15815         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15816         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15817         Make obsolete
15818         (same-window-buffer-names, same-window-regexps)
15819         (special-display-frame-alist, special-display-popup-frame)
15820         (special-display-function, special-display-buffer-names)
15821         (special-display-regexps, pop-up-frame-alist)
15822         (pop-up-frame-function, split-window-preferred-function)
15823         (split-height-threshold, split-width-threshold)
15824         (even-window-heights): Make obsolete.
15826 2011-06-12  Glenn Morris  <rgm@gnu.org>
15828         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
15829         Misc simplifications.
15831 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
15833         * window.el (window-safely-shrinkable-p): Restore function which
15834         was inadvertently removed in change from 2011-06-11.  Declare as
15835         obsolete.
15837         * calendar/calendar.el (calendar-generate-window):
15838         Use window-iso-combined-p instead of combination of one-window-p and
15839         window-safely-shrinkable-p.
15841 2011-06-12  Glenn Morris  <rgm@gnu.org>
15843         * progmodes/fortran.el (fortran-mode-syntax-table):
15844         * progmodes/f90.el (f90-mode-syntax-table):
15845         Set % to punctuation.  (Bug#8820)
15846         (f90-find-tag-default): Remove, no longer needed.
15848 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
15850         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15852 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
15854         * image.el (image-animated-p): Return animation delay in seconds.
15855         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15856         (image-animate-timeout): Remove DELAY argument.  Don't assume
15857         every subimage has the same delay; get it from image-animated-p.
15858         (image-animate): Caller changed.
15860 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
15862         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15863         to ignored backtrace functions.
15865 2011-06-11  Glenn Morris  <rgm@gnu.org>
15867         * calendar/appt.el (appt-disp-window-function): Doc fix.
15868         (appt-check): Handle overlapping appointments.  (Bug#8337)
15870 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
15872         * window.el (window-tree-1, window-tree): New functions, moving
15873         the latter to window.el.
15874         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15875         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15876         (bw-refresh-edges): Remove.
15877         (balance-windows-1, balance-windows-2): New functions.
15878         (balance-windows): Rewrite in terms of window tree functions,
15879         balance-windows-1 and balance-windows-2.
15880         (bw-adjust-window): Remove.
15881         (balance-windows-area-adjust): New function with functionality of
15882         bw-adjust-window but using resize-window.
15883         (set-window-text-height): Rewrite doc-string.
15884         Use normalize-live-window and resize-window.
15885         (enlarge-window-horizontally, shrink-window-horizontally):
15886         Rename argument to DELTA.
15887         (window-buffer-height): New function.
15888         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15889         Rewrite using new window resize routines.
15890         (kill-buffer-and-window, mouse-autoselect-window-select):
15891         Use ignore-errors instead of condition-case.
15892         (quit-window): Call delete-frame instead of delete-windows-on
15893         for the only buffer on frame.
15895 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
15897         * loadup.el (top-level): Load window before files for the sake
15898         of replace-buffer-in-windows.
15900         * files.el (read-buffer-to-switch)
15901         (switch-to-buffer-other-window)
15902         (switch-to-buffer-other-frame, display-buffer-other-frame):
15903         Move to window.el.
15905         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15906         (previous-buffer): Move to window.el.
15908         * bindings.el (unbury-buffer): Move to window.el.
15910         * window.el (delete-other-windows-vertically): Move after
15911         definition of delete-other-windows.
15912         (other-window, delete-windows-on, replace-buffer-in-windows):
15913         Move here from window.c.
15914         (record-window-buffer, unrecord-window-buffer)
15915         (set-window-buffer-start-and-point, switch-to-prev-buffer)
15916         (switch-to-next-buffer): New functions.
15917         (get-next-valid-buffer, last-buffer, next-buffer): Move here
15918         from simple.el.  Call switch-to-next-buffer.
15919         (previous-buffer): Move here from simple.el.
15920         Call switch-to-prev-buffer.
15921         (bury-buffer): Move here from buffer.c.  Switch to previous
15922         buffer when window cannot be deleted.
15923         (unbury-buffer): Move here from bindings.el.
15924         (ctl-x-map): Move binding for other-window from window.c to
15925         here.
15926         (read-buffer-to-switch, switch-to-buffer-other-window)
15927         (switch-to-buffer-other-frame): Move here from files.el.
15928         (normalize-buffer-to-switch-to): New functions.
15929         (switch-to-buffer): Move here from buffer.c.
15930         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
15932 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
15934         * window.el (window-min-height, window-min-width): Move here
15935         from window.c.  Add defcustoms and rewrite doc-strings.
15936         (resize-mini-window, resize-window): New functions.
15937         (adjust-window-trailing-edge, enlarge-window, shrink-window):
15938         Move here from window.c.
15939         (maximize-window, minimize-window): New functions.
15940         (delete-window, delete-other-windows, split-window): Move here
15941         from window.c.
15942         (window-split-min-size): New function.
15943         (split-window-keep-point): Mention split-window-above-each-other
15944         instead of split-window-vertically.
15945         (split-window-above-each-other, split-window-vertically):
15946         Rename split-window-vertically to split-window-above-each-other
15947         and provide defalias for old definition.
15948         (split-window-side-by-side, split-window-horizontally):
15949         Rename split-window-horizontally to split-window-side-by-side
15950         and provide defalias for the old definition.
15951         (ctl-x-map): Move bindings for delete-window,
15952         delete-other-windows and enlarge-window here from window.c.
15953         Replace bindings for split-window-vertically and
15954         split-window-horizontally by bindings for
15955         split-window-above-each-other and split-window-side-by-side.
15957         * cus-start.el (all): Remove entries for window-min-height and
15958         window-min-width.  Add entries for window-splits and
15959         window-nest.
15961 2011-06-09  Glenn Morris  <rgm@gnu.org>
15963         * calendar/appt.el (appt-mode-line): New function.
15964         (appt-check, appt-disp-window): Use it.
15966         * files.el (hack-one-local-variable-eval-safep):
15967         Allow minor-modes with explicit +/-1 arguments.
15969 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
15971         * term/xterm.el (xterm): Add defgroup.
15972         (xterm-extra-capabilities): Add defcustom to supply known xterm
15973         capabilities, skip querying them, or query them (default).
15974         (terminal-init-xterm): Use it.
15975         (terminal-init-xterm-modify-other-keys): New function to set up
15976         modifyOtherKeys support to simplify `terminal-init-xterm'.
15978 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
15980         * window.el (resize-window-reset, resize-window-reset-1)
15981         (resize-subwindows-skip-p, resize-subwindows-normal)
15982         (resize-subwindows, resize-other-windows, resize-this-window)
15983         (resize-root-window, resize-root-window-vertically)
15984         (window-deletable-p, window-or-subwindow-p)
15985         (frame-root-window-p): New functions.
15987 2011-06-09  Glenn Morris  <rgm@gnu.org>
15989         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15990         (ange-ftp-get-files): Use it.
15992 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
15994         * mail/sendmail.el (mail-recover-1, mail-recover):
15995         * files.el (recover-file, recover-session):
15996         Handle dired-listing-switches not being just a single short option.
15998 2011-06-09  Glenn Morris  <rgm@gnu.org>
16000         * calendar/appt.el (appt-display-message, appt-disp-window):
16001         Handle lists of appointments.
16003 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
16005         * window.el (one-window-p): Move down in code.
16006         Rewrite doc-string.
16007         (window-current-scroll-bars): Rewrite doc-string.
16008         Normalize live window argument.
16009         (walk-windows, get-window-with-predicate, count-windows):
16010         Rewrite doc-string.  Use window-list-1.
16011         (window-in-direction-2, window-in-direction, get-mru-window):
16012         New functions.
16014 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
16016         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16017         Doc fix (Bug#8713).
16019 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
16021         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16023 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
16025         * loadhist.el (unload-feature-special-hooks):
16026         Add `comint-output-filter-functions'.
16028 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
16030         * calendar/appt.el (appt-check): Move some initializations into the let.
16032 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
16034         * window.el (window-height): Defalias to window-total-height.
16035         (window-width): Defalias to window-body-width.
16037 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
16039         * image-mode.el (image-toggle-animation): New command.
16040         (image-mode-map): Bind it to RET.
16041         (image-mode): Update message.
16042         (image-toggle-display-image): Avoid a spurious cache flush.
16043         (image-transform-rotation): Doc fix.
16044         (image-transform-properties): Return quickly in the normal case.
16045         (image-animate-loop): Rename from image-animate-max-time.
16047         * image.el (image-animate-max-time): Move to image-mode.el.
16048         (create-animated-image): Remove unnecessary function.
16049         (image-animate): Rename from image-animate-start.  New arg.
16050         (image-animate-stop): Remove; just use image-animate-timer.
16051         (image-animate-timer): Use car-safe.
16052         (image-animate-timeout): Rename argument.
16054 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
16056         * window.el (get-lru-window, get-largest-window): Move here from
16057         window.c.  Rename first argument to ALL-FRAMES.
16058         Rephrase doc-strings.
16059         (get-buffer-window-list): Rewrite using window-list-1.
16060         Rephrase doc-string.
16061         (window-safe-min-height, window-safe-min-width): New constants.
16062         (window-size-ignore, window-min-size, window-min-size-1)
16063         (window-sizable, window-sizable-p, window-size-fixed-1)
16064         (window-size-fixed-p, window-min-delta-1, window-min-delta)
16065         (window-max-delta-1, window-max-delta, window-resizable)
16066         (window-resizable-p, window-total-height, window-total-width)
16067         (window-body-width): New functions.
16068         (window-full-height-p, window-full-width-p): Rewrite using
16069         window-total-size.
16070         (window-body-height): Rewrite using window-body-size.
16072 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
16074         * window.el (window-right, window-left, window-child)
16075         (window-child-count, window-last-child, window-any-p)
16076         (normalize-live-buffer, normalize-live-frame)
16077         (normalize-any-window, normalize-live-window)
16078         (window-iso-combination-p, window-iso-combined-p)
16079         (window-iso-combinations)
16080         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16081         (windows-with-parameter, window-with-parameter)
16082         (window-atom-root, make-window-atom, window-atom-check-1)
16083         (window-atom-check, window-side-check, window-check):
16084         New functions.
16085         (ignore-window-parameters, window-sides, window-sides-vertical)
16086         (window-sides-slots): New variables.
16087         (window-size-fixed): Move down in code.  Minor doc-string fix.
16089 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
16091         * comint.el (comint-dynamic-complete-as-filename)
16092         (comint-dynamic-complete-filename): Correctly call
16093         completion-in-region.
16095 2011-06-05  Deniz Dogan  <deniz@dogan.se>
16097         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16098         in last change.
16100 2011-06-05  Deniz Dogan  <deniz@dogan.se>
16102         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16103         (rcirc): Use it to prompt for encryption.
16105 2011-06-05  Roland Winkler  <winkler@gnu.org>
16107         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16108         (bibtex-search-entries): New command bound to C-c C-a.
16109         (bibtex-display-entries): New function.
16111 2011-06-05  Roland Winkler  <winkler@gnu.org>
16113         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16114         (bibtex-insert-kill): After yanking insert newline if necessary.
16115         (bibtex-initialize): Call bibtex-string-files-init only once.
16116         (bibtex-mode): Do not call easy-menu-add.
16117         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16118         (bibtex-yank): Set arg properly if nil.
16120 2011-06-05  Roland Winkler  <winkler@gnu.org>
16122         * textmodes/bibtex.el (bibtex-search-entry-globally):
16123         New variable.
16124         (bibtex-search-entry): Use it.
16126 2011-06-05  Roland Winkler  <winkler@gnu.org>
16128         * textmodes/bibtex.el (bibtex-entry-format): New option
16129         sort-fields.
16130         (bibtex-format-entry, bibtex-reformat): Honor this option.
16131         (bibtex-parse-entry): Return fields in proper order.
16133 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
16135         * doc-view.el (doc-view-remove-if): Move computation of result out
16136         of `dolist' to silence misleading lexical-binding warning.
16138 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
16140         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16141         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16143 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
16145         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16146         "SunOS 5.10".
16148 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
16150         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16151         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16152         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16153         (tramp-parse-putty):
16154         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16155         (tramp-completion-function-alist-ssh)
16156         (tramp-completion-function-alist-telnet)
16157         (tramp-completion-function-alist-su)
16158         (tramp-completion-function-alist-putty): Set `tramp-autoload'
16159         cookie.
16161         * net/tramp-ftp.el:
16162         * net/tramp-sh.el:
16163         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16164         load "tramp.el" `tramp-set-completion-function'.
16166 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16168         * shell.el: Require and use pcomplete.
16169         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16170         (shell-completion-vars): Set pcomplete-default-completion-function.
16172 2011-06-04  Deniz Dogan  <deniz@dogan.se>
16174         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16175         `memq' (Bug#8799).
16177 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16179         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16181 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
16183         * bs.el (bs--mark-unmark, bs--nth-wrapper):
16184         * mpc.el (mpc-select-extend, mpc-songpointer-context):
16185         * vc/log-view.el (log-view-beginning-of-defun):
16186         * vc/smerge-mode.el (smerge-apply-resolution-patch)
16187         (smerge-refine-forward, smerge-refine-chopup-region):
16188         Silence warning for unused `dotimes' counter variables.
16190 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16192         * net/tramp.el (tramp-with-progress-reporter): Rename from
16193         with-progress-reporter.  Use `declare'.
16194         * net/tramp-smb.el:
16195         * net/tramp-sh.el:
16196         * net/tramp-gvfs.el: Update all uses.
16198 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
16200         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16201         buffer isn't killed before making it current.
16203 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16205         Silence various byte-compiler warnings.
16206         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16207         `access-type' and new obsolescence format.
16208         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16209         new format.
16210         (byte-compile-check-variable): New `access-type' argument.
16211         Only warn if the access-type is obsolete.
16212         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16213         (byte-compile-variable-set): Adjust callers.
16214         * help-fns.el (describe-variable): Adjust to new obsolescence format.
16215         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16216         setting it as obsolete.
16217         * simple.el (minibuffer-completing-symbol):
16218         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16219         access as obsolete.
16220         * minibuffer.el (minibuffer-completing-file-name): Don't make it
16221         obsolete yet.
16222         * international/quail.el (quail-mouse-choose-completion): Remove unused
16223         code referring to obsolete var.
16224         (quail-choose-completion-string): Remove.
16225         * server.el (server-clients-with, server-kill-buffer-query-function)
16226         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16227         * proced.el (proced-send-signal):
16228         * emacs-lisp/lisp.el (lisp-complete-symbol):
16229         Replace completion-annotate-function with completion-extra-properties.
16231 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16233         * simple.el (goto-line): Use read-number.
16234         (overriding-map-is-bound): Remove.
16235         (saved-overriding-map): Change default.
16236         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16237         Take the map as argument.
16238         (universal-argument, negative-argument, digit-argument): Use it.
16239         (restore-overriding-map): Adjust.
16240         (do-auto-fill): Use fill-forward-paragraph.
16241         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16243         * minibuffer.el (minibuffer-inactive-mode-map): New var.
16244         (minibuffer-inactive-mode): New major mode.
16245         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16246         the *Messages* buffer" hack.
16247         (mouse-popup-menubar): Don't burp if the event is a normal key.
16249         Miscellaneous tweaks.
16250         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16251         lexical scoping as in subr.el's dolist and dotimes.
16252         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16253         Silence compiler warning.
16254         * thingatpt.el (forward-whitespace): Trivial coding style fix.
16255         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16256         * international/ccl.el (ccl-compile): Trivial simplification.
16257         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16258         * emacs-lisp/testcover.el (testcover-end): Remove spurious
16259         `printflag' argument.
16260         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16261         Purecopy the whole obsolescence data.
16263 2011-06-01  Leo Liu  <sdl.web@gmail.com>
16265         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16266         improve doc-string as suggested by Marco Pessotto
16267         <melmothx@gmail.com>.
16268         (rcirc-print): Fix last change.
16270 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16272         * minibuffer.el (complete-with-action): Return nil for the metadata and
16273         boundaries of non-functional tables.
16274         (completion-table-dynamic): Return nil for the metadata.
16275         (completion-table-with-terminator): Add default case, using
16276         complete-with-action.
16277         (completion--metadata): New function.
16278         (completion-all-sorted-completions, minibuffer-completion-help): Use it
16279         to try and avoid pathological performance problems.
16280         (completion--embedded-envvar-table): Return `category' metadata.
16282 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16284         * subr.el (process-alive-p): New tiny convenience function.
16286 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16288         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16289         content but also its previous major mode.
16291 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
16293         * emacs-lisp/debug.el (debug): Restore the previous content of the
16294         *Backtrace* buffer when we exit with C-M-c.
16296 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16298         * minibuffer.el: Add metadata method to completion tables.
16299         (completion-category-overrides): New defcustom.
16300         (completion-metadata, completion--field-metadata)
16301         (completion-metadata-get, completion--styles)
16302         (completion--cycle-threshold): New functions.
16303         (completion-try-completion, completion-all-completions):
16304         Add `metadata' argument to choose completion-styles.
16305         (completion--do-completion): Use metadata to choose cycling.
16306         (completion-all-sorted-completions): Use metadata for sorting.
16307         Remove :completion-cycle-penalty which is not needed any more.
16308         (completion--try-word-completion): Add `metadata' argument.
16309         (minibuffer-completion-help): Check metadata for annotation function
16310         and sorting.
16311         (completion-file-name-table): Return `category' metadata.
16312         (minibuffer-completing-file-name): Make obsolete.
16313         * simple.el (minibuffer-completing-symbol): Make obsolete.
16314         * icomplete.el (icomplete-completions): Pass new `metadata' param to
16315         completion-try-completion.
16317 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16319         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16321 2011-05-30  Leo Liu  <sdl.web@gmail.com>
16323         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16324         (rcirc-print): Decode all incoming messages (bug#8744).
16325         (rcirc-decode-coding-system): Allow value nil for automatic coding
16326         system detection.
16328 2011-06-01  Glenn Morris  <rgm@gnu.org>
16330         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16332 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16334         * image.el (image-animate-max-time): Allow nil and t values.
16335         Default to nil.
16336         (create-animated-image): Doc fix.
16337         (image-animate-start): Remove second arg; just use
16338         image-animate-max-time.
16339         (image-animate-timeout): Doc fix.  Args changed.
16341         * image-mode.el (image-toggle-display-image): Ensure that the
16342         image spec passed to the animate timer is the same object as in
16343         the buffer's display property (Bug#6981).
16344         (image-transform-properties): Doc fix.
16346         * image.el (image-animate-max-time): Default to nil.
16348 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
16350         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16351         entire buffer list (Bug#8184).
16353 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16355         * image.el (imagemagick-types-inhibit)
16356         (imagemagick-register-types): Doc fix.
16358 2011-05-29  Deniz Dogan  <deniz@dogan.se>
16360         * net/rcirc.el (rcirc): Use the user's stored encryption method by
16361         default.
16363 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16365         * select.el: Don't perform clipboard-manager saving in hooks;
16366         leave the hooks empty.
16368 2011-05-28  Leo Liu  <sdl.web@gmail.com>
16370         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16371         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
16372         (occur-edit-mode): New major mode (Bug#8463).
16373         (occur-after-change-function): New function.
16374         (occur-engine): Give Occur tags a read-only property.
16376 2011-05-28  Kevin Ryde  <user42@zip.com.au>
16378         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16380 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16382         * bindings.el (help-echo): Make the initial non-indicator dash
16383         empty on graphical terminals (Bug#7295).
16385         * files.el (auto-mode-alist): Move config rule after the
16386         in-stripping one (Bug#8547).
16388         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16390         * startup.el (normal-splash-screen): Remove gratuitous mode-line
16391         setting (Bug#8740).
16393 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
16395         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16396         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16397         (Bug#8539).
16399 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16401         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16403 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
16405         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16406         (hs-hide-block-at-point, hs-find-block-beginning)
16407         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16408         (Bug#8279).
16410 2011-05-28  Glenn Morris  <rgm@gnu.org>
16412         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
16414 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16416         * help-fns.el (describe-function-1): If the function is a derived
16417         major mode, print the parent mode.
16419         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16420         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16422 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16424         * minibuffer.el (completion--capf-wrapper): Check applicability before
16425         returning non-nil for non-exclusive completion data.
16426         * progmodes/etags.el (tags-completion-at-point-function):
16427         * info-look.el (info-lookup-completions-at-point): Mark as
16428         non-exclusive.
16429         (info-complete): Adjust accordingly.
16431         * info-look.el: Convert to lexical-binding and completion-at-point.
16432         (info-lookup-completions-at-point): New function.
16433         (info-complete): Use it and completion-in-region.
16435 2011-05-28  Drew Adams  <drew.adams@oracle.com>
16437         * isearch.el: Let M-e start with point at the first mismatched char.
16438         (isearch-fail-pos): New function.
16439         (isearch-edit-string): Use it.
16441 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
16443         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16445 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
16447         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
16448         traversal functions for avl-trees.
16449         (avl-tree--stack): New struct.
16450         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16451         (avl-tree-enter): Add optional `updatefun' arg.
16452         (avl-tree--do-enter): Add optional `updatefun' arg.
16453         Change return value.
16454         (avl-tree-delete): Add optional `test' and `nilflag' args.
16455         (avl-tree--do-delete): Add `test' and `nilflag' args.
16456         Change return value.
16457         (avl-tree-member): Add optional `nilflag'
16458         (avl-tree-member-p): New function.
16459         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16460         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16461         (avl-tree-stack-empty-p): New functions.
16463         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16464         avl-tree--del-balance1 and make it work both ways.
16465         (avl-tree--del-balance2): Remove.
16466         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16467         make it work both ways.
16468         (avl-tree--enter-balance2): Remove.
16469         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16470         New macros.
16471         (avl-tree--mapc, avl-tree-map): Add direction argument.
16473 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
16475         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16477 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
16479         * select.el: Support clipboard managers with built-in function
16480         x-clipboard-manager-save, via delete-frame-functions and
16481         kill-emacs-hook.
16482         (xselect-convert-to-targets): Add MULTIPLE target to list.
16483         (xselect-convert-to-save-targets): New function.
16485 2011-05-27  Kenichi Handa  <handa@m17n.org>
16487         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16488         let-binding rfc2047-encode-encoded-words to nil.
16490 2011-05-27  Glenn Morris  <rgm@gnu.org>
16492         * mail/emacsbug.el: Don't require url-util.
16494         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
16496         * files.el (set-auto-mode):
16497         Also respect mode: entries at the end of the file.  (Bug#8586)
16499 2011-05-26  Glenn Morris  <rgm@gnu.org>
16501         * files.el (hack-local-variables-prop-line, hack-local-variables):
16502         Downcase mode names, as seems to be traditional.
16503         (hack-local-variables, hack-local-variables-apply): Doc fixes.
16505         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16506         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
16508 2011-05-25  Julien Danjou  <julien@danjou.info>
16510         * textmodes/rst.el (rst-define-level-faces): Do not define face
16511         symbol if it is already defined.
16513 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16515         * play/5x5.el (5x5-new-game, 5x5-randomize):
16516         Reset 5x5-solver-output to nil when a new grid is cast.
16517         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16518         these debugging traces, as defmacro breaks the compiled code.
16520 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
16522         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16524 2011-05-24  Leo Liu  <sdl.web@gmail.com>
16526         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16527         (vc-bzr-sha1): Adapt.
16529         * sha1.el: Remove.  Function `sha1' is now builtin.
16531         * bindings.el: Provide sha1 feature.
16533 2011-05-24  Kenichi Handa  <handa@m17n.org>
16535         * mail/sendmail.el: Require `rfc2047'.
16536         (mail-insert-from-field): Do not perform RFC2047 encoding.
16537         (mail-encode-header): New function.
16538         (sendmail-send-it): Set buffer-file-coding-system of the work
16539         buffer to the return value of select-message-coding-system.
16540         Call mail-encode-header.
16542         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16544 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
16546         * mail/supercite.el (sc-default-cite-frame):
16547         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16549 2011-05-24  Glenn Morris  <rgm@gnu.org>
16551         * progmodes/python.el (brm-menu): Declare.
16553         * emulation/viper.el (viper-set-hooks): Declare.
16555         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16556         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16557         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16558         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16559         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16560         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16562 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16564         Add an :exit-function for completion-at-point.
16566         * minibuffer.el (completion--done): New fun.
16567         (completion--do-completion): Use it.  New arg `expect-exact'.
16568         (minibuffer-complete, minibuffer-complete-word): Don't output message,
16569         since completion--do-completion does it for us now.
16570         (minibuffer-force-complete): Use completion--done and
16571         completion--replace.  Handle sole-completion case with more care.
16572         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16573         (completion-extra-properties): New var.
16574         (completion-annotate-function): Make obsolete.
16575         (minibuffer-completion-help): Adjust accordingly.
16576         Use completion-list-insert-choice-function.
16577         (completion-at-point, completion-help-at-point):
16578         Bind completion-extra-properties.
16579         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16580         * simple.el (completion-list-insert-choice-function): New var.
16581         (completion-setup-function): Preserve it.
16582         (choose-completion): Pay attention to it, shuffle the code a bit.
16583         (choose-completion-string): New arg `insert-function'.
16585         * textmodes/bibtex.el: Convert to lexical binding.
16586         (bibtex-mode-map): Use completion-at-point.
16587         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16588         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16589         (bibtex-complete): Define as obsolete alias.
16590         (bibtex-complete-internal): Remove.
16591         (bibtex-format-entry): Remove unused sub-group in regexp.
16592         * shell.el (shell--command-completion-data)
16593         (shell-environment-variable-completion):
16594         * pcomplete.el (pcomplete-completions-at-point):
16595         * comint.el (comint--complete-file-name-data): Use :exit-function
16596         instead of completion-table-with-terminator so it also works for
16597         choose-completion.
16599 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16601         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16603         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16604         (bug#8710).
16606         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16608 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
16610         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16611         customization variable and implement: If non-nil, auto-fill will
16612         be inhibited while on topic's header line.
16614 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16616         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
16617         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
16618         always have a solution in grid size = 5 cases.
16619         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16620         (5x5-solver-output, 5x5-log-buffer): New vars.
16621         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16622         Make these variables buffer local to achieve 5x5 multi-session-ness.
16623         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16624         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16625         (5x5-solve-suggest): New funs.
16626         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16627         randomize a grid so that we ensure that there is always a solution.
16628         (5x5-make-random-grid): Allow other movement than flipping.
16630 2011-05-23  Kevin Ryde  <user42@zip.com.au>
16632         * emacs-lisp/advice.el (ad-read-advised-function):
16633         Use `function-called-at-point' as the default, if it has
16634         advice and passes PREDICATE.
16636 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16638         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16639         byte-compile-lambda if it's actually a lambda.
16641         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16642         Fix function quoting.  Use backquote better.
16644 2011-05-22  Yuanle Song  <sylecn@gmail.com>
16646         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16647         matching (Bug#8516).
16649 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
16651         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16652         different face (Bug#8178).
16654 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
16656         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16657         defface (Bug#8144).
16659 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16661         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16662         funcall as well (bug#8712).  Warn when performing those conversions.
16663         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16665         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16667 2011-05-22  Glenn Morris  <rgm@gnu.org>
16669         * files.el (hack-local-variables-prop-line): Small simplifications.
16670         (hack-local-variables, hack-local-variables-prop-line):
16671         If MODE-ONLY, return the mode, rather than just `t'.
16673 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16675         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16677 2011-05-21  Glenn Morris  <rgm@gnu.org>
16679         * files.el (hack-local-variables-prop-line, hack-local-variables):
16680         If only interested in the mode, don't bother doing the other stuff.
16682         * image-mode.el (image-after-revert-hook):
16683         Redraw all frames on which the image is visible.  (Bug#8567)
16685         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
16687         * wid-edit.el (widget-checklist-match-inline):
16688         Fix 2011-04-19 change.  (Bug#8649)
16690 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16692         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16693         Also allow singlespace after single-letter capitals followed by a dot.
16695         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16696         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16698 2011-05-20  Nix  <nix@esperi.org.uk>
16700         * files.el (basic-save-buffer-2):
16701         Fix handling of break-hardlink-on-save with non-existent files.
16703 2011-05-19  Deniz Dogan  <deniz@dogan.se>
16705         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
16706         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
16708 2011-05-19  Glenn Morris  <rgm@gnu.org>
16710         * progmodes/f90.el (f90-type-def-re):
16711         Handle "type, bind(c)".  (Bug#8691)
16713         * emacs-lisp/autoload.el (batch-update-autoloads):
16714         Set autoload-excludes by parsing loadup.el rather than Makefiles.
16716 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
16718         * net/tramp.el (tramp-process-actions): Set "first-password-request"
16719         property for the correct connection in case of multihops.
16721 2011-05-18  Glenn Morris  <rgm@gnu.org>
16723         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
16724         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16726         Rationalize calendar handling of day and month abbrev-arrays.
16727         * calendar/calendar.el (calendar-customized-p): New function.
16728         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16729         (calendar-day-name-array, calendar-month-name-array): Doc fix.
16730         Add :set function.
16731         (calendar-abbrev-length, calendar-day-abbrev-array)
16732         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16733         (calendar-day-abbrev-array, calendar-month-abbrev-array):
16734         Elements may no longer be nil.
16735         (calendar-day-name, calendar-month-name):
16736         Update for changed nature of abbrev arrays.
16737         * calendar/diary-lib.el (diary-name-pattern):
16738         Update for changed nature of abbrev arrays.
16739         (diary-mark-entries-1): Update calendar-make-alist calls.
16740         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16741         * calendar/cal-html.el (cal-html-day-abbrev-array):
16742         Simply inherit from calendar-day-abbrev-array.
16744 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16746         * progmodes/grep.el (grep-mode): Disable default
16747         compilation-directory-matcher setting (bug#8684).
16749 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
16751         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16752         instead of "head" and "tail".  There were problems with SunOS 5.9,
16753         and it performs better.
16755 2011-05-17  Glenn Morris  <rgm@gnu.org>
16757         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16759         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16760         Replace obsolete function.
16762         * shell.el (pcomplete-parse-arguments-function): Declare.
16764         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16765         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16766         (appt-check): Doc fixes.
16767         (appt-disp-window-function, appt-delete-window-function):
16768         Remove needless special case in custom :type.
16769         (appt-display-count): Default to 0, not nil.
16770         (appt-check): Reset appt-display-count to 0, not nil.
16772 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
16774         * progmodes/python.el (python-font-lock-keywords):
16775         Add the Python 3.X keyword "nonlocal" (bug#8639).
16777 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16779         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16781 2011-05-16  Kevin Ryde  <user42@zip.com.au>
16783         * info-look.el (makefile-automake-mode): New setups, looking in
16784         automake manual, then makefile-mode.
16785         (makefile-mode): Remove automake manual, have it just in
16786         makefile-automake-mode since there's various things different or
16787         not relevant to plain make.
16788         (makefile-mode): Remove "other-modes" non-existent automake-mode,
16789         believe a hypothetical automake-mode would go to makefile-mode,
16790         not the other way around.
16792 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
16794         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16795         hunk-end tags (Bug#8672).
16797         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16798         vc-annotate-show-diff-revision-at-line (Bug#8671).
16800 2011-05-14  Glenn Morris  <rgm@gnu.org>
16802         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16803         in the middle of an existing one with multiple authors.  (Bug#8645)
16804         (change-log-font-lock-keywords): Also handle multiple author lines
16805         with leading tabs.  (Bug#8644)
16807         * calendar/appt.el (appt-check): Rename some local variables.
16808         Some simplification/reordering.
16810         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16811         (feedmail-sendmail-f-doesnt-sell-me-out)
16812         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16813         (feedmail-debug-sit-for, feedmail-queue-express-hook)
16814         (feedmail-queue-runner-message-sender): Set :version.
16815         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16816         (bbdb-dwim-net-address, vm-mail): Declare.
16817         (feedmail-binmail-gnulinuxish-template):
16818         Rename from feedmail-binmail-linuxish-template.
16819         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16820         Use insert-buffer-substring.
16822 2011-05-14  Bill Carpenter  <bill@carpenter.org>
16824         * mail/feedmail.el (feedmail-patch-level): Increase.
16825         (feedmail-debug): New custom group.
16826         (feedmail-confirm-outgoing-timeout)
16827         (feedmail-sendmail-f-doesnt-sell-me-out)
16828         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16829         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16830         (feedmail-sender-line, feedmail-from-line)
16831         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
16832         (feedmail-spray-this-address)
16833         (feedmail-spray-address-fiddle-plex-list)
16834         (feedmail-queue-use-send-time-for-date)
16835         (feedmail-queue-use-send-time-for-message-id)
16836         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16837         (feedmail-buffer-eating-function):
16838         Doc fixes.
16839         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16840         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16841         (feedmail-message-action-scroll-down): New functions.
16842         (feedmail-queue-directory, feedmail-queue-draft-directory):
16843         Use expand-file-name.
16844         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16845         Remove C-v help entry.
16846         (feedmail-queue-buffer-file-name): New variable.
16847         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16848         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16849         (feedmail-message-action-send-strong, feedmail-message-action-edit)
16850         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16851         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16852         (feedmail-message-action-toggle-spray)
16853         (feedmail-run-the-queue-no-prompts)
16854         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16855         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16856         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16857         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16858         (feedmail-envelope-deducer, feedmail-fiddle-from)
16859         (feedmail-fiddle-sender, feedmail-default-date-generator)
16860         (feedmail-fiddle-date, feedmail-fiddle-message-id)
16861         (feedmail-fiddle-spray-address)
16862         (feedmail-fiddle-list-of-spray-fiddle-plexes)
16863         (feedmail-fiddle-list-of-fiddle-plexes)
16864         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16865         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16866         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16867         Change default.  Doc fix.
16868         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16869         (feedmail-binmail-linuxish-template): New constant.
16870         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
16871         Respect feedmail-sendmail-f-doesnt-sell-me-out.
16872         (feedmail-send-it): Add debug call.
16873         Use feedmail-queue-buffer-file-name, and
16874         feedmail-send-it-immediately-wrapper.
16875         (feedmail-message-action-send): Add debug call.
16876         Use feedmail-send-it-immediately-wrapper.
16877         (feedmail-queue-express-to-queue): Add debug call.
16878         Run feedmail-queue-express-hook.
16879         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
16880         (feedmail-message-action-help-blat):
16881         Rename from feedmail-queue-send-edit-prompt-help-first.
16882         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
16883         Check line-endings.  Handle errors better.
16884         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16885         Doc fix.  Add debug call.
16886         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
16887         Use feedmail-queue-send-edit-prompt-inner.
16888         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16889         (feedmail-queue-send-edit-prompt-inner): New function, extracted
16890         from feedmail-queue-send-edit-prompt.
16891         (feedmail-queue-send-edit-prompt-help)
16892         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16893         (feedmail-tidy-up-slug): Add debug call.
16894         Respect feedmail-queue-slug-suspect-regexp.
16895         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16896         (feedmail-dump-message-to-queue): Add debug call.
16897         Expand queue-directory.
16898         (feedmail-dump-message-to-queue): Change message slightly.
16899         Use feedmail-say-chatter.
16900         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
16901         (feedmail-send-it-immediately-wrapper): New function.
16902         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
16903         Insert empty string rather than newline.  Handle full-frame case.
16904         Use catch/throw.  Use feedmail-say-chatter.
16905         (feedmail-fiddle-from): Try mail-host-address.
16906         (feedmail-default-message-id-generator): Doc fix.
16907         Bind system-time-locale.  Handle missing end.
16908         (feedmail-fiddle-x-mailer): Add debug call.
16909         Handle feedmail-x-mailer-line being nil.
16910         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16911         Add debug call.  Use buffer-substring-no-properties.
16912         (feedmail-say-debug, feedmail-say-chatter): New functions.
16913         (feedmail-find-eoh): Give an explicit error.
16915 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
16917         * net/newst-treeview.el (newsticker-treeview-face): Change default
16918         family from helvetica to sans.
16919         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
16920         etc/images/newsticker.
16922         * net/newst-reader.el (newsticker-feed-face): Change default
16923         family from helvetica to sans.
16925         * net/newst-plainview.el (newsticker-new-item-face)
16926         (newsticker-old-item-face, newsticker-immortal-item-face)
16927         (newsticker-obsolete-item-face, newsticker-date-face)
16928         (newsticker-statistics-face): Change default family from
16929         helvetica to sans.
16930         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
16931         etc/images/newsticker.
16933         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16934         (newsticker--process-auto-mark-filter-match): Tell user about
16935         auto-marking.
16937 2011-05-13  Didier Verna  <didier@xemacs.org>
16939         Common Lisp indentation improvements on defmethod and lambda-lists.
16940         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16941         TODO entries.
16942         (lisp-lambda-list-keyword-parameter-indentation)
16943         (lisp-lambda-list-keyword-parameter-alignment)
16944         (lisp-lambda-list-keyword-alignment): New customizable user options.
16945         (lisp-indent-defun-method): Improve docstring.
16946         (extended-loop-p): Fix comment.
16947         (lisp-indent-lambda-list-keywords-regexp): New variable.
16948         (lisp-indent-lambda-list): New function.
16949         (lisp-indent-259): Use it.
16950         (lisp-indent-defmethod): Support for more than one
16951         method qualifier and properly indent methods lambda-lists.
16952         (defgeneric): Provide a missing common-lisp-indent-function property.
16954 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16956         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16957         bounds for the empty string (bug#8667).
16959 2011-05-13  Glenn Morris  <rgm@gnu.org>
16961         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16963         * mail/sendmail.el (sendmail-program): Try executable-find first.
16964         (sendmail-send-it): `sendmail-program' cannot be unbound.
16966         * calendar/appt.el (appt-make-list): Simplify.
16967         (appt-time-msg-list): Doc fix.
16968         (appt-check): Change mode-line message at the time of the appointment.
16970 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
16972         * progmodes/ld-script.el (ld-script-keywords)
16973         (ld-script-builtins): Update keywords list.
16975 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16977         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16979         * shell.el (shell-completion-vars): New function.
16980         (shell-mode):
16981         * simple.el (read-shell-command): Use it.
16982         (blink-matching-open): No need for " [...]" in minibuffer-message.
16984 2011-05-12  Glenn Morris  <rgm@gnu.org>
16986         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16987         (appt-check): Simplify.
16989 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
16991         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
16992         literal "/dev/null".
16994 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16996         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16997         Fix typo.
16999 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
17001         * progmodes/which-func.el (which-function):
17002         Use add-log-current-defun instead of add-log-current-defun-function,
17003         which might not be defined (Bug#8260).
17005 2011-05-12  Glenn Morris  <rgm@gnu.org>
17007         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17008         Let byte-compile-initial-macro-environment always take precedence.
17010 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17012         * net/rcirc.el: Add support for SSL/TLS connections.
17013         (rcirc-server-alist): New field `encryption'.
17014         (rcirc): Check `encryption' settings.
17015         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
17016         Merge make-local-variable into `set'.
17017         (rcirc--connection-open-p): New function.
17018         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17019         the process is not a network process (e.g. running gnutls-cli).
17020         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17021         Make rcirc-(en|de)code-coding-system local here.
17022         (rcirc-mode): Merge make-local-variable into `set'.
17023         (rcirc-parent-buffer): Make permanent buffer-local.
17024         (rcirc-multiline-minor-mode): Don't do it here.
17025         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17026         there's no server buffer.
17028 2011-05-11  Glenn Morris  <rgm@gnu.org>
17030         * newcomment.el (comment-kill): Prefix "unused" local.
17032         * term/w32console.el (get-screen-color): Declare.
17034         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17035         Handle symbol elements of byte-compile-initial-macro-environment.
17037 2011-05-10  Leo Liu  <sdl.web@gmail.com>
17039         * bookmark.el (bookmark-bmenu-mode-map):
17040         Bind bookmark-bmenu-search to `/'.
17042         * mail/footnote.el: Convert to utf-8 encoding.
17043         (footnote-unicode-string, footnote-unicode-regexp): New variable.
17044         (Footnote-unicode): New function.
17045         (footnote-style-alist): Add unicode style to the list.
17046         (footnote-style): Doc fix.
17048 2011-05-10  Jim Meyering  <meyering@redhat.com>
17050         Fix doubled-word typos.
17051         * international/quail.el (quail-insert-kbd-layout): and and -> and
17052         * kermit.el: and and -> and
17053         * net/ldap.el (ldap-search-internal): to to -> to
17054         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17055         * progmodes/js.el (js-mode): and and -> and
17056         * textmodes/artist.el (artist-move-to-xy): at at -> at
17057         (artist-draw-region-trim-line-endings): if if -> if
17058         And Safetyc -> Safety.
17059         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17061 2011-05-10  Glenn Morris  <rgm@gnu.org>
17062             Stefan Monnier  <monnier@iro.umontreal.ca>
17064         * files.el (hack-one-local-variable-eval-safep):
17065         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
17067 2011-05-10  Glenn Morris  <rgm@gnu.org>
17069         * calendar/diary-lib.el (diary-list-entries-hook)
17070         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17071         (diary-nongregorian-marking-hook, diary-list-entries)
17072         (diary-include-other-diary-files, diary-mark-entries)
17073         (diary-mark-included-diary-files): Doc fixes.
17075 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
17077         * misc.el: Require tabulated-list.el during compilation.
17079 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
17081         * progmodes/compile.el (compilation-start):
17082         Run compilation-filter-hook for the async case too.
17083         (compilation-filter-hook): Doc fix.
17085 2011-05-09  Deniz Dogan  <deniz@dogan.se>
17087         * wdired.el: Remove outdated installation comment.  Fix usage
17088         comment.
17090 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
17092         * misc.el: Implement new command `list-dynamic-libraries'.
17093         (list-dynamic-libraries--loaded-only-p): New variable.
17094         (list-dynamic-libraries--refresh): New function.
17095         (list-dynamic-libraries): New command.
17097 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
17099         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17100         Fix the ant regexp to handle end-line and end-column info from jikes.
17101         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
17102         higher priority to avoid clobbering by gnu.
17104 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
17106         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17107         if the face has existing theme settings (Bug#8454).
17109 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
17111         * progmodes/perl-mode.el (perl-imenu-generic-expression):
17112         Only match variables declared via `my' or `our' (Bug#8261).
17114         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17115         special file names `.' and `..' (Bug#8259).
17117 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
17119         * progmodes/grep.el (grep-mode-font-lock-keywords):
17120         Remove buffer-changing entries.
17121         (grep-filter): New function.
17122         (grep-mode): Add it to compilation-filter-hook.
17124         * progmodes/compile.el (compilation-filter-hook)
17125         (compilation-filter-start): New defvars.
17126         (compilation-filter): Call compilation-filter-hook prior to
17127         updating the process mark.
17129 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17131         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17133 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
17135         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17136         mailclient-send-it even if window-system is nil.  (Bug#8595)
17138         * term/w32console.el (terminal-init-w32console):
17139         Call get-screen-color and use its output to set the frame
17140         background-mode.  (Bug#8597)
17142 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17144         Make bytecomp.el understand that defmethod defines funs (bug#8631).
17145         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17146         New functions.
17147         (defgeneric, eieio--defmethod): Use them.
17148         (eieio-defgeneric): Remove.
17149         (defmethod): Call defgeneric in a way visible to the byte-compiler.
17151 2011-05-07  Glenn Morris  <rgm@gnu.org>
17153         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17154         Use let rather than let*.
17155         (timeclock-find-discrep): Remove unused local.
17157         * calendar/diary-lib.el (diary-comment-start): Doc fix.
17159         * calendar/appt.el (appt-time-msg-list): Doc fix.
17161 2011-05-06  Noah Friedman  <friedman@splode.com>
17163         * apropos.el (apropos-print-doc): Only use
17164         emacs-lisp-docstring-fill-column when it is bound to an integer,
17165         per that variable's documentation.
17167 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17169         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17170         and warnings are not silently discarded (e.g. use -d instead of -P).
17172 2011-05-06  Glenn Morris  <rgm@gnu.org>
17174         * calendar/appt.el (appt-message-warning-time): Doc fix.
17175         (appt-warning-time-regexp): New option.
17176         (appt-make-list): Respect appt-message-warning-time.
17178         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17179         New options.
17180         (diary-add-to-list): Strip comments from the displayed string.
17181         (diary-mode): Set comment-start and comment-end.
17183         * vc/diff-mode.el (smerge-refine-subst): Declare.
17184         (diff-refine-hunk): Don't require smerge-mode when compiling.
17186 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
17188         * simple.el (list-processes): Return nil as the docstring says.
17190 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
17192         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17193         to "".
17194         (ange-ftp-write-region, ange-ftp-insert-file-contents)
17195         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17196         determining of binary transfer.  (Bug#7383)
17198 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
17200         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17201         Fix port computation bug.  (Bug#8618)
17203 2011-05-05  Glenn Morris  <rgm@gnu.org>
17205         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17207         * simple.el (shell-dynamic-complete-functions)
17208         (comint-dynamic-complete-functions): Declare.
17210         * net/network-stream.el (gnutls-negotiate):
17211         * simple.el (tabulated-list-print): Fix declarations.
17213         * progmodes/gud.el (syntax-symbol, syntax-point):
17214         Remove unnecessary and incorrect declarations.
17216         * emacs-lisp/check-declare.el (check-declare-scan):
17217         Handle byte-compile-initial-macro-environment in bytecomp.el
17219 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17221         Fix earlier half-done eieio-defmethod change (bug#8338).
17222         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17223         Streamline and change calling convention.
17224         (defmethod): Adjust accordingly and simplify.
17225         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17226         new eieio--defmethod.
17227         (slot-boundp): Minor CSE simplification.
17229 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
17231         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17232         (glasses-make-readable): Use glasses-separate-capital-groups.
17234 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
17236         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17237         (warning-series): Doc fix.
17238         (display-warning): Don't try to create the buffer if we just found it.
17240 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
17242         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17243         (autoload-find-generated-file): New function.
17244         (generate-file-autoloads): Bind generated-autoload-file to
17245         buffer-file-name.
17246         (update-file-autoloads, update-directory-autoloads):
17247         Use autoload-find-generated-file.  If called interactively, prompt for
17248         output file (Bug#7989).
17249         (batch-update-autoloads): Doc fix.
17251 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
17253         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17255 2011-05-04  Glenn Morris  <rgm@gnu.org>
17257         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17258         function, so it follows changes in calendar-date-style.
17259         (diary-fancy-date-matcher): New function.
17260         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17261         (diary-fancy-font-lock-fontify-region-function):
17262         Use diary-fancy-date-pattern as a function.
17264         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17265         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
17267 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
17269         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17270         instead of positional arguments.  Allow :keylist and :crlfiles
17271         arguments.
17272         (open-gnutls-stream): Call it.
17274         * net/network-stream.el (network-stream-open-starttls): Adjust to
17275         call `gnutls-negotiate' with :process and :hostname arguments.
17277 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17279         * minibuffer.el (completion--message): New function.
17280         (completion--do-completion, minibuffer-complete)
17281         (minibuffer-force-complete, minibuffer-complete-word): Use it.
17282         (completion--do-completion): Don't ignore completion-auto-help when in
17283         icomplete-mode.
17285         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17286         internal encoding (e.g. tibetan zero is not whitespace).
17287         (global-whitespace-mode): Prefer save-current-buffer.
17288         (whitespace-trailing-regexp): Remove useless save-match-data.
17289         (whitespace-empty-at-bob-regexp): Minor simplification.
17291 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
17293         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17295 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
17297         * textmodes/ispell.el (ispell-add-per-file-word-list):
17298         Use `concat' to create string for insertion.
17300 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17302         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17303         Avoid open-line which runs post-self-insert-hook.
17304         (bibtex-fill-entry): Remove unused `end' var.
17306 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
17308         * textmodes/ispell.el (ispell-add-per-file-word-list):
17309         Protect against `nil' value of `comment-start' (Bug#8579).
17311 2011-05-03  Leo Liu  <sdl.web@gmail.com>
17313         * isearch.el (isearch-yank-pop): New command.
17314         (isearch-mode-map): Bind it to `M-y'.
17315         (isearch-forward): Mention it.
17317 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17319         * simple.el (minibuffer-complete-shell-command): Remove.
17320         (minibuffer-local-shell-command-map): Use completion-at-point.
17321         (read-shell-command): Setup completion vars here instead.
17322         (read-expression-map): Bind TAB to symbol completion.
17324         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17325         error directly rather via storing it into `results'.
17327 2011-05-02  Leo Liu  <sdl.web@gmail.com>
17329         * vc/diff.el: Fix description.
17331 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17333         * server.el (server-eval-at): New function.
17335 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17337         * net/network-stream.el (open-network-stream): Take a :nowait
17338         parameter and pass it on to `make-network-process'.
17339         (network-stream-open-plain): Ditto.
17341 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
17343         * faces.el (face-spec-set-match-display): Don't match toolkit
17344         options on terminal frames.
17346 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17348         * progmodes/pascal.el: Use lexical binding.
17349         (pascal-mode-map): Remove author preferences.
17351         * pcomplete.el (pcomplete-std-complete): Don't abuse
17352         completion-at-point.
17354 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
17356         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17357         removing code that has been dead since 1991 or so.
17359         * startup.el (command-line): When warning about "_emacs", use a
17360         delayed warning to allow the user to filter it out.
17362 2011-04-28  Deniz Dogan  <deniz@dogan.se>
17364         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17365         user has not joined.
17367 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17369         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17370         aren't any completions at point.
17372 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
17374         * subr.el (display-delayed-warnings): New function.
17375         (delayed-warnings-hook): New variable.
17377 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17379         * minibuffer.el (completion-at-point, completion-help-at-point):
17380         Don't presume that a given completion-at-point-function will always
17381         use the same calling convention.
17383         * pcomplete.el (pcomplete-completions-at-point):
17384         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
17385         pcomplete-seen is non-nil.
17386         (pcomplete-comint-setup): Also recognize the new comint/shell
17387         completion functions.
17388         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17389         pcomplete-seen is non-nil.
17391 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
17393         * calendar/icalendar.el (diary-lib): Add require statement.
17394         (icalendar--create-uid): Read out a uid from a text-property on
17395         the first character in the entry.  This allows for code to add its
17396         own uid to the entry.
17397         (icalendar--convert-float-to-ical): Add export of
17398         `diary-float'-entries save for those with the optional DAY
17399         argument.
17401 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
17403         * subr.el (shell-quote-argument): Use alternate escaping strategy
17404         when we spot a variable reference in a string.
17406 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
17408         * cus-start.el (all): Define customization for debug-on-event.
17410 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
17412         * subr.el (shell-quote-argument): Escape correctly under Windows.
17414 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17416         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17418 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
17420         * net/tramp.el (tramp-process-actions): Add POS argument.
17421         Delete region between POS and (pos).
17423         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17424         Use `nil' position in `tramp-process-actions' call.
17425         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17427         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17428         position in `tramp-process-actions' call.
17430         * net/trampver.el: Update release number.
17432 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17434         * custom.el (defcustom): Obey lexical-binding.
17436         Fix octave-inf completion problems reported by Alexander Klimov.
17437         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17438         Inherit from octave-mode-syntax-table.
17439         (inferior-octave-mode): Set info-lookup-mode.
17440         (inferior-octave-completion-at-point): New function.
17441         (inferior-octave-complete): Use it and completion-in-region.
17442         (inferior-octave-dynamic-complete-functions): Use it as well, and use
17443         comint-filename-completion.
17444         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17445         symbol elements which shouldn't be word elements.
17446         (octave-font-lock-keywords, octave-beginning-of-defun)
17447         (octave-function-header-regexp): Adjust regexps accordingly.
17448         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17450 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
17452         * net/gnutls.el (gnutls-errorp): Declare before first use.
17454 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
17456         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17457         verify-error, and verify-hostname-error parameters.  Check whether
17458         default trustfile exists before going to use it.  Add missing
17459         argument to gnutls-message-maybe call.  Return value.
17460         Reported by Claudio Bley <claudio.bley@gmail.com>.
17461         (open-gnutls-stream): Add usage example.
17463         * net/network-stream.el (network-stream-open-starttls): Give host
17464         parameter to `gnutls-negotiate'.
17465         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17466         * subr.el (shell-quote-argument): Escape correctly under Windows.
17468 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
17470         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17471         Use correct match group (bug#8438).
17473 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
17475         * emacs-lisp/package.el (package-built-in-p): Fix typo.
17476         (package-menu--generate): New arg specifying packages to show.
17477         (package-menu-refresh, package-menu-execute, list-packages):
17478         Callers changed.
17479         (package-show-package-list): New function, replacing deleted
17480         package--list-packages (renamed because it is non-internal).
17482         * finder.el (finder-list-matches): Use package-show-package-list
17483         instead of deleted package--list-packages.
17485         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17486         Based on a previous implementation by Juanma Barranquero (Bug#8366).
17487         (vc-annotate-mode-map): Bind it to RET.
17489 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
17491         * progmodes/etags.el (next-file): Don't use set-buffer to change
17492         buffers (Bug#8478).
17494 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
17496         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17498         * apropos.el (apropos-label-face): Avoid variable-pitch face.
17499         (apropos-accumulator): Doc fix.
17500         (apropos-function, apropos-macro, apropos-command)
17501         (apropos-variable, apropos-face, apropos-group, apropos-widget)
17502         (apropos-plist): Add face property.
17503         (apropos-symbols-internal): Fix indentation.
17504         (apropos-print): Simplify help, and recognize apropos-multi-type.
17505         (apropos-print-doc): Use button-type-get to extract the button's
17506         face property.  Fill docstring (Bug#8352).
17508 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
17510         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17512         * play/mpuz.el (mpuz-silent): Doc fix.
17513         (mpuz-mode-map): Use mapc.
17514         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17515         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17516         Fix typos in docstrings.
17518         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17519         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17521         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17523 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
17525         * minibuffer.el (completion--do-completion): Avoid the "Next char
17526         not unique" prompt if icomplete-mode is enabled (Bug#5849).
17528         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17529         mouse-2 into unread-command-events, it is interpreted correctly.
17531         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17532         (image-toggle-display): Doc fix.
17534 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
17536         * textmodes/page.el (what-page): Use line-number-at-pos to
17537         calculate line number (Bug#6825).
17539 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
17541         * eshell/esh-mode.el (find-tag-interactive): Declare function.
17542         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17543         Pass argument NO-DEFAULT to `find-tag-interactive'.
17545 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
17547         Lexical-binding cleanup.
17549         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17550         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17551         * progmodes/ada-prj.el (ada-prj-initialize-values)
17552         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17553         (ada-prj-show-value):
17554         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17555         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17556         (antlr-invalidate-context-cache, antlr-options-menu-filter)
17557         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17558         * progmodes/bug-reference.el (bug-reference-push-button):
17559         * progmodes/fortran.el (fortran-line-length):
17560         * progmodes/glasses.el (glasses-change):
17561         * progmodes/octave-mod.el (octave-fill-paragraph):
17562         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17563         (python-pdbtrack-grub-for-buffer, python-sentinel):
17564         * progmodes/sql.el (sql-save-connection):
17565         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17566         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17567         Mark unused parameters.
17569         * progmodes/compile.el (compilation--flush-directory-cache)
17570         (compilation--flush-parse, compile-internal): Mark unused parameters.
17571         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17572         (compilation-next-error-function): Remove unused variable `timestamp'.
17574         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17575         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17577         * progmodes/dcl-mode.el (dcl-end-of-command):
17578         Remove unused variable `start'.
17579         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17580         (dcl-option-value-basic, dcl-option-value-offset)
17581         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17582         Mark unused parameters.
17583         (dcl-save-local-variable): Remove unused variable `val'.
17584         (mode): Declare.
17586         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17587         Mark unused parameters.
17588         (delphi-ignore-changes): Move before first use.
17589         (delphi-charset-token-at): Remove unused variable `start'.
17590         (delphi-else-start): Remove unused variable `if-count'.
17591         (delphi-comment-block-start, delphi-comment-block-end):
17592         Remove unused variable `kind'.
17593         (delphi-indent-line): Remove unused variable `new-point'.
17595         * progmodes/ebrowse.el (ebrowse-files-list)
17596         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17597         Mark unused parameters.  Don't quote `lambda'.
17598         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17599         Don't quote `lambda'.
17600         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17601         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17602         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17603         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17604         Use `ignore-errors'.
17605         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17606         (ebrowse-view/find-file-and-search-pattern)
17607         (ebrowse-view/find-member-declaration/definition):
17608         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17609         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17610         Rename parameter PREFIX-ARG to PREFIX.
17611         (ebrowse-tags-read-name): Remove unused variables `start' and
17612         `member-info'.
17613         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17614         to `tags-file'.
17616         * progmodes/etags.el (local-find-tag-hook): Declare.
17617         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17618         Mark unused parameters.
17620         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17621         (executable-interpret): Mark unused parameter.
17623         * progmodes/flymake.el (flymake-process-sentinel)
17624         (flymake-after-change-function)
17625         (flymake-create-temp-with-folder-structure)
17626         (flymake-get-include-dirs-dot): Mark unused parameters.
17627         (flymake-safe-delete-directory): Remove unused variable `err'.
17629         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17630         (speedbar-timer-fn, speedbar-line-text)
17631         (speedbar-change-expand-button-char, speedbar-delete-subblock)
17632         (speedbar-center-buffer-smartly): Declare functions.
17633         (gdb-find-watch-expression): Remove unused variable `array'.
17634         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17635         (gdb-starting): Mark unused parameters.
17636         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17637         (gdb-table-string): Remove unused variable `res'.
17638         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17639         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17640         (gdb-display-buffer): Remove unused variable `cur-size'.
17642         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17643         allow lexical-binding compilation.
17644         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17645         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17646         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17647         Mark unused parameters.
17648         (gud-gdb-marker-filter): Remove unused variable `match'.
17649         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17650         lambda expressions and funcall them, instead of using `fset'.
17652         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17653         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17655         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17656         variable `header-beg'; use `let'.
17658         * progmodes/icon.el (indent-icon-exp): Remove unused variables
17659         `restart', `last-sexp' and `at-do'.
17661         * progmodes/js.el (js--debug): Mark unused parameter.
17662         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17663         (js--splice-into-items): Remove unused variable `item'.
17664         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17666         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17667         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17668         (makefile-complete): Remove unused variable `try'.
17669         (makefile-fill-paragraph, makefile-match-function-end):
17670         Mark unused parameters.
17672         * progmodes/octave-inf.el (inferior-octave-complete):
17673         Remove unused variable `proc'.
17674         (inferior-octave-output-digest): Mark unused parameter.
17676         * progmodes/perl-mode.el (perl-calculate-indent):
17677         Remove unused variable `err'.
17679         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17680         (prolog-indent-line): Mark unused parameters.
17681         (prolog-indent-line): Remove unused variable `beg'.
17683         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17684         (reporter-dont-compact-list): Declare.
17686         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17687         Remove unused variable `char'.
17688         (sh-debug): Mark unused parameter.
17689         (sh-get-indent-info): Remove unused variable `start'.
17690         (sh-calculate-indent): Remove unused variable `var'.
17692         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17693         (simula-electric-keyword): Remove unused variable `null'.
17694         (simula-search-backward, simula-search-forward): Remove unused
17695         variables `begin' and `end'.
17697         * progmodes/vera-mode.el (vera-guess-basic-syntax):
17698         Remove unused variable `pos'.
17699         (vera-electric-tab, vera-comment-uncomment-region):
17700         Mark unused parameters.
17701         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17703 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
17705         * emacs-lisp/package.el (package--builtins, package-alist)
17706         (package-load-descriptor, package-built-in-p, package-activate)
17707         (define-package, package-installed-p)
17708         (package-compute-transaction, package-buffer-info)
17709         (package--push): Doc fix.  Distinguish more clearly between
17710         version strings and version lists.
17712 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
17714         Lexical-binding cleanup.
17716         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17717         (5x5-make-mutate-best):
17718         * play/fortune.el (fortune-in-buffer):
17719         * play/gomoku.el (gomoku-init-display):
17720         * play/solitaire.el (solitaire, solitaire-do-check):
17721         * play/tetris.el (tetris-default-update-speed-function):
17722         Mark unused parameters.
17724         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17725         (bubbles--shift): Remove unused variable `char-org'.
17726         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
17727         (bubbles--show-images): Remove unused variable `char'.
17729         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17730         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17731         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17732         (decipher-analyze-buffer): Use ?\s.
17733         (decipher-make-checkpoint): Remove unused variable `mapping'.
17735         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17737         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17738         Remove unused variable `result'; use `let'.
17740         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17741         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17742         (gametree-children-shown-p, gametree-compute-reduced-score):
17743         Use `ignore-errors'.
17745         * play/handwrite.el (ps-lpr-switches): Declare.
17746         (handwrite): Remove unused variables `pmin' and `lastp'.
17748         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17750         * play/landmark.el (landmark-init-display)
17751         (landmark-update-naught-weights): Mark unused parameters.
17752         (landmark-y): Remove unused variable `noise'.  Simplify.
17753         (landmark-human-plays): Remove unused variable `score'.
17755         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17756         (mpuz-try-proposal): Remove unused variable `game'.
17758         * play/zone.el (life-patterns): Declare.
17760 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
17762         * vc/vc.el (ediff-vc-internal): Declare function.
17764 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17766         * shell.el: Use lexical-binding and std completion UI.
17767         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17768         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17769         comint-preoutput-filter-functions rather than on
17770         comint-output-filter-functions.
17771         (shell-command-completion, shell--command-completion-data)
17772         (shell-filename-completion, shell-environment-variable-completion)
17773         (shell-c-a-p-replace-by-expanded-directory): New functions.
17774         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17775         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17776         (shell-dynamic-complete-environment-variable): Use them.
17777         (shell-dynamic-complete-as-environment-variable)
17778         (shell-dynamic-complete-as-command): Remove.
17779         (shell-match-partial-variable): Match past point.
17780         * comint.el: Clean up use of completion-at-point-functions.
17781         (comint-completion-at-point): New function.
17782         (comint-mode): Use it completion-at-point-functions.
17783         (comint-dynamic-complete): Make it obsolete.
17784         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17785         (comint-c-a-p-replace-by-expanded-history): New function.
17786         (comint-dynamic-complete-functions)
17787         (comint-replace-by-expanded-history): Use it.
17788         * minibuffer.el (completion-table-with-terminator): Allow dynamic
17789         termination strings.  Try harder to avoid second try-completion.
17790         (completion-in-region-mode-map): Disable bindings that don't work yet.
17792         * comint.el: Use lexical-binding.  Require CL.
17793         (comint-dynamic-complete-functions): Use comint-filename-completion.
17794         (comint-completion-addsuffix): Tweak custom type.
17795         (comint-filename-completion, comint--common-suffix)
17796         (comint--common-quoted-suffix, comint--table-subvert)
17797         (comint--complete-file-name-data): New functions.
17798         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17799         (comint-dynamic-list-filename-completions): Use them.
17800         (comint-dynamic-simple-complete): Make obsolete.
17802         * minibuffer.el (completion-in-region-mode):
17803         Keep completion-in-region-mode--predicate global.
17804         (completion-in-region--postch):
17805         Assume completion-in-region-mode--predicate is not null.
17807         * progmodes/flymake.el (flymake-start-syntax-check-process):
17808         Obey `dir'.  Simplify.
17810         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17811         we're in VC after all.
17813 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
17815         * vc/vc.el (vc-diff-build-argument-list-internal)
17816         (vc-version-ediff, vc-ediff): New commands.
17817         (vc-version-diff): Use vc-diff-build-argument-list-internal.
17819 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17821         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17822         add sanity check.
17824         * obsolete/erc-hecomplete.el: Make obsolete.
17825         * obsolete/: Standardize obsolescence info in the header.
17827 2011-04-20  Glenn Morris  <rgm@gnu.org>
17829         * calendar/solar.el (solar-horizontal-coordinates):
17830         Use the longitude argument rather than `calendar-longitude'.
17831         (solar-date-next-longitude): Remove unused locals.
17833 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17835         * whitespace.el: New version 13.2.1.
17837 2011-04-20  felix  <EmacsWiki>  (tiny change)
17839         * whitespace.el (global-whitespace-mode): Keep highlight when
17840         switching between major modes on a file.
17842 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17844         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17845         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17846         multi-line comments as well.
17848 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
17850         Lexical-binding cleanup.
17852         * arc-mode.el (archive-mode-revert):
17853         * cmuscheme.el (scheme-interactively-start-process):
17854         * custom.el (custom-initialize-delay):
17855         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17856         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17857         * emacs-lock.el (emacs-lock-clear-sentinel):
17858         * ezimage.el (defezimage):
17859         * follow.el (follow-avoid-tail-recenter):
17860         * fringe.el (set-fringe-mode-1):
17861         * generic-x.el (bat-generic-mode-compile):
17862         * help-mode.el (help-info-variable, help-do-xref)
17863         (help-mode-revert-buffer):
17864         * help.el (view-emacs-todo):
17865         * iswitchb.el (iswitchb-completion-help):
17866         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17867         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17868         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17869         * locate.el (locate-update):
17870         * longlines.el (longlines-encode-region)
17871         (longlines-after-change-function):
17872         * outline.el (outline-isearch-open-invisible):
17873         * ps-def.el (declare-function, charset-dimension, char-width)
17874         (encode-char):
17875         * ps-mule.el (ps-mule-plot-string):
17876         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17877         (recentf-edit-list-select, recentf-edit-list-validate)
17878         (recentf-open-files-action):
17879         * rect.el (delete-whitespace-rectangle-line)
17880         (rectangle-number-line-callback):
17881         * register.el (window-configuration-to-register)
17882         (frame-configuration-to-register):
17883         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17884         * select.el (xselect-convert-to-string, xselect-convert-to-length)
17885         (xselect-convert-to-targets, xselect-convert-to-delete)
17886         (xselect-convert-to-filename, xselect-convert-to-charpos)
17887         (xselect-convert-to-lineno, xselect-convert-to-colno)
17888         (xselect-convert-to-os, xselect-convert-to-host)
17889         (xselect-convert-to-user, xselect-convert-to-class)
17890         (xselect-convert-to-name, xselect-convert-to-integer)
17891         (xselect-convert-to-atom, xselect-convert-to-identity):
17892         * subr.el (declare, ignore, process-kill-without-query)
17893         (text-clone-maintain):
17894         * terminal.el (te-get-char, te-tic-sentinel):
17895         * tool-bar.el (tool-bar-make-keymap):
17896         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17897         * type-break.el (type-break-mode, type-break-noninteractive-query):
17898         * view.el (View-back-to-mark):
17899         * wid-browse.el (widget-browse-action, widget-browse-widget)
17900         (widget-browse-widgets, widget-browse-sexp):
17901         * widget.el (define-widget-keywords):
17902         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17903         Mark unused parameters.
17905         * align.el (align-adjust-col-for-rule): Mark unused parameter.
17906         (align-areas): Remove unused variable `look'.
17907         (align-region): Remove unused variables `real-end' and `pos-list'.
17909         * apropos.el (apropos-score-doc): Remove unused variable `i'.
17911         * bindings.el (mode-line-modified, mode-line-remote):
17912         Mark unused parameters.
17913         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17915         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17916         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17918         * comint.el (comint-history-isearch-pop-state)
17919         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17920         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17921         (comint-substitute-in-file-name): Doc fix.
17923         * completion.el (cmpl-statistics-block): Mark unused parameter.
17924         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17925         (save-completions-to-file, load-completions-from-file):
17926         Remove unused local variable `e'.
17928         * composite.el (compose-chars): Remove unused variable `len'.
17929         (lgstring-insert-glyph): Remove unused variable `g'.
17930         (compose-glyph-string): Remove unused variables `ascent',
17931         `descent', `lbearing' and `rbearing'.
17932         (compose-glyph-string-relative): Remove unused variables
17933         `lbearing', `rbearing' and `wadjust'.
17934         (compose-gstring-for-graphic): Remove unused variables `header',
17935         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
17936         (compose-gstring-for-terminal): Remove unused variables `header'
17937         and `nchars'.  Use `let', not `let*'.
17939         * cus-edit.el (Custom-set, Custom-save, custom-reset)
17940         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17941         (Custom-buffer-done, custom-buffer-create-internal)
17942         (custom-browse-visibility-action, custom-browse-group-tag-action)
17943         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17944         (widget-magic-mouse-down-action, custom-toggle-parent)
17945         (custom-add-parent-links, custom-toggle-hide-variable)
17946         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17947         (custom-toggle-hide-face, face, hook, custom-group-link-action)
17948         (custom-face-menu-create, custom-variable-menu-create, get)
17949         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17950         (custom-reset-standard-save-and-update): Remove unused variable `value'.
17951         (customize-apropos): Remove unused variable `tests'.
17952         (custom-group-value-create): Remove unused variable `hidden-p'.
17953         (sort-fold-case): Declare.
17955         * cus-theme.el (custom-reset-standard-faces-list)
17956         (custom-reset-standard-variables-list): Declare.
17957         (customize-create-theme, custom-theme-revert, custom-theme-write)
17958         (custom-theme-choose-mode, customize-themes, custom-theme-save):
17959         Mark unused parameters.
17961         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17963         * delim-col.el (delimit-columns-max): Move defvar before first use.
17965         * descr-text.el (describe-char-categories): Don't quote `lambda'.
17966         (describe-char): Don't quote `lambda'.  Mark unused parameter.
17968         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17969         (auto-insert): Declare.
17970         (desktop-restore-file-buffer): Rename desktop-* parameters;
17971         mark unused ones.
17972         (desktop-create-buffer): Rename desktop-* parameters and bind them.
17973         (desktop-buffer): Rename desktop-* parameters.
17975         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17976         (dframe-reposition-frame-xemacs, dframe-help-echo)
17977         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17978         Mark unused parameters.
17980         * dired-aux.el (backup-extract-version-start, overwrite-query)
17981         (overwrite-backup-query, rename-regexp-query)
17982         (rename-non-directory-query): Declare.
17983         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17984         (dired-add-entry): Remove unused variable `orig-file-name'.
17985         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17986         Use parameter PRESERVE-TIME instead of accessing dynamic variable
17987         `dired-copy-preserve-time' directly.
17988         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17989         (dired-insert-subdir-newpos): Rename unused variable `pos'.
17991         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17992         (dired-virtual-revert, dired-make-relative-symlink):
17993         Mark unused parameters.
17994         (manual-program): Declare.
17995         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17996         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17997         wrapped in `with-no-warnings' to avoid replacing one warning by another.
17999         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18001         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18003         * echistory.el (electric-history-in-progress, Helper-return-blurb):
18004         Declare.
18006         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18008         * electric.el (Electric-command-loop): Rename parameter
18009         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18011         * expand.el (expand-in-literal): Remove unused variable `here'.
18013         * facemenu.el (facemenu-add-new-color):
18014         Remove unused variable `docstring'.
18016         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18017         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18018         (face-attr-construct): Mark unused parameter.  Doc fix.
18019         (read-color): Remove unused variable `hex-string'.
18021         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18022         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18023         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18024         (display-buffer-other-frame): Remove unused variable `old-window'.
18025         (kill-buffer-hook): Declare.
18026         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18027         Mark unused parameters.
18028         (after-find-file): Pass 1 to `auto-save-mode', not t.
18030         * files-x.el (auto-insert): Declare.
18031         (modify-file-local-variable-prop-line): Remove unused variable `val'.
18033         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18034         variable `buf'.  Mark unused parameter.
18035         (find-lisp-insert-directory): Mark unused parameter.
18037         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18038         (format-encode-region): Remove unused variables `cur-buf' and `result'.
18039         (format-common-tail): Remove, unused.
18040         (format-deannotate-region): Remove unused variable `loc'.
18041         (format-annotate-region): Remove unused variable `p'.
18042         (format-annotate-single-property-change): Remove unused variables
18043         `default' and `tail'.
18045         * forms.el (read-file-filter): Declare.
18046         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18048         * frame.el (frame-creation-function-alist): Mark unused parameter.
18049         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18051         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18052         Remove unused parameters.
18053         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18054         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18056         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18057         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18058         (hfy-prepare-tag-map): Mark unused parameters.
18059         (htmlfontify-buffer): Use `called-interactively-p'.
18061         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18062         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18063         (ibuffer-do-occur): Mark unused parameters.
18064         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18065         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18067         * ibuffer.el: Don't quote `lambda'.
18068         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18069         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18070         Mark unused parameters.
18072         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18073         (ido-completing-read): Mark unused parameters.
18074         (ido-copy-current-word): Mark unused parameters;
18075         remove unused variable `name'.
18076         (ido-sort-merged-list): Remove unused parameter `dirs'.
18078         * ielm.el (ielm-input-sender): Mark unused parameter.
18079         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18080         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18081         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18082         `ielm-string' as a dynamic variable accessible from the IELM prompt.
18083         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
18085         * image-dired.el (image-dired-display-thumbs): Remove unused
18086         variables `curr-file' and `count'.
18087         (image-dired-remove-tag): Remove unused variable `start'.
18088         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18089         variable `curr-file'
18090         (image-dired-rotate-original): Remove unused variable `temp-file'.
18091         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18092         Remove unused variable `file'.
18093         (image-dired-gallery-generate): Remove unused variable `curr'.
18094         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18096         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18098         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18100         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18102         * isearch.el (minibuffer-history-symbol): Declare.
18103         (isearch-edit-string): Remove unused variable `err'.
18104         (isearch-message-prefix, isearch-message-suffix):
18105         Mark unused parameters.
18107         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18109         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18111         * makesum.el (double-column): Remove unused variable `cnt'.
18113         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18114         (ido-ignore-item-temp-list): Declare.
18116         * mouse-drag.el (mouse-drag-throw): Remove unused variables
18117         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18118         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18119         (mouse-drag-drag): Remove unused variables `mouse-delta' and
18120         `mouse-col-delta'.
18122         * mouse-sel.el (mouse-extend-internal):
18123         Remove unused variable `orig-window-frame'.
18125         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18126         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18127         Move declarations before first use.
18128         (pcomplete-opt): Mark unused parameters; doc fix.
18130         * proced.el (proced-revert): Mark unused parameter.
18131         (proced-send-signal): Remove unused variable `err'.
18133         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18134         Rename parameter PREFIX-ARG to ARG.
18135         (ps-basic-plot-string, ps-basic-plot-whitespace):
18136         Mark unused parameters.
18138         * replace.el (replace-count): Define.
18139         (occur-revert-function): Mark unused parameters.
18140         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18141         (isearch-case-fold-search, isearch-string): Declare.
18142         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18143         bind `case-fold-search'.  Remove unused variables `beg' and `end',
18144         and simplify.
18145         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18146         COUNT and bind `replace-count'.
18147         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18148         to COUNT.
18150         * savehist.el (print-readably, print-string-length): Declare.
18152         * shadowfile.el (shadow-expand-cluster-in-file-name):
18153         Remove unused variable `cluster'.
18154         (shadow-copy-file): Remove unused variable `i'.
18155         (shadow-noquery, shadow-clusters, shadow-site-cluster)
18156         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18157         (shadow-define-literal-group, shadow-define-regexp-group)
18158         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18160         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18161         (shell): Use `called-interactively-p'.
18162         (shell-directory-tracker): Remove unused variable `chdir-failure'.
18164         * simple.el (compilation-context-lines, comint-file-name-quote-list)
18165         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18166         (delete-backward-char): Remove unused variable `ocol'.
18167         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18168         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18169         (event-apply-hyper-modifier, event-apply-shift-modifier)
18170         (event-apply-control-modifier, event-apply-meta-modifier):
18171         Mark unused parameters.
18172         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18173         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18175         * speedbar.el (speedbar-ignored-directory-expressions)
18176         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18177         (speedbar-find-file, speedbar-dir-follow)
18178         (speedbar-directory-buttons-follow, speedbar-tag-find)
18179         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18180         (speedbar-buffers-line-directory, speedbar-buffer-click):
18181         Mark unused parameters.
18182         (speedbar-tag-file): Remove unused variable `mode'.
18183         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18185         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18187         * talk.el (talk): Remove unused variable `display'.
18189         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18190         (tar-write-region-annotate): Mark unused parameter.
18192         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18193         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18194         Declare them, wrapped in `with-no-warnings' to avoid replacing one
18195         warning by another.
18197         * time-stamp.el (time-stamp-string-preprocess):
18198         Remove unused variable `require-padding'.
18200         * tree-widget.el (widget-glyph-enable): Declare.
18201         (tree-widget-action): Mark unused parameter.
18203         * w32-fns.el (x-get-selection): Mark unused parameter.
18204         (autoload-make-program, generated-autoload-file): Declare.
18206         * wdired.el (wdired-revert): Mark unused parameters.
18207         (wdired-xcase-word): Remove unused variable `err'.
18209         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18210         (whitespace-help-scroll): Remove unused variable `data-help'.
18212         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18213         (widget-image-insert, widget-after-change, default)
18214         (widget-default-format-handler, widget-default-notify)
18215         (widget-default-prompt-value, widget-info-link-action)
18216         (widget-url-link-action, widget-function-link-action)
18217         (widget-variable-link-action, widget-file-link-action)
18218         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18219         (widget-field-prompt-internal, widget-field-action, widget-field-match)
18220         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18221         (widget-insert-button-action, widget-delete-button-action, visibility)
18222         (widget-documentation-link-action, widget-documentation-string-action)
18223         (widget-const-prompt-value, widget-regexp-match, symbol)
18224         (widget-coding-system-prompt-value)
18225         (widget-key-sequence-value-to-external, sexp)
18226         (widget-sexp-value-to-internal, character, vector, cons)
18227         (widget-choice-prompt-value, widget-boolean-prompt-value)
18228         (widget-color--choose-action): Mark unused parameters.
18229         (widget-item-match-inline, widget-choice-match-inline)
18230         (widget-checklist-match, widget-checklist-match-inline)
18231         (widget-group-match): Rename parameter VALUES to VALS.
18232         (widget-field-value-set): Remove unused variable `size'.
18233         (widget-color-action): Remove unused variables `value' and `start'.
18235         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18236         variable `dir'.  Doc fix.
18237         (windmove-find-other-window): Don't pass it.
18239         * window.el (count-windows): Mark unused parameter.
18240         (bw-adjust-window): Remove unused variable `err'.
18242         * woman.el (woman-file-name): Remove unused variable `default'.
18243         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18244         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18245         (global-font-lock-mode): Declare.
18246         (woman-decode-region): Mark unused parameter.
18247         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18249         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18250         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18251         (x-dnd-handle-moz-url): Remove unused variable `title'.
18252         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18254         * xml.el (xml-parse-tag, xml-parse-attlist):
18255         Remove unused variable `pos'.
18257 2011-04-19  Glenn Morris  <rgm@gnu.org>
18259         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18260         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18261         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18262         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18263         * calendar/cal-html.el (cal-html-insert-minical):
18264         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18265         (calendar-mark-date-pattern):
18266         Prefix "unused" locals.
18268         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18269         optional argument `style'.
18271         * calendar/appt.el (appt-make-list):
18272         * calendar/cal-china.el (calendar-chinese-date-string):
18273         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18274         (diary-hebrew-yahrzeit):
18275         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18276         * calendar/calendar.el (calendar-generate-window):
18277         * calendar/time-date.el (time-to-days):
18278         Remove unused local variables.
18280 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
18282         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18283         glyphless-char-display table.
18284         (tabulated-list-glyphless-char-display): New var.
18286 2011-04-18  Sam Steingold  <sds@gnu.org>
18288         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18289         to acknowledgments.
18291 2011-04-17  Glenn Morris  <rgm@gnu.org>
18293         * calendar/diary-lib.el (diary-sexp-entry):
18294         * calendar/holidays.el (holiday-sexp):
18295         Set debug-on-error rather than the removed stack-trace-on-error.
18297 2011-04-16  Glenn Morris  <rgm@gnu.org>
18299         * progmodes/f90.el: Use lexical-binding.
18300         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18302 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18304         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18305         (mail-mode): Setup mailalias completion here instead.
18306         * mail/mailalias.el: Use lexical-binding.
18307         (pattern, mailalias-done): Declare dynamic.
18308         (mail-completion-at-point-function): New function, from mail-complete.
18309         (mail-complete): Use it.
18310         (mail-completion-expand): New function.
18311         (mail-get-names): Use it.
18312         (mail-directory, mail-directory-process, mail-directory-stream):
18313         Don't use `pattern' for lexically bound arg.
18315         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18317         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18318         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18319         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18321         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18322         (byte-save-window-excursion, byte-temp-output-buffer-setup)
18323         (byte-interactive-p): Define them again, for use when inlining
18324         old code.
18326 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
18328         * loadup.el: Use `string-to-number', not `string-to-int'.
18330 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18332         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18333         gud-gdb-complete-command.
18334         (gud-gdb-completions): New function, from gud-gdb-complete-command.
18335         (gud-gdb-completion-at-point): New function.
18336         (gud-gdb-completions): Remove.
18338 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
18340         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18341         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
18342         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18343         whether `executable-find' is bound.
18345         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18347 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18349         * minibuffer.el (completion-in-region-mode-predicate)
18350         (completion-in-region-mode--predicate): New vars.
18351         (completion-in-region, completion-in-region--postch)
18352         (completion-in-region-mode): Use them.
18353         (completion--capf-wrapper): Also return the hook function.
18354         (completion-at-point, completion-help-at-point):
18355         Adjust and provide a predicate.
18357         Preserve arg names for advice of subr and lexical functions (bug#8457).
18358         * help-fns.el (help-function-arglist): Consolidate the subr and
18359         new-byte-code cases.  Add argument `preserve-names' to extract names
18360         from the docstring when needed.
18361         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18362         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18363         (ad-arglist): Use help-function-arglist's new arg.
18364         (ad-definition-type): Use cond.
18366 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
18368         * autorevert.el (auto-revert-handler):
18369         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18370         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18371         Don't quote lambda.
18373         * image-mode.el (image-transform-set-scale):
18374         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18376 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18378         * net/network-stream.el (network-stream-open-starttls): Only do
18379         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18380         Upgrades via gnutls-cli are too slow to be done opportunistically.
18382 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
18384         * dframe.el (dframe-current-frame): Remove spurious quote.
18386 2011-04-12  Glenn Morris  <rgm@gnu.org>
18388         * calendar/cal-tex.el (cal-tex-end-document):
18389         Try to automatically use latin1 input if needed.
18391         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18392         Don't try to cons a mark onto an empty element.
18394 2011-04-11  Leo Liu  <sdl.web@gmail.com>
18396         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18397         buffers.
18398         (ido-kill-buffer-at-head): Support killing virtual buffers.
18400 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
18402         * minibuffer.el (completion-show-inline-help): New var.
18403         (completion--do-completion, minibuffer-complete)
18404         (minibuffer-force-complete, minibuffer-complete-word):
18405         Inhibit minibuffer messages if completion-show-inline-help is nil.
18407         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18408         to avoid interference from inline help (Bug#5849).
18410 2011-04-10  Leo Liu  <sdl.web@gmail.com>
18412         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18413         Fix typo.
18415 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
18417         * image-mode.el (image-toggle-display-image): Signal an error if
18418         not in Image mode.
18419         (image-transform-mode, image-transform-resize)
18420         (image-transform-set-rotation): Doc fix.
18421         (image-transform-set-resize): Delete.
18422         (image-transform-set-scale, image-transform-fit-to-height)
18423         (image-transform-fit-to-width): Handle image-toggle-display-image
18424         and image-transform-resize directly.
18426 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
18428         * doc-view.el (doc-view-fit-width-to-window)
18429         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18430         New functions for fitting the shown image to the Emacs window size.
18431         (doc-view-mode-map): Add bindings for the new functions.
18433 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
18435         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18436         Fix typo in docstring.
18438 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
18440         * files.el (file-size-human-readable): Produce one digit after
18441         decimal, like "ls -lh" does.
18443         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18444         the file size representation.
18446         * simple.el (list-processes): If async subprocesses are not
18447         available, error out with a clear error message.
18449 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
18451         * help.el (help-form-show): New function, to be called from C.
18452         Put help-form output in a buffer named differently than *Help*.
18454 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
18456         * files.el (file-size-human-readable): New function.
18458         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18459         computing the representation inline.  Don't require `cl'.
18461 2011-04-08  Glenn Morris  <rgm@gnu.org>
18463         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18465         * net/browse-url.el (browse-url-firefox):
18466         Test system-type, not system-configuration.
18468         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18469         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18470         Use log-edit-empty-buffer-p.  (Bug#7598)
18472         * net/rlogin.el (rlogin-process-connection-type): Simplify.
18473         (rlogin-mode-map): Initialize in the defvar.
18474         (rlogin): Use ignore-errors.
18476         * replace.el (occur-mode-map): Some fixes for menu items.
18478 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
18480         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
18482 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
18484         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18485         issuing unused warnings.
18487         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18488         macro directly.
18490         * simple.el: Lisp reimplement of list-processes.  Based on an
18491         earlier reimplementation by Leo Liu, but using tabulated-list.el.
18492         (process-menu-mode): New major mode.
18493         (list-processes--refresh, list-processes):
18494         (process-menu-visit-buffer): New functions.
18496         * files.el (save-buffers-kill-emacs): Don't assume any return
18497         value of list-processes, which is undocumented anyway.
18499 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
18501         * emacs-lisp/tabulated-list.el: New file.
18503         * emacs-lisp/package.el: Use Tabulated List mode.
18504         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18505         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
18506         table format using Tabulated List mode variables.
18507         (package--push): New macro, replacing package-list-maybe-add.
18508         (package-menu--generate): Use package--push.  Renamed from
18509         package--generate-package-list.
18510         (package-menu-refresh, list-packages): Use it.
18511         (package-menu--print-info): Rename from package-print-package.
18512         Return insertion data instead of inserting it directly.
18513         (package-menu-describe-package, package-menu-execute):
18514         Use tabulated-list-get-id.
18515         (package-menu-mark-delete, package-menu-mark-install)
18516         (package-menu-mark-unmark, package-menu-backup-unmark)
18517         (package-menu-mark-obsolete-for-deletion):
18518         Use tabulated-list-put-tag.
18519         (package--list-packages, package-menu-revert)
18520         (package-menu-get-package, package-menu-get-version)
18521         (package-menu-sort-by-column): Functions deleted.
18522         (package-menu-package-list, package-menu-sort-key): Vars deleted.
18523         (package-menu--status-predicate, package-menu--version-predicate)
18524         (package-menu--name-predicate)
18525         (package-menu--description-predicate): Handle arguments in the
18526         Tabulated List format.
18527         (package-list-packages-no-fetch): Call list-packages.
18529 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
18531         * files.el (after-find-file-from-revert-buffer): Remove variable.
18532         (after-find-file): Don't bind it.
18533         (revert-buffer-in-progress-p): New variable.
18534         (revert-buffer): Bind it.
18535         Pass nil for `after-find-file-from-revert-buffer'.
18537         * saveplace.el (save-place-find-file-hook): Use new variable
18538         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18540 2011-04-06  Glenn Morris  <rgm@gnu.org>
18542         * Makefile.in (AUTOGEN_VCS): New variable.
18543         (autoloads): Use $AUTOGEN_VCS.
18545         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18546         * calendar/calendar.el (calendar-mode-map):
18547         Check for toolkit scroll bars.  (Bug#8305)
18549 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
18551         * minibuffer.el (completion-in-region--postch)
18552         (completion-in-region-mode): Remove unnecessary messages.
18554 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
18556         * font-lock.el (font-lock-refresh-defaults):
18557         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18558         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18560         * info.el (Info-directory-list, Info-read-node-name-2)
18561         (Info-split-parameter-string): Doc fixes.
18562         (Info-virtual-nodes): Reflow docstring.
18563         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18564         (Info-apropos-toc-nodes, info-finder, Info-get-token)
18565         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18566         Fix typos in docstrings.
18567         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18568         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18569         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18570         (Info-restore-desktop-buffer): Mark unused parameters.
18571         (Info-directory-find-file, Info-directory-find-node)
18572         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18573         (Info-virtual-index-find-node, Info-apropos-find-file)
18574         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18575         Mark unused parameters; fix typos in docstrings.
18576         (Info-virtual-index): Remove unused local variable `nodename'.
18578 2011-04-05  Deniz Dogan  <deniz@dogan.se>
18580         * net/rcirc.el: Update my e-mail address.
18581         (rcirc-mode-map): Remove M-o binding.
18583 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
18585         * startup.el (command-line): Save the cursor's theme-face
18586         directly, instead of using face-override-spec.
18588         * custom.el (load-theme): Minor optimization in assigning faces.
18590 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
18592         * help-fns.el (describe-variable): Complete all variables having
18593         documentation, including keywords.
18594         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18596 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
18598         Convert to lexical-binding.
18600         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18601         (bs--get-marked-string, bs--get-modified-string)
18602         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18603         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18604         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18606         * ehelp.el (electric-help-execute-extended)
18607         (electric-help-ctrl-x-prefix):
18608         * hexl.el (hexl-revert-buffer-function):
18609         * linum.el (linum-after-change, linum-after-scroll):
18610         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18612         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18614 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
18616         * epa-dired.el:
18617         * epa-mail.el:
18618         * epa-hook.el:
18619         * epa-file.el:
18620         * epa.el:
18621         * epg.el: Use lexical binding.
18623 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
18625         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18627         * textmodes/flyspell.el (flyspell-word): Recognize default
18628         dictionary case for flyspell-mark-duplications-exceptions.
18629         Use regexp matching for languages.
18630         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18631         default dictionary (Bug#7926).
18633 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
18635         * emacs-lisp/package.el (package--with-work-buffer):
18636         Recognize https URLs.
18638         * net/network-stream.el: Move from gnus/proto-stream.el.
18639         Change prefix to network-stream throughout.
18640         (open-protocol-stream): Merge into open-network-stream, leaving
18641         open-protocol-stream as an alias.  Handle nil BUFFER args.
18643         * subr.el (open-network-stream): Move to net/network-stream.el.
18645 2011-04-02  Glenn Morris  <rgm@gnu.org>
18647         * find-dired.el (find-exec-terminator): New option.
18648         (find-ls-option): Test for -ls support.
18649         (find-ls-subdir-switches): Test for -b in find-ls-option.
18650         (find-dired, find-grep-dired): Doc fixes.
18651         (find-dired): Use find-exec-terminator.
18653         * find-dired.el (find-ls-option, find-ls-subdir-switches)
18654         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18655         (find-name-arg): Remove purecopy.
18657         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18658         (grep-compute-defaults): Check for `-exec COMMAND +' support.
18659         Set grep-find-use-xargs, grep-find-command, and grep-find-template
18660         accordingly.  Don't add the null-device if not needed.
18662         * files.el (save-some-buffers): Doc fix.
18664 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
18666         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18668 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
18670         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18671         Use `dolist' rather than `mapcar'.
18673 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18675         Add lexical binding.
18677         * subr.el (apply-partially): Use new closures rather than CL.
18678         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18679         (dolist, dotimes): Use slightly different expansion for lexical code.
18680         (functionp): Move to C.
18681         (letrec): New macro.
18682         (with-wrapper-hook): Use it and apply-partially instead of CL.
18683         (eval-after-load): Preserve lexical-binding.
18684         (save-window-excursion, with-output-to-temp-buffer): Turn them
18685         into macros.
18687         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18689         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18690         than the arglist.
18691         (help-add-fundoc-usage): Don't add `Not documented'.
18692         (help-function-arglist): Handle closures, subroutines, and new
18693         byte-code-functions.
18694         (help-make-usage): Remove leading underscores.
18695         (describe-function-1): Handle closures.
18696         (describe-variable): Use special-variable-p for completion.
18698         * files.el (lexical-binding): Declare safe.
18700         * emacs-lisp/pcase.el: Don't use destructuring-bind.
18701         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
18702         (pcase): Add `let' pattern.
18703         Change memoization so it actually works.
18704         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18705         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18706         <let>: New case.
18708         * emacs-lisp/macroexp.el: Use lexical binding.
18709         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
18710         Don't convert ' to #' without checking that it's indeed quoting
18711         a lambda.
18713         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
18714         Use eval-sexp-add-defvars.
18715         (eval-sexp-add-defvars): New fun.
18717         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18719         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18720         Don't autoload.
18721         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18722         than the internal `byte-compile-lambda'.
18723         (defmethod): Don't hide code under quotes.
18724         (eieio-defmethod): New `code' argument.
18726         * emacs-lisp/eieio-comp.el: Remove.
18728         * emacs-lisp/edebug.el (edebug-eval-defun)
18729         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18730         (edebug-toggle): Avoid `eval'.
18732         * emacs-lisp/disass.el (disassemble-internal): Handle new
18733         `closure' objects.
18734         (disassemble-1): Handle new byte codes.
18736         * emacs-lisp/cl.el (pushnew): Silence warning.
18738         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18739         (cl-byte-compile-throw): Remove.
18740         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18742         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18743         closures.
18745         * emacs-lisp/cconv.el: New file.
18747         * emacs-lisp/bytecomp.el: Use lexical binding instead of
18748         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
18749         (byte-compile-initial-macro-environment):
18750         Handle declare-function here.
18751         (byte-compile--lexical-environment): New var.
18752         (byte-stack-ref, byte-stack-set, byte-discardN)
18753         (byte-discardN-preserve-tos): New lap codes.
18754         (byte-interactive-p): Don't use any more.
18755         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18756         New macros.
18757         (byte-compile-lapcode): Use them and handle new lap codes.
18758         (byte-compile-obsolete): Remove.
18759         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18760         (byte-compile-arglist-warn): Check late def of inlinable funs.
18761         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18762         since they should have been expanded by now.
18763         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18764         (byte-compile-from-buffer): Remove unused second arg.
18765         (byte-compile-preprocess): New function.
18766         (byte-compile-toplevel-file-form): New function to distinguish
18767         file-form calls from outside from file-form calls from hunk-handlers.
18768         (byte-compile-file-form): Simplify.
18769         (byte-compile-file-form-defsubst): Remove.
18770         (byte-compile-file-form-defmumble): Simplify now that
18771         byte-compile-lambda always returns a byte-code-function.
18772         (byte-compile): Preprocess.
18773         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18774         Remove, not used any more.
18775         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18776         (byte-compile-make-args-desc): New funs.
18777         (byte-compile-lambda): Handle lexical functions.  Always return
18778         a byte-code-function.
18779         (byte-compile-reserved-constants): New var, to make up room for
18780         closed-over variables.
18781         (byte-compile-constants-vector): Obey it.
18782         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18783         (byte-compile-macroexpand-declare-function): New function.
18784         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18785         byte-code-functions.
18786         (byte-compile-form): Check obsolescence here.
18787         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18788         (byte-compile-variable-ref): Remove.
18789         (byte-compile-dynamic-variable-op): New fun.
18790         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18791         (byte-compile-variable-set): New funs.
18792         (byte-compile-discard): Add 2 args.
18793         (byte-compile-stack-ref, byte-compile-stack-set)
18794         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18795         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18796         macroexpand-all instead.
18797         (byte-compile-quote-form): Remove.
18798         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18799         (byte-compile-bind, byte-compile-unbind): New funs.
18800         (byte-compile-let): Handle let* and lexical binding.
18801         (byte-compile-let*): Remove.
18802         (byte-compile-catch, byte-compile-unwind-protect)
18803         (byte-compile-track-mouse, byte-compile-condition-case):
18804         Handle a new :fun-body form, used for lexical scoping.
18805         (byte-compile-save-window-excursion)
18806         (byte-compile-with-output-to-temp-buffer): Remove.
18807         (byte-compile-defun): Simplify.
18808         (byte-compile-stack-adjustment): New fun.
18809         (byte-compile-out): Use it.
18810         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18812         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18813         handler any more.
18815         * emacs-lisp/byte-opt.el: Use lexical binding.
18816         (byte-inline-lapcode): Remove (to bytecomp).
18817         (byte-compile-inline-expand): Pay attention to inlining to/from
18818         lexically bound code.
18819         (byte-compile-unfold-lambda): Don't handle byte-code-functions
18820         any more.
18821         (byte-optimize-form-code-walker): Don't handle save-window-excursion
18822         any more and don't call compiler-macros.
18823         (byte-compile-splice-in-already-compiled-code): Remove.
18824         (byte-code): Don't inline any more.
18825         (disassemble-offset): Receive `bytes' as argument rather than via
18826         dynamic scoping.
18827         (byte-compile-tag-number): Declare before first use.
18828         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18829         `return' even if make-spliceable.
18830         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18831         obsolete interactive-p.
18832         (byte-optimize-lapcode): Optimize new lap-codes.
18833         Don't trip up on new form of `byte-constant' lap code.
18835         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18837         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18839         * custom.el (custom-initialize-default, custom-declare-variable):
18840         Use `defvar'.
18842         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18843         New variables.
18844         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18845         (COMPILE_FIRST): Add macroexp and cconv.
18846         * makefile.w32-in: Mirror changes in Makefile.in.
18848         * vc/cvs-status.el:
18849         * vc/diff-mode.el:
18850         * vc/log-edit.el:
18851         * vc/log-view.el:
18852         * vc/smerge-mode.el:
18853         * textmodes/bibtex-style.el:
18854         * textmodes/css-mode.el:
18855         * startup.el:
18856         * uniquify.el:
18857         * minibuffer.el:
18858         * newcomment.el:
18859         * reveal.el:
18860         * server.el:
18861         * mpc.el:
18862         * emacs-lisp/smie.el:
18863         * doc-view.el:
18864         * dired.el:
18865         * abbrev.el: Use lexical binding.
18867 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
18869         * info.el (info-display-manual): New function.
18871 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18873         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18875 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
18877         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
18878         an entry for that server in rcirc-authinfo.  (Bug#8385)
18880 2011-03-31  Glenn Morris  <rgm@gnu.org>
18882         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18884         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18886 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
18888         * progmodes/python.el (python-default-interpreter)
18889         (python-python-command-args, python-jython-command-args)
18890         (python-which-shell, python-which-args, python-which-bufname)
18891         (python-file-queue, python-comint-output-filter-function)
18892         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18893         variables and functions.
18895 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18897         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18898         (completion-in-region-mode): New minor mode.
18899         (completion-in-region): Use it.
18900         (completion-in-region--data, completion-in-region-mode-map): New vars.
18901         (completion-in-region--postch): New function.
18902         (completion--capf-misbehave-funs, completion--capf-safe-funs):
18903         New vars.
18904         (completion--capf-wrapper): New function.
18905         (completion-at-point): Use it to track well-behavedness of
18906         hook functions.
18907         (completion-help-at-point): New command.
18909 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
18911         * vc/add-log.el (add-change-log-entry): Don't use whitespace
18912         syntax class to search for whitespace on a single line
18913         (Message-ID: <4D938140.4030905@redhat.com>).
18915 2011-03-30  Leo Liu  <sdl.web@gmail.com>
18917         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18918         New commands.
18919         (edit-abbrevs-map): Bind them here.
18920         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
18922 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
18924         * allout.el (allout-hide-by-annotation, allout-flag-region):
18925         Reduce possibility of overlay leakage by making them volatile.
18927         * allout-widgets.el (allout-widgets-tally): Define as nil so the
18928         hash is not shared between buffers.  Mode initialization is
18929         responsible for giving it a useful starting value.
18930         (allout-item-span): Reduce possibility of overlay leakage by
18931         making them volatile.
18932         (allout-widgets-count-buttons-in-region): Add diagnostic function
18933         for tracking down button overlay leaks.
18935 2011-03-29  Leo Liu  <sdl.web@gmail.com>
18937         * ido.el (ido-read-internal): Use the default history var
18938         minibuffer-history if no HISTORY is specified.
18940 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
18942         * net/imap.el (imap-shell-open, imap-process-connection-type):
18943         Use imap-process-connection-type for 'shell' streams as well as
18944         Kerberos, SSL, other subprocesses.
18946 2011-03-28  Leo Liu  <sdl.web@gmail.com>
18948         * abbrev.el (abbrev-table-empty-p): New function.
18949         (prepare-abbrev-list-buffer): Place empty abbrev tables after
18950         nonempty ones.  (Bug#5937)
18952 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
18954         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18956 2011-03-27  Leo Liu  <sdl.web@gmail.com>
18958         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18959         for foreground and background colors.
18960         (ansi-color-make-color-map): Adapt.
18962 2011-03-25  Leo Liu  <sdl.web@gmail.com>
18964         * midnight.el (midnight-time-float): Remove.  Note it calculates
18965         the microsecond component incorrectly and seconds-to-time does the
18966         same job.
18967         Remove redundant (require 'timer).
18969         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18970         (ido-completions): Remove unused arguments.  (Bug#8329)
18972 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18974         * minibuffer.el (completion--flush-all-sorted-completions):
18975         Remove itself from hook.
18976         (completion-at-point): Let the functions perform the completion
18977         immediately and return nil or t.
18978         * comint.el (comint-dynamic-complete-functions): Now identical to
18979         completion-at-point-functions.
18980         (comint-dynamic-list-input-ring): Remove unused var `index'.
18981         (comint--match-partial-filename, comint--unquote&expand-filename):
18982         New funs, split from comint-match-partial-filename.
18983         (comint-dynamic-complete): Use completion-at-point.
18984         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18986 2011-03-24  Drew Adams  <drew.adams@oracle.com>
18988         * thingatpt.el: Support `defun'.
18990 2011-03-23  Leo Liu  <sdl.web@gmail.com>
18992         * abbrevlist.el: Move to obsolete/abbrevlist.el.
18994         * help-mode.el (help-mode-finish): Tweak regexp.
18996 2011-03-23  Glenn Morris  <rgm@gnu.org>
18998         * eshell/esh-opt.el (eshell-eval-using-options):
18999         Do not bind unused local variable `eshell-option-stub'.
19001         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19003 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
19005         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19006         keymap variable in `with-no-warnings' to avoid a warning when the
19007         keymap has been already `defconst'ed.
19009 2011-03-22  Leo Liu  <sdl.web@gmail.com>
19011         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19012         encode all chars in abbrevs; otherwise use emacs-mule or
19013         utf-8-emacs.  (Bug#8308)
19015 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
19017         * simple.el (backward-delete-char-untabify):
19018         Avoid warning about using `delete-backward-char'.
19020         * image.el (image-type-file-name-regexps): Make it variable.
19021         `imagemagick-register-types' modifies it, and the user may want
19022         to add new extensions for known image types.
19023         (imagemagick-register-types): Throw error if not using ImageMagick.
19025 2011-03-22  Leo Liu  <sdl.web@gmail.com>
19027         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19028         located before rcirc-prompt-end-marker.
19029         (rcirc-complete): Error if point is not after rcirc prompt.
19030         Handle the case when table is nil.
19031         (rcirc-user-authenticated): Define to fix compiler warning.
19033 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
19035         * custom.el (custom--inhibit-theme-enable): Make it affect only
19036         custom-theme-set-variables and custom-theme-set-faces.
19037         (provide-theme): Ignore custom--inhibit-theme-enable.
19038         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19039         (custom-enabling-themes): Delete variable.
19040         (enable-theme): Accept only loaded themes as arguments.
19041         Ignore the special custom-enabled-themes variable.
19042         (custom-enabled-themes): Forbid themes from setting this.
19043         Eliminate use of custom-enabling-themes.
19044         (custom-push-theme): Quote "changed" custom var entry.
19046 2011-03-21  Leo Liu  <sdl.web@gmail.com>
19048         * ido.el (ido-read-internal): Add ido-selected to history instead
19049         of user input.
19051 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19053         * subr.el (deferred-action-list, deferred-action-function):
19054         Mark obsolete.
19056 2011-03-21  Leo Liu  <sdl.web@gmail.com>
19058         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19059         change on 2011-02-13 (bug#8309).
19061         * minibuffer.el (read-file-name-function): Change default value.
19062         (read-file-name--defaults): Rename from read-file-name-defaults.
19063         (read-file-name-default): Rename from read-file-name.
19064         (read-file-name): Call read-file-name-function.
19066 2011-03-21  Glenn Morris  <rgm@gnu.org>
19068         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19069         Doc fixes.
19071 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
19073         * cus-theme.el: Add missing provide statement.
19074         (customize-create-theme): Extract theme value correctly.
19075         (custom-theme-visit-theme): Autoload.
19076         (customize-create-theme): Prompt before inserting default faces.
19078 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
19080         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19081         units and musical notes.
19083 2011-03-20  Leo Liu  <sdl.web@gmail.com>
19085         * ido.el (ido-read-internal): Use completing-read-default.
19086         (ido-completing-read): Fix compatibility with completing-read.
19088 2011-03-20  Christian Ohler  <ohler@gnu.org>
19090         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19091         (ert-delete-all-tests): Use `called-interactively-p' rather than
19092         `interactive-p'.
19093         (ert--make-xrefs-region): Respect END.
19095 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
19097         * dired-aux.el (dired-create-directory): Signal an error if the
19098         directory already exists (Bug#8246).
19100         * facemenu.el (list-colors-display): Call list-faces-display
19101         inside with-help-window.
19102         (list-colors-print): Use display property to align the final
19103         column, instead of checking window-width.
19105 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
19107         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19108         windows-nt systems.
19109         (emerge-protect-metachars): Quote correctly for ms-dos and
19110         windows-nt systems.
19112 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
19114         * info.el (info-initialize): Replace all uses of `:' with
19115         path-separator for compatibility with non-Unix systems.
19116         Cache quoting of path-separator.  (Bug#8258)
19118 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
19120         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19121         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19122         (mouse-avoidance-mode): Fix typos in docstrings.
19124 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
19126         * startup.el (package-subdirectory-regexp): Move from package.el.
19127         Omit \\` and \\', and let callers add them.
19129         * emacs-lisp/package.el (package-strip-version)
19130         (package-load-all-descriptors): Add \\` and \\' to
19131         package-subdirectory-regexp before using it.
19132         (package-untar-buffer): New arg DIR; ensure that file untars only
19133         into this expected directory.  Remove superfluous delete-region.
19134         (package-unpack): Caller changed.
19135         (package-tar-file-info): Use package-subdirectory-regexp.
19137 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19139         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19140         diff-mode-shared-map (bug#8284).
19141         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19143 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19145         * calendar/time-date.el (format-seconds): Use assoc instead of
19146         assoc-string, since assoc-string doesn't exist in XEmacs.
19148 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
19150         * custom.el (custom-known-themes): Reflow docstring.
19151         (custom-theme-load-path): Fix typo in docstring.
19152         (load-theme): Fix typo in error message.
19153         (custom-available-themes, custom-variable-theme-value):
19154         Use `let', not `let*'.
19156 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
19158         * calc/README: Mention inclusion of musical notes.
19160         * calc/calc-units.el (calc-lu-quant): Rename from
19161         `calc-logunits-quantity'.
19162         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19163         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19164         (calc-db): Rename from `calc-dblevel'.
19165         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19166         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19167         (calc-np): Rename from `calc-nplevel'.
19168         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19169         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19170         (calc-lu-plus): Rename from `calc-logunits-add'.
19171         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19172         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19173         (calc-lu-minus): Rename from `calc-logunits-sub'.
19174         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19175         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19176         (calc-lu-times): Rename from `calc-logunits-mul'.
19177         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19178         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19179         (calc-lu-divide): Rename from `calc-logunits-div'.
19180         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19181         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19183         * calc/calc-ext.el (calc-init-extensions): Update the names of the
19184         functions being autoloaded.
19186         * calc/calc.el (calc-lu-power-reference): Rename from
19187         `calc-logunits-power-reference'.
19188         (calc-lu-field-reference): Rename from
19189         `calc-logunits-field-reference'.
19191         * calc/calc-help.el (calc-l-prefix-help):
19192         Mention musical note functions.
19194 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19196         * minibuffer.el (completion-all-sorted-completions):
19197         Use :completion-cycle-penalty text property if present.
19199 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
19201         * allout.el (allout-yank-processing): Adjust for new rebulleting
19202         regime so bullet being yanked is used without prompting the user
19203         for a choice.
19205 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
19207         * startup.el (command-line): Warn the user that _emacs is deprecated.
19209 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
19211         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19212         (delphi-verbose, delphi-comment-face, delphi-string-face)
19213         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19214         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19215         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19216         (delphi-new-comment-line, delphi-font-lock-defaults)
19217         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19218         Fix typos in docstrings.
19220 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
19222         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19223         Invert the roles of character and string values for INSTEAD, so a
19224         string is used for the more common case of a defaulting prompt.
19226 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19228         * progmodes/ruby-mode.el (ruby-backward-sexp):
19229         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19230         * play/gamegrid.el (gamegrid-make-face):
19231         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19232         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19233         * notifications.el (notifications-notify):
19234         * net/xesam.el (xesam-search-engines):
19235         * net/quickurl.el (quickurl-list-insert):
19236         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19238 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
19240         * startup.el (command-line): Update package subdirectory regexp.
19242 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19244         * allout.el (allout-abbreviate-flattened-numbering)
19245         (allout-mode-deactivate-hook): Fix up obsolescence "date".
19247         * subr.el (read-char-choice): Only show the cursor after the prompt,
19248         not after the answer.
19250 2011-03-15  Kevin Ryde  <user42@zip.com.au>
19252         * help-fns.el (variable-at-point): Skip leading quotes, if any
19253         (bug#8253).
19255 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19257         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19258         warning message.
19260 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
19262         * shell.el (shell): When called interactively, offer to change the
19263         shell file name on remote hosts.
19265 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
19267         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19268         integration for LDAP parameters.  The host, base, user or binddn,
19269         and secret tokens can be specified in a netrc file, for instance.
19270         This is optional because an `auth-source' parameter must be
19271         specified in the search attributes.
19273 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
19275         * help.el (describe-mode): Link to the mode's definition (bug#8185).
19277 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19279         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19280         into declaration.  Remove redundant and harmful binding.
19282 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
19284         * files.el (file-ownership-preserved-p): Pass `integer' as an
19285         explicit 2nd argument to `file-attributes'.  If the file's owner
19286         is the Administrators group on Windows, and the current user is
19287         Administrator, consider that a match.
19289         * server.el (server-ensure-safe-dir): Consider server directory
19290         safe on MS-Windows if its owner is the Administrators group while
19291         the current Emacs user is Administrator.  Use `=' to compare
19292         numerical UIDs, since they could be integers or floats.
19294 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
19296         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19298 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
19300         Sync with Tramp 2.2.1.
19302         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19304         * net/trampver.el: Update release number.
19306 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19308         * progmodes/compile.el (compilation--previous-directory): Fix up
19309         various nil/dead-marker mismatches (bug#8014).
19310         (compilation-directory-properties, compilation-error-properties):
19311         Don't call it at a position past the one we're about to change.
19313         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19314         Disable obsolescence warnings in the file that declares it.
19316 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
19318         * allout-widgets.el (allout-widgets-tally):
19319         Initialize allout-widgets-tally as a hash table rather than nil to
19320         prevent mode-line redisplay warnings.  Also, clarify the module
19321         description and fix a comment typo.
19323 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
19325         * help-fns.el (describe-variable): Don't complete keywords.
19326         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19328 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
19330         * emacs-lisp/package.el (package-version-join): Impose a standard
19331         string representation for pre/alpha/beta version lists.
19332         (package-unpack-single): Standardize the directory name by passing
19333         it through package-version-join.
19334         (package-strip-rcs-id): Accept any version string that does not
19335         signal an error in version-to-list.
19337 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
19339         * simple.el (delete-trailing-whitespace): Return nil for the
19340         benefit of `write-file-functions'.
19342 2011-03-10  Glenn Morris  <rgm@gnu.org>
19344         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19346         * vc/vc-git.el (vc-git-program): New option.
19347         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19348         (vc-git--call): Use it.
19350         * eshell/esh-util.el (eshell-condition-case): Doc fix.
19352         * cus-edit.el (Custom-newline): If no button at point, look
19353         for a subgroup button at start-of-line.  (Bug#2298)
19355         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19357 2011-03-10  Julien Danjou  <julien@danjou.info>
19359         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19360         `cursor-type' is nil.
19362 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
19364         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19366 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
19368         * allout.el: Change so yank of distinctive-bullet items
19369         preserves the existing header prefix, rebulleting it if necessary,
19370         rather than replacing it.  This is necessary for proper operation
19371         of cooperative addons like allout-widgets.
19372         (allout-make-topic-prefix, allout-rebullet-heading):
19373         Change SOLICIT arg to INSTEAD, and interpret additionally a string
19374         value as alternate bullet to be used, instead of prompting the user
19375         for a bullet character.
19377 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
19379         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19380         Do not use `tramp-file-name-port', because this returns also
19381         `tramp-default-port'.
19383 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
19385         * net/rcirc.el (rcirc-handler-001): Remove useless
19386         with-rcirc-process-buffer.
19387         (rcirc-check-auth-status): Swap arguments to string-match.
19389 2011-03-09  Glenn Morris  <rgm@gnu.org>
19391         * shell.el (shell-mode):
19392         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
19394         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19395         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
19397 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
19399         * emacs-lisp/package.el (package-refresh-contents)
19400         (package-menu-execute): Use condition-case-no-debug.
19402 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
19404         * simple.el (shell-command-to-string): Use `process-file'.
19406         * emacs-lisp/package.el (package-tar-file-info): Handle also
19407         remote files.
19409         * emacs-lisp/package-x.el (package-upload-buffer-internal):
19410         Use `equal' for upload base check.
19412 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
19414         * textmodes/texinfo.el (texinfo-environments):
19415         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
19417 2011-03-08  Glenn Morris  <rgm@gnu.org>
19419         * cus-start.el (cursor-in-non-selected-windows):
19420         Fix :set quoting oddness.  (Bug#8192)
19422         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19423         in some setf expressions.  (Bug#2159)
19425 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
19427         * custom.el (custom-available-themes): Return themes in
19428         alphabetical order.
19430 See ChangeLog.15 for earlier changes.
19432 ;; Local Variables:
19433 ;; coding: utf-8
19434 ;; End:
19436   Copyright (C) 2011-2012  Free Software Foundation, Inc.
19438   This file is part of GNU Emacs.
19440   GNU Emacs is free software: you can redistribute it and/or modify
19441   it under the terms of the GNU General Public License as published by
19442   the Free Software Foundation, either version 3 of the License, or
19443   (at your option) any later version.
19445   GNU Emacs is distributed in the hope that it will be useful,
19446   but WITHOUT ANY WARRANTY; without even the implied warranty of
19447   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19448   GNU General Public License for more details.
19450   You should have received a copy of the GNU General Public License
19451   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.