* net/tramp-sh.el (tramp-sh-handle-start-file-process): Fix previous patch.
[emacs.git] / lisp / ChangeLog
blobba982253949a756df0a1045f82342d34c43d51ce
1 2013-01-29  Michael Albinus  <michael.albinus@gmx.de>
3         * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
5         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Catch
6         `suppress'.  Otherwise, `tramp-run-real-handler' might be called
7         in `tramp-file-name-handler'.
8         (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
9         compatibility.
10         (tramp-compute-multi-hops): Check, whether
11         `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
13 2013-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15         * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
16         (bug#13297).
18 2013-01-27  Dmitry Gutov  <dgutov@yandex.ru>
20         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
21         checks made superfluous by the \_< operator.
22         * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
23         temporarily) broken indentation.
24         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
25         Highlight nested constants, too.  \_< broke that.
27 2013-01-27  Nobuyoshi Nakada  <nobu@ruby-lang.org>
29         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
30         instead of "\\b".
32 2013-01-27  Michael Albinus  <michael.albinus@gmx.de>
34         * autorevert.el (auto-revert-handler): Notifications which result
35         from a saved file shall not be taken into account.  (Bug#13557)
37 2013-01-26  Andreas Schwab  <schwab@linux-m68k.org>
39         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
40         parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
41         (lisp-mode): Pass t for it.  (Bug#13556)
43 2013-01-25  Alan Mackenzie  <acm@muc.de>
45         AWK Mode: Fix indentation bug at top level.  Bug #12274.
47         * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
48         just before CASE 5D.
50 2013-01-25  Dmitry Antipov  <dmantipov@yandex.ru>
52         * net/socks.el (socks-nslookup-host): Use string-to-number.
54 2013-01-25  Michael Albinus  <michael.albinus@gmx.de>
56         * autorevert.el (auto-revert-remote-files)
57         (auto-revert-notify-exclude-dir-regexp): New defcustoms.
58         (auto-revert-notify-enabled, auto-revert-use-notify)
59         (auto-revert-notify-watch-descriptor-hash-list)
60         (auto-revert-notify-modified-p, auto-revert-notify-event-p)
61         (auto-revert-notify-event-descriptor)
62         (auto-revert-notify-event-action)
63         (auto-revert-notify-event-file-name): Doc fix.
64         (global-auto-revert-mode): Reorder checks.
65         (auto-revert-notify-rm-watch): Respect changed values of
66         `auto-revert-notify-watch-descriptor-hash-list'.
67         (auto-revert-notify-add-watch): Check for
68         `auto-revert-notify-exclude-dir-regexp'.  Adapt filters for
69         `inotify-add-watch'.  Watch `default-directory' instead of
70         `buffer-file-name'.  `auto-revert-notify-watch-descriptor-hash-list'
71         has a changed meaning now.  (Bug#13540)
72         (auto-revert-notify-handler): Change implementation wrt events
73         returning from a directory.
74         (auto-revert-handler): Reorder implementation for checks of remote
75         files.
76         (auto-revert-buffers): Fix parentheses error.
78 2013-01-25  Fabián Ezequiel Gallina  <fgallina@cuca>
80         * progmodes/python.el: Enhancements to header documentation about
81         skeletons.  (Bug#5716)
83         * imenu.el (imenu-default-create-index-function): Remove useless
84         infinite loop check.  (Bug#13438)
86 2013-01-25  Alan Mackenzie  <acm@muc.de>
88         Fix a bug in the state cache mechanism.  Refactor this a bit.
90         * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
91         `cache-pos' element from the return value.
92         (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
93         buffer to enable proper searching from beyond HERE.  Amend the
94         test for detecting the sought brace pair.  Amend the value written
95         to the "brace desert cache" when the brace isn't found.
96         (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
97         and several other variables analogously.
98         (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
99         parameter to a locally calculated variable.
100         (c-parse-state-1): Change the calling conventions to the two
101         defuns involving `cache-pos'.
103 2013-01-25  Chong Yidong  <cyd@gnu.org>
105         * xml.el (xml-entity-or-char-ref-re): Fix regexp.
107 2013-01-24  Aaron Ecay <aaronecay@gmail.com>  (tiny change)
109         * paren.el (show-paren-function): Make sure to set 'priority and
110         'face only if the overlay does exist.
112 2013-01-24  Michael Albinus  <michael.albinus@gmx.de>
114         * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
116         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
117         basic attributes.
118         (tramp-sh-handle-set-file-acl): Improve error checking.
120 2013-01-24  Dmitry Antipov  <dmantipov@yandex.ru>
122         * doc-view.el (doc-view-display): Force mode line update until all
123         document is converted.  Suggested by Stefan Monnier (Bug#13164).
125 2013-01-23  Bastien Guerry  <bzg@gnu.org>
127         * paren.el (show-paren-function): Make sure an overlay exists
128         before trying to delete it.  Also use `pos' as a position only
129         when it is an integer.
131 2013-01-23  Dmitry Antipov  <dmantipov@yandex.ru>
133         * play/gametree.el (gametree-break-line-here): Use point-marker.
135 2013-01-22  Michael Albinus  <michael.albinus@gmx.de>
137         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
138         Mark descriptive parts with `display' property.
140 2013-01-21  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
142         * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
143         New variable to map standard dict names to hunspell ones.
144         (ispell-set-spellchecker-params): Make sure specific dict names
145         are used for standard dicts with hunspell.
147 2013-01-21  Tassilo Horn  <tsdh@gnu.org>
149         * textmodes/reftex-cite.el (reftex-format-citation): Add format
150         chars for note (%N) and url (%U).
151         * textmodes/reftex-vars.el (reftex-cite-format): Document them.
153 2013-01-21  Juri Linkov  <juri@jurta.org>
155         * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
156         in addition to existing separate binding `meta f10' in `global-map'.
157         (Bug#13484)
159 2013-01-21  Michael Albinus  <michael.albinus@gmx.de>
161         Improve XEmacs compatibility.
163         * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
165         * net/tramp-adb.el (top): Require `time-date'.
166         (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
167         (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
168         Use `tramp-file-name-handler'.
169         (tramp-adb-maybe-open-connection):
170         Use `tramp-compat-set-process-query-on-exit-flag'.
172         * net/tramp-sh.el (tramp-sh-handle-file-acl):
173         Use `tramp-compat-funcall'.
175         * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
176         `tramp-compat-funcall'.
178 2013-01-21  Jürgen Hötzel  <juergen@archlinux.org>
180         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
181         reimplementation using "adb shell command ..." instead of running
182         remote shell interactively.
184 2013-01-20  Glenn Morris  <rgm@gnu.org>
186         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
187         Add native profiler menu entries.
189         * profiler.el (profiler-running-p): New function.
190         (profiler-cpu-profile): Use profiler-running-p.
191         (profiler-report-mode-map): Add some more menu entries.
193 2013-01-19  Glenn Morris  <rgm@gnu.org>
195         * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
196         fixes 2012-12-07 change.  (Bug#13499)
198 2013-01-19  Leo Liu  <sdl.web@gmail.com>
200         * dired.el (dired-get-marked-files): Prune erroneous values due to
201         last change.  (Bug#13152)
203 2013-01-19  Glenn Morris  <rgm@gnu.org>
205         * progmodes/etags.el (tags-table-check-computed-list):
206         Preserve point in tags buffer.  (Bug#13412)
208         * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
210 2013-01-19  Christian Wittern  <cwittern@gmail.com>  (tiny change)
211             Chong Yidong  <cyd@gnu.org>
213         * image-mode.el (image-next-file, image-previous-file):
214         New commands (Bug#8453).
215         (image-mode-map): Bind them to n and p.
216         (image-mode--images-in-directory): New helper function.
218 2013-01-19  Chong Yidong  <cyd@gnu.org>
220         * image-mode.el (image-mode-fit-frame): Add a frame argument.
221         Suggested by Drew Adams (Bug#7730).  Handle window decorations;
222         save and restore the old window configuration.
224 2013-01-18  Leo Liu  <sdl.web@gmail.com>
226         * progmodes/js.el: Tweak autoload cookie for alias.
228 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
230         * autorevert.el (auto-revert-notify-watch-descriptor): Make it
231         buffer local, again.  This was lost with the fix on 2013-01-12.
233 2013-01-17  Jürgen Hötzel  <juergen@archlinux.org>
235         * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
236         order to support several eshell buffers in parallel.
238 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
240         * autorevert.el (auto-revert-use-notify): In the :set function, do
241         not modify `kill-buffer-hook'.
242         (auto-revert-notify-rm-watch):
243         Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
244         (auto-revert-notify-add-watch): Do not call
245         `auto-revert-notify-rm-watch', but add it to a buffer local
246         `kill-buffer-hook'.
248 2013-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
250         * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
251         call to `eval' rather than a backquoted lambda.
253 2013-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
255         * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
256         to return an explicit nil.
257         (advice--remove-function): Change accordingly.
259         * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
260         the use of nadvice.el.
262         * progmodes/which-func.el (which-function): Silence imenu errors
263         (bug#13433).
265 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
267         * progmodes/sql.el: (sql-imenu-generic-expression):
268         (sql-mode-font-lock-object-name): Match schema qualified names.
269         (sql-connect): Use string keys.
270         (sql-product-interactive): Wait for interpreter prompt.
271         (sql-comint-oracle): Set process coding based on NLS_LANG.
273 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
275         * progmodes/sql.el (sql-output-to-send): Remove, unused.
276         (sql-interactive-remove-continuation-prompt):
277         (sql-send-magic-terminator, sql-interactive-mode): Remove references.
279 2013-01-14  Leo Liu  <sdl.web@gmail.com>
281         * calendar/calendar.el (calendar-redraw): Sync window-point and point.
282         (Bug#13420)
284 2013-01-14  Glenn Morris  <rgm@gnu.org>
286         * progmodes/compile.el (compilation-error-regexp-alist-alist):
287         Fix interpretation of gnu line.col1-col2 format.  (Bug#13335)
289 2013-01-13  Fabián Ezequiel Gallina  <fgallina@cuca>
291         * progmodes/python.el (python-nav-end-of-statement):
292         Fix cornercase when handling multiline strings.
294 2013-01-13  Richard Stallman  <rms@gnu.org>
296         * mail/sendmail.el (mail-position-on-field): Add doc string.
298         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
299         Get current message boundaries and pass them to
300         message-forward-make-body-mime.  Minor style changes.
302 2013-01-13  Eli Zaretskii  <eliz@gnu.org>
304         * cus-start.el (all): Avoid warnings about
305         scroll-bar-adjust-thumb-portion on platforms where it is not defined.
307 2013-01-11  Jan Djärv  <jan.h.d@swipnet.se>
309         * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
311 2013-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
313         * jit-lock.el (jit-lock-debug-mode): New minor mode.
314         (jit-lock--debug-fontifying): New var.
315         (jit-lock--debug-fontify): New function.
316         * subr.el (condition-case-unless-debug): Don't prevent catching the
317         error, just let the debbugger run.
318         * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
319         timer code and don't drop errors silently.
321 2013-01-12  Michael Albinus  <michael.albinus@gmx.de>
323         * autorevert.el (auto-revert-notify-watch-descriptor): Give it
324         `permanent-local' property.
325         (auto-revert-notify-handler): Use `file-equal-p'.
327 2013-01-12  Eli Zaretskii  <eliz@gnu.org>
329         * autorevert.el (auto-revert-notify-handler): Fix filtering of
330         file notification by ACTION. For filtering by file name, compare
331         only the non-directory part of the file name.
333 2013-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
335         * autorevert.el: Use cl-lib instead of cl.
337         * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
338         (vc-bzr-checkin): Use it.
339         * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
340         will preserve match-data.
342 2013-01-11  Felix H. Dahlke  <fhd@ubercode.de>
344         * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
345         (js--declaration-keyword-re): New var.
346         (js--multi-line-declaration-indentation): New function.
347         (js--proper-indentation): Use it.
349 2013-01-11  Aaron S. Hawley  <Aaron.Hawley@vtinfo.com>
351         * calc/calc.el (calc-highlight-selections-with-faces)
352          (calc-dispatch):
353         * comint.el (comint-history-isearch-message):
354         * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
355         * ffap.el (ffap-string-at-point-region, ffap-next)
356         (ffap-string-at-point, ffap-string-around)
357         (ffap-copy-string-as-kill, ffap-highlight-overlay)
358         (ffap-literally):
359         * font-lock.el (font-lock-keywords-alist)
360         (font-lock-removed-keywords-alist):
361         * help-mode.el (help-xref-symbol-regexp):
362         * info.el (Info-find-emacs-command-nodes):
363         * international/mule.el (add-to-coding-system-list):
364         * isearch.el (isearch-message-function, isearch-fail-pos):
365         * misearch.el (multi-isearch-next-buffer-function):
366         * newcomment.el (comment-box):
367         * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
368         (pr-setting-database):
369         * progmodes/cc-fonts.el (c-font-lock-keywords-3)
370         (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
371         (java-font-lock-keywords-3, idl-font-lock-keywords-3)
372         (pike-font-lock-keywords-3):
373         * progmodes/compile.el (compile):
374         * progmodes/etags.el (tags-table-files)
375         (tags-table-files-function, tags-included-tables-function):
376         * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
377         (gdb-restore-windows):
378         * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
379         (ps-n-up-filling-database):
380         * server.el (server-buffer, server-log):
381         * simple.el (newline, delete-backward-char, delete-forward-char)
382         (minibuffer-history-isearch-message, kill-line, track-eol)
383         (temporary-goal-column):
384         * textmodes/flyspell.el (flyspell-mark-duplications-flag)
385         (flyspell-default-deplacement-commands):
386         * textmodes/ispell.el (ispell-accept-output):
387         * textmodes/sgml-mode.el (html-tag-help):
388         * vc/compare-w.el (compare-ignore-whitespace)
389         (compare-ignore-case, compare-windows-dehighlight):
390         * vc/diff.el (diff):
391         * whitespace.el (whitespace-point)
392         (whitespace-font-lock-refontify, whitespace-bob-marker)
393         (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
395 2013-01-11  Michael Albinus  <michael.albinus@gmx.de>
397         * autorevert.el (top): Require 'cl in order to pacify byte compiler.
398         (auto-revert-notify-rm-watch): Ignore errors.
399         (auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
400         inotify, and '(size last-write-time) for w32notify.
401         Set buffer-local `auto-revert-use-notify' to nil when adding a file
402         watch fails - this is a fallback to the file modification check.
403         (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
404         (auto-revert-notify-event-action)
405         (auto-revert-notify-event-file-name): New defuns.
406         (auto-revert-notify-handler): Use them.  Implement first
407         plausibility checks.
408         (auto-revert-handler): Handle also `auto-revert-tail-mode'.
410 2013-01-11  Julien Danjou  <julien@danjou.info>
412         * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
413         max are almost equal. Also return the correct value for V which is
414         already between 0 and 1.
416 2013-01-11  Dmitry Antipov  <dmantipov@yandex.ru>
418         * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
420 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
422         * autorevert.el (auto-revert-notify-rm-watch)
423         (auto-revert-notify-add-watch): Fix typos in w32notify function
424         names.
426 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
428         * autorevert.el (auto-revert-notify-enabled): Move up.
429         (auto-revert-use-notify): New defcustom.
430         (auto-revert-mode, global-auto-revert-mode)
431         (auto-revert-notify-add-watch, auto-revert-handler)
432         (auto-revert-buffers): Use `auto-revert-use-notify' instead of
433         `auto-revert-notify-enabled'.
435 2013-01-10  Elias Pipping  <pipping@exherbo.org>
437         * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
438         * doc-view.el (doc-view-document->bitmap):
439         Use doc-view-single-page-converter-function instead of
440         single-page-converter arg; adjust callers.
442 2013-01-10  Feng Li  <fengli@gmail.com>  (tiny change)
444         * progmodes/which-func.el (which-function): Understand Semantic's use
445         of overlays in imenu--index-alist.
447 2013-01-10  Wolfgang Jenkner  <wjenkner@inode.at>
449         * man.el: Handle different "man -k" behaviors (bug#13160).  Use utf-8.
450         (Man-man-k-use-anchor): New var.
451         (Man-parse-man-k): New function.
452         (Man-completion-table): Use it.
453         (man): Flush the completion cache between uses.
455 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
457         * autorevert.el: Add file watch support.
458         (auto-revert-notify-enabled): New defconst.
459         (auto-revert-notify-watch-descriptor-hash-list)
460         (auto-revert-notify-watch-descriptor)
461         (auto-revert-notify-modified-p): New defvars.
462         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
463         (auto-revert-notify-handler): New defuns.
464         (auto-revert-mode, global-auto-revert-mode): Remove file watches
465         when mode is disabled.
466         (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
467         (auto-revert-buffers): Add file watches for active buffers.
469 2013-01-10  Dmitry Antipov  <dmantipov@yandex.ru>
471         * cus-start.el (toplevel): Only allow float values for
472         scroll-up-aggressively and scroll-down-aggressively.
473         Allow any number for line-spacing.
475 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
477         * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
478         (doc-view-pdf->png-converter-function): Use mupdf if available.
479         (doc-view-djvu->png-converter-function)
480         (doc-view-ps->png-converter-function): Remove.
481         (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
482         (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
483         (doc-view-already-converted-p): Adjust accordingly.
484         (doc-view-mode-p): Simplify.
485         (doc-view-enlarge): Use setq-local.
486         (doc-view-pdf->png-converter-ghostscript)
487         (doc-view-djvu->png-converter-ddjvu)
488         (doc-view-pdf->png-converter-mupdf): Rework to call
489         doc-view-start-process directly.
490         (doc-view-pdf/ps->png): Simplify accordingly.
491         (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
492         (doc-view-document->bitmap): Rename from doc-view-document->png.
493         (doc-view-convert-current-doc): Merge pdf and djvu cases.
494         (doc-view-set-slice-from-bounding-box): Fix completion table.
495         (doc-view-mode): Use add-hook for after-revert-hook.
497 2013-01-10  Glenn Morris  <rgm@gnu.org>
499         * emacs-lisp/authors.el (authors-ignored-files)
500         (authors-valid-file-names, authors-renamed-files-alist):
501         Add some more entries.
503 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
505         * image-mode.el (image-mode-winprops): Don't throw away the fallback
506         `t' pseudo-window entry.
508 2013-01-10  Alan Mackenzie  <acm@muc.de>
510         Fix bugs in the c-parse-state mechanism.  Reuse some markers
511         instead of continually generating new ones.
513         * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
514         (c-state-old-cpp-end-marker): New variables.
515         (c-append-lower-brace-pair-to-state-cache): Start a backward
516         search for "}" definitively outside CPP constructs.
517         (c-remove-stale-state-cache): Inform the caller of a need to
518         search back for a brace pair in certain circumstances.
519         (c-state-maybe-marker): New macro.
520         (c-parse-state): Reuse markers when appropriate.
522 2013-01-10  Glenn Morris  <rgm@gnu.org>
524         * simple.el (execute-extended-command): Doc fix.
525         Bind prefix-arg around read-extended-command, for prompt.  (Bug#13395)
527 2013-01-10  Chong Yidong  <cyd@gnu.org>
529         * faces.el (read-face-name): Doc fix.
531 2013-01-10  Roland Winkler  <winkler@gnu.org>
533         * emacs-lisp/crm.el: Allow any regexp for separators.
534         (crm-default-separator): All spaces around the default comma separator.
535         (crm--completion-command): New macro.
536         (crm-completion-help, crm-complete, crm-complete-word): Use it.
537         (crm-complete-and-exit): Handle non-single-char separators.
539 2013-01-09  Elias Pipping  <pipping@lavabit.com>
541         * doc-view.el: Add support for DjVu (bug#13164).
542         (doc-view-djvu->png-converter-function): New config var.
543         (doc-view-single-page-converter-function, doc-view--image-type)
544         (doc-view--image-file-extension): New vars.
545         (doc-view-mode): Initialize them.
546         (doc-view-goto-page): Use them.
547         (doc-view-mode-p): Add support for ddjvu.
548         (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
549         (doc-view-set-up-single-converter): New funs.
550         (doc-view-pdf/ps->png): Extend for djvu.
551         (doc-view-document->png): Rename from doc-view-pdf->png.
552         (doc-view-convert-current-doc): Handle djvu.
553         (doc-view-insert-image, doc-view-display)
554         (doc-view-already-converted-p): Don't hardcode png.
555         (doc-view-set-doc-type): Recognize djvu docs.
557 2013-01-09  Elias Pipping  <pipping@lavabit.com>
559         * doc-view.el: Add support for mupdf converter (bug#13164).
560         (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
561         (doc-view-ps->png-converter-function): New config vars.
562         (doc-view-pdf->png-converter-ghostscript)
563         (doc-view-ps->png-converter-ghostscript)
564         (doc-view-pdf->png-converter-mupdf): New functions.
565         (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
567 2013-01-09  Jürgen Hötzel  <juergen@archlinux.org>
569         * net/tramp.el (tramp-eshell-directory-change): Check remote-path
570         first in session cache: When `tramp-own-remote-path' is in
571         `tramp-remote-path', the remote path is only set in the session
572         cache.
574 2013-01-09  Glenn Morris  <rgm@gnu.org>
576         * emacs-lisp/trace.el (trace-function-foreground)
577         (trace-function-background): Doc fix.
579 2013-01-09  Juri Linkov  <juri@jurta.org>
581         * international/mule-cmds.el (read-char-by-name): Move let-binding
582         of completion-ignore-case around completing-read to fix regression
583         exhibited by the test case `C-x 8 RET *acc TAB' and caused by
584         `string-match-p' using the nil value of `case-fold-search' and
585         `completion-ignore-case' in `completion-pcm--all-completions'.
586         (Bug#12615).
588 2013-01-09  Glenn Morris  <rgm@gnu.org>
590         * progmodes/compile.el (compilation-parse-errors):
591         Fix typo.  (Bug#13369)
593 2013-01-09  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
595         * comint.el (comint-send-input): Check size of buffer before
596         waiting for process output, in case already accepted.  (Bug#13290)
598 2013-01-09  Paul Eggert  <eggert@cs.ucla.edu>
600         Spelling fixes.
601         * net/tramp-adb.el (tramp-adb-get-toolbox):
602         Fix misspelling of 'unknown'.
604 2013-01-08  Juri Linkov  <juri@jurta.org>
606         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
607         * progmodes/flymake.el (flymake-errline, flymake-warnline):
608         Use underline style wave on terminals that support it.  (Bug#13000)
610 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
612         * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
613         the predicate returns nil.
615         * simple.el: Use lexical-binding.
616         (primitive-undo): Use pcase.
617         (minibuffer-history-isearch-push-state): Use a closure.
619 2013-01-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
621         * simple.el (primitive-undo): Move from undo.c.
623 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
625         * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
626         (cvs-mode-remove-handled): Use it (bug#13380).
628         * emacs-lisp/nadvice.el (advice--tweak): New function.
629         (advice--remove-function, advice--subst-main): Use it.
631         * emacs-lisp/advice.el: Update commentary.
633 2013-01-08  Michael Albinus  <michael.albinus@gmx.de>
635         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
636         Remove spurious entry.
638 2013-01-08  Glenn Morris  <rgm@gnu.org>
640         * net/tramp.el (tramp-default-host-alist): Add :version.
642 2013-01-08  Juri Linkov  <juri@jurta.org>
644         * info.el (Info-read-node-name-2): Don't duplicate suffixes for
645         single completion.  (Bug#12456)
646         (info--manual-names): Expand node completions into an explicit list
647         before appending it to another list.  Filter out internal buffers
648         with the leading space in the buffer name.  (Bug#10771)
650 2013-01-08  Juri Linkov  <juri@jurta.org>
652         * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
653         that defaults to the Top node.
654         (Info-goto-node, Info-read-node-name): Doc fix to mention that
655         the short format (FILENAME) goes to the Top node.
656         (Info-build-node-completions): Rename arg `file' to `filename'.
657         (Bug#13365)
659 2013-01-07  Bastien Guerry  <bzg@gnu.org>
661         * menu-bar.el (menu-bar-search-documentation-menu):
662         Use `apropos-user-option' and fix the help message.
664 2013-01-07  Bastien Guerry  <bzg@gnu.org>
666         * apropos.el (apropos-do-all): Update docstring.
667         (apropos-user-option-button): New face.
668         (apropos-user-option): Rename from `apropos-variable' and update
669         docstring.
670         (apropos-variable): Rewrite, now show all variables by default.
671         (apropos-print): Mention "User option" instead of "Variable" when
672         printing doc for user options.  (Bug#13276)
674 2013-01-07  Jürgen Hötzel  <juergen@archlinux.org>
676         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
677         Handle filename correctly, when parsing "source -> target" symlink
678         output.
679         (tramp-adb-handle-set-file-times): New defun.
681 2013-01-07  Stefan Monnier  <monnier@iro.umontreal.ca>
683         * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
684         advice list when the interactive-spec of ad-Advice-* changes.
686 2013-01-07  Katsumi Yamaoka  <yamaoka@jpl.org>
688         * wid-edit.el (widget-default-get): Work for inlined elements.
689         (Bug#12670)
691 2013-01-07  Michael Albinus  <michael.albinus@gmx.de>
693         * net/tramp.el (tramp-default-host-alist): New defcustom.
694         (tramp-find-host): Use it.
695         (tramp-eshell-directory-change): Move from tramp-sh.el.  Add to
696         `eshell-directory-change-hook'.
698         * net/tramp-adb.el (top): Add adb specific entry in
699         `tramp-default-host-alist'.
700         (tramp-adb-file-name-host): Remove function.
701         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
702         Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
704         * net/tramp-sh.el: Move eshell integration code to tramp.el.
706 2013-01-06  Jürgen Hötzel  <juergen@archlinux.org>
708         * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
710 2013-01-06  Michael Albinus  <michael.albinus@gmx.de>
712         * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
713         consist of more than one digit.
714         (tramp-adb-file-name-handler-alist):
715         Use `tramp-handle-file-exists-p' consistently.
716         (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
717         (tramp-adb-handle-file-exists-p): Remove function.
718         (tramp-adb-file-name-host): New defun.
719         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
720         Use it.
721         (tramp-adb-maybe-open-connection): Set "remote-path" property.
723 2013-01-06  Chong Yidong  <cyd@gnu.org>
725         * vc/vc.el (vc-next-action): Detect buffer modifications
726         conflicting with locking VCS operation (Bug#11490).
728         * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
730 2013-01-05  Michael Albinus  <michael.albinus@gmx.de>
732         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
733         (tramp-adb-handle-directory-files-and-attributes): Fix typos.
735 2013-01-05  Jürgen Hötzel  <juergen@archlinux.org>
737         * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
738         parsing of ls output using regular expression (handle filenames
739         with spaces).  Use virtual device number.
740         (tramp-do-parse-file-attributes-with-ls): New defun (Code
741         cleanup).
743 2013-01-04  Daiki Ueno  <ueno@gnu.org>
745         * epg.el: Silence byte-compiler warnings.
746         (epg--start): Use delete-char instead of delete-backward-char.
747         (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
749 2013-01-04  Daiki Ueno  <ueno@gnu.org>
751         * epg.el (epg--start): Don't call "tty" program on W32 platforms.
752         Suggested by Eli Zaretskii  <eliz@gnu.org>.
754 2013-01-04  Michael Albinus  <michael.albinus@gmx.de>
756         * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
757         non-negative integers.  Otherwise, the default values are used.
758         (tramp-convert-file-attributes): Convert uid and gid to integers.
760 2013-01-04  Glenn Morris  <rgm@gnu.org>
762         * term.el (term-handle-colors-array): Ensure face attributes
763         are fully specified, not nil.  (Bug#13337)
765         * term.el (term-default-fg-color, term-default-bg-color):
766         Fix custom type.
768         * progmodes/etags.el (tags-compression-info-list): Doc fix.
769         (tag-find-file-of-tag-noselect): Check auto-compression-mode
770         rather than 'jka-compr being loaded.  (Bug#13338)
772 2013-01-04  Wesley Dawson  <whd@lavabit.com>  (tiny change)
774         * icomplete.el (icomplete-completions):
775         Honor icomplete-prospects-height once more following
776         2012-11-29 changes.  (Bug#13224)
778 2013-01-04  Stefan Monnier  <monnier@iro.umontreal.ca>
780         * subr.el (internal--called-interactively-p--get-frame): Find aliases
781         of called-interactively-p as well (bug#13237).
783         * view.el (view--enable, view--disable): Rename from view-mode-enable
784         and view-mode-disable and assume it's called from view-mode.
785         (view-mode-enable, view-mode-disable): Redefine as obsolete
786         compatibility layer above view-mode.
787         (view-mode-enter): Call `view-mode'.
789         * files.el (after-find-file): Call `view-mode'.
791         * doc-view.el (doc-view-scale-internally): New var.
792         (doc-view-enlarge, doc-view-insert-image): Obey it.
794 2013-01-03  Daiki Ueno  <ueno@gnu.org>
796         * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
797         exist.  (Bug#13344)
799 2013-01-03  Glenn Morris  <rgm@gnu.org>
801         * mail/rmail.el (rmail-set-header-1): Ignore case.
802         Handle multi-line headers.  (Bug#13330)
804         * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
805         Handle paragraph starting at beginning of buffer.
807         * subr.el (eval-after-load): Don't purecopy the form, so that it
808         can be nconc'd later on; reverts 2009-11-11 change.  (Bug#13331)
810         * emacs-lisp/byte-run.el (defun): Place cl declarations
811         after any interactive spec.  (Bug#13265)
813 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
815         * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
816         defun.  Don't check for DECL if DOCSTRING isn't a string.
817         (defun): Likewise.
819 2013-01-02  Glenn Morris  <rgm@gnu.org>
821         * eshell/em-cmpl.el (eshell-pcomplete):
822         More thoroughly imitate pcomplete.  (Bug#13293)
824         * files.el (parse-colon-path): Doc fix.  (Bug#12351)
825         Return nil for empty path elements.  (Bug#13296)
827 2013-01-02  Fabián Ezequiel Gallina  <fgallina@cuca>
829         * progmodes/python.el (python-nav-end-of-statement): Rewrite in
830         order to improve efficiency (Based on Daniel Colascione's
831         <dancol@dancol.org> patch).  (Bug#13182)
833 2013-01-02  Glenn Morris  <rgm@gnu.org>
835         * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
837 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
839         * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
840         neither DOCSTRING nor DECL was given.  (Bug#13316)
842 2013-01-02  Michael Albinus  <michael.albinus@gmx.de>
844         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
845         `error' call.
846         (tramp-do-copy-or-rename-file): Ignore errors when calling
847         `set-file-extended-attributes'.
849         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
850         Add handler for `file-acl'.
851         (tramp-smb-handle-file-acl): New defun.
853 2013-01-02  Jay Belanger  <jay.p.belanger@gmail.com>
855         * calc/README: Mention ISO 8601 week-numbering dates.
857 2013-01-01  Martin Rudalics  <rudalics@gmx.at>
859         * view.el (view-mode-enable): New argument run-view-mode-hook.
860         Run view-mode-hook only when it's non-nil (Bug#13315).
861         (view-mode-enter): Call view-mode-enable with run-view-mode-hook
862         argument t.
864 2012-12-31  Jürgen Hötzel  <juergen@archlinux.org>
866         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
867         (No device connected, invalid device name). (Bug #13299)
869 2012-12-31  Martin Rudalics  <rudalics@gmx.at>
871         * window.el (window-resizable--p): Rename to window-resizable-p.
872         (window-resize-no-error): New function.
874         * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
875         broken in fix from 2012-12-28.
877 2012-12-31  Stefan Monnier  <monnier@iro.umontreal.ca>
879         * subr.el (special-form-p): Don't signal errors on undef aliases.
881 2012-12-31  Jay Belanger  <jay.p.belanger@gmail.com>
883         * calc/calc-forms.el (math-parse-date): Try using
884         `math-parse-iso-date' when it looks like it might be needed.
885         Allow times of 24:00.
886         (math-parse-date-validate, math-parse-iso-date-validate):  Allow times
887         of 24:00.
889 2012-12-30  Glenn Morris  <rgm@gnu.org>
891         * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
892         Remove unnecessary/buggy autoloads (missing interactive).  (Bug#13294)
893         (rmail-summary-displayed, rmail-summary): Declare.
894         (mairix-rmail-display): Just require rmail.
896 2012-12-30  Chong Yidong  <cyd@gnu.org>
898         * emacs-lisp/package.el (package-untar-buffer): Improve integrity
899         check for the tarball contents.
901 2012-12-30  Matt Fidler  <matt.fidler@alcon.com>  (tiny change)
903         * emacs-lisp/package.el (package-untar-buffer): Handle problematic
904         tarfile content listings (Bug#13136).
906 2012-12-30  Mark Lillibridge  <mark.lillibridge@hp.com>
908         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
909         Insert the undecoded text of the message being forwarded.  (Bug#9521)
911 2012-12-30  Michael Albinus  <michael.albinus@gmx.de>
913         * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
914         integers, if they are real numbers.  (Bug#13282)
916         * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
917         Return `t' on success.
919         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
920         Add handler for `set-file-selinux-context'.
922 2012-12-29  Michael Albinus  <michael.albinus@gmx.de>
924         * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
925         (tramp-sh-handle-set-file-acl): Return `t' on success.
927 2012-12-29  Eli Zaretskii  <eliz@gnu.org>
929         * files.el (backup-buffer-copy, basic-save-buffer-2):
930         If set-file-extended-attributes fails, fall back on set-file-modes
931         instead of signaling an error.  (Bug#13298)
932         (basic-save-buffer): Likewise.
934 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
936         * progmodes/python.el: Support other commands triggering
937         python-indent-line so indentation cycling continues to work.
938         (python-indent-trigger-commands): New defcustom.
939         (python-indent-line): Use it.
941 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
943         * progmodes/python.el (python-shell-send-region): Add blank lines
944         for non sent code so backtraces remain correct.
946 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
948         * progmodes/python.el: Remove cl dependency.
949         (python-syntax-count-quotes): Replace incf call.
950         (python-fill-string): Replace setf call.
952 2012-12-29  Damien Cassou  <damien.cassou@gmail.com>
954         * info.el (info-other-window): New arg, for consistency with info.
956 2012-12-28  Martin Rudalics  <rudalics@gmx.at>
958         * mail/rmail.el (rmail-maybe-display-summary):
959         Rewrite (Bug#13066).
961 2012-12-28  Andreas Schwab  <schwab@linux-m68k.org>
963         * epg.el (epg--start): Modify process-environment locally.
965 2012-12-28  Daiki Ueno  <ueno@gnu.org>
967         * epg.el: Support pinentry-curses.
968         Suggested by Werner Koch in
969         <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
970         (epg-agent-file, epg-agent-mtime): New variable.
971         (epg--start): Record the modified time of gpg-agent socket file,
972         to restore Emacs frame after pinentry-curses termination.
973         (epg-wait-for-completion): Restore Emacs frame here.
975 2012-12-27  Juri Linkov  <juri@jurta.org>
977         * info.el (Info-file-completions): New variable.
978         (Info-read-node-name-1): Complete node names in the Info file
979         when a file name is given.  Call `Info-build-node-completions'
980         with a file name.
981         (Info-build-node-completions): Add new arg `file'.  When it is
982         non-nil, visit it in a temporary buffer and cache its completions in
983         `Info-current-file-completions'.  Move most of the function body to
984         `Info-build-node-completions-1'.
985         (Info-build-node-completions-1): New function with the body from
986         `Info-build-node-completions'.  (Bug#12456)
988 2012-12-27  Juri Linkov  <juri@jurta.org>
990         * frame.el (frame-maximization-style): Remove user option.
991         (cycle-frame-maximized): Remove function.
992         (toggle-frame-maximized): Rewrite and bind to M-<f10>.
993         (toggle-frame-fullscreen): New command bound to <f11> instead of
994         `toggle-frame-maximized'.
995         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
997 2012-12-27  Michael Albinus  <michael.albinus@gmx.de>
999         * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1001         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1002         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1003         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1004         for `file-accessible-directory-p'.  (Bug#13275)
1006 2012-12-27  Sam Steingold  <sds@gnu.org>
1008         * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1009         continuations, see <http://stackoverflow.com/questions/3582436>.
1011 2012-12-27  Dmitry Gutov  <dgutov@yandex.ru>
1013         * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1014         "module" and "def" to have indentation before them.
1015         Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1017         * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1019 2012-12-27  Alan Mackenzie  <acm@muc.de>
1021         Speed up fontification where there's large brace blocks.
1022         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1023         to a call of c-beginning-of-decl-1.
1025 2012-12-27  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
1027         * comint.el (comint-adjust-window-point): New function.
1028         (comint-postoutput-scroll-to-bottom):
1029         Call comint-adjust-window-point (Bug#13248).
1031 2012-12-26  Dmitry Gutov  <dgutov@yandex.ru>
1033         * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1034         Rakefile regexp.
1035         (auto-mode-alist): Associate .gemspec files with ruby-mode
1036         (https://bugs.ruby-lang.org/issues/5453).
1038 2012-12-26  Jürgen Hötzel  <juergen@archlinux.org>
1040         * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1041         Suppress coloring, if possible (required for BusyBox based systems like
1042         CyanogenMod).
1043         (tramp-adb-handle-file-attributes)
1044         (tramp-adb-handle-insert-directory)
1045         (tramp-adb-handle-file-name-all-completions): Use it.
1046         (tramp-adb-get-toolbox): New defun.  Check for remote shell
1047         implementation (BusyBox or Toolbox).
1049 2012-12-24  Constantin Kulikov <zxnotdead@gmail.com>  (tiny change)
1051         * startup.el (initial-buffer-choice): Allow function as value
1052         (Bug#13251).
1053         (command-line-1): Handle case where initial-buffer-choice
1054         specifies a function.
1055         * server.el (server-execute): Handle case where
1056         initial-buffer-choice specifies a function.
1058 2012-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
1060         * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1061         its own function.
1062         (smtpmail-try-auth-methods): Forget the user name/password if the
1063         login is unsuccessful (bug#12424).
1065 2012-12-22  Michael Albinus  <michael.albinus@gmx.de>
1067         * notifications.el (notifications-notify): Protect body with
1068         `with-demoted-errors'.
1070         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1071         Check properties of remote device.  Restart connection, if there is a
1072         change.
1074 2012-12-21  Chong Yidong  <cyd@gnu.org>
1076         * sort.el (sort-subr): Doc fix (Bug#13056).
1078 2012-12-21  Bastien Guerry  <bzg@gnu.org>
1080         * progmodes/etags.el (tags-search): Fix typo.  Bug #13232.
1082 2012-12-21  Michael Albinus  <michael.albinus@gmx.de>
1084         * simple.el (process-file): Overwrite stderr file, if exists.
1086 2012-12-21  Daiki Ueno  <ueno@gnu.org>
1088         * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1089         (epg-error): Set `error-message' property.
1091 2012-12-21  Chong Yidong  <cyd@gnu.org>
1093         * international/mule-cmds.el (read-char-by-name): Signal an error
1094         if the user does not supply a valid character (Bug#13177).
1096         * simple.el (transpose-subr-1): Preserve marker positions by
1097         changing the insertion sequence (Bug#13122).
1099 2012-12-21  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
1101         * simple.el (kill-region): Deactivate mark even for empty regions
1102         (Bug#13169).
1104 2012-12-21  Chong Yidong  <cyd@gnu.org>
1106         * help-fns.el (describe-variable): Make sure we get the right
1107         buffer name (Bug#13105).  Suggested by Kelly Dean.
1109 2012-12-20  Michael R. Mauger  <mmaug@yahoo.com>
1111         * comint.el (comint-redirect-previous-input-string): New variable.
1112         (comint-redirect-setup, comint-redirect-cleanup)
1113         (comint-redirect-preoutput-filter): Use it.  Fixes redirection bug.
1114         (comint-redirect-preoutput-filter): Fix verbose message.
1116 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
1118         * progmodes/grep.el (rgrep): Escape command line.  Sometimes, it
1119         is too long for Tramp.  See discussion in
1120         <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1122         * progmodes/compile.el (compilation-start): Remove line escape
1123         template.
1125 2012-12-20  Dmitry Antipov  <dmantipov@yandex.ru>
1127         * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1128         Adjust comment.
1130 2012-12-19  Jonas Bernoulli  <jonas@bernoul.li>
1132         * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1133         following non-comment text (bug#13207).
1134         (lm-header-multiline): Continuation lines need to be indented more than
1135         the first line.
1136         (lm-homepage): New function.
1137         (lm-with-file): Don't be confused if narrowing is in effect.
1139 2012-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1141         * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1142         very beginning of a hunk (e.g. killing the first line).
1144 2012-12-19  Michael Albinus  <michael.albinus@gmx.de>
1146         * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1147         and text properties from returned ACL string.
1148         (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1149         for "setfacl" command.
1151 2012-12-18  Michael Albinus  <michael.albinus@gmx.de>
1153         * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1154         `tramp-cleanup-this-connection', when the process has died.
1155         (Bug#13151)
1157 2012-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1159         * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1161 2012-12-17  Kevin Ryde  <user42@zip.com.au>
1163         * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1165 2012-12-17  Michael Albinus  <michael.albinus@gmx.de>
1167         Add support for preserving ACL entries of files.
1169         * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1170         `set-file-acl' handlers.
1172         * net/tramp-adb.el (tramp-adb-handle-copy-file):
1173         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1175         * net/tramp-compat.el (tramp-compat-copy-file):
1176         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1178         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1179         Add `file-acl' and `set-file-acl' handlers.
1180         (tramp-gvfs-handle-copy-file):
1181         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1182         (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1183         New defuns.
1185         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1186         Add `file-acl' and `set-file-acl' handlers.
1187         (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1188         (tramp-sh-handle-set-file-acl): New defuns.
1189         (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1190         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1192         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1193         Add `file-acl' and `set-file-acl' handlers.
1194         (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1196 2012-12-17  Kelly Dean  <kellydeanch@yahoo.com> (tiny change)
1198         * help-macro.el (make-help-screen): Instead of switch-to-buffer
1199         use pop-to-buffer with NORECORD argument t.  As buffer name, use
1200         *Metahelp* with a leading space (Bug#13190).
1202 2012-12-16  Romain Francoise  <romain@orebokech.com>
1204         * files.el (file-extended-attributes)
1205         (set-file-extended-attributes): New functions.
1206         (backup-buffer): Use them to handle both SELinux context and ACL
1207         entries.
1208         (backup-buffer-copy): Work with an alist of extended attributes,
1209         rather than an SELinux context.
1210         (basic-save-buffer-2): Ditto.
1212 2012-12-16  Timo Myyrä  <timo.myyra@gmail.com>
1214         * battery.el (battery-bsd-apm): New function.
1216 2012-12-16  Jay Belanger  <jay.p.belanger@gmail.com>
1218         * calc/calc.el (calc-standard-date-formats): Adjust one of the
1219         standard date formats.
1221 2012-12-15  Juri Linkov  <juri@jurta.org>
1223         * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1224         `isearch-insert-char-by-name'.
1225         (with-isearch-suspended): New defmacro with body mostly from
1226         `isearch-edit-string' except the part that sets
1227         `isearch-new-string' and `isearch-new-message'.
1228         (isearch-edit-string): Use new macro `with-isearch-suspended' with
1229         body that sets `isearch-new-string' and `isearch-new-message'.
1230         (isearch-insert-char-by-name): New command.
1231         * international/mule-cmds.el (read-char-by-name): Let-bind
1232         `enable-recursive-minibuffers' to t.
1233         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1235 2012-12-15  Juri Linkov  <juri@jurta.org>
1237         * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1238         (Bug#13175)
1240 2012-12-15  Christopher Schmidt  <christopher@ch.ristopher.com>
1242         * dired-x.el (dired-guess-shell-command): Put colon at the end of
1243         the prompt.  (Bug#13045)
1245 2012-12-14  Glenn Morris  <rgm@gnu.org>
1247         * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1248         Try to include filename in non-bytecomp warning.  (Bug#13132)
1250 2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>
1252         Fix permissions bugs with setgid directories etc. (Bug#13125)
1253         * files.el (backup-buffer): Don't rely on 9th output of
1254         file-attributes, as it's now a placeholder.  Instead, use the new
1255         optional arg of file-ownership-preserved-p.
1256         (file-ownership-preserved-p): New optional arg GROUP.
1257         Fix mishandling of setuid directories that would cause this
1258         function to return t when it should have returned nil.
1259         Document what happens if the file does not exist, and when
1260         it's not known whether the ownership will be preserved.
1261         * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1262         Likewise.
1263         (tramp-get-local-gid): Use group-gid for integer, as that's
1264         faster and more reliable.
1266 2012-12-14  Julien Danjou  <julien@danjou.info>
1268         * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1269         Update keywords list, data type and PL/pgSQL.
1271 2012-12-14  Dave Abrahams  <dave@boostpro.com>
1273         * vc/ediff-util.el (ediff-buffer-type): New function.
1274         (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1275         rather than taking it as as argument.
1276         (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1278 2012-12-14  Ryan Crum  <ryan.crum@eleostech.com>
1280         * json.el: Add pretty-print option (bug#12634).
1281         (json-encoding-separator, json-encoding-default-indentation)
1282         (json--encoding-current-indentation, json-encoding-pretty-print)
1283         (json-encoding-lisp-style-closings): New vars.
1284         (json--with-indentation): New macro.
1285         (json-encode-hash-table, json-encode-alist, json-encode-plist)
1286         (json-encode-array): Use it to obey json-encoding-pretty-print.
1287         (json-pretty-print-buffer, json-pretty-print): New commands.
1289 2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>
1291         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1292         Extract `ruby-syntax-propertize-expansions'.
1293         (ruby-syntax-propertize-expansions): Only change syntax on
1294         certain string delimiters, to punctuation.  This way the common
1295         functions like forward-word and thing-at-point still work.
1296         (ruby-match-expression-expansion): Improve readability.
1297         (ruby-block-contains-point): New function.
1298         (ruby-add-log-current-method): Handle several edge cases.
1300 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
1302         * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1303         unload-feature finishes even when aborting an ongoing edebug session.
1304         Also, do not worry about edebug-mode, unload-feature takes care of it.
1306 2012-12-13  Andreas Schwab  <schwab@suse.de>
1308         * net/tls.el (tls-program): Update customize type.
1310 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
1312         * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1313         (edebug-setup-hook, cl-read-load-hooks): Use it.
1314         (edebug-unload-function): New function.  (Bug#13163)
1316 2012-12-13  Michael Albinus  <michael.albinus@gmx.de>
1318         * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1319         Otherwise, there could be errors in autoloading.  (Bug#13151)
1321 2012-12-13  Jürgen Hötzel  <juergen@archlinux.org>
1323         * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1324         sequences.
1326 2012-12-13  Alan Mackenzie  <acm@muc.de>
1328         Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
1329         * progmodes/cc-engine.el (c-backward-comments): Add code to work
1330         around `forward-comment' not recognizing ^M as whitespace.
1332 2012-12-13  Fabián Ezequiel Gallina  <fgallina@cuca>
1334         * progmodes/python.el (python-skeleton-class)
1335         (python-skeleton-def): Do not add space after defun name.
1337 2012-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1339         * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1340         (cl--symbol-function): Remove (now that funbound is like nil).
1342 2012-12-12  Glenn Morris  <rgm@gnu.org>
1344         * button.el (button--area-button-p): Fix typo.
1346 2012-12-12  Sam Steingold  <sds@gnu.org>
1348         * frame.el (frame-maximization-style): New user option.
1349         (toggle-frame-maximized): Toggle frame maximization according to
1350         `frame-maximization-style', bound to <f11>.
1351         (cycle-frame-maximized): Cycle between all maximization styles and
1352         non-maximized frame, bound to shift-<f11>.
1354 2012-12-12  David Cadé  <codename68@gmail.com>
1356         * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1358 2012-12-12  Jonas Bernoulli  <jonas@bernoul.li>
1360         * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1361         (eieio-override-prin1): Don't quote kewords and booleans.
1362         (object-write) <eieio-default-superclass>: Don't put closing parens
1363         on new line, avoid needless empty lines, align values that are objects
1364         with the slot keyword (instead of beginning on the same line).
1365         (eieio-list-prin1): Align value with slot keyword; increase
1366         eieio-print-depth before printing members of the list.
1368 2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1370         * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1371         a display text-property.
1372         (report-emacs-bug-hook): Don't bother deleting it any more.
1374         * hilit-chg.el (highlight-save-buffer-state): Delete.
1375         Use with-silent-modifications instead.
1376         (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1378         * button.el: Handle buttons in display text-properties.
1379         (button--area-button-p, button--area-button-string):
1380         Use (STRING . STRING-POS) representation instead of just STRING.
1382 2012-12-11  Eli Zaretskii  <eliz@gnu.org>
1384         * makefile.w32-in (compile4-SH): Fix a typo that caused term
1385         subdirectory be skipped.
1387 2012-12-11  Glenn Morris  <rgm@gnu.org>
1389         * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1391         * progmodes/f90.el (f90-line-continued, f90-indent-region):
1392         Treat preprocessor lines embedded in continuations like comments.
1393         (f90-indent-line): Special-case preprocessor lines.  (Bug#13138)
1395 2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
1397         * calc/calc.el (calc-standard-date-formats):  Add more date
1398         formats.
1399         * calc/calc-forms.el (math-parse-iso-date): New function.
1400         (math-parse-date): Use `math-parse-iso-date' when appropriate.
1401         (math-parse-iso-date-validate): Add extra error checking.
1402         (calc-date-notation): Add ability to access new date formats.
1404 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1406         * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1407         font-lock as well as when there's no text-property.
1409 2012-12-10  Jambunathan K  <kjambunathan@gmail.com>
1411         * hi-lock.el: Refine the choice of default face.
1412         (hi-lock-keyword->face): New function.  Use it wherever we used
1413         cadadadr instead.
1414         (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1415         (hi-lock--last-face): Remove var.
1416         (hi-lock--unused-faces): New var to replace it.
1417         (hi-lock-read-face-name): Use/maintain it.
1418         (hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
1419         (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1420         if it has another face.
1422 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
1424         * subr.el (w32notify-handle-event): New function.
1425         (inotify-handle-event): Doc fix.
1427 2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1429         * subr.el (inotify-event-p, inotify-handle-event): New functions.
1431 2012-12-10  Dani Moncayo <dmoncayo@gmail.com>
1433         * simple.el (just-one-space): Doc fix.
1435 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
1437         * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
1439 2012-12-10  Le Wang  <l26wang@gmail.com>
1441         * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1442         narrowed buffer (bug#12361).
1444 2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
1446         * vc/vc-hooks.el (vc-state): Doc fix.
1448 2012-12-10  Glenn Morris  <rgm@gnu.org>
1450         * mail/rmail.el (rmail-maybe-display-summary):
1451         Preserve buffer, in case select-window changes it.  (Bug#13066)
1453 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1455         * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1456         cl-load-hook where they belong.
1458 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1460         * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1462 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
1464         Parallelize byte compilation on MS-Windows.
1465         * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
1466         (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
1467         (WINS_BASIC): Define as concatenation of the above.
1468         (compile): Subdivide into 4 separate and independent jobs that can
1469         be run in parallel.
1470         (compile0-CMD, compile0-SH): New targets for compiling
1471         COMPILE_FIRST files, which are prerequisites for the rest of the
1472         byte-compilation.
1473         (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1474         New targets for parallel compilation with cmd.exe.
1475         (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1476         compiling under a Unixy shell.
1478 2012-12-09  Chong Yidong  <cyd@gnu.org>
1480         * simple.el (set-mark-default-inactive): Delete this
1481         accidentally-introduced option.
1482         (set-mark-command, exchange-point-and-mark): Remove calls.
1484 2012-12-09  Glenn Morris  <rgm@gnu.org>
1486         * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1487         Respect a defcustom's :set function, if appropriate.  (Bug#109)
1488         (eval-defun): Doc fix.
1490 2012-12-08  Juri Linkov  <juri@jurta.org>
1492         * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1493         (Info-fontify-node, Info-bookmark-make-record): Remove the
1494         file extension from Info-current-file (Bug#13016).
1496 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1498         * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1499         point, still provide some default.
1500         (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1501         names, since we don't use it right now.  Actually return the list.
1502         (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1504 2012-12-07  Chong Yidong  <cyd@gnu.org>
1506         * novice.el (disabled-command-function): Remove a spurious help
1507         xref (Bug#13043).  Suggested by Kelly Dean.
1509         * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1510         syntax is specified (Bug#13025).
1512         * info.el (Info-set-mode-line): Remove the file extension from
1513         Info-current-file if there is one (Bug#13016).
1515 2012-12-07  Glenn Morris  <rgm@gnu.org>
1517         * mail/rmail.el (rmail-mime-decoded): New permanent local.
1518         (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1519         * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1520         and rmail-mime-decoded.  (Bug#9841)
1522         * mail/unrmail.el (unrmail-mbox-format): New option.  (Bug#6574)
1523         (batch-unrmail, unrmail): Doc fixes.
1524         (unrmail): Respect unrmail-mbox-format.
1525         * mail/rmail.el (rmail-mbox-format): New option.
1526         (rmail-show-message-1): Respect rmail-mbox-format.
1528 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1530         * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1532 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1534         Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
1535         * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1536         (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1537         (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1538         (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1539         (cl-progv): Don't rely on dynamic scoping to find the body.
1540         * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1541         (cl--proclaims-deferred): Rename from the "cl-" prefix.
1542         (cl-declaim): Use backquotes.
1543         * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1544         Use "cl--" prefix for the object's tag.
1546         * ses.el: Use advice-add/remove.
1547         (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1548         (copy-region-as-kill, yank): Use advice-add.
1549         (ses-unload-function): Use advice-remove.
1551 2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>
1553         * button.el: Make them work in header-lines (bug#12817).
1554         (button-map): Add bindings for header-line and mode-line use.
1555         (button-get, button-put, button-label): `button' may now be a string.
1556         (button-activate): Don't make it a defsubst.
1557         (button--area-button-p, button--area-button-string): New functions.
1558         (make-text-button): Fix the return value when `beg' was a string.
1559         (push-button): Handle the mode-line case.
1561 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1563         * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1564         (sql-signum): Remove.  Use `cl-signum' instead.
1565         (sql-read-passwd): Remove; use read-passwd instread.
1566         (sql-get-login-ext): Use read-string.
1567         (sql-get-login): Use dolist and pcase.
1568         (sql--completion-table): Rename from sql-try-completion.
1569         Use complete-with-action.
1570         (sql-mode): Don't change abbrev-all-caps globally.
1571         (sql-connect): Don't rely on dynamic scoping for `new-name'.
1572         (sql-postgres-completion-object): Initialize vars in their `let'.
1573         (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1574         (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1575         (sql-comint-interbase): Use a single append, without setq.
1576         (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1578         * hi-lock.el: Rework the default face and the serialize regexp code.
1579         (hi-lock--auto-select-face-defaults): Remove.
1580         (hi-lock-string-serialize-serial): Remove.
1581         (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1582         make weak.
1583         (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1584         equal string.
1585         (hi-lock-set-pattern): Adjust accordingly.
1586         (hi-lock--regexps-at-point): Simplify accordingly.
1587         (hi-lock--auto-select-face-defaults): Remove.
1588         (hi-lock--last-face): New var to replace it.
1589         (hi-lock-read-face-name): Rewrite (bug#11095).
1590         (hi-lock-unface-buffer): Arrange for the face to be the next default.
1592 2012-12-06  Michael Albinus  <michael.albinus@gmx.de>
1594         * net/tramp.el (tramp-replace-environment-variables):
1595         Hide compiler warning.
1596         (tramp-file-name-for-operation): Remove `executable-find',
1597         `start-process', `call-process' and `call-process-region'.
1599         * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
1601         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1602         compatibility.
1604         * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1606 2012-12-06  Chong Yidong  <cyd@gnu.org>
1608         * ffap.el (ffap-replace-file-component): Fix typo.
1610 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1612         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1613         fix open-paren-like token test (bug#12785).
1615 2012-12-06  Glenn Morris  <rgm@gnu.org>
1617         * mail/rmailsum.el (rmail-new-summary): Tweak for
1618         rmail-maybe-display-summary changing buffer.  (Bug#13066)
1620 2012-12-06  Juri Linkov  <juri@jurta.org>
1622         * info.el (Info-fontify-node): Don't hide the last newline.
1623         (Bug#12272)
1625 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
1627         * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1628         so as to enable message-read-from-minibuffer to expand mail aliases.
1630 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1632         * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1633         the `intangible' property.
1634         Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1636 2012-12-05  Deniz Dogan  <deniz@dogan.se>
1638         * net/rcirc.el (rcirc-urls): Update documentation.
1639         (rcirc-condition-filter): New function.
1640         (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1641         and exclude consecutive duplicate URLs (Bug#6082).
1643 2012-12-05  Michael Albinus  <michael.albinus@gmx.de>
1645         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1646         Check return code of copy command.
1648         * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1649         Use group `tramp'.  Add version.
1651 2012-12-05  Chong Yidong  <cyd@gnu.org>
1653         * ffap.el (ffap-url-regexp): Don't require matching at front of
1654         string (Bug#4952).
1655         (ffap-url-p): If only a substring matches, return that.
1656         (ffap-url-at-point): Use the return value of ffap-url-p.
1657         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1658         (find-file-at-point, dired-at-point, dired-at-point-prompter)
1659         (ffap-guess-file-name-at-point): Likewise.
1660         (ffap-replace-file-component): Fix typo.
1662         * info.el (info-display-manual): Add existing Info buffers, whose
1663         files may not be in Info-directory-list, to the completion.
1664         (info--manual-names): New helper function.
1666 2012-12-05  Glenn Morris  <rgm@gnu.org>
1668         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1669         New functions, for detecting and resolving conflicts.  (Bug#10709)
1671 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
1673         * hi-lock.el (hi-lock-auto-select-face): New user variable.
1674         (hi-lock-auto-select-face-defaults): New buffer local variable.
1675         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1676         (hi-lock-unface-buffer): Prompt user with useful defaults.
1677         With prefix arg, unhighlight all hi-lock patterns in buffer.
1679 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1681         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1683 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
1685         * Makefile.in (TRAMP_SRC):
1686         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1688 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
1690         * net/tramp-adb.el: New package.
1692 2012-12-04  Chong Yidong  <cyd@gnu.org>
1694         * terminal.el: Move to obsolete/.
1696         * longlines.el: Move to obsolete/.
1698         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1699         Remove code referring to longlines mode.
1701 2012-12-03  Juri Linkov  <juri@jurta.org>
1703         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
1705 2012-12-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1707         * textmodes/ispell.el (ispell-init-process)
1708         (ispell-start-process, ispell-internal-change-dictionary):
1709         Make sure personal dictionary name is expanded after initial
1710         `default-directory' value. Use expanded strings for
1711         keep/restart checks and for value (Bug#13019).
1713 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
1715         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1717 2012-12-03  Leo Liu  <sdl.web@gmail.com>
1719         * files.el (dir-locals-read-from-file): Check file non-empty
1720         before reading.  (Bug#13038)
1722 2012-12-03  Glenn Morris  <rgm@gnu.org>
1724         * jka-cmpr-hook.el (jka-compr-get-compression-info):
1725         Remove any version extension before checking filename.  (Bug#13006)
1726         (jka-compr-compression-info-list): Belated :version bump.
1728 2012-12-03  Chong Yidong  <cyd@gnu.org>
1730         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1732         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1733         (buffer-menu): Doc fix (Bug#12294).
1735 2012-12-03  Roland Winkler  <winkler@gnu.org>
1737         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1738         of diary-show-all-entries in the diary buffer (Bug#12994).
1740 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
1742         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1743         "<STDIN>".  This is binary safe.
1745 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
1747         * calc/calc-forms.el (math-absolute-from-iso-dt)
1748         (math-date-to-iso-dt, math-parse-iso-date-validate)
1749         (math-iso-dt-to-date): New functions.
1750         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1751         (math-fd-isoweekday): New variables.
1752         (calc-date-notation, math-parse-standard-date, math-format-date)
1753         (math-format-date-part): Add support for more formatting codes.
1755 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1757         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1758         current buffer's file name when called interactively (Bug#12488).
1760 2012-12-02  Juri Linkov  <juri@jurta.org>
1762         * info.el (info-display-manual): Don't clobber an existing Info
1763         buffer (Bug#10770).  Add completion (Bug#10771).
1765 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
1767         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1768         before using it for comparison (Bug#5297).
1770 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
1772         * textmodes/css-mode.el (css-current-defun-name): New function.
1773         (css-mode): Use it.
1775         * textmodes/sgml-mode.el (html-current-defun-name): New function.
1776         (html-mode): Use it.
1778 2012-12-01  Chong Yidong  <cyd@gnu.org>
1780         Modularize add-log-current-defun (Bug#2224).
1781         Suggested by Jari Aalto.
1783         * vc/add-log.el (add-log-current-defun-function): Doc fix.
1784         (add-log-current-defun): Move mode-specific code to other files.
1785         (add-log-lisp-like-modes, add-log-c-like-modes)
1786         (add-log-tex-like-modes): Variables deleted.
1788         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1789         (lisp-mode-variables): Use it.
1791         * progmodes/cc-mode.el (c-common-init):
1792         * progmodes/cperl-mode.el (cperl-mode): Set a value for
1793         add-log-current-defun-function.
1795         * progmodes/m4-mode.el (m4-current-defun-name): New function.
1796         (m4-mode): Use it.
1798         * progmodes/perl-mode.el (perl-current-defun-name): New.
1799         (perl-mode): Use it.
1801         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1802         Use lisp-current-defun-name.
1804         * textmodes/tex-mode.el (tex-current-defun-name): New.
1805         (tex-common-initialization): Use it.
1807         * textmodes/texinfo.el (texinfo-current-defun-name): New.
1808         (texinfo-mode): Use it.
1810 2012-12-01  Chong Yidong  <cyd@gnu.org>
1812         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1813         * progmodes/autoconf.el (autoconf-mode):
1814         * progmodes/js.el (js-mode):
1815         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1816         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1817         * progmodes/perl-mode.el (perl-mode):
1818         * progmodes/sh-script.el (sh-mode, sh-set-shell):
1819         * textmodes/css-mode.el (css-mode):
1820         * textmodes/sgml-mode.el (html-mode, sgml-mode)
1821         (sgml-tags-invisible, sgml-guess-indent):
1822         * textmodes/tex-mode.el (tex-common-initialization)
1823         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1824         (doctex-mode, plain-tex-mode, latex-mode):
1825         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1827 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
1829         * vc/vc-hg.el (vc-hg-next-revision):
1830         Ensure use of default "tip" output format.  (Bug#6968)
1832 2012-12-01  Kim F. Storm  <storm@cua.dk>
1834         * startup.el (fancy-startup-tail): Add a clickable link
1835         (Bug#2176).
1837 2012-12-01  Chong Yidong  <cyd@gnu.org>
1839         * startup.el (fancy-startup-tail): Improve the message about
1840         auto-save files (Bug#2176).
1842         * files.el (recover-session): Improve the descriptive message, and
1843         use substitute-command-keys.
1845 2012-12-01  Glenn Morris  <rgm@gnu.org>
1847         * ido.el (ido-file-internal):
1848         Handle other-window, other-frame for dired.  (Bug#13036)
1850 2012-11-30  Glenn Morris  <rgm@gnu.org>
1852         * icomplete.el (icomplete-separator): Fix :version.
1854 2012-11-30  Chong Yidong  <cyd@gnu.org>
1856         * shell.el (shell): For C-u M-x shell, use an inactive shell
1857         buffer as the default (Bug#1975).
1858         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1859         (shell-mode): Use them to reapply ansi colorization if Shell mode
1860         is re-enabled.
1862 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
1864         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1866 2012-11-30  Samuel Bronson  <naesten@gmail.com>
1868         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1869         flag to xargs, for compatibility with BSD xargs (Bug#11703).
1871 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
1873         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1874         by move-to-column (Bug#3234).
1876 2012-11-30  Chong Yidong  <cyd@gnu.org>
1878         * longlines.el (longlines-wrap-line, longlines-encode-region):
1879         Preserve text properties (Bug#1425).
1881 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
1883         * vc/vc.el (vc-register): Allow registering a file which is
1884         already registered with a different backend (Bug#10589).
1886 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
1887             Stefan Monnier  <monnier@iro.umontreal.ca>
1889         * icomplete.el: Change separator; add ido-style commands.
1890         (icomplete-show-key-bindings): Remove custom var.
1891         (icomplete-get-keys): Remove function.
1892         (icomplete-forward-completions, icomplete-backward-completions):
1893         New commands.
1894         (icomplete-minibuffer-map): New var.
1895         (icomplete-minibuffer-setup): Use it.
1896         (icomplete-exhibit): Don't delay if the list of completions is known.
1897         (icomplete-separator): New custom.
1898         (icomplete-completions): Use it.
1899         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1900         (minibuffer-force-complete-and-exit): New command.
1901         (minibuffer--complete-and-exit): New function extracted from
1902         minibuffer-complete-and-exit.
1903         (minibuffer-complete-and-exit): Use it.
1905         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1906         error message when the file doesn't exist (bug#12974).
1908 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
1910         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1912 2012-11-29  Glenn Morris  <rgm@gnu.org>
1914         * files.el (hack-dir-local-variables): Warn if try to set
1915         coding via dir-locals, since it doesn't work.  (Bug#7169)
1917         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
1918         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1919         Set buffer-local value of desktop-save-buffer.
1920         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1921         New functions.
1922         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1923         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1925         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
1926         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1927         Doc fix.
1928         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1929         Doc fixes.
1931 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
1933         * calc/calc-forms.el (calc-date-notation): Fix regexp
1934         used to find time codes.  Fix symbol for seconds.
1936 2012-11-27  Glenn Morris  <rgm@gnu.org>
1938         * emacs-lisp/derived.el (derived-mode-make-docstring):
1939         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
1941 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1943         * textmodes/table.el (table-insert): Don't use `symbol-name' on
1944         lexically scoped variables (bug#13005).
1946 2012-11-27  Glenn Morris  <rgm@gnu.org>
1948         * vc/vc-hooks.el (vc-mistrust-permissions):
1949         Default to t, to avoid data-loss.  (Bug#11490)
1951 2012-11-27  Fabián Ezequiel Gallina  <fgallina@cuca>
1953         * progmodes/python.el (python-indent-guess-indent-offset):
1954         If indentation is guessed make python-indent-offset buffer-local.
1956         Fix Imenu regression.
1957         * progmodes/python.el (python-nav-beginning-of-defun):
1958         Fix forward movement when statement(s) separates point from defun.
1959         (python-imenu-prev-index-position): New function.
1961 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
1963         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
1965         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1966         Don't set buffer-file-type.  Return nil.  (Bug#12989)
1968 2012-11-27  Glenn Morris  <rgm@gnu.org>
1970         * hippie-exp.el (hippie-expand-try-functions-list):
1971         Re-autoload it.  (Bug#12982)
1973 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
1975         * descr-text.el (describe-char-padded-string):
1976         Call internal-char-font only on GUI frames.  (Bug#11964)
1978 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
1980         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1981         and obsoletion message.
1983 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1985         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1986         the constructs to keep outside of the `cl-block' (bug#12977).
1988 2012-11-27  Chong Yidong  <cyd@gnu.org>
1990         * mouse.el (mouse-drag-line): Even if the line is not draggable,
1991         keep reading until we get the up-event anyway, in order to process
1992         the up-event for mouse-1-click-follows-link (Bug#12971).
1994 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1996         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1997         base function is not yet defined (bug#12965).
1998         (ad-activate-advised-definition): Use ad-compile-function.
1999         (ad-activate): Use cond.
2001 2012-11-25  Leo Liu  <sdl.web@gmail.com>
2003         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2004         (Bug#12979)
2006 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2008         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2009         reftex-section-info-function in order to be compatible with
2010         Texinfo integration.
2012         * textmodes/reftex.el (reftex-section-pre-regexp)
2013         (reftex-section-post-regexp, reftex-section-info-function):
2014         New variable.
2015         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2016         reftex-section-post-regexp, and reftex-section-info-function in order
2017         to be compatible with Texinfo integration.
2019         * textmodes/reftex-toc.el (reftex-toc-promote-action):
2020         use reftex-section-pre-regexp variable in order to be compatible with
2021         Texinfo integration.
2023 2012-11-25  Chong Yidong  <cyd@gnu.org>
2025         * faces.el: Make face-spec-set more analogous to setq.
2026         (face-spec-set): Change the third arg to specify whether this
2027         function is being called via defface, customize, or a third party.
2028         Set the appropriate symbol properties.  Clear the override spec if
2029         setting via Custom.  Initialize face if necessary.  (Bug#4988)
2030         (face-spec-recalc): Allow theme faces to completely replace the
2031         defface spec, in the same way as custom faces (Bug#8454).
2033         * cus-face.el (custom-declare-face): Move face initialization to
2034         face-spec-set.
2035         (custom-theme-set-faces): Don't initialize the face name here, as
2036         that is now done in face-spec-set.
2038         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2039         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2040         Simplify by using the new arg to face-spec-set.
2042         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2043         reset face-override-spec too, and use custom-declare-face.
2045 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
2047         * term/ns-win.el (ns-initialize-window-system): Move creation of
2048         fontsets here (Bug#11964).
2050 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2052         * ses.el (ses-rename-cell): Correct bug on mode-line update after
2053         cell renaming.
2055 2012-11-24  Chong Yidong  <cyd@gnu.org>
2057         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2058         obsolete.
2060         * custom.el (custom-theme-set-variables): Use a topological sort
2061         for ordering by custom dependencies (Bug#12952).
2062         (custom--sort-vars, custom--sort-vars-1): New functions.
2064 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2066         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2067         lexical-binding (bug#12938).
2069 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
2071         * image-mode.el (image-transform-check-size): Use assertions only
2072         for images of type imagemagick.
2074         Otherwise no error, image-transform-fit-to-{width,height} is
2075         silently ignored, as before.  Doc fix.
2077 2012-11-24  Chong Yidong  <cyd@gnu.org>
2079         * faces.el (color-defined-p): Doc fix (Bug#12853).
2081 2012-11-24  Juri Linkov  <juri@jurta.org>
2083         * dired.el (dired-mark): Add optional arg `interactive'.
2084         Check for `use-region-p' if `interactive' is non-nil.
2085         (dired-unmark, dired-flag-file-deletion): Add optional arg
2086         `interactive'.  Call `dired-mark' with the arg `interactive'.
2087         (Bug#10624)
2089         * wdired.el: Revert 2012-10-17 change partly and replace it with
2090         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2091         (wdired-finish-edit): Add marks for new file names to
2092         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
2093         after `revert-buffer'.
2094         (wdired-do-renames): Remove calls to `dired-remove-file',
2095         `dired-add-file', `dired-add-entry'.  (Bug#11795)
2097 2012-11-24  Alan Mackenzie  <acm@muc.de>
2099         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2101         Fix bugs in the state cache.  Enhance a debugging mechanism.
2102         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2103         "brace at column zero" strategy for C++.
2104         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2105         (c-parse-state-point): New variable.
2106         (c-record-parse-state-state): Record old parse state with
2107         `copy-tree'.  Record previous value of point.
2108         (c-debug-parse-state-double-cons): New debugging function.
2109         (c-debug-parse-state): Call the above new function.
2110         (c-toggle-parse-state-debug): Output a confirmatory message.
2112         * progmodes/cc-mode.el (c-before-change, c-after-change):
2113         Call c-invalidate-state-cache from `c-before-change' instead of
2114         `c-after-change'.
2116 2012-11-23  Chong Yidong  <cyd@gnu.org>
2118         * find-cmd.el (find-constituents): Add executable, ipath,
2119         readable, samefile, writable, daystart, regextype (Bug#12856).
2121 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2123         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2125 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
2127         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2128         definition.  This fixes a bootstrap failure.
2129         (calc-gregorian-switch): In menu, put dates before regions.
2130         This is easier to follow, lines up better in the menu, and lets us
2131         coalesce regions that switch at the same time.  Give country
2132         names, not "Vatican", as that's better for non-expert users.
2133         Use names that are stable between the date of switch and now, e.g.,
2134         Bohemia and Moravia (which existed then and now) and not
2135         Czechoslovakia (which didn't exist then and doesn't exist now).
2136         What is now the U.S. mostly did not switch at the same time as
2137         Britain, so omit the U.S.  Correct spelling of "Britain".
2138         Catholic Switzerland was too much of a mess, so omit it.
2140 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
2142         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2143         after the variable is changed.
2145 2012-11-21  Daniel Colascione  <dancol@dancol.org>
2147         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2148         in SQL declarations for font-lock.
2149         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2151 2012-11-21  Glenn Morris  <rgm@gnu.org>
2153         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2154         (face-italic-p): Add optional argument "inherit".
2156         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2157         Remove -p suffix from names, for consistency with other set-face-*.
2158         (set-face-inverse-video): Fix interactive spec.
2159         * play/gamegrid.el (gamegrid-make-mono-tty-face):
2160         * textmodes/table.el (table--update-cell-face):
2161         Use set-face-inverse-video rather than now obsolete alias.
2163 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
2165         * simple.el (line-move): Don't call line-move-partial if
2166         scroll-conservatively is in effect.  (Bug#12927)
2168 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2170         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2171         Fallback on completion-at-point rather than
2172         pcomplete-expand-and-complete, and only if pcomplete actually failed.
2173         (eshell-cmpl-initialize): Setup completion-at-point.
2175         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2177         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2179 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
2181         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2182         are remote, check out-of-band property for both.
2184 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2186         * window.el (switch-to-buffer): Re-add the warning that was lost in the
2187         code rewrite.
2189 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
2191         More minor time fixes.
2192         * calendar/time-date.el: Commentary fix.
2193         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2194         too much other code depends on (0 0) time stamps.
2195         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2196         Add a couple of FIXME comments.
2198         Minor cleanup for times as lists of four integers.
2199         * files.el (dir-locals-directory-cache):
2200         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2201         Doc fixes.
2202         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2203         * ps-bdf.el (bdf-file-newer-than-time):
2204         Process four-integers time stamps, not two.  Doc fixes.
2206 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2208         * uniquify.el (uniquify-managed): Use defvar-local.
2209         (rename-buffer, create-file-buffer): Advise with advice-add.
2210         (uniquify-unload-function): Unadvise accordingly.
2212         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2213         (trace-buffer): Don't purecopy.
2214         (trace-entry-message, trace-exit-message): Add `context' arg.
2215         (trace--timer): New var.
2216         (trace-make-advice): Adjust for use in nadvice.
2217         Add `context' argument.  Delay `display-buffer' via a timer.
2218         (trace-function-internal): Use advice-add.
2219         (trace--read-args): New function.
2220         (trace-function-foreground, trace-function-background): Use it.
2221         (trace-function): Rename to trace-function-foreground and redefine as
2222         an alias to that new name.
2223         (untrace-function, untrace-all): Adjust to the use of nadvice.
2225         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2227         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2229         * subr.el (called-interactively-p-functions): New var.
2230         (internal--called-interactively-p--get-frame): New macro.
2231         (called-interactively-p, interactive-p): Rewrite in Lisp.
2232         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2233         (called-interactively-p-functions): Use it.
2234         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2235         (called-interactively-p-functions): Use it.
2236         * allout.el (allout-called-interactively-p): Don't assume
2237         called-interactively-p is a subr.
2239 2012-11-20  Glenn Morris  <rgm@gnu.org>
2241         * profiler.el (profiler-report-mode-map): Add a menu.
2242         No need to bind `q' because we derive from special-mode.
2243         (profiler-report-find-entry): Handle calls from the menu-bar.
2245 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2247         * emacs-lisp/byte-run.el (defun-declarations-alist):
2248         Allow a compiler-macro to be a lambda expression.
2250         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
2251         eval-when-compile.
2252         (python-syntax-context): Add compiler-macro.
2253         (python-font-lock-keywords): Simplify with De Morgan.
2255         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2257         * files.el (load-file): Require match in minibuffer selection, as was
2258         the case in Emacs-20 before we changed the spec to allow .elc files
2259         (bug#12935).
2261         * json.el: Don't require cl since we don't use it.
2262         * color.el: Don't require cl.
2263         (color-complement): `caddr' -> `nth 2'.
2265         * calendar/time-date.el (time-to-seconds): De-obsolete.
2267 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
2269         * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
2270         year numbers.
2271         (math-date-to-julian-dt): Adjust the initial approximation for the
2272         year to deal with the new definition of the DATE.
2274 2012-11-19  Daniel Colascione  <dancol@dancol.org>
2276         * term/w32-win.el (cygwin-convert-path-from-windows):
2277         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2279 2012-11-18  Chong Yidong  <cyd@gnu.org>
2281         * filecache.el (file-cache--read-list): New function.
2282         (file-cache-add-directory-list, file-cache-add-file-list)
2283         (file-cache-delete-file-list, file-cache-delete-directory-list):
2284         Use it to read a list of files or directories (Bug#12846).
2285         (file-cache-add-file, file-cache-add-directory)
2286         (file-cache-delete-file-list, file-cache-delete-file-regexp)
2287         (file-cache-delete-directory): Print an message.
2289 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
2291         * calc/calc-forms.el (math-date-to-dt): Use integer date when
2292         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2294 2012-11-18  Glenn Morris  <rgm@gnu.org>
2296         * image.el (insert-image, insert-sliced-image): Doc fix.
2298 2012-11-18  Chong Yidong  <cyd@gnu.org>
2300         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2301         (Bug#12810).
2303 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
2305         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2306         response when the target file is in a subdirectory (Bug#12757).
2308 2012-11-18  Chong Yidong  <cyd@gnu.org>
2310         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2312 2012-11-18  Glenn Morris  <rgm@gnu.org>
2314         * emacs-lisp/cl-lib.el (face-underline-p):
2315         Use set-face-underline rather than the alias set-face-underline-p.
2317         * window.el (with-temp-buffer-window): Doc fix.
2318         * subr.el (with-output-to-temp-buffer):
2319         Add doc xref to with-temp-buffer-window.
2321 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
2323         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2324         * calc/calc.el (math-format-date-cache): Declare.
2326 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
2328         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2329         It also uses January 1, 1 AD as its day number 1.
2330         * calc/calc-forms.el (math-julian-date-beginning)
2331         (math-julian-date-beginning-int): Implement this.
2333 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
2335         * descr-text.el (quail-find-key):
2336         * dired.el (desktop-file-name):
2337         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2338         * generic-x.el (comint-mode, comint-exec):
2339         * image-dired.el (widget-forward):
2340         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2341         (speedbar-change-expand-button-char)
2342         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2343         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2344         * printing.el (easy-menu-add-item, easy-menu-remove-item)
2345         (widget-field-action, widget-value-set):
2346         * speedbar.el (imenu--make-index-alist):
2347         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2348         (ring-length, ring-insert):
2349         * vcursor.el (compare-windows-skip-whitespace):
2350         * woman.el (dired-get-filename):
2351         Declare functions.
2353         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2355 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
2357         * calc/calc.el (calc-gregorian-switch): New variable.
2359         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2360         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2361         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2362         (math-leap-year-p): Add option to distinguish between Julian
2363         and Gregorian calendars.
2364         (math-day-number): Use `math-day-in-year' to do the computations.
2365         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2366         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2367         to do the computations.
2368         (math-date-to-dt): Use `math-date-to-julian-dt' and
2369         `math-date-to-gregorian-dt' to do the computations.
2370         (calcFunc-weekday, math-format-date-part): Use the new version of
2371         the DATE to determine the weekday.
2372         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2373         when necessary.
2375 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
2377         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2378         Cygwin; otherwise use 'file:'.  (Bug#12914)
2379         (cygwin-convert-path-from-windows): Declare, to avoid
2380         byte-compiler warnings.
2382 2012-11-17  Andreas Politz  <politza@fh-trier.de>
2384         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2385         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2386         prefix and negative numeric prefix args (Bug#12795).
2388 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
2390         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2391         Don't signal an error with a score that is too low to add to the
2392         list of top scores. (Bug#12779)
2394 2012-11-17  Chong Yidong  <cyd@gnu.org>
2396         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2398         * filecache.el (file-cache-add-file): Handle relative file name in
2399         the argument (Bug#12694).
2401 2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
2403         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2405 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2407         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2409         * emacs-lisp/cl-lib.el: Set more meaningful version number.
2411 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
2413         * window.el (enlarge-window, shrink-window): Don't mention return
2414         value in doc-string (Bug#12896).
2415         (window--display-buffer): Don't resize frames - it won't work
2416         with all window managers and defeat pop-up-frame-alist.
2417         (display-buffer-alist): In doc-string explain that CONDITION can
2418         be a function and which arguments are passed to it (Bug#12854).
2419         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
2420         expressions (Bug#12854).
2421         (display-buffer): Pass ACTION argument to
2422         display-buffer-assq-regexp.
2424 2012-11-16  Glenn Morris  <rgm@gnu.org>
2426         * window.el (fit-frame-to-buffer-bottom-margin)
2427         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2429         * faces.el (face-underline-p): Use face-attribute-specified-or.
2431 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
2433         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2435 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2437         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2439 2012-11-16  Glenn Morris  <rgm@gnu.org>
2441         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
2442         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2444         * faces.el (face-underline-p): Doc fix.  Handle :underline being
2445         things other than `t' (a string, a list).
2446         (face-inverse-video-p): Doc fix.
2447         (set-face-underline): Rename it back from set-face-underline-p.
2448         Doc fix.  Allow interactive input of values other than t.
2449         (read-face-attribute): Apply formatting to :underline,
2450         since like :box and :stipple it can take list values.
2452         * term.el (ansi-term): Don't let C-x escape-char binding
2453         clobber the more standard C-c binding.  (Bug#12842)
2455         * subr.el (set-temporary-overlay-map): Doc fix.
2457 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
2459         * window.el (record-window-buffer)
2460         (display-buffer-record-window): When copying the markers to
2461         window-point preserve window-point-insertion-type. (Bug#12588)
2463 2012-11-16  Glenn Morris  <rgm@gnu.org>
2465         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2466         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2467         Use new names for hooks rather than obsolete aliases.
2469 2012-11-15  Daniel Colascione  <dancol@dancol.org>
2471         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
2472         prefix instead of "file:" so that when FILE-NAME begins with "//",
2473         as it does when the target file is on a network share, url-handler
2474         isn't confused.
2476 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2478         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2479         a preactivated advice from an old advice.el; they're not compatible!
2481 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
2483         * emacs-lisp/nadvice.el (advice--make-interactive-form):
2484         Fix string-spec case.
2486         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2488 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2490         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2491         (advice--buffer-local-function-sample): New var.
2492         (advice--set-buffer-local, advice--buffer-local): New functions.
2493         (add-function, remove-function): Use them.
2495 2012-11-15  Drew Adams  <drew.adams@oracle.com>
2497         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2499 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2501         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2502         potential binding of print-gensym to t, and prettify (back)quotes in
2503         case they appear in args's default values (bug#12884).
2505 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2507         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2508         (advice-eval-interactive-spec): New function.
2509         (advice--make-interactive-form): Support around advice (bug#12844).
2511 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
2513         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2514         more strict.  Add docstring.
2515         (ruby-expression-expansion-re): Extract from
2516         `ruby-match-expression-expansion'.
2517         (ruby-syntax-propertize-function): After everything else, search
2518         for expansions in string literals, mark their insides as
2519         whitespace syntax and save match data for font-lock.
2520         (ruby-font-lock-keywords): Use the 2nd group from expression
2521         expansion matches.
2522         (ruby-match-expression-expansion): Use the match data saved to the
2523         text property in ruby-syntax-propertize-function.
2525 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2527         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2528         (bug#12879).
2530 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
2532         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2533         start/end keyword a bit harder.  Works with different values of N.
2534         Add more comments.
2535         (ruby-end-of-block): Update accordingly.
2537 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2539         * woman.el (woman-file-name): Don't mess with unread-command-events
2540         (bug#12861).
2542         * emacs-lisp/advice.el: Layer on top of nadvice.el.
2543         Remove out of date self-require hack.
2544         (ad-do-advised-functions): Use simple `dolist'.
2545         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2546         (ad-advice-definition): Redefine as functions.
2547         (ad-advice-classes): Move before first use.
2548         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
2549         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
2550         (ad--defalias-fset): Remove functions.
2551         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
2552         (ad-get-orig-definition): Rewrite.
2553         (ad-make-advised-definition-docstring): Change base docstring.
2554         (ad-real-orig-definition): Rewrite.
2555         (ad-map-arglists): Change name of called function.
2556         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2557         (ad-make-advised-definition): Simplify.
2558         (ad-assemble-advised-definition): Tweak for new calling context.
2559         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
2560         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
2561         function and call ad-activate if needed.
2562         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2563         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2564         (ad-compile-function): Compile ad-Advice-*.
2565         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2566         (ad-start-advice, ad-stop-advice): Remove.
2568 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
2570         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2571         period before class method names, not after.  Remove handling of
2572         one impossible case.  Add comments.
2574 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2576         * emacs-lisp/advice.el: Remove support for freezing.
2577         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2578         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2579         Remove support for `freeze'.
2581         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2582         override the default.
2583         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2584         cl--dotimes/dolist.
2585         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2586         `cl' is loaded.
2588         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2589         from add-advice.
2590         (advice--strip-macro): New function.
2591         (advice--defalias-fset): Use them to handle macros.
2592         (advice-add): Use them.
2593         (advice-member-p): Correctly handle macros.
2595 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
2597         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2598         Never font-lock the beginning of singleton class as heredoc.
2600 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2602         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2604 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
2606         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
2607         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
2608         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
2610 2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
2612         Fix end-of-defun misbehavior.
2613         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2614         python-beginning-of-defun-function.  Handle nested defuns
2615         correctly.
2616         (python-nav-end-of-defun): Rename from
2617         python-end-of-defun-function.  Ensure forward movement.
2618         (python-info-current-defun): Reimplement to work as intended
2619         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
2620         parent defuns as soon as possible.
2622 2012-11-13  Glenn Morris  <rgm@gnu.org>
2624         * progmodes/flymake.el (flymake-error-bitmap)
2625         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2626         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2628 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
2630         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2631         backward, always stop at indentation.  Reverts the change from
2632         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2634 2012-11-13  Glenn Morris  <rgm@gnu.org>
2636         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2637         Add ibuffer-filter-by-derived-mode.
2639         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2640         the same name shadowing each other.
2642         * window.el (with-temp-buffer-window): Doc tweak.
2644         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2646         * help.el (temp-buffer-max-height):
2647         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
2648         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2650 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2652         * emacs-lisp/nadvice.el: New package.
2653         * subr.el (special-form-p): New function.
2654         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2655         (elp-all-instrumented-list): Remove var.
2656         (elp-not-profilable): Remove elp-wrapper.
2657         (elp-profilable-p): Use autoloadp and special-form-p.
2658         (elp--advice-name): New const.
2659         (elp-instrument-function): Use advice-add.
2660         (elp--instrumented-p): New predicate.
2661         (elp-restore-function): Use advice-remove.
2662         (elp-restore-all, elp-reset-all): Use mapatoms.
2663         (elp-set-master): Use elp--instrumented-p.
2664         (elp--make-wrapper): Rename from elp-wrapper, return a function
2665         suitable for advice-add.  Use cl-inf.
2666         (elp-results): Use mapatoms+elp--instrumented-p.
2667         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2668         (debug-function-list): Remove var.
2669         (debug): Rename arg, and then let-bind it explicitly inside.
2670         (debugger-setup-buffer): Rename arg.
2671         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2672         (debugger-frame-number): Adjust to new debug-on-entry setup.
2673         (debug--implement-debug-on-entry): Rename from
2674         implement-debug-on-entry, add argument.
2675         (debugger-special-form-p): Remove, use special-form-p instead.
2676         (debug-on-entry): Use advice-add.
2677         (debug--function-list): New function.
2678         (cancel-debug-on-entry): Use it, along with advice-remove.
2679         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2680         (debugger-list-functions): Use debug--function-list instead of
2681         debug-function-list.
2682         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2683         (ad-special-form-p): Remove, use special-form-p instead.
2684         (ad-set-advice-info): Use add-function and remove-function.
2685         (ad--defalias-fset): Adjust accordingly.
2687 2012-11-10  Glenn Morris  <rgm@gnu.org>
2689         * mail/emacsbug.el (report-emacs-bug-tracker-url)
2690         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2691         (report-emacs-bug-create-existing-bugs-buffer)
2692         (report-emacs-bug-parse-query-results)
2693         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
2695         * term.el (term-default-fg-color, term-default-bg-color):
2696         Make obsolete, rather than just saying "deprecated" in the doc.
2698         * term.el (term): Rename from `term-face'.
2699         (term-current-face, ansi-term-color-vector)
2700         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2701         Update all users.
2703 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
2705         * server.el (server-create-window-system-frame): Handle Nextstep
2706         specially (Bug#12780).
2708 2012-11-10  Glenn Morris  <rgm@gnu.org>
2710         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2711         Unautoload, and make obsolete.  (Bug#7449)
2713 2012-11-10  Chong Yidong  <cyd@gnu.org>
2715         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2716         rename from diff-remove-trailing-whitespace (Bug#12831).
2718 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2720         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2721         miscompilation of trace.el.
2723 2012-11-10  Glenn Morris  <rgm@gnu.org>
2725         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2727 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2729         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2730         (bug#12812).
2732 2012-11-10  Chong Yidong  <cyd@gnu.org>
2734         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2735         a defcustom with an appropriate :set function.
2736         (minibuffer-default--in-prompt-regexps): New function.
2738 2012-11-10  Glenn Morris  <rgm@gnu.org>
2740         * emacs-lisp/cl.el (define-setf-expander, defsetf)
2741         (define-modify-macro): Doc fixes.
2743         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2744         (gv-define-simple-setter): Update doc of `fix-return'.
2746 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2748         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2749         twice when `fix-return' is set (bug#12813).
2751         * emacs-lisp/cl.el (defsetf): Pass the third arg to
2752         gv-define-simple-setter (bug#12812).
2754         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2755         (bug#12756).
2757 2012-11-10  Glenn Morris  <rgm@gnu.org>
2759         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2761         * emacs-lisp/cl-extra.el (cl-prettyexpand):
2762         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2763         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2764         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2766         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2768 2012-11-10  Leo Liu  <sdl.web@gmail.com>
2770         * ido.el (ido-set-matches-1): Improve flex matching performance by
2771         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
2773 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2775         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2776         (ad--defalias-fset): New function.
2777         (ad-safe-fset): Remove.
2778         (ad-make-freeze-definition): Use cl-letf*.
2780 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2782         * subr.el (dolist): Don't bind VAR in RESULT.
2784         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
2785         (fset, documentation): Don't save real def since we don't advise.
2786         (ad-do-advised-functions): Remove problematic `result-form'.
2787         (ad-safe-fset): `ad-real-fset' => `fset'.
2788         (ad-read-advised-function): Don't assume that ad-do-advised-functions
2789         uses CL's dolist internally.
2790         (ad-arglist): Remove unused arg `name'.
2791         (ad-docstring, ad-make-advised-docstring):
2792         `ad-real-documentation' => `documentation'.
2793         (warning-suppress-types): Declare.
2794         (ad-set-arguments): Simple CSE.
2795         (ad-recover-normality): Sanity check.
2797         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2798         (funcall '(lambda ..) ..) into ((lambda ..) ..).
2800 2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2802         * ses.el: symbol to coordinate mapping is made by symbol property
2803         `ses-cell'.  This means that the same mapping is done for all SES
2804         sheets.  That is good enough for cells with standard A1 names, but
2805         not for named cell.  So a hash map is added for the latter.
2806         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
2807         (ses-sym-rowcol): Use hashmap for named cell.
2808         (ses-is-cell-sym-p): New defun.
2809         (ses-decode-cell-symbol): New defun.
2810         (ses-create-cell-variable): Add cell to hashmap when name is not
2811         A1-like.
2812         (ses-rename-cell): Check that cell new name is not already in
2813         spreadsheet with the use of ses-is-cell-sym-p
2814         (ses-rename-cell): Use hash map for named cells, but accept also
2815         renaming back to A1-like.
2817 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2819         * emacs-lisp/advice.el: Use new dynamic docstrings.
2820         (ad-make-advised-definition-docstring, ad-advised-definition-p):
2821         Use dynamic-docstring-function instead of ad-advice-info.
2822         (ad--make-advised-docstring): New function extracted from
2823         ad-make-advised-docstring.
2824         (ad-make-advised-docstring): Use it.
2825         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2826         from sql-help.
2827         (sql-help): Use it with dynamic-docstring-function.
2829         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2831 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2833         * files.el (hack-one-local-variable--obsolete): New function.
2834         (hack-one-local-variable): Use it for obsolete settings.
2836         * subr.el (locate-user-emacs-file): If both old and new name exist, use
2837         the new name.
2839         * progmodes/js.el (js--filling-paragraph): New var.
2840         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2841         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2842         less sneaky.
2844 2012-11-08  Julien Danjou  <julien@danjou.info>
2846         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2847         `auto-mode-alist' (Bug#12835).
2849 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2851         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2852         (perl--prettify-symbols-alist): New const.
2853         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2854         New functions.
2855         (perl-font-lock-keywords-2): Use them.
2856         (perl-electric-noindent-p): New function.
2857         (perl-mode): Use it to set up electric-indent-mode.
2858         (perl-electric-terminator, perl-indent-command): Mark obsolete.
2859         (perl-mode-map): Remove bindings for them.
2860         (perl-imenu-generic-expression, perl-outline-level):
2861         Match functions&packages in column>0.
2863         * env.el (env--substitute-vars-regexp): New const.
2864         (substitute-env-vars): Use it.  Add `only-defined' arg.
2865         * net/tramp.el (tramp-replace-environment-variables): Use it.
2867         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2868         Byte-compile *before* eval in eval-and-compile.
2869         (byte-compile-log-warning): Remove redundant inhibit-read-only.
2870         (byte-compile-file-form-autoload): Don't hide actual definition.
2871         (byte-compile-maybe-guarded): Accept `functionp' as well.
2873         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2875 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
2877         * notifications.el (notifications-get-server-information-method):
2878         New defconst.
2879         (notifications-get-capabilities): Fix docstring.
2880         (notifications-get-server-information): New defun.
2882 2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2884         * textmodes/ispell.el (ispell-region): Standard re-indent for better
2885         readability.
2887         * textmodes/ispell.el: Experimental support for support debugging.
2888         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2889         buffer for ispell.
2890         (ispell-print-if-debug): New function to print stuff to
2891         `ispell-debug-buffer' if debugging is enabled.
2892         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2893         show some debugging info.
2894         (ispell-buffer-with-debug): New function that creates a debugging
2895         buffer and calls `ispell-buffer' with debugging enabled.
2897         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2898         comment in autoconf mode. (Bug#12768)
2900 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
2902         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2903         frame-first-window, frame-root-window, frame-selected-window,
2904         minibuffer-selected-window, minibuffer-window,
2905         window-absolute-pixel-edges, window-at, window-body-height,
2906         window-body-width, window-display-table, window-combination-limit,
2907         window-frame, window-fringes, window-inside-absolute-pixel-edges,
2908         window-inside-edges, window-inside-pixel-edges, window-left-child,
2909         window-left-column, window-margins, window-next-buffers,
2910         window-next-sibling, window-new-normal, window-new-total,
2911         window-normal-size, window-parameter, window-parameters, window-parent,
2912         window-pixel-edges, window-point, window-prev-buffers,
2913         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2914         window-start, window-text-height, window-top-child, window-top-line,
2915         window-total-height, window-total-width and window-use-time to the list
2916         of functions without side-effects.
2917         (toplevel): Add window-valid-p to the list of error-free functions
2918         without side-effects.
2920 2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2922         * textmodes/ispell.el (ispell-program-name):
2923         Update spellchecker parameters when customized.
2925 2012-11-04  Glenn Morris  <rgm@gnu.org>
2927         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
2929 2012-11-04  Chong Yidong  <cyd@gnu.org>
2931         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2932         same-window-* variables.
2934 2012-11-04  Juri Linkov  <juri@jurta.org>
2936         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2937         (isearch-describe-key, isearch-describe-mode): Use a display
2938         action instead of binding same-window-* variables (Bug#10040).
2940 2012-11-03  Glenn Morris  <rgm@gnu.org>
2942         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2943         Rename handler properties back from cl-- to cl-.  (Bug#12788)
2945         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2947 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
2949         * term/pc-win.el: Don't load term/internal from here.
2951         * loadup.el: Load term/internal from here.
2953 2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
2955         * progmodes/python.el (inferior-python-mode): Fix hang in
2956         jit-lock (Bug#12645).
2958 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
2960         * window.el (switch-to-visible-buffer)
2961         (switch-to-buffer-preserve-window-point): Fix doc-strings.
2963 2012-11-03  Glenn Morris  <rgm@gnu.org>
2965         * emacs-lisp/cl-lib.el (cl--random-time):
2966         Rename from cl-random-time.  (Bug#12773)
2967         (cl--gensym-counter, cl--random-state): Update callers.
2968         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2970 2012-11-03  Chong Yidong  <cyd@gnu.org>
2972         * cus-start.el: Make cursor-type customizable (Bug#11633).
2974 2012-11-02  Glenn Morris  <rgm@gnu.org>
2976         * filecache.el: No need to load find-lisp when compiling.
2977         (find-lisp-find-files): Autoload it.
2978         (file-cache-add-directory-recursively): Don't require find-lisp.
2980         * image.el (image-type-from-file-name): Trivial simplification.
2982         * emacs-lisp/bytecomp.el (byte-compile-eval):
2983         Decouple "noruntime" and "cl-functions" warnings.
2985 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
2987         * play/gomoku.el (gomoku-display-statistics): Update mode line
2988         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2990 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
2992         * window.el (quit-restore-window): If the window has been
2993         created on an existing frame and ended up as the sole window on
2994         that frame, do not delete it (Bug#12764).
2996 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2998         * progmodes/sh-script.el (sh--inside-noncommand-expression):
2999         Rename from sh--inside-arithmetic-expression, handle more cases
3000         (bug#11263).
3002         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3003         (sh-font-lock-open-heredoc): Use it (bug#12770).
3005 2012-10-30  Glenn Morris  <rgm@gnu.org>
3007         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
3009         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
3011 2012-10-29  Chong Yidong  <cyd@gnu.org>
3013         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3014         function key is stored in a keyboard macro (Bug#4894).
3016         * thingatpt.el (number-at-point): Apply a thing-at-point property.
3018 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3020         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3021         header comments".
3022         (diff-unified->context, diff-context->unified)
3023         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3025         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3027         * files.el (find-alternate-file): Only ask one question (bug#12487).
3029 2012-10-29  Chong Yidong  <cyd@gnu.org>
3031         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3032         Suggested by Dan Nicolaescu (Bug#6326).
3034         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3036         * startup.el (fancy-about-screen): Don't message (Bug#12680).
3038         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3040         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3042         * face-remap.el (face-remap-add-relative): Handle the case where a
3043         face-remapping-alist entry is a cons cell (Bug#12762).
3045 2012-10-29  Kevin Ryde  <user42@zip.com.au>
3047         * woman.el (woman-parse-numeric-value): Handle picas correctly
3048         (Bug#12639).
3050 2012-10-29  Glenn Morris  <rgm@gnu.org>
3052         * emacs-lisp/cl.el (defsetf): Doc fix.
3054 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3056         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3057         syntax to the matching opener, if any (bug#12547).
3058         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3059         matching open as a "case-(".
3060         (sh-smie-rc-grammar): Add a corresponding rule for it.
3062 2012-10-28  Daniel Hackney  <dan@haxney.org>
3064         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3065         "PKGNAME-autoloads.el" in case we created it.
3067 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3069         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3070         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3071         (completion--twq-all): Disable too-strict assertions.
3073         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3075 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
3077         * profiler.el (profiler-report-make-entry-part): Fix help-echo
3078         text to match the real keybindings.
3080 2012-10-27  Juri Linkov  <juri@jurta.org>
3082         * wdired.el (wdired-keep-marker-rename): New defcustom.
3083         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3084         (Bug#11795)
3086         * dired.el (dired-keep-marker-rename): Add reference to
3087         `wdired-keep-marker-rename' in the docstring.
3088         Add default character value ?R to display initially in
3089         Customization UI instead of ?@.
3091 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
3093         * window.el (display-buffer): In doc-string describe
3094         window-height and window-width alist entries.
3096         * time.el (display-time-world): Restore fit-window-to-buffer
3097         behavior.
3099 2012-10-27  Chong Yidong  <cyd@gnu.org>
3101         * subr.el (insert-buffer-substring-as-yank): Doc fix.
3103 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
3105         * minibuffer.el (completion-category-overrides): New completion
3106         category `bookmark' (bug#11131).
3108 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3110         * emacs-lisp/advice.el (ad-assemble-advised-definition):
3111         Silence bogus compiler warnings for ad-do-it.
3113         * bookmark.el (bookmark-completing-read): Set the completion category
3114         to `bookmark' (bug#11131).
3116 2012-10-26  Bastien  <bzg@altern.org>
3117             Stefan Monnier  <monnier@iro.umontreal.ca>
3119         * face-remap.el: Use lexical-binding.
3120         (text-scale-adjust): Improve docstring.  Use itself for the temporary
3121         overlay-map bindings, so as to repeat the "Use..." message each time.
3123 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3125         * emacs-lisp/macroexp.el (macroexp--expand-all):
3126         Obey byte-compile-warning-enabled-p (bug#12486).
3128         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3129         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3131 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
3133         * mouse.el (mouse-drag-line): Move last form into preceding when
3134         clause (Bug#12731).
3136         * help.el (resize-temp-buffer-window): Fix doc-string.
3138 2012-10-25  David Engster  <deng@randomsample.de>
3140         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3141         Remove.  This feature is already integrated in imenu.
3143         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3144         always loaded.  Require `speedbar' unconditionally.
3146 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3148         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3150         * minibuffer.el (minibuffer-force-complete): Fix thinko.
3152         * net/ldap.el (ldap-search-internal): The official ldif format starts
3153         with a "version: 1" header (bug#12724).
3155         * emacs-lisp/package.el (package-installed-p): Warn if not ready
3156         (bug#12721).
3158 2012-10-25  Glenn Morris  <rgm@gnu.org>
3160         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3162 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3164         * minibuffer.el (minibuffer-force-complete): Use one more marker
3165         for the temporary-overlay-map command (bug#12619).
3167 2012-10-24  Chong Yidong  <cyd@gnu.org>
3169         * time.el (display-time-world-mode): Derive from special-mode.
3170         (display-time-world): Use display-buffer (Bug#12708).
3171         (display-time-world-mode-map): Variable deleted.
3172         (display-time-world-display): Wrap the final delete-char inside
3173         inhibit-read-only.
3175 2012-10-24  Chong Yidong  <cyd@gnu.org>
3177         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3178         Doc fix.
3180         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3182 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3184         * minibuffer.el (completion--all-sorted-completions-location): New var.
3185         (completion--cache-all-sorted-completions)
3186         (completion--flush-all-sorted-completions): Use it.
3187         (completion-in-region, completion-in-region--postch)
3188         (completion-at-point, completion-help-at-point): Use markers in
3189         completion-in-region--data (bug#12619).
3191 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3193         * progmodes/compile.el (compilation-start): Try to handle common
3194         quoting of `cd' argument (bug#12640).
3196         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3197         (bug#12671).
3199 2012-10-23  Glenn Morris  <rgm@gnu.org>
3201         * progmodes/gud.el (gud-menu-map):
3202         Check gdb-active-process is bound.  (Bug#12358)
3204 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3206         * repeat.el (repeat): Set real-this-command (bug#12232).
3208         * htmlfontify.el (hfy-post-html-hook):
3209         * filesets.el (filesets-cache-fill-content-hook):
3210         * arc-mode.el (archive-extract-hook):
3211         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3212         * net/rcirc.el (rcirc-sentinel-functions)
3213         (rcirc-receive-message-functions, rcirc-activity-functions)
3214         (rcirc-print-functions):
3215         * net/dbus.el (dbus-event-error-functions):
3216         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3217         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3218         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3219         * term/sun.el (sun-raw-prefix-hooks):
3220         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3222 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
3224         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3225         Set `tramp-chunksize' to 1.  This improves the performance.
3226         (tramp-smb-wait-for-output): Add timeout to
3227         `tramp-accept-process-output' calls.
3229 2012-10-23  Chong Yidong  <cyd@gnu.org>
3231         * faces.el (font-list-limit): Define as an obsolete variable.
3233         * startup.el (command-line):
3234         * cus-start.el: Don't refer to font-list-limit.
3236         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3238 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3240         * subr.el (internal-temp-output-buffer-show): Rename from
3241         temp-output-buffer-show, since previously compiled files expect this name.
3243 2012-10-23  Glenn Morris  <rgm@gnu.org>
3245         * image.el (image-type-from-file-name): If multiple types match,
3246         return the first one that is supported.  (Bug#9045)
3248 2012-10-22  Glenn Morris  <rgm@gnu.org>
3250         * image.el (imagemagick-enabled-types): Doc fix.
3252 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
3254         * progmodes/which-func.el (which-func-current): The hash-table may have
3255         an explicit nil (bug#12338).
3257 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3259         * electric.el (electric-pair-delete-selection-self-insert-function):
3260         Rename to electric-pair-will-use-region, return a boolean.
3261         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
3263         * delsel.el (delete-selection-helper): Use a function instead of a hook.
3264         (delete-selection-pre-hook): Use use-region-p.
3265         (delete-selection-self-insert-function): Remove.
3266         (self-insert-command): Obey self-insert-uses-region-functions.
3267         (self-insert-iso): Revert to previous setting, since we don't actually
3268         know what that command does.
3269         (delete-selection-self-insert-hooks): Remove.
3271 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
3273         * delsel.el (delete-selection-helper): New function, extracted from
3274         delete-selection-pre-hook.
3275         (delete-selection-pre-hook): Use it.
3276         (delete-selection-self-insert-function): New function.
3277         (delete-selection-self-insert-hooks): New hook.
3278         (self-insert-command, self-insert-iso): Use it.
3279         * electric.el (electric-pair-syntax): New function, extracted from
3280         electric-pair-post-self-insert-function.
3281         (electric-pair-post-self-insert-function): Use it.
3282         (electric-pair-delete-selection-self-insert-function): New function.
3283         (electric-pair-mode): Require delsel and setup
3284         delete-selection-self-insert-hooks (bug#11520).
3286 2012-10-20  Chong Yidong  <cyd@gnu.org>
3288         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3289         no changes to show (Bug#12586).
3291         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3292         list explicitly (Bug#12571).
3294 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
3296         * progmodes/flymake.el (flymake-create-temp-inplace):
3297         Use file-truename.
3299 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
3301         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
3303 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
3305         * calc/calc-units.el (math-extract-units): Properly extract powers
3306         of units.
3308 2012-10-20  Daniel Colascione  <dancol@dancol.org>
3310         * frame.el (make-frame): Set x-display-name as we used to in order
3311         to unbreak creating an X11 frame from an Emacs daemon started
3312         without a display.
3314 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3316         * minibuffer.el (minibuffer-force-complete): Make the next completion use
3317         the same completion-field (bug#12221).
3319 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
3321         * emacs-lisp/debug.el (debug): Record height of debugger window
3322         also when debugger will be back (Bug#8789).
3324 2012-10-18  Chong Yidong  <cyd@gnu.org>
3326         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3327         Convert to defcustom.
3328         (gdb-get-source-file): Don't bind pop-up-windows.
3330         * progmodes/gud.el (gud-display-line): Don't specially re-use
3331         other frames for the gdb-mi case (Bug#12648).
3333 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3335         * emacs-lisp/advice.el: Clean up commentary a bit.
3336         (ad-do-advised-functions, ad-with-originals): Use `declare'.
3337         (byte-code-function-p): Never redefine.
3339         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3341 2012-10-18  Glenn Morris  <rgm@gnu.org>
3343         * dired.el (dired-sort-toggle): Some ls implementations only allow
3344         a single option string.  (Bug#12666)
3346         * minibuffer.el (completion-cycle-threshold): Doc fix.
3348 2012-10-17  Kenichi Handa  <handa@gnu.org>
3350         * international/mule.el (set-keyboard-coding-system):
3351         Recover input meta mode when the new coding system doesn not use 8-bit.
3352         Supply TERMINAL arg to set-input-meta-mode.
3354 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
3356         * wdired.el (wdired-old-marks): New variable.
3357         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3358         (wdired-do-renames): Move point with renamed file and don't lose
3359         mark status (Bug#11795).
3361 2012-10-16  Juri Linkov  <juri@jurta.org>
3363         * replace.el (query-replace-help): Mention multi-buffer replacement
3364         keys in the Help message.  (Bug#12655)
3366 2012-10-15  Chong Yidong  <cyd@gnu.org>
3368         * emacs-lisp/byte-run.el (defsubst): Doc fix.
3370 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
3372         * window.el (display-buffer): Doc fix.
3374         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3375         Adjust the msft regexp to the output of Studio 2010, and move msft
3376         before edg-1.  See the discussion on emacs-devel,
3377         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3378         for the details.
3380 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3382         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3383         (oset): Move uses of object-class-fast macro after its definition.
3385         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3387 2012-10-13  Chong Yidong  <cyd@gnu.org>
3389         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3390         enabled, re-enable it (Bug#11963).
3392 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
3394         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3395         non-nil, restore window configuration (Bug#12623).
3397 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3399         * help-fns.el (describe-variable, describe-function-1):
3400         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3402         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3404 2012-10-12  Glenn Morris  <rgm@gnu.org>
3406         * mail/rmailsum.el (rmail-header-summary):
3407         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
3409 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
3411         * progmodes/python.el (python-mode-map):
3412         Replace subtitute-key-definition with proper command remapping.
3413         (python-nav--up-list): Fix behavior for blocks on the same level.
3415 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3417         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
3419         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3420         changes to the format of load-history.
3422         * international/mule-cmds.el (read-char-by-name): Move let-binding of
3423         completion-ignore-case in case that var is buffer-local (bug#12615).
3425 2012-10-11  Kenichi Handa  <handa@gnu.org>
3427         * international/eucjp-ms.el: Re-generated.
3429 2012-10-10  Kenichi Handa  <handa@gnu.org>
3431         * select.el (xselect--encode-string): If a coding is specified for
3432         selection, and that is compatible with COMPOUND_TEXT, use it.
3434 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
3436         * window.el (switch-to-buffer-preserve-window-point): New option.
3437         (switch-to-buffer):
3438         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
3440 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3442         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3443         Don't document nil as a useful value (bug#12583).
3445 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
3447         * net/tramp.el (tramp-debug-message):
3448         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
3449         (with-tramp-progress-reporter): Rename from
3450         `tramp-with-progress-reporter'.
3451         (with-tramp-file-property, with-tramp-connection-property):
3452         Move from tramp-cache.el, rename from `with-file-property' and
3453         `with-connection-property', respectively.
3455         * net/tramp-cache.el: Remove `with-file-property' and
3456         `with-connection-property'.
3458         * net/tramp.el:
3459         * net/tramp-gvfs.el:
3460         * net/tramp-sh.el:
3461         * net/tramp-smb.el: Adapt callees.
3463         * net/trampver.el: Update release number.
3465 2012-10-09  Glenn Morris  <rgm@gnu.org>
3467         * w32-fns.el (set-message-beep):
3468         * term/w32-win.el (set-message-beep): Update declarations.
3470 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3472         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3473         (mode-line-widen, mode-line-input-method-map)
3474         (mode-line-coding-system-map, mode-line-remote)
3475         (mode-line-unbury-buffer, mode-line-bury-buffer)
3476         (mode-line-next-buffer, mode-line-previous-buffer):
3477         Replace save-selected-window+select-window => with-selected-window.
3479         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3480         * progmodes/cc-vars.el (bq-process): Remove, unused.
3482         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3484 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
3486         Implemented `backward-up-list'-like navigation.
3487         * progmodes/python.el (python-nav-up-list)
3488         (python-nav-backward-up-list): New functions.
3489         (python-mode-map): Define substitute key for backward-up-list to
3490         python-nav-backward-up-list.
3492 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
3494         * progmodes/python.el (python-fill-paragraph): Rename from
3495         python-fill-paragraph-function.  Fixed fill-paragraph for
3496         decorators (Bug#12605).
3498 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
3500         * progmodes/python.el (python-shell-output-filter): Handle extra
3501         carriage return in OSX (Bug#12409).
3503 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
3505         Fix shell handling of unbalanced quotes and parens in output.
3506         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
3507         (python-syntax-propertize-function): Use it.
3508         (python-shell-output-syntax-table): New var.
3509         (inferior-python-mode): Prevent unbalanced parens/quotes from
3510         previous output mess with current input context.
3512 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
3514         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3515         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3517 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
3519         * ffap.el (ffap-replace-file-component): Support Tramp file name
3520         syntax, not only ange-ftp's one.
3522 2012-10-08  Glenn Morris  <rgm@gnu.org>
3524         * cus-start.el (message-log-max): Set :version.
3526         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3528 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
3530         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3531         the minibuffer window (Bug#10851).
3533 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
3535         Enhancements on forward-sexp movement.
3536         * progmodes/python.el (python-nav-beginning-of-statement)
3537         (python-nav-end-of-statement): Return point-marker.
3538         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3539         (python-info-current-symbol)
3540         (python-info-statement-starts-block-p): Rename from
3541         python-info-beginning-of-block-p.
3542         (python-info-statement-ends-block-p): Rename from
3543         python-info-end-of-block-p.
3544         (python-info-beginning-of-statement-p)
3545         (python-info-end-of-statement-p)
3546         (python-info-beginning-of-block-p, python-info-end-of-block-p):
3547         New functions.
3549 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3551         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3552         frame-selected-windows.
3554 2012-10-08  Daniel Colascione  <dancol@dancol.org>
3556         * battery.el (battery-status-function): Check for
3557         w32-battery-status itself, not system-time windows-nt.
3559         * frame.el: Require cl-lib.
3560         (display-format-alist): New variable mapping frame types to
3561         functions that initialize them.
3562         (window-system-for-display): New function: interprets
3563         display-format-alist.
3564         (make-frame-on-display): Remove existing display-selection logic
3565         and just forward to make-frame, which will now DTRT.
3566         (make-frame): Restructure to use window-system-for-display to
3567         figure out how to create a frame on a given display.
3568         (display-mouse-p): Look for frame-type w32, not a particular
3569         system-type.
3571         * loadup.el: Load w32 lisp code when we have the w32 feature.
3573         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3574         system-type windows-nt.
3576         * server.el (server-create-window-system-frame): Look for window
3577         type.
3578         (server-proces-filter): Only force a window system when windows-nt
3579         _and_ w32.  Explain why.
3581         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3582         of window systems we configure for the mode.
3584         * startup.el (command-line): Mark window system is initialized
3585         after we've done it.
3587         * common-win.el (x-select-text): Look for w32, not windows-nt.
3589         * ns-win.el: Require cl-lib.  Add ourselves to
3590         display-format-alist.
3591         (ns-initialize-window-system): Assert we're not initialized twice.
3593         * w32-win.el: Enable lexical binding; require cl-lib; add
3594         ourselves to display-format-alist.
3595         (w32-handle-dropped-file): Convert incoming dropped files from
3596         Windows paths to Cygwin ones before passing them on to the rest of
3597         Emacs.
3598         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
3599         (w32-initialize-window-system): Assert we're not initialized twice.
3601         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3602         (x-initialize-window-system): Assert we're not initialized twice.
3604         * w32-common-fns.el: New File.
3605         (w32-version, w32-using-nt, w32-get-clipboard-data)
3606         (w32-set-clipboard-data, x-set-selection, x-get-selection)
3607         (w32-charset-info-alist, x-last-selected, text)
3608         (x-get-selection-value, x-selection-value): Move here.
3610         * w32-fns.el: Require w32-common-fns.
3611         (w32-version, w32-using-nt, w32-get-clipboard-data)
3612         (w32-set-clipboard-data, x-set-selection, x-get-selection)
3613         (w32-charset-info-alist, x-last-selected, text)
3614         (x-get-selection-value, x-selection-value): Move to
3615         w32-common-fns.
3617         * w32-vars.el:
3618         (w32-allow-system-shell, w32-system-shells): Define only in
3619         non-cygwin case.
3621 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3623         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3624         (read-passwd): Remove a few more potential sources of leaks.
3626 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
3628         * progmodes/python.el (inferior-python-mode)
3629         (python-shell-make-comint): Fix initialization of local
3630         variables copied from parent buffer.
3632 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
3634         * term/ns-win.el (ns-read-file-name): Update declaration to match
3635         nsfns.m.
3636         (ns-respond-to-change-font): Change fontsize separatly so we are sure
3637         it is set when font is acted upon.
3639 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
3641         Enhancements to indentation.
3642         * progmodes/python.el (python-indent-context): Give priority to
3643         inside-string context.  Make comments indentation markers.
3644         (python-indent-region): Do not mess with strings, unless it's the
3645         enclosing set of quotes.
3647 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3649         * window.el (internal--before-save-selected-window)
3650         (internal--after-save-selected-window): New functions extracted from
3651         save-selected-window.  Make sure we return the `alist' we construct.
3652         (save-selected-window): Use them.
3654         * textmodes/tex-mode.el (tex-recenter-output-buffer):
3655         Use with-selected-window.
3657         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3658         forms that define macros (bug#12593).
3660 2012-10-07  Kenichi Handa  <handa@gnu.org>
3662         * international/mule-conf.el (compound-text-with-extensions):
3663         Add :mime-charset property as x-ctext.
3665 2012-10-07  Stefan Merten  <smerten@oekonux.de>
3667         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3668         (rst-indent-literal-normal, rst-indent-literal-minimized)
3669         (rst-indent-comment): Correct :version tag.
3670         (rst-official-cvs-rev): Correct version string.
3672 2012-10-07  Glenn Morris  <rgm@gnu.org>
3674         * mail/rmailmm.el (rmail-mime-process-multipart):
3675         Do not confuse a multipart message with an epilogue
3676         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
3678 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
3680         Fix shell output retrieval and comint-prompt-regexp init.
3681         * progmodes/python.el (inferior-python-mode):
3682         (python-shell-make-comint): Fix initialization of
3683         comint-prompt-regexp from copied file local variables.
3684         (python-shell-fetched-lines): Remove var.
3685         (python-shell-output-filter-in-progress): Rename from
3686         python-shell-fetch-lines-in-progress.
3687         (python-shell-output-filter-buffer): Rename from
3688         python-shell-fetch-lines-string.
3689         (python-shell-fetch-lines-filter): Delete function.
3690         (python-shell-output-filter): New function.
3691         (python-shell-send-string-no-output): Use them.
3693 2012-10-07  Glenn Morris  <rgm@gnu.org>
3695         * hi-lock.el (hi-lock-process-phrase):
3696         Try to make it less fragile.  (Bug#7161)
3698         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3700 2012-10-06  Glenn Morris  <rgm@gnu.org>
3702         * ehelp.el (electric-help-mode): Use help-mode rather than
3703         non-existent mode `help'.
3704         (electric-help-map): Use button-buffer-map.  (Bug#10917)
3706         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3707         (reftex-create-bibtex-footer): Fix custom types.
3709         * progmodes/sh-script.el (sh-indent-after-continuation):
3710         Add explicit :group.
3712         * textmodes/rst.el (rst-preferred-decorations)
3713         (rst-shift-basic-offset): Clarify obsolescence versions.
3715         * profiler.el (profiler): Add missing group :version tag.
3716         * avoid.el (mouse-avoidance-banish-position):
3717         * proced.el (proced-renice-command):
3718         * calc/calc.el (calc-ensure-consistent-units):
3719         * calendar/icalendar.el (icalendar-import-format-uid):
3720         * net/tramp.el (tramp-save-ad-hoc-proxies):
3721         * progmodes/bug-reference.el (bug-reference-bug-regexp):
3722         * progmodes/flymake.el (flymake-error-bitmap)
3723         (flymake-warning-bitmap, flymake-fringe-indicator-position):
3724         * progmodes/sh-script.el (sh-indent-after-continuation):
3725         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3726         (verilog-before-save-font-hook, verilog-after-save-font-hook):
3727         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3728         (vhdl-array-index-record-field-in-sensitivity-list)
3729         (vhdl-indent-comment-like-next-code-line):
3730         * textmodes/reftex-vars.el (reftex-ref-style-alist)
3731         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3732         (reftex-cite-key-separator, reftex-create-bibtex-header)
3733         (reftex-create-bibtex-footer):
3734         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3735         (rst-indent-literal-normal, rst-indent-literal-minimized)
3736         (rst-indent-comment): Add missing custom :version tags.
3738         * calendar/timeclock.el (timeclock-modeline-display):
3739         Add missing obsolete alias for renamed user option.
3741         * strokes.el (strokes-modeline-string):
3742         * emulation/crisp.el (crisp-mode-modeline-string):
3743         * eshell/esh-mode.el (eshell-status-in-modeline):
3744         Aliases to defcustoms must come before the defcustom.
3746         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3747         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3748         (cal-tex-cursor-week-monday): Doc fixes.
3749         (cal-tex-cursor-week2-summary): Doc fix.
3750         Rename from cal-tex-cursor-week-at-a-glance.
3752         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3753         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
3755         * calendar/calendar.el (calendar-mode-map):
3756         Add cal-tex-cursor-week2-summary.
3758 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3760         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3762         * subr.el (read-passwd-map): New var.
3763         (read-passwd): Use `read-string' again.
3764         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3766 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
3768         * register.el (append-to-register, prepend-to-register):
3769         Deactivate mark, as does `copy-to-register' (bug#12389).
3771 2012-10-06  Chong Yidong  <cyd@gnu.org>
3773         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3775 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
3777         * international/characters.el: Fix simple mistake ((car chars) ->
3778         elt), delete duplicated code.
3780 2012-10-06  Glenn Morris  <rgm@gnu.org>
3782         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
3784 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
3786         * color.el (color-hsl-to-rgb): Fix incorrect results for
3787         small and large hue values.  (Bug#12559)
3789 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
3791         Enhancements to docstring formatting when filling paragraphs.
3792         * progmodes/python.el (python-fill-docstring-style): Rename from
3793         python-fill-string-style.  Added new style.
3794         (python-fill-string): Use new style.  Better checks for
3795         docstrings.
3797 2012-10-05  Glenn Morris  <rgm@gnu.org>
3799         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3801         * color.el (color-name-to-rgb, color-rgb-to-hex)
3802         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3803         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3804         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3805         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3807         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
3809 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
3811         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3812         to get the correct size across symlinks.
3814         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3816 2012-10-04  Juri Linkov  <juri@jurta.org>
3818         * replace.el (query-replace-interactive): Declare obsolete.
3819         (query-replace-read-from): Add the last incremental search string
3820         to the list of default values accessible via M-n.
3821         (map-query-replace-regexp): Use `read-regexp'.
3822         (query-replace, query-replace-regexp, query-replace-regexp-eval)
3823         (map-query-replace-regexp, replace-string, replace-regexp):
3824         Fix docstrings to replace mentions of `query-replace-interactive'
3825         with alternatives.  (Bug#12526)
3827 2012-10-04  Juri Linkov  <juri@jurta.org>
3829         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
3830         (dired-pop-to-buffer): Declare obsolete.
3831         (dired-mark-pop-up): Doc fix.
3833 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
3835         Allow user to set docstring style for fill-paragraph.
3836         * progmodes/python.el
3837         (python-fill-comment-function, python-fill-string-function)
3838         (python-fill-decorator-function, python-fill-paren-function):
3839         Remove :safe for defcustoms.
3840         (python-fill-string-style): New defcustom
3841         (python-fill-paragraph-function): Enhance context detection.
3842         (python-fill-string): Honor python-fill-string-style settings.
3844 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
3846         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3847         after setting its buffer (Bug#10805).
3849 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
3851         Fix cornercase for string syntax.
3852         * progmodes/python.el (python-syntax-propertize-function):
3853         Simplify and enhance the regexp for unescaped quotes.  Now it also
3854         matches quotes in weird situations like the single quote in
3855         "something\"'".
3856         (python-syntax-stringify): Simplify num-quotes detecting code.
3858 2012-10-03  Glenn Morris  <rgm@gnu.org>
3860         * help-macro.el (three-step-help):
3861         Revert 2012-09-29 change.  (Bug#12567)
3863 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
3865         * menu-bar.el (kill-this-buffer): Don't do anything when
3866         `menu-frame' is not alive or visible (Bug#8184).
3868         * emacs-lisp/debug.el (debug): When quitting the debugger window
3869         restore current buffer (Bug#12502).
3871 2012-10-02  Chong Yidong  <cyd@gnu.org>
3873         * progmodes/hideif.el (hif-lookup, hif-defined):
3874         Handle semantic-c-takeover-hideif.
3876 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
3878         Change sampling interval units from ms to ns.
3879         * profiler.el (profiler-sampling-interval): Change units
3880         from ms to ns, multiplying the default by 1000000 so that
3881         it remains 1 ms.
3882         (profiler-report-cpu-line-format): Give enough room for
3883         the maximum counters on 64-bit hosts.
3884         (profiler-report-render-calltree-1): Call them "CPU samples",
3885         not "Time (ms)", since they are not milliseconds now (and
3886         never really were).
3888 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
3890         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3891         Fix querying BBDB for entries without a last name (Bug#11580).
3893 2012-10-02  Chong Yidong  <cyd@gnu.org>
3895         * emacs-lisp/eieio.el: Restore Version header.
3897 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3899         * vc/diff-mode.el (diff--auto-refine-data): New var.
3900         (diff-hunk): Use it to delay refinement.
3901         (diff-mode): Remove overlays when we turn off font-lock.
3903         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3904         (table-initialize-table-fixed-width-mode)
3905         (table-set-table-fixed-width-mode): Remove functions.
3906         (table-command-list): Move initialization into declaration.
3907         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3908         (table-with-cache-buffer): Use `declare'.
3909         (table-span-cell): Simplify via CSE.
3910         (table-fixed-width-mode): Use define-minor-mode.
3911         (table-call-interactively, table-funcall, table-apply): Remove.
3912         (table-function): New function, to replace them.
3914         * bookmark.el (bookmark-search-pattern): Remove var.
3915         (bookmark-read-search-input): Remove function.
3916         (bookmark-bmenu-search): Reimplement using a minibuffer.
3918         * faces.el (modeline): Remove obsolete face name.
3920         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3921         and give a non-nil default value.
3922         (add-change-log-entry): Simplify accordingly.
3924 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
3926         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3927         (vc-git-log-edit-toggle-amend): New function.
3928         (vc-git-log-edit-toggle-signoff): New function.
3929         (vc-git-log-edit-mode): New major mode.
3930         (vc-git-log-edit-mode-map): Keymap for it.
3931         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3933         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3934         header names.
3935         (log-edit-toggle-header): New function.
3936         (log-edit-extract-headers): Accept function values in HEADERS alist.
3938 2012-10-01  David Engster  <deng@randomsample.de>
3940         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3941         from symbol property and change message to be more consistent with
3942         Emacs proper.
3943         (eieio-describe-generic): Add filename for each implementation.
3944         Fix indices for generic and normal methods.
3945         (eieio-method-def, eieio-class-def): New buttons.
3946         (eieio-help-find-method-definition)
3947         (eieio-help-find-class-definition): New functions.
3948         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3949         class, constructor and method definitions.
3951         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3952         information in symbol property.
3953         (scoped-class): Remove.
3954         (eieio-slot-name-index, call-next-method): Check if it is bound.
3956 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
3958         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3959         (eieio-custom-mode): New major mode.
3960         (eieio-customize-object): Use it.
3962 2012-10-01  Eric Ludlam  <zappo@gnu.org>
3964         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3965         specifying the expected class, and whether subclassing is allowed.
3966         (eieio-persistent-convert-list-to-object):
3967         (eieio-persistent-validate/fix-slot-value)
3968         (eieio-persistent-slot-type-is-class-p): New functions.
3969         (eieio-named::slot-missing): Doc fix.
3971         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3972         Stop using unused publd variable.
3974         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3975         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3976         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3977         (eieio-speedbar-handle-click): Do not specify a class for the
3978         method.  Fixes method invocation order problems with EDE.
3980 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3982         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3983         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3985 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
3987         * bookmark.el (bookmark-version-control): Give tags in the
3988         :type choices (Bug#12309), and improve doc string.
3989         (bookmark-write-file): Bind `print-circle' to `t' to allow
3990         circular custom bookmark types.  (Bug#12503)
3992 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
3994         Revert the FOLLOW-SYMLINKS change for file-attributes.
3995         * files.el (remote-file-name-inhibit-cache, after-find-file):
3996         * time.el (display-time-file-nonempty-p): Undo last change.
3998         * profiler.el (profiler-sampling-interval): Change default back to 1.
3999         See Stefan Monnier in
4000         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4002 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
4004         Shell output catching a la gud-gdb.
4005         * progmodes/python.el (python-shell-fetch-lines-in-progress)
4006         (python-shell-fetch-lines-string, python-shell-fetched-lines):
4007         New Vars.
4008         (python-shell-fetch-lines-filter): New function.
4009         (python-shell-send-string-no-output): Use them.
4011 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
4013         * profiler.el (profiler-sampling-interval): Rename from
4014         profiler-sample-interval.
4015         (profiler-sampling-interval): Default to 10.
4016         (profiler-find-profile): New command (was profiler-find-log).
4017         (profiler-find-profile-other-window): New command.
4018         (profiler-find-profile-other-frame): New command.
4019         (profiler-profile): Introduce API-level data structure.
4021 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
4023         file-attributes has a new optional arg FOLLOW-SYMLINKS.
4024         * files.el (remote-file-name-inhibit-cache):
4025         * time.el (display-time-file-nonempty-p): Use it.
4026         * files.el (after-find-file): Don't chase links before calling
4027         file-exists-p, as file-exists-p already does the right thing.
4029 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
4031         Merge from standalone RefTeX repository.
4033         The following ChangeLog entries are shortened versions of the
4034         original ones with file paths adapted.  A not so strongly edited
4035         version of the original ChangeLog can be found in the commit log.
4037         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4038         (reftex-arg-cite): Use `reftex-cite-key-separator'.
4039         Correctly handle new value type returned by `reftex-citation'.
4041         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4042         that entries with whitespace at various places are found.
4043         Doc fix. Include entries that are cross-referenced from cited entries.
4044         Include @String definitions in the resulting bib file.  Add header
4045         and footer defined in `reftex-create-bibtex-header' and
4046         `reftex-create-bibtex-footer'.
4047         (reftex-do-citation): Make it possible again to insert
4048         non-existent entries.  Save match data when asking for optional
4049         arguments. Return all keys, not just the first one.
4050         (reftex-all-used-citation-keys): Fix regexp to correctly extract
4051         all citations in the same line.
4052         (reftex-parse-bibtex-entry): Accept additional optional argument
4053         `raw' and keep quotes or braces if it is non-nil.  Match fields
4054         containing hyphens besides word constituents.
4055         (reftex-get-string-refs): New function.
4056         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4057         and ask if it should be reread in case it did.
4058         (reftex-pop-to-bibtex-entry)
4059         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4060         entries with spaces or tabs in front of arguments.
4061         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4062         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4063         Match entries containing numbers and symbol constituents.
4064         (reftex-do-citation, reftex-figure-out-cite-format):
4065         Use `reftex-cite-key-separator'.
4067         * textmodes/reftex-dcr.el: Move provide statement to end of file.
4068         (reftex-mouse-view-crossref): Explain why point is set.
4070         * textmodes/reftex-global.el: Whitespace changes.
4072         * textmodes/reftex-index.el: Move provide statement to end of
4073         file.
4074         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4075         (reftex-index-visit-phrases-buffer): Set marker when visiting
4076         buffer.  This allows for returning from the phrases file to the
4077         file one was just editing instead of the file where the last
4078         phrases was added from.
4079         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
4080         punctuation syntax as it usually is not used as string quote in
4081         TeX-related modes and may occur unmatched.  The change also
4082         prevents fontification of quoted content.
4083         (reftex-index-phrases-mode): Use it.
4085         * textmodes/reftex-parse.el (reftex-parse-from-file):
4086         Move backward one char if a `\' was matched after a section macro.
4087         (reftex-parse-from-file): Use beginning of match instead of end as
4088         bound.
4090         * textmodes/reftex-ref.el: Adapt creation of
4091         `reftex-<package>-<macro>' functions to new structure of
4092         `reftex-ref-style-alist'.
4093         (reftex-reference): Use `reftex-ref-style-list' function.
4094         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
4095         reference macro if `reftex-ref-macro-prompt' is non-nil.
4096         (reftex-reference): Pass refstyle to `reftex-format-special'.
4097         Determine reference macro by looking at
4098         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4099         Use only one special format function.
4100         (reftex-varioref-vref, reftex-fancyref-fref)
4101         (reftex-fancyref-Fref): Remove definitions.  The functions are now
4102         generated from `reftex-ref-style-alist'.
4103         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4104         Remove.
4105         (reftex-format-special): New function.
4107         * textmodes/reftex-sel.el
4108         (reftex-select-cycle-ref-style-internal): Adapt to new structure
4109         of `reftex-ref-style-alist'. Remove code for testing macro type.
4110         (reftex-select-toggle-varioref)
4111         (reftex-select-toggle-fancyref): Remove.
4112         (reftex-select-cycle-ref-style-internal)
4113         (reftex-select-cycle-ref-style-forward)
4114         (reftex-select-cycle-ref-style-backward): New functions.
4115         (reftex-select-label-map): Use `v' and `V' for general cycling
4116         through reference styles.  Add `p' for switching between number
4117         and page reference types.
4119         * textmodes/reftex-toc.el (reftex-re-enlarge):
4120         Call `enlarge-window' only if there is something to do because in Emacs
4121         the horizontal version throws an error even if the parameter is 0.
4123         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4124         (reftex-plug-into-AUCTeX): Doc fix.
4125         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4126         string.  Adapt to new name.
4127         (reftex-ref-style-alist): Change structure so that it is not
4128         possible to use multiple different package names within a style.
4129         Remove the symbols for symbols for macro type distinction.
4130         Add characters for macro selection.
4131         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4132         (reftex-create-bibtex-footer): New variables.
4133         (reftex-format-ref-function): Mention third argument of special
4134         format function.
4135         (reftex-ref-style-alist, reftex-ref-style-default-list):
4136         New variables.
4137         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4138         to new implementation.  Mark as obsolete.  Add compatibility code
4139         for honoring the variable values in case they are set.
4140         (reftex-cite-format-builtin, reftex-bibliography-commands):
4141         Add support for ConTeXt.
4142         (reftex-format-ref-function, reftex-format-cite-function):
4143         Fix custom type.
4144         (reftex-cite-key-separator): New variable.
4146         * textmodes/reftex.el (reftex-syntax-table-for-bib)
4147         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4148         `reftex-syntax-table' because parens have to retain their paren
4149         syntax in order for parsing of BibTeX entries like @book(...) to
4150         work.
4151         (reftex-in-comment): Do not error out if `comment-start-skip' is
4152         not set.  Deal correctly with escaped comment characters.
4153         (reftex-tie-multifile-symbols): Add doc string.
4154         Initialize `reftex-ref-style-list'.
4155         (reftex-untie-multifile-symbols): Add doc string.
4156         (reftex-add-index-macros): Doc fix.
4157         (reftex-ref-style-activate, reftex-ref-style-toggle)
4158         (reftex-ref-style-list): New functions.
4159         (reftex-mode-menu): Use them.  Adapt to new structure of
4160         `reftex-ref-style-alist'.
4161         (reftex-select-with-char): Kill the RefTeX Select buffer when
4162         done.
4163         (reftex-remove-if): New function.
4164         (reftex-erase-all-selection-and-index-buffers)
4165         (reftex-mode-menu): Reference styles are now computed from
4166         `reftex-ref-style-alist'.  Fix typo.
4167         (reftex-report-bug): New function.
4168         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4169         algorithms with O(n log n).  Introduce optional argument SORT (not
4170         yet used).
4172 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
4174         Enhancements for triple-quote string syntax.
4175         * progmodes/python.el (python-syntax-propertize-function):
4176         Match both quote cases in one regexp.
4177         (python-syntax-stringify): Handle matches properly.
4179 2012-09-30  Juri Linkov  <juri@jurta.org>
4181         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4182         to nil around the call to `insert' to prevent
4183         directory time modification by lock_file.  (Bug#2295)
4184         * tar-mode.el (tar-summarize-buffer): Idem.
4186 2012-09-30  Juri Linkov  <juri@jurta.org>
4188         * facemenu.el (list-colors-sort): Add option "Luminance".
4189         (list-colors-sort-key): Implement it.
4191         * vc/diff-mode.el (diff-refine-removed):
4192         * vc/ediff-init.el (ediff-fine-diff-A):
4193         * vc/smerge-mode.el (smerge-refined-removed):
4194         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
4196 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
4198         * term/ns-win.el (x-file-dialog): New function.
4200 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
4202         * ido.el (ido-max-directory-size): Default to nil; the current
4203         default is small for POSIX systems, and impractical on Windows 7
4204         now that lstat returns directory sizes for NTFS.
4206 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
4208         In buffer display functions handle window-height/window-width
4209         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
4210         * window.el (window--display-buffer): New argument ALIST.
4211         Obey window-height and window-width alist entries.
4212         (window--try-to-split-window): New argument ALIST.
4213         Bind window-combination-limit to t when the window's size shall be
4214         changed and window-combination-limit equals `window-size'.
4215         (display-buffer-in-atom-window)
4216         (display-buffer-in-major-side-window)
4217         (display-buffer-in-side-window, display-buffer-same-window)
4218         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4219         (display-buffer-pop-up-window, display-buffer-below-selected)
4220         (display-buffer-at-bottom, display-buffer-in-previous-window)
4221         (display-buffer-use-some-window): Adjust all callers of
4222         window--display-buffer and window--try-to-split-window.
4223         (fit-frame-to-buffer): New option.
4224         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4225         is non-nil.
4226         (display-buffer-in-major-side-window): Evaluate window-height /
4227         window-width alist entries.
4229         * help.el (temp-buffer-resize-frames)
4230         (temp-buffer-resize-regexps): Remove options.
4231         (temp-buffer-resize-mode): Adjust doc-string.
4232         (resize-temp-buffer-window): Don't consult
4233         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
4234         temp-buffer-resize-frames.
4236         * dired.el (dired-mark-pop-up):
4237         Call display-buffer-below-selected with a fit-window-to-buffer alist
4238         entry.
4240 2012-09-30  Chong Yidong  <cyd@gnu.org>
4242         * server.el (server-host): Document the security implications.
4243         (server-auth-key): Doc fix.
4245         * startup.el (initial-buffer-choice): Doc fix.
4247         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4249         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4250         restriction change.
4252         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4254         * help-fns.el (help-fns--obsolete): Fix last change.
4256 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4258         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4259         (minor-mode-map-alist): Remove redundant code.
4261         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4262         visited in a buffer.
4263         (cvs-insert-visited-file): New function.
4264         (find-file-hook): Use it.
4266         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4268         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4269         chose face.
4270         (log-edit-empty-buffer-p): Don't require a space after a header.
4272         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4274         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4276         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4277         a proper minor-mode.
4279         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4281 2012-09-29  Glenn Morris  <rgm@gnu.org>
4283         * winner.el (winner-mode): Remove variable (let define-minor-mode
4284         handle it).
4285         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4286         Doc fixes.
4287         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4288         (winner-mode): Use define-minor-mode.
4290         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4291         the full definition in loaddefs, rather than duplicating it.
4293         * help-macro.el (three-step-help): No need to autoload defcustom.
4295         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4296         (inferior-lisp-program, inferior-lisp-load-command)
4297         (inferior-lisp-prompt, inferior-lisp-mode-hook):
4298         No need to autoload defcustoms.
4300         * hippie-exp.el (hippie-expand-try-functions-list)
4301         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4302         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4303         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
4304         (hippie-expand-only-buffers): No need to autoload defcustoms.
4305         * progmodes/vhdl-mode.el (vhdl-line-expand):
4306         Explicitly load hippie-exp, so it does not get autoloaded
4307         while hippie-expand-try-functions-list is let-bound.
4309 2012-09-28  Glenn Morris  <rgm@gnu.org>
4311         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4313         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4314         Only "cl.el" counts as cl these days.
4316 2012-09-28  Juri Linkov  <juri@jurta.org>
4318         Display archive errors in the echo area instead of inserting
4319         to the file buffer.
4321         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4322         to STDERR-TEST that can be a regexp matching a successful output.
4323         Create a temporary file and redirect stderr to it.  Search for
4324         STDERR-TEST in the stderr output and display it in the echo area
4325         if no match is found.
4326         (archive-extract-by-file): New function like
4327         `archive-extract-by-stdout' but extracting archives to files
4328         and looking for successful matches in stdout.  Function body is
4329         mostly copied from `archive-rar-extract'.
4330         (archive-rar-extract): Use `archive-extract-by-file'.
4331         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
4333 2012-09-28  Leo Liu  <sdl.web@gmail.com>
4335         * pcomplete.el (pcomplete-show-completions):
4336         Use minibuffer-message to make pcomplete usable in minibuffer.
4338         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4340 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4342         * type-break.el: Use lexical-binding.
4343         (type-break-mode): Use define-minor-mode.
4345         * emacs-lisp/pcase.el (pcase--mark-used): New.
4346         (pcase--u1): Use it (bug#12512).
4348         * custom.el (load-theme): Set buffer-file-name so the load is recorded
4349         in load-history with the right file name.
4351 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
4353         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4354         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4355         (doc-view-get-bounding-box): Make bounding box slicing work for
4356         ODF and DVI documents.
4358 2012-09-28  Glenn Morris  <rgm@gnu.org>
4360         * type-break.el (type-break-mode, type-break-interval)
4361         (type-break-good-rest-interval, type-break-keystroke-threshold):
4362         No need to autoload.
4363         (type-break-good-rest-interval, type-break-keystroke-threshold):
4364         Add :set-after.
4366 2012-09-28  Chong Yidong  <cyd@gnu.org>
4368         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4369         Add :version tag.
4371 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4373         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4375 2012-09-27  Glenn Morris  <rgm@gnu.org>
4377         * faces.el (x-display-name): Declare (for without-x builds).
4379         * linum.el (linum-format): Don't autoload it.  Improve :type.
4381         * progmodes/tcl.el: Don't require outline when compiling.
4382         (outline-regexp, outline-level): Declare.
4383         * textmodes/sgml-mode.el: Don't require outline when compiling.
4384         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4386         * term.el (term-ansi-reset):
4387         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
4389         * vc/vc.el (vc-next-action): Only gripe about committing read-only
4390         files for RCS and SCCS.  (Bug#9781)
4392 2012-09-27  Chong Yidong  <cyd@gnu.org>
4394         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4395         change; value should be t.
4397 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4399         * image-mode.el: Use lexical-binding.
4400         (image-mode-winprops): Use t to stand for the window of
4401         a buffer that's not displayed.
4402         * doc-view.el (doc-view-new-window-function): Handle the new
4403         t in winprops.
4404         (doc-view-enlarge): Make it a real nop if the size is not changed.
4405         (doc-view-display): Handle the case where the buffer is not (yet?)
4406         displayed in any window.
4407         (doc-view-saved-settings): New var.
4408         (doc-view-mode): Use it.
4409         (doc-view-fallback-mode): Set it.
4411         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4412         Set lexical-binding.
4413         (minibuffer-eldef-shorten-default): New var.
4414         (minibuffer-default-in-prompt-regexps): Use it for new default.
4415         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4417 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
4419         * international/uni-bidi.el:
4420         * international/uni-category.el:
4421         * international/uni-name.el:
4422         * international/uni-numeric.el: Regenerate.
4424 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
4425             Stefan Monnier  <monnier@iro.umontreal.ca>
4427         * profiler.el: New file.
4429 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4431         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4432         (testcover-reinstrument): Simplify with CSE.
4434 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
4436         * window.el (temp-buffer-window-setup): Fix typo in docstring.
4438 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
4440         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4441         (verilog-auto-input, verilog-auto-insert-lisp)
4442         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4443         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4444         (verilog-auto-unused, verilog-auto-wire)
4445         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4446         newline.  Reported by Andrew Jones.
4447         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4448         Reported by Brad Dobbie.
4449         (verilog-batch-delete-trailing-whitespace):
4450         Create verilog-batch-delete-trailing-whitespace.
4451         Reported by Brad Dobbie.
4452         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4453         parameters from another module.  Reported by Dan Katz.
4454         (verilog-auto, verilog-auto-assign-modport)
4455         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4456         AUTOINOUTMODPORT for UVM interface module shell generation.
4457         Reported by Brad Dobbie.
4458         (verilog-auto-inst-interfaced-ports): Make default nil, as more
4459         standard behavior.
4460         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4461         Reported by Matt Martin.
4463 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
4465         * window.el (window--resize-child-windows): When resizing child
4466         windows proportionally, process them in reverse order to
4467         preserve the "when splitting a window the new one gets the odd
4468         line" behavior.
4469         (window--resize-root-window-vertically): When resizing the
4470         minibuffer window try to affect only windows at the bottom of the
4471         frame.  (Bug#12419)
4473 2012-09-25  Chong Yidong  <cyd@gnu.org>
4475         * subr.el (declare): Doc fix.
4477         * help-fns.el (help-fns--obsolete): Handle macros properly.
4479 2012-09-25  Chong Yidong  <cyd@gnu.org>
4481         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4482         this function obsolete.
4484         * calendar/cal-x.el (calendar-two-frame-setup)
4485         (calendar-only-one-frame-setup, calendar-one-frame-setup):
4486         * calendar/calendar.el (american-calendar, european-calendar)
4487         (calendar-for-loop):
4488         * comint.el (comint-dynamic-simple-complete)
4489         (comint-dynamic-complete-as-filename, comint-unquote-filename):
4490         * desktop.el (desktop-load-default):
4491         * dired-x.el (dired-omit-here-always)
4492         (dired-hack-local-variables, dired-default-directory):
4493         * emacs-lisp/derived.el (derived-mode-class):
4494         * emacs-lisp/timer.el (timer-set-time-with-usecs):
4495         * emacs-lock.el (toggle-emacs-lock):
4496         * epa.el (epa-display-verify-result):
4497         * epg.el (epg-sign-keys, epg-start-sign-keys)
4498         (epg-passphrase-callback-function):
4499         * eshell/esh-util.el (eshell-for):
4500         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4501         (eshell-add-to-window-buffer-names):
4502         * files.el (locate-file-completion):
4503         * imenu.el (imenu-example--create-c-index)
4504         (imenu-example--create-lisp-index)
4505         (imenu-example--lisp-extract-index-name)
4506         (imenu-example--name-and-position):
4507         * international/mule-cmds.el (princ-list):
4508         * international/mule-diag.el (decode-codepage-char):
4509         * international/mule-util.el (detect-coding-with-priority):
4510         * iswitchb.el (iswitchb-read-buffer):
4511         * mail/mailalias.el (mail-complete):
4512         * mail/sendmail.el (mail-sent-via):
4513         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4514         (mouse-major-mode-menu):
4515         * password-cache.el (password-read-and-add):
4516         * pcomplete.el (pcomplete-parse-comint-arguments):
4517         * progmodes/sh-script.el (sh-maybe-here-document):
4518         * replace.el (query-replace-regexp-eval):
4519         * savehist.el (savehist-load):
4520         * simple.el (choose-completion-delete-max-match):
4521         * term.el (term-dynamic-simple-complete):
4522         * vc/ediff-init.el (ediff-check-version):
4523         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4524         * vc/vc.el (vc-diff-switches-list):
4525         * view.el (view-return-to-alist-update): Likewise.
4527         * subr.el (eval-next-after-load, makehash, insert-string)
4528         (assoc-ignore-representation, assoc-ignore-case): Use declare to
4529         mark obsolete.
4530         (mode-line-inverse-video): Variable deleted.
4532         * international/mule-util.el (string-to-sequence): Remove.
4534         * calendar/calendar.el (calendar-version):
4535         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4536         (icalendar-convert-diary-to-ical):
4537         * cus-edit.el (custom-mode):
4538         * ansi-color.el (ansi-color-unfontify-region):
4539         * international/latin1-disp.el (latin1-char-displayable-p):
4540         * progmodes/cwarn.el (turn-on-cwarn-mode):
4541         * progmodes/which-func.el (which-func-update-1):
4542         Use define-obsolete-function-alias.
4544         * net/newst-backend.el (newsticker-cache-filename):
4545         * net/newst-treeview.el (newsticker-groups-filename):
4546         Fix incorrect obsolescence declaration.
4548         * allout.el (allout-passphrase-hint-string): Likewise.
4549         (allout-init): Use a declare form to mark obsolete.
4551         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4552         this applies to functions.
4554         * iswitchb.el (iswitchb-read-buffer): Move code of
4555         iswitchb-define-mode-map here, and delete that obsolete function.
4557         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4558         font-lock-reference-face.
4560 2012-09-25  Glenn Morris  <rgm@gnu.org>
4562         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4563         Doc fixes.
4565         * eshell/em-term.el (eshell-term-name):
4566         Default to term-term-name.  (Bug#12485)
4568 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
4570         * progmodes/python.el (python-shell-send-buffer): Better handling
4571         of "if __name__ == '__main__':" conditionals when sending the buffer.
4573 2012-09-24  Glenn Morris  <rgm@gnu.org>
4575         * eshell/esh-cmd.el (eshell-find-alias-function):
4576         Tighten up file-name regexp.  (Bug#12499)
4578 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
4580         Enhancements for triple-quote string syntax.
4581         * progmodes/python.el (python-quote-syntax): Remove.
4582         (python-syntax-propertize-function): New value.
4583         (python-syntax-count-quotes, python-syntax-stringify):
4584         New functions.
4586 2012-09-24  Chong Yidong  <cyd@gnu.org>
4588         * mail/supercite.el (sc-version): Remove obsolete function.
4589         (sc-describe): Don't mark as obsolete, since it is bound.
4590         (sc-submit-bug-report): Remove.
4592         * vc/log-edit.el (cvs-changelog-full-paragraphs)
4593         (cvs-commit-buffer-require-final-newline): Remove.
4594         (log-edit-require-final-newline)
4595         (log-edit-changelog-full-paragraphs): Default to t.
4597         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4598         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4599         * vc/vc.el (vc-checkout-carefully): Likewise.
4601         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4602         (emerge-version): Remove.
4604         * progmodes/compile.el (compile-internal): Remove.
4605         (compilation-parse-errors-function): Fix typo.
4607         * international/mule.el (set-char-table-default): Remove.
4608         (set-coding-priority, make-coding-system, generic-char-p)
4609         (charset-list, charset-bytes, charset-id): Use declare to mark
4610         functions as obsolete.
4612         * vc/pcvs-defs.el (cvs-buffer-name-alist)
4613         (cvs-invert-ignore-marks): Remove references to obsolete vars.
4614         * vc/vc-hooks.el (vc-default-registered): Don't use
4615         vc-master-templates.
4617         * font-lock.el (font-lock-reference-face):
4618         Use define-obsolete-variable-alias.
4620         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4621         * calendar/calendar.el (calendar-font-lock-keywords):
4622         * calendar/diary-lib.el (diary-font-lock-keywords)
4623         (diary-fancy-font-lock-keywords):
4624         * textmodes/reftex-sel.el (reftex-insert-docstruct):
4625         * textmodes/reftex-index.el (reftex-insert-index):
4626         * textmodes/reftex-cite.el (reftex-format-bib-entry):
4627         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4628         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4629         * progmodes/prolog.el (prolog-font-lock-keywords):
4630         * progmodes/idlwave.el (idlwave-idl-keywords):
4631         * progmodes/ada-mode.el (ada-font-lock-keywords):
4632         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4634 2012-09-24  Glenn Morris  <rgm@gnu.org>
4636         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4638 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
4640         * progmodes/python.el (python-indent-line): More consistent cursor
4641         movement behavior.
4643 2012-09-23  Stefan Merten  <smerten@oekonux.de>
4645         * textmodes/rst.el: Fix compiler warning.
4647 2012-09-23  Roland Winkler  <winkler@gnu.org>
4649         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4650         Transcribe also LaTeX hyphenation.
4651         (bibtex-reformat): Bug fix. Do not quote twice the elements of
4652         bibtex-reformat-previous-options.
4654 2012-09-23  Roland Winkler  <winkler@gnu.org>
4656         * proced.el (proced-renice-command): New variable.
4657         (proced-marked-processes): New function.
4658         (proced-with-processes-buffer): New macro.
4659         (proced-send-signal): Use them.
4660         (proced-renice): New command bound to r.
4662 2012-09-23  Roland Winkler  <winkler@gnu.org>
4664         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4665         ibuffer-saved-filter-groups has one element, shortcut the call of
4666         completing-read.  (Bug#12331)
4668 2012-09-23  Chong Yidong  <cyd@gnu.org>
4670         * bindings.el (mode-line-toggle-read-only):
4671         * bs.el (bs-toggle-readonly):
4672         * buff-menu.el (Buffer-menu-toggle-read-only):
4673         * dired.el (dired-toggle-read-only):
4674         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4676 2012-09-23  Chong Yidong  <cyd@gnu.org>
4678         * image.el (image-type-available-p): Adapt to init-image-library
4679         argument changes.
4681 2012-09-22  Juri Linkov  <juri@jurta.org>
4683         * dired.el (dired-mode-map): Add [remap read-only-mode] for
4684         `dired-toggle-read-only'.  (Bug#12462)
4686 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
4688         * subr.el (temp-output-buffer-show): New function.
4689         (with-output-to-temp-buffer): Call temp-output-buffer-show
4690         instead of internal-temp-output-buffer-show.
4692 2012-09-22  Chong Yidong  <cyd@gnu.org>
4694         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4695         (Bug#12462).
4697         * repeat.el (repeat): Doc fix (Bug#12348).
4699         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4700         (Bug#10909).
4702         * simple.el (shell-command-on-region): Doc fix.
4703         (read-only-mode): Doc fix.
4705 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
4707         * emacs-lisp/timer.el (run-with-idle-timer)
4708         (timer-activate-when-idle): Warn against reinvoking an idle timer
4709         from within its own timer action.  (Bug#12447)
4711 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
4713         * cus-start.el (window-combination-limit): Add new optional
4714         values.
4715         * window.el (temp-buffer-window-show)
4716         (window--try-to-split-window): Handle new values of
4717         window-combination-limit (Bug#1806).
4718         (split-window): Test window-combination-limit for t instead of
4719         non-nil.
4720         (display-buffer-at-bottom): New buffer display action function.
4721         * help.el (temp-buffer-resize-regexps): New option.
4722         (temp-buffer-resize-mode): Rewrite doc-string.
4723         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
4724         Don't resize reused window.  Suggested by Glenn Morris.
4726 2012-09-22  Stefan Merten  <smerten@oekonux.de>
4728         * textmodes/rst.el: Revamp section title faces.
4729         (rst-official-version)
4730         (rst-package-emacs-version-alist): Sync with official version
4731         V1.4.0.
4732         (rst-faces-defaults, rst-set-level-default)
4733         (rst-level-face-max, rst-level-face-base-color)
4734         (rst-level-face-base-light, rst-level-face-format-light)
4735         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4736         (rst-adornment-faces-alist): Match new setup.
4737         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4738         (rst-level-5, rst-level-6): New faces.
4740 2012-09-22  Chong Yidong  <cyd@gnu.org>
4742         * simple.el (undo): Handle indirect buffers (Bug#8207).
4744 2012-09-21  Leo Liu  <sdl.web@gmail.com>
4746         IDO: Disable match re-ordering for buffer switching.
4747         * ido.el (ido-buffer-disable-smart-matches): New variable.
4748         (ido-set-matches-1): Use it.  (Bug#2042)
4750 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
4752         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4753         Fix 2011-05-17 change.  (Bug#12418)
4755 2012-09-21  Leo Liu  <sdl.web@gmail.com>
4757         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4759 2012-09-21  Glenn Morris  <rgm@gnu.org>
4761         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4762         Be more robust about locating simple.el.
4764 2012-09-21  Glenn Morris  <rgm@gnu.org>
4766         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4768 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
4770         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
4772 2012-09-20  Juri Linkov  <juri@jurta.org>
4774         * replace.el (query-replace-read-from): Use `read-regexp' instead
4775         of `read-from-minibuffer' when `regexp-flag' is non-nil.
4776         (occur-read-primary-args): Use `read-regexp' instead of
4777         `read-string'.
4778         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4779         `read-from-minibuffer'.
4780         * isearch.el (isearch-occur): Use `read-regexp' instead of
4781         `read-string'.
4782         * dired.el (dired-read-regexp): Use `read-regexp' instead of
4783         `read-from-minibuffer'.
4784         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4785         of `read-string'.  (Bug#7567)
4787         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4788         and allow accepting a list of strings prepended to a list of
4789         standard default values.  Doc fix.  (Bug#12321)
4791         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
4793         * replace.el (read-regexp): Don't add ": " when PROMPT already
4794         ends with a colon and space.  (Bug#12321)
4796 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
4798         * doc-view.el (doc-view-display): Better fix for the cl-assertion
4799         error.
4801 2012-09-20  Stefan Merten  <smerten@oekonux.de>
4803         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
4804         Fixes feature request bug#11711.
4805         (rst-mode): Create `imenu-create-index-function'.
4806         (rst-get-stripped-line): Delete after refactoring.
4807         (rst-section-tree, rst-section-tree-rec)
4808         (rst-section-tree-point): Refactor and document properly.
4809         (rst-imenu-find-adornments-for-position)
4810         (rst-imenu-convert-cell, rst-imenu-create-index):
4811         New function.
4813 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4815         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4816         (macroexp--expand-all): Use it.
4817         (macroexp--funcall-and-return): Remove by folding it into its sole
4818         caller (macroexp--warn-and-return).
4819         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4820         Use macroexp--obsolete-warning.
4822         * calc/calc.el: Fix last change by removing the whole chunk, since it
4823         was only needed back when Calc was not bundled.
4825 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
4827         * emacs-lisp/debug.el (debug): Restore assignment to
4828         debugger-old-buffer removed on 2012-09-08.
4830 2012-09-20  Juri Linkov  <juri@jurta.org>
4832         * dired-aux.el (dired-diff): Remove (require 'diff) since
4833         `diff-latest-backup-file' is now autoloaded.
4835 2012-09-20  Chong Yidong  <cyd@gnu.org>
4837         * vc/diff.el (diff-latest-backup-file): Autoload.
4839 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4841         * calc/calc.el: Remove redundant autoload shape check.
4842         (sel-mode): Don't defvar.
4843         (calc-get-stack-element): Add `sel-mode' arg instead.
4844         (calc-top, calc-top-list): Pass it this additional argument.
4845         * calc/calc-store.el (calc-store-map):
4846         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4847         (calc-map-equation, calc-outer-product, calc-inner-product):
4848         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4850         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4852 2012-09-19  Juri Linkov  <juri@jurta.org>
4854         * dired-aux.el (dired-diff): Add (require 'diff) because
4855         `diff-latest-backup-file' is not autoloaded.
4856         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4857         of `dired-get-filename' to t to not report error when there is
4858         no default file on the current line.
4860 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4862         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4863         macroexp--eval-if-compile.
4864         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4865         (macroexp--expand-all): Use them (bug#12371).
4867         * doc-view.el (doc-view-guess-paper-size)
4868         (doc-view-scale-bounding-box): Fix unbound `caddr'.
4870 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
4872         New feature: set optimal slice from BoundingBox information.
4873         * doc-view.el (doc-view-mode-map): Add keybinding.
4874         (doc-view-menu): Add menu entry.
4875         (doc-view-set-slice): Adapt docstring.
4876         (doc-view-get-bounding-box, doc-view-guess-paper-size)
4877         (doc-view-scale-bounding-box)
4878         (doc-view-set-slice-from-bounding-box): New functions.
4879         (doc-view-paper-sizes): New defvar.
4881 2012-09-19  Glenn Morris  <rgm@gnu.org>
4883         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4884         (byte-compile-log-warning): Autoload.  (Bug#12371)
4886         * calendar/calendar.el (calendar-american-month-header)
4887         (calendar-european-month-header, calendar-iso-month-header)
4888         (calendar-month-header): New options.
4889         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
4890         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
4892 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
4894         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4896 2012-09-18  Juri Linkov  <juri@jurta.org>
4898         * dired-aux.el (dired-diff): Restore original functionality of
4899         getting the default value, but keep new feature of using the
4900         latest existing backup file (`diff-latest-backup-file').
4902 2012-09-18  Juri Linkov  <juri@jurta.org>
4904         * dired.el (dired-mark): If the region is active in Transient Mark
4905         mode, mark all files in the active region.  Doc fix.
4906         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4907         Doc fix.  (Bug#10624)
4909 2012-09-18  Juri Linkov  <juri@jurta.org>
4911         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4912         attributes for M-n are pulled from the file at point.
4913         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4914         Suggested by Drew Adams.  (Bug#10624)
4916 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
4918         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4919         whitespace after "end".
4920         (ruby-do-end-to-brace): Collapse block to one line if it fits
4921         within fill-column.
4923 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
4925         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4926         value.
4927         (debug): Don't remove debugger window when debugger is expected
4928         to be back.
4930 2012-09-18  Chong Yidong  <cyd@gnu.org>
4932         * custom.el (defface): Doc fix.
4934         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4936 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
4938         * progmodes/compile.el (compilation-start): Use compilation-always-kill
4939         to initialize query-on-exit; then test that instead (bug#12288).
4941 2012-09-17  Stefan Merten  <smerten@oekonux.de>
4943         * textmodes/rst.el: Add support for `testcover'.
4944         (rst-defcustom-testcover, rst-testcover-add-compose)
4945         (rst-testcover-add-1value): New functions.
4946         (rst-portable-mark-active-p): Replace by `use-region-p'.
4947         (rst-update-section, rst-classify-adornment)
4948         (rst-find-title-line): Mark `1value' forms.
4949         (rst-classify-adornment): Remove superfluous form.
4950         (rst-update-section, rst-get-adornments-around)
4951         (rst-adornment-complete-p, rst-get-next-adornment)
4952         (rst-adjust, rst-promote-region)
4953         (rst-display-adornments-hierarchy, rst-straighten-adornments)
4954         (rst-find-pfx-in-region, rst-section-tree-rec)
4955         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4956         (rst-toc-node, rst-toc, rst-forward-section)
4957         (rst-iterate-leftmost-paragraphs)
4958         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4959         (rst-bullet-list-region)
4960         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4961         (rst-compile-find-conf, rst-compile)
4962         (rst-repeat-last-character): Fix style.
4964 2012-09-17  Chong Yidong  <cyd@gnu.org>
4966         * comint.el (comint--complete-file-name-data): Don't add a space
4967         if the status is `sole'; that adds a gratuitous space in the
4968         completion-cycling case (Bug#12092).
4970         * pcomplete.el (pcomplete-completions-at-point): Likewise.
4972 2012-09-17  Richard Stallman  <rms@gnu.org>
4974         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4975         only in the mime-shown mode, not in raw mode.
4976         (rmail-mime): Toggle off mime by displaying the message without
4977         mime processing.  (Bug#12305)
4979         * mail/rmail.el (rmail-retry-failure):
4980         Turn off mime processing first.  (Bug#12037)
4982         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4984 2012-09-17  Chong Yidong  <cyd@gnu.org>
4986         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4987         (shell-dynamic-complete-functions): Convert to defcustom.
4988         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4990         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4991         * comint.el (comint-prompt-read-only):
4992         * custom.el (defcustom):
4993         * hi-lock.el (hi-lock-mode):
4994         * ibuffer.el (ibuffer-formats):
4995         * ielm.el (ielm-prompt-read-only):
4996         * novice.el (disable-command):
4997         * saveplace.el (toggle-save-place):
4998         * speedbar.el (speedbar-supported-extension-expressions):
4999         * startup.el (auto-save-list-file-prefix, init-file-user)
5000         (after-init-hook, inhibit-startup-echo-area-message):
5001         * strokes.el (strokes-help):
5002         * time-stamp.el (time-stamp):
5003         * calendar/calendar.el (calendar, diary-file):
5004         * calendar/diary-lib.el (diary-mail-entries, diary)
5005         (diary-list-entries-hook):
5006         * calendar/holidays.el (holidays, calendar-holidays):
5007         * calendar/lunar.el (lunar-phases):
5008         * calendar/solar.el (sunrise-sunset):
5009         * emulation/edt.el (edt-load-keys):
5010         * emulation/viper.el (viper-mode):
5011         * eshell/em-alias.el (eshell-command-aliases-list):
5012         * eshell/esh-util.el (eshell-convert-numeric-arguments):
5013         * international/ogonek.el (ogonek-information):
5014         * net/tramp-cmds.el (tramp-bug):
5015         * net/quickurl.el (quickurl-reread-hook-postfix):
5016         * play/decipher.el (decipher-font-lock-keywords):
5017         * progmodes/cc-styles.el (c-set-style):
5018         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5019         * progmodes/inf-lisp.el (inferior-lisp-prompt):
5020         * progmodes/octave-mod.el (octave-mode):
5021         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5022         * progmodes/verilog-mode.el (verilog-read-defines):
5023         * textmodes/two-column.el (2C-mode): Likewise.
5025 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
5027         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5028         that holds many addresses.
5030 2012-09-16  Chong Yidong  <cyd@gnu.org>
5032         * align.el (align-areas): Call the indication function with
5033         positions instead of markers for arguments (Bug#12343).
5035         * files.el (parse-colon-path): Use split-string (Bug#12351).
5037         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5038         (display-buffer-function): Mark as obsolete.
5040         * progmodes/compile.el (compilation-parse-errors): Accept list
5041         values similar to font-lock-keywords (Bug#12136).
5042         Suggested by Oleksandr Manzyuk.
5043         (compilation-error-regexp-alist): Doc fix.
5045 2012-09-15  Glenn Morris  <rgm@gnu.org>
5047         * version.el (emacs-bzr-version-bzr): New function.
5048         (emacs-bzr-get-version): Add optional EXTERNAL argument.
5050         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5051         checkouts, check the parent dirstate matches the branch.
5052         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
5053         empty string.
5055         * version.el (emacs-bzr-version): Doc fix.
5056         (emacs-bzr-version-dirstate): New function.
5057         (emacs-bzr-get-version): For lightweight checkouts, if the parent
5058         is local try and check that it matches the branch.  If not, just
5059         use dirstate information.  (Bug#12441)
5061 2012-09-14  Juri Linkov  <juri@jurta.org>
5063         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5064         (Bug#12399)
5066 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5068         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5070         * emacs-lisp/edebug.el: Miscellaneous cleanup.
5071         Remove obsolete byte-compiler hack that tried to silence some warnings.
5072         (edebug-submit-bug-report): Remove.
5073         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5074         Remove aliases, use the un-prefixed name instead.
5075         (edebug-pop-to-buffer): Consider other frames.
5076         (edebug-original-read):: Make it more obvious that it's always defined.
5077         (edebug--make-form-data-entry, edebug--form-data-name)
5078         (edebug--form-data-begin, edebug--form-data-end): Rename from the
5079         single-dashed name, and implement with cl-defstruct.
5080         (edebug-set-form-data-entry): Use the standard accessors.
5081         (edebug-make-top-form-data-entry): Use push.
5082         (edebug-no-match): Drop useless `funcall'.
5083         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5084         to functions.
5085         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5086         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5087         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5088         (easy-menu-define, with-custom-print): Remove redundant specs.
5089         (edebug-outside-overriding-local-map)
5090         (edebug-outside-overriding-terminal-local-map): Remove, unused.
5091         (edebug--display): Bind unread-command-events directly to nil rather
5092         than binding it to unread-command-events and later setting it to nil.
5093         (edebug--display): Kill edebug-eval-buffer here...
5094         (edebug--recursive-edit): ...rather than here.
5095         Bind standard-output and standard-input.
5096         (edebug-eval): Check cl-macroexpand-all is fboundp.
5097         (edebug-temp-display-freq-count): Fix last change.
5099         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5100         * subr.el (noreturn, 1value): Add `debug' spec.
5101         * emacs-lisp/advice.el: Require cl-lib.
5102         (ad-copy-tree): Remove, use copy-tree instead.
5103         (ad-dolist): Remove use dolist or cl-dolist instead.
5104         (ad-do-return): Remove, use cl-return instead.
5105         (defadvice): Add `debug' spec.
5107 2012-09-13  Juri Linkov  <juri@jurta.org>
5109         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5110         (Bug#12399)
5112 2012-09-13  Glenn Morris  <rgm@gnu.org>
5114         * calc/calc.el (math-compose-expr):
5115         * calc/calc-ext.el (math-compose-expr):
5116         * progmodes/cc-defs.el (cl-macroexpand-all):
5117         * progmodes/cc-langs.el (delete-duplicates, mapcan)
5118         (cl-macroexpand-all): Update declarations.
5120         * vc/vc.el: No need to require ediff.
5121         (ediff-load-version-control): Declare.
5122         (ediff-vc-internal): Fix declaration.
5123         (vc-version-ediff): Require ediff.
5125 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
5127         Use a more backwards-compatible timer format (Bug#12430).
5128         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5129         being right after USECS, as that better supports old code that
5130         inadvisedly looked directly at the timer vector.
5132 2012-09-13  Kenichi Handa  <handa@gnu.org>
5134         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5135         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5136         `coding-priority' property of these language environment.
5138 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
5140         Fix glitches caused by addition of psec to timers (Bug#12430).
5141         * image.el (image-animate-timer):
5142         * time.el (display-time-world-timer):
5143         Use timer--function and timer--args rather than raw access to
5144         timer vector.
5146 2012-09-13  Glenn Morris  <rgm@gnu.org>
5148         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5149         If not compiling a file, try using load-file-name.
5151 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5153         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5154         Fix last change.
5155         (edebug-update-eval-list): Use `push'.
5157         * emacs-lisp/edebug.el: Use lexical-binding.
5158         Remove the "edebug-" prefix from non-dynamically-scoped variables.
5159         Mark unused args with underscore.
5160         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5161         (edebug-form-data): Use defvar-local.
5162         (edebug-make-before-and-after-form, edebug-make-after-form):
5163         Use backquote.
5164         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5165         Not dynamically scoped any more.
5166         (edebug--enter-trace): Add arguments `function' and `args'.
5167         Rename from edebug-enter-trace.
5168         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
5169         (edebug--update-coverage): Add `after-index' and `value' args.
5170         Rename from edebug-update-coverage.
5171         (edebug-slow-after): Call it accordingly.
5172         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
5173         edebug-recursive-edit.
5174         (edebug--display): Call it accordingly.  Add args `value',
5175         `offset-index', and `arg-mode'.  Rename from edebug-display.
5176         (edebug-debugger, edebug): Call it accordingly.
5177         (edebug-eval-display-list): Use dolist.
5179 2012-09-12  Juri Linkov  <juri@jurta.org>
5181         * info.el (Info-search): Don't check for isearch-mode and
5182         isearch-regexp before let-binding search-spaces-regexp to
5183         Info-search-whitespace-regexp.
5184         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5185         search-whitespace-regexp if isearch-lax-whitespace or
5186         isearch-regexp-lax-whitespace is non-nil.
5187         (Info-mode): Don't set local variable search-whitespace-regexp.
5188         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5190 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5192         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5193         (debugger-env-macro): Remove support for unread-command-char.
5195         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5196         the temporary map re-appearing on emulation-mode-map-alists.
5198         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5199         since 22.1.
5201         * ehelp.el (with-electric-help): Accept functions in
5202         electric-help-form-to-execute.
5203         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5204         And replace unread-command-char -> unread-command-events.
5206 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
5208         Sync with Tramp 2.2.6.
5210         * net/tramp.el (tramp-accept-process-output): Don't use
5211         JUST-THIS-ONE in the XEmacs case.
5213         * net/trampver.el: Update release number.
5215 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
5217         * emacs-lisp/debug.el (debugger-previous-window-height):
5218         New variable.
5219         (debug): When debugger-jumping-flag is non-nil try to restore
5220         height of debugger window.  (Bug#8789)
5222 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5224         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5225         overriding-local-map and pre/post-command-hook here.
5226         (edebug-recursive-edit): Do it here instead (bug#12345).
5227         (edebug-outside-unread-command-char): Remove all uses of
5228         unread-command-char.
5230         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5231         inhibit-debugger is bound instead.
5233 2012-09-11  Bastien Guerry  <bzg@gnu.org>
5235         * subr.el (set-temporary-overlay-map): Add a docstring.
5236         (Bug#12346)
5238 2012-09-11  Bastien Guerry  <bzg@gnu.org>
5240         * minibuffer.el (completion-table-subvert): Fix docstring.
5241         (Bug#12347)
5243 2012-09-11  Bastien Guerry  <bzg@gnu.org>
5245         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
5247 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
5249         * progmodes/sql.el: Version 3.1
5250         (sql-db2-escape-newlines): New variable.
5251         (sql-escape-newlines-filter): Use it.
5253 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
5255         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5257 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
5259         * vc/diff-mode.el (diff-mode-menu):
5260         Bind diff-remove-trailing-whitespace.
5262 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5264         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5265         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5266         (emacs-lisp-byte-code-mode): New functions.
5267         (eval-sexp-add-defvars): Don't skip defvars in column >0.
5268         (eval-defun-2): Remove bogus interactive spec.
5269         (lisp-indent-line): Remove redundant whole-exp code, now done in
5270         indent-according-to-mode.
5271         (save-match-data): Remove redundant indent data.
5273         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5274         Use `declare'.
5276 2012-09-09  Juri Linkov  <juri@jurta.org>
5278         * replace.el (replace-regexp-lax-whitespace): New defcustom.
5279         (replace-lax-whitespace, query-replace-regexp)
5280         (query-replace-regexp-eval, replace-regexp): Doc fix.
5281         (perform-replace, replace-highlight): Let-bind
5282         isearch-lax-whitespace to replace-lax-whitespace and
5283         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5285         * isearch.el (isearch-query-replace): Let-bind
5286         replace-lax-whitespace to isearch-lax-whitespace and
5287         replace-regexp-lax-whitespace to
5288         isearch-regexp-lax-whitespace.  (Bug#10885)
5290 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5292         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5294 2012-09-09  Alan Mackenzie  <acm@muc.de>
5296         * progmodes/cc-engine.el (c-state-cache-init):
5297         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5298         (c-record-parse-state-state):
5299         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
5301 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
5303         * register.el (register-separator): Rename from
5304         separator-register.  All uses changed.  Doc fix.
5305         (register): Fix version.
5307 2012-09-09  Chong Yidong  <cyd@gnu.org>
5309         * replace.el (query-replace-map): Bind four new symbols for
5310         requesting window scrolling.
5312         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5313         query-replace-map (Bug#8948).
5315         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5317         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5318         since they are now in query-replace-map.
5320         * window.el (scroll-other-window-down): Make the arg optional.
5322 2012-09-09  Chong Yidong  <cyd@gnu.org>
5324         * files.el (hack-local-variables-confirm): Use quit-window to kill
5325         the *Local Variables* buffer.
5327 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
5329         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5330         not just expect to be at its beginning.  Adjust callees.
5331         Succeed when do-end block has no space before the pipe character.
5332         (ruby-brace-to-do-end): When the original block is one-liner,
5333         convert to multiline.  Reindent the result.
5335 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
5337         * register.el (register): New group.
5338         (separator-register): New user option.
5339         (increment-register): Route it to `append-to-register', if
5340         register contains text.  Implication is that `C-x r +' can now be
5341         used for appending to a text register (bug#12217).
5342         (append-to-register, prepend-to-register): Add separator based on
5343         `separator-register'.
5345 2012-09-08  Alan Mackenzie  <acm@muc.de>
5347         AWK Mode: make auto-newline work when there's "==" in the pattern.
5348         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5349         correctly.
5350         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5351         Test more rigorously for "=" token.
5353 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
5355         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5356         Only fail when reached LIMIT.
5358 2012-09-08  Chong Yidong  <cyd@gnu.org>
5360         * dired.el (dired-mode-map): Don't bind M-=.
5362         * dired-aux.el (dired-diff): Use backup file as default.
5364 2012-09-08  Drew Adams  <drew.adams@oracle.com>
5366         * subr.el (add-to-history): Fix delete usage (Bug#12314).
5368 2012-09-08  Chong Yidong  <cyd@gnu.org>
5370         * subr.el (syntax-after, syntax-class): Doc fix.
5372 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
5374         * window.el (display-buffer-in-previous-window): New buffer
5375         display action function.
5377         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5378         (debugger-previous-window): New variable.
5379         (debug): Rewrite using display-buffer-in-previous-window,
5380         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
5382 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5384         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
5386 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
5388         * progmodes/python.el (python-shell-send-string):
5389         When default-directory is remote, create temp file on remote
5390         filesystem.
5391         (python-shell-send-file): When file is remote, pass local view of
5392         file paths to remote Python interpreter.  (Bug#12340)
5394 2012-09-07  Chong Yidong  <cyd@gnu.org>
5396         * window.el (switch-to-buffer): Doc fix (Bug#12181).
5398         * files.el (after-find-file): Don't fail on a read-only buffer if
5399         require-final-newline is `visit' or `visit-save' (Bug#11156).
5401         * subr.el (read-char-choice): Allow quitting via ESC ESC.
5403         * userlock.el (ask-user-about-supersession-threat):
5404         Use read-char-choice (Bug#12093).
5406 2012-09-07  Chong Yidong  <cyd@gnu.org>
5408         * subr.el (buffer-narrowed-p): New function.
5410         * ses.el (ses-widen):
5411         * simple.el (count-words--buffer-message):
5412         * net/browse-url.el (browse-url-of-buffer): Use it.
5414         * simple.el (count-words-region): Don't signal an error if there
5415         is a non-nil prefix arg and the mark is not set.
5417         * help.el (describe-key-briefly): Allow the message to be seen
5418         when invoked from the minibuffer (Bug#7014).
5420 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
5422         * progmodes/ruby-mode.el (ruby-end-of-defun)
5423         (ruby-beginning-of-defun): Simplify, allow indentation before
5424         block beginning and end keywords.
5425         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5426         (ruby-end-of-defun): Expect that the point is at the beginning of
5427         the defun.
5429 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5431         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5432         (bug#12367).
5433         (cl--make-usage-args): Strip _ from argument names.
5435 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5437         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5438         obsolete alias speedbar-key-map.
5439         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5440         (vhdl-index-menu-init): Don't use obsolete variable
5441         font-lock-maximum-size.
5443 2012-09-06  Chong Yidong  <cyd@gnu.org>
5445         * frame.el (window-system-version): Mark as obsolete.
5447         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5448         of obsolete variable speedbar-key-map.
5450 2012-09-06  Juri Linkov  <juri@jurta.org>
5452         * replace.el (replace-lax-whitespace): New defcustom.
5453         (query-replace, query-replace-regexp, query-replace-regexp-eval)
5454         (replace-string, replace-regexp): Mention it in docstrings.
5455         (perform-replace, replace-highlight): Let-bind
5456         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5457         to the values of replace-lax-whitespace and regexp-flag.
5458         Don't let-bind search-whitespace-regexp.  (Bug#10885)
5460         * isearch.el (isearch-query-replace): Let-bind
5461         replace-lax-whitespace instead of let-binding
5462         replace-search-function and replace-re-search-function.
5463         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5464         and isearch-regexp-lax-whitespace to lazy-highlight variables.
5465         (isearch-toggle-symbol): Set isearch-regexp to nil
5466         in isearch-word mode (like in isearch-toggle-word).
5468 2012-09-06  Juri Linkov  <juri@jurta.org>
5470         * replace.el (replace-search-function)
5471         (replace-re-search-function): Set default values to nil.
5472         (perform-replace): Let-bind isearch-related variables based on
5473         replace-related values, call `isearch-search-fun' and let-bind
5474         the result to `search-function'.  Remove code that sets
5475         `search-function' and `search-string' separately for
5476         `delimited-flag'.
5477         (replace-highlight): Add new argument `delimited-flag' and
5478         rename other arguments to the names used in `perform-replace'.
5479         Let-bind `isearch-word' to the argument `delimited-flag'.
5480         (Bug#10885, bug#10887)
5482 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
5484         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5485         ruby-beginning-of-indent, simplify, allow all keywords to have
5486         indentation before them.
5487         (ruby-beginning-of-indent): Adjust for above.  Search until the
5488         found point is not inside a string or comment.
5489         (ruby-font-lock-keywords): Allow symbols to start with "@"
5490         character, give them higher priority than variables.
5491         (ruby-syntax-propertize-function)
5492         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5493         matchers.  Expression expansions are not comments when inside a
5494         string, and there comment syntax status is irrelevant.
5495         (ruby-match-expression-expansion): New function.  Check that
5496         expression expansion is inside a string, and it's not escaped.
5497         (ruby-font-lock-keywords): Use it.
5499 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
5501         * help.el (temp-buffer-max-height): New default value.
5502         (temp-buffer-resize-frames): New option.
5503         (resize-temp-buffer-window): Optionally resize frame.
5505         * window.el (fit-frame-to-buffer-bottom-margin): New option.
5506         (fit-frame-to-buffer): New function.
5508 2012-09-05  Glenn Morris  <rgm@gnu.org>
5510         * emulation/cua-rect.el (cua--init-rectangles):
5511         * textmodes/picture.el (picture-mode-map):
5512         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5513         like forward-char and backward-char.  (Bug#12317)
5515 2012-09-05  Leo Liu  <sdl.web@gmail.com>
5517         * progmodes/flymake.el (flymake-warning-re): New variable.
5518         (flymake-parse-line): Use it.
5520 2012-09-05  Glenn Morris  <rgm@gnu.org>
5522         * calendar/holidays.el (holiday-christian-holidays):
5523         Rename an entry.  (Bug#12289)
5525 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5527         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5528         (bug#12222).
5530 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5532         * loadup.el: Load macroexp.  Remove hack.
5533         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5534         (macroexp--expand-all): Use it to get better warnings.
5535         (macroexp--backtrace, macroexp--trim-backtrace-frame)
5536         (internal-macroexpand-for-load): New functions.
5537         (macroexp--pending-eager-loads): New var.
5538         (emacs-startup-hook): New hack to replace one in loadup.el.
5539         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5540         (cl--compiler-macro-cXXr): Move to top, before they can be used.
5541         (cl-psetf): Simplify.
5542         (cl-defstruct): Add indent rule.
5544 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
5546         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5547         over `user-mail-address' for the SMTP MAIL FROM envelope.
5548         (smtpmail-via-smtp): Ditto.
5550 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
5552         * progmodes/ruby-mode.el: Clean up keybindings.
5553         (ruby-mode-map): Don't bind ruby-electric-brace,
5554         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5555         backward-kill-word, reindent-then-newline-and-indent.
5556         (ruby-mark-defun): Remove.
5557         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
5558         (ruby-mode): Set local beginning-of-defun-function and
5559         end-of-defun-function values.
5561 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
5563         * window.el (temp-buffer-window-setup-hook)
5564         (temp-buffer-window-show-hook): New hooks.
5565         (temp-buffer-window-setup, temp-buffer-window-show)
5566         (with-temp-buffer-window): New functions.
5567         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5568         (special-display-popup-frame): Make sure the window used shows BUFFER.
5570         * help.el (temp-buffer-resize-mode): Fix doc-string.
5571         (resize-temp-buffer-window): New optional argument WINDOW.
5573         * files.el (recover-file, save-buffers-kill-emacs):
5574         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5576 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
5578         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5579         remote definition of `default-directory', ensure we can connect.
5581 2012-09-02  Juri Linkov  <juri@jurta.org>
5583         Toggle whitespace matching mode with M-s SPC.
5584         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5586         * isearch.el (search-whitespace-regexp): Doc fix.
5587         Remove cons cell customization.
5588         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5589         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5590         New variables.
5591         (isearch-forward, isearch-forward-regexp): Doc fix.
5592         (isearch-toggle-lax-whitespace): New command.
5593         (search-forward-lax-whitespace, search-backward-lax-whitespace)
5594         (re-search-forward-lax-whitespace)
5595         (re-search-backward-lax-whitespace): New functions.
5596         (isearch-whitespace-regexp): Remove function.
5597         (isearch-query-replace): Let-bind replace-search-function and
5598         replace-re-search-function.
5599         (isearch-occur): Let-bind search-spaces-regexp according to the
5600         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5601         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5602         condition for C-q SPC.
5603         (isearch-search-fun-default): Use new functions mentioned above.
5604         (isearch-search-forward, isearch-search-backward): Remove functions.
5605         (isearch-search): Don't let-bind search-spaces-regexp.
5606         (isearch-lazy-highlight-space-regexp): Remove variable.
5607         (isearch-lazy-highlight-lax-whitespace)
5608         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5609         (isearch-lazy-highlight-new-loop): Use them.
5610         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5612 2012-09-02  Chong Yidong  <cyd@gnu.org>
5614         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5616 2012-09-02  Glenn Morris  <rgm@gnu.org>
5618         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
5620 2012-09-01  Glenn Morris  <rgm@gnu.org>
5622         * term.el: Tidy up menu definitions.
5623         (term-mode-map): Use easymenu for In/Out, Complete menus.
5624         (term-pager-break-map): Initialize in the defvar.
5625         (term-terminal-menu, term-signals-menu): Define with easymenu.
5626         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
5627         (term-pager-menu): New, extracted from term-process-pager.
5628         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5629         (term-update-mode-line): Propertize line/char and page items.
5630         (term-process-pager): Move keymap initialization elsewhere.
5632 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
5634         * window.el (switch-to-prev-buffer): Handle additional values of
5635         BURY-OR-KILL argument.  Don't switch in minibuffer window.
5636         (switch-to-next-buffer): Don't switch in minibuffer window.
5637         (quit-restore-window): New function based on quit-window.
5638         Handle additional values of former KILL argument.
5639         (quit-window): Call quit-restore-window with appropriate
5640         interpretation of KILL argument.
5641         (display-buffer-below-selected): New buffer display action
5642         function.
5644 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5646         * minibuffer.el (completion-at-point-functions): Complete docstring
5647         (bug#12254).
5649 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
5651         Better seed support for (random).
5652         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5653         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5654         * play/mpuz.el, play/tetris.el, play/zone.el:
5655         * calc/calc-comb.el (math-init-random-base):
5656         * play/blackbox.el (bb-init-board):
5657         * play/life.el (life):
5658         * server.el (server-use-tcp):
5659         * type-break.el (type-break):
5660         Remove unnecessary call to (random t).
5661         * net/sasl.el (sasl-unique-id-function):
5662         Change (random t) to (random), now that the latter is more random.
5663         * play/life.el (life-initialized): Remove no-longer-needed var.
5665 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
5667         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5668         Consider frame's buffer predicate when choosing the buffer.
5669         (Bug#12081)
5671 2012-08-30  Richard Stallman  <rms@gnu.org>
5673         * simple.el (special-mode-map): Delete binding for `z'.
5675 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
5677         * progmodes/compile.el (compilation-always-kill): Doc fix.
5679 2012-08-30  Chong Yidong  <cyd@gnu.org>
5681         * window.el (display-buffer-reuse-frames): Make the obsolescence
5682         message more informative.
5684 2012-08-30  Glenn Morris  <rgm@gnu.org>
5686         * paren.el (show-paren-delay):
5687         Add a :set function.  Doc fix.  (Bug#12297)
5689 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
5691         * progmodes/compile.el (compilation-always-kill): New var.
5692         (compilation-start): Use it.
5694 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5696         * simple.el (read-only-mode): Move from files.el for bootstrapping.
5697         * files.el (read-only-mode): Move to simple.el.
5699         * files.el (read-only-mode): New minor mode.
5700         (toggle-read-only): Use it and mark obsolete.
5701         (find-file--read-only):
5702         * vc/vc.el (vc-next-action, vc-checkout):
5703         * vc/vc-cvs.el (vc-cvs-checkout):
5704         * obsolete/vc-mcvs.el (vc-mcvs-update):
5705         * ffap.el (ffap--toggle-read-only): Update callers.
5707 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
5709         * eshell/esh-ext.el (eshell-external-command): Do not examine
5710         remote shell scripts.
5711         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
5713         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5714         "/usr/local/sbin".
5716 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5718         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5720 2012-08-28  Leo Liu  <sdl.web@gmail.com>
5722         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5723         completion-at-point.  (Bug#12220)
5725         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5727         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5729 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5731         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5732         be buffer-local; add delete-trailing-whitespace (bug#12259).
5734 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
5736         * progmodes/hideif.el (hif-compress-define-list):
5737         Fix typo.  (Bug#11951)
5739 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
5741         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5742         buffer local setting.
5744         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5745         rcirc-encode-coding-system.
5747 2012-08-28  Leo Liu  <sdl.web@gmail.com>
5749         * net/rcirc.el (rcirc-split-message): New function.
5750         (rcirc-send-message): Use it.  (Bug#12051)
5752 2012-08-28  Juri Linkov  <juri@jurta.org>
5754         * info.el (Info-fontify-node): Hide empty lines at the end of
5755         the node.  (Bug#12272)
5757 2012-08-27  Drew Adams  <drew.adams@oracle.com>
5759         * dired.el (dired-pop-to-buffer): Make window start at beginning
5760         of buffer (Bug#12281).
5762 2012-08-26  Chong Yidong  <cyd@gnu.org>
5764         * window.el (special-display-regexps, special-display-frame-alist)
5765         (special-display-buffer-names, special-display-function)
5766         (display-buffer-reuse-frames): Mark as obsolete.
5768         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5770         * help.el (help-print-return-message): Don't treat
5771         display-buffer-reuse-frames specially.
5773 2012-08-26  Chong Yidong  <cyd@gnu.org>
5775         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5776         New variable, replacing gdb-frame-parameters.
5777         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5778         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5779         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5780         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5781         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
5782         the functions directly with gdb-display-buffer-other-frame-action.
5783         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5784         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5785         (gdb-display-stack-buffer, gdb-display-locals-buffer)
5786         (gdb-display-registers-buffer): Define directly.
5787         (def-gdb-display-buffer): Macro deleted.
5788         (gdb-display-buffer): Remove second and third args, callers don't
5789         use them.  Defer to the default display-buffer behavior, apart
5790         from making windows dedicated.
5791         (gdb-setup-windows): Don't call display-buffer unnecessarily.
5793         * progmodes/gud.el (gud-display-line): Just use display-buffer.
5795         * window.el (display-buffer-pop-up-frame): Handle a
5796         pop-up-frame-parameters alist entry.
5797         (display-buffer): Document it.
5799 2012-08-26  Chong Yidong  <cyd@gnu.org>
5801         * isearch.el (search-whitespace-regexp): Make string and nil
5802         values apply to both ordinary and regexp search.  Allow a cons
5803         cell value to distinguish between the two.
5804         (isearch-whitespace-regexp, isearch-search-forward)
5805         (isearch-search-backward): New functions.
5806         (isearch-occur, isearch-search-fun-default, isearch-search)
5807         (isearch-lazy-highlight-new-loop): Use them.
5808         (isearch-forward, isearch-forward-regexp): Doc fix.
5810 2012-08-26  Chong Yidong  <cyd@gnu.org>
5812         * faces.el (help-argument-name): Always inherit from italic
5813         (Bug#12213).
5815 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
5817         * window.el (window--even-window-heights): Even heights when
5818         WINDOW and the selected window form a vertical combination.
5819         (display-buffer-use-some-window): Provide that window used gets
5820         sized back by quit-window.  (Bug#11880) and (Bug#12091)
5822 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
5824         Fix file time stamp problem with bzr and CVS (Bug#12001).
5825         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5826         in the file's time stamp, since the version control system loses
5827         that information.
5829 2012-08-22  Juri Linkov  <juri@jurta.org>
5831         * info.el (Info-fontify-node): Hide the suffix of the
5832         Info file name in the header line.  (Bug#12187)
5834 2012-08-22  Glenn Morris  <rgm@gnu.org>
5836         * calendar/cal-tex.el (cal-tex-weekly-common):
5837         Restore leading blank page.
5839 2012-08-22  Le Wang  <l26wang@gmail.com>
5841         * misc.el (forward-to-word, backward-to-word): Activate or extend
5842         the region under `shift-select-mode'.  (Bug#12231)
5844 2012-08-22  Bastien Guerry  <bzg@gnu.org>
5846         * progmodes/executable.el (executable-prefix): Set to "#!" instead
5847         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
5848         gives details on why the space is never needed.
5850 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
5852         * window.el (walk-window-tree, window-with-parameter):
5853         New optional argument MINIBUF to control whether these functions
5854         should run on the minibuffer window.
5855         (window-at-side-list): Don't operate on minibuffer window.
5856         (window-in-direction): Simplify and rewrite doc-string.
5857         (window--size-ignore): Rename to window--size-ignore-p.
5858         Update callers.
5859         (display-buffer-in-atom-window, window--major-non-side-window)
5860         (window--major-side-window, display-buffer-in-major-side-window)
5861         (delete-side-window, display-buffer-in-side-window):
5862         New functions.
5863         (window--side-check, window-deletable-p, delete-window)
5864         (delete-other-windows, split-window): Handle side windows and
5865         atomic windows appropriately.
5866         (window--display-buffer): Call display-buffer-record-window also
5867         when the window buffer did not change.
5869 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
5871         * help-fns.el (help-fns--key-bindings):
5872         Abbreviate non-symbol remap targets.  (Bug#12174)
5874 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
5876         * dired.el (dired-mark-remembered): Don't clobber point.
5877         (Bug#11795)
5879 2012-08-22  Glenn Morris  <rgm@gnu.org>
5881         * progmodes/bug-reference.el (bug-reference): New custom group.
5882         (bug-reference-bug-regexp): Make it a defcustom.
5884 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
5886         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5887         (js-paren-indent-offset, js-square-indent-offset)
5888         (js-curly-indent-offset): Add :safe (Bug#12257).
5890 2012-08-22  Edward O'Connor  <hober0@gmail.com>
5892         * json.el (json-key-format): Add error properties.
5893         (json-encode-key): New function.
5894         (json-encode-hash-table, json-encode-alist, json-encode-plist):
5895         Use json-encode-key.
5897 2012-08-22  Glenn Morris  <rgm@gnu.org>
5899         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5900         (cal-tex-leftday, cal-tex-rightday): Remove functions.
5901         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5902         Update for above change.
5904 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
5906         * cus-face.el (custom-face-attributes): Fix customize type for the
5907         :underline attribute.  (Bug#11805)
5909 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
5911         * window.el (window-point-1, set-window-point-1): Remove.
5912         (window-in-direction, record-window-buffer)
5913         (set-window-buffer-start-and-point, split-window-below)
5914         (window--state-get-1, display-buffer-record-window):
5915         Replace calls to window-point-1 and set-window-point-1 by calls to
5916         window-point and set-window-point respectively.
5918 2012-08-21  Glenn Morris  <rgm@gnu.org>
5920         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5921         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5922         Use it.
5924         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5925         (cal-tex-shortday): New function.
5926         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5927         (cal-tex-cursor-filofax-daily): Use the above.
5929         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5930         New functions.
5931         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5932         (cal-tex-cursor-filofax-week): Use them.
5934         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5935         New constants.
5936         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5937         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5939         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5940         (cal-tex-end-document): Don't rely on buffer name.
5942         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5943         Use cal-tex-vspace.
5944         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5945         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
5946         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5947         Use cal-tex-arg.
5949         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5950         (cal-tex-cursor-week, cal-tex-cursor-week2)
5951         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5952         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5953         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5954         (cal-tex-insert-preamble, cal-tex-b-document)
5955         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5956         Improve cal-tex-cmd usage.
5958         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5959         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5960         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5961         (cal-tex-weekly-paper): New function.
5962         (cal-tex-cursor-week, cal-tex-cursor-week2)
5963         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5964         (cal-tex-cursor-day): Use it.
5966         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5967         (cal-tex-cursor-filofax-week): Remove leading blank page.
5969         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5970         Add autoload cookie.  For now at least, don't use color, since
5971         no other cal-tex function does.
5973         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5974         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5975         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5977 2012-08-21  Juri Linkov  <juri@jurta.org>
5979         * info.el (Info-file-attributes): New variable.
5980         (info-insert-file-contents): Add file attributes to
5981         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
5982         `Info-toc-nodes' when previous modtime of the Info file is less
5983         than new modtime.
5984         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5985         of info.el.  (Bug#12230)
5987 2012-08-20  Glenn Morris  <rgm@gnu.org>
5989         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5990         * calendar/holidays.el (calendar-holiday-list):
5991         Report errors with display-warning rather than beep'n'sleep.
5993 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
5995         * net/tramp.el (tramp-accept-process-output): Accept only output
5996         from PROC.  Otherwise, process filters and sentinels might be
5997         confused.  (Bug#12145)
5999 2012-08-20  Chong Yidong  <cyd@gnu.org>
6001         * descr-text.el (describe-text-properties-1): Use overlays-in to
6002         report on empty overlays (Bug#3322).
6004 2012-08-20  Glenn Morris  <rgm@gnu.org>
6006         * mail/rmailout.el (rmail-output-read-file-name):
6007         Trap and report errors in rmail-output-file-alist elements.
6009         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6010         since most non-font-lock faces are not also variables).
6012 2012-08-20  Edward Reingold  <reingold@iit.edu>
6014         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6015         New function.  (Bug12160)
6017 2012-08-19  Glenn Morris  <rgm@gnu.org>
6019         * mail/rmailout.el (rmail-output-read-file-name):
6020         Fix previous change (when the alist is nil or does not match).
6022 2012-08-19  Chong Yidong  <cyd@gnu.org>
6024         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6025         (Bug#12228).
6027 2012-08-18  Chong Yidong  <cyd@gnu.org>
6029         * simple.el (yank-handled-properties): New defcustom.
6030         (yank-excluded-properties): Add font-lock-face and category.
6031         (yank): Doc fix.
6033         * subr.el (remove-yank-excluded-properties):
6034         Obey yank-handled-properties.  The special handling of font-lock-face
6035         and category is now done this way, instead of being hard-coded.
6036         (insert-for-yank-1): Remove font-lock-face handling.
6037         (yank-handle-font-lock-face-property)
6038         (yank-handle-category-property): New function.
6040 2012-08-17  Glenn Morris  <rgm@gnu.org>
6042         * mail/rmailout.el (rmail-output-read-file-name):
6043         Check rmail-output-file-alist against the full message body
6044         in the correct rmail buffer.  (Bug#12214)
6046 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
6048         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6049         Eliminate superfluous prompt.  (Bug#12203)
6051 2012-08-17  Chong Yidong  <cyd@gnu.org>
6053         * mouse.el (mouse-appearance-menu): If x-select-font returns a
6054         font spec, set the font directly (Bug#3228).
6056 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
6058         * window.el (delete-window): Fix last fix.
6060 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
6062         * window.el (window-valid-p): Move to window.c.
6063         (window-child, window-child-count, window-last-child)
6064         (window-normalize-window, window-combined-p)
6065         (window-combinations, window-atom-root, window-min-size)
6066         (window-sizable, window-sizable-p, window-size-fixed-p)
6067         (window-min-delta, window-max-delta, window--resizable)
6068         (window--resizable-p, window-resizable, window-total-size)
6069         (window-full-height-p, window-full-width-p, window-body-size)
6070         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6071         (minimize-window, window-deletable-p, delete-window)
6072         (delete-other-windows, set-window-buffer-start-and-point)
6073         (next-buffer, previous-buffer, split-window, balance-windows-2)
6074         (set-window-text-height, window-buffer-height)
6075         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6076         (truncated-partial-width-window-p): Minor code adjustments.
6077         In doc-strings state whether the argument window has to denote a
6078         live, valid or any window.
6080 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
6082         * progmodes/subword.el (subword-forward-function)
6083         (subword-backward-function, subword-forward-regexp)
6084         (subword-backward-regexp): New variables.
6085         (subword-forward, subword-forward-internal, subword-backward-internal):
6086         Use new variables, eg so that different "word" definitions
6087         can be easily used.  (Bug#11411)
6089 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6091         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6092         for composite selectors.
6093         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6094         operation just because we can't find a previous revision.
6096 2012-08-15  Chong Yidong  <cyd@gnu.org>
6098         * frame.el (set-frame-font): Accept font objects.
6100 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6102         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6104 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
6106         * man.el (Man-overstrike-face, Man-underline-face)
6107         (Man-reverse-face): Remove variables.
6108         (Man-overstrike, Man-underline, Man-reverse): New faces.
6109         (Man-fontify-manpage): Use them instead of the variables.
6110         (Man-cleanup-manpage): Comment change.
6111         (Man-ansi-color-map): New variable.
6112         (Man-fontify-manpage): Use it.
6113         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6115         Implement ANSI SGR parameters 22-27 (bug#12146).
6116         * ansi-color.el (ansi-colors): Doc fix.
6117         (ansi-color-context, ansi-color-context-region): Doc fix.
6118         (ansi-color--find-face): New function.
6119         (ansi-color-apply, ansi-color-apply-on-region): Use it.
6120         Rename the local variable `face' to `codes' since it is now a list of
6121         ansi codes.  Doc fix.
6122         (ansi-color-get-face): Remove.
6123         (ansi-color-parse-sequence): New function, derived from
6124         ansi-color-get-face.
6125         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
6126         codes 22-27.
6128 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6130         * subr.el (read-passwd): Allow use from a minibuffer.
6132 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
6134         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6135         inside comments and strings as identifiers.
6137         * progmodes/gud.el (gud-tooltip-print-command): Quote the
6138         expression to evaluate.  This allows to evaluate expressions with
6139         embedded whitespace.
6140         (gud-tooltip-tips): Add a blank before the newline in the
6141         message-box text, for the benefit of message-box emulation on
6142         MS-Windows.
6144         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6145         messages from GDB, pop them up in a tooltip to give feedback to
6146         user.
6147         (gdb-tooltip-print-1): Quote the expression to evaluate.
6148         This allows to evaluate expressions with embedded whitespace.
6149         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6150         if the TTY name is nil or empty (which happens when communicating
6151         with the inferior via pipes, e.g. on MS-Windows).
6152         (gdb-internals): If GDB sends a "&\n" empty debugging message,
6153         don't send that to the GUD buffer.
6155 2012-08-14  Glenn Morris  <rgm@gnu.org>
6157         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6158         Optimize away setq-default with no args, as for setq.  (Bug#12195)
6160 2012-08-14  Chong Yidong  <cyd@gnu.org>
6162         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6164         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6165         (Bug#12085).
6167 2012-08-14  Glenn Morris  <rgm@gnu.org>
6169         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6171 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
6173         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6174         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6175         Use cached shell name.
6177 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
6179         * progmodes/python.el (python-shell-send-string):
6180         (python-shell-send-setup-code): Do not use `format' with `message'.
6182 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
6184         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6185         (ruby-percent-literal-beg-re): New constant.
6186         (ruby-syntax-general-delimiters-goto-beg): Rename to
6187         `ruby-syntax-enclosing-percent-literal', improve literal type check.
6188         (ruby-syntax-propertize-general-delimiters): Rename to
6189         `ruby-syntax-propertize-percent-literal', it's a shorter and more
6190         popular term.  Adjust comments everywhere.
6191         (ruby-syntax-propertize-percent-literal): Only propertize when not
6192         inside a simple string or comment.  When the literal is unclosed,
6193         leave the text after it unpropertized.
6194         (ruby-syntax-methods-before-regexp): New constant.
6195         (ruby-syntax-propertize-function): Use it to recognize regexps.
6196         Don't look at the text after regexp, just use the whitelist.
6198 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
6200         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6201         non-nil always load the compiled file if it exists.  (Bug#12197)
6203 2012-08-14  Chong Yidong  <cyd@gnu.org>
6205         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6206         (hi-lock-set-pattern): When deciding whether to use font lock or
6207         overlays, look at font-lock-mode instead of font-lock-fontified
6208         (Bug#12168).
6209         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6210         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6212 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
6214         * subr.el (internal--after-with-selected-window): Fix typo
6215         (Bug#12193).
6217 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
6219         Use `completion-table-dynamic' for completion functions.
6220         * progmodes/python.el
6221         (python-shell-completion--do-completion-at-point)
6222         (python-shell-completion--get-completions):
6223         Remove functions.
6224         (python-shell-completion-complete-at-point): New function.
6225         (python-completion-complete-at-point): Use it.
6227 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
6229         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6230         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6232 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6234         * subr.el (function-get): Refine `autoload' arg so it can also
6235         autoload functions for gv.el (bug#12191).
6236         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6237         autoloads macros.
6239         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6240         Prefer pcase-let over destructuring-bind.
6241         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6242         Also, remove whitespace as we go, rather than after accumulating the
6243         various places.
6245         * subr.el (internal--before-with-selected-window)
6246         (internal--after-with-selected-window): Fix typo seleted->selected.
6247         (with-selected-window): Adjust callers.
6248         Reported by Dmitry Gutov <dgutov@yandex.ru>.
6250 2012-08-13  Bastien Guerry  <bzg@gnu.org>
6252         * window.el (special-display-popup-frame): Minor docstring
6253         enhancement.  (Bug#12172)
6255 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
6257         * tar-mode.el (tar-header-data-end): Only ignore size for files of
6258         type 1-6.
6259         (tar-header-block-summarize, tar-get-descriptor): Handle pax
6260         extended headers.
6262         * files.el (hack-local-variables-filter): Remove useless eval.
6264 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
6266         * subr.el (with-selected-window): Fix last change.
6268 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6270         * subr.el (internal--before-with-seleted-window)
6271         (internal--after-with-seleted-window): New functions.
6272         (with-selected-window): Use them, to replace dependency on
6273         tty-top-frame.
6275 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6277         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6278         binding for `newline'.
6279         (ruby-move-to-block): When moving backward, stop at block opening,
6280         not indentation.
6281         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6282         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6283         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6284         `ruby-toggle-block'.
6286 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6288         * ibuffer.el (ibuffer-do-toggle-read-only):
6289         * dired.el (dired-toggle-read-only):
6290         * buff-menu.el (Buffer-menu-toggle-read-only):
6291         * bindings.el (mode-line-toggle-read-only):
6292         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6294 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
6296         * descr-text.el (describe-char): Put the overlays over the
6297         "displayed as" character.
6299 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
6301         * calc/calc-units.el (math-default-units-table): Give an
6302         initial value.
6303         (math-put-default-units): Add options to put composite units and
6304         unit systems in the default units table.
6305         (calc-convert-units): Send composite units to
6306         `math-put-default-units' when appropriate.
6308 2012-08-11  Glenn Morris  <rgm@gnu.org>
6310         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6312         * tutorial.el (help-with-tutorial):
6313         * emacs-lisp/copyright.el (copyright-update-directory):
6314         * emacs-lisp/autoload.el (autoload-find-generated-file)
6315         (autoload-find-file): Disable local eval: (for insurance).
6317         * files.el (hack-local-variables-filter): If an eval: form is not
6318         known to be safe, and enable-local-variables is :safe, then ignore
6319         the form totally, as is done for non-eval forms.  (Bug#12155)
6320         This is CVE-2012-3479.
6322 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6324         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6325         (rx-form): Simplify.
6327 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
6329         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6330         ?, _, and : are symbol constituents, ! is not (but kinda should be).
6331         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6332         (ruby-syntax-propertize-function): Adjust for changes in
6333         `ruby-syntax-propertize-heredoc'.
6335 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
6337         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6338         binding (use `M-;' instead).
6339         (ruby-singleton-class-p): New function.
6340         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6342 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6344         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6346 2012-08-10  Chong Yidong  <cyd@gnu.org>
6348         * progmodes/python.el (python-shell-get-process-name): Don't mess
6349         with same-window-buffer-names.
6351         * eshell/eshell.el (eshell-add-to-window-buffer-names)
6352         (eshell-remove-from-window-buffer-names): Make obsolete.
6353         (eshell-buffer-name, eshell-unload-hook): Don't use them.
6354         (eshell): Just use pop-to-buffer-same-window instead.
6356 2012-08-10  Chong Yidong  <cyd@gnu.org>
6358         * bindings.el: Bind M-= back to count-words-region.
6360         * simple.el (count-words-region): Accept a prefix arg for acting
6361         on the entire buffer.
6362         (count-words--buffer-message): New helper function.
6364 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6366         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6367         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6368         (event-start, event-end): Use posn-at-point to return a more
6369         informative posn.
6370         (posnp): New function.
6371         * mouse.el (popup-menu-normalize-position): Use it.
6373 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
6375         * mouse.el (popup-menu-normalize-position): New function.
6376         (popup-menu): Use `popup-menu-normalize-position' to normalize
6377         the form for POSITION argument.
6379         * term/x-win.el (x-menu-bar-open):
6380         Use the value returend from (posn-at-point) as position
6381         passed to `popup-menu'.
6383 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
6385         * calc/calccomp.el (math-compose-expr): Add extra argument
6386         indicating that parentheses should be put around products in
6387         denominators.  Give multiplication precedence over division during
6388         composition.
6390 2012-08-09  Chong Yidong  <cyd@gnu.org>
6392         * man.el (Man-switches, Man-sed-command, Man-awk-command)
6393         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6394         (Man-untabify-command, manual-program): Convert to defcustom
6395         (Bug#10429).
6397         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6399         * descr-text.el (describe-char): Don't insert extra newlines
6400         (Bug#10127).
6402         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6403         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6405         * align.el (align-region): Delete temporary markers (Bug#10047).
6406         Plus some code cleanups.
6408 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
6410         * progmodes/python.el (python-pdbtrack-tracked-buffer)
6411         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6412         (python-shell-internal-last-output): Use make-local-variable
6413         instead of make-variable-buffer-local.
6415 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
6417         * progmodes/python.el: Enhancements to forward-sexp.
6418         (python-nav-forward-sexp): Rename from
6419         python-nav-forward-sexp-function.
6420         (python-nav--forward-sexp, python-nav--backward-sexp):
6421         New functions.
6423 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
6425         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6426         modes and simplification modes.
6428 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6430         * delsel.el (delete-selection-pre-hook): Don't propagate the
6431         file-supersession signals (bug#12161).
6433 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6435         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6436         (cl-map-extents): Add compatibility aliases (bug#12135).
6438 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
6440         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6441         tests by `ignore-error'.
6442         (tramp-find-shell): Open also a new shell, when cache is already
6443         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
6445 2012-08-08  Juri Linkov  <juri@jurta.org>
6447         * bookmark.el: Add `defaults' property to the bookmark record.
6448         (bookmark-current-buffer): Doc fix.
6449         (bookmark-make-record): Add `defaults' property with default values
6450         to the bookmark record.
6451         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6452         with `bookmark-insert-current-bookmark'.
6453         (bookmark-set): Get `defaults' property from the bookmark record
6454         and use it in `read-from-minibuffer'.
6455         (bookmark-insert-current-bookmark): Remove function.
6457         * info.el (Info-bookmark-make-record): Add `defaults' property
6458         with values of canonical Info node name, the current Info file
6459         name and the current Info node name.  (Bug#12107)
6461 2012-08-08  Juri Linkov  <juri@jurta.org>
6463         * files.el (basic-save-buffer): Use `buffer-name' as the default
6464         of `read-file-name' when buffer is not visiting a file (bug#12128).
6466 2012-08-08  Juri Linkov  <juri@jurta.org>
6468         * info.el (Info-isearch-search): Doc fix.
6469         (Info-search): Change search-failed message from "initial node" to
6470         "end of node" (bug#12078).
6471         (Info-isearch-search): Change `isearch-string-state' to
6472         `isearch--state-string'.
6474 2012-08-08  Glenn Morris  <rgm@gnu.org>
6476         * language/persian.el: Remove file.
6477         * language/misc-lang.el: Move unique part of persian.el here.
6478         * loadup.el: Remove language/persian.
6480 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
6482         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6484 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
6486         * progmodes/python.el: Fix defsubst warning.
6487         (python-syntax-context) Rename from python-info-ppss-context.
6488         (python-syntax-context-type): Rename from
6489         python-info-ppss-context-type.
6490         (python-syntax-comment-or-string-p): Rename from
6491         python-info-ppss-comment-or-string-p.
6493 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
6495         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6497 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
6499         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6500         a defcustom that is quoted with backquote.
6502         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6503         Fix handling of interactive spec when the body uses return.
6504         (math-do-arg-check, math-define-function-body): Use backquote forms.
6505         * calc/calc-ext.el (math-defcache): Likewise.
6506         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6507         * allout.el (allout-new-exposure): Likewise.
6508         * calc/calcalg2.el (math-tracing-integral): Likewise.
6509         * info.el (Info-last-menu-item): Likewise.
6510         * emulation/vip.el (vip-loop): Likewise.
6511         * textmodes/artist.el (artist-funcall): Likewise.
6512         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6513         Construct menu-item directly.
6515         * progmodes/autoconf.el (font-lock-syntactic-keywords):
6516         Don't declare.
6518 2012-08-07  Chong Yidong  <cyd@gnu.org>
6520         * simple.el (deactivate-mark): Preserve text properties when
6521         saving the primary selection (Bug#8384).
6523 2012-08-07  Kevin Ryde  <user42@zip.com.au>
6525         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6526         (woman-parse-numeric-value): On a bad .IP line, issue a warning
6527         and continue processing (Bug#12110).
6529 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6531         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6532         syntax-propertize-function (bug#10095).
6534 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6536         * help-fns.el (help-fns--key-bindings, help-fns--signature)
6537         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6538         describe-function-1.
6539         (describe-function-1): Use them.  Move compiler macro after sig.
6540         (help-fns--compiler-macro): Use function-get.  Assume we're already in
6541         standard-output.  Adjust layout to new call order.
6543         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6544         re-binding a symbol that has a symbol-macro (bug#12119).
6546 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
6548         * language/persian.el: New file.  (Bug#11812)
6549         * loadup.el: Add language/persian.el.
6551 2012-08-06  Chong Yidong  <cyd@gnu.org>
6553         * window.el (window--maybe-raise-frame): New function.
6554         (window--display-buffer): Split off from here.
6555         (display-buffer-reuse-window, display-buffer-pop-up-frame)
6556         (display-buffer-pop-up-window, display-buffer-use-some-window):
6557         Obey an inhibit-switch-frame action alist entry.
6558         (display-buffer): Update doc.
6560         * replace.el (occur-after-change-function): Avoid losing focus by
6561         using the inhibit-switch-frame display parameter (Bug#12139).
6563 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
6565         Make internal shell process buffer names start with space.
6566         * progmodes/python.el (python-shell-make-comint): Add optional
6567         argument INTERNAL.
6568         (run-python-internal): Use it.
6569         (python-shell-internal-get-or-create-process): Check for new
6570         internal buffer names.
6572 2012-08-06  Glenn Morris  <rgm@gnu.org>
6574         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
6575         Do less getting and setting of environment variables.
6577 2012-08-05  Chong Yidong  <cyd@gnu.org>
6579         * proced.el (proced): Add substitution string to docstring to
6580         trigger autoloading of the proced library on C-h f (Bug#1768).
6582         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6583         Don't show defvars which have no second argument (Bug#8638).
6585         * imenu.el (imenu-generic-expression): Move documentation here
6586         from imenu--generic-function.
6587         (imenu--generic-function): Refer to imenu-generic-expression.
6589 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
6591         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6592         indentation declaration.
6593         (viper-loop): Add indentation declaration (Bug#7025).
6595 2012-08-05  Chong Yidong  <cyd@gnu.org>
6597         * help-fns.el (describe-variable): Add hyperlink for
6598         directory-local variables files.  Improve buffer-local and
6599         permanent-local reporting; suggested by MON KEY (Bug#6644).
6601         * help-mode.el (help-dir-local-var-def): New button type.
6603         * files.el (kill-buffer-hook): Provide a defvar.
6605 2012-08-05  Glenn Morris  <rgm@gnu.org>
6607         * eshell/esh-ext.el (eshell/addpath):
6608         Also update eshell-path-env.  (Bug#12013)
6610 2012-08-05  Chong Yidong  <cyd@gnu.org>
6612         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
6614         * fringe.el (fringe-styles): Add docstring.
6615         (fringe--check-mode): New function.
6616         (set-fringe-mode, set-fringe-style): Use it.
6617         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6619         * files.el (set-auto-mode): Fix invalid setq call.
6621 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6623         * isearch.el: Misc simplification; use defstruct.
6624         (isearch-mode-map): Dense maps now work like sparse ones.
6625         (isearch--state): New defstruct.
6626         (isearch-string-state, isearch-message-state, isearch-point-state)
6627         (isearch-success-state, isearch-forward-state)
6628         (isearch-other-end-state, isearch-word-state, isearch-error-state)
6629         (isearch-wrapped-state, isearch-barrier-state)
6630         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6631         replaced by defstruct's accessors.
6632         (isearch--set-state): Rename from isearch-top-state and change
6633         calling convention.
6634         (isearch-push-state): Use new isearch--get-state.
6635         (isearch-toggle-word): Disable regexp when enabling word.
6636         (isearch-message-prefix): Remove unused arg _c-q-hack.
6637         (isearch-message-suffix): Remove unused arg _ellipsis.
6639 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
6641         * simple.el (list-processes--refresh): For a server use :host or
6642         :local as the address.
6643         (list-processes): Doc fix.
6645 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
6647         * lisp/mpc.el: Support password in host argument.
6648         (mpc--proc-connect): Parse and use new password element.
6649         Set mpc-proc variable instead of returning process.
6650         (mpc-proc): Adjust accordingly.
6652 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
6654         * whitespace.el (whitespace-display-mappings): Use Unicode
6655         codepoints, instead of emacs-mule codepoints.  See
6656         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6657         for the details.
6659         * files.el (file-truename): Don't skip symlink-chasing part on
6660         windows-nt.  Incorporate the resolution of 8+3 short aliases on
6661         Windows into the loop that recursively chases symlinks.
6662         Compare directory and its parent case-insensitively on MS-Windows and
6663         MS-DOS.
6665 2012-08-03  Chong Yidong  <cyd@gnu.org>
6667         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6669         * sort.el (sort-regexp-fields): Doc fix.
6671 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
6673         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6674         labels regex position point at the expected place.
6676 2012-08-03  MON KEY  <monkey@sandpframing.com>
6678         * net/imap.el (imap-interactive-login, imap-authenticate)
6679         (imap-mailbox-lsub, imap-mailbox-list)
6680         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6681         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6682         (imap-parse-response): Doc fix.
6684 2012-08-03  João Távora  <joaotavora@gmail.com>
6686         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6687         if sexp scanning does not move point (Bug#5734).
6689 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
6691         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6692         Add listings, minted, and ctable packages.
6693         (reftex-label-alist-builtin): Move listings, minted, and ctable
6694         entries before LaTeX.
6695         (reftex-label-alist): Docfix.
6697 2012-08-02  Bastien Guerry  <bzg@gnu.org>
6699         * replace.el (occur): Fix docstring (bug#12122).
6701 2012-08-02  Glenn Morris  <rgm@gnu.org>
6703         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6705 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
6707         Obsolete alias inactivate-current-input-method-function (Bug#10150).
6708         * international/mule-cmds.el: Create
6709         inactivate-current-input-method-function as an obsolete alias for
6710         deactivate-current-input-method-function.  See Katsumi Yamaoka in
6711         <http://bugs.gnu.org/10150#46>.
6713 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
6715         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6716         of nested `if's.
6718 2012-08-01  Glenn Morris  <rgm@gnu.org>
6720         * progmodes/autoconf.el (autoconf-definition-regexp):
6721         Add AH_TEMPLATE, adjust submatch numbering.
6722         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6723         (autoconf-current-defun-function): Update for above change.
6724         (autoconf-current-defun-function): First skip to end of current word.
6726 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
6728         * calendar/cal-html.el (cal-html-insert-agenda-days):
6729         Fix typo.  (Bug#12018)
6731 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
6733         Shell processes: enhancements to startup and CEDET compatibility.
6734         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6735         (python-shell-make-comint): accept-process-output at startup.
6736         (run-python-internal): Set inferior-python-mode-hook to nil.
6737         (python-shell-internal-get-or-create-process): call sit-for.
6738         (python-preoutput-result): Add obsolete alias.
6739         (python-shell-internal-send-string): Use it.
6740         (python-shell-send-setup-code): Remove call to
6741         accept-process-output.
6743 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
6745         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6746         (Bug#12108)
6748 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
6750         * calc-mode.el (calc-basic-simplification-mode): Rename from
6751         `calc-limited-simplification-mode'.
6752         (calc-alg-simplification-mode): New function.
6753         (calc-set-simplify-mode): Adjust message.
6755         * calc.el (calc-set-mode-line): Adjust mode line display for
6756         basic simplification mode.
6758         * calc-help.el (calc-m-prefix-help): Update help message.
6760         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6761         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6763 2012-07-31  Bastien Guerry  <bzg@gnu.org>
6765         * man.el (man): Fix comment.  (bug#12101)
6767 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
6769         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6770         Don't return a non-nil value when no suitable buffer was found.
6772 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
6774         * progmodes/python.el (run-python-internal): Disable font lock for
6775         internal shells.
6777 2012-07-30  Stefan Merten  <smerten@oekonux.de>
6779         * textmodes/rst.el: Silence `checkdoc-ispell'.
6780         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6781         (rst-official-version, rst-official-cvs-rev)
6782         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6783         (rst-mode-map): New key binding.
6785 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
6787         Update .PHONY listings in makefiles.
6788         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6789         autoloads, update-subdirs, updates, bzr-update, update-authors,
6790         compile-onefile, compile-calc, backup-compiled-files,
6791         compile-after-backup, compile-one-process, mh-autoloads,
6792         bootstrap-clean, distclean, maintainer-clean.
6794 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
6796         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6797         (calc-set-mode-line): Don't display "AlgSimp ".
6799         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6800         (calc-lim-simplify-mode): New function.
6801         (calc-set-simplify-mode): Default to 'alg.
6802         (calc-default-simplify-mode): Make algebraic simplifications
6803         the default.
6805         * calc/calc-ext.el (calc-init-extensions): Remove binding for
6806         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
6808         * calc/calc-help.el (calc-m-prefix-help): Change messages to
6809         indicate new simplification modes.
6811         * calc/README: Mention new default simplification mode.
6813         * calc/calc.el (math-normalize-error): New variable.
6814         (math-normalize): Set `math-normalize-error' to t
6815         when there's an error.
6817         * calc/calc-alg.el (math-simplify): Don't simplify when
6818         `math-normalize' returns an error.
6820 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
6822         * international/mule-cmds.el (set-locale-environment): Revert last
6823         change, since display-graphic-p returns nil when this function is
6824         called during startup.  Instead...
6826         * term/w32console.el (terminal-init-w32console): ...setup the
6827         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
6829 2012-07-29  Juri Linkov  <juri@jurta.org>
6831         * simple.el (goto-line): Don't display default line number in the
6832         prompt because it should be displayed by `read-number' (bug#9952).
6833         Add the current line number to the defaults of `goto-line' to
6834         allow its easier modification by users with `M-n' (bug#9201).
6836         * subr.el (read-number): Support multiple default values like in
6837         other minibuffer reading functions.  Replace `read' with
6838         `string-to-number' for consistency with `number-to-string'.
6840 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
6842         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6843         * emulation/viper-init.el (viper-deactivate-input-method-action):
6844         Rename from viper-inactivate-input-method-action.
6845         (viper-deactivate-input-method):
6846         Rename from viper-inactivate-input-method.
6847         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6848         * international/mule-cmds.el (deactivate-input-method):
6849         Rename from inactivate-input-method.
6850         Also run input-method-deactivate-hook.
6851         (deactivate-current-input-method-function):
6852         Rename from inactivate-current-input-method-function.
6853         (input-method-deactivate-hook): New hook.
6854         (input-method-inactivate-hook): Mark obsolete.
6855         (inactivate-input-method): Mark obsolete.
6857         * international/quail.el (quail-activate):
6858         Also run quail-deactivate-hook.
6859         (quail-deactivate): Rename from quail-inactivate.
6860         * international/robin.el (robin-activate):
6861         Also run robin-deactivate-hook.
6862         (robin-deactivate): Rename from robin-inactivate.
6864 2012-07-29  Chong Yidong  <cyd@gnu.org>
6866         * simple.el (indicate-copied-region): New function.
6867         (kill-ring-save): Split off from here.
6869         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6870         (kill-rectangle): Set deactivate-mark to t on read-only error.
6872         * register.el (copy-to-register, copy-rectangle-to-register):
6873         Deactivate the mark, and use indicate-copied-region (Bug#10056).
6874         (append-to-register, prepend-to-register): Call indicate-copied-region.
6876 2012-07-29  Juri Linkov  <juri@jurta.org>
6878         * simple.el (async-shell-command-buffer): New defcustom.
6879         (shell-command): Use it.  (Bug#4719)
6881 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
6883         * international/mule-cmds.el (set-locale-environment): In a
6884         console session on MS-Windows, set up keyboard and terminal
6885         encoding from the OEM codepage, not the ANSI codepage.
6886         (Bug#12055)
6888 2012-07-28  Chong Yidong  <cyd@gnu.org>
6890         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6891         gdb-get-location.
6893 2012-07-28  Leo Liu  <sdl.web@gmail.com>
6895         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6896         the alist (bug#12029).
6898 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
6900         * makefile.w32-in (custom-deps, finder-data, updates, compile)
6901         (compile-always, compile-first)
6902         ($(lisp)/calendar/cal-loaddefs.el)
6903         ($(lisp)/calendar/diary-loaddefs.el)
6904         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6905         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6906         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6907         instead of on update-subdirs.
6908         (bootstrap-clean): Delete $(lisp)/subdirs.el.
6910 2012-07-28  Chong Yidong  <cyd@gnu.org>
6912         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6913         directory if vc-deduce-backend returns nil (Bug#7350).
6915         * simple.el (delete-trailing-lines): New option.
6916         (delete-trailing-whitespace): Obey it (Bug#11879).
6918 2012-07-28  David Engster  <deng@randomsample.de>
6920         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6921         Explanation of new 'symbol-qnames feature in doc-strings.
6922         (xml-maybe-do-ns): Return expanded names as plain symbols if
6923         'symbol-qnames was provided in XML-NS argument (Bug#11916).
6924         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6926 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
6928         Consistent completion in inferior python with emacs -nw.
6929         * progmodes/python.el (inferior-python-mode): replace "<tab>"
6930         binding in inferior-python-mode-map with "\t".
6931         (python-shell-completion-complete-at-point)
6932         (python-completion-complete-at-point): Remove interactive spec.
6934 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
6936         * calc/calccomp.el (math-compose-expr): Undo previous change.
6938 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
6940         * progmodes/python.el (python-mode-map): Add keybinding for
6941         run-python.
6942         (python-shell-make-comint): Fix pop-to-buffer call.
6943         (run-python): Autoload.  New arg SHOW.
6944         (python-shell-get-or-create-process): Do not pop python process
6945         buffer.
6947 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
6949         * notifications.el (notifications-on-action-signal)
6950         (notifications-on-closed-signal): Use also the bus address for the map.
6951         (notifications-notify, notifications-close-notification)
6952         (notifications-get-capabilities): Add optional argument BUS.
6954 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
6956         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6957         Add support for the lstlisting and minted environments, and for the
6958         ctable macro.
6959         * textmodes/reftex.el (reftex-compile-variables): Also recognize
6960         labels written in keyvals syntax.
6962 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
6964         * calc/calccomp.el (math-compose-expr): Use parentheses when
6965         there is a product in the denominator of a fraction.
6967 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
6969         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6970         ($(lisp)/calendar/diary-loaddefs.el)
6971         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6972         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6973         Fixes failures in parallel bootstrap because subdirs.el is being
6974         rewritten while the autoload files are built at the same time,
6975         which needs to load subdirs.el.
6977 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
6979         * mouse.el (popup-menu): Fix doc-string and re-indent code.
6980         (mouse-drag-line): Don't exit tracking when a switch-frame or
6981         switch-window event occurs (Bug#12006).
6983 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6985         * mouse.el (popup-menu): Fix last change.
6987 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6989         Autoload from Lisp with more care.  Follow aliases when looking for
6990         function properties.
6991         * subr.el (autoloadp): New function.
6992         (symbol-file): Use it.
6993         (function-get): New function.
6994         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6995         autoload-do-load.
6996         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6997         (lisp-indent-function):
6998         * emacs-lisp/gv.el (gv-get):
6999         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7000         * emacs-lisp/byte-opt.el (byte-optimize-form):
7001         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7002         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7003         Use function-get.
7004         * emacs-lisp/cl.el: Don't propagate function properties any more.
7006         * speedbar.el (speedbar-add-localized-speedbar-support):
7007         * emacs-lisp/disass.el (disassemble-internal):
7008         * desktop.el (desktop-load-file):
7009         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7010         (describe-function-1):
7011         * emacs-lisp/find-func.el (find-function-noselect):
7012         * emacs-lisp/elp.el (elp-instrument-function):
7013         * emacs-lisp/advice.el (ad-has-proper-definition):
7014         * apropos.el (apropos-safe-documentation, apropos-macrop):
7015         * emacs-lisp/debug.el (debug-on-entry):
7016         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7017         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7018         * calc/calc.el (name): Use autoloadp & autoload-do-load.
7020 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
7022         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7023         function, not an obsolete variable (Bug#12046).
7025 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
7027         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
7029 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
7031         * emacs-lisp/pp.el (pp-display-expression): Select old selected
7032         window only if it is still live (Bug#12034).
7034 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
7036         * subr.el (redirect-frame-focus): Add advertised calling
7037         convention (Bug#12030).
7039 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
7041         Prefer typical American spelling for "acknowledgment".
7042         * vc/add-log.el (change-log-acknowledgment): Rename from
7043         change-log-acknowledgement, with an alias for the old name.
7045 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
7047         * calc-alg.el (math-simplify-divide): Don't cross multiply
7048         in an equation when the lhs is a variable.
7050 2012-07-24  Julien Danjou  <julien@danjou.info>
7052         * net/netrc.el (netrc-find-service-number, netrc-store-data):
7053         Remove, unused.
7055 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
7057         * startup.el (command-line): Don't display an empty user name in
7058         the error message about non-existent home directory, when
7059         init-file-user was set to an empty string.  See
7060         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7061         for the details and context.
7063 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7065         * ses.el (ses-cell-formula-aset): New macro.
7066         (ses-cell-references-aset): New macro.
7067         (ses-cell-p): New function.
7068         (ses-rename-cell): Do no longer rely on complex operations like
7069         ses-cell-set-formula or ses-set-cell to change the cell and handle
7070         the undo at the same time, but rather use lower level new macros
7071         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7072         the undo directly.  Refresh the mode line.
7074 2012-07-21  Leo Liu  <sdl.web@gmail.com>
7076         * progmodes/cc-cmds.el (c-defun-name):
7077         Use match-string-no-properties instead for consistency.
7079 2012-07-20  Leo Liu  <sdl.web@gmail.com>
7081         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7082         (Bug#7879)
7084         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7086 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7088         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7089         * progmodes/bug-reference.el, misearch.el: Provide themselves
7090         (bug#11915).
7092         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7093         of narrowed buffer (bug#11966).
7095 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7097         * ses.el (ses-rename-cell): Set new name also in reference list of
7098         cells of which the renamed cell depends.
7100 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
7102         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7103         to check whether menu-bar is shown or not.  If not shown,
7104         show the menu-bar as a popup menu instead of using tmm.
7105         * mouse.el (popup-menu): Accept `point' as `position' argument.
7107 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
7109         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7110         up inside string symbol literal (bug#11923).
7112 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
7114         * startup.el (fancy-startup-text): Read the whole tutorial, not
7115         just its first 256 bytes.  Prevents gibberish in display of the
7116         tutorial title.
7118 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
7120         Drop idle buffer compaction due to an absence of the
7121         proved efficiency.
7122         * compact.el: Remove.
7124 2012-07-19  Sam Steingold  <sds@gnu.org>
7126         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7127         vc-bzr-pull & vc-bzr-merge-branch.
7128         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7129         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7130         for consistency with compilation-error-regexp-alist.
7131         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7132         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7133         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7134         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7136 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7138         * emacs-lisp/chart.el: Use lexical-binding.
7139         (chart-emacs-storage): Don't hardcode the list of entries.
7141 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
7143         Next round of tweaks caused by Fgarbage_collect changes.
7144         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7146 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
7148         Compact buffers when idle.
7149         * compact.el: New file.
7151 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7153         * subr.el (eventp): Presume that if it looks vaguely like an event,
7154         it's an event (bug#10190).
7156 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
7158         Enhancements to ppss related code (thanks Stefan).
7159         * progmodes/python.el (python-indent-context)
7160         (python-indent-calculate-indentation, python-indent-dedent-line)
7161         (python-indent-electric-colon, python-nav-forward-block)
7162         (python-mode-abbrev-table)
7163         (python-info-assignment-continuation-line-p): Simplify checks
7164         for ppss context.
7165         (python-info-continuation-line-p): Cleanup.
7166         (python-info-ppss-context): Do not catch 'quote.
7167         (python-info-ppss-context-type)
7168         (python-info-ppss-comment-or-string-p): Simplify.
7170 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
7172         * progmodes/python.el: Enhancements to eldoc support.
7173         (python-info-current-symbol): New function.
7174         (python-eldoc-at-point): Use python-info-current-symbol.
7175         (python-info-current-defun): Fix cornercase on first defun scan.
7176         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7177         and signal error when no inferior python process is available.
7179 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
7181         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7182         assume it's always t.
7183         (vc-git-registered): Remove caching, the function is only called
7184         once.
7185         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7187 2012-07-18  Chong Yidong  <cyd@gnu.org>
7189         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7191         * simple.el (count-words): Report on narrowing (Bug#9959).
7193         * bindings.el: Bind M-= to count-words.
7195         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7197 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
7199         * progmodes/sh-script.el (sh-imenu-generic-expression):
7200         Capture a function with `function' keyword and without parentheses
7201         like "function FOO" (bug#11856).
7203 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
7205         * window.el (split-window-sensibly): Make WINDOW argument
7206         optional.
7208 2012-07-18  Chong Yidong  <cyd@gnu.org>
7210         * subr.el (keyboard-translate): Doc fix (Bug#7261).
7212         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7213         and make C-x 8 RET exit isearch (Bug#11439).
7215         * international/iso-transl.el: Move isearch-mode-map key
7216         definitions to isearch.el.
7218 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7220         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7221         (eieio-defclass): Use gv-define-setter when possible.
7223 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
7225         Reflect recent changes in Fgarbage_collect.
7226         * emacs-lisp/chart.el (chart-emacs-storage): Change to
7227         reflect new format of data returned by Fgarbage_collect.
7229 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
7231         New utility functions + python-info-ppss-context fix (Bug#11910).
7232         * progmodes/python.el (python-info-beginning-of-block-statement-p)
7233         (python-info-ppss-comment-or-string-p): New functions.
7234         (python-info-ppss-context): Small fix for string check.
7236 2012-07-17  Juri Linkov  <juri@jurta.org>
7238         * dired-aux.el (dired-do-async-shell-command): Doc fix.
7239         (dired-do-async-shell-command): Don't add `*' at the end of the
7240         command (Bug#11815).
7241         (dired-do-shell-command): Doc fix.
7242         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7243         Join the individual commands using either "&" or ";" as the
7244         separator depending on the values of these trailing characters.
7245         At the end re-add the trailing "&".  (Bug#10598)
7247         * simple.el (async-shell-command): Sync the interactive spec with
7248         `shell-command'.  Doc fix.
7249         (shell-command): Doc fix.
7251 2012-07-17  Juri Linkov  <juri@jurta.org>
7253         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
7255 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
7257         Final renames and doc fixes for movement commands (bug#11899).
7258         * progmodes/python.el (python-nav-beginning-of-statement):
7259         Rename from python-nav-statement-start.
7260         (python-nav-end-of-statement): Rename from
7261         python-nav-statement-end.
7262         (python-nav-beginning-of-block): Rename from
7263         python-nav-block-start.
7264         (python-nav-end-of-block): Rename from python-nav-block-end.
7266 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
7268         * progmodes/python.el (python-shell-send-string-no-output):
7269         Allow accept-process-output to quit, keeping shell process ready for
7270         future interactions (Bug#11868).
7272 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7274         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7276         * emacs-lisp/elint.el (elint-find-args-in-code):
7277         Use help-function-arglist, so as to handle lexical byte-code.
7279         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7280         change (bug#11826).
7282 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7284         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7285         Avoid spuriously marking the buffer as modified because of c-is-sws.
7287         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7288         as not-a-comment (bug#11946).
7290         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7291         for uninterned vars.
7293         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7294         Use read-event since we don't really want to read chars but bytes.
7296         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7297         $$..$$ but also $..$ using regexps (bug#11953).
7298         Use tex-verbatim for \url and \path.
7299         (tex-font-lock-keywords): Define as defconst like the others.
7300         (tex-common-initialization): Don't use font-lock-syntax-table any more.
7302 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
7304         * international/mule-cmds.el (ucs-insert): Make it an obsolete
7305         alias for insert-char.
7307 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
7309         * progmodes/python.el: Simplified imenu implementation.
7310         (python-nav-jump-to-defun): Remove command.
7311         (python-mode-map): Use `imenu' instead.
7312         (python-nav-list-defun-positions-cache)
7313         (python-imenu-include-defun-type, python-imenu-make-tree)
7314         (python-imenu-subtree-root-label, python-imenu-index-alist):
7315         Remove vars.
7316         (python-nav-list-defun-positions, python-nav-read-defun)
7317         (python-imenu-tree-assoc, python-imenu-make-element-tree)
7318         (python-imenu-make-tree, python-imenu-create-index):
7319         Remove functions.
7320         (python-mode): Update to interact with imenu by setting
7321         `imenu-extract-index-name-function' only.
7323 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
7325         * progmodes/python.el: Enhancements to navigation commands.
7326         (python-nav-backward-sentence)
7327         (python-nav-forward-sentence): Remove.
7328         (python-nav-backward-statement, python-nav-forward-statement)
7329         (python-nav-statement-start, python-nav-statement-end)
7330         (python-nav-backward-block, python-nav-forward-block)
7331         (python-nav-block-start, python-nav-block-end)
7332         (python-nav-forward-sexp-function)
7333         (python-info-current-line-comment-p)
7334         (python-info-current-line-empty-p): New functions.
7335         (python-indent-context): Use `python-nav-statement-start'.
7337 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
7339         * eshell/em-ls.el (eshell/ls): Use `apply'.
7341         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7342         multi-hops, instead of Tramp internals.
7344         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7346         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7347         when F1 and F2 are located on different hosts.
7349 2012-07-14  Chong Yidong  <cyd@gnu.org>
7351         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7352         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7353         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7354         (xterm-mouse--read-event-sequence-1000)
7355         (xterm-mouse--read-event-sequence-1006): New functions.  For old
7356         mouse protocol, handle M-mouse-X events correctly.
7357         (xterm-mouse-event): New arg specifying mouse protocol.
7358         (turn-on-xterm-mouse-tracking-on-terminal)
7359         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7360         sequence to toggle extended coordinates on newer XTerms.
7361         This appears to be harmless on terminals which do not support this.
7363 2012-07-14  Leo Liu  <sdl.web@gmail.com>
7365         Add fringe bitmap indicators for flymake.  (Bug#11253)
7366         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7367         (flymake-make-overlay): New arg BITMAP.
7368         (flymake-error-bitmap, flymake-warning-bitmap)
7369         (flymake-fringe-indicator-position): New user variables.
7371         * fringe.el: New bitmap exclamation-mark.
7373 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
7375         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7376         also (Bug#7879).
7378 2012-07-14  Chong Yidong  <cyd@gnu.org>
7380         * electric.el (electric-pair-post-self-insert-function): Fix pair
7381         insertion in empty-region case (Bug#11520).
7383 2012-07-14  Chong Yidong  <cyd@gnu.org>
7385         * bindings.el: Consolidate ctl-x-r-map bindings.
7386         Bind copy-rectangle-as-kill to C-x r w.
7388         * rect.el, register.el: Move bindings to bindings.el.
7390 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
7392         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7394 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7396         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
7398 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
7400         * bindings.el (top): Use `mapc' instead of `mapcar'.
7402         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7404 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
7406         * progmodes/sql.el (sql-comint): Suppress the check for program on
7407         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
7408         (Bug#11908)
7410 2012-07-13  Chong Yidong  <cyd@gnu.org>
7412         * bindings.el: Assign a non-nil permanent-local property to
7413         per-buffer variables which lack a default value (Bug#11930).
7415         * help-fns.el (describe-variable): In the "automatically becomes
7416         local" notice, take note of permanent-local variables.
7418 2012-07-13  Chong Yidong  <cyd@gnu.org>
7420         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
7421         to allow printing the message when called from Lisp.
7423         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7424         Remove toggle-read-only.
7426         * bs.el (bs-toggle-readonly):
7427         * buff-menu.el (Buffer-menu-toggle-read-only):
7428         Remove with-no-warnings around toggle-read-only.
7430         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7431         Remove with-no-warnings around toggle-read-only.
7432         (ffap-read-only, ffap-read-only-other-window)
7433         (ffap-read-only-other-frame): Callers changed.
7435         * help-mode.el: Don't require view package.
7436         (help-mode-finish): Set buffer-read-only instead of calling
7437         toggle-read-only.
7439         * bindings.el (mode-line-toggle-read-only):
7440         * dired.el (dired-toggle-read-only):
7441         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7442         with non-nil second arg.
7444         * emacs-lisp/eieio-custom.el (eieio-customize-object):
7445         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7446         directly.
7448 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
7450         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7451         not incf.
7453 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7455         More CL cleanups and reduction of use of cl.el.
7456         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7457         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7458         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7459         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7460         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7461         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7462         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7463         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7464         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7465         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7466         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7467         * eshell/em-cmpl.el, eshell/em-banner.el:
7468         * calendar/parse-time.el: Use cl-lib.
7469         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7470         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7471         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7472         * term/ns-win.el, term.el, shell.el, ps-samp.el:
7473         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7474         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7475         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7476         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7477         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7478         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7479         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7480         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7481         `lambda' rather than with `quote'.
7482         (eshell-do-opt): Adjust accordingly.
7483         (eshell-process-option): Simplify.
7484         * eshell/esh-var.el:
7485         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7486         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7487         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7488         to `pcase--dontcare'.
7489         * emacs-lisp/cl.el (labels): Mark obsolete.
7490         (cl--letf, letf): Move to cl-lib.
7491         (cl--letf*, letf*): Remove.
7492         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7493         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7494         (cl-progv): Rewrite.
7495         (cl--letf, cl-letf): Move from cl.el.
7496         (cl-letf*): New macro.
7497         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7499 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
7501         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7503 2012-07-11  Chong Yidong  <cyd@gnu.org>
7505         * vc/log-edit.el (log-edit-vc-backend): New variable.
7506         (log-edit): Doc fix.
7508         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
7509         argument of log-edit to set up all local variables.
7510         (vc-start-logentry): New optional arg specifying VC backend.
7512         * vc/vc.el (vc-checkin): Use it.
7513         (vc-deduce-fileset): Handle Log Edit buffers.
7514         (vc-diff): Make first argument optional too.
7516         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7518 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
7520         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7521         command, just in case.  The function is not needed anymore.
7522         (eshell-external-command): Do not call `eshell-remote-command'.
7524 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7526         Reduce use of (require 'cl).
7527         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7528         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7529         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7530         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7531         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7532         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7533         * battery.el, avoid.el, abbrev.el: Use cl-lib.
7534         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7535         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7536         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7537         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7538         * calculator.el, autorevert.el, apropos.el: Don't require CL.
7539         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7540         (byte-compile-unfold-bcf, byte-compile-check-variable):
7541         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7542         (byte-compile-nilconstp):
7543         * emacs-lisp/autoload.el (make-autoload): Use pcase.
7544         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7546         * emacs-lisp/gv.el (cond): Make it a valid place.
7547         (if): Simplify slightly.
7549         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7550         (pcase--self-quoting-p): New function.
7551         (pcase--u1): Use it.
7553 2012-07-10  Glenn Morris  <rgm@gnu.org>
7555         * emacs-lisp/authors.el (authors-fixed-entries):
7556         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7558 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
7560         Rename configure.in to configure.ac (Bug#11603).
7561         * emacs-lisp/authors.el (authors-canonical-file-name):
7562         * progmodes/autoconf.el (autoconf-mode):
7563         Prefer configure.ac to configure.in.
7565 2012-07-08  Chong Yidong  <cyd@gnu.org>
7567         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7568         Implement the mouse-1-click-follows-link handling properly.
7570         * info.el (Info-link-keymap): Use follow-link mechanism for
7571         header-line links (Bug#374).
7573         * simple.el (deactivate-mark): Do not set the primary selection
7574         if another program has acquired it (Bug#11772).
7576 2012-07-07  Kevin Ryde  <user42@zip.com.au>
7578         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7579         (woman-decode-region): Replace escaped-escapes without destroying
7580         bold or underline (Bug#11552).
7581         (woman2-process-escapes): Handle nofill regions (Bug#11591).
7583 2012-07-07  Chong Yidong  <cyd@gnu.org>
7585         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
7586         (interprogram-cut-function, interprogram-paste-function):
7587         Mention that we typically mean the clipboard.
7589 2012-07-06  Glenn Morris  <rgm@gnu.org>
7591         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
7593         * files.el (toggle-read-only): Restrict message to interactive use.
7595 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
7597         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7599         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7601 2012-07-06  Glenn Morris  <rgm@gnu.org>
7603         * Makefile.in (compile-one-process): Rename from "recompile".
7605         * Makefile.in (bzr-update): "compile" is the same as "recompile
7606         autoloads", but parallelizable, so use that instead.
7608 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
7610         * window.el (quit-window): Always restore window height when
7611         it's saved in quit-restore parameter (Bug#11810).
7613 2012-07-06  Glenn Morris  <rgm@gnu.org>
7615         * simple.el (kill-whole-line): Doc tweak.
7617 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
7619         * files.el (file-relative-name): Compare file names
7620         case-insensitively if on MS-Windows or MS-DOS, or if
7621         read-file-name-completion-ignore-case is non-nil.  Don't use
7622         case-fold-search for this purpose.  (Bug#11827)
7624 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
7626         * calendar/cal-dst.el (calendar-current-time-zone):
7627         Return calendar-current-time-zone-cache if non-nil.
7629 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
7630 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
7632         * calendar/cal-dst.el (calendar-current-time-zone):
7633         Return calendar-current-time-zone-cache if non-nil.
7635 2012-07-06  Glenn Morris  <rgm@gnu.org>
7637         * Makefile.in (cvs-update): Remove old alias.
7639 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
7641         Sync with Tramp 2.2.6-pre.
7643         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7644         compatible declaration.
7646         * net/tramp-cmds.el (tramp-append-tramp-buffers):
7647         Protect `list-load-path-shadows' call.
7649         * net/tramp-compat.el (top): Require packages, which aren't
7650         autoloaded anymore for XEmacs.  Protect call of
7651         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7652         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
7653         it hurts at least for SXEmacs.
7654         (tramp-compat-temporary-file-directory): In XEmacs, there is no
7655         standard-value for `temporary-file-directory'.
7657         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7658         Redirect stderr to /dev/null.
7659         (tramp-sh-handle-write-region): uid and gid can be floats.
7660         Reported by Russell Sim <russell.sim@gmail.com>.
7661         (tramp-sh-handle-vc-registered): Hide errors.
7662         (tramp-vc-file-name-handler): Use dummy results for `process-file'
7663         and `start-file-process'.
7664         (tramp-maybe-open-connection): Check also whether `non-essential'
7665         is bound.
7667 2012-07-04  Chong Yidong  <cyd@gnu.org>
7669         * xml.el (xml--parse-buffer): Use xml-syntax-table.
7670         (xml-parse-tag): Likewise, and avoid changing entity tables.
7671         (xml-syntax-table): Define from scratch, making sure not to give
7672         x2000 and other Unicode spaces whitespace syntax, since those are
7673         not spaces in XML.
7674         (xml-parse-fragment): Delete unused function.
7675         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7676         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7677         (xml-entity-ref, xml-pe-reference-re)
7678         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7679         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7680         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7681         (xml-entity-value-re): Use syntax references in regexps where
7682         possible; no need to define inside a let-binding.
7683         (xml-parse-dtd): Use xml-pe-reference-re.
7684         (xml-entity-or-char-ref-re): New defconst.
7685         (xml-parse-string, xml-substitute-special): Use it.
7687 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7689         * files.el (locate-dominating-file): Allow `name' to be a predicate.
7690         (find-file--read-only): New function.
7691         (find-file-read-only, find-file-read-only-other-window)
7692         (find-file-read-only-other-frame): Use it.
7693         (insert-file-contents-literally): Don't `fset'.
7694         (get-free-disk-space): Use locate-dominating-file.
7696         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7697         function is already compiled.
7699         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
7701 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
7703         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7704         files on the same host.
7706 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
7708         * help-fns.el (describe-function-1): Only call
7709         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
7711 2012-07-03  Chong Yidong  <cyd@gnu.org>
7713         * xml.el: Protect parser against XML bombs.
7714         (xml-entity-expansion-limit): New variable.
7715         (xml-parse-string, xml-substitute-special): Use it.
7716         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7718 2012-07-03  Glenn Morris  <rgm@gnu.org>
7720         * progmodes/bug-reference.el (bug-reference-bug-regexp):
7721         Allow linking to specific messages in debbugs reports (eg 123#5).
7723 2012-07-02  Chong Yidong  <cyd@gnu.org>
7725         * xml.el: Fix entity and character reference expansion, allowing
7726         them to expand into markup as per XML spec.
7727         (xml-default-ns): New variable.
7728         (xml-entity-alist): Use XML spec definitions for lt and amp.
7729         (xml-parse-region): Make first two arguments optional.
7730         Discard text properties.
7731         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7732         All callers changed.
7733         (xml-parse-tag): Call xml-parse-tag-1.  For backward
7734         compatibility, this function should not modify buffer contents.
7735         (xml-parse-tag-1): Fix opening-tag regexp.
7736         (xml-parse-string): Rewrite, handling entity and character
7737         references properly.
7738         (xml--entity-replacement-text): Signal an error if a parameter
7739         entity is undefined.
7741 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7743         * comint.el (comint-output-filter): Filter out repeated prompts.
7745         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7746         and file-name-absolute-p.
7747         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7748         internal calls.
7750 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
7752         Spelling fixes.
7753         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7754         Rename from byte-compile--refiy-function.  All uses changed.
7756 2012-07-01  Chong Yidong  <cyd@gnu.org>
7758         * xml.el (xml--parse-buffer): New function.  Move most of
7759         xml-parse-region here.
7760         (xml-parse-region): Copy region into a temporary buffer, since
7761         parameter entity substitution requires changing buffer contents.
7762         Use xml--parse-buffer.
7763         (xml-parse-file): Use xml--parse-buffer.
7764         (xml-parse-dtd): Make parameter entity substitution work right.
7765         Use proper regexps for ELEMENT declarations (Bug#7172).
7767 2012-06-30  Glenn Morris  <rgm@gnu.org>
7769         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7771         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7772         Remove outdated and unnecessary dbus declarations.
7774 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
7776         * emacs-lisp/timer.el (timer-until): Subtract results of
7777         float-time, instead of taking float-time of the result of
7778         time-subtract, since float-time signals an error for negative time
7779         arguments.
7781 2012-06-30  Chong Yidong  <cyd@gnu.org>
7783         * xml.el (xml-*-re): Convert defvars into defconsts, and
7784         eval-and-compile them so eval-and-compile works on derivatives.
7785         (xml--entity-replacement-text): Use eval-and-comple.
7787 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
7789         * vc/vc-git.el (vc-git-registered): Use cache property
7790         `git-registered'.
7791         (vc-git-mode-line-string): Call `vc-working-revision' instead of
7792         `vc-git-working-revision' in order to benefit from the cache.
7793         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
7795 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
7797         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
7798         removed (likely outside Emacs).  (Bug#11757)
7800 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7802         * emacs-lisp/cl-lib.el: Require macroexp.
7804 2012-06-30  Chong Yidong  <cyd@gnu.org>
7806         * xml.el: Implement XML parameter entities.
7807         (xml-parameter-entity-alist): New variable.
7808         (xml-parse-region, xml-parse-fragment): Preserve previous values
7809         of xml-entity-alist and xml-parameter-entity-alist, so that
7810         repeated calls on different documents do not change them.
7811         (xml-parse-tag): Fix doctype regexp.
7812         (xml--entity-replacement-text): New function.
7813         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
7814         properly requires url retrieval which is unimplemented.
7815         (xml-escape-string): Doc fix.
7817 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7819         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7821 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
7823         * fringe.el (fringe-mode): Doc fix.
7825 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
7827         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7828         is non-nil.
7829         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7830         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
7832 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
7834         * calendar/cal-dst.el (calendar-current-time-zone):
7835         Return calendar-current-time-zone-cache if non-nil.
7837 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
7839         * progmodes/which-func.el (which-func-format):
7840         Add mouse-face.  (Bug#11698)
7842 2012-06-29  Leo Liu  <sdl.web@gmail.com>
7844         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7846 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7848         * minibuffer.el (minibuffer-confirm-exit-commands):
7849         Add completion-at-point (bug#11725).
7851 2012-06-29  Glenn Morris  <rgm@gnu.org>
7853         * progmodes/f90.el (f90-font-lock-keywords-2):
7854         Add some preprocessor elements.  (Bug#10499)
7856 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7858         * progmodes/cperl-mode.el (cperl-update-syntaxification):
7859         Use syntax-propertize (bug#11739).
7861 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
7863         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7865 2012-06-28  Julien Danjou  <julien@danjou.info>
7867         * term.el (term-handle-colors-array): Use a set of new faces to
7868         color the terminal.  Also uses :inverse-video property.
7869         (term-default-fg-color): Set to nil by default, deprecate in favor
7870         of `term-face'.
7871         (term-default-bg-color): Set to nil by default, deprecate in favor
7872         of `term-face'.
7873         (term-current-face): Use `term-face' by default.
7874         (term-bold-attribute): Variable deleted.
7876 2012-06-28  Glenn Morris  <rgm@gnu.org>
7878         * simple.el (completion-list-mode-finish):
7879         Don't use toggle-read-only.  (Since completion-list-mode has
7880         a special mode-class, it wasn't doing anything extra anyway.)
7882 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7884         Make inlining of other-mode interpreted functions work (bug#11799).
7885         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7886         (byte-compile): Use it to fix compilation of lexical-binding closures.
7887         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7888         function, if needed.
7890 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7892         * help-mode.el (help-make-xrefs): Don't just withstand
7893         cyclic-variable-indirection but any error in documentation-property.
7895         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7896         memory use.
7897         * bindings.el (bindings--define-key): New function.
7898         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7899         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7900         * bindings.el: Use it to purecopy define-key bindings.
7902         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7904         * emacs-lisp/cl.el (flet): Mark obsolete.
7905         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7906         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7907         * progmodes/js.el (js-c-fill-paragraph):
7908         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7909         (ebrowse-switch-member-buffer-to-derived-class):
7910         * play/5x5.el (5x5-solver): Use cl-flet.
7912         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
7913         (cl--symbol-function): New macro.
7914         (cl--letf, cl--letf*): Use it.
7916         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7917         Strip "toggle-" if any.
7919 2012-06-27  Glenn Morris  <rgm@gnu.org>
7921         * info.el (Info-default-directory-list): Move here from paths.el.
7922         * paths.el: Remove file, which is now empty.
7923         * loadup.el: No longer load "paths".
7925         * custom.el (custom-initialize-delay): Doc fix.
7927         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7928         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7929         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7930         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7931         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7932         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7933         * eshell/eshell.el (eshell-defgroup): Remove alias.
7935 2012-06-27  Chong Yidong  <cyd@gnu.org>
7937         * help.el (help-enable-auto-load): New variable.
7939         * help-fns.el (help-fns--autoloaded-p): New function.
7940         (describe-function-1): Refer to a function as "autoloaded" if it
7941         was autoloaded at any time in the past.  Perform autoloading if
7942         help-enable-auto-load is non-nil.
7944 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
7946         * makefile.w32-in (compile, compile-always): Depend on
7947         update-subdirs, not on subdirs.el.  Otherwise, several different
7948         sub-targets of 'bootstrap' running in parallel could
7949         simultaneously write to subdirs.el, producing a garbled file.
7951 2012-06-26  Sam Steingold  <sds@gnu.org>
7953         * files.el (file-name-base): New convenience function.
7954         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7955         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7956         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7957         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7958         * textmodes/ispell.el, textmodes/reftex-ref.el:
7959         * textmodes/tex-mode.el: Use it.
7960         Did not touch cedet and org because they are maintained elsewhere.
7962 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
7964         * calendar/calendar.el (calendar-exit): Don't try to delete or
7965         iconify last frame.  See:
7966         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7968 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
7970         * server.el (server-process-filter): Remember dir in the
7971         process's `server-client-directory' properties.
7973 2012-06-24  Chong Yidong  <cyd@gnu.org>
7975         * xml.el (xml-parse-tag): Correctly handle comment embedded in
7976         non-tag text.
7978 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
7980         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7982 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7984         * help-fns.el (describe-variable): Don't croak when doc is not found.
7985         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7986         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7987         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7988         * emacs-lisp/smie.el (smie-next-sexp): CSE.
7989         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7990         ((lambda ..) ..).
7991         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7993 2012-06-23  Chong Yidong  <cyd@gnu.org>
7995         * info.el (Info-mouse-follow-link): Accept symbol values of
7996         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
7997         (Info-fontify-node): Use Info-link-keymap for all navigation
7998         buttons, with link-args property to perform the desired action.
7999         (Info-link-keymap): Doc fix.
8000         (Info-next-link-keymap, Info-prev-link-keymap)
8001         (Info-up-link-keymap): Delete now-unused keymaps.
8003 2012-06-23  Chong Yidong  <cyd@gnu.org>
8005         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8007         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8008         system abbrevs.
8010         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8012 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8014         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8015         (bug#11719).
8017         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8018         the requote function doesn't work properly (bug#11714).
8020 2012-06-23  Glenn Morris  <rgm@gnu.org>
8022         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8024 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8026         Further GV/CL cleanups.
8027         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8028         gv-expander.
8029         (gv--defun-declaration): New function.
8030         (defun-declarations-alist): Use it.
8031         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8032         (gv-place): Autoload.
8033         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8034         original definition of dotimes and dolist.
8035         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8036         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8037         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8038         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8039         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8040         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8041         to the function's definition.
8042         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8043         * window.el:
8044         * files.el:
8045         * faces.el:
8046         * env.el: Don't use CL.
8048 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
8050         Support higher-resolution time stamps (Bug#9000).
8052         * calendar/time-date.el (with-decoded-time-value): New arg
8053         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
8054         (encode-time-value): New optional arg PICO.  New type 3.
8055         (time-to-seconds) [!float-time]: Support the new picoseconds
8056         component if it's used.
8057         (seconds-to-time, time-subtract, time-add):
8058         Support ps-resolution time stamps as well.
8060         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
8061         (timerp): Timer vectors now have length 9, not 8.
8062         (timer--time): Support new-style (4-part) time stamps.
8063         (timer-next-integral-multiple-of-time): Time stamps now have
8064         picosecond resolution, so take a bit more care about rounding.
8065         (timer-relative-time, timer-inc-time): New optional arg psecs.
8066         (timer-set-time-with-usecs): Set psecs to 0.
8067         (timer--activate): Check psecs component, too.
8069         * proced.el (proced-time-lessp): Support ps-resolution stamps.
8071 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8073         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8074         Move the non-essential binding to the post/pre-command-hook where it is
8075         more obviously correct.
8077         * subr.el (read-passwd): Don't use a history at all.
8078         * savehist.el (savehist-save): Remove password saved accidentally
8079         because of the above bug.
8081 2012-06-22  Bastien Guerry  <bzg@gnu.org>
8083         * files.el (toggle-read-only): Display a message telling whether
8084         the buffer is read-only or not (bug#11726).
8086 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8088         * emacs-lisp/gv.el: New file.
8089         * subr.el (push, pop): Extend to generalized variables.
8090         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8091         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8092         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
8093         gv-define-simple-setter, and gv-define-expander.
8094         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
8095         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8096         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8097         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8098         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8099         gv-letplace.
8100         (cl-defstruct): Don't define setf-method any more.
8101         * emacs-lisp/cl.el (flet): Don't autoload.
8102         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8103         (define-setf-expander, defsetf, define-modify-macro)
8104         (cl-struct-setf-expander): Move from cl-lib.el.
8105         * emacs-lisp/syntax.el:
8106         * emacs-lisp/ewoc.el:
8107         * emacs-lisp/smie.el:
8108         * emacs-lisp/cconv.el:
8109         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8110         (timer--time): Use gv-define-simple-setter.
8111         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8112         to avoid coding-system problems in subr.el.  Adjust all users.
8113         (macroexp--maxsize, macroexp-small-p): New functions.
8114         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8115         * scroll-bar.el (scroll-bar-mode):
8116         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8117         (normal-erase-is-backspace-mode): Don't use the `eq' place.
8118         * winner.el (winner-configuration, winner-make-point-alist)
8119         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8120         * files.el (locate-file-completion-table): Avoid list*.
8122 2012-06-22  Chong Yidong  <cyd@gnu.org>
8124         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8125         (dired-create-files): Doc fix (Bug#11329).
8126         (dired-do-copy): Doc fix (Bug#11334).
8127         (dired-mark-read-string): Doc fix (Bug#11553).
8129         * dired.el (dired-recursive-copies, dired-recursive-deletes):
8130         Doc fix (Bug#11326).
8131         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
8132         (dired-dwim-target): Doc fix.
8134         * wdired.el (wdired-mode): Doc fix.
8136 2012-06-22  Glenn Morris  <rgm@gnu.org>
8138         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8139         (pcmpl-rpm-cache-stamp-file): New constant.
8140         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8141         (pcmpl-rpm-packages): Optionally cache list of packages.
8143         * pcmpl-rpm.el (pcmpl-rpm): New group.
8144         (pcmpl-rpm-query-options): New option.
8145         (pcmpl-rpm-packages): No need to inline it.
8146         Use pcmpl-rpm-query-options.
8148         * calendar/calendar.el (calendar-in-read-only-buffer):
8149         Avoid some needless mode changes.
8151 2012-06-21  Chong Yidong  <cyd@gnu.org>
8153         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8154         (desktop-path): Remove . from the default value (Bug#10977).
8155         (desktop-read): Use user-emacs-directory if desktop-path is nil.
8157 2012-06-20  Chong Yidong  <cyd@gnu.org>
8159         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8161 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
8163         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8164         (bug#11201).
8166 2012-06-20  Chong Yidong  <cyd@gnu.org>
8168         * term.el (term-window-width): Handle the case of a missing right
8169         fringe (Bug#8837).
8170         (term-check-size): Use window-text-height (Bug#5445).
8171         (term-mode): Use define-derived-mode.  Minor cleanups.
8172         Set font-lock-defaults (Bug#7692).
8173         (term-move-columns, term-insert-char, term-emulate-terminal)
8174         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8176 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
8178         * net/ange-ftp.el (ange-ftp-get-passwd):
8179         Bind `enable-recursive-minibuffers'.
8180         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8182 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
8184         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8186 2012-06-19  Glenn Morris  <rgm@gnu.org>
8188         * progmodes/python.el (python-mode): Derive from prog-mode.
8190 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
8192         * emulation/edt.el (edt-default-menu-bar-update-buffers)
8193         (edt-user-menu-bar-update-buffers): New functions.
8194         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8196 2012-06-19  Chong Yidong  <cyd@gnu.org>
8198         * subr.el (with-selected-window): Preserve the selected window's
8199         terminal's top-frame (Bug#4702).
8201         * window.el (save-selected-window): Likewise.
8203 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8205         * progmodes/python.el (python-rx-constituents): Move backquote.
8206         (python-skeleton-define, python-define-auxiliary-skeleton):
8207         Use `declare'.
8209 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
8211         * minibuffer.el (read-file-name-default): Revert the patch from
8212         2012-06-17.
8214 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8216         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8217         (pcase--u1, pcase--q1): Don't use apply-partially.
8219 2012-06-18  Glenn Morris  <rgm@gnu.org>
8221         * progmodes/python.el (python-proc, python-buffer)
8222         (python-send-receive, python-send-string): Fix obsolete versions.
8224 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
8226         * window.el (special-display-p): Completely remove stringp
8227         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8229 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
8231         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8233         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8235         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8236         * net/tramp-sh.el (tramp-maybe-open-connection):
8237         Throw if `non-essential' is non-nil.
8239 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
8241         * window.el (special-display-p): Signal an error if BUFFER-NAME
8242         is not a string (Bug#11713).
8244 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
8246         * progmodes/python.el (python-info-beginning-of-backslash):
8247         Rename from python-info-beginning-of-backlash, as a spelling fix.
8249 2012-06-17  Chong Yidong  <cyd@gnu.org>
8251         * term.el (term-emulate-terminal): If term-check-size is called,
8252         move point to the process mark without resetting point (Bug#4635).
8254 2012-06-17  Glenn Morris  <rgm@gnu.org>
8256         * international/mule-cmds.el (mule-menu-keymap)
8257         (set-language-environment, set-locale-environment): Doc tweaks.
8259 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
8261         * cus-face.el (custom-face-attributes): Add wave-style underline
8262         attribute.
8263         * faces.el (set-face-attribute): Update docstring to describe
8264         wave-style underline attribute.
8266 2012-06-16  Chong Yidong  <cyd@gnu.org>
8268         * term/xterm.el (terminal-init-xterm): Discard input before
8269         querying background mode (Bug#10959).
8271 2012-06-16  Stefan Merten  <smerten@oekonux.de>
8273         * textmodes/rst.el: Added and corrected some comments.
8274         (rst-re-alist-def): Improve symbol syntax.
8275         (rst-mode-syntax-table): Correct syntax entries.
8276         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8277         (rst-official-version, rst-official-cvs-rev): Update version
8278         information.
8280 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
8282         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8283         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8285 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
8287         * progmodes/python.el: New python.el merge.
8288         (python-guess-indent): Obsolete var.
8289         (python-indent-guess-indent-offset): New defcustom.
8290         (python-indent): Obsolete var.
8291         (python-indent-offset): New defcustom.
8292         (python-python-command, python-jython-command): Delete var.
8293         (python-shell-interpreter): New defcustom.
8294         (python-pdbtrack-do-tracking-p): Delete var.
8295         (python-pdbtrack-activate): New defcustom.
8296         (python-use-skeletons): Obsolete var.
8297         (python-skeleton-autoinsert): New defcustom.
8298         (inferior-python-filter-regexp, python-continuation-offset)
8299         (python-honour-comment-indentation, python-indent-string-contents)
8300         (python-jython-packages, python-mode-hook)
8301         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8302         (python-shell-prompt-alist)
8303         (python-source-modes): Delete defcustoms.
8304         (python-check-buffer-name, python-eldoc-setup-code)
8305         (python-eldoc-string-code, python-ffap-setup-code)
8306         (python-ffap-string-code, python-fill-comment-function)
8307         (python-fill-decorator-function, python-fill-paren-function)
8308         (python-fill-string-function, python-imenu-include-defun-type)
8309         (python-imenu-make-tree, python-imenu-subtree-root-label)
8310         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8311         (python-shell-compilation-regexp-alist)
8312         (python-shell-completion-module-string-code)
8313         (python-shell-completion-pdb-string-code)
8314         (python-shell-completion-setup-code)
8315         (python-shell-completion-string-code)
8316         (python-shell-enable-font-lock, python-shell-exec-path)
8317         (python-shell-extra-pythonpaths)
8318         (python-shell-internal-buffer-name, python-shell-interpreter-args)
8319         (python-shell-process-environment)
8320         (python-shell-prompt-block-regexp)
8321         (python-shell-prompt-output-regexp)
8322         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8323         (python-shell-send-setup-max-wait, python-shell-setup-codes)
8324         (python-shell-virtualenv-path): New defcustoms.
8325         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8326         (inferior-python-mode-syntax-table, python--prompt-regexp)
8327         (python-buffer, python-command python-python-command)
8328         (python-default-template, python-imports, python-indent-index)
8329         (python-indent-list, python-indent-list-length)
8330         (python-mode-running, python-pdbtrack-is-tracking-p)
8331         (python-preoutput-continuation, python-preoutput-leftover)
8332         (python-preoutput-result, python-preoutput-skip-next-prompt)
8333         (python-prev-dir/file, python-recursing)
8334         (python-saved-check-command, python-version-checked)
8335         (python-which-func-length-limit)
8336         (view-return-to-alist): Delete vars.
8337         (python-check-custom-command, python-dotty-syntax-table)
8338         (python-imenu-index-alist, python-indent-current-level)
8339         (python-indent-dedenters, python-indent-levels)
8340         (python-nav-beginning-of-defun-regexp)
8341         (python-nav-list-defun-positions-cache)
8342         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8343         (python-shell-internal-buffer)
8344         (python-skeleton-available): New vars.
8345         (def-python-skeleton): Delete macro.
8346         (python-skeleton-define): New macro.
8347         (python-define-auxiliary-skeleton, python-rx): New macros.
8348         (python-insert-class): Delete command.
8349         (python-skeleton-class): New command.
8350         (python-insert-def): Delete command.
8351         (python-skeleton-def): New command.
8352         (python-insert-for): Delete command.
8353         (python-skeleton-for): New command.
8354         (python-insert-if): Delete command.
8355         (python-skeleton-if): New command.
8356         (python-insert-try/except, python-insert-try/finally): Delete commands.
8357         (python-skeleton-try): New command.
8358         (python-insert-while): Delete command.
8359         (python-skeleton-while): New command.
8360         (python-backspace): Delete command.
8361         (python-indent-dedent-line-backspace): New command.
8362         (python-electric-colon): Delete command.
8363         (python-indent-electric-colon): New command.
8364         (python-guess-indent): Delete command.
8365         (python-indent-guess-indent-offset): New command.
8366         (python-shift-left): Delete command.
8367         (python-indent-shift-left): New command.
8368         (python-shift-right): Delete command.
8369         (python-indent-shift-right): New command.
8370         (python-find-function): Delete command.
8371         (python-nav-jump-to-defun): New command.
8372         (python-next-statement): Delete command.
8373         (python-nav-forward-sentence): New command.
8374         (python-previous-statement): Delete command.
8375         (python-nav-backward-sentence): New command.
8376         (python-fill-paragraph): Delete command.
8377         (python-fill-paragraph-function): New command.
8378         (python-send-buffer): Delete command.
8379         (python-shell-send-buffer): New command.
8380         (python-send-defun): Delete command.
8381         (python-shell-send-defun): New command.
8382         (python-send-region, python-send-region-and-go): Delete commands.
8383         (python-shell-send-region)
8384         (python-shell-switch-to-shell): New commands.
8385         (python-send-string): Delete command.
8386         (python-shell-send-string): New command.
8387         (python-switch-to-python): Delete command.
8388         (python-shell-switch-to-shell): New command.
8389         (python-describe-symbol): Delete command.
8390         (python-eldoc-at-point): New command.
8391         (python--set-prompt-regexp, python-args-to-list)
8392         (python-after-info-look, python-check-version)
8393         (python-check-comint-prompt, python-find-imports)
8394         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8395         (python-unload-function, python-expand-template)
8396         (python-maybe-jython, python-preoutput-filter)
8397         (python-pdbtrack-get-source-buffer)
8398         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8399         (python-pdbtrack-toggle-stack-tracking)
8400         (python-pdbtrack-track-stack-file, python-initial-text)
8401         (python-first-word, python-comment-line-p, python-send-command)
8402         (python-setup-brm, python-sentinel, python-set-proc)
8403         (python-skip-out, python-input-filter, python-outdent-p)
8404         (python-outline-level, python-backslash-continuation-line-p)
8405         (python-end-of-block, python-end-of-statement, python-mark-block)
8406         (python-beginning-of-block, python-beginning-of-statement)
8407         (python-blank-line-p, python-beginning-of-string)
8408         (python-open-block-statement-p): Delete functions.
8409         (python-indent-line, python-indent-line-1): Delete functions.
8410         (python-indent-line): New function.
8411         (python-indentation-levels): Delete function.
8412         (python-indent-calculate-levels): New function.
8413         (python-proc): Delete function.
8414         (python-shell-get-process): New function.
8415         (python-send-receive): Delete function.
8416         (python-shell-send-string-no-output): New function.
8417         (python-module-path): Delete function.
8418         (python-ffap-module-path): New function.
8419         (python-completion-at-point)
8420         (python-symbol-completions): Delete functions.
8421         (python-completion-complete-at-point): New function.
8422         (python-load-file): Delete function.
8423         (python-shell-send-file): New function.
8424         (python-calculate-indentation): Delete function.
8425         (python-indent-calculate-indentation): New function.
8426         (python-skip-comments/blanks): Delete function.
8427         (python-util-forward-comment): New function.
8428         (python-continuation-line-p): Delete function.
8429         (python-info-continuation-line-p): New function.
8430         (python-which-func, python-current-defun): Delete function.
8431         (python-info-current-defun): New function.
8432         (python-beginning-of-defun): Delete function.
8433         (python-nav-beginning-of-defun): New function.
8434         (python-close-block-statement-p)
8435         (python-block-end-p): Delete function.
8436         (python-info-closing-block): New function.
8437         (python-comint-output-filter-function)
8438         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8439         (python-fill-comment, python-fill-decorator, python-fill-paren)
8440         (python-fill-string, python-imenu-make-element-tree)
8441         (python-imenu-make-tree, python-imenu-tree-assoc)
8442         (python-indent-context, python-indent-dedent-line)
8443         (python-indent-line-function)
8444         (python-indent-post-self-insert-function)
8445         (python-indent-toggle-levels)
8446         (python-info-assignment-continuation-line-p)
8447         (python-info-beginning-of-backlash)
8448         (python-info-block-continuation-line-p)
8449         (python-info-closing-block-message)
8450         (python-info-line-ends-backslash-p)
8451         (python-info-looking-at-beginning-of-defun)
8452         (python-info-ppss-context, python-info-ppss-context-type)
8453         (python-nav-list-defun-positions, python-nav-read-defun)
8454         (python-nav-sentence-end, python-nav-sentence-start)
8455         (python-pdbtrack-comint-output-filter-function)
8456         (python-pdbtrack-set-tracked-buffer)
8457         (python-shell-calculate-exec-path)
8458         (python-shell-calculate-process-environment)
8459         (python-shell-completion--do-completion-at-point)
8460         (python-shell-completion--get-completions)
8461         (python-shell-completion-complete-at-point)
8462         (python-shell-completion-complete-or-indent)
8463         (python-shell-get-or-create-process)
8464         (python-shell-get-process-name)
8465         (python-shell-internal-get-or-create-process)
8466         (python-shell-internal-get-process-name)
8467         (python-shell-internal-send-string, python-shell-make-comint)
8468         (python-shell-parse-command, python-shell-send-setup-code)
8469         (python-skeleton-add-menu-items)
8470         (python-util-clone-local-variables, python-util-position)
8471         (run-python-internal, python-indentation-levels)
8472         (python-nav-beginning-of-defun)
8473         (python-completion-complete-at-point): New functions.
8474         (run-python): Change arguments.  New API requirements.
8476 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8478         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8479         (bug#11649).
8481         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8482         (macroexp--expand-all): Use it.
8484         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8485         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8486         Use `cl-function' instead.
8488 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
8490         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8491         Suggested by Stefan Monnier while discussing bug#11657.
8493 2012-06-14  Sam Steingold  <sds@gnu.org>
8495         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8497 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8499         * play/doctor.el (doctor-doc): Remove parameter and use
8500         doctor-sent instead of sent.
8501         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
8503 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8505         * files.el: Require cl-lib.
8506         (file-name-non-special): Replace case -> cl-case.
8508         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8510         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8511         mapping from #' to function*.
8513 2012-06-13  Chong Yidong  <cyd@gnu.org>
8515         * mouse.el (mouse-drag-track): Do not set the mark if the user
8516         releases the mouse without selecting anything (Bug#11588).
8518 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8520         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8521         as well (bug#11646).
8523         * loadup.el: Count byte-code functions as well.
8525         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8526         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8528         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8529         (bug#11649).  Add cl-defun and cl-defmacro.
8531 2012-06-13  Drew Adams  <drew.adams@oracle.com>
8533         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8534         Fix last change.
8536 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
8538         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8539         Otherwise, it blocks in batch mode.
8541 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
8543         * help-mode.el (bookmark-make-record-default): Declare.
8545 2012-06-13  Chong Yidong  <cyd@gnu.org>
8547         * emacs-lisp/package.el (list-packages): Compute a list of
8548         packages that are newly-available since the last list-packages
8549         invocation.
8550         (package-menu--new-package-list): New var.
8551         (package-menu--generate, package-menu--print-info)
8552         (package-menu--status-predicate, package-menu-mark-install):
8553         Handle new status label "new".
8555 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8557         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8558         conversion to backquotes.
8560 2012-06-12  Chong Yidong  <cyd@gnu.org>
8562         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8563         Rename from gud-inhibit-global-bindings.
8565         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8567         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8568         hook from nxml-glyph-set-hook.
8570         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8571         declaration.
8573         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8575         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8576         Convert to defcustom.
8578 2012-06-12  Drew Adams  <drew.adams@oracle.com>
8580         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8581         New functions.
8582         (help-mode): Use them.
8584 2012-06-11  Glenn Morris  <rgm@gnu.org>
8586         * progmodes/fortran.el (fortran-font-lock-keywords-3):
8587         Use preprocessor face for directives.
8588         (fortran-directive-re): Doc fix.
8590 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8592         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8593         conversion to backquotes (bug#11652).
8595         Fix compiler-expansion of CL's cXXr functions (bug#11673).
8596         * emacs-lisp/cl-lib.el (cl--defalias): New function.
8597         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8598         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8599         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8600         (cl-ninth, cl-tenth): Mark them as inlinable.
8601         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8602         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8603         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8604         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8605         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8606         (cl-list*, cl-adjoin): Don't put an autoload manually.
8607         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8608         (cl--compiler-macro-list*): Add autoload cookie.
8609         (cl--compiler-macro-cXXr): New function.
8611         * help-fns.el (help-fns--compiler-macro): New function extracted from
8612         describe-function-1; follow aliases and use `compiler-macro' property.
8613         (describe-function-1): Use it.
8615 2012-06-11  Chong Yidong  <cyd@gnu.org>
8617         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8618         is uninstalled, if imagemagick is installed.
8620 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8622         * emacs-lisp/cl-lib.el: Use lexical-binding.
8623         (cl-map-extents, cl-maclisp-member): Remove.
8624         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8625         (cl--set-substring, cl--block-wrapper, cl--block-throw)
8626         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8627         * emacs-lisp/cl-extra.el: Use lexical-binding.
8628         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8629         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8630         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8631         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8632         * emacs-lisp/cl-seq.el: Use lexical-binding.
8633         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8634         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8635         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8636         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8637         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8638         CL's internals.
8640 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
8642         Sync with Tramp 2.2.6-pre.
8644         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8645         `print-length' and `print-level' to nil, in order to avoid
8646         truncation.  Reported by Christopher Schmidt
8647         <christopher@ristopher.com>.
8649         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8651         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8652         New defmacro.
8653         (tramp-compat-copy-directory): Add optional argument
8654         COPY-CONTENTS.  It is not handled yet.
8656         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8657         (tramp-ftp-file-name-p): Simplify.
8659         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8660         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8661         connection vector.
8663         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8664         (tramp-methods): Do not use `tramp-password-end-of-line'.
8665         (tramp-completion-function-alist-putty): Handle UNIX case.
8666         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8667         (tramp-do-file-attributes-with-stat)
8668         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8669         gid as real numbers.  They could run out of integer range on cygwin.
8670         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8671         (tramp-sh-handle-expand-file-name): Handle hops.
8672         (tramp-open-connection-setup-interactive-shell):
8673         Use `tramp-cleanup'.  Move check for busyboxes ...
8674         (tramp-find-shell): ... here.  Simplify implementation.
8675         Set "remote-shell" property also for alternative shells.
8676         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8677         If failing, a regular file would be written otherwise.
8678         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
8679         (tramp-find-inline-encoding): Cache the coding commands in the
8680         process cache.  Apply test command on the remote side, if defined.
8681         (tramp-find-inline-compress): Cache the compress commands in the
8682         process cache.
8683         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8684         when requested.  Handle hops.
8685         (tramp-current-connection): New defvar.
8686         (tramp-maybe-open-connection): Use `tramp-cleanup'.
8687         Throw `suppress', if there was a failed connection shortly before.
8688         Handle user interrupt.  (Bug#10187)
8689         (tramp-get-inline-compress, tramp-get-inline-coding):
8690         Read connection properties from the process cache.
8692         * net/tramp-smb.el (tramp-smb-server-version)
8693         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8694         New defconsts.
8695         (tramp-smb-prompt): Extend for powershell prompt.
8696         (tramp-smb-file-name-handler-alist): Add handlers for
8697         `process-file', `shell-command' and `start-file-process'.
8698         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8699         (tramp-smb-winexe-shell-command-switch): New defcustoms.
8700         (tramp-smb-file-name-p): Simplify.
8701         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8702         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8703         (tramp-smb-shell-quote-argument): New defuns.
8704         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8705         Implement using "tar".  By this, time-stamps are preserved.
8706         (tramp-smb-handle-copy-file): Handle also the case of directories.
8707         (tramp-smb-do-file-attributes-with-stat)
8708         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8709         Use `tramp-get-connection-buffer').
8710         (tramp-smb-handle-rename-file): Use "rename", when source and
8711         target are on the same share.
8712         (tramp-smb-maybe-open-connection): Handle wrong passwords.
8713         Use `tramp-smb-server-version'.
8714         (tramp-smb-wait-for-output): Remove prompt.
8716         * net/tramp.el (top): Require 'cl.
8717         (tramp-methods, tramp-rsh-end-of-line):
8718         Remove `tramp-password-end-of-line' from docstring.
8719         (tramp-save-ad-hoc-proxies): New defcustom.
8720         (tramp-completion-function-alist): Adapt docstring.
8721         (tramp-default-password-end-of-line): Remove defcustom.
8722         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
8723         (tramp-user-regexp, tramp-file-name-regexp-unified)
8724         (tramp-file-name-regexp-url): Extend regexp by hop separator.
8725         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8726         (tramp-remote-file-name-spec-regexp): New defconst.
8727         (tramp-file-name-structure): Extend structure for hops.
8728         (tramp-get-method-parameter): Move up.
8729         (tramp-file-name-p, tramp-dissect-file-name)
8730         (with-parsed-tramp-file-name): Handle hops.
8731         (tramp-file-name-hop): New defun.
8732         (tramp-make-tramp-file-name): New optional arg HOP.
8733         (tramp-message-show-progress-reporter-message): New defvar.
8734         (tramp-with-progress-reporter): Use it.  We cannot use
8735         `tramp-message-show-message' here, because this suppresses also
8736         error buffers.
8737         (tramp-error-with-buffer): Suppress buffer view, if
8738         `tramp-message-show-message' is nil.
8739         Use `tramp-get-connection-buffer'.
8740         (tramp-cleanup): New defun.
8741         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8742         (tramp-file-name-handler): If `debug-on-error' is set, propagate
8743         an error unchanged.
8744         (tramp-completion-handle-file-name-all-completions): Handle hops.
8745         Fix an error when called from ido.
8746         (tramp-completion-dissect-file-name): Use better local variable
8747         name.  Add hop to the vector.
8748         (tramp-handle-insert-file-contents): Use progress-reporter for the
8749         whole scenario.
8750         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8751         to `t'.
8752         (tramp-check-for-regexp): Simplify search.
8753         (tramp-enter-password): Remove it.  Move implementation ...
8754         (tramp-action-password): ... here.
8755         (tramp-mode-string-to-int, tramp-local-host-p)
8756         (tramp-make-tramp-temp-file, tramp-read-passwd)
8757         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8758         Set tramp-autoload cookie.
8760         * net/trampver.el: Update release number.
8762 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8763             Michael Albinus  <michael.albinus@gmx.de>
8765         * net/tramp.el (tramp-set-completion-function): Fix docstring.
8766         (tramp-parse-group, tramp-parse-file)
8767         (tramp-parse-shostkeys-sknownhosts): New defuns.
8768         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8769         (tramp-parse-shosts-group, tramp-parse-sconfig)
8770         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8771         (tramp-parse-sknownhosts, tramp-parse-hosts)
8772         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8773         Use them.
8774         (tramp-parse-passwd-group, tramp-parse-netrc-group)
8775         (tramp-parse-putty-group): Don't narrow.
8776         (tramp-parse-putty): Make a loop.
8777         (tramp-file-name-handler): Catch the `suppress' signal.
8779 2012-06-11  Chong Yidong  <cyd@gnu.org>
8781         * image.el (imagemagick-register-types): Put the ImageMagick entry
8782         at the end of image-type-file-name-regexps.
8784 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
8786         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8787         (pcase, pcase-let*, pcase-dolist): Use them.
8789 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8791         * emacs-lisp/pcase.el (pcase--let*): New function.
8792         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
8793         (pcase--expand): Use macroexp-let².
8795 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8797         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8798         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8799         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8800         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8801         * emacs-lisp/derived.el: Use pcase instead of `cl'.
8802         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8804 2012-06-10  Glenn Morris  <rgm@gnu.org>
8806         * mail/rmail.el (rmail-yank-current-message): Leave point at
8807         correct position.  (Bug#11660)
8809 2012-06-10  Chong Yidong  <cyd@gnu.org>
8811         * allout-widgets.el: Fix code header.
8813 2012-06-10  Chong Yidong  <cyd@gnu.org>
8815         * cus-edit.el (customize-changed-options-previous-release):
8816         Bump to 24.1.
8818 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
8820         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8822 2012-06-09  Chong Yidong  <cyd@gnu.org>
8824         * ebuff-menu.el (electric-buffer-list): Preserve header line.
8826 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
8828         * window.el (special-display-popup-frame): Don't use
8829         window--display-buffer (Bug#11651).
8831 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
8833         Fix parallel builds: make sure loaddefs.el is not being written
8834         while Lisp files are compiled.
8835         (compile): Don't depend on 'mh-autoloads'.
8836         (compile-CMD, compile-SH): Depend on 'autoloads'.
8837         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8839         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
8841 2012-06-09  Chong Yidong  <cyd@gnu.org>
8843         * face-remap.el (face-remap-add-relative, face-remap-set-base)
8844         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8845         Doc fixes (Bug#11225).
8847 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8849         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8850         a function if there's a clear indication that it has a compiler-macro.
8851         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8852         (macro-declarations-alist): Add arglist to declaration functions.
8853         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8854         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8855         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8856         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8857         Also add autoload to find the compiler macro.
8858         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8859         (cl--compiler-macro-member, cl--compiler-macro-assoc)
8860         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8861         (cl--compiler-macro-get): New functions, replacing calls to
8862         cl-define-compiler-macro.
8863         (cl-typep) [compiler-macro]: Use macroexp-let².
8865 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
8867         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8868         string properly, fixes Bug#11473.
8870 2012-06-08  Chong Yidong  <cyd@gnu.org>
8872         * faces.el (set-face-attribute): Doc fix.
8873         (modify-face): Don't use :bold and :italic.
8874         (error, warning, success): Tweak definitions.
8876         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8877         (custom-modified, custom-set, custom-changed, custom-themed)
8878         (custom-saved, custom-button, custom-button-mouse)
8879         (custom-button-pressed, custom-state, custom-comment-tag)
8880         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8881         (custom-group-subtitle): Use new-style face specs.
8882         (custom-invalid-face, custom-rogue-face, custom-modified-face)
8883         (custom-set-face, custom-changed-face, custom-saved-face)
8884         (custom-button-face, custom-button-pressed-face)
8885         (custom-documentation-face, custom-state-face)
8886         (custom-comment-face, custom-comment-tag-face)
8887         (custom-variable-tag-face, custom-variable-button-face)
8888         (custom-face-tag-face, custom-group-tag-face-1)
8889         (custom-group-tag-face): Remove obsolete face alias.
8891         * epa.el (epa-validity-high, epa-validity-medium)
8892         (epa-validity-low, epa-mark, epa-field-name, epa-string)
8893         (epa-field-name, epa-field-body):
8894         * font-lock.el (font-lock-comment-face, font-lock-string-face)
8895         (font-lock-keyword-face, font-lock-builtin-face)
8896         (font-lock-function-name-face, font-lock-variable-name-face)
8897         (font-lock-type-face, font-lock-constant-face):
8898         * ido.el (ido-first-match, ido-only-match, ido-subdir)
8899         (ido-virtual, ido-indicator, ido-incomplete-regexp):
8900         * speedbar.el (speedbar-button-face, speedbar-file-face)
8901         (speedbar-directory-face, speedbar-tag-face)
8902         (speedbar-selected-face, speedbar-highlight-face)
8903         (speedbar-separator-face):
8904         * whitespace.el (whitespace-newline, whitespace-space)
8905         (whitespace-hspace, whitespace-tab, whitespace-trailing)
8906         (whitespace-line, whitespace-space-before-tab)
8907         (whitespace-space-after-tab, whitespace-indentation)
8908         (whitespace-empty):
8909         * emulation/cua-base.el (cua-global-mark):
8910         * eshell/em-prompt.el (eshell-prompt):
8911         * net/newst-plainview.el (newsticker-new-item-face)
8912         (newsticker-old-item-face, newsticker-immortal-item-face)
8913         (newsticker-obsolete-item-face, newsticker-date-face)
8914         (newsticker-statistics-face, newsticker-default-face):
8915         * net/newst-reader.el (newsticker-feed-face)
8916         (newsticker-extra-face, newsticker-enclosure-face):
8917         * net/newst-treeview.el (newsticker-treeview-face)
8918         (newsticker-treeview-new-face, newsticker-treeview-old-face)
8919         (newsticker-treeview-immortal-face)
8920         (newsticker-treeview-obsolete-face)
8921         (newsticker-treeview-selection-face):
8922         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8923         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8924         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8925         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8926         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8927         (nxml-outline-active-indicator, nxml-outline-ellipsis):
8928         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8929         (mpuz-text):
8930         * progmodes/vera-mode.el (vera-font-lock-number)
8931         (vera-font-lock-function, vera-font-lock-interface):
8932         * textmodes/table.el (table-cell): Use new-style face specs, and
8933         don't use the old :bold and :italic attributes.
8935         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8936         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8937         (ebrowse-member-class, ebrowse-progress): Likewise.
8938         (ebrowse-tree-mark-face, ebrowse-root-class-face)
8939         (ebrowse-file-name-face, ebrowse-default-face)
8940         (ebrowse-member-attribute-face, ebrowse-member-class-face)
8941         (ebrowse-progress-face): Remove obsolete faces.
8943         * progmodes/flymake.el (flymake-errline, flymake-warnline):
8944         Inherit from error and warning faces respectively.
8946         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8947         Likewise.
8948         (flyspell-incorrect-face, flyspell-duplicate-face):
8949         Remove obsolete aliases.
8951 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
8953         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8954         Avoid infloop.
8956 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8958         * startup.el (argv, argi): Make lexically scoped.
8959         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8960         * emacs-lisp/cl-macs.el: Use lexical-binding.
8961         Rename cl-bind-* to cl--bind-*.
8962         * files.el: Don't require `cl' since it doesn't use it.
8963         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8965 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
8967         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8968         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8969         instead of calling external sort utility.
8970         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8972 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
8974         * descr-text.el (describe-char): Mention how to insert the
8975         character, if the current input method doesn't support it.
8976         See the discussion in this thread for the details:
8977         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8979 2012-06-08  Sam Steingold  <sds@gnu.org>
8981         * bindings.el (global-map): Bind XF86Forward to next-buffer and
8982         XF86Back to previous-buffer.
8983         (minibuffer-local-map): Bind them to next-history-element and
8984         previous-history-element respectively.
8985         * help-mode.el (help-mode-map): Bind them to help-go-forward and
8986         help-go-back respectively.
8987         * info.el (Info-mode-map): Bind them to Info-history-forward and
8988         Info-history-back respectively.
8989         These are the keys next to Up on the ThinkPad keyboard.
8991 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8993         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8994         * emacs-lisp/cl-macs.el: Provide itself.
8995         (cl--labels-convert-cache): New var.
8996         (cl--labels-convert): New function.
8997         (cl-flet, cl-labels): New implementation with new semantics, relying on
8998         lexical-binding.
8999         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9000         (cl-closure-vars, cl--function-convert-cache)
9001         (cl--function-convert): Move from cl-macs.el.
9002         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9003         rename by removing the "cl-" prefix.
9004         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9006 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9008         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9009         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9010         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9011         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9012         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9013         (cl-hash-table-count): Add old compatibility aliases.
9015         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9016         Use macroexpand-all-environment instead.
9017         (cl--old-macroexpand): New var.
9018         (cl--sm-macroexpand): New function.
9019         (cl-symbol-macrolet): Use it during macro expansion.
9020         (cl--function-convert-cache): New var.
9021         (cl--function-convert): New function, extracted from
9022         cl-macroexpand-all.
9023         (cl-lexical-let): Use it.
9025         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9026         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9027         (cl-member): Remove old alias.
9029         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9030         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9031         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9032         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9033         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9034         (cl-macroexpand-cmacs): Remove var.
9035         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9036         Use macroexpand-all instead.
9038 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9040         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9041         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9042         (macroexp-copyable-p): New functions and macros.
9043         * emacs-lisp/edebug.el (edebug-unwrap):
9044         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9045         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9046         (pcase--let*): Remove.
9047         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9048         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
9049         macroexp-const-p instead.
9050         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9052         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9053         instead of "cl-" for internal definitions.  Use macroexp-const-p.
9054         (cl-old-bc-file-form): Remove var.
9055         (cl-const-exprs-p): Remove fun.
9056         (cl-labels, cl-macrolet): Use backquote.
9057         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
9058         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9059         (cl-define-setf-expander): Rename from cl-define-setf-method.
9060         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9062         * international/mule-cmds.el: Don't require CL.
9063         (view-hello-file): Don't use `letf'.
9065 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9067         * tmm.el (tmm-prompt): Use string-prefix-p.
9068         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9069         (tmm-add-prompt): Use minibuffer-completion-help.
9070         (tmm-delete-map): Remove.
9072         * subr.el (kbd): Make it its own function.
9074 2012-06-07  Stefan Merten  <smerten@oekonux.de>
9076         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9077         Silence compiler warnings.  Fix versions.
9078         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9079         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9080         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9081         (rst-package-emacs-version-alist): Correct Emacs version to
9082         represent major merge with upstream.
9083         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9085 2012-06-06  Glenn Morris  <rgm@gnu.org>
9087         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9088         Only print environment variables if set.
9090 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9092         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9093         (macroexp--cons): Rename from maybe-cons.
9094         (macroexp--accumulate): Rename from macroexp-accumulate.
9095         (macroexp--all-forms): Rename from macroexpand-all-forms.
9096         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9097         (macroexp--expand-all): Rename from macroexpand-all-1.
9099 2012-06-06  Sam Steingold  <sds@gnu.org>
9101         * calendar/calendar.el (calendar-in-read-only-buffer):
9102         Call `special-mode' to enable the standard read-only keybindings.
9104 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9106         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9107         with "loading" messages (bug#11635).
9109 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
9111         * files.el (enable-remote-dir-locals): New option.
9112         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
9114         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9115         Ensure, that the temp directory is local.
9117         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9118         `temporary-file-directory'.
9120         * progmodes/python.el (python-send-region): Ensure, that the
9121         temporary file is created also in the remote case.
9123 2012-06-06  Glenn Morris  <rgm@gnu.org>
9125         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9126         (vc-rcs-update-changelog): Use it.
9128         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9130         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9131         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9132         (vc-sccs-diff): Replace use of the external vcdiff script.
9134 2012-06-05  Glenn Morris  <rgm@gnu.org>
9136         * ledit.el: Move to obsolete/.
9138 2012-06-05  Sam Steingold  <sds@gnu.org>
9140         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9141         patch (Bug#11140).
9143 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9145         * emacs-lisp/cust-print.el: Move to obsolete.
9147         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9148         compiler-macro expansion.
9150         Add native compiler-macro support.
9151         * emacs-lisp/macroexp.el (macroexpand-all-1):
9152         Support compiler-macros directly.  Properly follow aliases and apply
9153         the compiler macros more thoroughly.
9154         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9155         macroexpand now properly follows aliases.
9156         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9157         (cl-compiler-macroexpand): Use new prop.
9158         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9160         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9162 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
9164         * window.el (get-lru-window, get-mru-window, get-largest-window):
9165         New argument NOT-SELECTED to avoid picking the selected window.
9166         (window--display-buffer-1, window--display-buffer-2): Replace by
9167         new function window--display-buffer
9168         (display-buffer-same-window, display-buffer-reuse-window)
9169         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9170         Use window--display-buffer.
9171         (display-buffer-use-some-window): Remove temporary dedication
9172         hack by calling get-lru-window and get-largest-window with
9173         NOT-SELECTED argument non-nil.  Call window--display-buffer.
9175 2012-06-05  Glenn Morris  <rgm@gnu.org>
9177         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9178         Replace external vcdiff script.
9180 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9182         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9184 2012-06-04  Chong Yidong  <cyd@gnu.org>
9186         * image.el (imagemagick-types-inhibit): Revert last change.
9187         Add INFO and M.
9188         (imagemagick-enabled-types): Remove CIN and EPS*.
9190 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9192         * emacs-lisp/cl-lib.el: Rename from cl.el.
9193         * emacs-lisp/cl.el: New compatibility file.
9194         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9195         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9196         to obey the "cl-" prefix.
9197         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9199 2012-06-03  Glenn Morris  <rgm@gnu.org>
9201         * emacs-lisp/authors.el (authors-aliases): Addition.
9203         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9204         Fix :version.
9206 2012-06-03  Stefan Merten  <smerten@oekonux.de>
9208         * textmodes/rst.el: Add comments.
9209         (rst-transition, rst-adornment): New faces.
9210         (rst-adornment-faces-alist): Make default safe to reevaluate.
9211         Fixes
9212         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9213         Improve customization tags.
9214         (rst-define-level-faces): Clarify meaning.
9216 2012-06-03  Chong Yidong  <cyd@gnu.org>
9218         * progmodes/compile.el (compilation-mode-line-fail)
9219         (compilation-mode-line-run, compilation-mode-line-exit):
9220         New faces.
9221         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9223 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
9225         * progmodes/which-func.el (which-func-update-ediff-windows):
9226         New function.  Use it in ediff-select-hook (Bug#11478).
9228 2012-06-03  Chong Yidong  <cyd@gnu.org>
9230         * bindings.el: Remove explicit help text from format-mode-line.
9231         It is now supplied by mode-line-default-help-echo.
9232         (mode-line-front-space, mode-line-end-spaces)
9233         (mode-line-misc-info): New variables.
9234         (mode-line-modes, mode-line-position): Move the default value to
9235         the variable definition.
9236         (mode-line-default-help-echo): New defcustom.
9237         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9238         (mode-line-modified-help-echo): New functions.
9239         (mode-line-mule-info, mode-line-modified): Use them.
9240         (mode-line-eol-desc, propertized-buffer-identification):
9241         Consistency fixes for help text.
9242         (mode-line-coding-system-map): Allow using mouse-3 to invoke
9243         set-buffer-file-coding-system (Bug#289).
9244         (mode-line-mule-info-help-echo): Update help text.
9246 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9248         * simple.el (execute-extended-command): Set real-this-command
9249         (bug#11506).
9251 2012-06-02  Chong Yidong  <cyd@gnu.org>
9253         Remove incorrect uses of "modeline" in comments, docstrings, and
9254         function/variable names (Bug#10329).
9256         * cus-edit.el (mode-line):
9257         * dframe.el (dframe-mouse-hscroll):
9258         * emacs-lisp/re-builder.el:
9259         * emacs-lisp/easy-mmode.el (define-minor-mode):
9260         * frame.el (set-frame-name):
9261         * help.el (lookup-minor-mode-from-indicator):
9262         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9263         * progmodes/cc-cmds.el (c-toggle-auto-newline)
9264         (c-toggle-hungry-state):
9265         * progmodes/antlr-mode.el (antlr-language-alist):
9266         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9267         * progmodes/vhdl-mode.el (vhdl-mode):
9268         * progmodes/which-func.el (which-func, which-func-cleanup-function):
9269         * term/ns-win.el (ns-face-at-pos):
9270         * term/sup-mouse.el (sup-mouse-report):
9271         * textmodes/flyspell.el (flyspell-mode-line-string):
9272         * textmodes/ispell.el (ispell-highlight-face):
9273         * textmodes/reftex-global.el:
9274         * vc/vc-arch.el (vc-arch-mode-line-string):
9275         * vc/vc-cvs.el (vc-cvs-mode-line-string):
9276         * vc/vc-git.el (vc-git-mode-line-string):
9277         * vc/vc-hooks.el (vc-display-status)
9278         (vc-default-mode-line-string):
9279         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9281         * ansi-color.el (ansi-color-faces-vector): Change default faces.
9283         * dired.el (dired-sort-set-mode-line): Rename from
9284         dired-sort-set-modeline.  All callers changed.
9286         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9287         eshell-status-in-modeline.
9289         * foldout.el (foldout-mode-line-string): Rename from
9290         foldout-modeline-string.  All callers changed.
9291         (foldout-update-mode-line): Rename from foldout-update-modeline.
9293         * subr.el (redraw-modeline): Make into obsolete alias.
9295         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9296         timeclock-modeline-display.  Make old name an alias.
9297         (timeclock-update-mode-line): Likewise.  All callers changed.
9298         (timeclock-mode-line-display): No need to check before using
9299         add-hook.
9300         (timeclock-relative, timeclock-day-over-hook)
9301         (timeclock-use-elapsed, timeclock-mode-string)
9302         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9304         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9305         crisp-mode-modeline-string.
9307         * play/solitaire.el (solitaire-build-mode-line): Rename from
9308         solitaire-build-modeline.  All callers changed.
9310         * play/zone.el (zone-hiding-mode-line): Rename from
9311         zone-hiding-modeline.  All callers changed.
9312         (zone): Remove unusued `modeline-hidden-level' property.
9314         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9315         xscheme-modeline-initialize.  All callers changed.
9317         * strokes.el (strokes-lighter): Rename from
9318         strokes-modeline-string.
9320         * textmodes/sgml-mode.el (html-face-tag-alist)
9321         (html-tag-face-alist): Use mode-line face instead of obsolete
9322         alias modeline.
9324 2012-06-02  Stefan Merten  <smerten@oekonux.de>
9326         * textmodes/rst.el: Always require `cl'.
9327         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
9329 2012-06-02  Chong Yidong  <cyd@gnu.org>
9331         * image.el (imagemagick-enabled-types): Rename from
9332         imagemagick-types-enable.  Add many more types.
9333         (imagemagick-types-inhibit): Change default to nil.
9334         (imagemagick-filter-types): Caller changed.
9336 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9338         * emacs-lisp/cl-macs.el: Use backquotes.
9339         (cl-transform-function-property): Use eval-and-compile rather than
9340         abusing `require'.
9341         (defstruct): Use declare-function instead of with-no-warnings.
9343         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9344         (byte-compile-output-docform): Re-add the print-circle bindings.
9345         (byte-compile-fix-header): Use #$ just because it's shorter.
9346         (byte-compile-output-file-form): Remove defun/defmacro.
9348 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
9350         * simple.el (choose-completion): Remove now obsolete binding for
9351         owindow.
9353 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
9355         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9356         in order to avoid "Stack overflow in regexp matcher".
9358 2012-05-31  Glenn Morris  <rgm@gnu.org>
9360         * image.el: For clarity, call imagemagick-register-types at
9361         top-level, rather than relying on a custom :initialize.
9362         (imagemagick-types-enable): New option.  (Bug#11557)
9363         (imagemagick-filter-types): New function.  (Bug#7406)
9364         (imagemagick-register-types): Use imagemagick-filter-types.
9365         If disabling support, remove elements altogether rather
9366         than using an impossible regexp.
9367         (imagemagick-types-inhibit): Give it the default init function.
9369 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9371         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9372         Handle arbitrary file name lengths (Bug#11585).
9374 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
9376         * desktop.el (desktop-read): Clear previous and next buffers for
9377         all windows and bury *Messages* buffer (bug#11556).
9379 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9381         Add `declare' for `defun'.  Align `defmacro's with it.
9382         * emacs-lisp/easy-mmode.el (define-minor-mode)
9383         (define-globalized-minor-mode): Don't autoload the var definitions.
9384         * emacs-lisp/byte-run.el: Use lexical-binding.
9385         (defun-declarations-alist, macro-declarations-alist): New vars.
9386         (defmacro, defun): Use them.
9387         (make-obsolete, define-obsolete-function-alias)
9388         (make-obsolete-variable, define-obsolete-variable-alias):
9389         Use `declare'.
9390         (macro-declaration-function): Mark obsolete.
9391         * emacs-lisp/autoload.el: Use lexical-binding.
9392         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
9394 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9396         * textmodes/ispell.el (ispell-with-no-warnings):
9397         Define as a macro.
9398         (ispell-kill-ispell, ispell-change-dictionary):
9399         Use `called-interactively-p' for Emacs instead of obsolete
9400         `interactive-p'.
9402 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9404         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9405         (macro-declaration-function): Move var from C code.
9406         (macro-declaration-function): Define function with defalias.
9407         * emacs-lisp/macroexp.el (macroexpand-all-1):
9408         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9409         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9410         defun/defmacro any more.
9411         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9412         Provide fallback for unknown arglist.
9413         (byte-compile-arglist-warn): Change calling convention.
9414         (byte-compile-output-file-form): Move print-vars binding.
9415         (byte-compile-output-docform): Simplify accordingly.
9416         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9417         (byte-compile-defmacro-declaration): Remove.
9418         (byte-compile-file-form-defmumble): Generalize to defalias.
9419         (byte-compile-output-as-comment): Return byte-positions.
9420         Simplify callers accordingly.
9421         (byte-compile-lambda): Use `assert'.
9422         (byte-compile-defun, byte-compile-defmacro): Remove.
9423         (byte-compile-file-form-defalias):
9424         Use byte-compile-file-form-defmumble.
9425         (byte-compile-defalias-warn): Remove.
9427 2012-05-29  Stefan Merten  <smerten@oekonux.de>
9429         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
9430         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
9432         (rst-mode-abbrev-table): Merge definition.
9433         (rst-mode): Make sure `font-lock-defaults' is buffer local.
9434         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9436 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
9438         * calendar/icalendar.el
9439         (icalendar-export-region): Export UID properly.
9441 2012-05-29  Leo Liu  <sdl.web@gmail.com>
9442         * calendar/icalendar.el (icalendar-import-format):
9443         Add `icalendar-import-format-uid' (Bug#11525).
9444         (icalendar-import-format-uid): New.
9445         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9446         Export UID.
9448 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9450         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9451         different alternative patterns.
9452         (pcase-codegen): Be more careful to preserve identity.
9453         (pcase--u1): Don't forget to mark vars as used.
9455         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9456         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9457         (byte-compile-from-buffer): ...rather than here.
9459         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9460         functions from byte-compile-function-environment.
9462 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
9464         * window.el (window-deletable-p): Avoid deleting the root window
9465         of a frame with an active minibuffer.
9467 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
9469         * simple.el (choose-completion): Use quit-window (Bug#11567).
9471 2012-05-29  Chong Yidong  <cyd@gnu.org>
9473         * whitespace.el (whitespace-cleanup): Fix usage of
9474         whitespace-empty-at-bob-regexp (Bug#11492).
9476 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
9478         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9479         revert (Bug#11488).
9481 2012-05-29  Juri Linkov  <juri@jurta.org>
9483         * isearch.el (isearch-mode-map): Bind `M-s _' to
9484         `isearch-toggle-symbol'.  Bind `M-s c' to
9485         `isearch-toggle-case-fold'.
9486         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9487         (isearch-forward): Add `M-s _' to the docstring.
9488         (isearch-forward-symbol, isearch-toggle-case-fold)
9489         (isearch-symbol-regexp): New functions.  (Bug#11381)
9491 2012-05-29  Juri Linkov  <juri@jurta.org>
9493         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
9494         (isearch-occur, isearch-search-and-update): If `isearch-word' is
9495         a function, call it to get the regexp.
9496         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9497         property `isearch-message-prefix' instead of the string "word ".
9498         (isearch-search-fun-default): For the case of `isearch-word',
9499         return a lambda that calls re-search-forward/re-search-backward
9500         with a regexp returned by `word-search-regexp' or by the function
9501         in `isearch-word'.
9503 2012-05-29  Juri Linkov  <juri@jurta.org>
9505         * isearch.el (isearch-search-fun-default): New function.
9506         (isearch-search-fun): Move default part to the new function
9507         `isearch-search-fun-default'.
9508         (isearch-search-fun-function): Set the default value to
9509         `isearch-search-fun-default'.  (Bug#11381)
9511         * comint.el (comint-history-isearch-end):
9512         Use `isearch-search-fun-default'.
9513         (comint-history-isearch-search): Use `isearch-search-fun-default'
9514         and remove spacial case for `isearch-word'.
9515         (comint-history-isearch-wrap): Remove spacial case for
9516         `isearch-word'.
9518         * hexl.el (hexl-isearch-search-function):
9519         Use `isearch-search-fun-default'.
9521         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9522         Use `word-search-regexp' for `isearch-word'.
9524         * misearch.el (multi-isearch-search-fun):
9525         Use `isearch-search-fun-default'.
9527         * simple.el (minibuffer-history-isearch-search):
9528         Use `isearch-search-fun-default' and remove spacial case for
9529         `isearch-word'.
9530         (minibuffer-history-isearch-wrap): Remove spacial case for
9531         `isearch-word'.
9533         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9534         Remove spacial case for `isearch-word'.
9535         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9537 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9539         Decrease XEmacs incompatibilities.
9540         * textmodes/flyspell.el (flyspell-check-pre-word-p):
9541         Use `string-match'.
9542         (flyspell-delete-region-overlays): Use alternative definition for
9543         XEmacs.
9544         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9545         (flyspell-word): Use `process-kill-without-query' if XEmacs.
9546         (flyspell-mode-on): Use `interactive-p' if XEmacs.
9547         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9548         `define-obsolete-face-alias' under XEmacs, but old method.
9550         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9551         `with-no-warnings' definition or Emacs alias.
9552         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9553         (ispell-word): Do not use `region-p' if XEmacs.
9555 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9557         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9558         Check for `ispell-dictionary-base-alist' instead of full
9559         `ispell-dictionary-alist'.
9560         (ispell-init-process): Show spellchecker when starting new Ispell
9561         process.
9563 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9565         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9566         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9568 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
9570         * version.el (motif-version-string, gtk-version-string)
9571         (ns-version-string): Declare.
9573 2012-05-27  Juri Linkov  <juri@jurta.org>
9575         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9576         after the `eval-defun-1' specialcaseing
9577         like in `edebug-eval-defun' (bug#10181).
9579         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9580         like in `eval-defun-1'.
9582 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
9584         * mail/sendmail.el (mail-yank-region):
9585         Recognize rmail-yank-current-message in addition to insert-buffer.
9586         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
9587         a *mail* buffer created through rmail-start-mail with sendmail as
9588         mail-user-agent.
9590 2012-05-27  Chong Yidong  <cyd@gnu.org>
9592         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9593         Default to 256 (Bug#11267).
9595         * help.el (describe-mode): Doc fix.
9597 2012-05-26  Glenn Morris  <rgm@gnu.org>
9599         * w32-fns.el (w32-init-info): Remove.
9600         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9602         * info.el (info-initialize): For self-contained NS builds, put the
9603         included info/ directory at the front.  (Bug#2791)
9605         * paths.el (Info-default-directory-list): Make it a defcustom,
9606         mainly so that we can use custom-initialize-delay.
9608 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9610         * subr.el (buffer-has-markers-at): Mark obsolete.
9612         * subr.el (lambda): Use declare.
9614         * emacs-lisp/lisp-mode.el (lambda):
9615         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9617 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
9619         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
9621 2012-05-26  Glenn Morris  <rgm@gnu.org>
9623         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9625 2012-05-25  Glenn Morris  <rgm@gnu.org>
9627         * paths.el: Remove no-byte-compile.
9628         * loadup.el: No need to load paths.el uncompiled.
9630         * image.el (imagemagick-types-inhibit): Doc fix.
9632         * version.el: Remove no-byte-compile and associated formatting.
9633         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
9634         is ancient code from when there was an "inc-vers.el".
9636 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9638         * progmodes/gdb-mi.el: Minor style changes.
9639         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9640         Turn into minor modes.
9641         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9642         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9643         (gdb-shell): Remove unneeded let-binding.
9644         (gdb-get-many-fields): Eliminate O(n²) behavior.
9646 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
9648         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9649         platforms that don't link in fontset.c.
9651 2012-05-25  Juri Linkov  <juri@jurta.org>
9653         Use the same diff color scheme as in modern VCSes (bug#10181).
9655         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9656         to avoid confusion with `diff-added' that now uses green colors.
9657         (diff-removed): Use shades of red.
9658         (diff-added): Use shades of green.
9659         (diff-changed): Leave just the yellow color.
9660         (diff-use-changed-face): New variable.
9661         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9662         how to highlight context diff changes.
9663         (diff-refine-change): Use shades of yellow.
9664         (diff-refine-removed): New face that uses shades of red.
9665         (diff-refine-added): New face that uses shades of green.
9666         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9667         `diff-refine-removed' in the call to `smerge-refine-subst'
9668         depending on the value of `diff-use-changed-face'.
9670         * vc/smerge-mode.el (smerge-mine): Use shades of red.
9671         (smerge-other): Use shades of green.
9672         (smerge-base): Use shades of yellow.
9673         (smerge-refined-change): Empty face.
9674         (smerge-refined-removed): New face that uses shades of red.
9675         (smerge-refined-added): New face that uses shades of green.
9676         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
9677         args `props-r' and `props-a', and use them.  Doc fix.
9678         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9679         on its value use different faces `smerge-refined-change',
9680         `smerge-refined-removed', `smerge-refined-added' in the call to
9681         `smerge-refine-subst'.
9683         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9684         Add face condition `min-colors 88' with shades of red.
9685         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9686         `min-colors 88' with shades of green.
9687         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9688         `min-colors 88' with shades of yellow.
9690 2012-05-24  Glenn Morris  <rgm@gnu.org>
9692         * paths.el (prune-directory-list, remote-shell-program): Move to...
9693         * files.el (prune-directory-list, remote-shell-program): ...here.
9694         For the latter, delay initialization, prefer ssh, just search PATH.
9696         * paths.el (term-file-prefix): Move to faces.el (the only user).
9697         * faces.el (term-file-prefix): Move here, make it a defcustom.
9699         * paths.el (news-directory, news-path, news-inews-program):
9700         Move to gnus/nnspool.el.
9702         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9704         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9705         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9706         Make the latter a defcustom, with a delayed initialization.
9708         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9709         These were deleted from Gnus itself late 2010.
9711 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
9713         * progmodes/which-func.el (which-func-ff-hook):
9714         Check against user-error, not error.
9716         * emacs-lisp/edebug.el (top): Do not load or set up loading of
9717         cl-specs.el, which no longer exists.
9719 2012-05-22  Glenn Morris  <rgm@gnu.org>
9721         * info.el (info-emacs-bug): New command.
9722         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9723         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9725 2012-05-21  Glenn Morris  <rgm@gnu.org>
9727         * makefile.w32-in (update-subdirs-SH):
9728         * Makefile.in (update-subdirs): Update for moved update-subdirs.
9730 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9732         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9734         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9735         Simplify Maven regexp, and make sure the file can't start with a space
9736         (bug#11517).
9738 2012-05-21  Glenn Morris  <rgm@gnu.org>
9740         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9741         Scrap superfluous subshells.
9743 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9745         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9746         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9748 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
9750         * calc/calc.el (calc-ensure-consistent-units): New variable.
9752         * calc/calc-units.el (math-consistent-units-p)
9753         (math-check-unit-consistency): New functions.
9754         (calc-quick-units, calc-convert-units):
9755         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9756         is non-nil.
9757         (calc-extract-units): Fix typo.
9759 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9761         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9763         * textmodes/flyspell.el: Commenting style, plus code simplifications.
9764         (flyspell-default-deplacement-commands): Don't spell check after
9765         repeated window/frame switches (e.g. triggered by mouse-movement).
9766         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9767         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9768         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9769         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9770         Remove unused vars.
9771         (flyspell-get-casechars, flyspell-get-not-casechars):
9772         Simplify; Don't bother removing a ] just to add it back.
9773         * textmodes/ispell.el (ispell-program-name): Use executable-find.
9775 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9777         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9778         New functions.
9779         (math-function-table): Add support for more C functions.
9781 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9783         * textmodes/flyspell.el (flyspell-check-pre-word-p)
9784         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9785         Protect delay handling for otherchars against empty otherchars.
9787 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9789         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9790         their respective macro declarations.
9791         * skeleton.el (define-skeleton):
9792         * progmodes/compile.el (define-compilation-mode):
9793         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9794         (define-ibuffer-filter):
9795         * emacs-lisp/generic.el (define-generic-mode):
9796         * emacs-lisp/easy-mmode.el (define-minor-mode)
9797         (define-globalized-minor-mode):
9798         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9799         * emacs-lisp/byte-run.el (defsubst):
9800         * custom.el (deftheme): Add doc-string metadata.
9802 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9804         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9806 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9808         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9810         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9811         * emacs-lisp/cl-macs.el: Idem.
9812         * emacs-lisp/cl-specs.el: Remove.
9814 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9816         Minor renaming of internal CL functions and variables.
9817         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9818         (cl--position): Rename from cl-position.
9819         (cl--delete-duplicates): Rename from cl-delete-duplicates.
9820         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9821         (cl--random-state): Rename from *random-state*.
9823 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9825         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9826         parens around the arg list (bug#11499).
9828 2012-05-17  Juri Linkov  <juri@jurta.org>
9830         * isearch.el (word-search-regexp, word-search-backward)
9831         (word-search-forward, word-search-backward-lax)
9832         (word-search-forward-lax): Move functions from search.c
9833         (bug#10145, bug#11381).
9835 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9837         * textmodes/flyspell.el (flyspell-check-pre-word-p)
9838         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9839         Delay for otherchars as for normal word components.
9841 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9843         * minibuffer.el (completion--sifn-requote): Fix last change.
9844         (minibuffer-local-must-match-filename-map):
9845         Move define-obsolete-variable-alias before its var.
9847 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9849         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9851         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9852         behavior.
9853         (completion--string-equal-p): New function.
9854         (completion--twq-all): Use it to get better assertion failure data.
9856         Only handle ".." and '..' quoting in shell-mode (bug#11466).
9857         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9858         (shell--requote-argument): New functions.
9859         (shell-completion-vars): Use them.
9860         (shell--parse-pcomplete-arguments): Rename from
9861         shell-parse-pcomplete-arguments.
9862         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
9863         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9864         Obey comint-file-name-quote-list.
9866         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9867         (smie-indent-keyword): Use it.
9869 2012-05-14  Stefan Merten  <smerten@oekonux.de>
9871         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9873 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9875         * net/rlogin.el (rlogin-mode-map): Fix last change.
9877 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
9879         * mail/smtpmail.el (smtpmail-send-command): Send the command and
9880         the following \r\n using a single `process-send-string', since the
9881         Lotus SMTP server refuses to accept any commands if they are sent
9882         with two `process-send-string's (Bug#11444).
9884 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9886         * shell.el (shell-parse-pcomplete-arguments):
9887         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
9889 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
9891         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
9892         (image-transform-scale, image-transform-right-angle-fudge): New vars.
9893         (image-transform-width, image-transform-fit-width): New functions.
9894         (image-transform-properties): Use them.
9895         (image-transform-check-size): New function.
9896         (image-toggle-display-image): Use it (for testing).
9897         (image-transform-set-rotation): Reduce angle mod 360.
9898         Delete obsolete comment.
9900 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
9902         * image-mode.el: Fix scaling (bug#11399).
9903         (image-transform-resize): Doc fix.
9904         (image-transform-properties): Default scale is 1 and height should
9905         be an integer.
9907 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
9909         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9910         than hard-coding `car', to fix misbehavior when moving forward.
9912 2012-05-13  Chong Yidong  <cyd@gnu.org>
9914         * emacs-lisp/tabulated-list.el (tabulated-list-format)
9915         (tabulated-list-entries, tabulated-list-padding)
9916         (tabulated-list-sort-key): Make permanent-local.
9918         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9919         (electric-buffer-list): Put electric buffer menu
9920         command descriptions in this docstring, instead of the docstring
9921         of electric-buffer-menu-mode.  Code cleanups.
9922         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
9923         Electric-buffer-menu-mode.
9924         (electric-buffer-update-highlight): Minor code cleanup.
9926 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
9928         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9929         (Bug#11447)
9931 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9933         Move define-obsolete-variable-alias before the var's definition.
9934         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9935         * tooltip.el (tooltip-hook):
9936         * textmodes/reftex-toc.el (reftex-toc-map):
9937         * textmodes/reftex-sel.el (reftex-select-label-map)
9938         (reftex-select-bib-map):
9939         * textmodes/reftex-index.el (reftex-index-map)
9940         (reftex-index-phrases-map):
9941         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9942         * progmodes/meta-mode.el (meta-mode-map):
9943         * novice.el (disabled-command-hook):
9944         * loadhist.el (unload-hook-features-list):
9945         * frame.el (blink-cursor):
9946         * files.el (find-file-not-found-hooks, write-file-hooks)
9947         (write-contents-hooks):
9948         * emulation/tpu-edt.el (GOLD-map):
9949         * emacs-lock.el (emacs-lock-from-exiting):
9950         * emacs-lisp/generic.el (generic-font-lock-defaults):
9951         * emacs-lisp/chart.el (chart-map):
9952         * dos-fns.el (register-name-alist):
9953         * dired-x.el (dired-omit-files-p):
9954         * desktop.el (desktop-enable):
9955         * cus-edit.el (custom-mode-hook):
9956         * buff-menu.el (buffer-menu-mode-hook):
9957         * bookmark.el (bookmark-read-annotation-text-func)
9958         (bookmark-exit-hooks):
9959         * allout.el (allout-mode-deactivate-hook)
9960         (allout-exposure-change-hook, allout-structure-added-hook)
9961         (allout-structure-deleted-hook, allout-structure-shifted-hook):
9962         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9963         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9964         comes before the corresponding variable's definition.
9966 2012-05-12  Chong Yidong  <cyd@gnu.org>
9968         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
9969         (Buffer-menu-mouse-select): Restore function (Bug#11459).
9970         (Buffer-menu-mode-map): Bind it.
9971         (Buffer-menu--pretty-name): Add a mouse-face property.
9973 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9975         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
9976         (prolog-upper-case-string, prolog-lower-case-string)
9977         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9978         (prolog-use-smie, prolog-smie-grammar): New vars.
9979         (prolog-smie-forward-token, prolog-smie-backward-token)
9980         (prolog-smie-rules): New funs.
9981         (prolog-comment-indent): Remove.
9982         (prolog-mode-variables): Use default comment indentation instead.
9983         Setup SMIE.
9984         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9985         (prolog-mode): Don't call them any more.
9986         (prolog-electric-colon, prolog-electric-dash)
9987         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9989         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9991         * minibuffer.el (completion--twq-all): Again, allow case differences.
9993         * term.el: Move keymap initialization code to be more idiomatic.
9994         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9995         (term-terminal-menu): Move initialization into declaration.
9996         (term-escape-char): Let the user set it in her .emacs.
9998         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9999         Provide SMIE-based indentation (not enabled by default yet).
10000         (sh-mode-map): Don't bind electric keys.
10001         Use electric-pair-mode instead of skeleton-pair.
10002         (sh-assignment-regexp): Fit within 80 columns.
10003         (sh-indent-supported): Specify actual shell name instead of boolean.
10004         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10005         (sh-maybe-here-document): Use it.  Make obsolete.
10006         (sh-electric-here-document-mode) New minor mode.
10007         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
10008         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10009         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10010         (sh-smie-rc-grammar, sh-use-smie): New vars.
10011         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10012         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10013         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10014         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10015         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10016         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10017         (sh-set-shell): Use smie-setup if requested.
10019         * term.el (term-set-escape-char): Properly set term-escape-char.
10020         See http://stackoverflow.com/questions/10524656.
10022 2012-05-10  Chong Yidong  <cyd@gnu.org>
10024         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10025         Use url-generic-parse-url, and handle host names and Windows
10026         filenames properly.
10027         (ffap-url-unwrap-remote): Use url-generic-parse-url.
10028         (ffap-url-unwrap-remote): Accept list values, specifying a list of
10029         URL schemes to work on.
10030         (ffap--toggle-read-only): New function.
10031         (ffap-read-only, ffap-read-only-other-window)
10032         (ffap-read-only-other-frame): Use it.
10033         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10034         necessary for ffap-url-unwrap-remote.
10036 2012-05-10  Dave Abrahams  <dave@boostpro.com>
10038         * cus-start.el (create-lockfiles): Add it.
10040 2012-05-09  Chong Yidong  <cyd@gnu.org>
10042         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10043         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10045 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10047         * shell.el (shell-completion-vars): Fix last change (bug#11348).
10049 2012-05-09  Chong Yidong  <cyd@gnu.org>
10051         * ansi-color.el (ansi-color-process-output): Check for validity of
10052         comint-last-output-start before using it.  This avoids a bad
10053         interaction with gdb-mi's input/output buffer.
10055 2012-05-09  Glenn Morris  <rgm@gnu.org>
10057         * files.el (dir-locals-read-from-file):
10058         Mention dir-locals in any error message.
10060 2012-05-09  Chong Yidong  <cyd@gnu.org>
10062         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10063         package (Bug#11410).
10065         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10066         variables into description.
10068 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10070         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10071         shell-delimiter-argument-list (bug#11348).
10072         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10074 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
10076         * textmodes/rst.el: Silence byte-compiler warnings.
10077         (rst-re-alist, rst-reset-section-caches): Move around.
10078         (rst-re): Use `characterp', not `char-valid-p'.
10079         (font-lock-beg, font-lock-end): Declare.
10081         * progmodes/idlw-shell.el (specs): Remove reference to deleted
10082         variable `idlwave-shell-activate-alt-keybindings' and simplify.
10084         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10086 2012-05-08  Glenn Morris  <rgm@gnu.org>
10088         * files.el (auto-mode-alist): Treat ".make" like ".mk".
10090 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10092         * vc/log-edit.el: Add GNU coding standards highlighting.
10093         (log-edit-font-lock-gnu-style)
10094         (log-edit-font-lock-gnu-keywords): New vars.
10095         (log-edit-font-lock-keywords): New fun.
10096         (log-edit-mode): Don't fold case in font-lock.
10097         (log-edit-font-lock-keywords): Do not assume case-folding.
10099         * imenu.el: Misc cleanup.  Make docstrings out of comments.
10100         Use lexical-binding.
10101         (imenu--index-alist, imenu--last-menubar-index-alist)
10102         (imenu-menubar-modified-tick): Use defvar-local.
10103         (imenu--split-menu): Remove unused var.
10104         (imenu--cleanup-seen): Declare as global.
10105         (imenu--cleanup): Use dolist.
10107         * subr.el (defvar-local): Add debug spec and doc-string position.
10109 2012-05-08  Glenn Morris  <rgm@gnu.org>
10111         * language/burmese.el, language/cham.el, language/czech.el:
10112         * language/english.el, language/georgian.el, language/greek.el:
10113         * language/japanese.el, language/khmer.el, language/korean.el:
10114         * language/lao.el, language/misc-lang.el, language/romanian.el:
10115         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10116         * language/thai.el, language/utf-8-lang.el:
10117         Remove no-byte-compile setting.
10119         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
10121 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10123         * progmodes/make-mode.el (makefile-browse):
10124         Remove unnecessary interactive.  (Bug#11324)
10126 2012-05-07  Glenn Morris  <rgm@gnu.org>
10128         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10130         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10132 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10134         * loadup.el: Preload newcomment.el.
10135         * newcomment.el: Move autoload-only code to toplevel.
10137         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10138         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10139         Handle new :right-align column property.
10140         (tabulated-list-print-col): Idem, plus use `display' text-property to
10141         try and preserve alignment for variable pitch fonts.
10143 2012-05-07  Chong Yidong  <cyd@gnu.org>
10145         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10146         (tabulated-list-use-header-line): New var.
10147         (tabulated-list-init-header): Use it.
10148         (tabulated-list-print-fake-header): New function.
10149         (tabulated-list-print): Use it.
10150         (tabulated-list-sort-button-map): Add non-header-line commands.
10151         (tabulated-list-init-header): Add column name property to basic
10152         labels as well.
10153         (tabulated-list-col-sort): Handle non-header-line button case.
10154         (tabulated-list--sort-by-column-name): Fix a corner case.
10156         * buff-menu.el (list-buffers--refresh):
10157         Handle Buffer-menu-use-header-line.
10159 2012-05-06  Chong Yidong  <cyd@gnu.org>
10161         * buff-menu.el: Convert to Tabulated List mode.
10162         (Buffer-menu-buffer+size-width): Make obsolete.
10163         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10164         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10165         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
10166         documentation into docstring of buffer-menu.
10167         (Buffer-menu-toggle-files-only): Add an informative message.
10168         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10169         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10170         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10171         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10172         (Buffer-menu-execute, Buffer-menu-select)
10173         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10174         (Buffer-menu-bury): Use Tabulated List machinery.
10175         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10176         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10177         Delete.
10178         (list-buffers--refresh): New function.
10179         (list-buffers-noselect): Use it.
10180         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10181         (Buffer-menu--pretty-file-name): New helper functions.
10183         * loadup.el: Preload tabulated-list.
10185         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10186         tabulated-list-sort-column.
10187         (tabulated-list-init-header): Add the initial aligning space even
10188         if tabulated-list-padding is zero.
10190 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
10192         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10193         whose cdr is not a cons cell correctly (bug#11038).
10195 2012-05-06  Chong Yidong  <cyd@gnu.org>
10197         * emacs-lisp/tabulated-list.el (tabulated-list-format):
10198         Accept additional plist in column descriptors.
10199         (tabulated-list-init-header): Obey it.
10200         (tabulated-list-get-entry): New function.
10201         (tabulated-list-put-tag): Use it.  Use string-width instead of
10202         length.
10203         (tabulated-list--column-number): New function.
10204         (tabulated-list-print): Use it.
10205         (tabulated-list-print-col): New function.
10206         Set `tabulated-list-column-name' property on each column's text.
10207         (tabulated-list-print-entry): Use it.
10208         (tabulated-list-delete-entry, tabulated-list-set-col):
10209         New functions.
10210         (tabulated-list-sort-column): New command (Bug#11337).
10212         * buff-menu.el (list-buffers): Move C-x C-b binding from
10213         buff-menu.el to bindings.el.
10215         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10216         :advertised-binding feature.
10218 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
10220         * progmodes/compile.el (compilation-internal-error-properties):
10221         Calculate start position correctly when end-col is set but
10222         end-line is not (Bug#11382).
10224 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
10226         * man.el (Man-unindent): Use text-property-default-nonsticky to
10227         prevent untabify from inheriting face properties (Bug#11408).
10229 2012-05-05  Stefan Merten  <smerten@oekonux.de>
10231         * textmodes/rst.el: Major merge with upstream development up to
10232         Docutils SVN r7399 / rst.el V1.2.1.
10234         Clarify maintainership and authors.
10236         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10237         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10238         (rst-official-version, rst-official-cvs-rev, rst-version)
10239         (rst-package-emacs-version-alist): New functions and variables
10240         for version information.
10242         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10243         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10244         (rst-mode-syntax-table, rst-mode): New and corrected functions
10245         and variables representing reStructuredText features.
10247         (rst-re): New function for reStructuredText regexes.  Use in
10248         many places.
10250         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10251         (rst-mode-map): Rebind keys.
10253         (rst-mode-lazy, rst-font-lock-keywords)
10254         (rst-font-lock-extend-region)
10255         (rst-font-lock-extend-region-internal)
10256         (rst-font-lock-extend-region-extend)
10257         (rst-font-lock-find-unindented-line-limit)
10258         (rst-font-lock-find-unindented-line-match)
10259         (rst-adornment-level, rst-font-lock-adornment-level)
10260         (rst-font-lock-adornment-match)
10261         (rst-font-lock-handle-adornment-pre-match-form)
10262         (rst-font-lock-handle-adornment-matcher): Major revision of
10263         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
10265         (rst-preferred-adornments, rst-adjust-hook)
10266         (rst-new-adornment-down, rst-preferred-bullets)
10267         (rst-preferred-bullets, rst-indent, rst-indent-width)
10268         (rst-indent-field, rst-indent-literal-normal)
10269         (rst-indent-literal-minimized, rst-indent-comment): Change,
10270         extend and improve customization.
10272         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10273         (rst-normalize-cursor-position, rst-get-decoration)
10274         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10275         (rst-rstrip, rst-toc-insert-find-delete-contents)
10276         (rst-shift-fill-region, rst-compute-bullet-tabs)
10277         (rst-debug-print-tabs, rst-debug-mark-found)
10278         (rst-shift-region-guts, rst-shift-region-right)
10279         (rst-shift-region-left, rst-use-char-classes)
10280         (rst-font-lock-keywords-function)
10281         (rst-font-lock-indentation-point)
10282         (rst-font-lock-find-unindented-line-begin)
10283         (rst-font-lock-find-unindented-line-end)
10284         (rst-font-lock-find-unindented-line)
10285         (rst-font-lock-adornment-point, rst-font-lock-level)
10286         (rst-adornment-level-alist): Remove functions and variables.
10288         (rst-compare-adornments, rst-get-adornment-match)
10289         (rst-suggest-new-adornment, rst-get-adornments-around)
10290         (rst-adornment-complete-p, rst-get-next-adornment)
10291         (rst-adjust-adornment, rst-display-adornments-hierarchy)
10292         (rst-straighten-adornments): Standardize function names to
10293         use "adornment" instead of "decoration".  Correct callers.
10294         Similar standardizing in many places.
10296         (rst-update-section, rst-adjust, rst-promote-region)
10297         (rst-enumerate-region, rst-bullet-list-region)
10298         (rst-repeat-last-character): Correct use of `interactive'.
10300         (rst-classify-adornment, rst-find-all-adornments)
10301         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10302         (rst-find-leftmost-column, rst-repeat-last-character):
10303         Refactor functions.
10305         (rst-find-title-line, rst-reset-section-caches)
10306         (rst-get-adornments-around, rst-adjust-adornment-work)
10307         (rst-arabic-to-roman, rst-roman-to-arabic)
10308         (rst-insert-list-pos, rst-insert-list-new-item)
10309         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10310         New functions.
10312         (rst-all-sections, rst-section-hierarchy)
10313         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10314         New variables.
10316         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10317         configuration instead of only buffer.  Change where necessary.
10319         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10320         (rst-shift-region, rst-adaptive-fill): New functions for
10321         indentation and filling.
10323         (rst-comment-line-break, rst-comment-indent)
10324         (rst-comment-insert-comment, rst-comment-region)
10325         (rst-uncomment-region): New functions for handling comments.
10327         (rst-compile): Quote shell arguments.
10329         (rst-compile-pdf-preview, rst-compile-slides-preview):
10330         Delete temporary files after use.
10332 2012-05-05  Glenn Morris  <rgm@gnu.org>
10334         * calendar/cal-html.el: Optionally include holidays in the output.
10335         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10336         (cal-html-holidays): New option.
10337         (cal-html-css-default): Add holiday entry.
10338         (holiday-in-range): Autoload it.
10339         (cal-html-htmlify-entry): Add optional class argument.
10340         (cal-html-htmlify-list): Add optional holidays argument.
10341         (cal-html-insert-agenda-days): Include holidays in the output.
10342         (cal-html-one-month): Maybe include holidays.
10344         * calendar/holidays.el (holiday-in-range):
10345         Move here from cal-tex-list-holidays.
10346         * calendar/cal-tex.el (cal-tex-list-holidays):
10347         Make it an obsolete alias for holiday-in-range.  Update all callers.
10349 2012-05-05  Chong Yidong  <cyd@gnu.org>
10351         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10352         Nextstep.
10354 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
10356         * files.el (file-auto-mode-skip): New var.
10357         (set-auto-mode-1): Use it.
10359 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10361         * repeat.el: Use lexical-binding.
10362         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10363         (repeat-undo-count): Remove.
10364         (repeat):
10365         * progmodes/octave-mod.el (octave-abbrev-start):
10366         * progmodes/f90.el (f90-abbrev-start):
10367         * face-remap.el (text-scale-adjust):
10368         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10370         * emacs-lisp/pcase.el (pcase--let*): New function.
10371         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10372         a bit more.
10373         (pcase--split-pred): Be more clever about ruling out overlap between
10374         a predicate and some constant pattern.
10375         (pcase--q1): Use `null' instead of (eq foo nil).
10377         * subr.el (setq-local, defvar-local): New macros.
10378         (kbd): Redefine as an alias.
10379         (with-selected-window): Leave unrelated frames alone.
10380         (set-temporary-overlay-map): New function.
10382 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10384         * subr.el (user-error): New function.
10385         * window.el (switch-to-buffer):
10386         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10387         (smerge-match-conflict):
10388         * simple.el (previous-matching-history-element)
10389         (next-matching-history-element, goto-history-element, undo-more)
10390         (undo-start):
10391         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10392         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10393         (next-file, tags-loop-scan, list-tags, complete-tag):
10394         * progmodes/compile.el (compilation-loop):
10395         * mouse.el (mouse-minibuffer-check):
10396         * man.el (Man-bgproc-sentinel, Man-goto-page):
10397         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10398         (Info-history-forward, Info-follow-reference, Info-menu)
10399         (Info-extract-menu-item, Info-extract-menu-counting)
10400         (Info-forward-node, Info-backward-node, Info-next-menu-item)
10401         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10402         (Info-next-reference, Info-prev-reference, Info-index)
10403         (Info-index-next, Info-follow-nearest-node)
10404         (Info-copy-current-node-name):
10405         * imenu.el (imenu--make-index-alist)
10406         (imenu-default-create-index-function, imenu-add-to-menubar):
10407         * files.el (basic-save-buffer, recover-file):
10408         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10409         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10410         (checkdoc-message-text, checkdoc-defun):
10411         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10412         * cus-edit.el (customize-changed-options, customize-rogue)
10413         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10414         (custom-variable-mark-to-reset-standard)
10415         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10416         (custom-file):
10417         * completion.el (check-completion-length):
10418         * comint.el (comint-search-arg)
10419         (comint-previous-matching-input-string-position)
10420         (comint-previous-matching-input)
10421         (comint-replace-by-expanded-history-before-point, comint-send-input)
10422         (comint-copy-old-input, comint-backward-matching-input)
10423         (comint-goto-process-mark, comint-set-process-mark):
10424         * calendar/calendar.el (calendar-cursor-to-date): Use it.
10425         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10427 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10429         * dabbrev.el (dabbrev--ignore-case-p): New function.
10430         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10431         Use it.
10433         * files.el (automount-dir-prefix): Mark as obsolete.
10435 2012-05-04  Glenn Morris  <rgm@gnu.org>
10437         * patcomp.el, play/bruce.el: Move to obsolete/.
10439 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
10441         Fix minor Y10k bugs.
10442         * arc-mode.el (archive-unixdate):
10443         * autoinsert.el (auto-insert-alist):
10444         * calc/calc-forms.el (math-this-year):
10445         * emacs-lisp/copyright.el (copyright-current-year)
10446         (copyright-update-year, copyright):
10447         * tar-mode.el (tar-clip-time-string):
10448         * time.el (display-time-update):
10449         Don't assume years have 4 digits.
10451 2012-05-04  Chong Yidong  <cyd@gnu.org>
10453         * dos-w32.el (file-name-buffer-file-type-alist)
10454         (direct-print-region-use-command-dot-com):
10455         * ffap.el (ffap-menu-regexp):
10456         * find-file.el (ff-special-constructs):
10457         * follow.el (follow-debug):
10458         * forms.el (forms--debug):
10459         * iswitchb.el (iswitchb-all-frames):
10460         * ido.el (ido-all-frames):
10461         * emacs-lisp/timer.el (timer-max-repeats):
10462         * mail/feedmail.el (feedmail-mail-send-hook)
10463         (feedmail-mail-send-hook-queued):
10464         * mail/footnote.el (footnote-signature-separator):
10465         * mail/mailabbrev.el (mail-alias-separator-string)
10466         (mail-abbrev-mode-regexp):
10467         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10468         * progmodes/idlwave.el (idlwave-libinfo-file)
10469         (idlwave-default-completion-case-is-down)
10470         (idlwave-library-routines): Convert defvars to defcustoms.
10472         * mail/rmail.el (rmail-decode-mime-charset):
10473         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10474         (idlwave-shell-fix-inserted-breaks)
10475         (idlwave-shell-activate-alt-keybindings)
10476         (idlwave-shell-use-breakpoint-glyph):
10477         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10479 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10481         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10483 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
10485         * progmodes/verilog-mode.el (font-lock-keywords):
10486         Fix mis-highligting auto.  Reported by Craig Barner.
10487         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10488         defines from global name space.  Reported by Dan Dever.
10489         (verilog-auto-reset, verilog-auto-reset-widths)
10490         (verilog-auto-tieoff): Support using unbased numbers for
10491         AUTORESET and AUTOTIEOFF.
10492         (verilog-submit-bug-report): Update variable list.
10493         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
10494         parenthesis from not matching.  Reported by Michael Rytting.
10495         (verilog-auto-template-lint): Fix hash error when linting modules
10496         with no used templates.
10497         (verilog-warn, verilog-warn-error)
10498         (verilog-warn-fatal): When non-interactive report multiple
10499         warnings before exiting.  Suggested by Brad Dobbie.
10500         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10501         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10502         to report unused template errors.  Reported by Brad Dobbie.
10503         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
10504         nets, bug438.  Reported by Vns Blore.
10505         (verilog-auto-inout-module, verilog-auto-reg)
10506         (verilog-read-decls, verilog-read-sub-decls-sig)
10507         (verilog-signals-edit-wire-reg, verilog-signals-with):
10508         Fix passing of Verilog data types in ANSI input/output ports
10509         such as "output logic" into the AUTOs.  Special case "wire" and
10510         "reg" for backwards compatibility presuming Verilog 2001.
10511         (verilog-auto-ascii-enum): Add "auto enum" as alias.
10512         (verilog-preprocess): Fix replication of preprocess output.
10513         Reported by Brad Dobbie.
10514         (verilog-auto-inst-interfaced-ports):
10515         Create verilog-auto-inst-interfaced-ports, bug429.
10516         Reported by Julian Gorfajn.
10517         (verilog-after-save-font-hook)
10518         (verilog-before-save-font-hook): New variable.
10519         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10520         (verilog-save-font-mods): Wrap disabling fontification, reported
10521         by David Rogoff.
10522         (verilog-do-indent, verilog-pretty-declarations-auto)
10523         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10524         Reported by Pierre-David Pfister.
10525         (verilog-set-auto-endcomments): Fix endtask auto comments outside
10526         of class declarations, bug292.  Reported by Kevin Heilman.
10527         (verilog-read-decls): Fix 'parameter type' not appearing in
10528         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
10529         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
10530         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
10531         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10532         Reported by David Kravitz.
10534 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
10536         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10537         assignment with tests in ifs and for loops.
10538         (verilog-extended-complete-re, verilog-complete-reg): Change so
10539         that DPI inport functions don't look like fuction declarations.
10540         (verilog-pretty-expr): Don't line up assignment
10541         operations to the test and increment in if and for loops
10542         (verilog-extended-complete-re, verilog-complete-reg): Change so
10543         that DPI inport functions don't look like fuction declarations.
10545 2012-05-03  Kenichi Handa  <handa@m17n.org>
10547         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
10548         decoding, and show a warning message without signaling an error
10549         (Bug#11282).
10551 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10553         * emacs-lisp/bytecomp.el
10554         (byte-compile-file-form-custom-declare-variable): Compile all elements,
10555         since cconv.el might have introduced :fun-body, internal-make-closure,
10556         and friends for bytecomp to handle (bug#11391).
10557         * custom.el (defcustom): Avoid ((λ ..) ..).
10559 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10561         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10563 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
10565         * notifications.el (dbus-debug):
10566         * term/linux.el (gpm-mouse-enable):
10567         * term/screen.el (xterm-register-default-colors): Declare.
10569 2012-05-02  Chong Yidong  <cyd@gnu.org>
10571         * cus-start.el (gc-cons-percentage, exec-suffixes)
10572         (dos-display-scancodes, dos-hyper-key, dos-super-key)
10573         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10574         (make-cursor-line-fully-visible, void-text-area-pointer)
10575         (font-list-limit): Add customization data.
10577         * allout.el (allout-exposure-change-functions)
10578         (allout-structure-added-functions)
10579         (allout-structure-deleted-functions)
10580         (allout-structure-shifted-functions): Rename abnormal hooks from
10581         *-hook, and convert to defcustoms.
10582         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10583         Convert to defcustoms.
10584         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10586         * allout-widgets.el: Hook callers changed.
10588 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
10590         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10591         the yanked message in preference to the default value of
10592         buffer-file-coding-system.
10594 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
10596         * window.el (display-buffer--action-function-custom-type):
10597         Fix entry.
10599 2012-05-02  Alan Mackenzie  <acm@muc.de>
10601         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10603 2012-05-01  Glenn Morris  <rgm@gnu.org>
10605         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10607         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
10609         * cus-edit.el (custom-variable-documentation): Simplify with format.
10611 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10612             Stefan Monnier  <monnier@iro.umontreal.ca>
10614         * simple.el (suggest-key-bindings, execute-extended-command):
10615         Move from keyboard.c.
10617 2012-05-01  Chong Yidong  <cyd@gnu.org>
10619         * follow.el: Eliminate advice.
10620         (set-process-filter, process-filter, sit-for): Advice deleted.
10621         (follow-mode-off-hook): Obsolete hook removed.
10622         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10623         Vars deleted.
10624         (follow-auto): Use a :set function.
10625         (follow-mode): Rewritten.  Don't advise process filters.
10626         (follow-switch-to-current-buffer-all, follow-scroll-up)
10627         (follow-scroll-down): Assume follow-mode is bound.
10628         (follow-comint-scroll-to-bottom)
10629         (follow-align-compilation-windows): New functions.
10630         (follow--window-sorter): New function.
10631         (follow-all-followers): Use it to explicitly sort windows by their
10632         positions; don't make assumptions about next-window order.
10633         (follow-windows-start-end, follow-delete-other-windows-and-split)
10634         (follow-calc-win-start): Doc fix.
10635         (follow-windows-aligned-p, follow-select-if-visible): Don't call
10636         vertical-motion unnecessarily.
10637         (follow-adjust-window): New function.
10638         (follow-post-command-hook): Use it.
10639         (follow-call-set-process-filter, follow-call-process-filter)
10640         (follow-intercept-process-output, follow-tidy-process-filter-alist)
10641         (follow-stop-intercept-process-output, follow-generic-filter):
10642         Functions deleted.
10643         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
10644         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10645         New functions, replacing advice on scroll-bar-* commands.
10646         (follow-mwheel-scroll): New function (Bug#4112).
10648         * comint.el (comint-adjust-point): New function.
10649         (comint-postoutput-scroll-to-bottom): Use it.
10650         Call follow-comint-scroll-to-bottom for Follow mode buffers.
10652 2012-05-01  Glenn Morris  <rgm@gnu.org>
10654         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10655         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10656         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10657         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10658         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10659         Remove no-byte-compile setting.
10661 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10663         * minibuffer.el (completion-table-with-quoting): Fix compatibility
10664         all-completions code to not return a number in the last cdr.
10666 2012-04-30  Leo Liu  <sdl.web@gmail.com>
10668         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10669         read-only error.
10671 2012-04-29  Chong Yidong  <cyd@gnu.org>
10673         * follow.el (follow-calc-win-end): Rewrite to handle partial
10674         screen lines correctly (Bug#8390).
10675         (follow-avoid-tail-recenter): Minor cleanup.
10677 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10679         Avoid the obsolete `assoc' package.
10680         * speedbar.el (speedbar-refresh): Avoid adelete.
10681         (speedbar-file-lists): Simplify and avoid aput.
10682         * man.el (Man--sections, Man--refpages): New vars, replacing
10683         Man-sections-alist and Man-refpages-alist.
10684         (Man-build-section-alist, Man-build-references-alist):
10685         Use them; avoid aput.
10686         (Man--last-section, Man--last-refpage): New vars.
10687         (Man-follow-manual-reference): Use them.
10688         Use the `default' arg of completing-read.
10689         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
10691 2012-04-27  Chong Yidong  <cyd@gnu.org>
10693         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10695         * startup.el (x-apply-session-resources): New function.
10697         * term/ns-win.el (ns-initialize-window-system):
10698         * term/w32-win.el (w32-initialize-window-system):
10699         * term/x-win.el (x-initialize-window-system): Use it to properly
10700         set menu-bar-mode and other vars from X resources, even if the
10701         initial frame is not a window-system frame (Bug#2299).
10703         * subr.el (read-key): Avoid running filter function when setting
10704         up temporary tool bar entries (Bug#9922).
10706 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
10708         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10709         (Bug#11344)
10711 2012-04-27  Chong Yidong  <cyd@gnu.org>
10713         * select.el (xselect--encode-string): New function, split from
10714         xselect-convert-to-string.
10715         (xselect-convert-to-string): Use it.
10716         (xselect-convert-to-filename, xselect-convert-to-os)
10717         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10718         returned strings are properly encoded (Bug#11315).
10720 2012-04-27  Chong Yidong  <cyd@gnu.org>
10722         * simple.el (delete-active-region): Move to killing custom group.
10724 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
10726         * progmodes/which-func.el (which-func-current): Quote %
10727         characters for mode-line processing.
10729 2012-04-27  Chong Yidong  <cyd@gnu.org>
10731         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10732         reaching eob (Bug#11286).
10734 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
10736         * progmodes/gdb-mi.el (gdb-control-level): New variable.
10737         (gdb): Make it buffer-local and init to zero.
10738         (gdb-control-commands-regexp): New variable.
10739         (gdb-send): Don't wrap in "-interpreter-exec console" if
10740         gdb-control-level is positive.  Increment gdb-control-level
10741         whenever the command matches gdb-control-commands-regexp, and
10742         decrement it each time the command is "end".  (Bug#11279)
10744 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
10746         * window.el (adjust-window-trailing-edge, enlarge-window)
10747         (shrink-window, window-resize):
10748         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10749         windows (Bug#11276).
10751 2012-04-27  Chong Yidong  <cyd@gnu.org>
10753         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
10754         fix "missing prefix" warning.  All callers changed.
10756 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10758         * emacs-lisp/assoc.el: Move to obsolete/.
10760 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10762         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
10764         * term/ns-win.el (ns-define-service):
10765         * progmodes/pascal.el (pascal-goto-defun):
10766         * progmodes/js.el (js--read-tab):
10767         * progmodes/etags.el (tags-lazy-completion-table):
10768         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10769         * emacs-lisp/ewoc.el (ewoc--wrap):
10770         * emacs-lisp/assoc.el (aput, adelete, amake):
10771         * doc-view.el (doc-view-convert-current-doc):
10772         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10774 2012-04-26  Chong Yidong  <cyd@gnu.org>
10776         * image.el (image-type-from-buffer): Only return supported image
10777         type (Bug#9045).
10779         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10780         value, for symmetry with diff-end-of-hunk.
10781         (diff-split-hunk, diff-find-source-location)
10782         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10783         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10784         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10785         compute the relevant hunk or file properly (Bug#6005).
10786         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10788 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10790         * vc/vc-mtn.el:
10791         * vc/vc-hg.el:
10792         * vc/vc-git.el:
10793         * vc/vc-dir.el:
10794         * vc/vc-cvs.el:
10795         * vc/vc-bzr.el:
10796         * vc/vc-arch.el:
10797         * vc/vc.el: Replace lexical-let by lexical-binding.
10798         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10799         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10800         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10802 2012-04-26  Chong Yidong  <cyd@gnu.org>
10804         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10805         (diff-mode-shared-map): Bind it to / and [remap undo].
10807         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10808         (ediff-window-setup-function): Use it as the default, to set up
10809         windows based on whether the current frame is graphical (Bug#2138).
10810         (ediff-choose-window-setup-function-automatically): Make obsolete.
10812         * vc/ediff-init.el: Always define ediff-pixel-width/height.
10814 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10816         * ffap.el: Remove old code for obsolete package.
10817         (ffap-complete-as-file-p): Remove.
10819         Use completion-table-with-quoting for comint and pcomplete.
10820         * comint.el (comint--unquote&requote-argument)
10821         (comint--unquote-argument, comint--requote-argument): New functions.
10822         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10823         (comint-quote-filename): Use regexp-opt-charset.
10824         (comint--common-suffix, comint--common-quoted-suffix)
10825         (comint--table-subvert): Remove.
10826         (comint-unquote-function, comint-requote-function): New vars.
10827         (comint--complete-file-name-data): Use them with
10828         completion-table-with-quoting.
10829         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10830         * pcomplete.el (pcomplete-arg-quote-list)
10831         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10832         (pcomplete-unquote-argument-function): Default to non-nil.
10833         (pcomplete-unquote-argument): Simplify.
10834         (pcomplete--common-quoted-suffix): Remove.
10835         (pcomplete-requote-argument-function): New var.
10836         (pcomplete--common-suffix): New function.
10837         (pcomplete-completions-at-point): Use completion-table-with-quoting
10838         and completion-table-subvert.
10840         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10841         (minibuffer--double-dollars): Preserve properties.
10842         (completion--sifn-requote): New function.
10843         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10845         * minibuffer.el: Add support for completion of quoted/escaped data.
10846         (completion-table-with-quoting, completion-table-subvert): New funs.
10847         (completion--twq-try, completion--twq-all): New functions.
10848         (completion--nth-completion): New function.
10849         (completion-try-completion, completion-all-completions): Use it.
10851 2012-04-25  Leo Liu  <sdl.web@gmail.com>
10853         * progmodes/python.el (python-pdbtrack-get-source-buffer):
10854         Use compilation-message if available to find real filename.
10856 2012-04-25  Chong Yidong  <cyd@gnu.org>
10858         * vc/diff-mode.el (diff-setup-whitespace): New function.
10859         (diff-mode): Use it.
10861         * vc/diff.el (diff-sentinel):
10862         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10863         Whitespace mode variables based on diff style (Bug#8612).
10865 2012-04-25  Leo Liu  <sdl.web@gmail.com>
10867         * progmodes/python.el (python-send-region): Add suffix .py to the
10868         temp file.
10870         * files.el (auto-mode-alist): Use javascript-mode instead.
10872 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
10874         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
10876         * net/soap-client.el (soap-resolve-references-for-sequence-type)
10877         (soap-resolve-references-for-array-type): Hack to prevent self
10878         references, see Bug#9.
10879         (soap-parse-envelope): Report the contents of the 'detail' node
10880         when receiving a fault reply.
10881         (soap-parse-envelope): Report the contents of the entire 'detail' node.
10883         * net/soap-inspect.el (soap-sample-value-for-simple-type)
10884         (soap-inspect-simple-type): New function.
10886         * net/soap-client.el (soap-simple-type): New struct.
10887         (soap-default-xsd-types, soap-default-soapenc-types)
10888         (soap-decode-basic-type, soap-encode-basic-type):
10889         support unsignedInt and double basic types.
10890         (soap-resolve-references-for-simple-type)
10891         (soap-parse-simple-type, soap-encode-simple-type): New function.
10892         (soap-parse-schema): Parse xsd:simpleType declarations.
10894         * net/soap-client.el (soap-default-xsd-types)
10895         (soap-default-soapenc-types): Add integer, byte and anyURI types.
10896         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10897         the local name of "soapenc:Array".
10898         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
10899         decoding integer, byte and anyURI xsd types.
10901 2012-04-25  Chong Yidong  <cyd@gnu.org>
10903         * cus-edit.el (custom-buffer-create-internal): Update header text.
10905 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
10907         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10908         settings on 'system-type', not on 'window-system'.  On MS-Windows,
10909         set interactive-mode on in GDB.
10911 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10913         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10914         (ruby-syntax-propertize-regexp): Remove.
10915         (ruby-syntax-propertize-function): Split regexp into chunks.
10916         Match following code directly.
10918 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
10920         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10921         (ruby-syntax-propertize-regexp): New function.
10922         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10923         by a special keyword.
10925         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10926         (ruby-syntax-general-delimiters-goto-beg)
10927         (ruby-syntax-propertize-general-delimiters): New functions.
10928         (ruby-syntax-propertize-function): Use them to handle GDL.
10929         (ruby-font-lock-keywords): Move old handling of GDL...
10930         (ruby-font-lock-syntactic-keywords): .. to here.
10931         (ruby-calculate-indent): Adjust indentation for GDL.
10933 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
10935         * notifications.el (top): Remove unneeded declarations.
10936         (notifications-specification-version): Change to "1.2".
10937         (notifications-interface, notifications-notify-method)
10938         (notifications-close-notification-method): Fix docstring.
10939         (notifications-get-capabilities-method): New defconst.
10940         (notifications-notify): Add :action-items, :resident and
10941         :transient hints.  Change "image_data" to "image-data" and
10942         "image_path" to "image-path".
10943         (notifications-get-capabilities): New defun.
10945 2012-04-24  Leo Liu  <sdl.web@gmail.com>
10947         * progmodes/python.el: Move hideshow setup to the end.
10949 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
10951         * window.el (handle-select-window): Clear echo area since this is
10952         no more done by read_char (Bug#11304).
10954 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10956         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10957         and `/ M' to filter-derived-mode.
10958         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10959         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10960         (ibuffer-mark-by-mode): Use default rather than initial-input.
10961         (ibuffer-filter-by-derived-mode): Autoload and require-match.
10963 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
10965         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10966         (ibuffer-filter-by-derived-mode): New filter.
10967         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10969 2012-04-23  Andreas Politz  <politza@fh-trier.de>
10971         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10973 2012-04-23  Chong Yidong  <cyd@gnu.org>
10975         * cus-edit.el (customize-apropos, customize-apropos-options):
10976         Disable matching of non-option variables (Bug#11176).
10977         (customize-option, customize-option-other-window)
10978         (customize-changed-options): Doc fix.
10979         (customize-apropos-options, customize-apropos-faces)
10980         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10982         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10983         Fix word list splitting (Bug#11132).
10984         (apropos-symbol, apropos-keybinding, apropos-label)
10985         (apropos-property, apropos-function-button)
10986         (apropos-variable-button, apropos-misc-button): New faces.
10987         (apropos-symbol-face, apropos-keybinding-face)
10988         (apropos-label-face, apropos-property-face, apropos-match-face):
10989         Variables removed (Bug#8396).
10990         (apropos-library-button, apropos-format-plist, apropos-print)
10991         (apropos-print-doc, apropos-describe-plist): Callers changed.
10993 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
10995         * net/xesam.el (xesam-mode-map): Use let-bound map in
10996         initialization.  (Bug#11292)
10998 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11000         Preserve ispell session localwords when switching back to
11001         original buffer.
11003         * textmodes/ispell.el (ispell-buffer-session-localwords):
11004         New buffer-local variable to hold buffer session localwords.
11005         (ispell-kill-ispell): Add option 'clear to delete session
11006         localwords.
11007         (ispell-command-loop, ispell-change-dictionary)
11008         (ispell-buffer-local-words): Preserve session localwords when
11009         needed.
11011         * textmodes/flyspell.el (flyspell-process-localwords)
11012         (flyspell-do-correct): Preserve session localwords when needed.
11014 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11016         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11017         using obsolete `translation-table-for-input'.
11018         (ispell-word, ispell-process-line, ispell-complete-word):
11019         Use plain `insert' instead of removed `ispell-insert-word'.
11021 2012-04-22  Chong Yidong  <cyd@gnu.org>
11023         * cus-edit.el (custom-variable-menu)
11024         (custom-variable-reset-saved, custom-face-menu)
11025         (custom-face-reset-saved): If there is no saved value, make the
11026         "reset-saved" operation bring back the default (Bug#9509).
11027         (custom-face-state): Properly detect themed faces.
11029         * faces.el (face-spec-set): Stop supporting deprecated form of
11030         third arg.
11032 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
11034         Move functions from C to Lisp.  Make non-blocking method calls
11035         the default.  Implement further D-Bus standard interfaces.
11037         * net/dbus.el (dbus-message-internal): Declare function.
11038         Remove unneeded function declarations.
11039         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11040         (dbus-message-type-method-return, dbus-message-type-error)
11041         (dbus-message-type-signal): Declare variables.  Remove local
11042         definitions.
11043         (dbus-interface-dbus, dbus-interface-peer)
11044         (dbus-interface-introspectable, dbus-interface-properties)
11045         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11046         Adapt docstring.
11047         (dbus-interface-objectmanager): New defconst.
11048         (dbus-call-method, dbus-call-method-asynchronously)
11049         (dbus-send-signal, dbus-method-return-internal)
11050         (dbus-method-error-internal, dbus-register-service)
11051         (dbus-register-signal, dbus-register-method): New defuns, moved
11052         from dbusbind.c
11053         (dbus-call-method-handler, dbus-setenv)
11054         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11055         New defuns.
11056         (dbus-call-method-non-blocking): Make it an obsolete function.
11057         (dbus-unregister-object, dbus-unregister-service)
11058         (dbus-handle-event, dbus-register-property)
11059         (dbus-property-handler): Obey the new structure of
11060         `bus-registered-objects'.
11061         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
11062         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11063         Use `dbus-call-method'.
11065 2012-04-22  Chong Yidong  <cyd@gnu.org>
11067         * cus-edit.el (custom-commands, custom-reset-menu)
11068         (Custom-reset-standard): Tweak labels.
11069         (custom-reset-button-menu): Change default to t.
11070         (custom-buffer-create-internal): For the custom-reset-button-menu
11071         case, put the revert button first.
11072         (custom-group-subtitle): New face.
11073         (custom-group-value-create): Align docstring to a specific column.
11075         * wid-edit.el (widget-documentation-link-add): Don't handle
11076         indentation in this function.
11077         (widget-documentation-string-indent-to): New function.
11078         (widget-documentation-string-value-create): Use it.
11080         * autorevert.el (auto-revert):
11081         * epg-config.el (epg):
11082         * ibuffer.el (ibuffer):
11083         * mpc.el (mpc):
11084         * ses.el (ses):
11085         * eshell/eshell.el (eshell):
11086         * net/ange-ftp.el (ange-ftp):
11087         * progmodes/ebnf2ps.el (postscript):
11088         * progmodes/flymake.el (flymake):
11089         * progmodes/prolog.el (prolog):
11090         * progmodes/verilog-mode.el (verilog-mode):
11091         * progmodes/which-func.el (which-func):
11092         * term/xterm.el (xterm):
11093         * textmodes/picture.el (picture):
11094         * textmodes/tildify.el (tildify):
11095         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11096         customization buffers.
11098 2012-04-22  Alan Mackenzie  <acm@muc.de>
11100         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11101         Adding a ) can hide the resulting (..) from searches.  Fix it.
11102         Bound the backward search to the position of the existing (.
11104 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
11106         * progmodes/verilog-mode.el (verilog-mode): Check whether
11107         which-func-modes is t before adding verilog-mode.
11108         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11110 2012-04-21  Leo Liu  <sdl.web@gmail.com>
11112         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11114 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
11116         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11117         filling of the last column of a table (Bug#5635).
11118         (woman-find-next-control-line): New arg, specifying an additional
11119         regexp component for the control line.
11120         (woman2-roff-buffer): Use it.
11121         (woman-break-table): New function.
11122         (woman2-TS): Use it.
11124 2012-04-21  Chong Yidong  <cyd@gnu.org>
11126         * woman.el (woman-set-buffer-display-table, woman-decode-region)
11127         (woman-horizontal-escapes, woman-negative-vertical-space)
11128         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11129         (WoMan-warn-ignored): Use ?\s instead of ?\ .
11131 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11133         * minibuffer.el (completion-file-name-table): Complete user names.
11135 2012-04-20  Leo Liu  <sdl.web@gmail.com>
11137         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11138         and pcase-let*.
11140 2012-04-20  Chong Yidong  <cyd@gnu.org>
11142         * server.el (server-execute): Respect initial-buffer-choice if it
11143         is a string and there are no files to open (Bug#2825).
11144         (server-create-window-system-frame, server-create-tty-frame):
11145         Don't switch buffers here.
11146         (server-process-filter): Only try to open a window system frame if
11147         compiled with graphical support (Bug#8314).
11149 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
11151         * battery.el (battery-echo-area-format): Display remaining time
11152         for sysfs backend too (Bug#11269).
11153         (battery-linux-sysfs): Fix conditional for the charge.
11155 2012-04-20  Chong Yidong  <cyd@gnu.org>
11157         * progmodes/gdb-mi.el (gdb): Revert previous change.
11158         (gdb-inferior-io--init-proc): New function.
11159         (gdb-init-1): Use it.
11160         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11161         responsible for allocating a new pty and hooking it to gdb when
11162         the old pty gets an EIO due to process exit.
11163         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
11164         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11165         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11167 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
11169         * window.el (window-min-size, window-sizable, window-min-delta)
11170         (window-max-delta, window--resizable, window-resizable)
11171         (window-total-size, window-full-height-p, window-full-width-p)
11172         (window-in-direction, window--resize-mini-window, window-resize)
11173         (window--resize-child-windows-normal)
11174         (window--resize-child-windows, window--resize-siblings)
11175         (window--resize-this-window, adjust-window-trailing-edge)
11176         (enlarge-window, shrink-window): Doc fixes.
11178 2012-04-20  Chong Yidong  <cyd@gnu.org>
11180         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11181         New function to call delete-process on the gdb-inferior buffer's pty.
11182         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11183         pty process (Bug#11273).
11184         (gdb-update): New arg to suppress talking to the gdb process.
11185         (gdb-done-or-error): Use it.
11186         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11187         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11188         sentinel not being called.
11190         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11192         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11194 2012-04-20  Glenn Morris  <rgm@gnu.org>
11196         * net/network-stream.el (open-network-stream): Doc fix.
11198 2012-04-20  Chong Yidong  <cyd@gnu.org>
11200         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11202 2012-04-20  Alan Mackenzie  <acm@muc.de>
11204         Ensure searching for keywords is case sensitive.
11206         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11207         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11208         (c-defun-name, c-mark-function, c-cpp-define-name)
11209         (c-comment-indent, c-scan-conditionals, c-indent-defun)
11210         (c-context-line-break): Bind case-fold-search to nil.
11212         * progmodes/cc-mode.el (c-font-lock-fontify-region):
11213         Bind case-fold-search to nil.
11215 2012-04-20  Chong Yidong  <cyd@gnu.org>
11217         * mail/sendmail.el (mail-bury): Call return action with the right
11218         Rmail buffer (Bug#11242).
11220         * server.el (server-process-filter): Handle corner case where both
11221         tty and nowait options are present (Bug#11102).
11223 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
11225         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11226         (top level): Put into the executable the ident-style '$Id:' tag on
11227         windows-nt as well.
11229 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11231         * electric.el (electric-indent-post-self-insert-function): Check that
11232         electric-indent-mode is enabled in current buffer.
11234 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
11236         * imenu.el (imenu-progress-message): Restore; it is "used" in
11237         erc/erc-imenu.el and net/snmp-mode.el.
11239 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
11241         * avoid.el (mouse-avoidance-mode): Mark unused arg.
11242         (mouse-avoidance-nudge-mouse): Remove unused binding.
11244         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11246         * descr-text.el (describe-char):
11247         * progmodes/python.el (python-describe-symbol):
11248         Don't call `toggle-read-only', set `buffer-read-only'.
11250         * imenu.el (imenu-default-goto-function): Mark unused args.
11251         (imenu-progress-message): Remove obsolete macro; all callers changed.
11253         * subr.el (keymap-canonicalize): Remove unused binding.
11254         (read-passwd): Mark unused arg.
11256         * tutorial.el (tutorial--display-changes): Remove unused binding.
11257         (tutorial--save-tutorial-to): Remove unused variable.
11259         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11260         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11261         (package-generate-autoloads, package-menu--generate)
11262         (package-menu--find-upgrades): Remove unused bindings.
11264         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11265         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
11266         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11267         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11268         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11269         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11270         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11271         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11272         (cua-delete-char-rectangle): Mark unused args.
11273         (cua-align-rectangle): Remove unused binding.
11275         * mail/rmail.el (compilation--message->loc)
11276         (epa--find-coding-system-for-mime-charset): Declare.
11278         * net/dbus.el (dbus-register-service): Declare.
11279         (dbus-name-owner-changed-handler): Remove unused binding.
11281         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11282         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11283         (nxml-scan-backward-within): Mark unused arg.
11284         (nxml-dynamic-markup-word): Remove unused binding.
11286         * mouse.el (mouse-menu-major-mode-map):
11287         * emacs-lisp/authors.el (authors-scan-change-log)
11288         (authors-add-to-author-list):
11289         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11290         * emacs-lisp/smie.el (smie-auto-fill):
11291         * mail/sendmail.el (mail-bury):
11292         * mail/unrmail.el (unrmail):
11293         * net/tls.el (open-tls-stream):
11294         * textmodes/picture.el (picture-mouse-set-point):
11295         Remove unused bindings.
11297 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
11299         * net/tramp.el (tramp-action-password): Let-bind
11300         `enable-recursive-minibuffers' to t.
11302 2012-04-18  Sam Steingold  <sds@gnu.org>
11304         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11305         instead of 'string to accommodate values like [f11].
11306         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11307         * progmodes/gdb-mi.el: Likewise.
11309 2012-04-18  Leo Liu  <sdl.web@gmail.com>
11311         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11312         current buffer.
11313         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11314         LOCAL is nil.
11316 2012-04-18  Chong Yidong  <cyd@gnu.org>
11318         * simple.el (line-move): Use forward-line if in batch mode
11319         (Bug#11053).
11321 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
11323         * files.el (after-find-file): Do not try to add a final newline if
11324         the buffer is read-only (Bug#11156).
11326 2012-04-17  Richard Stallman  <rms@gnu.org>
11328         * mail/rmail.el (rmail-start-mail):
11329         Pass (rmail-mail-return...) for the return-action.
11330         Pass (rmail-yank-current-message...) for the yank-action.
11331         (rmail-yank-current-message): New function.
11332         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11333         (rmail-reply): Likewise.
11334         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11336         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11337         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
11338         buffer, not newbuf.
11340 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
11342         * server.el (server-ensure-safe-dir): Simplify.
11344 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11346         * emacs-lisp/smie.el: Provide smarter auto-filling.
11347         (smie-auto-fill): New function.
11348         (smie-setup): Use it.
11350         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11352 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
11354         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11355         (comment-indent): Use it.
11357 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11359         * ses.el: The overall change is to add cell renaming, that is
11360         setting fancy names for cell symbols other than name matching
11361         "\\`[A-Z]+[0-9]+\\'" regexp .
11362         (ses-localvars): Add ses--renamed-cell-symb-list.
11363         (ses-create-cell-variable): New defun.
11364         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11365         (ses-relocate-formula): Relocate formulas only for cells the
11366         symbols of which are not renamed, i.e. symbols whose names do not
11367         match regexp "\\`[A-Z]+[0-9]+\\'".
11368         (ses-relocate-all): Relocate values only for cells the symbols of
11369         which are not renamed.
11370         (ses-load): Create cells variables as the (ses-cell ...) are read,
11371         in order to check row col consistency with cell symbol name only
11372         for cells that are not renamed.
11373         (ses-replace-name-in-formula): New defun.
11374         (ses-rename-cell): New defun.
11376 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
11378         * progmodes/perl-mode.el (perl-indent-parens-as-block):
11379         New option (bug#11118).
11380         (perl-calculate-indent): Respect it.
11382 2012-04-17  Glenn Morris  <rgm@gnu.org>
11384         * dired-aux.el (dired-mark-read-string): Doc fix.
11386 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
11388         * dired-aux.el (dired-mark-read-string): Offer optional completion.
11389         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
11391 2012-04-17  Glenn Morris  <rgm@gnu.org>
11393         * mouse.el (mouse-drag-track):
11394         * speedbar.el (speedbar-frame-mode):
11395         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11397 2012-04-16  Leo Liu  <sdl.web@gmail.com>
11399         * progmodes/python.el: Trivial cleanup.
11401 2012-04-16  Glenn Morris  <rgm@gnu.org>
11403         * vc/vc.el (vc-string-prefix-p):
11404         * vc/pcvs-util.el (cvs-string-prefix-p):
11405         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11406         * mpc.el (mpc-string-prefix-p):
11407         Make all of these into obsolete aliases for string-prefix-p.
11408         Update callers.
11409         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11411         * textmodes/two-column.el: Move custom options to the start.
11412         (frame-width): Remove compat definition.
11413         (2C-associate-buffer, 2C-dissociate):
11414         Use with-current-buffer rather than save-excursion.
11415         (2C-dissociate): Force a mode-line update.
11416         (2C-autoscroll): Use ignore-errors.
11418         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11419         Autoload trivia.
11421         * emacs-lisp/cl-extra.el (*random-state*):
11422         Remove unnecessary declaration.
11424         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11426         * play/cookie1.el (cookie-snarf):
11427         Give an explicit error if input file cannot be read.
11429         * play/yow.el (yow-file): Use expand-file-name rather than concat.
11431         * progmodes/perl-mode.el (c-macro-expand):
11432         Remove unnecessary autoload (it is in loaddefs.el).
11434         * textmodes/picture.el (picture-desired-column)
11435         (picture-update-desired-column): Convert comments to doc-strings.
11436         (picture-substitute): Remove function.
11437         (picture-mode-map): Initialize in the defvar.
11439         * woman.el: Remove eval-after-load for tar-mode.
11440         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11441         (woman-tar-extract-file): Autoload it.
11443         * frame.el (automatic-hscrolling): Make this alias obsolete.
11445 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11447         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
11448         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
11449         (ispell-dictionary-base-alist): Revert to original XEmacs
11450         friendly version for default.  [:alpha:] will be added in
11451         `ispell-set-spellchecker-params' if needed.
11453 2012-04-16  Chong Yidong  <cyd@gnu.org>
11455         * image.el (imagemagick--file-regexp): New variable.
11456         (imagemagick-register-types): Use it.
11457         (imagemagick-types-inhibit): Add :set function.  Allow new value
11458         of t to inhibit all types.
11460         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11461         so we can preload it.
11463         * loadup.el (fboundp): Preload regexp-opt, needed by
11464         imagemagick-register-types.
11466 2012-04-15  Chong Yidong  <cyd@gnu.org>
11468         * frame.el (scrolling): Remove nearly unused customization group.
11470         * scroll-all.el (scroll-all-mode): Move to windows group.
11472 2012-04-15  Chong Yidong  <cyd@gnu.org>
11474         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11476 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11478         Avoid the use of ((lambda ...) ...) in lexical-binding code.
11479         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
11481 2012-04-15  Glenn Morris  <rgm@gnu.org>
11483         * simple.el (process-file-side-effects): Doc fix.
11485 2012-04-15  Glenn Morris  <rgm@gnu.org>
11487         * international/mule-cmds.el (set-language-environment): Doc fix.
11489 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
11491         * server.el (server-auth-key, server-generate-key): Doc fixes.
11492         (server-get-auth-key): Doc fix.  Use `string-match-p'.
11493         (server-start): Reflow docstring.
11495 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
11497         * server.el (server-generate-key): `called-interactively-p'
11498         requires a parameter.
11500 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
11502         * server.el (server-auth-key): New variable.
11503         (server-generate-key, server-get-auth-key): New function.
11504         (server-start): Use the new variable and functions to allow
11505         setting a permanent server key (bug#9423).
11507 2012-04-14  Leo Liu  <sdl.web@gmail.com>
11509         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11511 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
11513         Spelling fixes.
11514         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11515         Emacs uses American spelling.
11517 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
11519         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11520         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
11521         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11522         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
11524 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11526         * progmodes/which-func.el (which-func-modes): Change default.
11528 2012-04-14  Kim F. Storm  <storm@cua.dk>
11530         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11531         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11533 2012-04-14  Chong Yidong  <cyd@gnu.org>
11535         * custom.el (custom-theme-set-variables): Doc fix.
11537 2012-04-14  Glenn Morris  <rgm@gnu.org>
11539         * international/mule.el (set-auto-coding-for-load): Doc fix.
11541 2012-04-14  Alan Mackenzie  <acm@muc.de>
11543         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11544         imenu work again for Objective C Mode.  Correct the *-index values,
11545         these having been disturbed by a previous change in 2011-08.
11547         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11548         Correct two search limits.
11550 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11552         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11554 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
11556         * international/characters.el: Fix sorting.
11558 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
11560         * international/characters.el: Add more missing Latin case pairs.
11562 2012-04-14  Glenn Morris  <rgm@gnu.org>
11564         * files.el (dir-locals-set-class-variables): Doc fix.
11566 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
11568         * international/characters.el: Add set-case-syntax-pair call for
11569         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11570         counterpart.  (Bug#11209)
11572         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
11574 2012-04-14  Glenn Morris  <rgm@gnu.org>
11576         * calendar/holidays.el (calendar-check-holidays): Doc fix.
11578 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
11580         * textmodes/ispell.el (ispell-dictionary-base-alist):
11581         Add data for Hebrew.
11583 2012-04-14  Chong Yidong  <cyd@gnu.org>
11585         * net/rcirc.el (rcirc-cmd-quit):
11586         Revert 2012-03-18 change (Bug#11192).
11588 2012-04-14  Glenn Morris  <rgm@gnu.org>
11590         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11592 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
11594         * minibuffer.el (completion-in-region-mode-map):
11595         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
11597 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
11599         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11601 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
11603         * minibuffer.el (minibuffer-local-filename-syntax): New variable
11604         to allow `C-M-f' and `C-M-b' to move to the nearest path
11605         separator (bug#9511).
11607 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
11609         * avoid.el: Require cl when compiling.  And also move the
11610         `provide' to the end.
11612 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11614         * avoid.el (mouse-avoidance-banish-position): New variable.
11615         (mouse-avoidance-banish-destination): Use it (bug#10165).
11617 2012-04-13  Leo Liu  <sdl.web@gmail.com>
11619         * progmodes/which-func.el (which-func-modes): Add objc-mode.
11621 2012-04-13  Ken Brown  <kbrown@cornell.edu>
11623         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
11624         this is no longer needed now that cygstart understands file:// URLs.
11625         (browse-url-filename-alist): For the same reason, don't modify
11626         file:// URLs on Cygwin.
11628 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11630         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11631         the region on shift if the binding is already shifted (bug#11221).
11633 2012-04-12  Glenn Morris  <rgm@gnu.org>
11635         * mail/mailpost.el: Move to obsolete/.
11637 2012-04-12  Drew Adams  <drew.adams@oracle.com>
11639         * imenu.el (imenu--generic-function): Ignore invisible definitions
11640         (bug#10123).
11642 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
11644         * hexl.el (hexl-bits): New variable.
11645         (hexl-options): Mention the variable in the doc string.
11646         (hexl-rulerise, hexl-line-displen): New functions.
11647         (hexl-mode): Mention the new variable.
11648         (hexl-mode, hexl-current-address, hexl-current-address):
11649         Use the displen.
11650         (hexl-ascii-start-column): New function.
11651         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11652         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11654 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11656         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11657         '("-i" ENCODING), in 2 separate command-line arguments, to specify
11658         the encoding, as expected by hunspell.
11660 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11662         * battery.el (battery--linux-sysfs-regexp): New const.
11663         (battery-status-function): Use it.  Remove yeeloong special case.
11664         (battery-yeeloong-sysfs): Remove.
11665         (battery-echo-area-format): Remove yeeloong special case.
11667 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11669         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11670         Reported by Noah Friedman.
11672         * subr.el (read-passwd): Use read-string.
11674 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11676         * vcursor.el (vcursor-move): Increase the priority of the overlay
11677         (bug#9663).
11679 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
11681         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11682         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11684 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
11686         * textmodes/artist.el (artist-mode): Convert artist-mode to use
11687         define-minor-mode (bug#10760).
11689 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
11691         * progmodes/grep.el (rgrep): Tweak the find command line so
11692         that directories matching `grep-find-ignored-files' won't be
11693         pruned (bug#10351).
11695 2012-04-11  Chong Yidong  <cyd@gnu.org>
11697         * startup.el (command-line): Remove support for long-obsolete
11698         variable font-lock-face-attributes.
11700 2012-04-11  Glenn Morris  <rgm@gnu.org>
11702         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11704 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11706         * window.el (window--state-get-1): Obey window-point-insertion-type.
11708 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
11710         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11711         to previous function when point is on the first character of a
11712         function.  Take care of that in `narrow-to-defun' (bug#6157).
11714 2012-04-11  Glenn Morris  <rgm@gnu.org>
11716         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11717         not just file-errors.
11719         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11720         (vc-bzr-sha1): Use internal sha1.
11722 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11724         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11726 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
11728         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11729         that start in the middle of the line (bug#10496).
11731 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
11733         * battery.el (battery-linux-proc-acpi): Only one battery is
11734         discharged at a time, but that seems to confuse battery.el when
11735         computing `rate-type' for the battery not being discharged
11736         (bug#10332).
11738 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11740         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11742         * international/quail.el: Use dolist and simplify.
11743         (quail-define-package, quail-update-keyboard-layout)
11744         (quail-define-rules): Use dolist.
11745         (quail-insert-kbd-layout, quail-get-translation): CSE.
11747         * tmm.el: Use dolist, remove left over hook.
11748         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11749         Use dolist.
11750         (calendar-load-hook): Don't mess with it.
11752         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11753         Use derived-mode-p.  Run the diff asynchronously.
11755 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11757         * obsolete/mouse-sel.el: Add an Obsolete-since header.
11759 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
11761         * misc.el: Display absolute path of loaded DLLs (bug#10424).
11762         (list-dynamic-libraries--loaded): New function.
11763         (list-dynamic-libraries--refresh): Use it.
11765 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
11767         * progmodes/python.el (python-fill-paragraph):
11768         Make python-fill-region in a multiline string work when font-lock is
11769         disabled (bug#7018).
11771 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
11773         * language/european.el (cp775): Add oem/legacy (en)coding on
11774         DOS/MS Windows for the Baltic languages.  There are still plenty
11775         of texts written in this encoding/codepage (bug#6519).
11777 2012-04-10  Glenn Morris  <rgm@gnu.org>
11779         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11780         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11782 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
11784         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
11785         next-line "n" and previous-line "p" in order to make recentf more
11786         consistent with ibuffer, dired or org-mode (bug#9387).
11788 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11790         * image.el (put-image): Return the overlay created instead of the
11791         optional input string (bug#7834).  Note that this may break code
11792         that is (for some reason or other) depending on `put-image'
11793         returning the string.
11795         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11797         * simple.el (zap-to-char): Allow zapping using input methods
11798         (bug#1580).
11800         * textmodes/fill.el (fill-region): Leave point and mark where they
11801         were before filling (bug#5399).
11803 2012-04-09  Glenn Morris  <rgm@gnu.org>
11805         * version.el (emacs-bzr-get-version):
11806         Handle lightweight checkouts of local branches.
11808 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
11810         * international/characters.el: Recover lost case pairs.  (Bug#11209)
11812 2012-04-09  Chong Yidong  <cyd@gnu.org>
11814         * custom.el (custom-variable-p): Return nil for non-symbol
11815         arguments instead of signaling an error.
11816         (user-variable-p): Obsolete alias for custom-variable-p.
11818         * apropos.el (apropos-variable):
11819         * files-x.el (read-file-local-variable):
11820         * simple.el (set-variable):
11821         * woman.el (woman-mini-help):
11822         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11824 2012-04-09  Glenn Morris  <rgm@gnu.org>
11826         * startup.el (normal-top-level): Don't look for leim-list.el
11827         in places where it will not be found.  (Bug#910)
11829         * international/mule-cmds.el (set-default-coding-systems):
11830         * files.el (normal-mode):
11831         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
11832         This function was removed with ucs-tables.el in 2008.
11834 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
11836         * textmodes/ispell.el (ispell-check-version): For hunspell, set
11837         ispell-encoding8-command to "-i", without a trailing space.
11838         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11839         separate command-line arguments, to specify the encoding, since
11840         that's how hunspell expects it.
11842 2012-04-08  Glenn Morris  <rgm@gnu.org>
11844         * loadup.el: Load bindings before cus-start.
11845         This reduces somewhat the number of "rogue" settings in emacs -Q.
11847 2012-04-07  Glenn Morris  <rgm@gnu.org>
11849         * version.el (emacs-bzr-get-version): New function.
11850         (emacs-bzr-version): New variable.
11851         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
11852         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11854 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
11856         * international/uni-bidi.el, international/uni-category.el:
11857         * international/uni-combining.el, international/uni-decimal.el:
11858         * international/uni-decomposition.el, international/uni-digit.el:
11859         * international/uni-lowercase.el, international/uni-mirrored.el:
11860         * international/uni-name.el, international/uni-numeric.el:
11861         * international/uni-titlecase.el, international/uni-uppercase.el:
11862         Update for Unicode 6.1.
11864 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
11866         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11868 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11870         * window.el (shrink-window): Mention the `window-min-height'
11871         variable in the doc string.
11873 2012-04-05  Bastien Guerry  <bzg@altern.org>
11875         * color.el (color-lighten-name): Fix typo.
11877 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11879         * server.el (server--on-display-p): New function.
11880         (server--on-display-p): Use it.
11882 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
11884         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11885         (bug#11145).
11887 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11889         * comint.el (comint--common-quoted-suffix): Check string boundary
11890         before comparing (bug#11158).
11891         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11893 2012-04-04  Chong Yidong  <cyd@gnu.org>
11895         * minibuffer.el (completion-extra-properties): Doc fix.
11897         * subr.el (delayed-warnings-hook): Doc fix.
11899 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
11901         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11902         selection (Bug#11159).
11903         (epa-insert-keys): Inform that the default public key will be
11904         exported if no key is selected.
11906 2012-04-04  Richard Stallman  <rms@gnu.org>
11908         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11910 2012-04-03  Chong Yidong  <cyd@gnu.org>
11912         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11913         mail-insert-file, not its obsolete alias mail-attach-file.
11915 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
11917         * notifications.el (notifications-notify): Fix docstring.
11919 2012-04-02  Glenn Morris  <rgm@gnu.org>
11921         * emacs-lisp/authors.el (authors-aliases): Another addition.
11923 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
11925         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11926         `tramp-compat-call-process' instead of `tramp-local-call-process'.
11927         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11929 2012-04-01  Chong Yidong  <cyd@gnu.org>
11931         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11932         Handle root directory properly.
11933         (copy-directory): Caller changed.
11935         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11936         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11938 2012-03-31  Glenn Morris  <rgm@gnu.org>
11940         * term/xterm.el (xterm-extra-capabilities): Doc fix.
11942         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
11944         * calendar/calendar.el (calendar-window-list)
11945         (calendar-hide-window): Restore.  (Bug#11140)
11946         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11948         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11950 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11952         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11953         Check if file is a symlink (Bug#10489).
11955         * files.el (copy-directory): Likewise.
11957 2012-03-30  Chong Yidong  <cyd@gnu.org>
11959         * image.el (imagemagick-types-inhibit)
11960         (imagemagick-register-types): Doc fix.
11962 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11964         * textmodes/ispell.el (ispell-get-extended-character-mode):
11965         Disable extended-char-mode for hunspell.  hunspell does not support it
11966         and treats ~word as ordinary words in pipe mode.
11968 2012-03-30  Glenn Morris  <rgm@gnu.org>
11970         * tutorial.el (help-with-tutorial): Ensure local variables don't
11971         happen to make the buffer read-only.  (Bug#11127)
11973 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11975         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11976         (perl-calculate-indent): Return `noindent' in strings.
11978 2012-03-28  Sam Steingold  <sds@gnu.org>
11980         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11981         instead of the broken adhockery which does not prevent calendar
11982         buffers from being displayed at random after exit.
11983         (calendar-window-list, calendar-hide-window): Remove the broken
11984         adhockery.
11986 2012-03-28  Glenn Morris  <rgm@gnu.org>
11988         * replace.el (query-replace-map): Doc fix.
11990 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
11992         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11993         contents.  (Bug#11109)
11995 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11997         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11998         (bug#11077).
11999         (avl-tree--check, avl-tree--check-node): New funs.
12001 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
12003         * window.el (switch-to-visible-buffer): New option.
12004         (switch-to-prev-buffer, switch-to-next-buffer):
12005         Observe switch-to-visible-buffer.  Make sure that checking for a window
12006         showing a buffer already is done on the same frame.
12008 2012-03-27  Glenn Morris  <rgm@gnu.org>
12010         * startup.el (mail-host-address): Doc fix.
12012 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12014         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12015         than 197 variables.
12017 2012-03-26  Ami Fischman  <ami@fischman.org>
12019         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12021 2012-03-26  Glenn Morris  <rgm@gnu.org>
12023         * files.el (save-buffers-kill-emacs): Doc fix.
12025         * startup.el (normal-top-level, command-line, command-line-1):
12026         Give them doc strings.
12028 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
12030         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12031         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12033 2012-03-25  Chong Yidong  <cyd@gnu.org>
12035         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12036         theme if it was previously enabled before (Bug#11031).
12038         * cus-theme.el (custom-theme-write-faces): Retrieve current face
12039         spec with custom-face-get-current-spec if its :shown-value is not
12040         determined yet (Bug#9337).
12041         (customize-create-theme, custom-theme-revert): Doc fixes.
12043         * button.el (button-at): Minor addition to docstring.
12045 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
12047         * vc/vc.el (vc-merge): Fix a prompt.
12049 2012-03-24  Chong Yidong  <cyd@gnu.org>
12051         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12052         point (Bug#9623).
12054         * button.el (button-at): Minor addition to docstring.
12056 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12058         * newcomment.el (comment-choose-indent): No space after BOL.
12060 2012-03-22  Sam Steingold  <sds@gnu.org>
12062         * window.el (switch-to-prev-buffer): Revert last patch because the
12063         bug turned out to be an advertised feature (Elisp manual 28.14).
12065 2012-03-22  Glenn Morris  <rgm@gnu.org>
12067         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
12068         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12070 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12072         * net/network-stream.el (network-stream-open-starttls): Make error
12073         message under Windows be less misleading.
12075 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
12077         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12078         understands (bug#9942).
12080 2012-03-22  Chong Yidong  <cyd@gnu.org>
12082         * simple.el (end-of-visible-line): Handle return value of
12083         next-single-property-change properly (Bug#9371).
12085 2012-03-22  Kenichi Handa  <handa@m17n.org>
12087         * international/quail.el (quail-insert-kbd-layout): Fix previous
12088         change.  To avoid unwanted bidi reordering, use
12089         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12091 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
12093         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12094         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12095         (ruby-beginning-of-indent): Be more careful with the difference
12096         between word-boundary and symbol boundary.
12097         (ruby-mode-syntax-table): Make : a symbol constituent.
12099 2012-03-21  Andreas Politz  <politza@fh-trier.de>
12101         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12103 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12105         * progmodes/etags.el (tags-completion-at-point-function):
12106         Improve last fix.
12108         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12110 2012-03-21  Sam Steingold  <sds@gnu.org>
12112         * progmodes/etags.el (tags-completion-at-point-function):
12113         Avoid the error when point is inside the pattern.
12115 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
12117         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12118         line (Bug#10855).
12120 2012-03-21  Drew Adams  <drew.adams@oracle.com>
12122         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12124 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
12126         * ido.el (ido-set-current-directory, ido-read-internal)
12127         (ido-choose-completion-string, ido-completion-help): Handle nil
12128         value of ido-completion-buffer (Bug#11008).
12130 2012-03-21  Sam Steingold  <sds@gnu.org>
12132         * window.el (switch-to-prev-buffer): Do not switch to a visible
12133         window previous buffer, just like with the frame previous buffers.
12135 2012-03-21  Chong Yidong  <cyd@gnu.org>
12137         * faces.el (make-face, make-empty-face, copy-face):
12138         * face-remap.el (face-remap-add-relative, face-remap-set-base):
12139         Doc fixes.
12141 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12143         * wid-edit.el (widget-complete-field): Remove (bug#11051).
12144         (widget-complete): Remove broken use of it.
12146 2012-03-20  Chong Yidong  <cyd@gnu.org>
12148         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12149         Use string-width and truncate-string-width to handle arbitrary
12150         characters.
12152 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
12154         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12155         to draw rectangles, not squares.  (Regression introduced by revno
12156         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12158 2012-03-18  Chong Yidong  <cyd@gnu.org>
12160         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12161         it is not yet defined (for temacs).
12163 2012-03-18  Leo Liu  <sdl.web@gmail.com>
12165         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12166         prefix.
12168 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
12170         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12171         (ispell-choices-win-default-height, ispell-silently-savep)
12172         (ispell-dictionary-alist, ispell-encoding8-command)
12173         (ispell-check-version, ispell-aspell-find-dictionary)
12174         (ispell-valid-dictionary-list, ispell-words-keyword)
12175         (ispell-get-word, ispell-internal-change-dictionary)
12176         (ispell-region, ispell-skip-region-list)
12177         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12178         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12179         (ispell-message-text-end, ispell-message)
12180         (ispell-buffer-local-parsing): Doc fix.
12182 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
12184         * htmlfontify.el: Add support for code block fontification for ODT
12185         export (Bug #9914).
12186         (hfy-optimisations): Define new option
12187         `body-text-only'
12188         (hfy-fontify-buffer): Honor above setting.
12189         (hfy-begin-span, hfy-end-span): New routines factored out form
12190         `hfy-fontify-buffer'.
12191         (hfy-begin-span-handler, hfy-end-span-handler): New variables
12192         that permit insertion of custom tags.
12193         (hfy-fontify-buffer): Use above handlers.
12194         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12195         (hfy-face-to-css): Re-defined to be a variable.
12196         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
12197         over multiple runs.  This is made possible by having the caller let
12198         bind a special variable `hfy-user-sheet-assoc'.
12199         (htmlfontify-string): New defun.
12200         (hfy-compile-face-map): Make sure that the last char in the
12201         buffer is correctly fontified.
12202         (hfy-face-resolve-face): Whitespace only change.
12204 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
12206         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12207         message more clear.
12209 2012-03-16  Leo Liu  <sdl.web@gmail.com>
12211         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12213 2012-03-16  Alan Mackenzie  <acm@muc.de>
12215         Further optimize the handling of large macros.
12217         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12218         limit to a call of `c-literal-limits'.
12219         (c-determine-+ve-limit): New function.
12220         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12221         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12222         In CASE 5B, restrict a search limit to 500.
12223         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12225         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12226         Restrict macro bounds to +-500 from after-change's BEG END.
12228 2012-03-16  Leo Liu  <sdl.web@gmail.com>
12230         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12232 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
12234         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12235         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
12237 2012-03-16  Glenn Morris  <rgm@gnu.org>
12239         * view.el (view-buffer, view-buffer-other-window)
12240         (view-buffer-other-frame): Doc fixes re special mode-class.
12242         * subr.el (eval-after-load): If named feature is provided not from
12243         a file, run after-load forms.  (Bug#10946)
12245         * calendar/calendar.el (calendar-insert-at-column):
12246         Handle non-unit-width characters a bit better.  (Bug#10978)
12248 2012-03-15  Chong Yidong  <cyd@gnu.org>
12250         * emacs-lisp/ring.el (ring-extend): New function.
12251         (ring-insert+extend): Extend the ring correctly (Bug#11019).
12253         * comint.el (comint-read-input-ring)
12254         (comint-add-to-input-history): Grow comint-input-ring lazily.
12256 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12258         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12259         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12261         * imenu.el: Fix multiple inheritance breakage (bug#9199).
12262         (imenu-add-to-menubar): Don't add a redundant index.
12263         (imenu-update-menubar): Handle a dynamically composed keymap.
12265 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
12267         * mail/sendmail.el (mail-encode-header):
12268         Bind rfc2047-encode-encoded-words to nil.
12270 2012-03-13  Glenn Morris  <rgm@gnu.org>
12272         * calendar/calendar.el (calendar-string-spread):
12273         Handle non-unit-width characters a bit better.  (Bug#10978)
12275 2012-03-13  Leo Liu  <sdl.web@gmail.com>
12277         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12278         directory and file as argument (Bug#10822).
12280 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
12282         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12283         For dynamically generated code, follow $PC.
12284         (gdb-disassembly-handler-custom): Handle no function name case.
12286 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
12288         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12289         * emulation/ws-mode.el (ws-query-replace):
12290         * sort.el (sort-regexp-fields):
12291         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
12293 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12295         * dabbrev.el: Fix cycle completion order (bug#10963).
12296         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12297         (dabbrev-completion): Don't use an obarray; provide
12298         a cycle-sort-function.
12300 2012-03-12  Leo Liu  <sdl.web@gmail.com>
12302         * simple.el (kill-new): Use equal-including-properties for comparison.
12303         (kill-do-not-save-duplicates): Doc fix.
12305 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12307         * dabbrev.el: Fix cycle completion (bug#10963).
12308         Use lexical binding and wrap to 80 columns.
12309         (dabbrev-completion): Delay computing the list of completions.
12311 2012-03-12  Kenichi Handa  <handa@m17n.org>
12313         * international/quail.el (quail-insert-kbd-layout): Surround each
12314         row by LRO and PDF instead of inserting many LRMs.  Pad the left
12315         and right of each non-spacing marks.  Insert invisible space
12316         between lower and upper characters to prevent composition.
12318 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12320         * minibuffer.el (minibuffer-complete): Don't get confused when the
12321         function is run twice via different commands (bug#10958).
12322         (complete-with-action): Fix docstring.
12324 2012-03-12  Chong Yidong  <cyd@gnu.org>
12326         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12327         (nxml-completion-at-point-function): New function.
12328         (nxml-mode): Use it.
12329         (nxml-bind-meta-tab-to-complete-flag): Default to t.
12331         * emacs-lisp/package.el (package-unpack, package-unpack-single):
12332         Load generated autoloads file before byte compiling (Bug#10970).
12333         (package--make-autoloads-and-compile): New helper fun.
12335 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
12337         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12339 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
12341         * autorevert.el (auto-revert-handler): Ensure, that
12342         file-readable-p is applied only for local files or in
12343         auto-revert-tail-mode.
12345 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
12347         * server.el (server-eval-at): Handle non-tcp connections.
12348         Decode result string.
12350         * server.el (server-msg-size): New constant.
12351         (server-reply-print): New function.
12352         (server-eval-and-print): Use it.
12353         (server-eval-at): Use server-quote-arg and server-unquote-arg.
12354         Handle -print-nonl.
12356 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
12358         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12359         (Bug#10987).
12361 2012-03-11  Chong Yidong  <cyd@gnu.org>
12363         * simple.el (goto-line): Doc fix (Bug#9938).
12365         * subr.el (save-window-excursion): Doc fix (Bug#9979).
12367         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12368         when finished (Bug#10963).
12370 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
12372         * window.el (split-window-below): Fix bug in case where
12373         split-window-keep-point is nil (Bug#10971).
12375 2012-03-11  Juri Linkov  <juri@jurta.org>
12377         * replace.el (replace-highlight): Set isearch-word to nil
12378         unconditionally.  (Bug#10887)
12380 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
12382         * net/mairix.el (mairix-replace-invalid-chars): Rename from
12383         mairix-replace-illegal-chars; all callers changed.  Don't remove
12384         ^, ~, and = characters: they are meaningful in mairix search specs.
12385         (mairix-widget-create-query): Add usage information about mairix
12386         search forms: negating words, searching for substrings, etc.
12388 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
12390         * international/fontset.el (font-encoding-alist): Add an entry for
12391         ksx1001 (Bug#5667).
12393 2012-03-10  Richard Stallman  <rms@gnu.org>
12395         * mail/sendmail.el (mail-encode-header):
12396         Set rfc2047-encode-encoded-words.
12398         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12400         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12401         view buffer means not swapped.
12402         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12403         (rmail-write-region-annotate): Error if real text has disappeared.
12405         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12407 2012-03-10  Chong Yidong  <cyd@gnu.org>
12409         * emulation/cua-rect.el (cua--init-rectangles):
12410         * emulation/cua-base.el (cua--init-keymaps):
12411         Add delete-forward-char to remappings (Bug#9666).
12413 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
12415         * speedbar.el (speedbar-unhighlight-one-tag-line):
12416         Avoid unhighlighting due to frame switching (Bug#10275).
12418 2012-03-10  Chong Yidong  <cyd@gnu.org>
12420         * minibuffer.el (completion-in-region, completion-help-at-point):
12421         Give the completion field overlay a high priority (Bug#6830).
12423         * dired.el (dired-goto-file): Recognize absolute file name
12424         listings (Bug#7126).
12425         (dired-goto-file-1): New helper function.
12426         (dired-toggle-read-only): Inhibit warnings.
12428 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
12430         * net/dbus.el (dbus-property-handler): Return empty array if
12431         there are no properties.
12433 2012-03-09  Leo Liu  <sdl.web@gmail.com>
12435         * savehist.el (savehist-printable): Stricter check for string
12436         value (Bug#10937).
12438 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
12440         * mail/smtpmail.el (smtpmail-send-it):
12441         Bind coding-system-for-write to *-unix, so that FCC files are kept in
12442         valid mbox format.
12444 2012-03-09  Glenn Morris  <rgm@gnu.org>
12446         * files.el (dir-locals-find-file):
12447         Don't check result is regular, readable.
12448         (dir-locals-read-from-file): Demote errors.
12450 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
12452         * international/quail.el (quail-insert-kbd-layout):
12453         Insert invisible LRM characters before each character in a keyboard
12454         layout cell, to prevent their reordering by bidi display engine.
12455         For details, see the discussion in
12456         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12458 2012-03-08  Alan Mackenzie  <acm@muc.de>
12460         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12461         the starting position; make it extend the marked region when
12462         invoked repeatedly - all under appropriate circumstances.
12463         Fixes bugs #5525, #10906.
12465 2012-03-08  Glenn Morris  <rgm@gnu.org>
12467         * files.el (locate-dominating-file, dir-locals-find-file):
12468         Undo 2012-03-06 change.
12470 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
12472         * international/quail.el (quail-help):
12473         Force bidi-paragraph-direction be left-to-right.  See discussion in
12474         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12475         for the reason.
12477 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
12479         Avoid superfluous registering of signals.  (Bug#10807)
12481         * notifications.el (notifications-on-action-object)
12482         (notifications-on-close-object): New defvars.
12483         (notifications-on-action-signal, notifications-on-closed-signal):
12484         Unregister the signal if not needed any longer.
12485         (notifications-notify): Register `notifications-action-signal' or
12486         `notifications-closed-signal', if :on-action or :on-close has been
12487         passed as argument.
12489 2012-03-07  Chong Yidong  <cyd@gnu.org>
12491         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12492         non-X platforms.
12494 2012-03-06  Glenn Morris  <rgm@gnu.org>
12496         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12497         (x-disown-selection-internal, x-get-selection-internal):
12498         Doc fix (add arglist signatures).  (Bug#10783)
12500 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
12502         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12503         Handle breakpoints with no "type".
12505 2012-03-06  Glenn Morris  <rgm@gnu.org>
12507         * files.el (locate-dominating-file): Add optional predicate argument.
12508         (dir-locals-find-file): Make use of above change.
12510 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
12512         * info.el (Info-insert-dir): Also try "dir.gz".
12514 2012-03-06  Glenn Morris  <rgm@gnu.org>
12516         * files.el (dir-locals-find-file):
12517         Ignore non-readable or non-regular files.  (Bug#10928)
12519         * files.el (locate-dominating-file): Doc fix.
12521 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
12523         * calendar/calendar.el (calendar-set-mode-line):
12524         `getenv' returns a string.  (Bug#10951)
12526 2012-03-05  Leo Liu  <sdl.web@gmail.com>
12528         * simple.el (backward-delete-char-untabify): Constrain point to
12529         field (Bug#10939).
12531         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12533 2012-03-05  Chong Yidong  <cyd@gnu.org>
12535         * simple.el (count-words): If called from Lisp, return the word
12536         count, for symmetry with `count-lines'.  Arglist changed.
12537         (count-words--message): Args changed.  Consolidate counting code
12538         from count-words and count-words-region.
12539         (count-words-region): Caller changed.
12540         (count-lines-region): Make it an obsolete alias.
12542 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
12544         * saveplace.el (save-place-to-alist)
12545         (save-place-ignore-files-regexp): Allow value nil to disable this
12546         feature.
12548 2012-03-04  Chong Yidong  <cyd@gnu.org>
12550         * faces.el (face-spec-reset-face): For the default face, reset the
12551         attributes to default values (Bug#10748).
12553 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12555         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12556         previous patch: Check `message-send-mail-function', and not the
12557         default function (bug#10897).
12559 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
12561         * notifications.el (notifications-on-action-signal)
12562         (notifications-on-closed-signal): Check for unique service name of
12563         incoming event.  Fix error in removing entry.
12564         (top): Register for signals with wildcard service name.
12565         (notifications-notify): Use daemon unique service name for map entries.
12567 2012-03-04  Chong Yidong  <cyd@gnu.org>
12569         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
12571 2012-03-04  Glenn Morris  <rgm@gnu.org>
12573         * abbrev.el (copy-abbrev-table, abbrev-table-p)
12574         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12575         (expand-abbrev, define-abbrev-table): Doc fixes.
12577 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12579         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12580         `message-default-send-mail-function' and not `send-mail-function'
12581         when doing the prompting for `sendmail-query-once' before sending
12582         in Message buffers (bug#10897).
12584         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12585         This is inconsistent with all the other stream functions, which leave
12586         the setting up to the higher levels (if so wanted) (bug#10931).
12588 2012-03-02  Alan Mackenzie  <acm@muc.de>
12590         Depessimize the handling of very large macros.
12592         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12593         (c-macro-cache-syntactic): New variables to implement a one
12594         element macro cache.
12595         (c-invalidate-macro-cache): New function.
12596         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12597         Adapt to use the new cache.
12598         (c-state-safe-place): Use better the cache of safe positions.
12599         (c-state-semi-nonlit-pos-cache)
12600         (c-state-semi-nonlit-pos-cache-limit):
12601         New variables for...
12602         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
12603         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
12604         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12605         Use c-state-semi-safe-place.
12607         * progmodes/cc-langs.el (c-get-state-before-change-functions):
12608         Add c-invalidate-macro-cache to the C, C++, Obj entries.
12610 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
12612         * jka-compr.el (jka-compr-call-process):
12613         Apply `file-accessible-directory-p' only when the default directory is
12614         not remote.
12616 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
12618         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
12619         access of FILE2, if FILE1 does not exist.
12621         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12622         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12624         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12625         Add "PAGER=" to `process-environment'.
12627 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
12629         * progmodes/sql.el: Bug fix
12630         (sql-get-login-ext): Save login values in globals.
12631         (sql-get-login): Use new version of `sql-get-login-ext'.
12632         (sql-interactive-mode): Set global `sql-connection' to nil.
12633         (sql-connect): Set global values for connection.
12634         (sql-product-interactive): Save global values as buffer local.
12636 2012-02-29  Leo Liu  <sdl.web@gmail.com>
12638         * abbrev.el (define-abbrevs): Reset sys to nil.
12640 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12642         * files.el (file-equal-p): Rename from `files-equal-p'.
12643         Return nil when one or both files don't exist.
12644         (file-subdir-of-p): Now only top directory must exists,
12645         return nil if it doesn't.
12646         (copy-directory): No need to test with `file-subdir-of-p' after
12647         creating dir.
12648         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12649         to `file-equal-p'.
12651 2012-02-28  Glenn Morris  <rgm@gnu.org>
12653         * shell.el (shell-mode):
12654         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12655         * play/landmark.el (landmark-font-lock-face-O):
12656         * play/handwrite.el (handwrite):
12657         * play/gomoku.el (gomoku-O):
12658         * net/browse-url.el (browse-url-browser-display):
12659         * international/mule.el (define-charset):
12660         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12661         * filesets.el (filesets-find-file-delay):
12662         * eshell/em-xtra.el (eshell-xtra):
12663         * eshell/em-unix.el (eshell-grep):
12664         * emulation/viper.el (viper-mode):
12665         * emacs-lisp/regexp-opt.el (regexp-opt-group):
12666         * emacs-lisp/easymenu.el (easy-menu-define):
12667         * calendar/timeclock.el (timeclock-use-display-time):
12668         * bs.el (bs-mode):
12669         * bookmark.el (bookmark-save-flag):
12670         Doc fix (standardize possessive apostrophe usage).
12672 2012-02-27  Chong Yidong  <cyd@gnu.org>
12674         * emulation/viper-cmd.el (viper-intercept-ESC-key):
12675         Fix key-binding lookup for ESC key (Bug#9146).
12677         * font-lock.el (font-lock-specified-p): Rename from
12678         font-lock-spec-present.  Callers changed.
12680 2012-02-27  Daniel Hackney  <dan@haxney.org>
12682         * emacs-lisp/package.el (package-compute-transaction):
12683         Handle holding a package version to t in package-load-list.
12685 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
12687         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12688         (tramp-get-inode, tramp-get-device): Use cached values.
12690 2012-02-26  Alan Mackenzie  <acm@muc.de>
12692         Check there is a font-lock specification before doing initial
12693         fontification.
12695         * font-core.el (font-lock-mode): Move the conditional from
12696         :after-hook to font-lock-initial-fontify.
12697         (font-lock-default-function): Move the check for a specification
12698         to font-lock-spec-present.
12700         * font-lock.el (font-lock-initial-fontify): Call ...
12701         (font-lock-spec-present): New function.
12703 2012-02-26  Jim Blandy  <jimb@red-bean.com>
12705         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12706         (gdb-send): Apply it to the operand of the '-interpreter-exec
12707         console' command, so that we can pass arguments with (say) quotes
12708         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
12710 2012-02-26  Chong Yidong  <cyd@gnu.org>
12712         * help-fns.el (describe-function-1): Clarify description of
12713         remapping (Bug#10844).
12715         * files.el (files-equal-p): Doc fix.
12716         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
12717         and quit the loop once a mismatch is found.
12719 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
12721         * bs.el (bs--show-with-configuration): Don't throw an error
12722         if the window cannot be split; otherwise, subsequent calls to
12723         bs-show fail, restoring a stale window config.  (Bug#10882)
12725 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
12727         * term/ns-win.el (global-map): Bind ns-drag-file to
12728         ns-find-file (Bug#5855, Bug#10050).
12730 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
12732         * calendar/parse-time.el (parse-time-string): Allow extractor to
12733         return nil.
12735 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
12737         * net/tramp.el (tramp-file-name-for-operation):
12738         Add `files-equal-p' and `file-subdir-of-p'.
12740         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12741         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12742         Add COPY-CONTENTS argument.
12744 2012-02-25  Chong Yidong  <cyd@gnu.org>
12746         Add custom groups for VC backends, for consistency with vc-bzr.
12748         * vc/vc-arch.el (vc-arch):
12749         * vc/vc-cvs.el (vc-cvs):
12750         * vc/vc-git.el (vc-git):
12751         * vc/vc-hg.el (vc-hg):
12752         * vc/vc-mtn.el (vc-mtn):
12753         * vc/vc-rcs.el (vc-rcs):
12754         * vc/vc-sccs.el (vc-sccs):
12755         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12756         All relevant defcustoms reassigned.
12758 2012-02-25  Chong Yidong  <cyd@gnu.org>
12760         * newcomment.el (comment-styles): Add autoload (Bug#10868).
12762         * term/x-win.el (x-initialize-window-system): Reduce default for
12763         x-selection-timeout to 5 seconds (Bug#8869).
12765 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12767         * files.el (files-equal-p, file-subdir-of-p): New functions.
12768         (copy-directory): Error when trying to copy a directory on itself.
12769         Add missing copy-contents arg to tramp handler.
12770         * dired-aux.el (dired-copy-file-recursive): Same.
12771         (dired-create-files): Modify destination when source is equal to
12772         dest when copying files.
12773         Return also when dest is a subdir of source.  (Bug#10489)
12775 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
12777         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12778         (Bug#10874)
12780 2012-02-23  Alan Mackenzie  <acm@muc.de>
12782         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12783         parameter "after-hook:" to allow the expansion to run code after
12784         the execution of the mode hooks.
12786         * font-lock.el (font-lock-initial-fontify): New function extracted
12787         from font-lock-mode-internal.
12789         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
12790         :after-hook.
12792 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12794         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12795         (completion--cache-all-sorted-completions): New function.
12796         (completion-all-sorted-completions): Use it.
12797         (completion--do-completion, minibuffer-force-complete):
12798         Use it to re-instate the flush hook.
12800         * icomplete.el (icomplete-completions): Replace last fix with a better
12801         one (bug#10850).
12803 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
12805         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12806         when it might call us back infinitely (bug#10797).
12808 2012-02-23  Glenn Morris  <rgm@gnu.org>
12810         * minibuffer.el (completion-category-overrides): Doc fix.
12812 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12814         * minibuffer.el (completion-table-with-context): Fix inf-loop.
12815         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12817 2012-02-23  Glenn Morris  <rgm@gnu.org>
12819         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
12820         (authors-obsolete-files-regexps, authors-ignored-files)
12821         (authors-ambiguous-files, authors-renamed-files-alist):
12822         Add more entries.
12824 2012-02-23  Juri Linkov  <juri@jurta.org>
12826         * isearch.el (isearch-occur): Sync interactive spec with occur's
12827         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
12829         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12831 2012-02-22  Juri Linkov  <juri@jurta.org>
12833         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12834         (ucs-insert): Doc fix.  Check for hex digits in the string.
12835         Don't display `nil' in the error message.  (Bug#10857)
12837 2012-02-22  Alan Mackenzie  <acm@muc.de>
12839         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
12841 2012-02-22  Glenn Morris  <rgm@gnu.org>
12843         * ffap.el (ffap-c-path):
12844         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
12846 2012-02-22  Chong Yidong  <cyd@gnu.org>
12848         * custom.el (load-theme): Doc fix.
12850 2012-02-22  Glenn Morris  <rgm@gnu.org>
12852         * dired-x.el (dired-guess-shell-alist-default):
12853         Remove escape sequences from nroff output.  (Bug#172)
12855 2012-02-21  Glenn Morris  <rgm@gnu.org>
12857         * vc/emerge.el (emerge-defvar-local):
12858         Set `permanent-local' property rather than unused `preserved'.
12860         * textmodes/picture.el (picture-delete-char): New alias.
12861         (picture-mode-map): Use it.  (Bug#10860)
12862         (picture-mode): Doc fix.
12864 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
12866         * newcomment.el (uncomment-region-default): Remove unused binding.
12868 2012-02-21  Glenn Morris  <rgm@gnu.org>
12870         * textmodes/picture.el (picture-motion, picture-motion-reverse)
12871         (picture-self-insert, picture-tab-chars): Doc fix.
12872         (picture-mode-map): Fix C-a, C-e.
12874 2012-02-20  Glenn Morris  <rgm@gnu.org>
12876         * emacs-lisp/authors.el (authors-aliases): Add another entry.
12878 2012-02-20  Leo Liu  <sdl.web@gmail.com>
12880         * icomplete.el (icomplete-completions): Check FROM arg before
12881         passing to substring (Bug#10850).
12883 2012-02-19  Chong Yidong  <cyd@gnu.org>
12885         * comint.el: Require ansi-color.
12886         (comint-output-filter-functions): Add ansi-color-process-output.
12888         * ansi-color.el: Don't set comint-output-filter-functions; it is
12889         now in the initial value defined in comint.el.
12890         (ansi-color-apply-face-function): New variable.
12891         (ansi-color-apply-on-region): Use it.
12892         (ansi-color-apply-overlay-face): New function.
12894         * shell.el (shell): No need to require ansi-color.
12895         (shell-mode): Use ansi-color-apply-face-function to highlight
12896         color escapes using font-lock-face property (Bug#10835).
12898 2012-02-19  Chong Yidong  <cyd@gnu.org>
12900         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12901         mode-line formats (Bug#10839).
12903 2012-02-18  Glenn Morris  <rgm@gnu.org>
12905         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12907         * mail/undigest.el (unforward-rmail-message): Doc fix.
12909         * saveplace.el (save-place-ignore-files-regexp): Add :version.
12911 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
12913         * international/characters.el (script-list): Sync with the latest
12914         Unicode Character Database.
12916 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
12918         * international/titdic-cnv.el: Remove duplicate coding tag.
12919         * language/cham.el: Likewise.
12920         * language/tai-viet.el: Likewise.
12922 2012-02-18  Glenn Morris  <rgm@gnu.org>
12924         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12925         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12926         (calendar-bahai-all-holidays-flag, calendar-other-dates):
12927         * calendar/diary-lib.el (diary-abbreviated-year-flag):
12928         * calendar/holidays.el (holiday-bahai-holidays)
12929         (calendar-holidays, list-holidays):
12930         Use utf-8 Bahá'í in doc-strings, menus, etc.
12932 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
12934         * saveplace.el (save-place-ignore-files-regexp): New variable
12935         allowing for excluding files from saving their location of point.
12936         The default value matches the temporary commit message editing
12937         files from Git, SVN, Bazaar, and Mercurial.
12938         (save-place-to-alist): Use it.
12940 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
12941             Stefan Monnier  <monnier@iro.umontreal.ca>
12943         * newcomment.el (uncomment-region-default): Don't leave extra space
12944         when an arg is provided (bug#8150).
12946 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
12948         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
12950 2012-02-17  Glenn Morris  <rgm@gnu.org>
12952         * net/socks.el: Require network-stream.  (Bug#10599)
12954 2012-02-17  Kenichi Handa  <handa@m17n.org>
12956         * international/charprop.el:
12957         * international/uni-name.el:
12958         * international/uni-old-name.el:
12959         * international/uni-comment.el: Regenerate.
12961 2012-02-16  Glenn Morris  <rgm@gnu.org>
12963         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12964         Interactively in calendar buffer, give an error if not on a date.
12966 2012-02-15  Glenn Morris  <rgm@gnu.org>
12968         * shell.el (shell-delimiter-argument-list):
12969         Revert 2011-02-17 change.  (Bug#8027)
12971 2012-02-15  Chong Yidong  <cyd@gnu.org>
12973         * minibuffer.el (completion-at-point-functions): Doc fix.
12975         * custom.el (defcustom): Doc fix; note use of defvar.
12977 2012-02-15  Glenn Morris  <rgm@gnu.org>
12979         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12980         Doc fixes.
12982 2012-02-14  Glenn Morris  <rgm@gnu.org>
12984         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12986 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
12988         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12989         way the ports list is computed.
12990         (smtpmail-query-smtp-server): Prompt the user for a port number if
12991         we can't connect to any of the standard ports (bug#10810).
12993 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
12995         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12997 2012-02-13  Glenn Morris  <rgm@gnu.org>
12999         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
13001 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
13003         * net/gnutls.el (gnutls-trustfiles): New variable.
13004         (gnutls-negotiate): Use it.
13006 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
13008         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13009         does its stuff if Gnus is running.
13011 2012-02-13  Alan Mackenzie  <acm@muc.de>
13013         Fix a loop in c-set-fl-decl-start.
13015         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13016         c-backward-syntactic-ws actually moves backwards.
13018 2012-02-13  Leo Liu  <sdl.web@gmail.com>
13020         * net/rcirc.el (rcirc-markup-attributes): Move point to the
13021         beginning so that all \C-o chars are removed.
13023 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
13025         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13027 2012-02-12  Alan Mackenzie  <acm@muc.de>
13029         Fix infinite loop with long macros.
13030         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13032 2012-02-12  Chong Yidong  <cyd@gnu.org>
13034         * window.el (display-buffer): Doc fix (Bug#10785).
13036 2012-02-12  Glenn Morris  <rgm@gnu.org>
13038         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13039         (x-disown-selection-internal, x-get-selection-internal):
13040         Sync docs with the xselect.c versions.
13042         * allout-widgets.el: Add missing license notice.
13044 2012-02-11  Glenn Morris  <rgm@gnu.org>
13046         * select.el (x-get-selection-internal, x-own-selection-internal)
13047         (x-disown-selection-internal):
13048         * x-dnd.el (x-get-selection-internal): Update declarations.
13050         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13052         * window.el (window-sides-slots):
13053         * tool-bar.el (tool-bar-position):
13054         * term/xterm.el (xterm-extra-capabilities):
13055         * ses.el (ses-self-reference-early-detection):
13056         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13057         (verilog-auto-wire-type)
13058         (verilog-auto-delete-trailing-whitespace)
13059         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13060         (verilog-auto-tieoff-declaration):
13061         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13062         (sql-oracle-statement-starters, sql-oracle-scan-on):
13063         * progmodes/prolog.el (prolog-align-comments-flag)
13064         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13065         (prolog-left-indent-regexp, prolog-paren-indent-p)
13066         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13067         (prolog-types, prolog-mode-specificators)
13068         (prolog-determinism-specificators, prolog-directives)
13069         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13070         (prolog-electric-dot-flag)
13071         (prolog-electric-dot-full-predicate-template)
13072         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13073         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13074         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13075         (prolog-program-switches, prolog-prompt-regexp)
13076         (prolog-debug-on-string, prolog-debug-off-string)
13077         (prolog-trace-on-string, prolog-trace-off-string)
13078         (prolog-zip-on-string, prolog-zip-off-string)
13079         (prolog-use-standard-consult-compile-method-flag)
13080         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13081         (prolog-imenu-max-lines, prolog-info-predicate-index)
13082         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13083         (prolog-char-quote-workaround):
13084         * progmodes/cc-vars.el (c-defun-tactic):
13085         * net/tramp.el (tramp-encoding-command-interactive)
13086         (tramp-local-end-of-line):
13087         * net/soap-client.el (soap-client):
13088         * net/netrc.el (netrc-file):
13089         * net/gnutls.el (gnutls):
13090         * minibuffer.el (completion-category-overrides)
13091         (completion-cycle-threshold)
13092         (completion-pcm-complete-word-inserts-delimiters):
13093         * man.el (Man-name-local-regexp):
13094         * mail/feedmail.el (feedmail-display-full-frame):
13095         * international/characters.el (glyphless-char-display-control):
13096         * eshell/em-ls.el (eshell-ls-date-format):
13097         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13098         (lisp-lambda-list-keyword-parameter-indentation)
13099         (lisp-lambda-list-keyword-parameter-alignment):
13100         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13101         * dired-x.el (dired-omit-verbose):
13102         * cus-theme.el (custom-theme-allow-multiple-selections):
13103         * calc/calc.el (calc-highlight-selections-with-faces)
13104         (calc-lu-field-reference, calc-lu-power-reference)
13105         (calc-note-threshold):
13106         * battery.el (battery-mode-line-limit):
13107         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13108         (archive-7z-update):
13109         * allout.el (allout-prefixed-keybindings)
13110         (allout-unprefixed-keybindings)
13111         (allout-inhibit-auto-fill-on-headline)
13112         (allout-flattened-numbering-abbreviation):
13113         * allout-widgets.el (allout-widgets-auto-activation)
13114         (allout-widgets-icons-dark-subdir)
13115         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13116         (allout-widgets-theme-dark-background)
13117         (allout-widgets-theme-light-background)
13118         (allout-widgets-item-image-properties-emacs)
13119         (allout-widgets-item-image-properties-xemacs)
13120         (allout-widgets-run-unit-tests-on-load)
13121         (allout-widgets-time-decoration-activity)
13122         (allout-widgets-hook-error-post-time)
13123         (allout-widgets-track-decoration):
13124         Add missing :version tags to new defcustoms and defgroups.
13126         * progmodes/sql.el (sql-ansi-statement-starters)
13127         (sql-oracle-statement-starters): Add custom type.
13129         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13130         (prolog-system-version): Give it a type.
13132 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
13134         * term/pc-win.el (x-select-text, x-selection-owner-p)
13135         (x-own-selection-internal, x-disown-selection-internal)
13136         (x-get-selection-internal): Sync doc strings and argument lists
13137         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
13139 2012-02-11  Leo Liu  <sdl.web@gmail.com>
13141         * progmodes/python.el (python-end-of-statement): Fix infinite
13142         loop.  (Bug#10788)
13144 2012-02-10  Glenn Morris  <rgm@gnu.org>
13146         * international/mule-cmds.el (unify-8859-on-encoding-mode)
13147         (unify-8859-on-decoding-mode): Properly mark as obsolete.
13149 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
13151         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13152         about SMTP before checking the From header.
13154         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13155         into own function for reuse by emacsbug.el.
13157 2012-02-10  Leo Liu  <sdl.web@gmail.com>
13159         * subr.el (condition-case-unless-debug): Rename from
13160         condition-case-no-debug.  All callers changed.
13161         (with-demoted-errors): Fix caller.
13163         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13164         * nxml/rng-valid.el (rng-do-some-validation):
13165         * emacs-lisp/package.el (package-refresh-contents)
13166         (package-menu-execute):
13167         * desktop.el (desktop-create-buffer):
13168         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13170 2012-02-10  Glenn Morris  <rgm@gnu.org>
13172         * textmodes/bibtex.el:
13173         Add missing :version tags for new/changed defcustoms.
13175         * files.el (remote-file-name-inhibit-cache): Doc fixes.
13177 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
13179         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13180         (smtpmail-via-smtp): Use it, or fall back on the From address.
13181         (smtpmail-send-it): Ditto.
13183 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13185         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13186         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
13187         (byte-compile-tmp-var): New const.
13188         (byte-compile-defvar): Use it to minimize .elc size.
13189         Just use `defvar' rather than simulate it (bug#10761).
13191 2012-02-09  Glenn Morris  <rgm@gnu.org>
13193         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
13195         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13196         Add :version tags.
13198         * progmodes/compile.el (compilation-error-screen-columns)
13199         (compilation-first-column, compilation-filter-start): Doc fixes.
13201         * vc/log-view.el (log-view-toggle-entry-display):
13202         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13204         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13205         (report-emacs-bug-can-use-xdg-email):
13206         (report-emacs-bug-insert-to-mailer): Doc fixes.
13207         (report-emacs-bug): Message fix.
13209         * net/browse-url.el (browse-url-can-use-xdg-open)
13210         (browse-url-xdg-open): Doc fixes.
13212         * electric.el (electric-indent-mode, electric-pair-mode)
13213         (electric-layout-rules, electric-layout-mode): Doc fixes.
13214         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13216 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
13218         * server.el (server-unselect-display): Don't inadvertently kill
13219         the current buffer.  (Bug#10729)
13221 2012-02-08  Glenn Morris  <rgm@gnu.org>
13223         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13224         (sql-list-table): Doc fixes.
13226         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13227         Comment out (does nothing).
13229         * completion.el (dynamic-completion-mode):
13230         * dirtrack.el (dirtrack-debug-mode):
13231         * electric.el (electric-layout-mode):
13232         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13233         * face-remap.el (text-scale-mode, buffer-face-mode):
13234         * iimage.el (iimage-mode):
13235         * image-mode.el (image-transform-mode):
13236         * minibuffer.el (completion-in-region-mode):
13237         * scroll-lock.el (scroll-lock-mode):
13238         * simple.el (next-error-follow-minor-mode):
13239         * tar-mode.el (tar-subfile-mode):
13240         * tooltip.el (tooltip-mode):
13241         * vcursor.el (vcursor-use-vcursor-map):
13242         * wid-browse.el (widget-minor-mode):
13243         * emulation/tpu-edt.el (tpu-edt-mode):
13244         * emulation/tpu-extras.el (tpu-cursor-free-mode):
13245         * international/iso-ascii.el (iso-ascii-mode):
13246         * language/thai-util.el (thai-word-mode):
13247         * mail/supercite.el (sc-minor-mode):
13248         * net/goto-addr.el (goto-address-mode):
13249         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13250         * progmodes/cwarn.el (cwarn-mode):
13251         * progmodes/flymake.el (flymake-mode):
13252         * progmodes/glasses.el (glasses-mode):
13253         * progmodes/hideshow.el (hs-minor-mode):
13254         * progmodes/pascal.el (pascal-outline-mode):
13255         * textmodes/enriched.el (enriched-mode):
13256         * vc/smerge-mode.el (smerge-mode):
13257         Doc fixes (minor mode argument).
13259 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
13261         * ls-lisp.el (ls-lisp-sanitize): New function.
13262         (ls-lisp-insert-directory): Use it to fix or remove any elements
13263         in file-alist with missing attributes.  (Bug#4673)
13265 2012-02-07  Alan Mackenzie  <acm@muc.de>
13267         Fix spurious recognition of c-in-knr-argdecl.
13269         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13270         putative K&R region.
13272 2012-02-07  Alan Mackenzie  <acm@muc.de>
13274         * progmodes/cc-engine.el (c-forward-objc-directive):
13275         Prevent looping in "#pragma mark @implementation".
13277 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
13279         * notifications.el (notifications-on-closed-signal): Make `reason'
13280         optional.  (Bug#10744)
13282 2012-02-07  Glenn Morris  <rgm@gnu.org>
13284         * emacs-lisp/easy-mmode.el (define-minor-mode):
13285         Doc fixes for the macro and the mode it defines.
13287         * image.el (imagemagick-types-inhibit): Doc fix.
13289         * cus-start.el (imagemagick-render-type): Add it.
13291 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
13293         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13294         Set the default at load time, too, so that `font-lock-fontify-buffer'
13295         can be called without setting up the entire mode first.  This fixes
13296         a bug in `mm-inline-text' with C MIME parts.
13298 2012-02-06  Chong Yidong  <cyd@gnu.org>
13300         * simple.el (list-processes--refresh): Delete exited processes
13301         (Bug#8094).
13303         * comint.el (comint-next-prompt): next-single-char-property-change
13304         and prev-single-char-property-change never return nil (Bug#8657).
13306         * custom.el (defcustom): Doc fix (Bug#9711).
13308 2012-02-05  Chong Yidong  <cyd@gnu.org>
13310         * cus-edit.el (custom-variable-reset-backup): Quote the value
13311         before storing it in the customized-value property (Bug#6712).
13312         (custom-display): Add a customization type tag.
13313         (custom-buffer-create-internal): Improve tooltip message.
13315         * wid-edit.el (widget-field-value-get): New optional arg to
13316         suppress trailing whitespace truncation.
13317         (character): Use it (Bug#2689).
13319 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
13321         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13322         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13324 2012-02-05  Chong Yidong  <cyd@gnu.org>
13326         * cus-edit.el (custom-variable-value-create): For mismatched
13327         types, show the current value (Bug#7600).
13329         * custom.el (defcustom): Doc fix.
13331 2012-02-05  Glenn Morris  <rgm@gnu.org>
13333         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13335 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
13337         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13338         (pp-buffer): Use `ignore-errors', `looking-at-p'.
13339         (pp-last-sexp): Use `looking-at-p'.
13341 2012-02-04  Glenn Morris  <rgm@gnu.org>
13343         * files.el (revert-buffer):
13344         Doc fix (mention revert-buffer-in-progress-p).
13346         * emacs-lisp/ert-x.el (ert-simulate-command):
13347         Check deferred-action-list (which is obsolete) is bound.
13349         * subr.el (with-wrapper-hook): Doc fixes.
13351         * simple.el (filter-buffer-substring-functions)
13352         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13354 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
13356         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13357         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
13359 2012-02-04  Leo Liu  <sdl.web@gmail.com>
13361         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13363 2012-02-04  Glenn Morris  <rgm@gnu.org>
13365         * image.el (image-extension-data): Add obsolete alias.
13367         * isearch.el (isearch-update): Doc fix.
13369         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13371         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13373 2012-02-03  Glenn Morris  <rgm@gnu.org>
13375         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
13376         (image-animate-timeout): Doc fix.
13378         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13380 2012-02-02  Glenn Morris  <rgm@gnu.org>
13382         * server.el (server-auth-dir): Doc fix.
13383         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
13385         * subr.el (run-mode-hooks): Doc fix.
13387 2012-02-02  Juri Linkov  <juri@jurta.org>
13389         * image-mode.el (image-toggle-display-image): Remove tautological
13390         `major-mode' from the `derived-mode-p' test.
13392 2012-02-02  Kenichi Handa  <handa@m17n.org>
13394         * composite.el (compose-region): Cancel previous change.
13396 2012-02-02  Kenichi Handa  <handa@m17n.org>
13398         * composite.el (compose-region, compose-string): Signal error for
13399         a null string component (Bug#6988).
13401 2012-02-01  Chong Yidong  <cyd@gnu.org>
13403         * view.el (view-buffer-other-window, view-buffer-other-frame):
13404         Handle special modes like view-buffer (Bug#10650).
13405         (view-buffer): Simplify.
13407         * frame.el (set-frame-font): Tweak meaning of third argument.
13409         * dynamic-setting.el (font-setting-change-default-font):
13410         Use set-frame-font (Bug#9982).
13412 2012-02-01  Glenn Morris  <rgm@gnu.org>
13414         * progmodes/compile.el (compilation-internal-error-properties):
13415         Respect compilation-first-column in the "*compilation*" buffer.
13417         * emacs-lisp/easy-mmode.el (define-minor-mode):
13418         Relax :variable's test for a named function.
13420 2012-01-31  Alan Mackenzie  <acm@muc.de>
13422         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13423         off by one error.
13425 2012-01-31  Chong Yidong  <cyd@gnu.org>
13427         * frame.el (set-frame-font): New arg ALL-FRAMES.
13429         * menu-bar.el (menu-set-font): Use set-frame-font.
13431         * faces.el (face-spec-reset-face): Don't apply unspecified
13432         attribute values to the default face.
13434 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
13436         * progmodes/cwarn.el (cwarn): Remove dead link.
13437         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13438         Remove * from defcustom docstrings.
13439         (turn-on-cwarn-mode): Make obsolete.
13440         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13441         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13443 2012-01-31  Glenn Morris  <rgm@gnu.org>
13445         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
13446         Fix :variable handling of mode a symbol not equal to modefun.
13447         Allow named functions to be used as the cdr of :variable.
13449 2012-01-30  Glenn Morris  <rgm@gnu.org>
13451         * emacs-lisp/authors.el (authors-fixed-entries):
13452         Remove reference to deleted file rnewspost.el.
13454 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
13456         * window.el (window-with-parameter): Remove unused variable `windows'.
13457         (window--side-check): Remove unused variable `code'.
13458         (window--resize-siblings): Remove unused variable `first'.
13459         (adjust-window-trailing-edge): Remove unused variable `failed'.
13460         (window-deletable-p, window--delete): Remove unused variable `buffer'.
13461         Use `let', not `let*'.
13462         (balance-windows-2): Remove unused variable `found'.
13463         (window--state-put-2): Remove unused variable `splits'.
13464         (window-state-put): Remove unused variable `selected'.
13465         (same-window-p): Use `string-match-p'.
13466         (display-buffer-assq-regexp): Remove unused variable `value'.
13467         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13468         Mark argument ALIST as ignored.
13469         (pop-to-buffer): Remove unused variable `old-window'.
13471 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
13473         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13474         and .lzma compressed files.
13476 2012-01-29  Chong Yidong  <cyd@gnu.org>
13478         * frame.el (window-system-default-frame-alist): Doc fix.
13480         * dynamic-setting.el (font-setting-change-default-font): Don't
13481         change the default face if SET-FONT argument is non-nil (Bug#9982).
13483 2012-01-29  Samuel Bronson  <naesten@gmail.com>
13485         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13487 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
13489         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13490         breakpoints in files outside current directory (Bug#6098).
13492 2012-01-29  Chong Yidong  <cyd@gnu.org>
13494         * progmodes/python.el: Require ansi-color at top-level.
13496         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13497         Define and use in Emacs Lisp mode (Bug#9360).
13498         (lisp-mode-abbrev-table): Add doc.
13499         (lisp-mode-variables): Don't set local-abbrev-table.
13500         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13502 2012-01-28  Roland Winkler  <winkler@gnu.org>
13504         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13506 2012-01-28  Roland Winkler  <winkler@gnu.org>
13508         * textmodes/bibtex.el (bibtex-entry-alist): New function.
13509         (bibtex-set-dialect): Use it.  Either set global values of
13510         dialect-dependent variables or bind these variables buffer-locally
13511         (Bug#10254).
13512         (bibtex-mode): Call bibtex-set-dialect via
13513         hack-local-variables-hook.
13514         (bibtex-dialect): Update docstring.
13515         Add safe-local-variable predicate.
13516         (bibtex-entry-alist, bibtex-field-alist): Initialize via
13517         bibtex-set-dialect.
13518         (bibtex-mode-map): Define menu for each dialect.
13519         (bibtex-entry): Fix docstring.
13521 2012-01-28  Chong Yidong  <cyd@gnu.org>
13523         * eshell/esh-arg.el (eshell-quote-argument): New function.
13525         * eshell/esh-ext.el (eshell-invoke-batch-file):
13526         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13527         first arg to eshell-parse-command (Bug#10523).
13529 2012-01-28  Drew Adams  <drew.adams@oracle.com>
13531         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13532         `default-directory' is non-nil.
13534 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
13536         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13537         line that displays system-configuration-options.  (Bug#9924)
13539 2012-01-28  Drew Adams  <drew.adams@oracle.com>
13541         * descr-text.el (describe-char): Show information about POS, in
13542         addition to information about the character at POS.  Improve and
13543         update the doc string.  Change "code point" to "code point in
13544         charset", to avoid confusion with the character's Unicode code
13545         point shown above that.  (Bug#10129)
13547 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
13549         * descr-text.el (describe-char): Show the raw character, not only
13550         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
13551         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13552         for the reasons.
13554 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
13556         * emacs-lisp/package.el (package-install):
13557         Run package-refresh-contents if there is no archive yet (Bug#9798).
13559 2012-01-28  Chong Yidong  <cyd@gnu.org>
13561         * emacs-lisp/package.el (package-maybe-load-descriptor):
13562         New function, split from package-maybe-load-descriptor.
13563         (package-maybe-load-descriptor): Use it.
13564         (package-download-transaction): Fully load required packages
13565         inside the loop, so that `require' calls work (Bug#10593).
13566         (package-install): No need to call package-initialize now.
13568 2012-01-28  Chong Yidong  <cyd@gnu.org>
13570         * simple.el (deactivate-mark): Doc fix (Bug#8614).
13572         * tooltip.el (tooltip-mode): Doc fix.
13573         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13575         * frame.el (set-cursor-color): Doc fix (Bug#352).
13577         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13578         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13580         * cus-edit.el (custom-buffer-create-internal): Fix search button
13581         action (Bug#10542).
13582         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
13584 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
13586         * dired.el (dired-mark-files-regexp):
13587         Include any subdirectory components.  (Bug#10445)
13589 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
13591         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13592         Handle [host]:port syntax.  (Bug#10533)
13594 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
13596         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13598 2012-01-26  Glenn Morris  <rgm@gnu.org>
13600         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13601         * term.el (term-raw-escape-map): Use Control-X-prefix.
13602         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
13604 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
13606         * window.el (window-state-get, window--state-get-1): Don't deal
13607         with fixed-sizeness of windows.  Simplify code.
13609 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
13611         * window.el (window--state-get-1, window--state-put-2):
13612         Don't save and restore the mark.
13614 2012-01-25  Chong Yidong  <cyd@gnu.org>
13616         * custom.el (custom-variable-p): Doc fix.
13618 2012-01-25  Glenn Morris  <rgm@gnu.org>
13620         * dired.el (dired-goto-file): Handle some of the more common
13621         characters that `ls -b' escapes.  (Bug#10596)
13623         * progmodes/compile.el (compilation-next-error-function):
13624         Respect compilation-first-column in the "*compilation*" buffer.
13625         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
13627         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
13629 2012-01-24  Glenn Morris  <rgm@gnu.org>
13631         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
13633 2012-01-24  Julien Danjou  <julien@danjou.info>
13635         * color.el (color-rgb-to-hsl): Fix value computing.
13636         (color-hue-to-rgb): New function.
13637         (color-hsl-to-rgb): New function.
13638         (color-clamp, color-saturate-hsl, color-saturate-name)
13639         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13640         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13642 2012-01-24  Glenn Morris  <rgm@gnu.org>
13644         * vc/vc-rcs.el (vc-rcs-create-tag):
13645         * vc/vc-sccs.el (vc-sccs-create-tag):
13646         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
13648 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
13650         * eshell/esh-util.el (eshell-read-hosts-file):
13651         Skip comment lines.  (Bug#10549)
13653         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
13655 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
13657         * subr.el (display-delayed-warnings): Doc fix.
13658         (collapse-delayed-warnings): New function to collapse identical
13659         adjacent warnings.
13660         (delayed-warnings-hook): Add it.
13662 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
13664         * net/tramp.el (tramp-action-login): Set connection property "login-as".
13666         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13667         (tramp-default-user-alist): Don't add "pscp".
13668         (tramp-do-copy-or-rename-file-out-of-band): Use connection
13669         property "login-as", if set.  (Bug#10530)
13671 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
13673         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13674         "plink1" and "psftp".  (Bug#10530)
13676 2012-01-21  Kenichi Handa  <handa@m17n.org>
13678         * international/mule-cmds.el (prefer-coding-system): Show a
13679         warning message if the default value of file-name-coding-system
13680         was not changed.
13682 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
13684         * windmove.el (windmove-reference-loc):
13685         Fix windmove-reference-loc miscalculation.
13687 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
13689         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13690         default unit.
13692 2012-01-21  Glenn Morris  <rgm@gnu.org>
13694         * international/mule.el (auto-coding-alist): Add .tbz.
13696         * files.el (local-enable-local-variables): Doc fix.
13697         (inhibit-local-variables-regexps): Rename from
13698         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
13699         Doc fix.  Add some extensions from auto-coding-alist.
13700         (inhibit-local-variables-suffixes):
13701         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
13702         (inhibit-local-variables-p):
13703         New function, extracted from set-auto-mode-1.
13704         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
13705         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
13706         (hack-local-variables): Doc fix.  Make the mode-only case
13707         respect enable-local-variables and friends.
13708         Respect inhibit-local-variables-regexps for file-locals, but
13709         not for directory-locals.
13710         (set-visited-file-name):
13711         Take account of inhibit-local-variables-regexps.
13712         Whether it applies may change as the file name is changed.
13713         * jka-cmpr-hook.el (jka-compr-install):
13714         * jka-compr.el (jka-compr-uninstall):
13715         Update for inhibit-first-line-modes-suffixes name change.
13717 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
13719         * help-macro.el (make-help-screen): Temporarily restore original
13720         binding for minor-mode-map-alist (Bug#10454).
13722 2012-01-19  Julien Danjou  <julien@danjou.info>
13724         * color.el (color-name-to-rgb): Use the white color to find the max
13725         color component value and return correctly computed values.
13726         (color-name-to-rgb): Add missing float conversion for max value.
13728 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
13730         * window.el (window--state-get-1, window-state-get): Do not use
13731         special state value for window-persistent-parameters.
13732         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
13733         (window--state-put-2): Reset all window parameters to nil before
13734         assigning values of persistent parameters.
13736 2012-01-18  Alan Mackenzie  <acm@muc.de>
13738         Eliminate sluggishness and hangs in fontification of "semicolon
13739         deserts".
13741         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13742         Change value 10000 -> 3000.
13743         (c-state-safe-place): Reformulate so it doesn't stack up an
13744         infinite number of wrong entries in c-state-nonlit-pos-cache.
13745         (c-determine-limit-get-base, c-determine-limit): New functions to
13746         determine backward search limits disregarding literals.
13747         (c-find-decl-spots): Amend commenting.
13748         (c-cheap-inside-bracelist-p): New function which detects "={".
13750         * progmodes/cc-fonts.el
13751         (c-make-font-lock-BO-decl-search-function): Give a limit to a
13752         backward search.
13753         (c-font-lock-declarations): Fix an occurrence of point being
13754         undefined.  Check additionally for point being in a bracelist or
13755         near a macro invocation without a semicolon so as to avoid a
13756         fruitless time consuming search for a declarator.  Give a more
13757         precise search limit for declarators using the new
13758         c-determine-limit.
13760 2012-01-18  Glenn Morris  <rgm@gnu.org>
13762         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13763         (set-auto-mode): Doc fixes.
13765 2012-01-17  Glenn Morris  <rgm@gnu.org>
13767         * isearch.el (search-nonincremental-instead): Fix doc typo.
13769         * dired.el (dired-insert-directory): Handle newlines in directory name.
13770         (dired-build-subdir-alist): Unescape newlines in directory name.
13772 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
13774         * net/tramp.el (tramp-local-end-of-line): New defcustom.
13775         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13776         (tramp-action-terminal): Use it.  (Bug#10530)
13778 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13780         * minibuffer.el (completion--replace): Strip properties (bug#10062).
13782 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
13784         * window.el (window-state-ignored-parameters): Remove variable.
13785         (window--state-get-1): Rename argument MARKERS to IGNORE.
13786         Handle persistent window parameters.  Make copy of clone-of
13787         parameter only if requested.  (Bug#10348)
13788         (window--state-put-2): Install a window parameter only if it has
13789         a non-nil value or an existing parameter shall be overwritten.
13791 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
13793         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13795 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
13797         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13798         don't pass the (nil) value of `upnode' to string-match.
13800 2012-01-14  Chong Yidong  <cyd@gnu.org>
13802         * startup.el (command-line): Fix X resource class for cursorColor.
13803         Fix values recognized by the cursorBlink resource.
13805 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
13807         * epg.el (epg--make-temp-file): Avoid permission race condition
13808         when running on old Emacs versions (bug#10403).
13810 2012-01-14  Glenn Morris  <rgm@gnu.org>
13812         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13814 2012-01-13  Alan Mackenzie  <acm@muc.de>
13816         Fix filling for when filladapt mode is enabled.
13818         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13819         c-mask-paragraph, pass in `fill-paragraph' rather than
13820         `fill-region-as-paragraph'.  (This is a reversion of a previous
13821         change.)
13822         * progmodes/cc-mode.el (c-basic-common-init):
13823         Make fill-paragraph-handle-comment buffer local and set it to nil.
13825 2012-01-13  Glenn Morris  <rgm@gnu.org>
13827         * dired.el (dired-switches-escape-p): New function.
13828         (dired-insert-directory): Use dired-switches-escape-p.
13829         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
13831         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
13833 2012-01-12  Glenn Morris  <rgm@gnu.org>
13835         * mail/sendmail.el (mail-mode): Update paragraph-separate for
13836         changes in adaptive-fill-regexp.  (Bug#10276)
13838 2012-01-11  Alan Mackenzie  <acm@muc.de>
13840         Fix Emacs bug #10463 - put `widen's around the critical spots.
13842         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
13843         widen around each invocation of c-state-pp-to-literal.  Remove an
13844         unused let variable.
13846 2012-01-11  Glenn Morris  <rgm@gnu.org>
13848         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
13849         Doc fix.
13851 2012-01-10  Chong Yidong  <cyd@gnu.org>
13853         * net/network-stream.el (network-stream-open-starttls):
13854         Avoid emitting a confusing error message when the server gives a bad
13855         response to the capability command.
13857 2012-01-10  Glenn Morris  <rgm@gnu.org>
13859         * mail/unrmail.el (unrmail): Tweak previous change.
13861 2012-01-09  Chong Yidong  <cyd@gnu.org>
13863         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13865 2012-01-08  Alan Mackenzie  <acm@muc.de>
13867         Optimize font locking in long enum definitions.
13869         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13870         arm to a cond form to handle enums.
13871         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13872         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13874 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
13876         * files.el (move-file-to-trash): Preserve default file modes on error.
13877         (Bug#10401)
13879 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13881         * faces.el (set-face-attribute): Clarify the meaning of the nil
13882         frame (bug#10294).
13884         * subr.el (with-selected-frame): Mention that the selected frame
13885         is restored (bug#9980).
13887         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13888         (bug#9759).
13890         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
13891         (password-read): Don't autoload unused function.
13893 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
13895         * progmodes/which-func.el (which-func-mode): Turn into a
13896         non-interactive function and mark as obsolete (bug#10428).
13898 2012-01-06  Chong Yidong  <cyd@gnu.org>
13900         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13901         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13902         functions, along with 1 and -1.
13904 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
13906         * time.el (display-time-load-average)
13907         (display-time-default-load-average): Doc fixes.  See the thread
13908         starting at
13909         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13910         for the details.
13912 2012-01-06  Glenn Morris  <rgm@gnu.org>
13914         * mail/unrmail.el (unrmail): Give an explicit error if the input file
13915         has no messages.  (Bug#10377)
13917         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13918         than Info-edit.  (Bug#10385)
13920         * time.el (display-time-load-average, display-time-next-load-average):
13921         Doc fixes.
13923         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13924         local setting of buffer-read-only to the input buffer.  (Bug#10419)
13926         * calendar/calendar.el (calendar-mode):
13927         Locally set scroll-margin to 0.  (Bug#10379)
13929 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
13931         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
13933 2012-01-05  Glenn Morris  <rgm@gnu.org>
13935         * eshell/em-unix.el (diff-no-select): Autoload it.
13936         (eshell/diff): Use diff-no-select.  (Bug#10420)
13938 2012-01-05  Chong Yidong  <cyd@gnu.org>
13940         * shell.el (shell-dynamic-complete-functions): Revert last change.
13941         (shell-command-completion-function): New function.
13942         (shell-completion-vars): Use it to implement
13943         shell-completion-execonly (Bug#10417).
13945         * custom.el (enable-theme): Don't set custom-safe-themes.
13947         * cus-theme.el (custom-theme-merge-theme):
13948         Ignore custom-enabled-themes and custom-safe-themes.
13950 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
13952         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13953         first prompt in `sql-interacive-mode'.
13954         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
13955         keywords.
13956         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
13957         (sql-product-interactive): Bug fix: Set `sql-buffer' in
13958         context of original buffer.  Invoke `sql-login-hook'.
13960 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
13962         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13963         letters in cite-prefix.
13965 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13967         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13969 2012-01-03  Chong Yidong  <cyd@gnu.org>
13971         * shell.el (shell-dynamic-complete-functions):
13972         Put pcomplete-completions-at-point, so as to try
13973         comint-filename-completion first (Bug#10417).
13975 2012-01-02  Richard Stallman  <rms@gnu.org>
13977         * battery.el (battery-status-function):
13978         Detect when to use battery-yeeloong-sysfs.
13979         (battery-echo-area-format): Add string for Yeeloong.
13980         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13981         (battery-yeeloong-sysfs): New function.
13983 2012-01-02  Chong Yidong  <cyd@gnu.org>
13985         * dirtrack.el (dirtrack-list): Eliminate unused third element.
13986         (dirtrack): Merge code for handling relative filenames in prompt
13987         from shell-dir-cookie-watcher.
13988         (dirtrack-debug-message): New arg to avoid excess format calls.
13990         * shell.el (shell-dir-cookie-re): Variable deleted.
13991         (shell-dir-cookie-watcher): Function deleted.
13992         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13993         with dirtrack-mode.
13995 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
13997         * term/w32-win.el (dynamic-library-alist) <gnutls>:
13998         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13999         libgnutls-26.dll.
14001 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
14003         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14005 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
14007         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14008         headers of non-MIME messages, when rmail-enable-mime is non-nil.
14010 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
14012         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14013         also for alternative shells.
14014         (tramp-open-connection-setup-interactive-shell): Check, whether
14015         the shell is a busybox.
14016         (tramp-send-command): Don't suppress multiple prompts for
14017         busyboxes, it hurts.
14019 2011-12-28  Chong Yidong  <cyd@gnu.org>
14021         * progmodes/gdb-mi.el (gdb-get-source-file-list)
14022         (gdb-get-source-file): Move mode line update to
14023         gdb-get-source-file (Bug#10087).
14025 2011-12-25  Chong Yidong  <cyd@gnu.org>
14027         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14028         gud-gdb-marker-filter without taking it as an argument.
14029         (gud-gdb-run-command-fetch-lines): Caller changed.
14030         (gud-gdb-completion-function): New variable.
14031         (gud-gdb-completion-at-point): Use it.
14032         (gud-gdb-completions-1): Split from gud-gdb-completions.
14034         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14035         function as separate arguments.
14036         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14037         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14038         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14039         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14040         (gdb-stopped, def-gdb-auto-update-trigger)
14041         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14042         (gdb-get-changed-registers, gdb-get-main-selected-frame):
14043         Callers changed.
14044         (gud-gdbmi-completions): New function.
14045         (gdb): Use it for generating the completion table.
14047 2011-12-24  Alan Mackenzie  <acm@muc.de>
14049         Introduce a mechanism to widen the region used in context font
14050         locking.  Use this to protect declarations from losing their contexts.
14052         * progmodes/cc-langs.el (c-before-font-lock-functions):
14053         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14054         (c-before-context-fontification-functions): New defvar, a list of
14055         functions to be run just before context (etc.) font locking.
14057         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14058         New, functionality extracted from
14059         c-neutralize-syntax-in-and-mark-CPP.
14060         (c-in-after-change-fontification): New variable.
14061         (c-after-change): Set c-in-after-change-fontification.
14062         (c-set-fl-decl-start): Rejig its interface, so it can be called
14063         from both after-change and context fontifying.
14064         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14065         New functions.
14066         (c-standard-font-lock-fontify-region-function): New variable.
14067         (c-font-lock-fontify-region): New function.
14069 2011-12-24  Juri Linkov  <juri@jurta.org>
14071         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14072         (Bug#10348)
14074 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
14076         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14077         existence of source file.  (Bug#10325)
14079 2011-12-23  Alan Mackenzie  <acm@muc.de>
14081         Fix unstable fontification inside templates.
14083         * progmodes/cc-langs.el (c-before-font-lock-functions):
14084         Newly created from the singular version.  The (c c++ objc) entry now
14085         additionally has c-set-fl-decl-start.  The other languages (apart
14086         from AWK) have that as a single entry.
14088         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14089         The functionality for "local" declarations has been extracted to
14090         c-set-fl-decl-start.
14092         * progmodes/cc-mode.el (c-common-init, c-after-change):
14093         Changes due to pluralisation of c-before-font-lock-functions.
14094         (c-set-fl-decl-start): New function, extracted from
14095         c-font-lock-enclosing-decls and enhanced.
14097 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
14099         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14101 2011-12-22  Juri Linkov  <juri@jurta.org>
14103         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
14105 2011-12-22  Chong Yidong  <cyd@gnu.org>
14107         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14109 2011-12-21  Drew Adams  <drew.adams@oracle.com>
14111         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
14113 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
14115         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14117 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
14119         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
14120         highlighting and support.  Fix up comments for capitalization.
14121         (cfengine-mode-debug): New var.
14122         (cfengine3-mode): Change the modeline indicator to "CFE3".
14123         (cfengine3-font-lock-keywords): Improve defun highlighting.
14124         (cfengine2-actions): Rename from `cfengine-actions'.
14125         (cfengine2-font-lock-keywords): Rename from
14126         `cfengine-font-lock-keywords'.
14127         (cfengine2-imenu-expression): Rename from
14128         `cfengine-imenu-expression'.
14129         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14130         (cfengine2-beginning-of-defun): Rename from
14131         `cfengine-beginning-of-defun'.
14132         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14133         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14134         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
14135         modeline indicator to "CFE2".
14136         (cfengine-mode): Defalias to `cfengine-auto-mode'.
14137         (cfengine-mode-abbrevs): Mark obsolete.
14139 2011-12-21  Chong Yidong  <cyd@gnu.org>
14141         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14142         filename argument.
14144 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
14146         * window.el (window-normalize-buffer-to-display): Remove.
14147         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14149 2011-12-19  Chong Yidong  <cyd@gnu.org>
14151         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14152         Don't signal an error in a predicate function; return non-nil.
14153         (vc-dir-mark-file): Move the error here.
14154         (vc-dir-mark-unmark): If acting on the region, keep going if one
14155         of the entries cannot be marked/unmarked.
14156         (vc-dir-mark-all-files): If current entry is a directory, mark
14157         only child files, as documented.
14159 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14161         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14162         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14163         addition.
14165 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
14167         * term/ns-win.el (ns-get-selection-internal)
14168         (ns-store-selection-internal): Declare.
14169         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14170         Declare as obsolete.
14171         (ns-get-pasteboard, ns-paste-secondary):
14172         Use ns-get-selection-internal.
14173         (ns-set-pasteboard, ns-copy-including-secondary):
14174         Use ns-store-selection-internal.
14176 2011-12-17  Chong Yidong  <cyd@gnu.org>
14178         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14179         (vc-deduce-fileset): Doc fix.
14181 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
14183         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14185 2011-12-13  Sam Steingold  <sds@gnu.org>
14187         * man.el (Man-getpage-in-background): When running under a
14188         window-system, ignore $MANWIDTH and $COLUMNS.
14190 2011-12-15  Kenichi Handa  <handa@m17n.org>
14192         * language/ethio-util.el: Change coding tag to utf-8-emacs.
14193         (setup-ethiopic-environment-internal): Comment out key-binding for
14194         ethio-toggle-punctuation.
14196 2011-12-13  Alan Mackenzie  <acm@muc.de>
14198         Add the switch statement to AWK Mode.
14200         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14201         "default" to the keywords regexp.
14203         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14204         expression as the rest.
14205         (c-nonlabel-token-key): Allow string literals for AWK.
14206         Refactor for the other modes.
14208         Large brace-block initialisation makes CC Mode slow: Fix.
14209         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14210         routines.  Limit backward searching in c-font-lock-enclosing.decl.
14212         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14213         pp-state and literal type in addition to the limits.
14214         (c-state-safe-place): New defun, extracted from c-state-literal-at.
14215         (c-state-literal-at): Use the above new defun.
14216         (c-slow-in-literal, c-fast-in-literal): Remove.
14217         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14219         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14220         being in a literal.  Add a limit for backward searching.
14222         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14223         c-slow-in-literal.
14225 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14227         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14229 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
14231         * window.el (delete-other-windows): Use correct frame in call to
14232         window-with-parameter.
14234 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
14236         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14237         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14238         (makefile-gmake-statements, makefile-makepp-statements):
14239         Use it and add new makepp keywords.
14240         (makefile-makepp-font-lock-keywords): Add new patterns.
14241         (makefile-match-function-end): Match new [...] and [[...]].
14243 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
14245         * ses.el (ses-call-printer-return, ses-cell-property-get)
14246         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14247         (ses-create-cell-variable, ses-reset-header-string)
14248         (ses-cell-set-formula, ses-repair-cell-reference-all)
14249         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14250         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14251         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14252         (ses-aset-with-undo, ses-load, ses-truncate-cell)
14253         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14254         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14255         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14256         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14257         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14258         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14259         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14260         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14262 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14264         * ses.el: The overall change is to add cell renaming, that is
14265         setting fancy names for cell symbols other than name matching
14266         "\\`[A-Z]+[0-9]+\\'" regexp .
14267         (ses-create-cell-variable): New defun.
14268         (ses-relocate-formula): Relocate formulas only for cells the
14269         symbols of which are not renamed, i.e. symbols whose names do not
14270         match regexp "\\`[A-Z]+[0-9]+\\'".
14271         (ses-relocate-all): Relocate values only for cells the symbols of
14272         which are not renamed.
14273         (ses-load): Create cells variables as the (ses-cell ...) are read,
14274         in order to check row col consistency with cell symbol name only
14275         for cells that are not renamed.
14276         (ses-replace-name-in-formula): New defun.
14277         (ses-rename-cell): New defun.
14279 2011-12-11  Chong Yidong  <cyd@gnu.org>
14281         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14282         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14284 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
14286         * window.el (other-window): Fix docstring.
14288 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
14290         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
14291         `from' or `to' address before taking its substring.
14292         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
14293         encoded name is chopped in the middle of the encoded string, and
14294         thus displayed encoded.
14296 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
14298         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14300 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
14302         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
14303         to use texinfo-update-node and commands that call it if the
14304         Texinfo file uses @node lines without next/prev/up pointers.
14305         Correct outdated description about texinfo-master-menu.
14306         (texinfo-all-menus-update, texinfo-master-menu)
14307         (texinfo-update-node, texinfo-every-node-update)
14308         (texinfo-multiple-files-update): Doc fix.  Warn against updating
14309         all the @node lines.
14310         (texinfo-master-menu): Only call texinfo-update-node if the prefix
14311         argument is numeric.  Explain better in the doc string what the
14312         function really does.
14313         (texinfo-insert-master-menu-list): Improve the error message
14314         displayed if there's no menu in the Top node.
14315         (Bug#2975)  See also this thread:
14316         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14318 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
14320         * speedbar.el (speedbar-supported-extension-expressions):
14321         Add .adb and .ads, commonly used for Ada source code (bug#10256).
14323 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
14325         * printing.el (pr-mode-alist):
14326         * simple.el (filter-buffer-substring-functions)
14327         (completion-list-insert-choice-function):
14328         * window.el (window-with-parameter, window-atom-root)
14329         (window-sides-slots, window-size-fixed, window-min-delta)
14330         (window-max-delta, window--resize-mini-window)
14331         (window--resize-child-windows-normal, window-tree)
14332         (delete-other-windows, quit-window, split-window)
14333         (display-buffer-record-window, special-display-buffer-names)
14334         (special-display-regexps, special-display-popup-frame)
14335         (same-window-p, split-window-sensibly)
14336         (display-buffer-overriding-action, display-buffer-alist)
14337         (display-buffer-base-action, display-buffer, switch-to-buffer)
14338         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14339         (fit-window-to-buffer, recenter-positions)
14340         (mouse-autoselect-window-state, mouse-autoselect-window-select):
14341         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14342         and remove unneeded backslashes in docstrings.
14344 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14346         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14348         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14349         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14350         end in ".mk".
14351         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14352         when reading the makefile (bug#10116).
14354 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14356         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14357         (bug#10116).
14359 2011-12-06  Glenn Morris  <rgm@gnu.org>
14361         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14363 2011-12-06  Chong Yidong  <cyd@gnu.org>
14365         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14367 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
14369         * textmodes/table.el (table-shorten-cell): Fix typo.
14371 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
14373         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14375 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
14377         * descr-text.el (describe-char): Fix display of strong
14378         right-to-left characters and directional embeddings and overrides.
14380         * simple.el (what-cursor-position): Fix display of codepoints of
14381         strong right-to-left characters.
14383 2011-12-05  Chong Yidong  <cyd@gnu.org>
14385         * faces.el (read-color): Doc fix.
14387 2011-12-05  Glenn Morris  <rgm@gnu.org>
14389         * align.el (align--set-marker): Add doc-string.
14390         Don't try to move something that is not a marker.  (Bug#10216)
14392 2011-12-04  Glenn Morris  <rgm@gnu.org>
14394         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14395         overly zealous deletion of trailing whitespace.
14397 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
14399         * server.el (server-delete-client): On Windows, do not try to delete
14400         the only terminal.
14401         (server-process-filter): On Windows, treat requests for a tty frame as
14402         if they were for a GUI frame if the running server is in GUI mode.
14404 2011-12-03  Glenn Morris  <rgm@gnu.org>
14406         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
14408 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14410         * electric.el: Streamline electric-indent's hook.
14411         (electric-indent-chars): Revert to simple list.
14412         (electric-indent-functions): New var.
14413         (electric-indent-post-self-insert-function): Use it.
14415         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14416         there's no inferior buffer (bug#10196).
14417         (prolog-consult-compile): Don't use toggle-read-only.
14419 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
14421         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14422         interrupt.  (Bug#10187)
14424 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14426         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14427         (bug#9160).
14429         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14430         (bug#10191).
14432 2011-12-02  Juri Linkov  <juri@jurta.org>
14434         * info.el (Info-search): Display "end of manual" when Isearch
14435         reaches the end of single-file Info manual.  (Bug#9918)
14437 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
14439         * isearch.el (isearch-message-prefix): Run the input method part
14440         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
14442 2011-12-02  Juri Linkov  <juri@jurta.org>
14444         * isearch.el (isearch-occur): Use `word-search-regexp' for
14445         `isearch-word'.
14446         (isearch-search-and-update): Add condition for `isearch-word' and
14447         call `word-search-regexp'.  (Bug#10145)
14449 2011-12-01  Glenn Morris  <rgm@gnu.org>
14451         * eshell/em-hist.el (eshell-hist-initialize):
14452         Handle eshell-history-size nil and HISTSIZE set or unset.
14453         (eshell-history-file-name, eshell-history-size): Fix custom type.
14455 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14457         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14459 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
14461         * progmodes/verilog-mode.el (verilog-pretty-expr):
14462         Rework verilog-pretty-expr to handle new assignment operators in system
14463         verilog, such as += *= and the like.
14464         (verilog-assignment-operator-re): Regular expression to find the
14465         assigment operator in a verilog assignment.
14466         (verilog-assignment-operation-re): Regular expression to find an
14467         assignment statement for pretty-expr.
14468         (verilog-in-attribute-p): Query returns true if point is in an
14469         attribute context; used to skip these for expression line up from
14470         pretty-expr.
14471         (verilog-in-parameter-p): Query returns true if point is in an
14472         parameter definition context; used to skip these for expression
14473         line up from pretty-expr.
14474         (verilog-in-parenthesis-p): Query returns true if point is in a
14475         parenthetical expression, specifically ( ) but not [ ] or { };
14476         used by pretty-expr.
14477         (verilog-just-one-space): If there is no space, don't add one.
14478         (verilog-get-lineup-indent-2): Specifically skip just attribute
14479         contexts for expression lineup, rather than skipping all
14480         parenthetical expressions.
14481         (verilog-calculate-indent): Fix comment, and fix indent.
14482         (verilog-do-indent): Indent declarations in lists (suggested by
14483         Joachim Lechner).
14484         (verilog-mode-abbrev-table): Populate abbrev mode with the various
14485         skeleton items.
14486         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14487         by Alain Mellan).
14489 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
14491         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14492         parameters with embedded comments.  Reported by Ray Stevens.
14493         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14494         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14495         Reported by Tim Holt.
14496         (verilog-auto): Fix AUTOing a upper module then AUTOing module
14497         instantiated by upper module causing wrong expansion until AUTOed a
14498         second time.  Reported by K C Buckenmaier.
14499         (verilog-diff-auto): Fix showing .* as a difference when
14500         `verilog-auto-star-save' off.  Reported by Dan Dever.
14501         (verilog-auto-reset, verilog-read-always-signals)
14502         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14503         temporary signals in reset list if
14504         verilog-auto-reset-blocking-in-non is nil, and match assignment
14505         style to each signal's assignment type, bug381.
14506         Reported by Thomas Esposito.
14507         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14508         (verilog-uvm-statement-re): Support UVM indentation and
14509         highlighting, with old OVM keywords only.
14510         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
14511         Support AUTOTIEOFF creating non-wire data types.
14512         Suggested by Jonathan Greenlaw.
14513         (verilog-auto-insert-lisp, verilog-delete-to-paren)
14514         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14515         (verilog-inject-sense, verilog-read-inst-pins)
14516         (verilog-read-sub-decls, verilog-read-sub-decls-line):
14517         Fix mismatching parenthesis inside commented out code when deleting
14518         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
14519         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14520         non-numeric vector width.  Reported by Alex Reed.
14521         (verilog-auto-ascii-enum): Add "onehot" option to work around not
14522         detecting signals with parameter widths.  Reported by Alex Reed.
14523         (verilog-auto-delete-trailing-whitespace):
14524         With `verilog-auto-delete-trailing-whitespace' remove trailing
14525         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
14526         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14527         Fix verilog-scan-cache corruption when running user AUTO expansion
14528         hooks that call indentation routines.
14529         (verilog-simplify-range-expression): Fix typo ignoring lower case
14530         identifiers.
14531         (verilog-delete-auto): Fix delete-autos to also remove user created
14532         automatics, as long as they start with AUTO.
14533         (verilog-batch-diff-auto, verilog-diff-auto)
14534         (verilog-diff-function): Add `verilog-diff-auto' and bind to
14535         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
14536         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14537         (verilog-in-paren-quick, verilog-re-search-backward-quick)
14538         (verilog-re-search-forward-quick, verilog-syntax-ppss):
14539         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
14540         is disabled and its cache will get corrupt, causing AUTOS not to
14541         expand.  Instead use only -quick functions.
14542         (verilog-scan-region): Fix scanning over escaped quotes.
14543         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14544         (verilog-re-search-backward-quick)
14545         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14546         related functions now ignore strings, to fix misparsing of strings
14547         with magic comments embedded in them.
14548         (verilog-read-auto-template):
14549         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14550         Reported by Brad Dobbie.
14551         (verilog-read-auto-template):
14552         Fix 'verilog-auto-inst-template-numbers' with comments.
14553         Reported by Brad Dobbie.
14554         (verilog-auto-inst, verilog-auto-inst-param)
14555         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14556         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
14557         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
14558         debugging templates without merge conflicts, bug357.
14559         Reported by Brad Dobbie.
14560         (verilog-read-auto-template):
14561         Fix verilog-auto-inst-template-numbers with multiple templates.
14562         Reported by Brad Dobbie.
14563         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14564         abbrevs so user won't be asked to save.
14565         (verilog-read-auto-lisp-present): Fix to start at beginning of
14566         buffer in case called outside of verilog-auto.
14567         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14568         to "X-2".  Reported by Matthew Myers.
14569         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14570         all inputs from module templates.  Reported by Leith Johnson.
14571         (verilog-module-inside-filename-p): Fix locating programs as with
14572         modules.
14573         (verilog-auto-inst-port): Fix vl-width expressions when using
14574         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
14575         (verilog-decls-get-regs, verilog-decls-get-signals,
14576         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14577         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14578         verilog-read-decls): Combine reg and wire structures into one var
14579         structure to represent SystemVerilog concepts.
14580         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14581         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
14582         (verilog-auto-wire-type, verilog-insert-definition):
14583         Add verilog-auto-wire-type and AUTOLOGIC to support using
14584         SystemVerilog "logic" keyword instead of "wire"/"reg".
14585         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14586         to declares outputs that also have assignments (presumably in an
14587         ifdef or generate if so there's not a driver conflict).
14588         Reported by Matthew Myers.
14589         (verilog-auto-declare-nettype, verilog-insert-definition):
14590         Add verilog-auto-declare-nettype to fix declarations using
14591         `default_nettype none.  Reported by Julian Gorfajn.
14592         (verilog-read-always-signals-recurse, verilog-read-decls)
14593         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14594         malformed end statement, bug325.  Reported by Joshua Wise and
14595         Andrew Drake.
14596         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14597         (verilog-inst-comment-re): Fix not deleting Interfaced comment
14598         when expanding .* in interfaces, bug320.
14599         Reported by Pierre-David Pfister.
14600         (verilog-read-module-name): Fix import statements between module
14601         name and open parenthesis, bug317.
14602         Reported by Pierre-David Pfister.
14603         (verilog-simplify-range-expression): Fix simplification of
14604         multiplications inside AUTOWIRE connections, bug303.
14605         (verilog-auto-inst-port): Support parameter expansion in
14606         multidimensional arrays.
14607         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14608         after "assert property".  Reported by Julian Gorfajn.
14609         (verilog-simplify-range-expression): Fix "couldn't merge" errors
14610         with multiplication, bug303.
14611         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14612         Reported by Jan Frode Lonnum.
14614 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
14616         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14617         (hfy-shell-file-name, hfy-shell):
14618         * international/fontset.el (x-decompose-font-name): Fix typos.
14620 2011-11-29  Ken Brown  <kbrown@cornell.edu>
14622         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14623         (gdb-version): Remove defvar.
14624         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14625         (gdb-gud-context-command, gdb-non-stop-handler)
14626         (gdb-current-context-command, gdb-stopped): Use it.
14627         (gdb-init-1): Enable pretty printing here.
14628         (gdb-non-stop-handler): Don't enable pretty-printing here.
14629         Check to see if the target supports non-stop mode; if not, turn off
14630         non-stop mode.  Use the following.
14631         (gdb-check-target-async): New defun.
14632         (gud-watch, gdb-stopped): Fix whitespace.
14633         (gdb-get-source-file): Don't try to display the source file if
14634         `gdb-main-file' is nil.
14636 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14638         * align.el: Try to generate fewer markers (bug#10047).
14639         (align--set-marker): New macro.
14640         (align-region): Use it.
14642 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14644         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14646 2011-11-29  Chong Yidong  <cyd@gnu.org>
14648         * indent.el (indent-for-tab-command, indent-according-to-mode):
14649         Doc fix.
14650         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
14652 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
14654         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14655         aware of remote file names.  (Bug#10124)
14657 2011-11-29  Chong Yidong  <cyd@gnu.org>
14659         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14661 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14663         * files.el (find-file): Don't use force-same-window (bug#10144).
14664         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14665         use pop-to-buffer if the selected window can't be used.
14666         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14668 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
14670         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14671         special-mode-map.
14673 2011-11-28  Chong Yidong  <cyd@gnu.org>
14675         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14677 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
14679         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14680           gdb-get-source-file-list on gdb-create-source-file-list.
14682 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
14684         * whitespace.el (whitespace-newline): Use a different foreground
14685         color for 16-color light-background displays.
14687 2011-11-24  Chong Yidong  <cyd@gnu.org>
14689         * window.el (display-buffer--special-action): Doc fix.
14691 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
14693         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14694         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14695         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14696         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14697         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14698         (avl-tree-stack-first):
14699         * emacs-lisp/cconv.el (cconv--analyse-use):
14700         * net/gnutls.el (gnutls-negotiate): Fix typos.
14702 2011-11-24  Glenn Morris  <rgm@gnu.org>
14704         * lpr.el (lpr-windows-system, lpr-lp-system):
14705         * mail/binhex.el (binhex-begin-line):
14706         * progmodes/grep.el (grep-history, grep-find-history):
14707         * textmodes/flyspell.el:
14708         * vc/pcvs-defs.el (cvs-global-menu):
14709         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14710         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14711         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14713         * net/tls.el: Fix case of "GnuTLS".
14715         * paths.el (rmail-file-name): Format doc-string for make-docfile.
14717         * version.el (emacs-build-system): Give it a doc-string.
14719 2011-11-24  Juri Linkov  <juri@jurta.org>
14721         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14723 2011-11-24  Glenn Morris  <rgm@gnu.org>
14725         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14726         if called on a non-mime message just toggle the headers.  (Bug#8006)
14728 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
14730         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14731         (allout-lead-with-comment-string, allout-structure-deleted-hook)
14732         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14733         (allout-rebullet-heading, allout-open-sibtopic)
14734         (allout-toggle-current-subtree-encryption)
14735         (allout-toggle-subtree-encryption, allout-encrypt-string)
14736         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14737         (allout-distinctive-bullets-string, allout-auto-activation):
14738         * window.el (window-normalize-buffer-to-display):
14739         * progmodes/verilog-mode.el (verilog-batch-indent):
14740         * textmodes/bibtex.el (bibtex-field-braces-opt)
14741         (bibtex-field-strings-opt):
14742         * vc/cvs-status.el (cvs-tree-merge):
14743         Fix typos.
14745 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
14747         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14748         `non-essential' to t, in order to avoid remote connections.
14750 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
14752         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14753         On MS-DOS and MS-Windows, compare with loaddefs.el
14754         case-insensitively.
14756 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
14758         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
14760 2011-11-23  Glenn Morris  <rgm@gnu.org>
14762         * paths.el (rmail-file-name): Reformat the doc-string so that it
14763         is picked up.
14765         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14766         (rmail-auto-file): Ignore case in the "special" field names,
14767         as mail-fetch-field does for all others.
14769         * mail/rmail.el (rmail-forward):
14770         * mail/rmailkwd.el (rmail-set-label):
14771         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14772         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
14774         * mail/rmail.el (rmail-current-message): Doc fix.
14776         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
14778 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14780         * server.el (server-eval-and-print): Allow C-g (bug#6585).
14782 2011-11-22  Glenn Morris  <rgm@gnu.org>
14784         * mail/rmailmm.el (test-rmail-mime-handler)
14785         (test-rmail-mime-bulk-handler)
14786         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14788 2011-11-21  Juri Linkov  <juri@jurta.org>
14790         * calc/calc.el (calc-read-key-sequence):
14791         Let-bind `input-method-function' to nil.  (Bug#10018)
14793 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14795         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14796         Tell the caller that the next line needs recomputation, even
14797         though it doesn't start a sexp (bug#10094).
14799 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14801         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14803 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14805         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14806         Use force-same-window.
14808 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14810         * descr-text.el (describe-char-unicode-data):
14811         * json.el (json-string-escape):
14812         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14813         (Footnote-unicode, Footnote-style-p):
14814         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14816 2011-11-20  Chong Yidong  <cyd@gnu.org>
14818         * window.el (replace-buffer-in-windows): Restore interactive spec.
14820 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14822         * electric.el (electric-indent-mode): Fix last change (too optimistic).
14824         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14825         (byte-compile-global-not-obsolete-vars): New var.
14826         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14827         Use it.
14828         (byte-compile-warn-obsolete): Align text with the one in *Help*.
14830 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14832         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14833         * progmodes/pascal.el (electric-pascal-equal):
14834         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14835         * xml.el (xml-substitute-special): Fix typos.
14837 2011-11-20  Glenn Morris  <rgm@gnu.org>
14839         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14840         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14841         Doc fixes.
14842         (rmail-decode-mime-charset): Mark as obsolete.
14844         * mail/rmailsum.el (rmail-message-regexp-p-1):
14845         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14846         Before using mime functions, check they are set.  (Bug#10077)
14848 2011-11-19  Juri Linkov  <juri@jurta.org>
14850         * info.el (Info-finder-find-node): Use `package--builtins' instead
14851         of `package-alist'.  Use node names formed by the pattern "Keyword "
14852         and the keyword name.
14854 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
14856         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
14858 2011-11-19  Juri Linkov  <juri@jurta.org>
14860         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14861         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
14862         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14863         `old-history', `old-history-forward'.  Add let-binding
14864         `window-selected'.  Remove calls to `kill-buffer',
14865         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
14866         before calling `Info-find-node', so `Info-find-node-2' will reread
14867         the Info file.  Restore window positions only when `window-selected'
14868         is non-nil.
14870 2011-11-19  Juri Linkov  <juri@jurta.org>
14872         * isearch.el (isearch-lazy-highlight-new-loop):
14873         Remove condition `(not isearch-error)'.  (Bug#9918)
14875         * misearch.el (multi-isearch-search-fun): Add condition
14876         `(not bound)' to ignore lazy-highlighting search.
14877         Add the search-failed message "end of multi" when the end of
14878         multi-sequence is reached.  Uncapitalize the search-failed
14879         message "Repeat for next buffer".
14881         * info.el (Info-search): Add the search-failed message
14882         "end of the manual" when the end of the manual is reached
14883         in Isearch mode.
14885 2011-11-19  Juri Linkov  <juri@jurta.org>
14887         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14888         Use non-destructive `remove' instead of `delete' because
14889         `Info-history-list' stored to `Info-isearch-initial-history-list' in
14890         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14892 2011-11-19  Juri Linkov  <juri@jurta.org>
14894         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14895         to nil instead of binding `search-ring' and `regexp-search-ring'.
14896         (Bug#9185)
14898 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
14900         * simple.el (line-move): Force movement by logical lines for any
14901         hscrolled window, not only when auto-hscroll-mode is on.
14902         (line-move-visual): Update doc string to that effect.  (Bug#10076)
14904 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
14906         * language/european.el (macintosh): Define as alias for mac-roman.
14908 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
14910         * mail/rmailmm.el (rmail-mime-display-header)
14911         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14912         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14913         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14914         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14915         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14916         of a raw aref.
14917         (rmail-mime-entity-segment): To get past the tagline, move forward
14918         2 more lines, to account for the 2 empty lines that precede and
14919         follow the line with the buttons.
14920         (rmail-mime-update-tagline): Move one more line, to get past the
14921         empty line that follows the buttons in the tagline.  (Bug#9520)
14923 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
14925         * window.el (window-max-delta-1, window-min-delta-1)
14926         (window-min-size-1, window-state-get-1, window-state-put-1)
14927         (window-state-put-2): Use "window--" prefix.
14929 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14931         * emacs-lisp/smie.el: Improve warnings and conflict detection.
14932         (smie-warning-count): New var.
14933         (smie-set-prec2tab): Use it.
14934         (smie-bnf->prec2): Improve warnings.  Add docstring.
14935         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14936         (smie-bnf--set-class): New function.
14937         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
14938         corner case.
14940         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14941         (compilation-error-properties, compilation-move-to-column):
14942         Handle compilation-first-column while in the target buffer.
14944         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14945         Don't hardcode point-min==1.
14947         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14948         (eshell-rewrite-for-command): Remove workaround.
14949         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14950         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14951         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14953         * files-x.el (modify-file-local-variable): Obey commenting conventions.
14955 2011-11-17  Glenn Morris  <rgm@gnu.org>
14957         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14958         Ignore buffer-local generated-autoload-file if it is the same
14959         as the global value.  (Bug#10049)
14961 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
14963         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14964         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14965         (reftex-toc-previous-heading, reftex-toc-max-level)
14966         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14967         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14968         (reftex-toc-do-promote, reftex-toc-promote-prepare)
14969         (reftex-toc-promote-action, reftex-toc-extract-section-number)
14970         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14971         (reftex-toc-rename-label, reftex-toc-visit-location)
14972         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14973         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14974         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14975         leaving "*toc*" only for references to the buffer.
14977 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
14979         * window.el (window-resize, delete-window, split-window):
14980         Replace window-splits by window-combination-resize.
14981         * cus-start.el (window-splits): Replace by window-combination-resize.
14983 2011-11-17  Glenn Morris  <rgm@gnu.org>
14985         * progmodes/sh-script.el (sh-font-lock-keywords-var):
14986         Make bash entry derive from sh entry, not shell entry.
14988 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
14990         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14991         local file name.
14993 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
14995         * menu-bar.el (menu-bar-file-menu):
14996         * printing.el (pr-ps-utility):
14997         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14998         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14999         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15000         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15001         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15002         (icalendar--convert-cyclic-to-ical)
15003         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15004         (icalendar--convert-ical-to-diary)
15005         (icalendar--convert-recurring-to-diary)
15006         (icalendar--convert-non-recurring-all-day-to-diary)
15007         (icalendar-import-format-sample):
15008         * progmodes/idlw-shell.el (idlwave-shell-mode):
15009         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15010         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15011         (vhdl-ps-print-init): Fix typos.
15013 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
15015         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15016         FSF and collapse date sequence, obscure author/maintainer email address
15017         better, remove extra version line, track relocation of author's webpage.
15019         * progmodes/python.el (python-pdbtrack-input-prompt)
15020         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15021         regular python pdb prompts.  Adjustments shamelessly taken exactly as
15022         suggested in EmacsWiki page (tiny change):
15023         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15025 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
15027         * expand.el (expand-pos, expand-index, expand-point):
15028         Remove redundant info from docstring.
15029         (expand-add-abbrevs): Doc fix.
15030         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15031         (expand-sample-perl-mode-expand-list): Fix typos.
15033         * net/dbus.el (dbus-event-member-name):
15034         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15035         * term/pc-win.el (msdos-create-frame-with-faces):
15036         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15038 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
15040         * window.el (split-window, window-state-get-1)
15041         (window-state-put-1, window-state-put-2): Rename occurrences of
15042         window-nest to window-combination-limit.
15043         * cus-start.el (window-nest): Rename to window-combination-limit.
15045 2011-11-16  Chong Yidong  <cyd@gnu.org>
15047         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15048         regexp (Bug#10033).
15050 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15052         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15053         `completing-read' will remove *Completions* and will preserve
15054         current-buffer for us.
15055         (tmm-add-prompt): Users of *Completions* will always (re)set its
15056         major mode.
15057         (tmm-old-comp-map): Remove.
15059 2011-11-16  Glenn Morris  <rgm@gnu.org>
15061         * mail/rmailedit.el: Require rmailmm when compiling.
15062         (rmail-old-mime-state): New declaration.
15063         (rmail-edit-current-message): If editing a mime message,
15064         edit the "raw" message from the mbox buffer.
15065         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
15067 2011-11-15  Glenn Morris  <rgm@gnu.org>
15069         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15070         which wasn't being used.  Add optional arg to force given state.
15071         (rmail-mime): Add optional arg to force given state.
15073 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
15075         * allout.el (allout-encryption-plaintext-sanitization-regexps):
15076         * frame.el (display-mm-dimensions-alist):
15077         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15078         (outline-move-subtree-down):
15079         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15080         (newsticker--treeview-do-get-node):
15081         * net/quickurl.el (quickurl-list-buffer-name):
15082         * progmodes/dcl-mode.el (dcl-mode):
15083         * progmodes/gdb-mi.el (gdb-mapcar*):
15084         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15086 2011-11-15  Glenn Morris  <rgm@gnu.org>
15088         * mail/rmail.el (rmail-file-coding-system): It's only ever used
15089         in a boolean sense, so just make it a boolean, and fix the doc.
15090         (rmail-show-mime-function, rmail-mime-feature)
15091         (rmail-require-mime-maybe): Doc fixes.
15092         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15094         * mail/rmailmm.el (rmail-show-mime): Doc fix.
15096 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
15098         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15099         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15100         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15101         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15103 2011-11-15  Glenn Morris  <rgm@gnu.org>
15105         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15106         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15107         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15108         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15109         (rmail-mime, rmail-show-mime): Doc fixes.
15111         * term/ns-win.el (mode-line-frame-identification):
15112         Leave it alone.  (Bug#10051)
15114         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
15116         * mail/rmailout.el (rmail-output-to-rmail-buffer):
15117         Handle empty buffers.  (Bug#9978)
15119 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
15121         * international/mule.el (define-charset):
15122         * mail/rmailmm.el (rmail-mime-find-header-encoding):
15123         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15124         * progmodes/verilog-mode.el (verilog-backward-token):
15125         * textmodes/ispell.el (lookup-words):
15126         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15128 2011-11-14  Glenn Morris  <rgm@gnu.org>
15130         * progmodes/executable.el
15131         (executable-make-buffer-file-executable-if-script-p):
15132         Handle file-modes returning nil.
15134         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15135         message - not necessary, and causes problems.  (Bug#9831)
15137         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15139         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15141         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15142         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
15143         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15145 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
15147         * window.el (window-resize, delete-window): Use window-splits
15148         variable instead of function.
15149         (window-state-get-1, window-state-put-2, window-state-put):
15150         Don't deal with windows' splits status.
15152 2011-11-12  Glenn Morris  <rgm@gnu.org>
15154         * apropos.el (apropos-do-all, apropos-library, apropos-value)
15155         (apropos-documentation): Doc fixes.
15157 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
15159         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15160         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15162 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15164         * electric.el (electric-indent-post-self-insert-function): Make it
15165         possible for a char to only indent in some circumstances.
15166         (electric-indent-mode): Simplify.
15168 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
15170         * window.el (windows-with-parameter): Remove unused function.
15171         (windows-at-side): Rename to window-at-side-list.
15172         (window-check, window-atom-check, window-atom-check-1)
15173         (window-side-check, window-size-ignore, window-size-fixed-1)
15174         (window-in-direction-2): Prefix with "window--".
15175         (window-tree-1): Rename to window--subtree, fix doc-string.
15177 2011-11-11  Glenn Morris  <rgm@gnu.org>
15179         * subr.el (eval-after-load): If FILE is already loaded,
15180         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
15182 2011-11-10  Glenn Morris  <rgm@gnu.org>
15184         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15185         Call svn via vc-svn-command rather than vc-do-command.
15186         (vc-svn-command): Add --non-interactive.  (Bug#9993)
15187         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15189         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15190         Add toggle-read-only.  (Bug#7292)
15191         * files.el (toggle-read-only): Mention that it should only
15192         be used interactively.  (Bug#10006)
15194 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15196         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15197         Adjust regexp for OCaml warnings.
15199         * electric.el (electric-pair-post-self-insert-function): Let user
15200         turn it off buffer-locally (bug#9932).
15202         * progmodes/python.el (python-beginning-of-statement):
15203         Rewrite (bug#2703).
15205         * progmodes/compile.el: Better handle TABs (bug#9749).
15206         (compilation-internal-error-properties)
15207         (compilation-next-error-function): Obey the target buffer's
15208         compilation-error-screen-columns.
15210 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
15212         * progmodes/meta-mode.el: Remove obsolete comments.
15213         (meta-right-comment-regexp, meta-ignore-comment-regexp):
15214         Fix typos in docstrings.
15216 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
15218         * window.el (window-size-fixed-p): Rewrite doc-string.
15219         (window-resizable-p): Rename to window--resizable-p.  Update callers.
15220         (window--resizable): New function.  Make all callers of
15221         window-resizable call window--resizable instead.
15222         (window-resizable): Rewrite in terms of window--resizable.
15224 2011-11-08  Glenn Morris  <rgm@gnu.org>
15226         * progmodes/delphi.el (delphi-mode-syntax-table):
15227         Let define-derived-mode define a proper syntax table.  (Bug#9994)
15229 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15231         * window.el: Stay away from defsubst.
15232         (window-list-no-nils): Remove.
15233         (window-state-get-1, window-state-get): Use backquote instead.
15235 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15237         * emacs-lisp/find-func.el (find-function-read):
15238         Fix incorrect use of default argument in `completing-read'.
15240 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
15242         * window.el (display-buffer-function, special-display-function):
15243         Mention display-buffer-record-window but do not mention
15244         help-setup parameter in doc-strings.
15245         (window-min-delta): Fix doc-string typo.
15247 2011-11-08  Chong Yidong  <cyd@gnu.org>
15249         * window.el (window-total-height, window-total-width): Doc fix.
15250         (window-body-size): Move from C.
15251         (window-body-height, window-body-width): Move to C.
15253 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15255         * window.el: Make special-display like display-buffer-alist (bug#9532).
15256         (display-buffer--special-action): New function, morphed
15257         from display-buffer--special.
15258         (display-buffer): Use it to handle special-display-buffers at higher
15259         priority (just after display-buffer-alist).
15260         (display-buffer-fallback-action, display-buffer--other-frame-action)
15261         (pop-to-buffer-same-window): Remove display-buffer--special.
15263 2011-11-07  Glenn Morris  <rgm@gnu.org>
15265         * calendar/cal-menu.el (cal-menu-set-date-title):
15266         Do nothing if not in a calendar.  (Bug#9976)
15268 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15270         * files.el (find-file): Always use selected-window.
15272 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
15274         * window.el (window-combinations): Make WINDOW argument
15275         mandatory.  Rewrite doc-string.
15276         (walk-window-subtree, window-atom-check, window-min-delta)
15277         (window-max-delta, window--resize-this-window)
15278         (window--resize-root-window-vertically, window-tree)
15279         (balance-windows, window-state-put): Rewrite doc-strings as to
15280         not mention the term "subwindow".
15281         (window--resize-subwindows-skip-p): Rename to
15282         window--resize-child-windows-skip-p.
15283         (window--resize-subwindows-normal): Rename to
15284         window--resize-child-windows-normal.
15285         (window--resize-subwindows): Rename to
15286         window--resize-child-windows.
15287         (window-or-subwindow-p): Rename to window--in-subtree-p.
15289 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
15291         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15292         Ensure that mbox format messages end in two newlines (Bug#9974).
15294 2011-11-06  Chong Yidong  <cyd@gnu.org>
15296         * window.el (window-combination-p): Function deleted; its
15297         side-effect is not used in any existing code.
15298         (window-combinations, window-combined-p): Call window-*-child
15299         directly.
15301 2011-11-05  Chong Yidong  <cyd@gnu.org>
15303         * window.el (window-valid-p): Rename from window-any-p.
15304         (window-size-ignore, window-state-get): Callers changed.
15305         (window-normalize-window): Rename from window-normalize-any-window.
15306         New arg LIVE-ONLY, replacing window-normalize-live-window.
15307         (window-normalize-live-window): Delete.
15308         (window-combination-p, window-combined-p, window-combinations)
15309         (walk-window-subtree, window-atom-root, window-min-size)
15310         (window-sizable, window-sizable-p, window-size-fixed-p)
15311         (window-min-delta, window-max-delta, window-resizable)
15312         (window-resizable-p, window-full-height-p, window-full-width-p)
15313         (window-current-scroll-bars, window-point-1, set-window-point-1)
15314         (window-at-side-p, window-in-direction, window-resize)
15315         (adjust-window-trailing-edge, maximize-window, minimize-window)
15316         (window-deletable-p, delete-window, delete-other-windows)
15317         (record-window-buffer, unrecord-window-buffer)
15318         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15319         (quit-window, split-window, window-state-put)
15320         (set-window-text-height, fit-window-to-buffer)
15321         (shrink-window-if-larger-than-buffer): Callers changed.
15323 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
15325         * mail/rmail.el (rmail-simplified-subject): Decode subject with
15326         rfc2047-decode-string.
15327         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15328         warnings.
15330         * window.el (window-body-height, window-body-width): Mention in
15331         the doc string that the return values are in frame's canonical
15332         units.  (Bug#9949)
15334 2011-11-03  Alan Mackenzie  <acm@muc.de>
15336         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15337         change in cc-engine.el.
15339 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15341         * window.el (switch-to-buffer): Use `force-same-window' interactively.
15343 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
15345         * window.el (quit-window): Call unrecord-window-buffer after
15346         showing another buffer in the window.  (Bug#9937)
15347         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15349 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
15351         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15352         Accept status with more than 9 shelves.  (Bug#9935)
15353         Reported by Colin D Bennett <colin@gibibit.com>.
15355 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
15357         * help.el (with-help-window): Don't reference
15358         temp-buffer-show-specifiers in doc-string.
15360 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15362         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15363         menu-item.
15365 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15367         * whitespace.el: New version 13.2.2.
15368         (whitespace-newline-mode): Disable properly.  Reported by Sarah
15369         <EmacsWiki>.
15371 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
15373         * net/newst-treeview.el: Remove "Time-stamp".
15374         (newsticker--group-manage-orphan-feeds): Do not call
15375         newsticker--treeview-tree-update.
15376         (newsticker-treeview-update, newsticker-treeview):
15377         Call newsticker--treeview-tree-update if necessary.
15379 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
15381         * window.el (window-iso-combination-p, window-iso-combined-p)
15382         (window-iso-combinations): Remove "iso-" infix.
15383         Suggested by Chong Yidong.
15384         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15385         (window-max-delta-1, window-resize, window--resize-siblings)
15386         (window--resize-this-window, adjust-window-trailing-edge)
15387         (split-window, balance-windows-1)
15388         (shrink-window-if-larger-than-buffer):
15389         * calendar/calendar.el (calendar-generate-window):
15390         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15392 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15394         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15395         in place (bug#9907).
15396         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15397         (eshell-rewrite-if-command, eshell-rewrite-for-command)
15398         (eshell-structure-basic-command, eshell-rewrite-while-command)
15399         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15400         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15401         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15402         (eshell-do-pipelines-synchronously, eshell-eval-command):
15403         Use backquotes and prefer setq to set.
15404         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15405         (eshell-macrop): Use functionp.
15406         (eshell-do-eval): Handle multiple expressions in `while' body.
15408 2011-10-30  Chong Yidong  <cyd@gnu.org>
15410         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15411         instead of set-mark (Bug#9810).
15413 2011-10-30  Chong Yidong  <cyd@gnu.org>
15415         * window.el (split-window-below, split-window-right): Rename from
15416         split-window-above-each-other and split-window-side-by-side
15417         respectively.  All callers changed.
15418         (split-window-sensibly, split-window-sensibly): Use them.
15419         (split-window-keep-point): Doc fix.
15421         * isearch.el: Add isearch-scroll property to split-window-below
15422         and split-window-right.
15424         * follow.el (follow-mode):
15425         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15426         * progmodes/ada-xref.el (ada-gdb-application):
15427         * emulation/vip.el (vip-buffer-in-two-windows):
15428         * image-dired.el (image-dired-dired-with-window-configuration):
15429         * dired-x.el (dired-do-find-marked-files):
15430         * dired.el (dired-pop-to-buffer):
15431         * bs.el (bs--show-with-configuration):
15432         * vc/emerge.el (emerge-setup-windows):
15433         * textmodes/two-column.el (2C-two-columns):
15434         * textmodes/reftex-toc.el (reftex-toc):
15435         * progmodes/gdb-mi.el (gdb-setup-windows):
15436         * progmodes/fortran.el (fortran-window-create):
15437         * net/newst-treeview.el (newsticker--treeview-window-init):
15438         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15439         * emulation/tpu-edt.el (tpu-gold-map):
15440         * emulation/crisp.el (crisp-mode-map):
15441         * calendar/calendar.el (calendar-basic-setup): Callers changed.
15443 2011-10-29  Chong Yidong  <cyd@gnu.org>
15445         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15447         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15449         * textmodes/flyspell.el (flyspell-word): Fix char offset for
15450         forged Ispell output (Bug#7904).
15452         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15454 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15456         * doc-view.el: Avoid ugly errors about not finding nil.
15457         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15458         (doc-view-dvipdf-program, doc-view-unoconv-program)
15459         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15460         Avoid nil or absolute file name as default value.
15461         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15463 2011-10-28  Alan Mackenzie  <acm@muc.de>
15465         * progmodes/cc-defs.el (c-version): -> 5.32.2.
15467 2011-10-28  Alan Mackenzie  <acm@muc.de>
15469         Amend the handling of c-beginning/end-of-defun in nested declaration
15470         scopes.
15472         * progmodes/cc-vars.el (c-defun-tactic): Move here from
15473         cc-langs.el.  Change it to a defcustom.
15475         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15476         cc-vars.el.
15478         * progmodes/cc-engine.el (c-beginning-of-statement-1):
15479         Prevent "class foo : bar" being spuriously recognized as a label.
15481         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
15482         Add parameter `inclusive' (to include enclosing braces in the region).
15483         (c-widen-to-enclosing-decl-scope): New function.
15484         (c-while-widening-to-decl-block): New macro.
15485         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15486         outward for defun boundaries, and correspondingly change symbol
15487         `respect-enclosure' to `go-outward'.
15488         (c-declaration-limits): Change algorithm to report only the "innermost"
15489         defun's boundaries.
15491 2011-10-28  Deniz Dogan  <deniz@dogan.se>
15493         * net/rcirc.el (rcirc-mode): Use hard newlines.
15495 2011-10-28  Alan Mackenzie  <acm@muc.de>
15497         Amend to indent and fontify macros "which include their own semicolon"
15498         correctly, using the "virtual semicolon" mechanism.
15500         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
15502         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15503         Recode to scan one line at a time rather than having \n and \r
15504         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
15505         (c-forward-label): Amend for virtual semicolons.
15506         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
15508         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15509         of the new C macros.
15511         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
15512         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15513         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
15514         (c-opt-cpp-macro-define): Make into a full language variable.
15515         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15516         AWK Mode (including \n, \r) removed, no longer needed.
15518         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15519         Invoke c-make-macro-with-semi-re.
15521         * progmodes/cc-vars.el (c-macro-with-semi-re):
15522         (c-macro-names-with-semicolon): New variables.
15523         (c-make-macro-with-semi-re): New function.
15525 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15527         * vc/log-edit.el: Fill empty field rather than adding new one.
15528         (log-edit-add-field): New function.
15529         (log-edit-insert-changelog): Use it.
15531 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
15533         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15535 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15537         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15538         (gdb--check-interpreter): New function.
15539         (gdb): Use it.
15541 2011-10-27  Glenn Morris  <rgm@gnu.org>
15543         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15544         (least-positive-float, least-negative-float)
15545         (least-positive-normalized-float, least-negative-normalized-float)
15546         (float-epsilon, float-negative-epsilon):
15547         Remove unnecessary declarations.
15549         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15550         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15551         (least-positive-float, least-negative-float)
15552         (least-positive-normalized-float, least-negative-normalized-float)
15553         (float-epsilon, float-negative-epsilon): Add doc-strings,
15554         based on those in cl.texi.
15556         * files.el (set-visited-file-name): If the major-mode changed,
15557         reload the local variables.  (Bug#9796)
15559 2011-10-27  Chong Yidong  <cyd@gnu.org>
15561         * subr.el (change-major-mode-after-body-hook): New hook.
15562         (run-mode-hooks): Run it.
15564         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15565         Use change-major-mode-before-body-hook.
15567         * simple.el (fundamental-mode):
15568         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15569         change introducing fundamental-mode-hook.
15571 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
15573         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
15575 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
15577         * ido.el (ido-file-name-all-completions-1): Do not require
15578         tramp.el explicitly.  (Bug#7583)
15580 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15582         * progmodes/octave-mod.el:
15583         * progmodes/octave-inf.el: Update maintainer.
15585 2011-10-26  Chong Yidong  <cyd@gnu.org>
15587         * subr.el (with-wrapper-hook): Rewrite doc.
15589 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
15591         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
15592         filenames "/method:foo:".  (Bug#9793)
15594 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15596         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15597         (bug#9865).
15599 2011-10-24  Glenn Morris  <rgm@gnu.org>
15601         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
15603 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
15605         * notifications.el: Add the requirement of a running D-Bus session
15606         bus to the Commentary.
15608 2011-10-24  Juri Linkov  <juri@jurta.org>
15610         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15611         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15612         (Bug#9364)
15614 2011-10-24  Juri Linkov  <juri@jurta.org>
15616         * info.el (Info-following-node-name-re): Add newline to the list
15617         of allowed characters for leading space.  (Bug#9824)
15619 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15621         * progmodes/octave-inf.el (inferior-octave-mode-map):
15622         Fix C-c C-h binding.
15623         * progmodes/octave-mod.el (octave-help): Remove.
15625 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
15627         Sync with Tramp 2.2.3.
15629         * net/tramp-cache.el (top): Pacify byte-compiler using
15630         `init-file-user' and `site-run-file'.
15632         * net/trampver.el: Update release number.
15634 2011-10-23  Chong Yidong  <cyd@gnu.org>
15636         * files.el (toggle-read-only): Remove obsolete comment about
15637         version control.
15639         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15640         for toggle-read-only.  Note that this hasn't called vc-next-action
15641         since 2008-05-02, though it wasn't documented at the time.
15643         * vc/ediff-init.el (ediff-toggle-read-only-function):
15644         Use toggle-read-only.
15646 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
15648         Fix bug #9560, sporadic wrong indentation; improve instrumentation
15649         of c-parse-state.
15651         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15652         correct faulty logical expression.
15653         (c-parse-state-state, c-record-parse-state-state):
15654         (c-replay-parse-state-state): New defvar/defuns.
15655         (c-debug-parse-state): Use new functions.
15657 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
15659         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
15660         last fix.  Use window-in-direction correctly.
15662 2011-10-21  Chong Yidong  <cyd@gnu.org>
15664         * progmodes/idlwave.el (idlwave-mode):
15665         * progmodes/vera-mode.el (vera-mode): No need to set
15666         require-final-newline; that's done in prog-mode.
15667         Suggested by Stefan Monnier.
15669 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
15671         * mouse.el (mouse-drag-window-above)
15672         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15673         (mouse-drag-mode-line-1, mouse-drag-header-line)
15674         (mouse-drag-vertical-line-rightward-window): Remove.
15675         (mouse-drag-line): New function.
15676         (mouse-drag-mode-line, mouse-drag-header-line)
15677         (mouse-drag-vertical-line): Call mouse-drag-line.
15678         * window.el (window-at-side-p, windows-at-side): New functions.
15680 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
15682         * tar-mode.el (tar-grind-file-mode):
15683         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
15685 2011-10-21  Chong Yidong  <cyd@gnu.org>
15687         * progmodes/idlwave.el (idlwave-mode):
15688         * progmodes/vera-mode.el (vera-mode):
15689         Use mode-require-final-newline.
15691 2011-10-20  Glenn Morris  <rgm@gnu.org>
15693         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
15695 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
15697         * emulation/cua-base.el (cua-set-mark): Fix case of string.
15699 2011-10-20  Chong Yidong  <cyd@gnu.org>
15701         * emulation/cua-base.el (cua-mode):
15702         * mail/footnote.el (footnote-mode):
15703         * mail/mailabbrev.el (mail-abbrevs-mode):
15704         * net/xesam.el (xesam-minor-mode):
15705         * progmodes/bug-reference.el (bug-reference-mode):
15706         * progmodes/cap-words.el (capitalized-words-mode):
15707         * progmodes/compile.el (compilation-minor-mode)
15708         (compilation-shell-minor-mode):
15709         * progmodes/gud.el (gud-tooltip-mode):
15710         * progmodes/hideif.el (hide-ifdef-mode):
15711         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15712         * progmodes/subword.el (subword-mode):
15713         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15714         * progmodes/which-func.el (which-function-mode):
15715         * term/tvi970.el (tvi970-set-keypad-mode):
15716         * term/vt100.el (vt100-wide-mode):
15717         * textmodes/flyspell.el (flyspell-mode):
15718         * textmodes/ispell.el (ispell-minor-mode):
15719         * textmodes/nroff-mode.el (nroff-electric-mode):
15720         * textmodes/paragraphs.el (use-hard-newlines):
15721         * textmodes/refill.el (refill-mode):
15722         * textmodes/reftex.el (reftex-mode):
15723         * textmodes/rst.el (rst-minor-mode):
15724         * textmodes/sgml-mode.el (html-autoview-mode)
15725         (sgml-electric-tag-pair-mode):
15726         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15727         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15728         * emulation/crisp.el (crisp-mode):
15729         * emacs-lisp/eldoc.el (eldoc-mode):
15730         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15731         minor mode behavior.
15733 2011-10-19  Juri Linkov  <juri@jurta.org>
15735         * descr-text.el (describe-char): Add #x2010 and #x2011 to
15736         the list of hard-coded chars with escape-glyph face.
15738 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15740         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15742 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
15744         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15745         running process.
15747 2011-10-19  Glenn Morris  <rgm@gnu.org>
15749         * vc/vc-bzr.el (vc-bzr-after-dir-status):
15750         Ignore ignored files.  (Bug#9726)
15752 2011-10-19  Chong Yidong  <cyd@gnu.org>
15754         Doc fix for minor modes, stating that an omitted argument enables
15755         the mode unconditionally when called from Lisp.
15757         * abbrev.el (abbrev-mode):
15758         * allout.el (allout-mode):
15759         * autoinsert.el (auto-insert-mode):
15760         * autoarg.el (autoarg-mode, autoarg-kp-mode):
15761         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15762         (global-auto-revert-mode):
15763         * battery.el (display-battery-mode):
15764         * composite.el (global-auto-composition-mode)
15765         (auto-composition-mode):
15766         * delsel.el (delete-selection-mode):
15767         * desktop.el (desktop-save-mode):
15768         * dired-x.el (dired-omit-mode):
15769         * dirtrack.el (dirtrack-mode):
15770         * doc-view.el (doc-view-minor-mode):
15771         * double.el (double-mode):
15772         * electric.el (electric-indent-mode, electric-pair-mode):
15773         * emacs-lock.el (emacs-lock-mode):
15774         * epa-hook.el (auto-encryption-mode):
15775         * follow.el (follow-mode):
15776         * font-core.el (font-lock-mode):
15777         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15778         * help.el (temp-buffer-resize-mode):
15779         * hilit-chg.el (highlight-changes-mode)
15780         (highlight-changes-visible-mode):
15781         * hi-lock.el (hi-lock-mode):
15782         * hl-line.el (hl-line-mode, global-hl-line-mode):
15783         * icomplete.el (icomplete-mode):
15784         * ido.el (ido-everywhere):
15785         * image-file.el (auto-image-file-mode):
15786         * image-mode.el (image-minor-mode):
15787         * iswitchb.el (iswitchb-mode):
15788         * jka-cmpr-hook.el (auto-compression-mode):
15789         * linum.el (linum-mode):
15790         * longlines.el (longlines-mode):
15791         * master.el (master-mode):
15792         * mb-depth.el (minibuffer-depth-indicate-mode):
15793         * menu-bar.el (menu-bar-mode):
15794         * minibuf-eldef.el (minibuffer-electric-default-mode):
15795         * mouse-sel.el (mouse-sel-mode):
15796         * msb.el (msb-mode):
15797         * mwheel.el (mouse-wheel-mode):
15798         * outline.el (outline-minor-mode):
15799         * paren.el (show-paren-mode):
15800         * recentf.el (recentf-mode):
15801         * reveal.el (reveal-mode, global-reveal-mode):
15802         * rfn-eshadow.el (file-name-shadow-mode):
15803         * ruler-mode.el (ruler-mode):
15804         * savehist.el (savehist-mode):
15805         * scroll-all.el (scroll-all-mode):
15806         * scroll-bar.el (scroll-bar-mode):
15807         * server.el (server-mode):
15808         * shell.el (shell-dirtrack-mode):
15809         * simple.el (auto-fill-mode, transient-mark-mode)
15810         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15811         (line-number-mode, column-number-mode, size-indication-mode)
15812         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15813         * strokes.el (strokes-mode):
15814         * time.el (display-time-mode):
15815         * t-mouse.el (gpm-mouse-mode):
15816         * tool-bar.el (tool-bar-mode):
15817         * tooltip.el (tooltip-mode):
15818         * type-break.el (type-break-mode-line-message-mode)
15819         (type-break-query-mode):
15820         * view.el (view-mode):
15821         * whitespace.el (whitespace-mode, whitespace-newline-mode)
15822         (global-whitespace-mode, global-whitespace-newline-mode):
15823         * xt-mouse.el (xterm-mouse-mode): Doc fix.
15825         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15826         Fix autogenerated docstring.
15828 2011-10-19  Juri Linkov  <juri@jurta.org>
15830         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15831         by checking environment variables "DESKTOP_SESSION" and
15832         "XDG_CURRENT_DESKTOP".  (Bug#9779)
15834 2011-10-19  Juri Linkov  <juri@jurta.org>
15836         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15837         (browse-url-chromium-program, browse-url-chromium-arguments):
15838         New defcustoms.
15839         (browse-url-default-browser): Check for `browse-url-chromium' and
15840         call `browse-url-chromium-program'.
15841         (browse-url-chromium): New command.  (Bug#9779)
15843 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
15845         * facemenu.el (list-colors-duplicates): On Windows, detect more
15846         duplicates by assuming that only colors matching "^System" are
15847         special "system colors".  (Bug#9722)
15849 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15851         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15852         to distinguish the author from the committer.
15854 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
15856         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15858 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
15860         * international/mule.el (sgml-html-meta-auto-coding-function):
15861         Add support for detecting encoding in HTML5 specified only as
15862         <meta charset="UTF-8">.  Implementation just makes http-equiv and
15863         content-type parts from HTML4 encoding string optional.  (Bug#9716)
15865 2011-10-18  Glenn Morris  <rgm@gnu.org>
15867         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
15869 2011-10-18  Chong Yidong  <cyd@gnu.org>
15871         * faces.el (cursor): Doc fix.
15873 2011-10-17  Chong Yidong  <cyd@gnu.org>
15875         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15877 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
15879         * dirtrack.el (dirtrack): Support shell buffers with path
15880         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
15882 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
15884         * json.el: Bump version to 1.3 and note change in History.
15885         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15887 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15889         * comint.el (comint-insert-input, comint-send-input)
15890         (comint-get-old-input-default, comint-backward-matching-input)
15891         (comint-next-prompt): Use nil instead of `input' for field property of
15892         past user input (bug#114).
15894         * minibuffer.el (completion--replace): Inherit surrounding properties
15895         (bug#114).
15896         (minibuffer-complete-and-exit): Use it.
15898         * comint.el (comint--table-subvert): Quote the all-completions output
15899         (bug#9160).
15901 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
15903         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
15905         * menu-bar.el (menu-bar-file-menu): Add entry for making new
15906         window on right of selected.  (Bug#9350) Reword other window
15907         entries and separate them from frame entries.
15909 2011-10-15  Glenn Morris  <rgm@gnu.org>
15911         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15912         Doc fixes.
15914 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
15916         * net/network-stream.el (network-stream-open-starttls):
15917         Improve detection of failure due to lack of TLS support.
15919         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15920         putting the input text in front and in bold.
15922 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15924         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15926         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15927         empty buffer.
15929         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15930         unread-command-events rather than pushing yet-another event.
15932 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
15934         * mail/sendmail.el (sendmail-query-once): Improve the wording of
15935         the explanation of the possible choices.  Make the options passed
15936         to completing-read shorter.
15938 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
15940         * textmodes/flyspell.el (flyspell-large-region): Make sure
15941         extended character mode is used if defined (Bug#1339).
15943 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
15945         * simple.el (what-cursor-position): Fix the display of the
15946         character info for LRE, LRO, RLE, and RLO characters by appending
15947         an invisible PDF.
15949 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15951         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15952         even in case of error; add debug spec; simplify data flow.
15953         (with-timeout-handler): Remove.
15955 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
15957         Fix Bug#6019, Bug#9315.
15959         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15960         complete `buffer-file-name', the local file name part could look
15961         remotely (for example on VMS).
15963         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15964         `tramp-run-real-handler'.
15965         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15966         already quoted by '"'.
15968         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15969         Let `file-name-handler-alist' be nil, the local file name part
15970         could look remotely (for example on VMS).
15972 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15974         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15975         from here...
15976         (flyspell-post-command-hook): ...to here.
15978 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15980         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15981         if not needed.
15982         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
15983         using completion.  Protect against "slow" callers.
15984         Remove the "message hack".
15986 2011-10-11  Juri Linkov  <juri@jurta.org>
15988         * isearch.el (isearch-lazy-highlight-word): New variable.
15989         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15990         Use it.  (Bug#9727)
15992 2011-10-11  Glenn Morris  <rgm@gnu.org>
15994         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15995         like f90-previous-statement does.
15997 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15999         * eshell/eshell.el (eshell-command): History should be saved
16000         only in interactive use, to avoid error.
16002 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16004         * minibuffer.el (completion-file-name-table): Fix last change,
16005         i.e. ignore normal errors but not the other ones.
16007 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
16009         * window.el (special-display-buffer-names)
16010         (special-display-regexps): Remove some remnants of earlier
16011         changes from doc-strings.
16012         (quit-windows-on): New function.
16014         * vc/vc.el (vc-revert, vc-rollback):
16015         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16016         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
16017         (Bug#6183) (Bug#7074) (Bug#7447)
16019 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
16021         * window.el (frame-auto-hide-function): Add version tag.
16022         (Bug#9699)
16024 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
16026         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16027         condition.
16029 2011-10-09  Leo Liu  <sdl.web@gmail.com>
16031         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16032         (Bug#9701)
16034 2011-10-08  Glenn Morris  <rgm@gnu.org>
16036         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16037         before the first code statement zero indent.  (Bug#9690)
16039 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
16041         * simple.el (count-words-region): Always count in the region.
16042         Report the number of lines and characters too.
16043         (count-words): New command, which counts in the buffer if the
16044         region is inactive, as count-words-region used to.
16045         (count-words--message): New function.  Handle plurals.
16046         (count-lines-region): Make it an alias for count-words-region.
16048         * bindings.el (esc-map): Replace count-lines-region with
16049         count-words-region.
16051 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
16053         * window.el (window--delete): Delete dedicated frame
16054         unconditionally when argument KILL is non-nil.  (Bug#9699)
16055         (switch-to-buffer): Fix doc-string typo.
16057 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16059         * eshell/eshell.el (eshell-command): Avoid using hooks.
16061 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
16063         * bindings.el ([M-left],[M-right]): Bind to left-word and
16064         right-word respectively.
16066 2011-10-07  Glenn Morris  <rgm@gnu.org>
16068         * cus-start.el (debug-on-quit): Fix custom type.
16070 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16072         * subr.el (define-key-after): Clarify that the function is not
16073         useful for non-menu keymaps.
16075         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16077 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16079         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16080         in current minibuffer (Fix bug with recursive minibuffers).
16082 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
16084         * progmodes/gdb-mi.el (gdb): Doc fix.
16086 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
16088         * window.el (frame-auto-hide-function): New option replacing
16089         frame-auto-delete.  Suggested by Stefan Monnier.
16090         (window--delete): Call frame-auto-hide-function instead of
16091         investigating frame-auto-delete.
16092         (window-point-1, set-window-point-1): New functions.
16093         (window-in-direction, record-window-buffer, window-state-get-1)
16094         (display-buffer-record-window): Use window-point-1 instead of
16095         window-point.
16096         (set-window-buffer-start-and-point): Use set-window-point-1.
16098 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16100         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16102 2011-10-05  Glenn Morris  <rgm@gnu.org>
16104         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16105         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
16107 2011-10-05  Leo Liu  <sdl.web@gmail.com>
16109         * subr.el (read-char-choice): Fix argument to buffer-live-p which
16110         works with buffer object.
16112 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16114         * mpc.el (mpc-tool-bar-map): Add labels.
16116 2011-10-04  Glenn Morris  <rgm@gnu.org>
16118         * calendar/holidays.el (calendar-check-holidays): Doc fix.
16120 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
16122         * window.el (window--delete): New function.
16123         (frame-auto-delete): Resuscitate option.
16124         (bury-buffer, replace-buffer-in-windows)
16125         (quit-window): Rewrite using window--delete.
16126         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16127         Pass display-buffer-mark-dedicated to window--display-buffer-2
16128         (Bug#9639).
16130 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16132         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16133         returns a list (bug#9554).  Add remote file name completion.
16134         * comint.el (comint--table-subvert): Curry and get quote&unquote
16135         functions as arguments.
16136         (comint--complete-file-name-data): Adjust call accordingly.
16137         * pcomplete.el (pcomplete--table-subvert): Remove.
16138         (pcomplete-completions-at-point): Use comint--table-subvert instead.
16140         * minibuffer.el (completion-table-case-fold): Use currying.
16141         (completion--styles-type, completion--cycling-threshold-type):
16142         New constants.
16143         (completion-styles, completion-category-overrides)
16144         (completion-cycle-threshold): Use them.
16145         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16146         completion-table-case-fold.
16148 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
16150         * minibuffer.el (completion-category-overrides): Fix type of styles
16151         and add more user friendly tags (bug#9660).
16153 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16155         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16156         (mule-input-method-string): New widget.
16157         (default-input-method, language-info-custom-alist): Use it.
16159 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16161         * pcomplete.el: Require comint.
16162         (pcomplete--common-suffix): Remove.
16163         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16164         (pcomplete--table-subvert): Sync with comint--table-subvert.
16165         (pcomplete--entries): Use comint-completion-file-name-table.
16166         * comint.el (comint-unquote-filename): Simplify.
16167         (comint-completion-file-name-table): New function (bug#9616).
16168         (comint--complete-file-name-data): Use it.
16170         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16171         (pcmpl-gnu-tar-buffer): Remove.
16172         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16173         around.  Make sure pcomplete-suffix-list is only changed temporarily.
16174         Don't look inside the tar's file if it's too large.
16176 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
16178         * cus-edit.el (custom-mode-map):
16179         * epa.el (epa-key-list-mode-map):
16180         * man.el (Man-mode-map):
16181         * startup.el (splash-screen-keymap):
16182         * simple.el (special-mode-map): Use scroll-up-command and
16183         scroll-down-command.
16185         * progmodes/idlw-help.el (idlwave-help-mode-map):
16186         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16187         * net/newst-plainview.el (newsticker-mode-map):
16188         * emulation/ws-mode.el (wordstar-mode-map):
16189         * emulation/vi.el (vi-com-map):
16190         * calc/calc-graph.el (calc-graph-show-dumb):
16191         * term/sun.el (terminal-init-sun):
16192         * term/ns-win.el (global-map):
16193         * progmodes/grep.el (grep-mode-map):
16194         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16195         * mail/rmail.el (rmail-mode-map):
16196         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16198         * custom.el (custom-safe-themes, load-theme): Treat value of t for
16199         custom-safe-themes as special.
16201 2011-10-01  Julien Danjou  <julien@danjou.info>
16203         * notifications.el (notifications-notify): Fix docstring.
16205 2011-10-01  Per Starbäck  <per@starback.se>
16207         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
16209 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
16211         * startup.el (command-line-1): Fix last fix by inserting
16212         initial-scratch-message into *scratch* before displaying it.
16213         (Bug#9605) and (Bug#9636)
16215 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
16217         * simple.el (line-move): If auto-hscroll-mode is disabled and the
16218         window is hscrolled, move by logical lines.  (Bug#9607)
16219         (line-move-visual): Update the doc string to the above effect.
16221 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
16223         * window.el (display-buffer-record-window): When WINDOW is the
16224         selected window use `point' instead of `window-point'.  (Bug#9626)
16226         * startup.el (command-line-1): Use insert-before-markers when
16227         inserting initial-scratch-message.  (Bug#9605)
16229         * help.el (help-window): Remove variable.
16231 2011-09-29  Glenn Morris  <rgm@gnu.org>
16233         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16235 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
16237         * descr-text.el (describe-char-categories): Accept category
16238         descriptions more than one line long.
16240 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16242         * simple.el (delete-trailing-whitespace): Fix last change.
16244         * progmodes/perl-mode.el (perl-syntax-propertize-function):
16245         Don't confuse "y => 3" as the beginning of a `y' operation.
16247         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16248         object has more than 4 slots (bug#9613).
16250 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
16252         * subr.el (with-output-to-temp-buffer):
16253         * net/quickurl.el (quickurl, quickurl-browse-url):
16254         Fix typos in docstrings.
16256 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
16258         * minibuffer.el (completion-styles)
16259         (completion-category-overrides): Cross reference each other in doc
16260         strings.
16262 2011-09-27  Glenn Morris  <rgm@gnu.org>
16264         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16265         to split-string.  (Bug#9606)
16267 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16269         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16270         (bug#9615).
16272 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
16274         * emacs-lisp/package.el (list-packages): Fix echo area message.
16276 2011-09-27  Leo Liu  <sdl.web@gmail.com>
16278         * ido.el (ido-read-internal): Accept cons cell HIST arg.
16280 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
16282         * net/dbus.el (dbus-unregister-object): Don't release services for
16283         registered signals.  (Bug#9581)
16285 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
16287         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16288         function that picks between cfengine 2 and 3 support
16289         automatically.  Update docs accordingly.
16291 2011-09-22  Kenichi Handa  <handa@m17n.org>
16293         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16294         ZERO.
16295         (indian-itrans-v5-table-for-tamil): New variable.
16296         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16298 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
16300         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16301         that's true if the current command involved collapsing of text.
16302         It's reset to false at the beginning of the next command.
16303         (allout-post-command-business): Move the cursor to the beginning
16304         of entry if the cursor is hidden and collapsing activity just
16305         happened.
16307 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
16309         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16310         tracking (Bug#9541).
16312 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
16314         * net/newst-reader.el (newsticker-html-renderer)
16315         (newsticker-show-news): Automatically load html rendering package
16316         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
16317         because w3m-fill-column is let-bound" and the error "Symbol's value
16318         as variable is void: w3m-fill-column".
16320 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
16322         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16323         Release services only if they are defined.  (Bug#9581)
16325 2011-09-23  Richard Stallman  <rms@gnu.org>
16327         * textmodes/paragraphs.el (forward-sentence): For backwards case,
16328         distinguish start of paragraph from start of its text.
16330         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16332         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16333         (rmail-generate-viewer-buffer): Put that hook on view buffer.
16334         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16336 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
16338         * international/mule-diag.el (mule-diag): Insert a newline after
16339         each fontset description.
16341 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16343         * simple.el (delete-trailing-whitespace):
16344         Document last change; simplify.
16346 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
16348         * simple.el (delete-trailing-whitespace): Also delete
16349         extra newlines at the end of the buffer.
16351         * textmodes/picture.el: Make motion commands obey shift-select-mode.
16352         (picture-newline): Use forward-line so as to ignore fields.
16354 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16356         * subr.el (with-wrapper-hook): Fix edebug spec.
16358 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16360         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16361         (bug#4538).
16363 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
16365         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16366         Fix nasty bug using wrong cached values.
16368 2011-09-23  Alan Mackenzie  <acm@muc.de>
16370         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16372 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
16374         * window.el (pop-to-buffer): Ensure right window is selected if we
16375         chose another frame.
16377 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
16379         * simple.el (what-cursor-position): Use get-char-property-change
16380         and next-single-char-property-change, to be able to show display
16381         properties that come from overlays as well as text properties.
16383 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
16385         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16387         * cmuscheme.el (run-scheme, switch-to-scheme):
16388         * cus-edit.el (customize-group, custom-buffer-create)
16389         (customize-browse):
16390         * info.el (info):
16391         * shell.el (shell):
16392         * mail/sendmail.el (mail):
16393         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16395 2011-09-22  Richard Stallman  <rms@gnu.org>
16397         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16398         move back only to line beg, don't move back over blank lines.
16400 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
16402         * files.el (copy-directory): Set directory attributes only in case
16403         they could be retrieved from the source directory.  (Bug#9565)
16405 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
16407         * progmodes/hideshow.el (hs-looking-at-block-start-p)
16408         (hs-find-block-beginning, hs-hide-level-recursive):
16409         Ignore strings as well as comments.  (Bug#9502)
16411 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
16413         * progmodes/sql.el (sql-comint-postgres):
16414         Convert port number to a string.  (Bug#9566)
16416 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
16418         * window.el (quit-window): Undedicate window when switching to
16419         previous buffer.  Reported by Thierry Volpiatto
16420         <thierry.volpiatto@gmail.com>.
16421         (special-display-popup-frame): When popping up a new frame reset
16422         its previous buffers to nil.  Simplify code.
16424 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
16426         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16427         and process filter, as done also in `shell-command'.
16429 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
16431         * window.el (set-window-buffer-start-and-point):
16432         Call set-window-start with NOFORCE argument t.
16433         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16434         (quit-window): Reword doc-string.  Handle new format of
16435         quit-restore parameter.  Don't delete window if it has a
16436         previous buffer we can show instead of the present one.
16437         (display-buffer-record-window): Rewrite using a new format for
16438         the quit-restore window parameter
16439         (special-display-popup-frame, display-buffer-same-window)
16440         (display-buffer-reuse-window, display-buffer-pop-up-frame)
16441         (display-buffer-pop-up-window, display-buffer-use-some-window):
16442         Adapt symbol passed to display-buffer-record-window.
16443         * help.el (help-window-setup): Handle new format of quit-restore
16444         parameter.
16446 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16448         * faces.el (face-list): Fix docstring (bug#9564).
16450         * window.el (display-buffer--action-function-custom-type):
16451         Don't include internal functions in the Custom interface.
16453 2011-09-20  Juri Linkov  <juri@jurta.org>
16455         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16456         (Info-forward-node, Info-backward-node, Info-next-preorder)
16457         (Info-last-preorder): Use it.  (Bug#9528)
16459 2011-09-20  Juri Linkov  <juri@jurta.org>
16461         * info.el (Info-last-preorder): Visit last menu item only when
16462         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16464 2011-09-20  Julien Danjou  <julien@danjou.info>
16466         * password-cache.el (password-cache-remove): Remove entries even if the
16467         value is nil, so that password with a nil value (negative caching) is
16468         possible to invalidate.
16470 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
16472         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16473         all whitespace around breakpoint.  (Bug#9553)
16474         (f90-find-breakpoint): Only break at whitespace inside a comment.
16476 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16478         * minibuffer.el (completion-file-name-table): Keep track of errors.
16479         (completion-table-with-predicate): Handle the case where pred1 is nil.
16480         * pcomplete.el (pcomplete-completions-at-point): Simplify.
16482 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16484         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16485         (debugger-return-value): Signal an error if the debugging context does
16486         not await any return value.
16488         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16489         * image-mode.el (image-toggle-display-text)
16490         (image-toggle-display-image): Stay away from evil `intangible'.
16492 2011-09-19  Leo Liu  <sdl.web@gmail.com>
16494         * replace.el (occur-revert-arguments): Make it permanent-local.
16495         (occur-mode): Don't call font-lock-defontify.
16497 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
16499         * net/ldap.el (ldap-search-internal): Don't push empty search
16500         result (Bug#9508).
16502 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16504         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16506 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
16508         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16509         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16511 2011-09-18  Juri Linkov  <juri@jurta.org>
16513         * buff-menu.el (Buffer-menu-mode-map):
16514         * dired.el (dired-mode-map):
16515         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16516         (lisp-interaction-mode-map):
16517         * emacs-lisp/package.el (package-menu-mode-map):
16518         * epa.el (epa-key-list-mode-map):
16519         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16520         (menu-bar-options-menu):
16521         * outline.el (outline-mode-menu-bar-map):
16522         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16523         * vc/vc-dir.el (vc-dir-menu-map):
16524         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16525         Capitalize non-function content words in menu item strings.
16527         * dired.el (dired-mode-map): Add menu item for
16528         `image-dired-dired-toggle-marked-thumbs'.
16530 2011-09-18  Juri Linkov  <juri@jurta.org>
16532         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16533         to `isearch-case-fold-search' and restore its original value
16534         after the `isearch-mode' call.
16536 2011-09-18  Juri Linkov  <juri@jurta.org>
16538         * progmodes/grep.el (grep-process-setup): Don't check code for 1
16539         because `zgrep' returns 1 for successful matches (bug#9226).
16541 2011-09-18  Juri Linkov  <juri@jurta.org>
16543         * info.el (Info-extract-menu-node-name): Check the second match
16544         for empty string (second test-case of bug#9528).
16545         (Info-last-preorder): Let-bind `Info-history' to nil to not add
16546         intermediate nodes to the history (first test-case of bug#9528).
16548 2011-09-18  Juri Linkov  <juri@jurta.org>
16550         * info.el (Info-mode-syntax-table): New variable.
16551         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
16553 2011-09-18  Juri Linkov  <juri@jurta.org>
16555         * info.el (Info-file-supports-index-cookies):
16556         Increment line-beginning-position's arg from 3 to 4 because makeinfo
16557         outputs one more line for long file names (bug#4142).
16559 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
16561         * newcomment.el (comment-normalize-vars): If prompting for
16562         comment-start, set comment-start-skip too (Bug#8424).
16564 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
16566         * icomplete.el: Fix previous fix of Bug#5849.
16567         (icomplete-mode): Don't set completion-show-inline-help.
16568         (icomplete-minibuffer-setup): Set completion-show-inline-help
16569         locally during icompletion.
16571 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
16573         * woman.el (woman2-process-escapes): Don't delete unrecognized
16574         escapes (Bug#7843).
16576         * files.el (inhibit-first-line-modes-regexps): Add image files.
16577         (hack-local-variables-prop-line): Return nil for malformed
16578         prop-lines (Bug#9044).
16580 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
16582         * net/tramp.el (top): Don't require 'shell.
16583         (tramp-methods): Fix docstring.
16584         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
16585         Return complete remote file name.  Handle "smb" case.
16586         Use `tramp-tmpdir', if defined for the respective method.
16587         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16589         * net/tramp-compat.el (top): Require 'shell.
16591         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16592         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16593         `tramp-current-host'.
16594         (tramp-get-remote-tmpdir): Remove.
16596         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16597         `tramp-tmpdir' entries.
16598         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16599         (tramp-smb-handle-file-attributes): Ignore errors.
16600         (tramp-smb-wait-for-output): Check also for process end.
16602 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16604         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16605         when sending QUIT (bug#9312).
16607 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
16609         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16610         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16611         occur-mode-display-occurrence.
16612         (occur-edit-mode): Add usage message.
16613         (occur-cease-edit): New command.
16614         (occur-after-change-function): Use text properties to find the
16615         position of the prefix text.
16616         (occur-engine): Set stickiness of prefix text properties.
16618 2011-09-17  Glenn Morris  <rgm@gnu.org>
16620         * progmodes/etags.el (complete-tag):
16621         Fix call to completion-in-region.  (Bug#9526)
16623 2011-09-17  Juri Linkov  <juri@jurta.org>
16625         * textmodes/ispell.el (ispell-word): Add to the error message
16626         the word, ispell program name and current dictionary (bug#9121).
16627         (ispell-tex-arg-end): Capitalize "error" in the error message.
16629 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
16631         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16632         check.  (Bug#4251)
16634 2011-09-17  Juri Linkov  <juri@jurta.org>
16636         * window.el (window-safe-min-height, window-safe-min-width):
16637         Fix typos (followup to bug#9522).
16639 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
16641         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16643 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
16645         * simple.el (line-move): If goal-column is set, move by logical
16646         lines, not by display lines.  (Bug#971)
16647         (next-line, previous-line, goal-column, line-move-visual): Doc fix
16648         to reflect the above change.
16650 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16652         * image.el (imagemagick-register-types): Use regexp-opt.
16654 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
16656         * window.el (display-buffer-base-action): Rename from
16657         display-buffer-default-action.  Make default value empty.
16658         (display-buffer-overriding-action): Convert to defvar.
16659         (display-buffer-fallback-action): New var.
16661 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
16663         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16664         declaration.
16665         (package--add-to-archive-contents): If there is a duplicate entry
16666         with an older version, remove it.
16667         (package-menu-mark-delete, package-menu-mark-install)
16668         (package-menu-mark-unmark): Make unused args optional.
16669         (package-menu-mark-obsolete-for-deletion):
16670         Use package-menu-get-status instead of a regexp search.
16671         (package-menu-get-status): Use tabulated-list-entry.
16672         (package-menu-mark-upgrades): New command.
16673         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
16674         (package-menu-execute): Do installation before deletion.
16675         (package-menu-refresh, package-menu-execute): Use derived-mode-p
16676         instead of checking major-mode.
16677         (package-menu--find-upgrades): New function.
16679 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16681         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16682         passwords in the log buffer.
16683         (smtpmail-process-filter): Update the process marker so that the
16684         "broken by peer" status message is inserted in the right place.
16686 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16688         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16689         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16690         bibtex-completion-at-point-function.
16691         (bibtex-completion-at-point-function): Use them.
16693         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16695         * mpc.el (mpc-constraints-tag-lookup): New function.
16696         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16697         also to browser "album|playlist".
16699 2011-09-14  Juri Linkov  <juri@jurta.org>
16701         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
16702         (isearch-edit-string): Use length of `isearch-string' when
16703         `isearch-fail-pos' returns nil.
16704         (isearch-message): Remove duplicate code and call
16705         `isearch-fail-pos' with arg `t'.
16707 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
16709         * replace.el (occur-mode-goto-occurrence): Don't force using other
16710         window (Bug#9499).
16712         * dired-aux.el (dired-do-chmod): Don't provide initial input.
16714 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
16716         * window.el (display-buffer-window): Remove.
16717         (display-buffer-record-window): Use help-setup window parameter
16718         instead of variable display-buffer-window.
16719         (display-buffer-function, special-display-buffer-names)
16720         (special-display-function): Mention help-setup parameter instead
16721         of display-buffer-window in doc-string.
16722         * help.el (help-window-setup): New argument help-window.
16723         Use help-window-setup parameter instead of display-buffer-window.
16724         Reword some messages.
16725         (with-help-window): Pass window used for displaying the buffer
16726         to help-window-setup.  Don't set display-buffer-window.
16728 2011-09-13  Glenn Morris  <rgm@gnu.org>
16730         * emacs-lisp/debug.el (debugger-make-xrefs):
16731         Preserve point.  (Bug#9462)
16733 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
16735         * window.el (window-deletable-p): Use next-frame.
16737 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
16739         * window.el (window-auto-delete): Remove.
16740         (window-deletable-p): Remove argument FORCE.  Don't deal with
16741         dedication and previous buffers.
16742         (switch-to-prev-buffer): Don't delete window.
16743         (delete-windows-on): Delete a window's frame if and only if the
16744         window is dedicated.
16745         (replace-buffer-in-windows): Delete buffer's window or frame if
16746         and only if window is dedicated.
16747         (quit-window): Handle quit-restore as before last change.
16748         (bury-buffer): Delete window only if window-deletable-p returns t.
16750 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
16752         * window.el (window-deletable-p): Never delete the last frame on a
16753         given terminal.
16755 2011-09-13  Glenn Morris  <rgm@gnu.org>
16757         * help.el (describe-key-briefly): Copy previous standard-output change.
16759 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
16761         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
16763 2011-09-13  Glenn Morris  <rgm@gnu.org>
16765         * emacs-lisp/lisp-mode.el (lisp-indent-function):
16766         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16768 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
16770         * dired-aux.el (dired-mark-read-string): Don't return default
16771         value on empty input (Bug#9361).
16772         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16773         Omit initial minibuffer contents.
16774         (dired-do-chmod): Signal an error on empty input.
16775         (dired-mark-read-string): Don't return default on empty input.
16777         * files.el (file-modes-symbolic-to-number): Doc fix.
16779 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16781         * international/mule-cmds.el (ucs-completions): Remove.
16782         (read-char-by-name): Use complete-with-action instead; add metadata.
16784 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
16786         * window.el (display-buffer--action-function-custom-type)
16787         (display-buffer--action-custom-type): New vars.
16788         (display-buffer-alist, display-buffer-default-action)
16789         (display-buffer-overriding-action): Add defcustom types.
16791         * frame.el (delete-other-frames): Doc fix (Bug#276).
16793 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16795         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16797 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
16799         Change modes that used same-window-* vars to use switch-to-buffer.
16801         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16802         Use switch-to-buffer.
16804         * cus-edit.el (customize-group, custom-buffer-create)
16805         (customize-browse, custom-buffer-create-other-window):
16806         Use switch-to-buffer or switch-to-buffer-other-window.
16808         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16809         (Info-prev, Info-up, Info-speedbar-goto-node)
16810         (info-display-manual): Use switch-to-buffer.
16811         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16813         * mail/sendmail.el (mail): Use switch-to-buffer.
16814         (mail-recover): Use switch-to-buffer-other-window.
16816         * cmuscheme.el (run-scheme, switch-to-scheme):
16817         * ielm.el (ielm):
16818         * shell.el (shell):
16819         * net/rlogin.el (rlogin):
16820         * net/telnet.el (telnet, rsh):
16821         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16823 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
16825         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16827 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16829         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16830         so don't mention it (bug#9301).
16831         (dired-sort-toggle-or-edit): Clarify string further.
16833         * faces.el (face-spec-set-match-display): Make `(type graphic)'
16834         match `x', `w32' and `ns', like the manual says (bug#9029).
16836         * subr.el (eval-after-load): Doc string clarification (bug#9125).
16837         (process-kill-buffer-query-function): Mention the buffer name in
16838         the query.
16840         * image-mode.el (image-next-line): The line parameter is mandatory
16841         (bug#9258).
16843         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16844         which can be useful (bug#9301).
16846         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16848         * subr.el (match-string): Mention that the current buffer should
16849         be the same as the search was done in (bug#9282).
16851         * facemenu.el: Disable the remove-* commands if the mark isn't
16852         active (bug#9162).
16854 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
16856         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16857         of display-buffer.
16858         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16860         * replace.el (occur-mode-goto-occurrence)
16861         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16862         and display-buffer.
16864         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16865         display-buffer.
16867         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16868         special-display and same-window variables.
16869         (mail-other-window): Use switch-to-buffer-other-window.
16870         (mail-other-frame): USe switch-to-buffer-other-frame.
16872         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16873         Use display-buffer-other-frame.
16874         (gdb-display-gdb-buffer): Use pop-to-buffer.
16876         * progmodes/gud.el (gud-goto-info): Use info-other-window.
16878         * progmodes/python.el: Don't set same-window-buffer-names.
16880         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16882         * window.el (display-buffer-alist): Add *Python*.
16884 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
16886         * window.el (display-buffer-alist): Add entry for buffers
16887         previously handled same-window-*.
16888         (display-buffer-alist, display-buffer-default-action)
16889         (display-buffer-overriding-action): Mark as risky.
16890         (display-buffer-alist): Document action function changes.
16891         (display-buffer--same-window-action)
16892         (display-buffer--other-frame-action): New variables.
16893         (switch-to-buffer, display-buffer-other-frame): Use them.
16894         (display-buffer): Rename reuse-frame entry to reusable-frames.
16895         (display-buffer-reuse-selected-window): Function deleted.
16896         (display-buffer-reuse-window): Handle reusable-frames alist entry.
16897         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16898         (display-buffer-special): New function.
16899         (display-buffer--maybe-pop-up-frame-or-window): Rename from
16900         display-buffer-reuse-or-pop-window.  Split off special-display
16901         part into display-buffer-special.
16902         (display-buffer-use-some-window): Don't perform any special
16903         pop-up-frames handling.
16904         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
16905         (display-buffer--maybe-same-window): Rename from
16906         display-buffer-maybe-same-window.
16908         * info.el: Don't set same-window-regexps.
16909         (info-setup): New function.
16910         (info-other-window, info): Call it.
16912         * cus-edit.el: Don't set same-window-regexps.
16913         (customize-group): New argument.
16914         (customize-group-other-window): Use it.
16915         (customize-face, customize-face-other-window): Likewise.
16916         (custom-buffer-create-other-window): Use pop-to-buffer directly.
16918         * net/rlogin.el:
16919         * net/telnet.el:
16920         * progmodes/gud.el: Don't set same-window-regexps.
16922         * cmuscheme.el:
16923         * ielm.el:
16924         * shell.el:
16925         * mail/sendmail.el:
16926         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16928 2011-09-10  Juri Linkov  <juri@jurta.org>
16930         * isearch.el (isearch-edit-string): Remove obsolete mention of
16931         `C-w' (`isearch-yank-word-or-char') from docstring.
16932         (isearch-query-replace): Fix typo in docstring (bug#9466).
16934 2011-09-10  Juri Linkov  <juri@jurta.org>
16936         * paren.el (show-paren-function): Don't show escaped parens.
16937         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
16939 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
16941         * mail/sendmail.el (mml-to-mime, mml-attach-file)
16942         (mm-default-file-encoding): Remove autoload forms, they are
16943         replaced with autoload cookies in mml.el and mm-encode.el.
16944         (mail-add-attachment): New command.
16945         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16946         (mail-mode): Mention mail-insert-file and mail-add-attachment in
16947         the doc string.
16948         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16950 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
16952         * simple.el (count-words-region): Use buffer if there's no region
16953         (bug#9429).
16955 2011-09-09  Juri Linkov  <juri@jurta.org>
16957         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16958         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16959         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
16961 2011-09-09  Alan Mackenzie  <acm@muc.de>
16963         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16964         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
16966 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
16968         Fix for Savannah bug#9392.
16969         * simple.el (mail-encode-mml): New defvar.
16971         * mail/rmail.el (mail-encode-mml): Add a defvar.
16972         (rmail-enable-mime-composing): Default to t.
16973         (rmail-forward): Use MIME method of forwarding only if both
16974         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16975         Set mail-encode-mml non-nil if the MIME method was used.
16977         * mail/sendmail.el (mml-to-mime): Add autoload form.
16978         (mail-encode-mml): Add a defvar.
16979         (mail-mode): Make mail-encode-mml buffer-local and initialize it
16980         to nil.
16981         (mail-send): If mail-encode-mml is non-nil, run the outgoing
16982         message through mml-to-mime, and reset mail-encode-mml to nil.
16984 2011-09-09  Glenn Morris  <rgm@gnu.org>
16986         * woman.el (woman-if-body): When processing an .el block,
16987         do not delete the next .el block as well.  (Bug#9447)
16988         (woman-special-characters): Add oq, cq, and hy characters.
16990 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
16992         * window.el (window-deletable-p): Make sure window is live before
16993         invoking window-prev-buffers.
16995 2011-09-08  Leo Liu  <sdl.web@gmail.com>
16997         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
16999 2011-09-08  Juri Linkov  <juri@jurta.org>
17001         * progmodes/compile.el (compilation-environment): Make it
17002         a defcustom (bug#8340).
17004 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
17006         * window.el (frame-auto-delete): Rename to window-auto-delete.
17007         Make it control auto-deletion of windows and/or frames.
17008         (window-deletable-p): New argument FORCE.  Rewrite conditions
17009         for deleting window/frame.  (Bug#9419)
17010         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17011         Rewrite handling of case when window/frame can be deleted.
17012         (delete-windows-on): Call window-deletable-p with new FORCE
17013         argument t.  (Bug#9456)
17015 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
17017         * help-mode.el (help-mode): Restore autoload.
17019 2011-09-07  Juri Linkov  <juri@jurta.org>
17021         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17022         `compilation-environment'.  Set buffer-local
17023         `compilation-environment' to `thisenv' later after (funcall mode).
17024         (Bug#8340)
17026         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
17027         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17028         instead of replacing its value.  (Bug#8340)
17030 2011-09-07  Juri Linkov  <juri@jurta.org>
17032         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17033         based on text properties put by `grep-filter' instead of matching
17034         escape sequences.
17035         (grep-mode): Set buffer-local `compilation-error-screen-columns'
17036         to the value of `grep-error-screen-columns' (bug#9438).
17038 2011-09-07  Juri Linkov  <juri@jurta.org>
17040         * simple.el (next-error-highlight, next-error-highlight-no-select):
17041         Doc fix (bug#9432).
17043 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
17045         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17046         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
17048 2011-09-07  Leo Liu  <sdl.web@gmail.com>
17050         * net/rcirc.el (rcirc-mode): Conditionally initialize
17051         rcirc-input-ring.
17053 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17055         * emacs-lisp/find-func.el (find-function-C-source): Only set
17056         find-function-C-source-directory after checking that we found a source
17057         file there (bug#9440).
17059 2011-09-06  Alan Mackenzie  <acm@muc.de>
17061         * isearch.el (isearch-other-meta-char): Wherever a key list is
17062         unread, "unread" the prefix arg, too.  This fixes bug #8901.
17064 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
17066         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17068 2011-09-05  Juri Linkov  <juri@jurta.org>
17070         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17072 2011-09-05  Juri Linkov  <juri@jurta.org>
17074         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17075         keeping point where processing of grep matches begins, and
17076         continue to delete remaining escape sequences from the same point.
17077         (grep-filter): Make leading zero optional in "0?1;31m" because
17078         git-grep emits "\033[1;31m" escape sequences unlike expected
17079         "\033[01;31m" as GNU Grep does (bug#9408).
17080         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17082 2011-09-05  Juri Linkov  <juri@jurta.org>
17084         * subr.el (y-or-n-p): Capitalize "yes".
17086 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
17088         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
17089         `tramp-cache-unload-hook' where appropriate.
17090         (tramp-methods): Rename `tramp-remote-sh' to
17091         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
17092         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17094         * net/tramp-sh.el (top): Don't require 'shell.
17095         (tramp-methods): Add `tramp-remote-shell' and
17096         `tramp-remote-shell-args' entries.
17097         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17098         (tramp-sh-handle-shell-command): Remove.
17099         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17100         Use `tramp-remote-shell'.
17102 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
17104         * mail/sendmail.el (sendmail-query-once-function): Delete.
17105         (sendmail-query-once): Save directly to send-mail-function.
17106         Update message-send-mail-function too.
17108         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17110 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
17112         * progmodes/python.el (python-mode-map): Use correct function to
17113         start python interpreter from menu-bar (as reported by Geert
17114         Kloosterman).
17115         (inferior-python-mode-map): Fix typo.
17116         (python-shell-map): Remove.
17118 2011-09-03  Deniz Dogan  <deniz@dogan.se>
17120         * net/rcirc.el (rcirc-print): Simplify code for
17121         rcirc-scroll-show-maximum-output.  There is no need to walk
17122         through all windows to find the right one.
17124 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
17126         * help.el (help-return-method): Doc fix.
17128 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
17130         * window.el (window-deletable-p): Don't return a non-nil value
17131         when there's a buffer that was shown in the window before.
17132         (Bug#9419)
17133         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17134         Set window's previous buffers to nil.
17136 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
17138         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17139         newline before and after the tag line, so it doesn't interfere
17140         with determining the paragraph direction of bidirectional text.
17142 2011-09-03  Leo Liu  <sdl.web@gmail.com>
17144         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
17146 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
17148         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17149         (pop-to-buffer): Change interactive spec.  Pass second argument
17150         directly to display-buffer.
17151         (display-buffer): Fix interactive spec.  Use functionp to
17152         distinguish between a function and a list of functions.
17154         * abbrev.el (edit-abbrevs):
17155         * arc-mode.el (archive-extract):
17156         * autoinsert.el (auto-insert):
17157         * bookmark.el (bookmark-bmenu-list):
17158         * files.el (find-file):
17159         * view.el (view-buffer):
17160         * progmodes/compile.el (compilation-goto-locus):
17161         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17163 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
17165         * window.el (display-buffer-alist): Doc fix.
17166         (display-buffer): Add docstring.  Don't treat
17167         display-buffer-default specially.
17168         (display-buffer-reuse-selected-window)
17169         (display-buffer-same-window, display-buffer-maybe-same-window)
17170         (display-buffer-reuse-window, display-buffer-pop-up-frame)
17171         (display-buffer-pop-up-window)
17172         (display-buffer-reuse-or-pop-window)
17173         (display-buffer-use-some-window): New functions.
17174         (display-buffer-default-action): Use them.
17175         (display-buffer-default): Delete.
17176         (pop-to-buffer-1): Fix choice of actions.
17178 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17180         * minibuffer.el (completion--insert-strings): Don't get confused by
17181         completion entries that end with an LF char.
17183 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
17185         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17187 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
17189         * window.el (display-buffer): Restore interactive spec.
17190         (display-buffer-same-window, display-buffer-other-window):
17191         New functions.
17192         (pop-to-buffer-1): New function.  Use the above.
17193         (pop-to-buffer, pop-to-buffer-same-window): Use it.
17194         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17196         * view.el (view-buffer-other-window, view-buffer-other-frame):
17197         Just use pop-to-buffer.
17199 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17201         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
17203 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
17205         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
17207 2011-08-31  Richard Stallman  <rms@gnu.org>
17209         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17210         of the separation of rmail-view-buffer from rmail-buffer.
17211         If you say no to "replace original", the decrypt is in the
17212         view buffer.  If you say yes, the decrypt goes into the
17213         rmail buffer also.
17215 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
17217         * window.el (display-buffer-window): Rewrite doc-string.
17218         (display-buffer-record-window): New function.
17219         (display-buffer-macro-specifiers)
17220         (display-buffer-even-window-sizes, display-buffer-set-height)
17221         (display-buffer-set-width, display-buffer-in-window)
17222         (display-buffer-reuse-window, display-buffer-split-specifiers)
17223         (display-buffer-side-specifiers, display-buffer-split-window-1)
17224         (display-buffer-split-window, display-buffer-split-atom-window)
17225         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17226         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17227         (display-buffer-other-window-means-other-frame)
17228         (display-buffer-normalize-special)
17229         (display-buffer-normalize-default)
17230         (display-buffer-normalize-argument)
17231         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17232         (display-buffer-normalize-specifiers, display-buffer-frame)
17233         (display-buffer-same-window, display-buffer-same-frame)
17234         (display-buffer-other-window)
17235         (display-buffer-same-frame-other-window)
17236         (display-buffer-other-frame, pop-to-buffer-same-window)
17237         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17238         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17239         (switch-to-buffer-same-frame)
17240         (switch-to-buffer-other-window-same-frame)
17241         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17242         (display-buffer-alist-set-1, display-buffer-alist-set-2)
17243         (display-buffer-alist-set): Remove.
17244         (display-buffer-function, special-display-buffer-names)
17245         (special-display-regexps, special-display-function):
17246         In doc-string refer to display-buffer-window and quit-restore
17247         parameter.
17248         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17249         (special-display-frame-alist, special-display-popup-frame)
17250         (same-window-buffer-names, same-window-regexps, same-window-p)
17251         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17252         (split-window-preferred-function, split-height-threshold)
17253         (split-width-threshold, window-splittable-p)
17254         (split-window-sensibly, window--try-to-split-window)
17255         (window--frame-usable-p, even-window-heights)
17256         (window--even-window-heights, window--display-buffer-1)
17257         (window--display-buffer-2, display-buffer-other-frame):
17258         Restore old Emacs 23 code, order and doc-strings where applicable.
17259         (display-buffer-default, display-buffer-assq-regexp): New functions.
17260         (display-buffer-alist): Rewrite doc-string.
17261         (display-buffer-default-action)
17262         (display-buffer-overriding-action): New variables.
17263         (display-buffer, switch-to-buffer): Rewrite.
17264         (pop-to-buffer): Restore Emacs 23 behavior but use
17265         window-normalize-buffer-to-display.
17266         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17267         Restore Emacs 23 behavior but use
17268         window-normalize-buffer-to-switch-to.
17269         (pop-to-buffer-same-window): Rewrite.
17270         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17271         Rewrite using Emacs 23 options.
17273 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
17275         * net/tramp.el (tramp-root-regexp): Remove.
17276         (tramp-completion-file-name-regexp-unified)
17277         (tramp-completion-file-name-regexp-separate)
17278         (tramp-completion-file-name-regexp-url): Don't use leading volume
17279         letter on w32 systems.  (Bug#5303, Bug#9311)
17280         (tramp-drop-volume-letter): Simplify definition.
17281         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
17283 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17285         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17286         (bug#9356).
17288 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
17290         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
17292 2011-08-29  Juri Linkov  <juri@jurta.org>
17294         * isearch.el (isearch-done): Don't display message "Mark saved"
17295         when arg `edit' is non-nil to prevent its flicker in the echo area.
17297 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
17299         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17300         obsolete packages for deletion.
17302 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
17304         * help-mode.el (help-mode-map): Add special-mode-map to parent.
17305         (help-mode): Derive help-mode from special-mode.  Don't invoke
17306         view-mode from help-mode.
17307         (help-xref-override-view-map): Remove.
17308         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17309         view-mode is not used anymore.
17311 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
17313         * server.el (server-port): Doc fix.
17315         * cus-theme.el (custom-theme-choose-mode): Inherit from
17316         special-mode (Bug#9124).
17317         (custom-theme-choose-mode-map): Add special-mode to parent.
17319 2011-08-28  Alan Mackenzie  <acm@muc.de>
17321         * progmodes/cc-fonts.el
17322         (c-make-font-lock-BO-decl-search-function): New function.
17323         (c-basic-matchers-after - "Fontify the clauses after various
17324         keywords"): Extract the three keyword lists for the 3 erroneous
17325         constructs from the list of four, and use the new function above
17326         in place of an old one.
17328 2011-08-28  Deniz Dogan  <deniz@dogan.se>
17330         * net/rcirc.el (rcirc-insert-prev-input)
17331         (rcirc-insert-next-input): Remove unused argument.
17333 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17335         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17337 2011-08-27  Alan Mackenzie  <acm@muc.de>
17339         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17340         handle function pointer parameters properly.
17342 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
17344         * window.el (display-buffer-reuse-window): Fix case where
17345         selected window was reused with non-nil OTHER-WINDOW argument.
17346         (Bug#9381)
17348 2011-08-27  Deniz Dogan  <deniz@dogan.se>
17350         * net/rcirc.el (rcirc-check-auth-status): Adding support for
17351         oftc's NickServ messages.
17353 2011-08-27  Glenn Morris  <rgm@gnu.org>
17355         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
17357 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
17359         * emacs-lisp/package.el (package-install): Call package-initialize
17360         if called interactively.
17362 2011-08-26  Leo Liu  <sdl.web@gmail.com>
17364         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
17366 2011-08-25  Juri Linkov  <juri@jurta.org>
17368         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17369         `search-whitespace-regexp' (bug#9364).
17371 2011-08-25  Juri Linkov  <juri@jurta.org>
17373         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17374         `regexp-search-ring' to their global values to protect from
17375         updating by `read-from-minibuffer' (bug#9185).
17377 2011-08-25  Juri Linkov  <juri@jurta.org>
17379         * textmodes/ispell.el (ispell-command-loop): Add newline
17380         at the end of the "Use option `i'..." line.
17382 2011-08-25  Juri Linkov  <juri@jurta.org>
17384         * battery.el (display-battery-mode): If `battery-status-function'
17385         or `battery-mode-line-format' is nil, display the message and set
17386         `display-battery-mode' to nil (bug#9363).
17388 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
17390         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17391         bidi-string-mark-left-to-right; they are unnecessary now.
17393 2011-08-25  Deniz Dogan  <deniz@dogan.se>
17395         * net/quickurl.el: Documentation typo fixes.
17397 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
17399         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17401 2011-08-25  Glenn Morris  <rgm@gnu.org>
17403         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17405         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17406         (smtpmail-via-smtp): Handle nil response from smtp.
17408 2011-08-24  Juri Linkov  <juri@jurta.org>
17410         * proced.el (proced-marked): Inherit from `error' instead of
17411         `font-lock-warning-face'.
17413         * ibuffer.el (ibuffer-marked-face): Change default face from
17414         `font-lock-warning-face' to `warning'.
17415         (ibuffer-deletion-face): Change default face from
17416         `font-lock-type-face' to `error'.
17418         * battery.el (battery-update): Use the face `error' instead of
17419         `font-lock-warning-face' (bug#6117).
17421 2011-08-24  Juri Linkov  <juri@jurta.org>
17423         * faces.el (success): Change face color from "Green3" to
17424         "ForestGreen" on light background (bug#9353).
17426 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
17428         * window.el (quit-window): Rename from quit-restore-window.
17429         Use same arglist as old quit-window.
17430         (frame-auto-delete): Doc fix.
17432         * view.el (view-mode-exit): Use quit-window.
17434 2011-08-24  Juri Linkov  <juri@jurta.org>
17436         * isearch.el (isearch-ring-adjust1): Start visiting previous
17437         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17438         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17439         for empty search string (when the last search string is reused
17440         automatically) to adjust the isearch ring to the last element and
17441         prepare the correct index for further M-p commands (bug#9185).
17443 2011-08-24  Kenichi Handa  <handa@m17n.org>
17445         * international/ucs-normalize.el: If decomposition property of
17446         CHAR is the default one (i.e. a list of CHAR itself), treat it as
17447         nil.
17448         (nfd, nfkd): Likewise.
17450 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17452         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17453         from process filters aren't reliably transmitted to the surrounding
17454         accept-process-output.
17455         (mpc-proc-check): New function.
17456         (mpc-proc-sync): Use it (bug#8293)
17458 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17460         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17461         Add compatibility functions (bug#9313).
17463 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
17465         * cus-start.el (all): Add entry for bidi-paragraph-direction.
17467         * international/uni-bidi.el: Regenerate.
17469 2011-08-23  Kenichi Handa  <handa@m17n.org>
17471         * international/charprop.el:
17472         * international/uni-bidi.el:
17473         * international/uni-category.el:
17474         * international/uni-combining.el:
17475         * international/uni-comment.el:
17476         * international/uni-decimal.el:
17477         * international/uni-decomposition.el:
17478         * international/uni-digit.el:
17479         * international/uni-lowercase.el:
17480         * international/uni-mirrored.el:
17481         * international/uni-name.el:
17482         * international/uni-numeric.el:
17483         * international/uni-old-name.el:
17484         * international/uni-titlecase.el:
17485         * international/uni-uppercase.el: Regenerate.
17487 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
17489         * help.el (help-window-setup): Fix message displayed when other
17490         window is reused.  (Bug#9341)
17492 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17494         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17495         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17497         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17498         Mark obsolete.
17499         * shell.el (shell-parse-pcomplete-arguments): New function.
17500         (shell-completion-vars): Use it instead (bug#9160).
17502 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17504         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17505         strings and comments (bug#9333).
17507         * emacs-lisp/debug.el (debug-arglist): New function.
17508         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
17509         (debug-on-entry-1): Handle interpreted closures (bug#9120).
17511 2011-08-22  Juri Linkov  <juri@jurta.org>
17513         * progmodes/compile.el (compilation-mode-font-lock-keywords):
17514         Revert regexp that highlights output switches to its old
17515         pre-2010-10-28 value and remove one `?' from it (bug#9319).
17517         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17518         to check for empty output (bug#9226).
17520 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
17522         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17523         symbol-constituent as the default, as that stops font-lock from
17524         working properly (Bug#8843).
17526 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17528         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17529         `coding-system-for-*' around the process open call to avoid
17530         auth-source side effects.
17531         (smtpmail-try-auth-methods): Expand the secret password.
17532         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17533         probe hangs.
17535 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
17537         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17539         * emacs-lisp/find-func.el (find-function-noselect): New arg
17540         lisp-only.
17542         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17543         signal an error for built-in functions (Bug#6664).
17545 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17547         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17548         (smtpmail-try-auth-methods): Use it.
17550 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
17552         * font-lock.el (font-lock-fontify-region)
17553         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17554         (font-lock-default-unfontify-buffer)
17555         (font-lock-default-fontify-region)
17556         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17558         * progmodes/compile.el (compilation-error-properties):
17559         Fix confusion between file struct and message struct (Bug#9319).
17560         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17561         `ant' regexp.
17563         * net/browse-url.el (browse-url-firefox): Don't call
17564         browse-url-firefox-sentinel unless using -remote (Bug#9328).
17566 2011-08-20  Glenn Morris  <rgm@gnu.org>
17568         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17570         * tutorial.el (tutorial--default-keys): Update some default bindings.
17572         * files.el (hack-local-variables): Fully ignore case for "mode:".
17574 2011-08-20  Alan Mackenzie  <acm@muc.de>
17576         Resolve invalid use of a regexp in regexp-opt.
17578         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17579         detection for a java annotation.
17581         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
17582         detection for a java annotation.
17584         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17585         handling for java.
17586         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17588 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
17590         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17591         (Bug#9274).
17593 2011-08-20  Alan Mackenzie  <acm@muc.de>
17595         Fontify CPP expressions correctly when starting in the middle of
17596         such a construct.  Mainly for when jit-lock etc. starts a chunk
17597         here.
17599         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
17600         variable.
17601         (c-make-font-lock-search-form): New function, extracted from
17602         c-make-font-lock-search-function.
17603         (c-make-font-lock-search-function): Use the above function.
17604         (c-make-font-lock-context-search-function): New function.
17605         (c-cpp-matchers): Enhance the preprocessor expression case with
17606         the above function
17607         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17608         which takes an expression.
17610         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17612 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
17614         * window.el (display-buffer-reuse-window)
17615         (display-buffer-pop-up-window): Don't reuse or split a side
17616         window.
17618 2011-08-19  Glenn Morris  <rgm@gnu.org>
17620         * files.el (hack-local-variables-prop-line, hack-local-variables):
17621         Downcase "Mode:".  (Bug#9331)
17623 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
17625         * international/characters.el: Add L and R categories.
17627         * subr.el (bidi-string-mark-left-to-right): Rename from
17628         string-mark-left-to-right.  Use category search.
17630         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17632 2011-08-18  Juri Linkov  <juri@jurta.org>
17634         * faces.el (error, warning, success): New faces with definitions
17635         copied from old default values of `font-lock-warning-face',
17636         `compilation-warning', `compilation-info' (bug#6117).
17638         * font-lock.el (font-lock-warning-face): Inherit from `error'.
17640         * progmodes/compile.el (compilation-error): Inherit from `error'.
17641         (compilation-warning): Inherit from `warning'.
17642         (compilation-info): Inherit from `success'.
17644         * dired.el (dired-marked): Inherit from `warning'.
17645         (dired-flagged): Inherit from `error'.
17647 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17649         * mail/smtpmail.el (auth-source): Require to avoid problems with
17650         binding variables (bug#9298).  Also clean up some unused
17651         autoloads.
17653         * net/network-stream.el (network-stream-open-starttls):
17654         Support using starttls.el without using gnutls-cli.
17656 2011-08-17  Juri Linkov  <juri@jurta.org>
17658         * progmodes/grep.el (rgrep): Handle the case when
17659         `grep-find-command' is a cons cell (bug#9278).
17661 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
17663         * window.el (display-buffer-pop-up-frame): Run frame creation
17664         function with BUFFER current (as special-display-popup-frame
17665         does).  Reported by Drew Adams.
17667 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
17669         * epa-mail.el: Simplify GnuPG group expansion using
17670         epg-expand-group.
17671         (epa-mail-group-alist, epa-mail-group-modtime)
17672         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17673         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17674         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17675         Remove.
17677 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
17679         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17681 2011-08-16  Alan Mackenzie  <acm@muc.de>
17683         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17684         Correct, to avoid the inside of macros.
17686 2011-08-16  Richard Stallman  <rms@gnu.org>
17688         * epa-mail.el: Handle GnuPG group definitions.
17689         (epa-mail-group-alist, epa-mail-group-modtime)
17690         (epa-mail-gnupg-conf-file): New variables.
17691         (epa-mail-parse-groups, epa-mail-sync-groups)
17692         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17693         (epa-mail-expand-recipients): New functions.
17694         (epa-mail-encrypt): Call epa-mail-expand-recipients.
17696         * mail/rmail.el (rmail-epa-decrypt): New command.
17698         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17699         Don't bind buffer-read-only, just inhibit-read-only.
17700         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17701         (epa-decrypt-armor-in-region): Make error message clearer.
17703 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17705         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17706         and "a2b" to "ab" for `prefix'.
17708 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
17710         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17711         filter groups.
17712         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
17713         Fourquet (Bug#8804).
17715 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
17717         * startup.el (argi): Declare as global variable (bug#9275).
17719 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
17721         * subr.el (string-mark-left-to-right): Search the entire string
17722         for RTL script, not just the terminating character.  Doc fix.
17724 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17726         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17727         New function.
17728         (js--regexp-literal, js-syntax-propertize-function): Remove.
17729         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17730         (js-mode-map): Don't rebind electric keys.
17731         (js-insert-and-indent): Remove.
17732         (js-mode): Setup electric-layout and electric-indent instead.
17734         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17736 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
17738         * epa.el (epa-progress-callback-function): Fix the logic of
17739         displaying progress.
17740         * epa-file.el (epa-file-insert-file-contents): Make progress
17741         display more user-friendly.
17742         (epa-file-write-region): Ditto.
17744 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
17746         * subr.el (string-mark-left-to-right): New function.
17748         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17749         Use string-mark-left-to-right.
17750         (list-buffers-noselect): Caller changed.
17752         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17753         Use string-mark-left-to-right.
17754         (tabulated-list-print): Recenter after moving point.
17756 2011-08-10  Juri Linkov  <juri@jurta.org>
17758         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17759         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17760         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17762 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
17764         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17765         (Bug#7554).
17767 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17769         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17770         character.  (Bug#6594)
17772 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
17774         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17775         (image-dired--with-db-file): New macro.
17776         (image-dired-write-tags, image-dired-remove-tag)
17777         (image-dired-create-gallery-lists, image-dired-write-comments)
17778         (image-dired-get-comment, image-dired-mark-tagged-files)
17779         (image-dired-list-tags, image-dired-gallery-generate): Use it.
17780         (image-dired-gallery-generate): Use insert-file-contents.
17782         * time.el (display-time-world-list, display-time-world-display):
17783         * time-stamp.el (time-stamp-string):
17784         * vc/add-log.el (add-change-log-entry): Use setenv instead of
17785         set-time-zone-rule (Bug#7337).
17787 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
17789         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17790         (epg-error-to-string, epg-errors-to-string): New function.
17791         (epg-wait-for-completion): Reverse errors list.
17792         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17793         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17794         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17795         (epg-sign-keys, epg-generate-key-from-file)
17796         (epg-generate-key-from-string): Format errors by using
17797         epg-errors-to-string (bug#9255).
17798         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17800 2011-08-07  Juri Linkov  <juri@jurta.org>
17802         * faces.el (list-faces-display): Remove extra angle bracket
17803         from `help-mode-map'.
17805         * info.el (Info-history-toc-nodes): Doc fix.
17807         * longlines.el (longlines-mode): Doc fix.
17809 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17811         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17812         of statements and in a few more cases (bug#9183).
17814         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17815         New functions.
17816         (cl-transform-lambda): Use them (bug#9239).
17818 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
17820         * window.el (display-buffer-same-window)
17821         (display-buffer-same-frame, display-buffer-other-window)
17822         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17823         (pop-to-buffer-other-window)
17824         (pop-to-buffer-same-frame-other-window)
17825         (pop-to-buffer-other-frame): Make them defuns.
17826         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17828 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17830         * subr.el (make-composed-keymap): Move from C.  Change calling
17831         convention, and improve docstring to bring attention to a subtle point.
17832         * minibuffer.el (completing-read-default): Adjust accordingly.
17834 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
17836         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17837         (tramp-open-shell): Use `tramp-shell-quote-argument'.
17839         * net/trampver.el: Update release number.
17841 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17843         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17844         "in" (bug#9190).
17846 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17848         * mail/sendmail.el (sendmail-query-once): Restore the current
17849         buffer after querying (bug#9074).
17851         * dired.el (dired-flagged): Use different faces for marked and
17852         flagged files (bug#6117).
17854         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17855         (bug#4433).
17857         * ido.el (ido-mode): Switch off the message if called
17858         non-interactively.
17860         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17861         before 587, since it appears that that's more likely to work for
17862         more people.
17864         * cus-edit.el (custom-file): When running under emacs -q, always
17865         refuse to save the customizations, even if the .emacs file doesn't
17866         exist.
17868         * info.el: Remove the `Info-beginning-of-buffer' function
17869         (bug#8325).
17871         * net/network-stream.el (network-stream-open-starttls):
17872         Use `starttls-available-p' to see whether starttls.el can be used.
17874 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
17876         * window.el (display-buffer-in-window): Don't set dedicated status
17877         of window here (Bug#9215).
17878         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17879         (display-buffer-pop-up-side-window)
17880         (display-buffer-in-side-window): Set dedicated status of window here.
17882 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17884         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17885         before binding generated-autoload-file.
17887 2011-08-01  Deniz Dogan  <deniz@dogan.se>
17889         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17891 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
17893         Sync with Tramp 2.2.2.
17895         * net/trampver.el: Update release number.
17897 2011-07-30  Juri Linkov  <juri@jurta.org>
17899         * dired-aux.el (dired-touch-initial): Remove function.
17900         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17901         current time, and `default' to the last modification time of the
17902         current marked file (bug#6887).
17904 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
17906         * simple.el (goto-line): Use string-to-number to provide a
17907         numeric argument to read-number (bug#9163).
17909 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
17911         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17912         connection process, it could be nil.
17914 2011-07-27  Leo Liu  <sdl.web@gmail.com>
17916         Simplify url handling in rcirc-mode.
17918         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17919         (rcirc-browse-url-at-mouse): Remove.
17920         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17922 2011-07-26  Alan Mackenzie  <acm@muc.de>
17924         Fontify bitfield declarations properly.
17926         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17927         (c-symbol-chars): Now exported as a lang variable.
17928         (c-not-primitive-type-keywords): New lang variable.
17930         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17931         QT keyword "more" to prevent "more slots: ...." being spuriously
17932         parsed as a bitfield declaration.
17934         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17935         Refactor and enhance to handle bitfield declarations.
17936         (c-punctuation-in): New function.
17937         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17938         declarations properly.
17940 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
17942         * calendar/icalendar.el (icalendar--all-events): Take care of
17943         multiple vcalendars in a single file.
17944         (icalendar--convert-float-to-ical): Checkdoc fixes.
17946 2011-07-25  Deniz Dogan  <deniz@dogan.se>
17948         * image.el (insert-image): Clarifying docstring.
17950 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
17952         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17953         `tramp-send-command-and-check' if there is no error.
17954         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17956 2011-07-22  Alan Mackenzie  <acm@muc.de>
17958         Prevent cc-langs.elc being loaded at run time.
17960         * progmodes/cc-mode.el: Remove two autoload forms which loaded
17961         cc-langs.
17963         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
17964         "(require 'cc-langs)".  Quote a form so it will evaluate at
17965         (cc-mode's) compilation time.
17967 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
17969         * net/tramp.el (tramp-file-name-handler): Avoid recursive
17970         loading.  (Bug#9114)
17972 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
17974         * window.el (display-buffer-pop-up-window)
17975         (display-buffer-pop-up-side-window)
17976         (display-buffer-in-side-window): Call display-buffer-set-height
17977         and display-buffer-set-width after setting the new window's
17978         buffer so `fit-window-to-buffer' and friends work on the right buffer.
17980 2011-07-20  Sam Steingold  <sds@gnu.org>
17982         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17983         (etags-tags-included-tables): Call `convert-standard-filename' on
17984         the file names contained in TAGS so that windows Emacs can handle
17985         TAGS files created by cygwin ctags.
17987 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17989         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17990         which apparently didn't work.
17992 2011-07-19  Roland Winkler  <winkler@gnu.org>
17994         * proced.el (proced-send-signal): For *Marked Processes* buffer
17995         put point at beginning of buffer.
17997 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
17999         * proced.el (proced-format): Make header lines align with the text
18000         (bug#1779).
18002 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18004         * view.el (view-buffer): Allow running in `special' modes if we're
18005         visiting a file (bug#8615).
18007 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
18009         * window.el (display-buffer-alist-of-strings-p)
18010         (display-buffer-alist-set-1, display-buffer-alist-set-2):
18011         New functions.
18012         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18013         more accurately.
18015 2011-07-18  Alan Mackenzie  <acm@muc.de>
18017         Fontify declarators properly when, e.g., a jit-lock chunk begins
18018         inside a declaration.
18020         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18022         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18023         New function.
18024         (c-complex-decl-matchers): Insert reference to
18025         c-font-lock-enclosing-decls.
18027         * progmodes/cc-engine.el (c-backward-single-comment):
18028         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18029         to nil around calls to (forward-comment -1).
18031 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18033         * image.el (put-image): Doc typo fix.
18035         * progmodes/etags.el (tags-search): Doc typo fix.
18037         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18038         password if we get errors 550 to 554.
18040 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18042         * net/gnutls.el (gnutls-log-level): Remove.
18044         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18045         indentation character (bug#6380).
18047         * files.el (buffer-offer-save): Made permanently local (bug#6241).
18049         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18050         to clarify what the problem is (bug#4291).
18052         * simple.el (current-kill): Clarify what
18053         `interprogram-paste-function' does (bug#7500).
18054         (auto-fill-mode): Document `auto-fill-function' in relation to
18055         `auto-fill-mode' (bug#2470).
18057 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
18059         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18060         method if slot is read-only (bug#9035).
18062 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
18064         * frame.el (select-frame-set-input-focus): New argument NORECORD.
18065         * window.el (pop-to-buffer): Select window used even if it was
18066         selected before, see discussion of (Bug#8615), (Bug#6954).
18067         Pass argument NORECORD on to select-frame-set-input-focus.
18069 2011-07-15  Glenn Morris  <rgm@gnu.org>
18071         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
18072         Respect help-form.
18074 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
18076         * net/gnutls.el (gnutls-min-prime-bits): New variable.
18077         (gnutls-negotiate): Use it.
18079 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18081         * net/gnutls.el (gnutls-negotiate):
18082         Upcase `gnutls-algorithm-priority'.
18084 2011-07-15  Glenn Morris  <rgm@gnu.org>
18086         * jka-compr.el (jka-compr-verbose): Move from here...
18087         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
18088         Add missing :version tag.
18089         * info.el: No need to require jka-compr when compiling.
18091 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18093         * net/gnutls.el (gnutls-algorithm-priority): New variable.
18094         (gnutls-negotiate): Use it.
18096         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18098         * info.el (Info-beginning-of-buffer): New command.
18099         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18100         announcing `b' as the key (bug#8325).
18101         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18103         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18105         * international/mule-cmds.el
18106         (describe-specified-language-support): Make the error message
18107         clearer (bug#8905).
18109         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18111         * isearch.el (isearch-barrier): Add a doc string, since it's
18112         mentioned in a function doc string (bug#8678).
18114 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
18116         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18117         buffer argument (Bug#9083) and self-identifying label argument.
18119 2011-07-15  Glenn Morris  <rgm@gnu.org>
18121         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
18123 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18125         * man.el (Man-fontify-manpage): Fix message when formatting the
18126         man page (bug#7929).
18128 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
18130         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18131         argument LRM; if non-nil, append an invisible LRM character to the
18132         buffer name.
18133         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18134         last argument non-nil, when formatting buffer names.
18135         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18136         paragraph direction.
18138 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18140         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18141         the man page name (bug#7929).
18143         * image.el (put-image): Mention the `put-image' overlay property
18144         (bug#7834).
18146         * scroll-bar.el (set-scroll-bar-mode): Mention that
18147         `scroll-bar-mode' lists the values (bug#7772).
18149         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18150         command (bug#7729).
18152         * rect.el (apply-on-rectangle): Return the point after the last
18153         operation.
18154         (string-rectangle): Go to the point after the last operation
18155         (bug#7522).
18157         * printing.el (pr-toggle-region): Clarify the documentation
18158         slightly (bug#7493).
18160         * time.el (display-time-update):
18161         Allow `display-time-mail-function' to return nil (bug#7158).
18162         Fix suggested by Detlev Zundel.
18164         * vc/diff.el (diff): Clarify the order the file names are read
18165         (bug#7111).
18167         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18168         the doc string (bug#7015).
18170         * font-lock.el (font-lock-maximum-decoration): Mention what
18171         numeric levels mean (bug#6935).
18173         * startup.el (initial-buffer-choice): Don't mention the `none'
18174         selection, which is against policy.
18176 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
18178         * window.el (display-buffer-normalize-special):
18179         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18181 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
18183         * subr.el (version<, version<=, version=): Mention "-CVS" and
18184         "-12345" alpha version numbers.
18186 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
18188         * bindings.el: Add advertised binding for set-mark-command
18189         (Bug#5772).
18191 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
18193         * bindings.el (mode-line-other-buffer):
18194         * bookmark.el (bookmark-bmenu-2-window):
18195         * bs.el (bs-cycle-next, bs-cycle-previous):
18196         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18197         switch-to-buffer.
18199         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18200         Delete.
18202 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
18204         * follow.el (follow-debug-message, follow-redisplay):
18205         * jka-cmpr-hook.el (with-auto-compression-mode):
18206         Fix typos in docstrings.
18208 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18210         * subr.el (with-silent-modifications): Clarify somewhat what the
18211         macro inhibits (bug#6525).
18213         * simple.el (eval-expression): Note what it does if called
18214         interactively (bug#6495).
18216 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
18218         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18219         Use pop-to-buffer buffer-or-name if it is nil.
18221         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18222         Remove switch-to-buffer.
18224 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18226         * files.el (make-directory): Clarify that an error will be raised
18227         if there's an error (bug#6397).
18229         * startup.el (initial-buffer-choice): Add `none' as a choice
18230         (bug#6234).
18232         * subr.el (add-hook): Clarify section about buffer-local hooks
18233         (bug#6218).
18235         * dired.el (dired-flagged): Clarify doc string (bug#6117).
18237 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
18239         * tabify.el (untabify): Preserve the current column so that point
18240         doesn't move (bug#6032).
18242 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18244         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18245         Rewrite to avoid awkward possessive "s" (bug#5986).
18247 2011-07-13  Glenn Morris  <rgm@gnu.org>
18249         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
18250         (dired-insert-directory): Give a message the first time
18251         if ls is found not to support --dired.
18253 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18255         * simple.el (toggle-truncate-lines): Clarify what is toggled
18256         (bug#5580).  Text by Drew Adams.
18258 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
18260         * simple.el (blink-matching-open): Make the error message from the
18261         last change less verbose.
18263 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
18265         * font-lock.el (font-lock-comment-face): Use the high contrast
18266         "yellow" color for font-lock-comment-face on low color terminals
18267         using a dark background color (bug#4221).
18269 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18271         * dired.el (dired-insert-set-properties): Make the doc string
18272         reflect what it does now (bug#5325).
18274         * simple.el (blink-matching-open): Say that we were unable to find
18275         the match within the limit, if we're limited (bug#5122).
18277         * international/mule-cmds.el (prefer-coding-system): Add an
18278         example (bug#4869).
18280         * progmodes/etags.el (tags-search): Document `file-list-form'
18281         (bug#4731).
18283 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
18285         * net/browse-url.el (browse-url-default-browser)
18286         (browse-url-browser-function): Make the default browser choice a
18287         bit more logical (bug#4300).  Also clean up the doc string.
18289 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
18291         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18292         binary endings (bug#4440).
18294 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18296         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18297         which can be pretty annoying (bug#8971).
18299         * jka-compr.el (jka-compr-verbose): New variable, and use
18300         throughout (bug#8971).
18302         * info.el (Info-find-file): Fall back on the installation
18303         directory if we can't find the info node anywhere else.
18305 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
18307         * vc/vc.el (vc-revert-file):
18308         Don't set file time-stamp in the past.  (Bug#5181)
18310 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18312         * files.el (after-find-file): Give a better error message when
18313         trying to find a symlink that points to a file that doesn't exist
18314         (bug#4398).
18316         * progmodes/cc-vars.el: Remove (probably) misleading comment
18317         (bug#4396).
18319 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
18321         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18323 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
18325         * mouse-sel.el: Hack restoring functionality, while keeping
18326         compatibility with 2010-07-03 changes to mouse selection.
18327         (mouse-sel-primary-overlay): New var.
18328         (mouse-sel-selection-alist): Use it.
18329         (mouse-sel-mode): Doc fix; remove points that are default features
18330         of mouse.el.
18332 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
18334         * progmodes/compile.el (compilation-error-regexp-alist-alist):
18335         Fix previous fix (bug#2490).
18337 2011-07-12  Roland Winkler  <winkler@gnu.org>
18339         * textmodes/bibtex.el (bibtex-initialize):
18340         Use pop-to-buffer-same-window.
18341         (bibtex-search-entries): Fix interactive call.
18343 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18345         * progmodes/compile.el (compilation-error-regexp-alist-alist):
18346         Fontise bytecomp Error lines more correctly (bug#2490).
18347         Fix suggested by Johan Bockgård.
18349         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18351         * dired-x.el (dired-guess-default): Use `delete-dups'.
18353 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
18355         * dired.el (dired-mark-prompt):
18356         * dired-aux.el (dired-read-shell-command): Doc fix.
18358 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18360         * mail/sendmail.el (sendmail-query-once):
18361         Use `customize-save-variable' unconditionally, now that it works under
18362         emacs -Q.
18364         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18366         * cus-edit.el (custom-file): Take an optional no-error variable.
18367         (customize-save-variable): Set the variable, and give a warning if
18368         running under "emacs -q".
18370 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
18372         * loadhist.el (unload-feature-special-hooks):
18373         Add `auto-coding-functions', `fill-nobreak-predicate' and
18374         `find-directory-functions' (bug#5327).
18376 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18378         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18380         * cus-edit.el (custom-guess-name-alist): -alist variables should
18381         use the `alist' type (bug#3120).  Suggested by Drew Adams.
18383         * printing.el: Add documentation to all the `pr-toggle-' commands.
18385 2011-07-11  Leo Liu  <sdl.web@gmail.com>
18387         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18388         backends where it makes sense (bug#2623).
18390 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18392         * dired-x.el (dired-guess-default): Remove duplicate shell command
18393         entries (bug#2028).
18394         (dired-guess-default): Fix grammar in doc string (bug#2028).
18395         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
18397         * subr.el (remove-duplicates): New conveniency function.
18399 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18401         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18402         (bug#1526).
18404 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
18406         * window.el (display-buffer-normalize-default): Don't invert
18407         meaning of even-window-heights.  Reported by Eli Zaretskii
18408         <eliz@gnu.org>.
18410 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
18412         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18414 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
18416         * window.el (display-buffer): Fix arguments to
18417         display-buffer-reuse-window in last change.
18419         * faces.el (link): Use a less saturated blue on light backgrounds.
18421         * startup.el (fancy-startup-text, fancy-about-text)
18422         (fancy-startup-tail): Use font-lock faces, for background safety.
18424 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
18426         * emulation/viper-cmd.el (viper-change-state-to-vi):
18427         Limit triggering of abbrev expansion (Bug#9038).
18429 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
18431         * window.el (display-buffer-default-specifiers): Remove.
18432         (display-buffer-macro-specifiers): Remove default specifiers.
18433         (display-buffer-alist): Default to nil.
18434         (display-buffer-reuse-window): New optional argument other-window.
18435         (display-buffer-pop-up-window): Allow splitting internal
18436         windows.  Check whether a live window was created.
18437         (display-buffer-other-window-means-other-frame)
18438         (display-buffer-normalize-arguments): Rename to
18439         display-buffer-normalize-argument and rewrite.  Set the
18440         other-window specifier.
18441         (display-buffer-normalize-special): New function.
18442         (display-buffer-normalize-options): Rename to
18443         display-buffer-normalize-default and rewrite.
18444         (display-buffer-normalize-options-inhibit): Remove.
18445         (display-buffer-normalize-specifiers): Rewrite.
18446         (display-buffer): Process other-window specifier and call
18447         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
18448         more faithfully.
18449         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
18450         (display-buffer-alist-set): Don't handle 'unset default values.
18451         (display-buffer-in-window, display-buffer-alist-set):
18452         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
18453         <tassilo@member.fsf.org>.
18455 2011-07-09  Leo Liu  <sdl.web@gmail.com>
18457         * register.el (insert-register): Restore accidental change on
18458         2011-06-26.  (Bug#9028)
18460 2011-07-09  Glenn Morris  <rgm@gnu.org>
18462         * subr.el (remq): Handle the empty list.  (Bug#9024)
18464 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
18466         * mail/sendmail.el (send-mail-function): No longer delay custom
18467         initialization.
18468         * custom.el (custom-initialize-delay): Doc fix.
18470 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18472         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18474 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
18476         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18477         human-friendly prompt.
18479 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18481         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18482         provided by a particular plugin.
18484 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18486         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18487         save customizations (with "emacs -Q"), just set the variable
18488         instead of erroring out.
18490         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18492 2011-07-08  Juri Linkov  <juri@jurta.org>
18494         * arc-mode.el (archive-zip-expunge, archive-zip-update)
18495         (archive-zip-update-case): Use 7z if found by `executable-find'.
18496         The order of searching the available programs is the same as in
18497         `archive-zip-extract' (bug#8968).
18499 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
18501         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18502         (menu-bar-options-menu): Tweak descriptions.
18504 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18506         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18507         menu items into verb phrases (bug#1421).  Also refill to fit under
18508         80 columns.
18510 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
18512         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18513         (Info-read-node-name): Doc fix (Bug#1084).
18515         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18516         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18517         (end-of-sexp, beginning-of-sexp)
18518         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18519         (forward-symbol, forward-same-syntax, word-at-point)
18520         (sentence-at-point): Doc fix (Bug#1144).
18522 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18524         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18525         should cover it (bug#1281).
18527         * cus-edit.el (custom-show): Mark as obsolete.
18529         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
18530         negotiation fails, then possibly try again with a non-encrypted
18531         connection (bug#9017).
18533         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18534         be used.
18536 2011-07-07  Richard Stallman  <rms@gnu.org>
18538         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18539         property, and handle its changed format.
18540         Look for the correct line number.
18541         Use file's line contents (but not past first =) to find
18542         correct line in message.
18544 2011-07-07  Kenichi Handa  <handa@m17n.org>
18546         * international/characters.el (build-unicode-category-table):
18547         Delete it.
18548         (unicode-category-table): Set it by unicode-property-table-internal.
18550         * international/mule-cmds.el (char-code-property-alist): Move to
18551         to src/chartab.c.
18552         (get-char-code-property): Call unicode-property-table-internal to
18553         load a file.  Call get-unicode-property-internal where necessary.
18554         (put-char-code-property): Call unicode-property-table-internal to
18555         load a file.  Call put-unicode-property-internal where necessary.
18556         put-unicode-property-internal where necessary.
18557         (char-code-property-description):
18558         Call unicode-property-table-internal to load a file.
18560         * international/charprop.el:
18561         * international/uni-bidi.el:
18562         * international/uni-category.el:
18563         * international/uni-combining.el:
18564         * international/uni-comment.el:
18565         * international/uni-decimal.el:
18566         * international/uni-decomposition.el:
18567         * international/uni-digit.el:
18568         * international/uni-lowercase.el:
18569         * international/uni-mirrored.el:
18570         * international/uni-name.el:
18571         * international/uni-numeric.el:
18572         * international/uni-old-name.el:
18573         * international/uni-titlecase.el:
18574         * international/uni-uppercase.el: Regenerate.
18576         * loadup.el: Load international/charprop.el before
18577         international/characters.
18579 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
18581         * window.el (next-buffer, previous-buffer): Signal an error if
18582         called from a minibuffer window.
18584         * bindings.el: Revert 2011-07-04 change.
18586 2011-07-06  Richard Stallman  <rms@gnu.org>
18588         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18589         (rmail-mime-insert-bulk, rmail-mime-insert-text):
18590         Treat markers like ints.
18591         (rmail-mime-entity): Doc fix.
18593 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18595         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18596         defcustom again for backwards compatibility.
18598         * simple.el (shell-command-on-region): Fill.
18600         * dired-aux.el (dired-kill-line): Add a doc string.
18602         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18603         to "\\sw\\|\\s_" (bug#358).
18605         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18606         (dired-unmark-backward): Ditto.
18607         (dired-flag-backup-files): Ditto.
18609         * dired-x.el (dired-mark-sexp): Ditto.
18611 2011-07-06  Richard Stallman  <rms@gnu.org>
18613         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18614         (rmail-mime-entity): New arg TRUNCATED.
18615         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18616         New functions.
18617         (rmail-mime-save): Warn if entity is truncated.
18618         (rmail-mime-toggle-hidden): Likewise, for showing.
18619         (rmail-mime-process-multipart): Record when an entity is truncated.
18621         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18622         if ENTITY is a string.
18624 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18626         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
18627         of faces when `M-C-x'-ing their definitions (bug#8378).
18628         Also clean up the code slightly.
18630         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
18631         because that makes the colors go away.
18633         * mail/sendmail.el (send-mail-function): Change the default to
18634         `sendmail-query-once'.
18635         (sendmail-query-once): Add an autoload cookie.
18637         * net/network-stream.el (network-stream-open-starttls): Try using
18638         a plain connection even if the server offered STARTTLS, and we
18639         kinda wanted to use it, if Emacs doesn't have any STARTTLS
18640         capability.  This should make smtpmail.el work in slightly more
18641         configurations.
18643 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
18645         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18646         New defun.
18647         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18649 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
18651         * progmodes/sql.el: Version 3.0
18652         (sql-product-alist): Add product :completion-object,
18653         :completion-column, and :statement attributes.
18654         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
18655         (sql-mode-syntax-table): Mark all punctuation.
18656         (sql-font-lock-keywords-builder): Temporarily remove fallback on
18657         ansi keywords.
18658         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
18659         (sql-mode-oracle-font-lock-keywords): Improve.
18660         (sql-oracle-show-reserved-words): New function for development.
18661         (sql-product-font-lock): Simplify for source code buffers.
18662         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18663         New functions.
18664         (sql-highlight-product): Set product specific syntax table.
18665         (sql-mode-map): Add statement movement functions.
18666         (sql-ansi-statement-starters, sql-oracle-statement-starters):
18667         New variable.
18668         (sql-statement-regexp, sql-beginning-of-statement)
18669         (sql-end-of-statement, sql-signum): New functions.
18670         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
18671         (sql-show-sqli-buffer): Bug fix.
18672         (sql-interactive-mode): Store connection data as buffer local.
18673         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
18674         with sql-interactive-mode.
18675         (sql-save-connection): Save buffer local settings.
18676         (sql-connection-menu-filter): Change menu entry name.
18677         (sql-product-interactive): Bug fix.
18678         (sql-preoutput-hold): New variable.
18679         (sql-interactive-remove-continuation-prompt): Bug fixes.
18680         (sql-debug-redirect): New variable.
18681         (sql-str-literal): New function.
18682         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
18683         Redesign.
18684         (sql-oracle-save-settings, sql-oracle-restore-settings)
18685         (sql-oracle-list-all, sql-oracle-list-table): New functions.
18686         (sql-completion-object, sql-completion-column)
18687         (sql-completion-sqlbuf): New variables.
18688         (sql-build-completions-1, sql-build-completions)
18689         (sql-try-completion): New functions.
18690         (sql-read-table-name): Use them.
18691         (sql-contains-names): New buffer local variable.
18692         (sql-list-all, sql-list-table): Use it.
18693         (sql-oracle-completion-types): New variable.
18694         (sql-oracle-completion-object, sql-sqlite-completion-object)
18695         (sql-postgres-completion-object): New functions.
18697 2011-07-06  Glenn Morris  <rgm@gnu.org>
18699         * window.el (pop-to-buffer): Doc fix.
18701 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
18703         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18705 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
18707         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
18709         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
18711 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
18713         * button.el (button): Inherit from link face.  Suggested by Dan
18714         Nicolaescu.
18716 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18718         * progmodes/gdb-mi.el: Fit in 80 columns.
18719         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18720         switch-to-buffer.
18722         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18723         if imenu is simply not configured (bug#8941).
18725 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
18727         * allout.el (allout-post-undo-hook): New allout outline-change
18728         event hook to signal undo activity.
18729         (allout-post-command-business): Run allout-post-undo-hook if an
18730         undo just occurred.
18731         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18732         * allout-widgets.el (allout-widgets-after-undo-function):
18733         Ensure the integrity of the current item's decoration after it has been
18734         in the vicinity of an undo.
18735         (allout-widgets-mode): Include allout-widgets-after-undo-function
18736         on the new allout-post-undo-hook.
18738 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18740         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18741         Let define-derived-mode define it.
18742         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18743         cycles of abbrev-table inheritance (bug#8998).
18745 2011-07-05  Roland Winkler  <winkler@gnu.org>
18747         * textmodes/bibtex.el: Add support for biblatex.
18748         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18749         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18750         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18751         (bibtex-entry-alist, bibtex-field-alist): New variables.
18752         (bibtex-entry-field-alist): Obsolete alias for
18753         bibtex-BibTeX-entry-alist.
18754         (bibtex-entry-alist, bibtex-field-alist): New widgets.
18755         (bibtex-set-dialect): New command.
18756         (bibtex-entry-type, bibtex-entry-head)
18757         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18758         Bind via bibtex-set-dialect.
18759         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18760         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18761         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18762         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18763         Define via bibtex-set-dialect.
18764         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18765         Obey bibtex-no-opt-remove-re.
18766         (bibtex-vec-push, bibtex-vec-incr): New functions.
18767         (bibtex-format-entry, bibtex-field-list)
18768         (bibtex-print-help-message, bibtex-validate)
18769         (bibtex-search-entries): Use new format of bibtex-entry-alist.
18771 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18773         * progmodes/compile.el (compilation-goto-locus):
18774         * net/tramp-cmds.el (tramp-append-tramp-buffers):
18775         * bs.el (bs-cycle-next, bs-cycle-previous):
18776         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18777         * bindings.el (mode-line-other-buffer):
18778         * autoinsert.el (auto-insert):
18779         * arc-mode.el (archive-extract):
18780         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18782 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
18784         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18785         Fix check of `emacs-lock-unlockable-modes'.
18786         Coerce true values of `emacs-lock--try-unlocking' to t.
18788 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
18790         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18791         * emacs-lock.el: New file.
18793 2011-07-05  Julien Danjou  <julien@danjou.info>
18795         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18796         than `boundp' to check if face is set.
18798 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
18800         * register.el (registerv-make):
18801         * window.el (window-min-height): Fix typos in docstrings.
18803 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
18805         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
18806         Update doc string.
18808 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
18810         * server.el (server-execute): Catch quit and call
18811         `server-return-error' to pass the error back to emacsclient and
18812         close the connection (bug#8942).
18814 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
18816         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18817         insecure exception for current topic.  Also note that auto-saves
18818         are handled differently.
18820         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
18821         State variables for tracking auto-save inhibition situation.
18823         (allout-write-contents-hook-handler): Rename from
18824         'allout-write-file-hook-handler', and describe how it depends on
18825         write-contents-functions sensitivity to non-nil value to prevent
18826         file write.
18828         (allout-auto-save-hook-handler): Remove.  auto-save does not check
18829         this in individual buffers, only in the starting buffer, so this
18830         is not the right way for us to inhibit auto-save in a buffer
18831         according to its condition.
18833         (allout-mode): Use new allout-write-contents-hook-handler, and
18834         only with write-contents-functions.  Remove auto-save provisions -
18835         they're implemented elsewhere.
18837         (allout-before-change-handler): If undo is in progress, note that
18838         for attention of allout-post-command-business.
18840         (allout-post-command-business): If the command we're following was
18841         an undo, check for change in the status of encrypted items and
18842         adjust auto-save inhibitions accordingly.
18844         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18845         according to whether there are or aren't any plain-text topics
18846         pending encryption.
18848         (allout-inhibit-auto-save-info-for-decryption):
18849         Adjust buffer-saved-size and some allout state to inhibit auto-saves
18850         if there are plain-text topics pending encryption.
18852         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18853         buffer-saved-size and some allout state to not inhibit auto-saves
18854         if there are no longer any plain-text topics pending encryption.
18856         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18857         No longer provide for exemption of the current topic.
18859 2011-07-04  Juri Linkov  <juri@jurta.org>
18861         Add 7z operations to delete and save changed members (bug#8968).
18862         * arc-mode.el (archive-7z-expunge, archive-7z-update):
18863         New defcustoms.
18864         (archive-7z-write-file-member): New function.
18865         (archive-7z-summarize): Fix the number of dashes in the
18866         listing output.
18868 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18870         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18871         (bug#8958).
18873 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
18875         * bindings.el: Ignore next-buffer and previous-buffer in
18876         minibuffer-local-map.
18878         * font-lock.el (font-lock-builtin-face): Change light background
18879         color to dark slate blue (Bug#6693).
18881 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
18883         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18885 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18887         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18888         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18889         Add switch-to-buffer.
18891 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18893         * isearch.el (isearch-search-fun-function): Clarify further the
18894         meaning of the function returned.
18896 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
18898         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18900         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18901         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18902         Use it.
18903         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
18904         `tramp-default-remote-path' does not exist.
18905         (tramp-send-command-and-read): New optional argument NOERROR.
18906         (tramp-open-connection-setup-interactive-shell)
18907         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18908         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18909         (tramp-process-sentinel): Flush also process' connection property.
18910         (tramp-sh-handle-start-file-process): Do not set process
18911         sentinel.  It is done now ...
18912         (tramp-maybe-open-connection): ... here.  (Bug#8929)
18914 2011-07-04  MON KEY  <monkey@sandpframing.com>
18916         * play/animate.el (animate-string): Doc fixes and allow changing
18917         the buffer name (bug#5417).
18919 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18921         * play/animate.el (animation-buffer-name): Rename from *animate*.
18923 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
18925         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18926         This is simpler and helps future-proof the code.
18927         (timer-until): Use time-subtract and float-time.
18928         (timer--time-less-p): Use time-less-p.
18930 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
18932         * type-break.el (timep): Use the value of `float-time' to avoid a
18933         byte-compiler warning.
18935         * server.el (server-eval-and-print): Return any result, even nil.
18937 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
18939         * type-break.el: Accept time formats that the builtins accept.
18940         (timep, type-break-time-difference): Accept any format that
18941         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18942         This is simpler and helps future-proof the code.
18943         (type-break-time-difference): Round rather than ignoring
18944         subseconds components.
18946 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18948         * info.el (Info-apropos-matches): Make non-interactive, since it
18949         doesn't seem to do anything useful as a command (bug#8829).
18951 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
18953         * frame.el (frame-background-mode, frame-set-background-mode):
18954         Move from faces.el.
18955         (frame-default-terminal-background): New function.
18957         * custom.el (custom-push-theme): Don't record faces in `changed'
18958         theme; this doesn't work correctly for per-frame face settings.
18959         (disable-theme): Use face-set-after-frame-default to reset faces.
18960         (custom--frame-color-default): New function.
18962 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18964         * dired.el (dired-flagging-regexp): Remove unused variable
18965         (bug#8769).
18967 2011-03-29  Kevin Ryde  <user42@zip.com.au>
18969         * progmodes/compile.el (compilation-error-regexp-alist-alist):
18970         `perl-Test2' extend to match possible "fail #N" rep count
18971         (bug#8377).
18973 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18975         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18976         `smtpmail-via-smtp' now returns the error instead of nil.
18978         * isearch.el (isearch-search-fun-function): Clarify the doc string
18979         (bug#8101).
18981 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
18983         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18984         unnecessary spaces (bug#8987).
18986 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18988         * net/network-stream.el (open-network-stream): Use the
18989         :end-of-capability command thoughout.
18991 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
18993         * net/network-stream.el (open-network-stream): Add the
18994         :end-of-capability command parameter, used by pop3.el.
18996 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18998         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19000         * fringe.el (fringe-query-style): Remove redundant text " (type ?
19001         for list)" (bug#6475).
19003         * files.el (file-expand-wildcards): Ignore non-readable
19004         sub-directories while trying to find matches instead of signaling
19005         an error (bug#6297).
19007         * man.el (Man-reference-regexp): Allow matching possible
19008         word-wrapped references (bug#6289).
19010         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19011         for consistency with the other vc buffers (bug#6197).
19012         (vc-checkin): Ditto.
19014         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19016         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19018 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19020         * custom.el (defcustom): Clarify that :set is only used in the
19021         Customize user interface (bug#6089).
19023         * progmodes/flymake.el (flymake-mode): If the buffer isn't
19024         associated with a file, refuse to run instead of erroring out
19025         (bug#6084).
19027         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19028         the doc string, since it appears that using `fill-column' always
19029         controls the width (bug#7845).
19031         * simple.el (shell-command-on-region): Say where the error output
19032         went if `shell-command-default-error-buffer' is set (bug#6857).
19034 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
19036         * allout.el (allout-yank-processing): Adjust cursor position for
19037         backwards-deleted space.
19039         (allout-rebullet-heading): Register changes with
19040         allout-exposure-changed-hook, so the modified topic is properly
19041         decorated.
19043 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19045         * minibuffer.el (completion-in-region): Document PREDICATE
19046         (bug#7136).
19048         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19049         of keyword/argument pairs (bug#6904).
19051         * replace.el (multi-occur):
19052         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19054 2011-07-02  Drew Adams  <drew.adams@oracle.com>
19056         * dired.el (dired-mark-if): Make the message about whether it's
19057         marking or unmarking clearer (bug#8523).
19059 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19061         * disp-table.el (display-table-print-array): New function.
19062         (describe-display-table): Use it to print the vectors more pretty
19063         (Bug#8859).
19065 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
19067         * window.el (window-state-get-1): Don't assign clone numbers.
19068         Add clone-of item to list of window parameters.
19069         (window-state-put-2): Don't process clone numbers.
19070         (display-buffer-alist): Fix doc-string.
19072 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19074         * subr.el (remq): Don't allocate if it's not needed.
19075         (keymap--menu-item-binding, keymap--menu-item-with-binding)
19076         (keymap--merge-bindings): New functions.
19077         (keymap-canonicalize): Use them to refine the canonicalization.
19078         * minibuffer.el (minibuffer-local-completion-map)
19079         (minibuffer-local-must-match-map): Move initialization from C.
19080         (minibuffer-local-filename-completion-map): Move initialization from C;
19081         don't inherit from anything here.
19082         (minibuffer-local-filename-must-match-map): Make obsolete.
19083         (completing-read-default): Use make-composed-keymap to combine
19084         minibuffer-local-filename-completion-map with either
19085         minibuffer-local-must-match-map or
19086         minibuffer-local-filename-completion-map.
19088 2011-07-01  Glenn Morris  <rgm@gnu.org>
19090         * type-break.el (type-break-time-sum): Use dolist.
19092         * textmodes/flyspell.el (flyspell-word-search-backward):
19093         Replace CL function.
19095 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19097         * mouse.el (mouse--strip-first-event): New function.
19098         (function-key-map): Use it to map fringe clicks to normal clicks
19099         by default.
19101         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19102         (vc-bzr-revision-completion-table): Add support for annotate and date.
19104         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19105         inherit from parent.
19107 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19109         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19110         (dired-show-file-type): Doc fixup (bug#8818).
19112         * dired.el (dired-mode): Fix up the doc string as suggested by
19113         Drew Adams (bug#8817).
19115         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19116         cookie, since the manual says that it should be possible to add
19117         this function to `find-file-hook' (bug#8709).
19119 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
19121         * progmodes/cfengine.el: Moved all cfengine3.el functionality
19122         here.  Noted Ted Zlatanov as the maintainer.
19123         (cfengine-common-settings, cfengine-common-syntax): New functions
19124         to set up common things between `cfengine-mode' and
19125         `cfengine3-mode'.
19126         (cfengine3-mode): New mode.
19127         (cfengine3-defuns cfengine3-defuns-regex
19128         (cfengine3-class-selector-regex cfengine3-category-regex)
19129         (cfengine3-vartypes cfengine3-font-lock-keywords)
19130         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19131         (cfengine3-indent-line): Add from cfengine3.el.
19133 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
19135         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19137         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19139 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
19141         * window.el (same-window-buffer-names, same-window-regexps)
19142         (same-window-p, special-display-frame-alist)
19143         (special-display-popup-frame, special-display-function)
19144         (special-display-buffer-names, special-display-regexps)
19145         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19146         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19147         (split-window-preferred-function, split-height-threshold)
19148         (split-width-threshold, even-window-heights)
19149         (display-buffer-mark-dedicated, window-splittable-p)
19150         (split-window-sensibly, window-safely-shrinkable-p):
19151         Un-obsolete.
19152         (display-buffer): Don't spread args with function specifier
19153         because special-display-popup-frame won't like it.
19155 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
19157         Time-stamp simplifications and fixes.
19158         These improve accuracy slightly, and future-proof the code
19159         against some potential changes to current-time format.
19161         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19162         by using time-since and float-time.
19164         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19165         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
19166         + NNN microseconds".
19168         * type-break.el (type-break-time-sum): Rewrite using time-add.
19170         * play/hanoi.el (hanoi-current-time-float): Remove.
19171         All uses replaced by float-time.
19173         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19174         This yields a more-accurate answer.
19175         (rng-time-to-float): Remove; no longer needed.
19177         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19179         * calendar/timeclock.el (timeclock-seconds-to-time):
19180         Defalias to seconds-to-time, since they're the same thing.
19182         * emacs-lisp/elp.el (elp-elapsed-time):
19183         * emacs-lisp/benchmark.el (benchmark-elapse):
19184         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19186 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19188         * window.el (bury-buffer): Don't iconify the only frame.
19189         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19190         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
19192 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
19194         * eshell/em-smart.el (eshell-smart-display-navigate-list):
19195         Add mouse-yank-primary.
19197 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
19199         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19201 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19203         * emacs-lisp/find-func.el (find-library--load-name): New fun.
19204         (find-library-name): Use it to find relative load names when provided
19205         absolute file name (bug#8803).
19207 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19209         * textmodes/flyspell.el (flyspell-word): Consider words that
19210         differ only in case as potential doublons (bug#5687).
19212         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19213         Remove two rather uninteresting debugging-like messages to make
19214         debbugs.el more silent.
19216         * comint.el (comint-password-prompt-regexp): Accept "Response" as
19217         a password-like phrase.
19219 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
19221         * progmodes/cc-guess.el: New file.
19223         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19225         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19226         derived from `c-basic-common-init'.
19228         * progmodes/cc-mode.el (top-level): Require cc-guess.
19229         (c-basic-common-init): Use `cc-choose-style-for-mode'.
19231 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
19233         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19235 2011-06-30  Alan Mackenzie  <acm@muc.de>
19237         * progmodes/cc-engine.el (c-guess-continued-construct):
19238         Correct the handling of template-args-cont, particularly for when font
19239         lock is disabled.  Name this case as "CASE G".
19241 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
19243         * allout.el (allout-yank-processing): Fix injection of extra space
19244         between bullet and non-whitespace character in first topic when
19245         pasting, ensuring that the actual spacing in the pasted topic
19246         following the bullet char is preserved.  This extra space was
19247         causing pasted encrypted topics to get a decrypted status even
19248         when the content was actually still encrypted.  Now the decryption
19249         status from before the paste is preserved.
19251         (allout-flag-region): Set all allout overlays so they evaporate
19252         when reduced to zero length (evanescent), to prevent overlay
19253         leakage.
19255 2011-06-30  Glenn Morris  <rgm@gnu.org>
19257         * w32-fns.el (w32-charset-info-alist): Declare.
19259         * find-dired.el (find-grep-options): Simplify.
19261         * term/ns-win.el (ns-set-resource): Declare.
19263         * ses.el (row, col): Declare dynamic variables honestly.
19265         * textmodes/reftex-parse.el (index-tags): Declare.
19267 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
19269         * cus-edit.el (customize-push-and-save): New function.
19271         * files.el (hack-local-variables-confirm): Use it.
19273         * custom.el (load-theme): New arg NO-CONFIRM.
19274         Use customize-push-and-save (Bug#8720).
19275         (custom-enabled-themes): Doc fix.
19277         * cus-theme.el (customize-create-theme)
19278         (custom-theme-merge-theme): Callers to load-theme changed.
19280 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19282         * thingatpt.el (thing-at-point-short-url-regexp): Require that
19283         short URLs have at least one dot in them (bug #7614).
19285         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19286         nil, because using a pty is apparently too slow (bug #895).
19288 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19290         * mail/sendmail.el (sendmail-query-once): New function.
19291         (sendmail-query-once-function): New variable.
19293 2011-06-29  Glenn Morris  <rgm@gnu.org>
19295         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19297         * ses.el (top-level): Require cl when compiling.
19298         (ses-set-localvars): Fix error statement.
19299         Call it at compile time to silence a storm of warnings.
19301 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
19303         * window.el (normalize-live-buffer): Rename to
19304         window-normalize-buffer.
19305         (normalize-live-frame): Rename to window-normalize-frame.
19306         (normalize-any-window): Rename to window-normalize-any-window.
19307         (normalize-live-window): Rename to window-normalize-live-window.
19308         (make-window-atom): Rename to window-make-atom.
19309         (window-resize-reset): Rename to window--resize-reset.
19310         (window-resize-reset-1): Rename to window--resize-reset-1.
19311         (resize-mini-window): Rename to window--resize-mini-window.
19312         (resize-subwindows-skip-p): Rename to
19313         window--resize-subwindows-skip-p.
19314         (resize-subwindows-normal): Rename to
19315         window--resize-subwindows-normal.
19316         (resize-subwindows): Rename to window--resize-subwindows.
19317         (resize-other-windows): Rename to window--resize-siblings.
19318         (resize-this-window): Rename to window--resize-this-window.
19319         (resize-root-window): Rename to window--resize-root-window.
19320         (resize-root-window-vertically): Rename to
19321         window--resize-root-window-vertically.
19322         (normalize-buffer-to-display): Rename to
19323         window-normalize-buffer-to-display.
19324         (normalize-buffer-to-switch-to): Rename to
19325         window-normalize-buffer-to-switch-to.
19326         Correspondingly update all callers of the functions listed
19327         above.
19328         (display-buffer-alist, display-buffer-normalize-arguments)
19329         (display-buffer-normalize-options, display-buffer)
19330         (display-buffer-alist-set): Use "function" instead of
19331         "fun-with-args".
19333 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
19335         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19336         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
19337         debbugs.gnu.org.  Mention acknowledgment email.
19339 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19341         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19342         buffer multibyteness, since it shouldn't matter.
19344 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
19346         * window.el (display-buffer-in-side-window): Handle dedicated
19347         windows as in display-buffer-reuse-window.
19348         (display-buffer-normalize-alist): Use value of override
19349         specifier.
19350         (display-buffer-normalize-specifiers): Use value of
19351         other-window-means-other-frame specifier.
19352         (display-buffer-alist): Rewrite some texts in widgets.
19353         (display-buffer): Spread arguments when calling function
19354         specified by fun-with-args.
19356 2011-06-28  Deniz Dogan  <deniz@dogan.se>
19358         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19359         Unnest `let'.
19361         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19362         selectors (Bug#5732).
19363         (css-proprietary-nmstart-re): Use `regexp-opt'.
19365 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
19367         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19368         (eshell-ls-date-format): New defcustom.
19369         (eshell-ls-file): Use it.
19371 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19373         * help-fns.el (describe-variable): Fix message for terminal-local vars.
19375 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
19377         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19378         (ange-ftp-make-tmp-name): New arg.
19379         (ange-ftp-file-local-copy): Use it.
19381 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
19383         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19384         no-conversion (Bug#8870).
19386 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
19388         * window.el (window-right, window-left, window-child)
19389         (window-child-count, window-last-child)
19390         (window-iso-combination-p, walk-window-tree-1)
19391         (window-atom-check-1, window-tree-1, delete-window)
19392         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19393         new naming conventions - window-vchild, window-hchild,
19394         window-next and window-prev are now called window-top-child,
19395         window-left-child, window-next-sibling and window-prev-sibling
19396         respectively.
19397         (resize-window-reset): Rename to window-resize-reset.
19398         (resize-window-reset-1): Rename to window-resize-reset-1.
19399         (resize-window): Rename to window-resize.
19400         (window-min-height, window-min-width)
19401         (resize-mini-window, resize-this-window, resize-root-window)
19402         (resize-root-window-vertically, adjust-window-trailing-edge)
19403         (enlarge-window, shrink-window, maximize-window)
19404         (minimize-window, delete-window, quit-restore-window)
19405         (split-window, balance-windows, balance-windows-area-adjust)
19406         (balance-windows-area, window-state-put-2)
19407         (display-buffer-even-window-sizes, display-buffer-set-height)
19408         (display-buffer-set-width, set-window-text-height)
19409         (fit-window-to-buffer): Rename all "resize-window" prefixed
19410         calls to use the "window-resize" prefix convention.
19411         (display-buffer-alist): Fix symbol for label specifier.
19412         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19413         corresponding specifier.
19414         Reported by Juanma Barranquero <lekktu@gmail.com>.
19416 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19418         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19419         convention.
19420         (ses-call-printer): Does not pass an empty string to formatter when the
19421         cell is empty to keep from barking printer Calc math-format-value.
19423 2011-06-27  Richard Stallman  <rms@gnu.org>
19425         * battery.el (battery-mode-line-limit): New variable.
19426         (battery-update): Handle it.
19428         * mail/rmailmm.el (rmail-mime-process-multipart):
19429         Handle truncated messages.
19431 2011-06-27  Glenn Morris  <rgm@gnu.org>
19433         * progmodes/flymake.el (flymake-err-line-patterns):
19434         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
19436 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19438         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
19439         (ses--clean-!, ses--clean-_): New functions.
19440         (ses-range): Add configurability of readout order, and conversion
19441         to Calc vector.
19443         * ses.el (ses-repair-cell-reference-all): New function.
19444         (ses-cell-symbol): Set macro as safe, so that it can be used in
19445         formulas.
19447         * ses.el: Update cycle detection algorithm.
19448         (ses-localvars): Add ses--Dijkstra-attempt-nb and
19449         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
19450         (ses-set-localvars): New function.
19451         (ses-make-cell): Add property-list as a cell element.
19452         (ses-cell-property-get-fun, ses-cell-property-get)
19453         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
19454         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19455         New functions.
19456         (ses-cell-property-set, ses-cell-property-pop)
19457         (ses-cell-property-get-handle): New macro.
19458         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19459         New aliases, used for code readability.
19460         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19461         cycle detection.
19462         (ses-self-reference-early-detection): New defcustom.
19463         (ses-formula-references): Robustify against self-referring cells.
19464         (ses-mode): Use ses-set-localvars.
19465         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19466         before lauching the update processing.
19467         (ses-initialize-Dijkstra-attempt): New function.
19468         (ses-recalculate-cell): Update for cycle detection based on
19469         Dijkstra algorithm.
19471         * ses.el: Fix commenting and indenting convention.
19473 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19475         * bs.el (bs-cycle-next): Complete last change.
19477 2011-06-27  Drew Adams  <drew.adams@oracle.com>
19479         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19481 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19483         * net/network-stream.el (network-stream-open-starttls):
19484         Don't re-get capabilities unless we've reestablished connection.
19485         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19487         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19488         to binary to possibly avoid line encoding issues on Windows (among
19489         other things).
19491 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19493         * net/network-stream.el (open-network-stream): Return an :error
19494         saying what the problem was, if possible.
19496         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19497         server.
19499         * net/network-stream.el (network-stream-open-starttls): If we
19500         wanted to use STARTTLS, and the server offered it, but we weren't
19501         able to because we had no STARTTLS support, then close the connection.
19502         (open-network-stream): Return an :error element, if present.
19504 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
19506         * hl-line.el (hl-line-sticky-flag): Doc fix.
19507         (global-hl-line-sticky-flag): New option (Bug#8323).
19508         (global-hl-line-highlight): Obey it.
19510         * vc/vc.el (vc-revert-show-diff): Default to t.
19512 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
19514         * allout-widgets.el (allout-widgets-post-command-business):
19515         Stop decorating intermediate isearch matches.  They're not being
19516         undecorated when an isearch is continued past, and isearch
19517         automatically collapses them.  This leads to "widget leaks", where
19518         decorated items accumulate in collapsed areas.  Lines with lots of
19519         hidden widgets can slow down cursor travel, substantially.
19520         Too much complicated machinery would be needed to ensure undecoration,
19521         so we're doing without this nicety.
19523         (allout-widgets-tally-string): Don't try to do a hash-table-count
19524         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
19525         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19526         *Messages* when allout-widgets-maintain-tally is t.
19528 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
19530         * window.el (display-buffer-normalize-argument): Rename to
19531         display-buffer-normalize-arguments.  Handle special meaning of
19532         LABEL argument.  Respect special-display-function when popping up
19533         a new frame.  Fix code searching for a window showing the buffer
19534         on another frame.
19535         (display-buffer-normalize-specifiers):
19536         Call display-buffer-normalize-arguments.
19537         (display-buffer-in-window): Don't undedicate the window if its
19538         buffer remains the same.
19539         Reported by Drew Adams <drew.adams@oracle.com>.
19540         (display-buffer-alist): Add choice for same-window macro
19541         specfier.
19542         (display-buffer): Mention special meaning of LABEL argument in
19543         doc-string.  Fix quoting.  Don't pop up a new frame even as
19544         fallback.
19546 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
19548         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19549         avoid deleting the current window in some cases (bug#8911).
19551 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
19553         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19554         (Bug#8934)
19556 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19558         * net/network-stream.el (network-stream-open-starttls):
19559         Use built-in TLS support if `gnutls-available-p' is true.
19560         (network-stream-open-tls): Ditto.
19562 2011-06-26  Leo Liu  <sdl.web@gmail.com>
19564         * register.el (registerv): New struct.
19565         (registerv-make): New function.
19566         (jump-to-register, describe-register-1, insert-register):
19567         Support the jump-func, print-func and insert-func slot of a registerv
19568         struct.  (Bug#8415)
19570 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
19572         * vc/vc.el (vc-revert-show-diff): New defcustom.
19573         (vc-diff-internal): New arg specifying diff buffer.
19574         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
19575         reuse an existing *vc-diff* buffer (Bug#8927).
19577         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19579 2011-06-26  Glenn Morris  <rgm@gnu.org>
19581         * progmodes/f90.el (f90-critical-indent): New option.
19582         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19583         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19584         (f90-mode): Doc fix.
19585         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19586         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19587         (f90-beginning-of-block, f90-next-block, f90-indent-region)
19588         (f90-match-end): Handle block, critical.
19590 2011-06-25  Glenn Morris  <rgm@gnu.org>
19592         * calendar/diary-lib.el (diary-included-files): Doc fix.
19593         (diary-include-files): New function, extracted from
19594         diary-include-other-diary-files and diary-mark-included-diary-files.
19595         (diary-include-other-diary-files, diary-mark-included-diary-files):
19596         Just call diary-include-files.
19597         (diary-mark-entries): Reset diary-included-files on first call.
19599         * calendar/diary-lib.el (diary-mark-entries)
19600         (diary-mark-included-diary-files):
19601         Visit included diary-files in temp buffers.
19603         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19604         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19605         (f90-start-block-re, f90-imenu-generic-expression)
19606         (f90-looking-at-program-block-start, f90-no-block-limit):
19607         Add support for submodules.
19609         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19610         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
19612 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
19614         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19615         buffer-file-type before setting its value, to avoid disastrous
19616         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
19618 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
19620         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19622         * ses.el (ses-unload-function):
19623         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19625         * proced.el (proced-unload-function):
19626         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19628 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
19630         * server.el (server-create-window-system-frame): Add parameters arg.
19631         (server-process-filter): Doc fix.  Handle frame-parameters.
19633 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
19635         Fix bug#8730, bug#8781.
19637         * loadhist.el (unload--set-major-mode): New function.
19638         (unload-feature): Use it.
19640         * progmodes/python.el (python-after-info-look): Add autoload cookie.
19641         (python-unload-function): New function.
19643 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19645         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19647 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
19649         * net/browse-url.el (browse-url-firefox-program): Add icecat to
19650         the candidates list.
19652 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
19654         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19656 2011-06-23  Richard Stallman  <rms@gnu.org>
19658         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19659         (rmail-variables): Set next-error-move-function.
19660         (rmail-what-message): Take argument POS.
19661         (rmail-next-error-move): New function.
19663 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19665         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19666         messages for adjacent non-terminals.
19668 2011-06-23  Richard Stallman  <rms@gnu.org>
19670         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
19671         (rmail-show-message-1): Preserve buffer modified flag.
19672         (rmail-start-mail): Don't specify use of rmail-mail-return;
19673         that's done by mail-bury now.
19674         (rmail-mail-return): Handle arg NEWBUF.
19676 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
19678         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19679         SIZE is a number.
19681 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
19683         * window.el (get-lru-window, get-mru-window)
19684         (get-largest-window): Never return a minibuffer window.
19685         (display-buffer-pop-up-window): Fix a bug that could lead to
19686         reusing the minibuffer window.
19687         (display-buffer): Pass original specifier argument to
19688         display-buffer-function instead of the normalized one.
19689         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19691 2011-06-22  Leo Liu  <sdl.web@gmail.com>
19693         * minibuffer.el (completing-read-function)
19694         (completing-read-default): Move from minibuf.c.
19696 2011-06-22  Richard Stallman  <rms@gnu.org>
19698         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19699         to Rmail even if not started by a special Rmail command.
19701         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19702         Copy the buffer currently showing just one message.
19704 2011-06-22  Roland Winkler  <winkler@gnu.org>
19706         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19707         (bibtex-clean-entry): First delete the old key so that a
19708         customized algorithm for generating the new key does not get
19709         confused by the old key.
19710         (bibtex-url): Obey regexp of first step.
19711         (bibtex-search-entries): Do not use add-to-list with local
19712         list-var.
19714 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19716         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19717         stored a user name, then query for the password first, instead of
19718         waiting for SMTP to give an error message and the trying again.
19720 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
19722         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19723         BUFFER in call-process.
19725 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19727         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19728         QUIT twice.
19729         (smtpmail-try-auth-methods): Require user name and password from
19730         auth-source.
19732 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
19734         * window.el (display-buffer-default-specifiers)
19735         (display-buffer-alist): Remove entries for pop-up-frame-alist.
19736         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
19737         (split-window): Normalize SIDE argument (Bug#8916).
19739         * frame.el (pop-up-frame-alist, pop-up-frame-function)
19740         (special-display-frame-alist, special-display-popup-frame):
19741         Remove duplicate declarations.  These are now in window.el.
19743 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19745         * mail/smtpmail.el (smtpmail-via-smtp):
19746         Set :use-starttls-if-possible so that we always use STARTTLS if the
19747         server supports it.  SMTP servers that support STARTTLS commonly
19748         require it.
19750         * net/network-stream.el (network-stream-open-starttls): Support
19751         upgrading to STARTTLS always, even if we don't have built-in support.
19752         (open-network-stream): Add the :always-query-capabilities keyword.
19754         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19755         upgrades with `open-network-stream', and rely solely on
19756         auth-source for all credentials.  Big changes throughout the file,
19757         but in particular:
19758         (smtpmail-auth-credentials): Remove.
19759         (smtpmail-starttls-credentials): Remove.
19760         (smtpmail-via-smtp): Check for servers saying they want AUTH after
19761         MAIL FROM, too.
19763         * net/network-stream.el (network-stream-open-starttls):
19764         Provide support for client certificates both for external and built-in
19765         STARTTLS.
19766         (auth-source): Require.
19767         (open-network-stream): Document the :client-certificate keyword.
19768         (network-stream-certificate): Change cert-cert to cert and
19769         cert-key to key.
19771 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
19773         * net/tramp-cache.el (top): Don't load the persistency file when
19774         "emacs -Q" has been called.
19776 2011-06-21  Tim Harper  <timcharper@gmail.com>
19778         * term/ns-win.el (ns-initialize-window-system):
19779         Set application-specific `ApplePressAndHoldEnabled' system
19780         resource to NO as it is not yet supported by the NS port.
19782 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
19784         * misc.el (list-dynamic-libraries--refresh): Compute header here...
19785         (list-dynamic-libraries): ...not here.
19787 2011-06-21  Leo Liu  <sdl.web@gmail.com>
19789         * subr.el (sha1): Implement sha1 using secure-hash.
19791 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
19793         * window.el (display-buffer-alist): In default value do not
19794         enforce searching a window on any but the selected frame.
19795         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19796         (display-buffer-select-window): Remove function.
19797         (display-buffer-in-window): When a window on another frame gets
19798         reused, do not select it any more but just raise its frame if
19799         necessary (Bug#8851) and (Bug#8856).
19800         (display-buffer-normalize-options): Handle pop-up-frames related
19801         options more faithfully.
19802         (pop-to-buffer): Don't rely on `display-buffer' selecting the
19803         window if it is on another frame.
19804         (display-buffer-alist, display-buffer-default-specifiers):
19805         Don't make new frame unsplittable by default.
19806         (display-buffer-normalize-argument): Fix doc-string typo and use
19807         'same-frame-other-window instead of 'other-window when associating
19808         with display-buffer-macro-specifiers.
19810 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
19812         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19813         New functions.
19814         (5x5-mode-map, 5x5-mode-menu): Bind them.
19815         (5x5-draw-grid): Tweak the solver's rendering.
19817 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19819         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19820         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19822 2011-06-21  Drew Adams  <drew.adams@oracle.com>
19824         * menu-bar.el: Use function variable instead of switch-to-buffer.
19825         (menu-bar-select-buffer-function): New variable.
19826         (menu-bar-update-buffers): Use it (bug#8876).
19828 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19830         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19831         variable's status.
19833 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
19835         * x-dnd.el (x-dnd-version-from-flags)
19836         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19837         and long as number (Bug#8899).
19838         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19840 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19842         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
19843         (completion-try-completion, completion-all-completions): Compute the
19844         metadata argument if it's missing; make it optional (bug#8795).
19846         * wid-edit.el: Use lex-bind and move towards completion-at-point.
19847         (widget-complete): Use new :completion-function property.
19848         (widget-completions-at-point): New function.
19849         (default): Use :completion-function instead of :complete.
19850         (widget-default-completions): Rename from widget-default-complete;
19851         Rewrite.
19852         (widget-string-complete, widget-file-complete, widget-color-complete):
19853         Remove functions.
19854         (file, symbol, function, variable, coding-system, color):
19855         * international/mule-cmds.el (default-input-method, charset)
19856         (language-info-custom-alist):
19857         * cus-edit.el (face): Use new property :completions.
19859         * progmodes/pascal.el (pascal-completions-at-point): New function.
19860         (pascal-mode): Use it.
19861         (pascal-mode-map): Use completion-at-point.
19862         (pascal-toggle-completions): Make obsolete.
19863         (pascal-complete-word, pascal-show-completions):
19864         * progmodes/octave-mod.el (octave-complete-symbol):
19865         Redefine as obsolete alias.
19866         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19867         Signal absence of completion info for old Octave,
19868         (inferior-octave-complete): Redefine as obsolete alias.
19869         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19870         (meta-completions-at-point): Rename from meta-complete-symbol and
19871         adapt it for use on completion-at-point-functions.
19872         (meta-common-mode): Use it.
19873         (meta-looking-at-backward, meta-match-buffer): Remove.
19874         (meta-complete-symbol): Redefine as obsolete alias.
19875         (meta-common-mode-map): Use completion-at-point.
19876         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19877         (makefile-mode-map): Use completion-at-point.
19878         (makefile-completions-at-point): Rename from makefile-complete and
19879         adapt it for use on completion-at-point-functions.
19880         (makefile-mode): Use it.
19881         (makefile-complete): Redefine as obsolete alias.
19883 2011-06-20  Deniz Dogan  <deniz@dogan.se>
19885         * net/rcirc.el: Delete trailing whitespaces once and for all.
19887 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
19889         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19891 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
19893         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19895         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19897 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
19899         * window.el (display-buffer-other-window-means-other-frame):
19900         Call display-buffer-normalize-alist.
19901         (display-buffer-normalize-specifiers-1): Rename to
19902         display-buffer-normalize-argument.  New argument other-frame.
19903         Rewrite.
19904         (display-buffer-normalize-specifiers-2): Rename to
19905         display-buffer-normalize-options.
19906         (display-buffer-normalize-alist-1): New function.
19907         (display-buffer-normalize-specifiers-3): Rename to
19908         display-buffer-normalize-alist.
19909         Call display-buffer-normalize-alist-1.
19910         (display-buffer-normalize-options-inhibit): New variable.
19911         (display-buffer-normalize-specifiers): Rewrite calling
19912         display-buffer-normalize-alist,
19913         display-buffer-normalize-argument, and
19914         display-buffer-normalize-options.  Don't call the latter if
19915         display-buffer-normalize-options-inhibit is non-nil.
19916         (frame-auto-delete): New option.
19917         (window-deletable-p): Use frame-auto-delete.
19918         (window-list-no-nils, window-state-ignored-parameters)
19919         (window-state-get-1, window-state-get, window-state-put-list)
19920         (window-state-put-1, window-state-put-2, window-state-put):
19921         New functions.
19922         (display-buffer-normalize-options): Move special-display-p group
19923         after pop-up-frame group (Bug#8851) and (Bug#8856).
19925 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
19927         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19928         groups (Bug#8776).
19929         (rx-submatch-n): New function.
19930         (rx): Document it.
19932         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19933         (Bug#8768).
19935         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19937         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19939         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19940         anytime existing face settings are present (Bug#8889).
19942         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19943         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19944         Remove unused argument.
19946 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
19948         * window.el (display-buffer-default-specifiers):
19949         Remove pop-up-frame.  Add pop-up-window-min-height,
19950         pop-up-window-min-width, and another reuse-window specifier
19951         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
19952         (display-buffer-normalize-specifiers-2):
19953         Handle split-height-threshold and split-width-threshold also when
19954         pop-up-windows is unset.  Add a reuse-window specifier for the
19955         case popping up a new window fails.
19956         (special-display-popup-frame): Remove double quoting.
19957         (display-buffer-normalize-specifiers-1): Fix thinko.
19959 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19961         * shell.el (shell-completion-vars): Set pcomplete-termination-string
19962         according to comint-completion-addsuffix.
19964         * pcomplete.el: Convert to lexical binding and fix bug#8819.
19965         (pcomplete-suffix-list): Mark as obsolete.
19966         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19967         pcomplete-seen in the closure.
19968         (pcomplete-comint-setup): Setup completion-at-point as well.
19969         (pcomplete--entries): New function.
19970         (pcomplete--env-regexp): New var.
19971         (pcomplete-entries): Rewrite to work with partial-completion and
19972         without relying on pcomplete-suffix-list.
19973         (pcomplete-pare-list): Remove, unused.
19975 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
19977         * window.el (display-buffer-alist): Set pop-up-window-min-height
19978         and pop-up-window-min-width in default value.  Reported by
19979         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
19980         other-window-means-other-frame.
19981         (display-buffer-macro-specifiers): Comment out entry for
19982         other-window specifier.
19983         (display-buffer-other-window-means-other-frame): New function.
19984         (display-buffer-normalize-specifiers-1): New arguments
19985         buffer-name and label.  Treat other-window case specially.
19986         (display-buffer-normalize-specifiers-2): Treat other-window case
19987         specially.
19988         (display-buffer-normalize-specifiers-3): New function.
19989         (display-buffer-normalize-specifiers):
19990         Call display-buffer-normalize-specifiers-3.
19992 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
19994         * window.el (same-window-p): Fix two typos introduced when
19995         adding with-no-warnings.
19996         (display-buffer-normalize-specifiers-1): Don't check
19997         pop-up-frames for 'unset initialization.
19998         (display-buffer-normalize-specifiers-2): Major rewrite using
19999         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20000         (pop-up-frames, display-buffer-reuse-frames)
20001         (display-buffer-mark-dedicated): Don't initialize to 'unset.
20002         Suggested by David Engster <deng@randomsample.de>.
20003         (even-window-heights): Initialize to 'unset.
20004         (display-buffer-alist-set): Handle new 'unset initializations.
20005         (display-buffer-macro-specifiers): Don't pop up a new frame in the
20006         other window case.
20008 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
20010         * window.el (display-buffer-normalize-specifiers-1):
20011         Respect current value of pop-up-frames for most reasonable values of
20012         second argument of display-buffer (Bug#8865).
20013         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20014         (switch-to-buffer-other-window-same-frame)
20015         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
20016         Adams (Bug#8875).
20017         (display-buffer): Don't check noninteractive when calling
20018         display-buffer-pop-up-frame.
20019         (display-buffer-pop-up-frame): Never pop up a frame in
20020         noninteractive mode (Bug#8857).
20021         (enlarge-window, shrink-window): Don't report an error when the
20022         window can't be resized as requested (Bug#8862).
20024 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20026         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20028         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20030         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20032 2011-06-15  Alan Mackenzie  <acm@muc.de>
20034         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20035         for declarators, disable knr checking to speed up for normal files.
20036         2: Refactor, replacing a sequence of nested if forms by a cond form.
20038 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20040         * net/network-stream.el (open-network-stream): Add the keyword
20041         :always-query-capabilities for the case where you want to force a
20042         `plain' network connection, but the protocol still requires the
20043         capabilitiy command (i.e., SMTP and EHLO).
20045         * subr.el (process-live-p): Rename from `process-alive-p' for
20046         consistency with other `-live-p' functions.
20048 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20050         * window.el (same-window-buffer-names, same-window-regexps)
20051         (special-display-frame-alist, special-display-popup-frame)
20052         (special-display-function, special-display-buffer-names)
20053         (special-display-regexps, pop-up-frame-alist)
20054         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20055         (pop-up-windows, split-window-preferred-function)
20056         (split-height-threshold, split-width-threshold, even-window-heights)
20057         (display-buffer-mark-dedicated): Don't encourage the use of
20058         display-buffer-alist from Elisp code.
20060 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
20062         * progmodes/python.el (python-mode): Derive from prog-mode.
20063         * progmodes/ps-mode.el (ps-mode):
20064         * progmodes/mixal-mode.el (mixal-mode):
20065         * progmodes/cfengine.el (cfengine-mode):
20066         * progmodes/ld-script.el (ld-script-mode): Likewise.
20068 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
20070         * window.el (display-buffer-alist): Trim default value to avoid
20071         popping up a new frame (Bug#8857) or reusing an arbitrary window
20072         on another frame.
20073         (display-buffer): Do not fall back on popping up a new frame in
20074         batch mode (Bug#8857).
20076 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
20078         * cus-theme.el (describe-theme-1): Use custom-theme-p.
20079         (custom-theme-summary): New function.
20080         (customize-themes): Use it.
20082 2011-06-13  Glenn Morris  <rgm@gnu.org>
20084         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20086 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
20088         * help.el (help-window): Remove variable.
20089         (help-window-point-marker, temp-buffer-max-height)
20090         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20091         (help-print-return-message): Don't set help-window.
20092         (resize-temp-buffer-window): Rewrite cod eand doc-string.
20093         (help-window-setup-finish): Remove.
20094         (help-window-display-message, help-window-setup)
20095         (with-help-window): Major rewrite based on new
20096         display-buffer-window variable.
20098         * help-mode.el (help-mode-finish): Remove help-window related
20099         code.
20101         * view.el (view-exits-all-viewing-windows): Remove reference to
20102         view-return-to-alist in doc-string.
20103         (view-return-to-alist): Make obsolete.
20104         (view-buffer): Call pop-to-buffer-same-window and remove
20105         undo-window code.
20106         (view-buffer-other-window): Call pop-to-buffer-other-window and
20107         simplify code.  Ignore second argument.
20108         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20109         simplify code.  Ignore second argument.
20110         (view-return-to-alist-update): Make obsolete.
20111         (view-mode-enter): Rename second argument to QUIT-RESTORE.
20112         Rewrite using quit-restore window parameters.
20113         (view-mode-exit): Rename second argument to EXIT-ONLY.
20114         Rewrite using quit-restore-window.
20115         (View-exit, View-exit-and-edit, View-leave, View-quit)
20116         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20117         appropriate arguments.
20118         (view-end-message): Use quit-restore window parameter.
20120         * window.el (display-buffer-function): Rewrite doc-string.
20121         (display-buffer-window, display-buffer-alist): New variables.
20122         (display-buffer-split-specifiers)
20123         (display-buffer-side-specifiers)
20124         (display-buffer-macro-specifiers): New constants.
20125         (display-buffer-even-window-sizes, display-buffer-set-height)
20126         (display-buffer-set-width, display-buffer-select-window)
20127         (display-buffer-in-window, display-buffer-reuse-window)
20128         (display-buffer-split-window-1, display-buffer-split-window)
20129         (display-buffer-split-atom-window, display-buffer-pop-up-window)
20130         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20131         (display-buffer-in-side-window, normalize-buffer-to-display)
20132         (display-buffer-normalize-specifiers-1)
20133         (display-buffer-normalize-specifiers-2)
20134         (display-buffer-normalize-specifiers, display-buffer-frame):
20135         New functions.
20136         (display-buffer): Major rewrite.
20137         (display-buffer-other-window, display-buffer-other-frame)
20138         (pop-to-buffer, switch-to-buffer-other-window)
20139         (switch-to-buffer-other-frame): Rewrite.
20140         (display-buffer-same-window, display-buffer-same-frame)
20141         (display-buffer-same-frame-other-window)
20142         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20143         (pop-to-buffer-other-window)
20144         (pop-to-buffer-same-frame-other-window)
20145         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20146         (switch-to-buffer-other-window-same-frame): New functions.
20147         (same-window-p, special-display-p): Rewrite disabling warnings.
20148         Make obsolete.
20149         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20150         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20151         Make obsolete
20152         (same-window-buffer-names, same-window-regexps)
20153         (special-display-frame-alist, special-display-popup-frame)
20154         (special-display-function, special-display-buffer-names)
20155         (special-display-regexps, pop-up-frame-alist)
20156         (pop-up-frame-function, split-window-preferred-function)
20157         (split-height-threshold, split-width-threshold)
20158         (even-window-heights): Make obsolete.
20160 2011-06-12  Glenn Morris  <rgm@gnu.org>
20162         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
20163         Misc simplifications.
20165 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
20167         * window.el (window-safely-shrinkable-p): Restore function which
20168         was inadvertently removed in change from 2011-06-11.  Declare as
20169         obsolete.
20171         * calendar/calendar.el (calendar-generate-window):
20172         Use window-iso-combined-p instead of combination of one-window-p and
20173         window-safely-shrinkable-p.
20175 2011-06-12  Glenn Morris  <rgm@gnu.org>
20177         * progmodes/fortran.el (fortran-mode-syntax-table):
20178         * progmodes/f90.el (f90-mode-syntax-table):
20179         Set % to punctuation.  (Bug#8820)
20180         (f90-find-tag-default): Remove, no longer needed.
20182 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
20184         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20186 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
20188         * image.el (image-animated-p): Return animation delay in seconds.
20189         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20190         (image-animate-timeout): Remove DELAY argument.  Don't assume
20191         every subimage has the same delay; get it from image-animated-p.
20192         (image-animate): Caller changed.
20194 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
20196         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20197         to ignored backtrace functions.
20199 2011-06-11  Glenn Morris  <rgm@gnu.org>
20201         * calendar/appt.el (appt-disp-window-function): Doc fix.
20202         (appt-check): Handle overlapping appointments.  (Bug#8337)
20204 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
20206         * window.el (window-tree-1, window-tree): New functions, moving
20207         the latter to window.el.
20208         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20209         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20210         (bw-refresh-edges): Remove.
20211         (balance-windows-1, balance-windows-2): New functions.
20212         (balance-windows): Rewrite in terms of window tree functions,
20213         balance-windows-1 and balance-windows-2.
20214         (bw-adjust-window): Remove.
20215         (balance-windows-area-adjust): New function with functionality of
20216         bw-adjust-window but using resize-window.
20217         (set-window-text-height): Rewrite doc-string.
20218         Use normalize-live-window and resize-window.
20219         (enlarge-window-horizontally, shrink-window-horizontally):
20220         Rename argument to DELTA.
20221         (window-buffer-height): New function.
20222         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20223         Rewrite using new window resize routines.
20224         (kill-buffer-and-window, mouse-autoselect-window-select):
20225         Use ignore-errors instead of condition-case.
20226         (quit-window): Call delete-frame instead of delete-windows-on
20227         for the only buffer on frame.
20229 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
20231         * loadup.el (top-level): Load window before files for the sake
20232         of replace-buffer-in-windows.
20234         * files.el (read-buffer-to-switch)
20235         (switch-to-buffer-other-window)
20236         (switch-to-buffer-other-frame, display-buffer-other-frame):
20237         Move to window.el.
20239         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20240         (previous-buffer): Move to window.el.
20242         * bindings.el (unbury-buffer): Move to window.el.
20244         * window.el (delete-other-windows-vertically): Move after
20245         definition of delete-other-windows.
20246         (other-window, delete-windows-on, replace-buffer-in-windows):
20247         Move here from window.c.
20248         (record-window-buffer, unrecord-window-buffer)
20249         (set-window-buffer-start-and-point, switch-to-prev-buffer)
20250         (switch-to-next-buffer): New functions.
20251         (get-next-valid-buffer, last-buffer, next-buffer): Move here
20252         from simple.el.  Call switch-to-next-buffer.
20253         (previous-buffer): Move here from simple.el.
20254         Call switch-to-prev-buffer.
20255         (bury-buffer): Move here from buffer.c.  Switch to previous
20256         buffer when window cannot be deleted.
20257         (unbury-buffer): Move here from bindings.el.
20258         (ctl-x-map): Move binding for other-window from window.c to
20259         here.
20260         (read-buffer-to-switch, switch-to-buffer-other-window)
20261         (switch-to-buffer-other-frame): Move here from files.el.
20262         (normalize-buffer-to-switch-to): New functions.
20263         (switch-to-buffer): Move here from buffer.c.
20264         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20266 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
20268         * window.el (window-min-height, window-min-width): Move here
20269         from window.c.  Add defcustoms and rewrite doc-strings.
20270         (resize-mini-window, resize-window): New functions.
20271         (adjust-window-trailing-edge, enlarge-window, shrink-window):
20272         Move here from window.c.
20273         (maximize-window, minimize-window): New functions.
20274         (delete-window, delete-other-windows, split-window): Move here
20275         from window.c.
20276         (window-split-min-size): New function.
20277         (split-window-keep-point): Mention split-window-above-each-other
20278         instead of split-window-vertically.
20279         (split-window-above-each-other, split-window-vertically):
20280         Rename split-window-vertically to split-window-above-each-other
20281         and provide defalias for old definition.
20282         (split-window-side-by-side, split-window-horizontally):
20283         Rename split-window-horizontally to split-window-side-by-side
20284         and provide defalias for the old definition.
20285         (ctl-x-map): Move bindings for delete-window,
20286         delete-other-windows and enlarge-window here from window.c.
20287         Replace bindings for split-window-vertically and
20288         split-window-horizontally by bindings for
20289         split-window-above-each-other and split-window-side-by-side.
20291         * cus-start.el (all): Remove entries for window-min-height and
20292         window-min-width.  Add entries for window-splits and
20293         window-nest.
20295 2011-06-09  Glenn Morris  <rgm@gnu.org>
20297         * calendar/appt.el (appt-mode-line): New function.
20298         (appt-check, appt-disp-window): Use it.
20300         * files.el (hack-one-local-variable-eval-safep):
20301         Allow minor-modes with explicit +/-1 arguments.
20303 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
20305         * term/xterm.el (xterm): Add defgroup.
20306         (xterm-extra-capabilities): Add defcustom to supply known xterm
20307         capabilities, skip querying them, or query them (default).
20308         (terminal-init-xterm): Use it.
20309         (terminal-init-xterm-modify-other-keys): New function to set up
20310         modifyOtherKeys support to simplify `terminal-init-xterm'.
20312 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
20314         * window.el (resize-window-reset, resize-window-reset-1)
20315         (resize-subwindows-skip-p, resize-subwindows-normal)
20316         (resize-subwindows, resize-other-windows, resize-this-window)
20317         (resize-root-window, resize-root-window-vertically)
20318         (window-deletable-p, window-or-subwindow-p)
20319         (frame-root-window-p): New functions.
20321 2011-06-09  Glenn Morris  <rgm@gnu.org>
20323         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20324         (ange-ftp-get-files): Use it.
20326 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
20328         * mail/sendmail.el (mail-recover-1, mail-recover):
20329         * files.el (recover-file, recover-session):
20330         Handle dired-listing-switches not being just a single short option.
20332 2011-06-09  Glenn Morris  <rgm@gnu.org>
20334         * calendar/appt.el (appt-display-message, appt-disp-window):
20335         Handle lists of appointments.
20337 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
20339         * window.el (one-window-p): Move down in code.
20340         Rewrite doc-string.
20341         (window-current-scroll-bars): Rewrite doc-string.
20342         Normalize live window argument.
20343         (walk-windows, get-window-with-predicate, count-windows):
20344         Rewrite doc-string.  Use window-list-1.
20345         (window-in-direction-2, window-in-direction, get-mru-window):
20346         New functions.
20348 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
20350         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20351         Doc fix (Bug#8713).
20353 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
20355         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20357 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
20359         * loadhist.el (unload-feature-special-hooks):
20360         Add `comint-output-filter-functions'.
20362 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
20364         * calendar/appt.el (appt-check): Move some initializations into the let.
20366 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
20368         * window.el (window-height): Defalias to window-total-height.
20369         (window-width): Defalias to window-body-width.
20371 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
20373         * image-mode.el (image-toggle-animation): New command.
20374         (image-mode-map): Bind it to RET.
20375         (image-mode): Update message.
20376         (image-toggle-display-image): Avoid a spurious cache flush.
20377         (image-transform-rotation): Doc fix.
20378         (image-transform-properties): Return quickly in the normal case.
20379         (image-animate-loop): Rename from image-animate-max-time.
20381         * image.el (image-animate-max-time): Move to image-mode.el.
20382         (create-animated-image): Remove unnecessary function.
20383         (image-animate): Rename from image-animate-start.  New arg.
20384         (image-animate-stop): Remove; just use image-animate-timer.
20385         (image-animate-timer): Use car-safe.
20386         (image-animate-timeout): Rename argument.
20388 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
20390         * window.el (get-lru-window, get-largest-window): Move here from
20391         window.c.  Rename first argument to ALL-FRAMES.
20392         Rephrase doc-strings.
20393         (get-buffer-window-list): Rewrite using window-list-1.
20394         Rephrase doc-string.
20395         (window-safe-min-height, window-safe-min-width): New constants.
20396         (window-size-ignore, window-min-size, window-min-size-1)
20397         (window-sizable, window-sizable-p, window-size-fixed-1)
20398         (window-size-fixed-p, window-min-delta-1, window-min-delta)
20399         (window-max-delta-1, window-max-delta, window-resizable)
20400         (window-resizable-p, window-total-height, window-total-width)
20401         (window-body-width): New functions.
20402         (window-full-height-p, window-full-width-p): Rewrite using
20403         window-total-size.
20404         (window-body-height): Rewrite using window-body-size.
20406 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
20408         * window.el (window-right, window-left, window-child)
20409         (window-child-count, window-last-child, window-any-p)
20410         (normalize-live-buffer, normalize-live-frame)
20411         (normalize-any-window, normalize-live-window)
20412         (window-iso-combination-p, window-iso-combined-p)
20413         (window-iso-combinations)
20414         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20415         (windows-with-parameter, window-with-parameter)
20416         (window-atom-root, make-window-atom, window-atom-check-1)
20417         (window-atom-check, window-side-check, window-check):
20418         New functions.
20419         (ignore-window-parameters, window-sides, window-sides-vertical)
20420         (window-sides-slots): New variables.
20421         (window-size-fixed): Move down in code.  Minor doc-string fix.
20423 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
20425         * comint.el (comint-dynamic-complete-as-filename)
20426         (comint-dynamic-complete-filename): Correctly call
20427         completion-in-region.
20429 2011-06-05  Deniz Dogan  <deniz@dogan.se>
20431         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20432         in last change.
20434 2011-06-05  Deniz Dogan  <deniz@dogan.se>
20436         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20437         (rcirc): Use it to prompt for encryption.
20439 2011-06-05  Roland Winkler  <winkler@gnu.org>
20441         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20442         (bibtex-search-entries): New command bound to C-c C-a.
20443         (bibtex-display-entries): New function.
20445 2011-06-05  Roland Winkler  <winkler@gnu.org>
20447         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20448         (bibtex-insert-kill): After yanking insert newline if necessary.
20449         (bibtex-initialize): Call bibtex-string-files-init only once.
20450         (bibtex-mode): Do not call easy-menu-add.
20451         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20452         (bibtex-yank): Set arg properly if nil.
20454 2011-06-05  Roland Winkler  <winkler@gnu.org>
20456         * textmodes/bibtex.el (bibtex-search-entry-globally):
20457         New variable.
20458         (bibtex-search-entry): Use it.
20460 2011-06-05  Roland Winkler  <winkler@gnu.org>
20462         * textmodes/bibtex.el (bibtex-entry-format): New option
20463         sort-fields.
20464         (bibtex-format-entry, bibtex-reformat): Honor this option.
20465         (bibtex-parse-entry): Return fields in proper order.
20467 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
20469         * doc-view.el (doc-view-remove-if): Move computation of result out
20470         of `dolist' to silence misleading lexical-binding warning.
20472 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
20474         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20475         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20477 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
20479         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20480         "SunOS 5.10".
20482 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
20484         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20485         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20486         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20487         (tramp-parse-putty):
20488         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20489         (tramp-completion-function-alist-ssh)
20490         (tramp-completion-function-alist-telnet)
20491         (tramp-completion-function-alist-su)
20492         (tramp-completion-function-alist-putty): Set `tramp-autoload'
20493         cookie.
20495         * net/tramp-ftp.el:
20496         * net/tramp-sh.el:
20497         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20498         load "tramp.el" `tramp-set-completion-function'.
20500 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20502         * shell.el: Require and use pcomplete.
20503         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20504         (shell-completion-vars): Set pcomplete-default-completion-function.
20506 2011-06-04  Deniz Dogan  <deniz@dogan.se>
20508         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20509         `memq' (Bug#8799).
20511 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
20513         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20515 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
20517         * bs.el (bs--mark-unmark, bs--nth-wrapper):
20518         * mpc.el (mpc-select-extend, mpc-songpointer-context):
20519         * vc/log-view.el (log-view-beginning-of-defun):
20520         * vc/smerge-mode.el (smerge-apply-resolution-patch)
20521         (smerge-refine-forward, smerge-refine-chopup-region):
20522         Silence warning for unused `dotimes' counter variables.
20524 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
20526         * net/tramp.el (tramp-with-progress-reporter): Rename from
20527         with-progress-reporter.  Use `declare'.
20528         * net/tramp-smb.el:
20529         * net/tramp-sh.el:
20530         * net/tramp-gvfs.el: Update all uses.
20532 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
20534         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20535         buffer isn't killed before making it current.
20537 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20539         Silence various byte-compiler warnings.
20540         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20541         `access-type' and new obsolescence format.
20542         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20543         new format.
20544         (byte-compile-check-variable): New `access-type' argument.
20545         Only warn if the access-type is obsolete.
20546         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20547         (byte-compile-variable-set): Adjust callers.
20548         * help-fns.el (describe-variable): Adjust to new obsolescence format.
20549         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20550         setting it as obsolete.
20551         * simple.el (minibuffer-completing-symbol):
20552         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20553         access as obsolete.
20554         * minibuffer.el (minibuffer-completing-file-name): Don't make it
20555         obsolete yet.
20556         * international/quail.el (quail-mouse-choose-completion): Remove unused
20557         code referring to obsolete var.
20558         (quail-choose-completion-string): Remove.
20559         * server.el (server-clients-with, server-kill-buffer-query-function)
20560         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20561         * proced.el (proced-send-signal):
20562         * emacs-lisp/lisp.el (lisp-complete-symbol):
20563         Replace completion-annotate-function with completion-extra-properties.
20565 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20567         * simple.el (goto-line): Use read-number.
20568         (overriding-map-is-bound): Remove.
20569         (saved-overriding-map): Change default.
20570         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20571         Take the map as argument.
20572         (universal-argument, negative-argument, digit-argument): Use it.
20573         (restore-overriding-map): Adjust.
20574         (do-auto-fill): Use fill-forward-paragraph.
20575         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20577         * minibuffer.el (minibuffer-inactive-mode-map): New var.
20578         (minibuffer-inactive-mode): New major mode.
20579         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20580         the *Messages* buffer" hack.
20581         (mouse-popup-menubar): Don't burp if the event is a normal key.
20583         Miscellaneous tweaks.
20584         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20585         lexical scoping as in subr.el's dolist and dotimes.
20586         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20587         Silence compiler warning.
20588         * thingatpt.el (forward-whitespace): Trivial coding style fix.
20589         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20590         * international/ccl.el (ccl-compile): Trivial simplification.
20591         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20592         * emacs-lisp/testcover.el (testcover-end): Remove spurious
20593         `printflag' argument.
20594         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20595         Purecopy the whole obsolescence data.
20597 2011-06-01  Leo Liu  <sdl.web@gmail.com>
20599         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20600         improve doc-string as suggested by Marco Pessotto
20601         <melmothx@gmail.com>.
20602         (rcirc-print): Fix last change.
20604 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20606         * minibuffer.el (complete-with-action): Return nil for the metadata and
20607         boundaries of non-functional tables.
20608         (completion-table-dynamic): Return nil for the metadata.
20609         (completion-table-with-terminator): Add default case, using
20610         complete-with-action.
20611         (completion--metadata): New function.
20612         (completion-all-sorted-completions, minibuffer-completion-help): Use it
20613         to try and avoid pathological performance problems.
20614         (completion--embedded-envvar-table): Return `category' metadata.
20616 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20618         * subr.el (process-alive-p): New tiny convenience function.
20620 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20622         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20623         content but also its previous major mode.
20625 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
20627         * emacs-lisp/debug.el (debug): Restore the previous content of the
20628         *Backtrace* buffer when we exit with C-M-c.
20630 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20632         * minibuffer.el: Add metadata method to completion tables.
20633         (completion-category-overrides): New defcustom.
20634         (completion-metadata, completion--field-metadata)
20635         (completion-metadata-get, completion--styles)
20636         (completion--cycle-threshold): New functions.
20637         (completion-try-completion, completion-all-completions):
20638         Add `metadata' argument to choose completion-styles.
20639         (completion--do-completion): Use metadata to choose cycling.
20640         (completion-all-sorted-completions): Use metadata for sorting.
20641         Remove :completion-cycle-penalty which is not needed any more.
20642         (completion--try-word-completion): Add `metadata' argument.
20643         (minibuffer-completion-help): Check metadata for annotation function
20644         and sorting.
20645         (completion-file-name-table): Return `category' metadata.
20646         (minibuffer-completing-file-name): Make obsolete.
20647         * simple.el (minibuffer-completing-symbol): Make obsolete.
20648         * icomplete.el (icomplete-completions): Pass new `metadata' param to
20649         completion-try-completion.
20651 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20653         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20655 2011-05-30  Leo Liu  <sdl.web@gmail.com>
20657         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
20658         (rcirc-print): Decode all incoming messages (bug#8744).
20659         (rcirc-decode-coding-system): Allow value nil for automatic coding
20660         system detection.
20662 2011-06-01  Glenn Morris  <rgm@gnu.org>
20664         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20666 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
20668         * image.el (image-animate-max-time): Allow nil and t values.
20669         Default to nil.
20670         (create-animated-image): Doc fix.
20671         (image-animate-start): Remove second arg; just use
20672         image-animate-max-time.
20673         (image-animate-timeout): Doc fix.  Args changed.
20675         * image-mode.el (image-toggle-display-image): Ensure that the
20676         image spec passed to the animate timer is the same object as in
20677         the buffer's display property (Bug#6981).
20678         (image-transform-properties): Doc fix.
20680         * image.el (image-animate-max-time): Default to nil.
20682 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
20684         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20685         entire buffer list (Bug#8184).
20687 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
20689         * image.el (imagemagick-types-inhibit)
20690         (imagemagick-register-types): Doc fix.
20692 2011-05-29  Deniz Dogan  <deniz@dogan.se>
20694         * net/rcirc.el (rcirc): Use the user's stored encryption method by
20695         default.
20697 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
20699         * select.el: Don't perform clipboard-manager saving in hooks;
20700         leave the hooks empty.
20702 2011-05-28  Leo Liu  <sdl.web@gmail.com>
20704         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20705         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
20706         (occur-edit-mode): New major mode (Bug#8463).
20707         (occur-after-change-function): New function.
20708         (occur-engine): Give Occur tags a read-only property.
20710 2011-05-28  Kevin Ryde  <user42@zip.com.au>
20712         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20714 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
20716         * bindings.el (help-echo): Make the initial non-indicator dash
20717         empty on graphical terminals (Bug#7295).
20719         * files.el (auto-mode-alist): Move config rule after the
20720         in-stripping one (Bug#8547).
20722         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20724         * startup.el (normal-splash-screen): Remove gratuitous mode-line
20725         setting (Bug#8740).
20727 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
20729         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20730         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20731         (Bug#8539).
20733 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
20735         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20737 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
20739         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20740         (hs-hide-block-at-point, hs-find-block-beginning)
20741         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20742         (Bug#8279).
20744 2011-05-28  Glenn Morris  <rgm@gnu.org>
20746         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
20748 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
20750         * help-fns.el (describe-function-1): If the function is a derived
20751         major mode, print the parent mode.
20753         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20754         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20756 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20758         * minibuffer.el (completion--capf-wrapper): Check applicability before
20759         returning non-nil for non-exclusive completion data.
20760         * progmodes/etags.el (tags-completion-at-point-function):
20761         * info-look.el (info-lookup-completions-at-point): Mark as
20762         non-exclusive.
20763         (info-complete): Adjust accordingly.
20765         * info-look.el: Convert to lexical-binding and completion-at-point.
20766         (info-lookup-completions-at-point): New function.
20767         (info-complete): Use it and completion-in-region.
20769 2011-05-28  Drew Adams  <drew.adams@oracle.com>
20771         * isearch.el: Let M-e start with point at the first mismatched char.
20772         (isearch-fail-pos): New function.
20773         (isearch-edit-string): Use it.
20775 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
20777         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20779 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
20781         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
20782         traversal functions for avl-trees.
20783         (avl-tree--stack): New struct.
20784         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20785         (avl-tree-enter): Add optional `updatefun' arg.
20786         (avl-tree--do-enter): Add optional `updatefun' arg.
20787         Change return value.
20788         (avl-tree-delete): Add optional `test' and `nilflag' args.
20789         (avl-tree--do-delete): Add `test' and `nilflag' args.
20790         Change return value.
20791         (avl-tree-member): Add optional `nilflag'
20792         (avl-tree-member-p): New function.
20793         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20794         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20795         (avl-tree-stack-empty-p): New functions.
20797         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20798         avl-tree--del-balance1 and make it work both ways.
20799         (avl-tree--del-balance2): Remove.
20800         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20801         make it work both ways.
20802         (avl-tree--enter-balance2): Remove.
20803         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20804         New macros.
20805         (avl-tree--mapc, avl-tree-map): Add direction argument.
20807 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
20809         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20811 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
20813         * select.el: Support clipboard managers with built-in function
20814         x-clipboard-manager-save, via delete-frame-functions and
20815         kill-emacs-hook.
20816         (xselect-convert-to-targets): Add MULTIPLE target to list.
20817         (xselect-convert-to-save-targets): New function.
20819 2011-05-27  Kenichi Handa  <handa@m17n.org>
20821         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20822         let-binding rfc2047-encode-encoded-words to nil.
20824 2011-05-27  Glenn Morris  <rgm@gnu.org>
20826         * mail/emacsbug.el: Don't require url-util.
20828         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
20830         * files.el (set-auto-mode):
20831         Also respect mode: entries at the end of the file.  (Bug#8586)
20833 2011-05-26  Glenn Morris  <rgm@gnu.org>
20835         * files.el (hack-local-variables-prop-line, hack-local-variables):
20836         Downcase mode names, as seems to be traditional.
20837         (hack-local-variables, hack-local-variables-apply): Doc fixes.
20839         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20840         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
20842 2011-05-25  Julien Danjou  <julien@danjou.info>
20844         * textmodes/rst.el (rst-define-level-faces): Do not define face
20845         symbol if it is already defined.
20847 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
20849         * play/5x5.el (5x5-new-game, 5x5-randomize):
20850         Reset 5x5-solver-output to nil when a new grid is cast.
20851         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20852         these debugging traces, as defmacro breaks the compiled code.
20854 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
20856         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20858 2011-05-24  Leo Liu  <sdl.web@gmail.com>
20860         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20861         (vc-bzr-sha1): Adapt.
20863         * sha1.el: Remove.  Function `sha1' is now builtin.
20865         * bindings.el: Provide sha1 feature.
20867 2011-05-24  Kenichi Handa  <handa@m17n.org>
20869         * mail/sendmail.el: Require `rfc2047'.
20870         (mail-insert-from-field): Do not perform RFC2047 encoding.
20871         (mail-encode-header): New function.
20872         (sendmail-send-it): Set buffer-file-coding-system of the work
20873         buffer to the return value of select-message-coding-system.
20874         Call mail-encode-header.
20876         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20878 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
20880         * mail/supercite.el (sc-default-cite-frame):
20881         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
20883 2011-05-24  Glenn Morris  <rgm@gnu.org>
20885         * progmodes/python.el (brm-menu): Declare.
20887         * emulation/viper.el (viper-set-hooks): Declare.
20889         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20890         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20891         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20892         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20893         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20894         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20896 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20898         Add an :exit-function for completion-at-point.
20900         * minibuffer.el (completion--done): New fun.
20901         (completion--do-completion): Use it.  New arg `expect-exact'.
20902         (minibuffer-complete, minibuffer-complete-word): Don't output message,
20903         since completion--do-completion does it for us now.
20904         (minibuffer-force-complete): Use completion--done and
20905         completion--replace.  Handle sole-completion case with more care.
20906         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20907         (completion-extra-properties): New var.
20908         (completion-annotate-function): Make obsolete.
20909         (minibuffer-completion-help): Adjust accordingly.
20910         Use completion-list-insert-choice-function.
20911         (completion-at-point, completion-help-at-point):
20912         Bind completion-extra-properties.
20913         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20914         * simple.el (completion-list-insert-choice-function): New var.
20915         (completion-setup-function): Preserve it.
20916         (choose-completion): Pay attention to it, shuffle the code a bit.
20917         (choose-completion-string): New arg `insert-function'.
20919         * textmodes/bibtex.el: Convert to lexical binding.
20920         (bibtex-mode-map): Use completion-at-point.
20921         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20922         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20923         (bibtex-complete): Define as obsolete alias.
20924         (bibtex-complete-internal): Remove.
20925         (bibtex-format-entry): Remove unused sub-group in regexp.
20926         * shell.el (shell--command-completion-data)
20927         (shell-environment-variable-completion):
20928         * pcomplete.el (pcomplete-completions-at-point):
20929         * comint.el (comint--complete-file-name-data): Use :exit-function
20930         instead of completion-table-with-terminator so it also works for
20931         choose-completion.
20933 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20935         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20937         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20938         (bug#8710).
20940         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20942 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
20944         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20945         customization variable and implement: If non-nil, auto-fill will
20946         be inhibited while on topic's header line.
20948 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
20950         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
20951         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
20952         always have a solution in grid size = 5 cases.
20953         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20954         (5x5-solver-output, 5x5-log-buffer): New vars.
20955         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20956         Make these variables buffer local to achieve 5x5 multi-session-ness.
20957         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20958         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20959         (5x5-solve-suggest): New funs.
20960         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20961         randomize a grid so that we ensure that there is always a solution.
20962         (5x5-make-random-grid): Allow other movement than flipping.
20964 2011-05-23  Kevin Ryde  <user42@zip.com.au>
20966         * emacs-lisp/advice.el (ad-read-advised-function):
20967         Use `function-called-at-point' as the default, if it has
20968         advice and passes PREDICATE.
20970 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20972         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20973         byte-compile-lambda if it's actually a lambda.
20975         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20976         Fix function quoting.  Use backquote better.
20978 2011-05-22  Yuanle Song  <sylecn@gmail.com>
20980         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20981         matching (Bug#8516).
20983 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
20985         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20986         different face (Bug#8178).
20988 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
20990         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20991         defface (Bug#8144).
20993 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
20995         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20996         funcall as well (bug#8712).  Warn when performing those conversions.
20997         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20999         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21001 2011-05-22  Glenn Morris  <rgm@gnu.org>
21003         * files.el (hack-local-variables-prop-line): Small simplifications.
21004         (hack-local-variables, hack-local-variables-prop-line):
21005         If MODE-ONLY, return the mode, rather than just `t'.
21007 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21009         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21011 2011-05-21  Glenn Morris  <rgm@gnu.org>
21013         * files.el (hack-local-variables-prop-line, hack-local-variables):
21014         If only interested in the mode, don't bother doing the other stuff.
21016         * image-mode.el (image-after-revert-hook):
21017         Redraw all frames on which the image is visible.  (Bug#8567)
21019         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
21021         * wid-edit.el (widget-checklist-match-inline):
21022         Fix 2011-04-19 change.  (Bug#8649)
21024 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21026         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21027         Also allow singlespace after single-letter capitals followed by a dot.
21029         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21030         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21032 2011-05-20  Nix  <nix@esperi.org.uk>
21034         * files.el (basic-save-buffer-2):
21035         Fix handling of break-hardlink-on-save with non-existent files.
21037 2011-05-19  Deniz Dogan  <deniz@dogan.se>
21039         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21040         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21042 2011-05-19  Glenn Morris  <rgm@gnu.org>
21044         * progmodes/f90.el (f90-type-def-re):
21045         Handle "type, bind(c)".  (Bug#8691)
21047         * emacs-lisp/autoload.el (batch-update-autoloads):
21048         Set autoload-excludes by parsing loadup.el rather than Makefiles.
21050 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
21052         * net/tramp.el (tramp-process-actions): Set "first-password-request"
21053         property for the correct connection in case of multihops.
21055 2011-05-18  Glenn Morris  <rgm@gnu.org>
21057         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21058         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21060         Rationalize calendar handling of day and month abbrev-arrays.
21061         * calendar/calendar.el (calendar-customized-p): New function.
21062         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21063         (calendar-day-name-array, calendar-month-name-array): Doc fix.
21064         Add :set function.
21065         (calendar-abbrev-length, calendar-day-abbrev-array)
21066         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21067         (calendar-day-abbrev-array, calendar-month-abbrev-array):
21068         Elements may no longer be nil.
21069         (calendar-day-name, calendar-month-name):
21070         Update for changed nature of abbrev arrays.
21071         * calendar/diary-lib.el (diary-name-pattern):
21072         Update for changed nature of abbrev arrays.
21073         (diary-mark-entries-1): Update calendar-make-alist calls.
21074         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21075         * calendar/cal-html.el (cal-html-day-abbrev-array):
21076         Simply inherit from calendar-day-abbrev-array.
21078 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21080         * progmodes/grep.el (grep-mode): Disable default
21081         compilation-directory-matcher setting (bug#8684).
21083 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
21085         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21086         instead of "head" and "tail".  There were problems with SunOS 5.9,
21087         and it performs better.
21089 2011-05-17  Glenn Morris  <rgm@gnu.org>
21091         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21093         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21094         Replace obsolete function.
21096         * shell.el (pcomplete-parse-arguments-function): Declare.
21098         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21099         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21100         (appt-check): Doc fixes.
21101         (appt-disp-window-function, appt-delete-window-function):
21102         Remove needless special case in custom :type.
21103         (appt-display-count): Default to 0, not nil.
21104         (appt-check): Reset appt-display-count to 0, not nil.
21106 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
21108         * progmodes/python.el (python-font-lock-keywords):
21109         Add the Python 3.X keyword "nonlocal" (bug#8639).
21111 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21113         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21115 2011-05-16  Kevin Ryde  <user42@zip.com.au>
21117         * info-look.el (makefile-automake-mode): New setups, looking in
21118         automake manual, then makefile-mode.
21119         (makefile-mode): Remove automake manual, have it just in
21120         makefile-automake-mode since there's various things different or
21121         not relevant to plain make.
21122         (makefile-mode): Remove "other-modes" non-existent automake-mode,
21123         believe a hypothetical automake-mode would go to makefile-mode,
21124         not the other way around.
21126 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
21128         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21129         hunk-end tags (Bug#8672).
21131         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21132         vc-annotate-show-diff-revision-at-line (Bug#8671).
21134 2011-05-14  Glenn Morris  <rgm@gnu.org>
21136         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21137         in the middle of an existing one with multiple authors.  (Bug#8645)
21138         (change-log-font-lock-keywords): Also handle multiple author lines
21139         with leading tabs.  (Bug#8644)
21141         * calendar/appt.el (appt-check): Rename some local variables.
21142         Some simplification/reordering.
21144         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21145         (feedmail-sendmail-f-doesnt-sell-me-out)
21146         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21147         (feedmail-debug-sit-for, feedmail-queue-express-hook)
21148         (feedmail-queue-runner-message-sender): Set :version.
21149         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21150         (bbdb-dwim-net-address, vm-mail): Declare.
21151         (feedmail-binmail-gnulinuxish-template):
21152         Rename from feedmail-binmail-linuxish-template.
21153         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21154         Use insert-buffer-substring.
21156 2011-05-14  Bill Carpenter  <bill@carpenter.org>
21158         * mail/feedmail.el (feedmail-patch-level): Increase.
21159         (feedmail-debug): New custom group.
21160         (feedmail-confirm-outgoing-timeout)
21161         (feedmail-sendmail-f-doesnt-sell-me-out)
21162         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21163         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21164         (feedmail-sender-line, feedmail-from-line)
21165         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21166         (feedmail-spray-this-address)
21167         (feedmail-spray-address-fiddle-plex-list)
21168         (feedmail-queue-use-send-time-for-date)
21169         (feedmail-queue-use-send-time-for-message-id)
21170         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21171         (feedmail-buffer-eating-function):
21172         Doc fixes.
21173         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21174         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21175         (feedmail-message-action-scroll-down): New functions.
21176         (feedmail-queue-directory, feedmail-queue-draft-directory):
21177         Use expand-file-name.
21178         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21179         Remove C-v help entry.
21180         (feedmail-queue-buffer-file-name): New variable.
21181         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21182         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21183         (feedmail-message-action-send-strong, feedmail-message-action-edit)
21184         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21185         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21186         (feedmail-message-action-toggle-spray)
21187         (feedmail-run-the-queue-no-prompts)
21188         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21189         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21190         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21191         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21192         (feedmail-envelope-deducer, feedmail-fiddle-from)
21193         (feedmail-fiddle-sender, feedmail-default-date-generator)
21194         (feedmail-fiddle-date, feedmail-fiddle-message-id)
21195         (feedmail-fiddle-spray-address)
21196         (feedmail-fiddle-list-of-spray-fiddle-plexes)
21197         (feedmail-fiddle-list-of-fiddle-plexes)
21198         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21199         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21200         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21201         Change default.  Doc fix.
21202         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21203         (feedmail-binmail-linuxish-template): New constant.
21204         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
21205         Respect feedmail-sendmail-f-doesnt-sell-me-out.
21206         (feedmail-send-it): Add debug call.
21207         Use feedmail-queue-buffer-file-name, and
21208         feedmail-send-it-immediately-wrapper.
21209         (feedmail-message-action-send): Add debug call.
21210         Use feedmail-send-it-immediately-wrapper.
21211         (feedmail-queue-express-to-queue): Add debug call.
21212         Run feedmail-queue-express-hook.
21213         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
21214         (feedmail-message-action-help-blat):
21215         Rename from feedmail-queue-send-edit-prompt-help-first.
21216         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
21217         Check line-endings.  Handle errors better.
21218         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21219         Doc fix.  Add debug call.
21220         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
21221         Use feedmail-queue-send-edit-prompt-inner.
21222         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21223         (feedmail-queue-send-edit-prompt-inner): New function, extracted
21224         from feedmail-queue-send-edit-prompt.
21225         (feedmail-queue-send-edit-prompt-help)
21226         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21227         (feedmail-tidy-up-slug): Add debug call.
21228         Respect feedmail-queue-slug-suspect-regexp.
21229         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21230         (feedmail-dump-message-to-queue): Add debug call.
21231         Expand queue-directory.
21232         (feedmail-dump-message-to-queue): Change message slightly.
21233         Use feedmail-say-chatter.
21234         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
21235         (feedmail-send-it-immediately-wrapper): New function.
21236         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
21237         Insert empty string rather than newline.  Handle full-frame case.
21238         Use catch/throw.  Use feedmail-say-chatter.
21239         (feedmail-fiddle-from): Try mail-host-address.
21240         (feedmail-default-message-id-generator): Doc fix.
21241         Bind system-time-locale.  Handle missing end.
21242         (feedmail-fiddle-x-mailer): Add debug call.
21243         Handle feedmail-x-mailer-line being nil.
21244         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21245         Add debug call.  Use buffer-substring-no-properties.
21246         (feedmail-say-debug, feedmail-say-chatter): New functions.
21247         (feedmail-find-eoh): Give an explicit error.
21249 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
21251         * net/newst-treeview.el (newsticker-treeview-face): Change default
21252         family from helvetica to sans.
21253         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21254         etc/images/newsticker.
21256         * net/newst-reader.el (newsticker-feed-face): Change default
21257         family from helvetica to sans.
21259         * net/newst-plainview.el (newsticker-new-item-face)
21260         (newsticker-old-item-face, newsticker-immortal-item-face)
21261         (newsticker-obsolete-item-face, newsticker-date-face)
21262         (newsticker-statistics-face): Change default family from
21263         helvetica to sans.
21264         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21265         etc/images/newsticker.
21267         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21268         (newsticker--process-auto-mark-filter-match): Tell user about
21269         auto-marking.
21271 2011-05-13  Didier Verna  <didier@xemacs.org>
21273         Common Lisp indentation improvements on defmethod and lambda-lists.
21274         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21275         TODO entries.
21276         (lisp-lambda-list-keyword-parameter-indentation)
21277         (lisp-lambda-list-keyword-parameter-alignment)
21278         (lisp-lambda-list-keyword-alignment): New customizable user options.
21279         (lisp-indent-defun-method): Improve docstring.
21280         (extended-loop-p): Fix comment.
21281         (lisp-indent-lambda-list-keywords-regexp): New variable.
21282         (lisp-indent-lambda-list): New function.
21283         (lisp-indent-259): Use it.
21284         (lisp-indent-defmethod): Support for more than one
21285         method qualifier and properly indent methods lambda-lists.
21286         (defgeneric): Provide a missing common-lisp-indent-function property.
21288 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
21290         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21291         bounds for the empty string (bug#8667).
21293 2011-05-13  Glenn Morris  <rgm@gnu.org>
21295         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21297         * mail/sendmail.el (sendmail-program): Try executable-find first.
21298         (sendmail-send-it): `sendmail-program' cannot be unbound.
21300         * calendar/appt.el (appt-make-list): Simplify.
21301         (appt-time-msg-list): Doc fix.
21302         (appt-check): Change mode-line message at the time of the appointment.
21304 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21306         * progmodes/ld-script.el (ld-script-keywords)
21307         (ld-script-builtins): Update keywords list.
21309 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21311         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21313         * shell.el (shell-completion-vars): New function.
21314         (shell-mode):
21315         * simple.el (read-shell-command): Use it.
21316         (blink-matching-open): No need for " [...]" in minibuffer-message.
21318 2011-05-12  Glenn Morris  <rgm@gnu.org>
21320         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21321         (appt-check): Simplify.
21323 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
21325         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
21326         literal "/dev/null".
21328 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21330         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21331         Fix typo.
21333 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
21335         * progmodes/which-func.el (which-function):
21336         Use add-log-current-defun instead of add-log-current-defun-function,
21337         which might not be defined (Bug#8260).
21339 2011-05-12  Glenn Morris  <rgm@gnu.org>
21341         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21342         Let byte-compile-initial-macro-environment always take precedence.
21344 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21346         * net/rcirc.el: Add support for SSL/TLS connections.
21347         (rcirc-server-alist): New field `encryption'.
21348         (rcirc): Check `encryption' settings.
21349         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
21350         Merge make-local-variable into `set'.
21351         (rcirc--connection-open-p): New function.
21352         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21353         the process is not a network process (e.g. running gnutls-cli).
21354         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21355         Make rcirc-(en|de)code-coding-system local here.
21356         (rcirc-mode): Merge make-local-variable into `set'.
21357         (rcirc-parent-buffer): Make permanent buffer-local.
21358         (rcirc-multiline-minor-mode): Don't do it here.
21359         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21360         there's no server buffer.
21362 2011-05-11  Glenn Morris  <rgm@gnu.org>
21364         * newcomment.el (comment-kill): Prefix "unused" local.
21366         * term/w32console.el (get-screen-color): Declare.
21368         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21369         Handle symbol elements of byte-compile-initial-macro-environment.
21371 2011-05-10  Leo Liu  <sdl.web@gmail.com>
21373         * bookmark.el (bookmark-bmenu-mode-map):
21374         Bind bookmark-bmenu-search to `/'.
21376         * mail/footnote.el: Convert to utf-8 encoding.
21377         (footnote-unicode-string, footnote-unicode-regexp): New variable.
21378         (Footnote-unicode): New function.
21379         (footnote-style-alist): Add unicode style to the list.
21380         (footnote-style): Doc fix.
21382 2011-05-10  Jim Meyering  <meyering@redhat.com>
21384         Fix doubled-word typos.
21385         * international/quail.el (quail-insert-kbd-layout): and and -> and
21386         * kermit.el: and and -> and
21387         * net/ldap.el (ldap-search-internal): to to -> to
21388         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21389         * progmodes/js.el (js-mode): and and -> and
21390         * textmodes/artist.el (artist-move-to-xy): at at -> at
21391         (artist-draw-region-trim-line-endings): if if -> if
21392         And Safetyc -> Safety.
21393         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21395 2011-05-10  Glenn Morris  <rgm@gnu.org>
21396             Stefan Monnier  <monnier@iro.umontreal.ca>
21398         * files.el (hack-one-local-variable-eval-safep):
21399         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
21401 2011-05-10  Glenn Morris  <rgm@gnu.org>
21403         * calendar/diary-lib.el (diary-list-entries-hook)
21404         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21405         (diary-nongregorian-marking-hook, diary-list-entries)
21406         (diary-include-other-diary-files, diary-mark-entries)
21407         (diary-mark-included-diary-files): Doc fixes.
21409 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
21411         * misc.el: Require tabulated-list.el during compilation.
21413 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
21415         * progmodes/compile.el (compilation-start):
21416         Run compilation-filter-hook for the async case too.
21417         (compilation-filter-hook): Doc fix.
21419 2011-05-09  Deniz Dogan  <deniz@dogan.se>
21421         * wdired.el: Remove outdated installation comment.  Fix usage
21422         comment.
21424 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
21426         * misc.el: Implement new command `list-dynamic-libraries'.
21427         (list-dynamic-libraries--loaded-only-p): New variable.
21428         (list-dynamic-libraries--refresh): New function.
21429         (list-dynamic-libraries): New command.
21431 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
21433         * progmodes/compile.el (compilation-error-regexp-alist-alist):
21434         Fix the ant regexp to handle end-line and end-column info from jikes.
21435         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
21436         higher priority to avoid clobbering by gnu.
21438 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
21440         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21441         if the face has existing theme settings (Bug#8454).
21443 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
21445         * progmodes/perl-mode.el (perl-imenu-generic-expression):
21446         Only match variables declared via `my' or `our' (Bug#8261).
21448         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21449         special file names `.' and `..' (Bug#8259).
21451 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
21453         * progmodes/grep.el (grep-mode-font-lock-keywords):
21454         Remove buffer-changing entries.
21455         (grep-filter): New function.
21456         (grep-mode): Add it to compilation-filter-hook.
21458         * progmodes/compile.el (compilation-filter-hook)
21459         (compilation-filter-start): New defvars.
21460         (compilation-filter): Call compilation-filter-hook prior to
21461         updating the process mark.
21463 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
21465         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21467 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
21469         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21470         mailclient-send-it even if window-system is nil.  (Bug#8595)
21472         * term/w32console.el (terminal-init-w32console):
21473         Call get-screen-color and use its output to set the frame
21474         background-mode.  (Bug#8597)
21476 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
21478         Make bytecomp.el understand that defmethod defines funs (bug#8631).
21479         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21480         New functions.
21481         (defgeneric, eieio--defmethod): Use them.
21482         (eieio-defgeneric): Remove.
21483         (defmethod): Call defgeneric in a way visible to the byte-compiler.
21485 2011-05-07  Glenn Morris  <rgm@gnu.org>
21487         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21488         Use let rather than let*.
21489         (timeclock-find-discrep): Remove unused local.
21491         * calendar/diary-lib.el (diary-comment-start): Doc fix.
21493         * calendar/appt.el (appt-time-msg-list): Doc fix.
21495 2011-05-06  Noah Friedman  <friedman@splode.com>
21497         * apropos.el (apropos-print-doc): Only use
21498         emacs-lisp-docstring-fill-column when it is bound to an integer,
21499         per that variable's documentation.
21501 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
21503         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
21504         and warnings are not silently discarded (e.g. use -d instead of -P).
21506 2011-05-06  Glenn Morris  <rgm@gnu.org>
21508         * calendar/appt.el (appt-message-warning-time): Doc fix.
21509         (appt-warning-time-regexp): New option.
21510         (appt-make-list): Respect appt-message-warning-time.
21512         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21513         New options.
21514         (diary-add-to-list): Strip comments from the displayed string.
21515         (diary-mode): Set comment-start and comment-end.
21517         * vc/diff-mode.el (smerge-refine-subst): Declare.
21518         (diff-refine-hunk): Don't require smerge-mode when compiling.
21520 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
21522         * simple.el (list-processes): Return nil as the docstring says.
21524 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
21526         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21527         to "".
21528         (ange-ftp-write-region, ange-ftp-insert-file-contents)
21529         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21530         determining of binary transfer.  (Bug#7383)
21532 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
21534         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21535         Fix port computation bug.  (Bug#8618)
21537 2011-05-05  Glenn Morris  <rgm@gnu.org>
21539         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21541         * simple.el (shell-dynamic-complete-functions)
21542         (comint-dynamic-complete-functions): Declare.
21544         * net/network-stream.el (gnutls-negotiate):
21545         * simple.el (tabulated-list-print): Fix declarations.
21547         * progmodes/gud.el (syntax-symbol, syntax-point):
21548         Remove unnecessary and incorrect declarations.
21550         * emacs-lisp/check-declare.el (check-declare-scan):
21551         Handle byte-compile-initial-macro-environment in bytecomp.el.
21553 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21555         Fix earlier half-done eieio-defmethod change (bug#8338).
21556         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21557         Streamline and change calling convention.
21558         (defmethod): Adjust accordingly and simplify.
21559         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21560         new eieio--defmethod.
21561         (slot-boundp): Minor CSE simplification.
21563 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
21565         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21566         (glasses-make-readable): Use glasses-separate-capital-groups.
21568 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
21570         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21571         (warning-series): Doc fix.
21572         (display-warning): Don't try to create the buffer if we just found it.
21574 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
21576         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21577         (autoload-find-generated-file): New function.
21578         (generate-file-autoloads): Bind generated-autoload-file to
21579         buffer-file-name.
21580         (update-file-autoloads, update-directory-autoloads):
21581         Use autoload-find-generated-file.  If called interactively, prompt for
21582         output file (Bug#7989).
21583         (batch-update-autoloads): Doc fix.
21585 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
21587         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21589 2011-05-04  Glenn Morris  <rgm@gnu.org>
21591         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21592         function, so it follows changes in calendar-date-style.
21593         (diary-fancy-date-matcher): New function.
21594         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21595         (diary-fancy-font-lock-fontify-region-function):
21596         Use diary-fancy-date-pattern as a function.
21598         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21599         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
21601 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
21603         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21604         instead of positional arguments.  Allow :keylist and :crlfiles
21605         arguments.
21606         (open-gnutls-stream): Call it.
21608         * net/network-stream.el (network-stream-open-starttls): Adjust to
21609         call `gnutls-negotiate' with :process and :hostname arguments.
21611 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
21613         * minibuffer.el (completion--message): New function.
21614         (completion--do-completion, minibuffer-complete)
21615         (minibuffer-force-complete, minibuffer-complete-word): Use it.
21616         (completion--do-completion): Don't ignore completion-auto-help when in
21617         icomplete-mode.
21619         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21620         internal encoding (e.g. tibetan zero is not whitespace).
21621         (global-whitespace-mode): Prefer save-current-buffer.
21622         (whitespace-trailing-regexp): Remove useless save-match-data.
21623         (whitespace-empty-at-bob-regexp): Minor simplification.
21625 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
21627         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21629 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
21631         * textmodes/ispell.el (ispell-add-per-file-word-list):
21632         Use `concat' to create string for insertion.
21634 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
21636         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21637         Avoid open-line which runs post-self-insert-hook.
21638         (bibtex-fill-entry): Remove unused `end' var.
21640 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
21642         * textmodes/ispell.el (ispell-add-per-file-word-list):
21643         Protect against `nil' value of `comment-start' (Bug#8579).
21645 2011-05-03  Leo Liu  <sdl.web@gmail.com>
21647         * isearch.el (isearch-yank-pop): New command.
21648         (isearch-mode-map): Bind it to `M-y'.
21649         (isearch-forward): Mention it.
21651 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
21653         * simple.el (minibuffer-complete-shell-command): Remove.
21654         (minibuffer-local-shell-command-map): Use completion-at-point.
21655         (read-shell-command): Setup completion vars here instead.
21656         (read-expression-map): Bind TAB to symbol completion.
21658         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21659         error directly rather via storing it into `results'.
21661 2011-05-02  Leo Liu  <sdl.web@gmail.com>
21663         * vc/diff.el: Fix description.
21665 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21667         * server.el (server-eval-at): New function.
21669 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21671         * net/network-stream.el (open-network-stream): Take a :nowait
21672         parameter and pass it on to `make-network-process'.
21673         (network-stream-open-plain): Ditto.
21675 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
21677         * faces.el (face-spec-set-match-display): Don't match toolkit
21678         options on terminal frames.
21680 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
21682         * progmodes/pascal.el: Use lexical binding.
21683         (pascal-mode-map): Remove author preferences.
21685         * pcomplete.el (pcomplete-std-complete): Don't abuse
21686         completion-at-point.
21688 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
21690         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21691         removing code that has been dead since 1991 or so.
21693         * startup.el (command-line): When warning about "_emacs", use a
21694         delayed warning to allow the user to filter it out.
21696 2011-04-28  Deniz Dogan  <deniz@dogan.se>
21698         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21699         user has not joined.
21701 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21703         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21704         aren't any completions at point.
21706 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
21708         * subr.el (display-delayed-warnings): New function.
21709         (delayed-warnings-hook): New variable.
21711 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21713         * minibuffer.el (completion-at-point, completion-help-at-point):
21714         Don't presume that a given completion-at-point-function will always
21715         use the same calling convention.
21717         * pcomplete.el (pcomplete-completions-at-point):
21718         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
21719         pcomplete-seen is non-nil.
21720         (pcomplete-comint-setup): Also recognize the new comint/shell
21721         completion functions.
21722         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21723         pcomplete-seen is non-nil.
21725 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
21727         * calendar/icalendar.el (diary-lib): Add require statement.
21728         (icalendar--create-uid): Read out a uid from a text-property on
21729         the first character in the entry.  This allows for code to add its
21730         own uid to the entry.
21731         (icalendar--convert-float-to-ical): Add export of
21732         `diary-float'-entries save for those with the optional DAY
21733         argument.
21735 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
21737         * subr.el (shell-quote-argument): Use alternate escaping strategy
21738         when we spot a variable reference in a string.
21740 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
21742         * cus-start.el (all): Define customization for debug-on-event.
21744 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
21746         * subr.el (shell-quote-argument): Escape correctly under Windows.
21748 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21750         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21752 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
21754         * net/tramp.el (tramp-process-actions): Add POS argument.
21755         Delete region between POS and (pos).
21757         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21758         Use `nil' position in `tramp-process-actions' call.
21759         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21761         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21762         position in `tramp-process-actions' call.
21764         * net/trampver.el: Update release number.
21766 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21768         * custom.el (defcustom): Obey lexical-binding.
21770         Fix octave-inf completion problems reported by Alexander Klimov.
21771         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21772         Inherit from octave-mode-syntax-table.
21773         (inferior-octave-mode): Set info-lookup-mode.
21774         (inferior-octave-completion-at-point): New function.
21775         (inferior-octave-complete): Use it and completion-in-region.
21776         (inferior-octave-dynamic-complete-functions): Use it as well, and use
21777         comint-filename-completion.
21778         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21779         symbol elements which shouldn't be word elements.
21780         (octave-font-lock-keywords, octave-beginning-of-defun)
21781         (octave-function-header-regexp): Adjust regexps accordingly.
21782         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21784 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
21786         * net/gnutls.el (gnutls-errorp): Declare before first use.
21788 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
21790         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21791         verify-error, and verify-hostname-error parameters.  Check whether
21792         default trustfile exists before going to use it.  Add missing
21793         argument to gnutls-message-maybe call.  Return value.
21794         Reported by Claudio Bley <claudio.bley@gmail.com>.
21795         (open-gnutls-stream): Add usage example.
21797         * net/network-stream.el (network-stream-open-starttls): Give host
21798         parameter to `gnutls-negotiate'.
21799         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
21800         * subr.el (shell-quote-argument): Escape correctly under Windows.
21802 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
21804         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21805         Use correct match group (bug#8438).
21807 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
21809         * emacs-lisp/package.el (package-built-in-p): Fix typo.
21810         (package-menu--generate): New arg specifying packages to show.
21811         (package-menu-refresh, package-menu-execute, list-packages):
21812         Callers changed.
21813         (package-show-package-list): New function, replacing deleted
21814         package--list-packages (renamed because it is non-internal).
21816         * finder.el (finder-list-matches): Use package-show-package-list
21817         instead of deleted package--list-packages.
21819         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21820         Based on a previous implementation by Juanma Barranquero (Bug#8366).
21821         (vc-annotate-mode-map): Bind it to RET.
21823 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
21825         * progmodes/etags.el (next-file): Don't use set-buffer to change
21826         buffers (Bug#8478).
21828 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
21830         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21832         * apropos.el (apropos-label-face): Avoid variable-pitch face.
21833         (apropos-accumulator): Doc fix.
21834         (apropos-function, apropos-macro, apropos-command)
21835         (apropos-variable, apropos-face, apropos-group, apropos-widget)
21836         (apropos-plist): Add face property.
21837         (apropos-symbols-internal): Fix indentation.
21838         (apropos-print): Simplify help, and recognize apropos-multi-type.
21839         (apropos-print-doc): Use button-type-get to extract the button's
21840         face property.  Fill docstring (Bug#8352).
21842 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
21844         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21846         * play/mpuz.el (mpuz-silent): Doc fix.
21847         (mpuz-mode-map): Use mapc.
21848         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21849         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21850         Fix typos in docstrings.
21852         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21853         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21855         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21857 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
21859         * minibuffer.el (completion--do-completion): Avoid the "Next char
21860         not unique" prompt if icomplete-mode is enabled (Bug#5849).
21862         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21863         mouse-2 into unread-command-events, it is interpreted correctly.
21865         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
21866         (image-toggle-display): Doc fix.
21868 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
21870         * textmodes/page.el (what-page): Use line-number-at-pos to
21871         calculate line number (Bug#6825).
21873 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
21875         * eshell/esh-mode.el (find-tag-interactive): Declare function.
21876         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21877         Pass argument NO-DEFAULT to `find-tag-interactive'.
21879 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
21881         Lexical-binding cleanup.
21883         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21884         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21885         * progmodes/ada-prj.el (ada-prj-initialize-values)
21886         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21887         (ada-prj-show-value):
21888         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21889         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21890         (antlr-invalidate-context-cache, antlr-options-menu-filter)
21891         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21892         * progmodes/bug-reference.el (bug-reference-push-button):
21893         * progmodes/fortran.el (fortran-line-length):
21894         * progmodes/glasses.el (glasses-change):
21895         * progmodes/octave-mod.el (octave-fill-paragraph):
21896         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21897         (python-pdbtrack-grub-for-buffer, python-sentinel):
21898         * progmodes/sql.el (sql-save-connection):
21899         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21900         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21901         Mark unused parameters.
21903         * progmodes/compile.el (compilation--flush-directory-cache)
21904         (compilation--flush-parse, compile-internal): Mark unused parameters.
21905         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21906         (compilation-next-error-function): Remove unused variable `timestamp'.
21908         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21909         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21911         * progmodes/dcl-mode.el (dcl-end-of-command):
21912         Remove unused variable `start'.
21913         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21914         (dcl-option-value-basic, dcl-option-value-offset)
21915         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21916         Mark unused parameters.
21917         (dcl-save-local-variable): Remove unused variable `val'.
21918         (mode): Declare.
21920         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21921         Mark unused parameters.
21922         (delphi-ignore-changes): Move before first use.
21923         (delphi-charset-token-at): Remove unused variable `start'.
21924         (delphi-else-start): Remove unused variable `if-count'.
21925         (delphi-comment-block-start, delphi-comment-block-end):
21926         Remove unused variable `kind'.
21927         (delphi-indent-line): Remove unused variable `new-point'.
21929         * progmodes/ebrowse.el (ebrowse-files-list)
21930         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21931         Mark unused parameters.  Don't quote `lambda'.
21932         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21933         Don't quote `lambda'.
21934         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21935         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21936         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21937         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21938         Use `ignore-errors'.
21939         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21940         (ebrowse-view/find-file-and-search-pattern)
21941         (ebrowse-view/find-member-declaration/definition):
21942         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21943         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21944         Rename parameter PREFIX-ARG to PREFIX.
21945         (ebrowse-tags-read-name): Remove unused variables `start' and
21946         `member-info'.
21947         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21948         to `tags-file'.
21950         * progmodes/etags.el (local-find-tag-hook): Declare.
21951         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21952         Mark unused parameters.
21954         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21955         (executable-interpret): Mark unused parameter.
21957         * progmodes/flymake.el (flymake-process-sentinel)
21958         (flymake-after-change-function)
21959         (flymake-create-temp-with-folder-structure)
21960         (flymake-get-include-dirs-dot): Mark unused parameters.
21961         (flymake-safe-delete-directory): Remove unused variable `err'.
21963         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21964         (speedbar-timer-fn, speedbar-line-text)
21965         (speedbar-change-expand-button-char, speedbar-delete-subblock)
21966         (speedbar-center-buffer-smartly): Declare functions.
21967         (gdb-find-watch-expression): Remove unused variable `array'.
21968         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21969         (gdb-starting): Mark unused parameters.
21970         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21971         (gdb-table-string): Remove unused variable `res'.
21972         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21973         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21974         (gdb-display-buffer): Remove unused variable `cur-size'.
21976         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21977         allow lexical-binding compilation.
21978         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21979         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21980         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21981         Mark unused parameters.
21982         (gud-gdb-marker-filter): Remove unused variable `match'.
21983         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21984         lambda expressions and funcall them, instead of using `fset'.
21986         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21987         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21989         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21990         variable `header-beg'; use `let'.
21992         * progmodes/icon.el (indent-icon-exp): Remove unused variables
21993         `restart', `last-sexp' and `at-do'.
21995         * progmodes/js.el (js--debug): Mark unused parameter.
21996         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21997         (js--splice-into-items): Remove unused variable `item'.
21998         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22000         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22001         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22002         (makefile-complete): Remove unused variable `try'.
22003         (makefile-fill-paragraph, makefile-match-function-end):
22004         Mark unused parameters.
22006         * progmodes/octave-inf.el (inferior-octave-complete):
22007         Remove unused variable `proc'.
22008         (inferior-octave-output-digest): Mark unused parameter.
22010         * progmodes/perl-mode.el (perl-calculate-indent):
22011         Remove unused variable `err'.
22013         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22014         (prolog-indent-line): Mark unused parameters.
22015         (prolog-indent-line): Remove unused variable `beg'.
22017         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22018         (reporter-dont-compact-list): Declare.
22020         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22021         Remove unused variable `char'.
22022         (sh-debug): Mark unused parameter.
22023         (sh-get-indent-info): Remove unused variable `start'.
22024         (sh-calculate-indent): Remove unused variable `var'.
22026         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22027         (simula-electric-keyword): Remove unused variable `null'.
22028         (simula-search-backward, simula-search-forward): Remove unused
22029         variables `begin' and `end'.
22031         * progmodes/vera-mode.el (vera-guess-basic-syntax):
22032         Remove unused variable `pos'.
22033         (vera-electric-tab, vera-comment-uncomment-region):
22034         Mark unused parameters.
22035         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22037 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
22039         * emacs-lisp/package.el (package--builtins, package-alist)
22040         (package-load-descriptor, package-built-in-p, package-activate)
22041         (define-package, package-installed-p)
22042         (package-compute-transaction, package-buffer-info)
22043         (package--push): Doc fix.  Distinguish more clearly between
22044         version strings and version lists.
22046 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
22048         Lexical-binding cleanup.
22050         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22051         (5x5-make-mutate-best):
22052         * play/fortune.el (fortune-in-buffer):
22053         * play/gomoku.el (gomoku-init-display):
22054         * play/solitaire.el (solitaire, solitaire-do-check):
22055         * play/tetris.el (tetris-default-update-speed-function):
22056         Mark unused parameters.
22058         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22059         (bubbles--shift): Remove unused variable `char-org'.
22060         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
22061         (bubbles--show-images): Remove unused variable `char'.
22063         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22064         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22065         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22066         (decipher-analyze-buffer): Use ?\s.
22067         (decipher-make-checkpoint): Remove unused variable `mapping'.
22069         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22071         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22072         Remove unused variable `result'; use `let'.
22074         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22075         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22076         (gametree-children-shown-p, gametree-compute-reduced-score):
22077         Use `ignore-errors'.
22079         * play/handwrite.el (ps-lpr-switches): Declare.
22080         (handwrite): Remove unused variables `pmin' and `lastp'.
22082         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22084         * play/landmark.el (landmark-init-display)
22085         (landmark-update-naught-weights): Mark unused parameters.
22086         (landmark-y): Remove unused variable `noise'.  Simplify.
22087         (landmark-human-plays): Remove unused variable `score'.
22089         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22090         (mpuz-try-proposal): Remove unused variable `game'.
22092         * play/zone.el (life-patterns): Declare.
22094 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
22096         * vc/vc.el (ediff-vc-internal): Declare function.
22098 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22100         * shell.el: Use lexical-binding and std completion UI.
22101         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22102         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22103         comint-preoutput-filter-functions rather than on
22104         comint-output-filter-functions.
22105         (shell-command-completion, shell--command-completion-data)
22106         (shell-filename-completion, shell-environment-variable-completion)
22107         (shell-c-a-p-replace-by-expanded-directory): New functions.
22108         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22109         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22110         (shell-dynamic-complete-environment-variable): Use them.
22111         (shell-dynamic-complete-as-environment-variable)
22112         (shell-dynamic-complete-as-command): Remove.
22113         (shell-match-partial-variable): Match past point.
22114         * comint.el: Clean up use of completion-at-point-functions.
22115         (comint-completion-at-point): New function.
22116         (comint-mode): Use it completion-at-point-functions.
22117         (comint-dynamic-complete): Make it obsolete.
22118         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22119         (comint-c-a-p-replace-by-expanded-history): New function.
22120         (comint-dynamic-complete-functions)
22121         (comint-replace-by-expanded-history): Use it.
22122         * minibuffer.el (completion-table-with-terminator): Allow dynamic
22123         termination strings.  Try harder to avoid second try-completion.
22124         (completion-in-region-mode-map): Disable bindings that don't work yet.
22126         * comint.el: Use lexical-binding.  Require CL.
22127         (comint-dynamic-complete-functions): Use comint-filename-completion.
22128         (comint-completion-addsuffix): Tweak custom type.
22129         (comint-filename-completion, comint--common-suffix)
22130         (comint--common-quoted-suffix, comint--table-subvert)
22131         (comint--complete-file-name-data): New functions.
22132         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22133         (comint-dynamic-list-filename-completions): Use them.
22134         (comint-dynamic-simple-complete): Make obsolete.
22136         * minibuffer.el (completion-in-region-mode):
22137         Keep completion-in-region-mode--predicate global.
22138         (completion-in-region--postch):
22139         Assume completion-in-region-mode--predicate is not null.
22141         * progmodes/flymake.el (flymake-start-syntax-check-process):
22142         Obey `dir'.  Simplify.
22144         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22145         we're in VC after all.
22147 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
22149         * vc/vc.el (vc-diff-build-argument-list-internal)
22150         (vc-version-ediff, vc-ediff): New commands.
22151         (vc-version-diff): Use vc-diff-build-argument-list-internal.
22153 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22155         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22156         add sanity check.
22158         * obsolete/erc-hecomplete.el: Make obsolete.
22159         * obsolete/: Standardize obsolescence info in the header.
22161 2011-04-20  Glenn Morris  <rgm@gnu.org>
22163         * calendar/solar.el (solar-horizontal-coordinates):
22164         Use the longitude argument rather than `calendar-longitude'.
22165         (solar-date-next-longitude): Remove unused locals.
22167 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
22169         * whitespace.el: New version 13.2.1.
22171 2011-04-20  felix  <EmacsWiki>  (tiny change)
22173         * whitespace.el (global-whitespace-mode): Keep highlight when
22174         switching between major modes on a file.
22176 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
22178         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22179         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22180         multi-line comments as well.
22182 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
22184         Lexical-binding cleanup.
22186         * arc-mode.el (archive-mode-revert):
22187         * cmuscheme.el (scheme-interactively-start-process):
22188         * custom.el (custom-initialize-delay):
22189         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22190         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22191         * emacs-lock.el (emacs-lock-clear-sentinel):
22192         * ezimage.el (defezimage):
22193         * follow.el (follow-avoid-tail-recenter):
22194         * fringe.el (set-fringe-mode-1):
22195         * generic-x.el (bat-generic-mode-compile):
22196         * help-mode.el (help-info-variable, help-do-xref)
22197         (help-mode-revert-buffer):
22198         * help.el (view-emacs-todo):
22199         * iswitchb.el (iswitchb-completion-help):
22200         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22201         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22202         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22203         * locate.el (locate-update):
22204         * longlines.el (longlines-encode-region)
22205         (longlines-after-change-function):
22206         * outline.el (outline-isearch-open-invisible):
22207         * ps-def.el (declare-function, charset-dimension, char-width)
22208         (encode-char):
22209         * ps-mule.el (ps-mule-plot-string):
22210         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22211         (recentf-edit-list-select, recentf-edit-list-validate)
22212         (recentf-open-files-action):
22213         * rect.el (delete-whitespace-rectangle-line)
22214         (rectangle-number-line-callback):
22215         * register.el (window-configuration-to-register)
22216         (frame-configuration-to-register):
22217         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22218         * select.el (xselect-convert-to-string, xselect-convert-to-length)
22219         (xselect-convert-to-targets, xselect-convert-to-delete)
22220         (xselect-convert-to-filename, xselect-convert-to-charpos)
22221         (xselect-convert-to-lineno, xselect-convert-to-colno)
22222         (xselect-convert-to-os, xselect-convert-to-host)
22223         (xselect-convert-to-user, xselect-convert-to-class)
22224         (xselect-convert-to-name, xselect-convert-to-integer)
22225         (xselect-convert-to-atom, xselect-convert-to-identity):
22226         * subr.el (declare, ignore, process-kill-without-query)
22227         (text-clone-maintain):
22228         * terminal.el (te-get-char, te-tic-sentinel):
22229         * tool-bar.el (tool-bar-make-keymap):
22230         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22231         * type-break.el (type-break-mode, type-break-noninteractive-query):
22232         * view.el (View-back-to-mark):
22233         * wid-browse.el (widget-browse-action, widget-browse-widget)
22234         (widget-browse-widgets, widget-browse-sexp):
22235         * widget.el (define-widget-keywords):
22236         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22237         Mark unused parameters.
22239         * align.el (align-adjust-col-for-rule): Mark unused parameter.
22240         (align-areas): Remove unused variable `look'.
22241         (align-region): Remove unused variables `real-end' and `pos-list'.
22243         * apropos.el (apropos-score-doc): Remove unused variable `i'.
22245         * bindings.el (mode-line-modified, mode-line-remote):
22246         Mark unused parameters.
22247         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22249         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22250         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22252         * comint.el (comint-history-isearch-pop-state)
22253         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22254         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22255         (comint-substitute-in-file-name): Doc fix.
22257         * completion.el (cmpl-statistics-block): Mark unused parameter.
22258         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22259         (save-completions-to-file, load-completions-from-file):
22260         Remove unused local variable `e'.
22262         * composite.el (compose-chars): Remove unused variable `len'.
22263         (lgstring-insert-glyph): Remove unused variable `g'.
22264         (compose-glyph-string): Remove unused variables `ascent',
22265         `descent', `lbearing' and `rbearing'.
22266         (compose-glyph-string-relative): Remove unused variables
22267         `lbearing', `rbearing' and `wadjust'.
22268         (compose-gstring-for-graphic): Remove unused variables `header',
22269         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
22270         (compose-gstring-for-terminal): Remove unused variables `header'
22271         and `nchars'.  Use `let', not `let*'.
22273         * cus-edit.el (Custom-set, Custom-save, custom-reset)
22274         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22275         (Custom-buffer-done, custom-buffer-create-internal)
22276         (custom-browse-visibility-action, custom-browse-group-tag-action)
22277         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22278         (widget-magic-mouse-down-action, custom-toggle-parent)
22279         (custom-add-parent-links, custom-toggle-hide-variable)
22280         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22281         (custom-toggle-hide-face, face, hook, custom-group-link-action)
22282         (custom-face-menu-create, custom-variable-menu-create, get)
22283         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22284         (custom-reset-standard-save-and-update): Remove unused variable `value'.
22285         (customize-apropos): Remove unused variable `tests'.
22286         (custom-group-value-create): Remove unused variable `hidden-p'.
22287         (sort-fold-case): Declare.
22289         * cus-theme.el (custom-reset-standard-faces-list)
22290         (custom-reset-standard-variables-list): Declare.
22291         (customize-create-theme, custom-theme-revert, custom-theme-write)
22292         (custom-theme-choose-mode, customize-themes, custom-theme-save):
22293         Mark unused parameters.
22295         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22297         * delim-col.el (delimit-columns-max): Move defvar before first use.
22299         * descr-text.el (describe-char-categories): Don't quote `lambda'.
22300         (describe-char): Don't quote `lambda'.  Mark unused parameter.
22302         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22303         (auto-insert): Declare.
22304         (desktop-restore-file-buffer): Rename desktop-* parameters;
22305         mark unused ones.
22306         (desktop-create-buffer): Rename desktop-* parameters and bind them.
22307         (desktop-buffer): Rename desktop-* parameters.
22309         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22310         (dframe-reposition-frame-xemacs, dframe-help-echo)
22311         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22312         Mark unused parameters.
22314         * dired-aux.el (backup-extract-version-start, overwrite-query)
22315         (overwrite-backup-query, rename-regexp-query)
22316         (rename-non-directory-query): Declare.
22317         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22318         (dired-add-entry): Remove unused variable `orig-file-name'.
22319         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22320         Use parameter PRESERVE-TIME instead of accessing dynamic variable
22321         `dired-copy-preserve-time' directly.
22322         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22323         (dired-insert-subdir-newpos): Rename unused variable `pos'.
22325         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22326         (dired-virtual-revert, dired-make-relative-symlink):
22327         Mark unused parameters.
22328         (manual-program): Declare.
22329         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22330         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22331         wrapped in `with-no-warnings' to avoid replacing one warning by another.
22333         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22335         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22337         * echistory.el (electric-history-in-progress, Helper-return-blurb):
22338         Declare.
22340         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22342         * electric.el (Electric-command-loop): Rename parameter
22343         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22345         * expand.el (expand-in-literal): Remove unused variable `here'.
22347         * facemenu.el (facemenu-add-new-color):
22348         Remove unused variable `docstring'.
22350         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22351         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22352         (face-attr-construct): Mark unused parameter.  Doc fix.
22353         (read-color): Remove unused variable `hex-string'.
22355         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22356         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22357         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22358         (display-buffer-other-frame): Remove unused variable `old-window'.
22359         (kill-buffer-hook): Declare.
22360         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22361         Mark unused parameters.
22362         (after-find-file): Pass 1 to `auto-save-mode', not t.
22364         * files-x.el (auto-insert): Declare.
22365         (modify-file-local-variable-prop-line): Remove unused variable `val'.
22367         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22368         variable `buf'.  Mark unused parameter.
22369         (find-lisp-insert-directory): Mark unused parameter.
22371         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22372         (format-encode-region): Remove unused variables `cur-buf' and `result'.
22373         (format-common-tail): Remove, unused.
22374         (format-deannotate-region): Remove unused variable `loc'.
22375         (format-annotate-region): Remove unused variable `p'.
22376         (format-annotate-single-property-change): Remove unused variables
22377         `default' and `tail'.
22379         * forms.el (read-file-filter): Declare.
22380         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22382         * frame.el (frame-creation-function-alist): Mark unused parameter.
22383         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22385         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22386         Remove unused parameters.
22387         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22388         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22390         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22391         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22392         (hfy-prepare-tag-map): Mark unused parameters.
22393         (htmlfontify-buffer): Use `called-interactively-p'.
22395         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22396         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22397         (ibuffer-do-occur): Mark unused parameters.
22398         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22399         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22401         * ibuffer.el: Don't quote `lambda'.
22402         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22403         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22404         Mark unused parameters.
22406         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22407         (ido-completing-read): Mark unused parameters.
22408         (ido-copy-current-word): Mark unused parameters;
22409         remove unused variable `name'.
22410         (ido-sort-merged-list): Remove unused parameter `dirs'.
22412         * ielm.el (ielm-input-sender): Mark unused parameter.
22413         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22414         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22415         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22416         `ielm-string' as a dynamic variable accessible from the IELM prompt.
22417         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
22419         * image-dired.el (image-dired-display-thumbs): Remove unused
22420         variables `curr-file' and `count'.
22421         (image-dired-remove-tag): Remove unused variable `start'.
22422         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22423         variable `curr-file'
22424         (image-dired-rotate-original): Remove unused variable `temp-file'.
22425         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22426         Remove unused variable `file'.
22427         (image-dired-gallery-generate): Remove unused variable `curr'.
22428         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22430         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22432         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22434         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22436         * isearch.el (minibuffer-history-symbol): Declare.
22437         (isearch-edit-string): Remove unused variable `err'.
22438         (isearch-message-prefix, isearch-message-suffix):
22439         Mark unused parameters.
22441         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22443         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22445         * makesum.el (double-column): Remove unused variable `cnt'.
22447         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22448         (ido-ignore-item-temp-list): Declare.
22450         * mouse-drag.el (mouse-drag-throw): Remove unused variables
22451         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22452         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22453         (mouse-drag-drag): Remove unused variables `mouse-delta' and
22454         `mouse-col-delta'.
22456         * mouse-sel.el (mouse-extend-internal):
22457         Remove unused variable `orig-window-frame'.
22459         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22460         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22461         Move declarations before first use.
22462         (pcomplete-opt): Mark unused parameters; doc fix.
22464         * proced.el (proced-revert): Mark unused parameter.
22465         (proced-send-signal): Remove unused variable `err'.
22467         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22468         Rename parameter PREFIX-ARG to ARG.
22469         (ps-basic-plot-string, ps-basic-plot-whitespace):
22470         Mark unused parameters.
22472         * replace.el (replace-count): Define.
22473         (occur-revert-function): Mark unused parameters.
22474         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22475         (isearch-case-fold-search, isearch-string): Declare.
22476         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22477         bind `case-fold-search'.  Remove unused variables `beg' and `end',
22478         and simplify.
22479         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22480         COUNT and bind `replace-count'.
22481         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22482         to COUNT.
22484         * savehist.el (print-readably, print-string-length): Declare.
22486         * shadowfile.el (shadow-expand-cluster-in-file-name):
22487         Remove unused variable `cluster'.
22488         (shadow-copy-file): Remove unused variable `i'.
22489         (shadow-noquery, shadow-clusters, shadow-site-cluster)
22490         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22491         (shadow-define-literal-group, shadow-define-regexp-group)
22492         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22494         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22495         (shell): Use `called-interactively-p'.
22496         (shell-directory-tracker): Remove unused variable `chdir-failure'.
22498         * simple.el (compilation-context-lines, comint-file-name-quote-list)
22499         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22500         (delete-backward-char): Remove unused variable `ocol'.
22501         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22502         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22503         (event-apply-hyper-modifier, event-apply-shift-modifier)
22504         (event-apply-control-modifier, event-apply-meta-modifier):
22505         Mark unused parameters.
22506         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22507         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22509         * speedbar.el (speedbar-ignored-directory-expressions)
22510         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22511         (speedbar-find-file, speedbar-dir-follow)
22512         (speedbar-directory-buttons-follow, speedbar-tag-find)
22513         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22514         (speedbar-buffers-line-directory, speedbar-buffer-click):
22515         Mark unused parameters.
22516         (speedbar-tag-file): Remove unused variable `mode'.
22517         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22519         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22521         * talk.el (talk): Remove unused variable `display'.
22523         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22524         (tar-write-region-annotate): Mark unused parameter.
22526         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22527         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22528         Declare them, wrapped in `with-no-warnings' to avoid replacing one
22529         warning by another.
22531         * time-stamp.el (time-stamp-string-preprocess):
22532         Remove unused variable `require-padding'.
22534         * tree-widget.el (widget-glyph-enable): Declare.
22535         (tree-widget-action): Mark unused parameter.
22537         * w32-fns.el (x-get-selection): Mark unused parameter.
22538         (autoload-make-program, generated-autoload-file): Declare.
22540         * wdired.el (wdired-revert): Mark unused parameters.
22541         (wdired-xcase-word): Remove unused variable `err'.
22543         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22544         (whitespace-help-scroll): Remove unused variable `data-help'.
22546         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22547         (widget-image-insert, widget-after-change, default)
22548         (widget-default-format-handler, widget-default-notify)
22549         (widget-default-prompt-value, widget-info-link-action)
22550         (widget-url-link-action, widget-function-link-action)
22551         (widget-variable-link-action, widget-file-link-action)
22552         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22553         (widget-field-prompt-internal, widget-field-action, widget-field-match)
22554         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22555         (widget-insert-button-action, widget-delete-button-action, visibility)
22556         (widget-documentation-link-action, widget-documentation-string-action)
22557         (widget-const-prompt-value, widget-regexp-match, symbol)
22558         (widget-coding-system-prompt-value)
22559         (widget-key-sequence-value-to-external, sexp)
22560         (widget-sexp-value-to-internal, character, vector, cons)
22561         (widget-choice-prompt-value, widget-boolean-prompt-value)
22562         (widget-color--choose-action): Mark unused parameters.
22563         (widget-item-match-inline, widget-choice-match-inline)
22564         (widget-checklist-match, widget-checklist-match-inline)
22565         (widget-group-match): Rename parameter VALUES to VALS.
22566         (widget-field-value-set): Remove unused variable `size'.
22567         (widget-color-action): Remove unused variables `value' and `start'.
22569         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
22570         variable `dir'.  Doc fix.
22571         (windmove-find-other-window): Don't pass it.
22573         * window.el (count-windows): Mark unused parameter.
22574         (bw-adjust-window): Remove unused variable `err'.
22576         * woman.el (woman-file-name): Remove unused variable `default'.
22577         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22578         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22579         (global-font-lock-mode): Declare.
22580         (woman-decode-region): Mark unused parameter.
22581         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22583         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22584         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22585         (x-dnd-handle-moz-url): Remove unused variable `title'.
22586         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22588         * xml.el (xml-parse-tag, xml-parse-attlist):
22589         Remove unused variable `pos'.
22591 2011-04-19  Glenn Morris  <rgm@gnu.org>
22593         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22594         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22595         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22596         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22597         * calendar/cal-html.el (cal-html-insert-minical):
22598         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22599         (calendar-mark-date-pattern):
22600         Prefix "unused" locals.
22602         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22603         optional argument `style'.
22605         * calendar/appt.el (appt-make-list):
22606         * calendar/cal-china.el (calendar-chinese-date-string):
22607         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22608         (diary-hebrew-yahrzeit):
22609         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22610         * calendar/calendar.el (calendar-generate-window):
22611         * calendar/time-date.el (time-to-days):
22612         Remove unused local variables.
22614 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
22616         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22617         glyphless-char-display table.
22618         (tabulated-list-glyphless-char-display): New var.
22620 2011-04-18  Sam Steingold  <sds@gnu.org>
22622         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22623         to acknowledgments.
22625 2011-04-17  Glenn Morris  <rgm@gnu.org>
22627         * calendar/diary-lib.el (diary-sexp-entry):
22628         * calendar/holidays.el (holiday-sexp):
22629         Set debug-on-error rather than the removed stack-trace-on-error.
22631 2011-04-16  Glenn Morris  <rgm@gnu.org>
22633         * progmodes/f90.el: Use lexical-binding.
22634         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22636 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22638         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22639         (mail-mode): Setup mailalias completion here instead.
22640         * mail/mailalias.el: Use lexical-binding.
22641         (pattern, mailalias-done): Declare dynamic.
22642         (mail-completion-at-point-function): New function, from mail-complete.
22643         (mail-complete): Use it.
22644         (mail-completion-expand): New function.
22645         (mail-get-names): Use it.
22646         (mail-directory, mail-directory-process, mail-directory-stream):
22647         Don't use `pattern' for lexically bound arg.
22649         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22651         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22652         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22653         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22655         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22656         (byte-save-window-excursion, byte-temp-output-buffer-setup)
22657         (byte-interactive-p): Define them again, for use when inlining
22658         old code.
22660 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
22662         * loadup.el: Use `string-to-number', not `string-to-int'.
22664 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22666         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22667         gud-gdb-complete-command.
22668         (gud-gdb-completions): New function, from gud-gdb-complete-command.
22669         (gud-gdb-completion-at-point): New function.
22670         (gud-gdb-completions): Remove.
22672 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
22674         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22675         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
22676         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22677         whether `executable-find' is bound.
22679         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22681 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22683         * minibuffer.el (completion-in-region-mode-predicate)
22684         (completion-in-region-mode--predicate): New vars.
22685         (completion-in-region, completion-in-region--postch)
22686         (completion-in-region-mode): Use them.
22687         (completion--capf-wrapper): Also return the hook function.
22688         (completion-at-point, completion-help-at-point):
22689         Adjust and provide a predicate.
22691         Preserve arg names for advice of subr and lexical functions (bug#8457).
22692         * help-fns.el (help-function-arglist): Consolidate the subr and
22693         new-byte-code cases.  Add argument `preserve-names' to extract names
22694         from the docstring when needed.
22695         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22696         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22697         (ad-arglist): Use help-function-arglist's new arg.
22698         (ad-definition-type): Use cond.
22700 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
22702         * autorevert.el (auto-revert-handler):
22703         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22704         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22705         Don't quote lambda.
22707         * image-mode.el (image-transform-set-scale):
22708         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22710 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22712         * net/network-stream.el (network-stream-open-starttls): Only do
22713         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
22714         Upgrades via gnutls-cli are too slow to be done opportunistically.
22716 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
22718         * dframe.el (dframe-current-frame): Remove spurious quote.
22720 2011-04-12  Glenn Morris  <rgm@gnu.org>
22722         * calendar/cal-tex.el (cal-tex-end-document):
22723         Try to automatically use latin1 input if needed.
22725         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22726         Don't try to cons a mark onto an empty element.
22728 2011-04-11  Leo Liu  <sdl.web@gmail.com>
22730         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22731         buffers.
22732         (ido-kill-buffer-at-head): Support killing virtual buffers.
22734 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
22736         * minibuffer.el (completion-show-inline-help): New var.
22737         (completion--do-completion, minibuffer-complete)
22738         (minibuffer-force-complete, minibuffer-complete-word):
22739         Inhibit minibuffer messages if completion-show-inline-help is nil.
22741         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22742         to avoid interference from inline help (Bug#5849).
22744 2011-04-10  Leo Liu  <sdl.web@gmail.com>
22746         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22747         Fix typo.
22749 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
22751         * image-mode.el (image-toggle-display-image): Signal an error if
22752         not in Image mode.
22753         (image-transform-mode, image-transform-resize)
22754         (image-transform-set-rotation): Doc fix.
22755         (image-transform-set-resize): Delete.
22756         (image-transform-set-scale, image-transform-fit-to-height)
22757         (image-transform-fit-to-width): Handle image-toggle-display-image
22758         and image-transform-resize directly.
22760 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
22762         * doc-view.el (doc-view-fit-width-to-window)
22763         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22764         New functions for fitting the shown image to the Emacs window size.
22765         (doc-view-mode-map): Add bindings for the new functions.
22767 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
22769         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
22770         Fix typo in docstring.
22772 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
22774         * files.el (file-size-human-readable): Produce one digit after
22775         decimal, like "ls -lh" does.
22777         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22778         the file size representation.
22780         * simple.el (list-processes): If async subprocesses are not
22781         available, error out with a clear error message.
22783 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
22785         * help.el (help-form-show): New function, to be called from C.
22786         Put help-form output in a buffer named differently than *Help*.
22788 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
22790         * files.el (file-size-human-readable): New function.
22792         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22793         computing the representation inline.  Don't require `cl'.
22795 2011-04-08  Glenn Morris  <rgm@gnu.org>
22797         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22799         * net/browse-url.el (browse-url-firefox):
22800         Test system-type, not system-configuration.
22802         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22803         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22804         Use log-edit-empty-buffer-p.  (Bug#7598)
22806         * net/rlogin.el (rlogin-process-connection-type): Simplify.
22807         (rlogin-mode-map): Initialize in the defvar.
22808         (rlogin): Use ignore-errors.
22810         * replace.el (occur-mode-map): Some fixes for menu items.
22812 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
22814         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
22816 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
22818         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22819         issuing unused warnings.
22821         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22822         macro directly.
22824         * simple.el: Lisp reimplement of list-processes.  Based on an
22825         earlier reimplementation by Leo Liu, but using tabulated-list.el.
22826         (process-menu-mode): New major mode.
22827         (list-processes--refresh, list-processes):
22828         (process-menu-visit-buffer): New functions.
22830         * files.el (save-buffers-kill-emacs): Don't assume any return
22831         value of list-processes, which is undocumented anyway.
22833 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
22835         * emacs-lisp/tabulated-list.el: New file.
22837         * emacs-lisp/package.el: Use Tabulated List mode.
22838         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22839         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
22840         table format using Tabulated List mode variables.
22841         (package--push): New macro, replacing package-list-maybe-add.
22842         (package-menu--generate): Use package--push.  Renamed from
22843         package--generate-package-list.
22844         (package-menu-refresh, list-packages): Use it.
22845         (package-menu--print-info): Rename from package-print-package.
22846         Return insertion data instead of inserting it directly.
22847         (package-menu-describe-package, package-menu-execute):
22848         Use tabulated-list-get-id.
22849         (package-menu-mark-delete, package-menu-mark-install)
22850         (package-menu-mark-unmark, package-menu-backup-unmark)
22851         (package-menu-mark-obsolete-for-deletion):
22852         Use tabulated-list-put-tag.
22853         (package--list-packages, package-menu-revert)
22854         (package-menu-get-package, package-menu-get-version)
22855         (package-menu-sort-by-column): Functions deleted.
22856         (package-menu-package-list, package-menu-sort-key): Vars deleted.
22857         (package-menu--status-predicate, package-menu--version-predicate)
22858         (package-menu--name-predicate)
22859         (package-menu--description-predicate): Handle arguments in the
22860         Tabulated List format.
22861         (package-list-packages-no-fetch): Call list-packages.
22863 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
22865         * files.el (after-find-file-from-revert-buffer): Remove variable.
22866         (after-find-file): Don't bind it.
22867         (revert-buffer-in-progress-p): New variable.
22868         (revert-buffer): Bind it.
22869         Pass nil for `after-find-file-from-revert-buffer'.
22871         * saveplace.el (save-place-find-file-hook): Use new variable
22872         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22874 2011-04-06  Glenn Morris  <rgm@gnu.org>
22876         * Makefile.in (AUTOGEN_VCS): New variable.
22877         (autoloads): Use $AUTOGEN_VCS.
22879         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22880         * calendar/calendar.el (calendar-mode-map):
22881         Check for toolkit scroll bars.  (Bug#8305)
22883 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
22885         * minibuffer.el (completion-in-region--postch)
22886         (completion-in-region-mode): Remove unnecessary messages.
22888 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
22890         * font-lock.el (font-lock-refresh-defaults):
22891         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22892         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22894         * info.el (Info-directory-list, Info-read-node-name-2)
22895         (Info-split-parameter-string): Doc fixes.
22896         (Info-virtual-nodes): Reflow docstring.
22897         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22898         (Info-apropos-toc-nodes, info-finder, Info-get-token)
22899         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22900         Fix typos in docstrings.
22901         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22902         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22903         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22904         (Info-restore-desktop-buffer): Mark unused parameters.
22905         (Info-directory-find-file, Info-directory-find-node)
22906         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22907         (Info-virtual-index-find-node, Info-apropos-find-file)
22908         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
22909         Mark unused parameters; fix typos in docstrings.
22910         (Info-virtual-index): Remove unused local variable `nodename'.
22912 2011-04-05  Deniz Dogan  <deniz@dogan.se>
22914         * net/rcirc.el: Update my e-mail address.
22915         (rcirc-mode-map): Remove M-o binding.
22917 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
22919         * startup.el (command-line): Save the cursor's theme-face
22920         directly, instead of using face-override-spec.
22922         * custom.el (load-theme): Minor optimization in assigning faces.
22924 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
22926         * help-fns.el (describe-variable): Complete all variables having
22927         documentation, including keywords.
22928         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22930 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
22932         Convert to lexical-binding.
22934         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22935         (bs--get-marked-string, bs--get-modified-string)
22936         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22937         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22938         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22940         * ehelp.el (electric-help-execute-extended)
22941         (electric-help-ctrl-x-prefix):
22942         * hexl.el (hexl-revert-buffer-function):
22943         * linum.el (linum-after-change, linum-after-scroll):
22944         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22946         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22948 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
22950         * epa-dired.el:
22951         * epa-mail.el:
22952         * epa-hook.el:
22953         * epa-file.el:
22954         * epa.el:
22955         * epg.el: Use lexical binding.
22957 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
22959         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22961         * textmodes/flyspell.el (flyspell-word): Recognize default
22962         dictionary case for flyspell-mark-duplications-exceptions.
22963         Use regexp matching for languages.
22964         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22965         default dictionary (Bug#7926).
22967 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
22969         * emacs-lisp/package.el (package--with-work-buffer):
22970         Recognize https URLs.
22972         * net/network-stream.el: Move from gnus/proto-stream.el.
22973         Change prefix to network-stream throughout.
22974         (open-protocol-stream): Merge into open-network-stream, leaving
22975         open-protocol-stream as an alias.  Handle nil BUFFER args.
22977         * subr.el (open-network-stream): Move to net/network-stream.el.
22979 2011-04-02  Glenn Morris  <rgm@gnu.org>
22981         * find-dired.el (find-exec-terminator): New option.
22982         (find-ls-option): Test for -ls support.
22983         (find-ls-subdir-switches): Test for -b in find-ls-option.
22984         (find-dired, find-grep-dired): Doc fixes.
22985         (find-dired): Use find-exec-terminator.
22987         * find-dired.el (find-ls-option, find-ls-subdir-switches)
22988         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22989         (find-name-arg): Remove purecopy.
22991         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22992         (grep-compute-defaults): Check for `-exec COMMAND +' support.
22993         Set grep-find-use-xargs, grep-find-command, and grep-find-template
22994         accordingly.  Don't add the null-device if not needed.
22996         * files.el (save-some-buffers): Doc fix.
22998 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
23000         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23002 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
23004         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23005         Use `dolist' rather than `mapcar'.
23007 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
23009         Add lexical binding.
23011         * subr.el (apply-partially): Use new closures rather than CL.
23012         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23013         (dolist, dotimes): Use slightly different expansion for lexical code.
23014         (functionp): Move to C.
23015         (letrec): New macro.
23016         (with-wrapper-hook): Use it and apply-partially instead of CL.
23017         (eval-after-load): Preserve lexical-binding.
23018         (save-window-excursion, with-output-to-temp-buffer): Turn them
23019         into macros.
23021         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23023         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23024         than the arglist.
23025         (help-add-fundoc-usage): Don't add `Not documented'.
23026         (help-function-arglist): Handle closures, subroutines, and new
23027         byte-code-functions.
23028         (help-make-usage): Remove leading underscores.
23029         (describe-function-1): Handle closures.
23030         (describe-variable): Use special-variable-p for completion.
23032         * files.el (lexical-binding): Declare safe.
23034         * emacs-lisp/pcase.el: Don't use destructuring-bind.
23035         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
23036         (pcase): Add `let' pattern.
23037         Change memoization so it actually works.
23038         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23039         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23040         <let>: New case.
23042         * emacs-lisp/macroexp.el: Use lexical binding.
23043         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
23044         Don't convert ' to #' without checking that it's indeed quoting
23045         a lambda.
23047         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23048         Use eval-sexp-add-defvars.
23049         (eval-sexp-add-defvars): New fun.
23051         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23053         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23054         Don't autoload.
23055         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23056         than the internal `byte-compile-lambda'.
23057         (defmethod): Don't hide code under quotes.
23058         (eieio-defmethod): New `code' argument.
23060         * emacs-lisp/eieio-comp.el: Remove.
23062         * emacs-lisp/edebug.el (edebug-eval-defun)
23063         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23064         (edebug-toggle): Avoid `eval'.
23066         * emacs-lisp/disass.el (disassemble-internal): Handle new
23067         `closure' objects.
23068         (disassemble-1): Handle new byte codes.
23070         * emacs-lisp/cl.el (pushnew): Silence warning.
23072         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23073         (cl-byte-compile-throw): Remove.
23074         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23076         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23077         closures.
23079         * emacs-lisp/cconv.el: New file.
23081         * emacs-lisp/bytecomp.el: Use lexical binding instead of
23082         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
23083         (byte-compile-initial-macro-environment):
23084         Handle declare-function here.
23085         (byte-compile--lexical-environment): New var.
23086         (byte-stack-ref, byte-stack-set, byte-discardN)
23087         (byte-discardN-preserve-tos): New lap codes.
23088         (byte-interactive-p): Don't use any more.
23089         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23090         New macros.
23091         (byte-compile-lapcode): Use them and handle new lap codes.
23092         (byte-compile-obsolete): Remove.
23093         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23094         (byte-compile-arglist-warn): Check late def of inlinable funs.
23095         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23096         since they should have been expanded by now.
23097         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23098         (byte-compile-from-buffer): Remove unused second arg.
23099         (byte-compile-preprocess): New function.
23100         (byte-compile-toplevel-file-form): New function to distinguish
23101         file-form calls from outside from file-form calls from hunk-handlers.
23102         (byte-compile-file-form): Simplify.
23103         (byte-compile-file-form-defsubst): Remove.
23104         (byte-compile-file-form-defmumble): Simplify now that
23105         byte-compile-lambda always returns a byte-code-function.
23106         (byte-compile): Preprocess.
23107         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23108         Remove, not used any more.
23109         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23110         (byte-compile-make-args-desc): New funs.
23111         (byte-compile-lambda): Handle lexical functions.  Always return
23112         a byte-code-function.
23113         (byte-compile-reserved-constants): New var, to make up room for
23114         closed-over variables.
23115         (byte-compile-constants-vector): Obey it.
23116         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23117         (byte-compile-macroexpand-declare-function): New function.
23118         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23119         byte-code-functions.
23120         (byte-compile-form): Check obsolescence here.
23121         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23122         (byte-compile-variable-ref): Remove.
23123         (byte-compile-dynamic-variable-op): New fun.
23124         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23125         (byte-compile-variable-set): New funs.
23126         (byte-compile-discard): Add 2 args.
23127         (byte-compile-stack-ref, byte-compile-stack-set)
23128         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23129         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23130         macroexpand-all instead.
23131         (byte-compile-quote-form): Remove.
23132         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23133         (byte-compile-bind, byte-compile-unbind): New funs.
23134         (byte-compile-let): Handle let* and lexical binding.
23135         (byte-compile-let*): Remove.
23136         (byte-compile-catch, byte-compile-unwind-protect)
23137         (byte-compile-track-mouse, byte-compile-condition-case):
23138         Handle a new :fun-body form, used for lexical scoping.
23139         (byte-compile-save-window-excursion)
23140         (byte-compile-with-output-to-temp-buffer): Remove.
23141         (byte-compile-defun): Simplify.
23142         (byte-compile-stack-adjustment): New fun.
23143         (byte-compile-out): Use it.
23144         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23146         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23147         handler any more.
23149         * emacs-lisp/byte-opt.el: Use lexical binding.
23150         (byte-inline-lapcode): Remove (to bytecomp).
23151         (byte-compile-inline-expand): Pay attention to inlining to/from
23152         lexically bound code.
23153         (byte-compile-unfold-lambda): Don't handle byte-code-functions
23154         any more.
23155         (byte-optimize-form-code-walker): Don't handle save-window-excursion
23156         any more and don't call compiler-macros.
23157         (byte-compile-splice-in-already-compiled-code): Remove.
23158         (byte-code): Don't inline any more.
23159         (disassemble-offset): Receive `bytes' as argument rather than via
23160         dynamic scoping.
23161         (byte-compile-tag-number): Declare before first use.
23162         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23163         `return' even if make-spliceable.
23164         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23165         obsolete interactive-p.
23166         (byte-optimize-lapcode): Optimize new lap-codes.
23167         Don't trip up on new form of `byte-constant' lap code.
23169         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23171         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23173         * custom.el (custom-initialize-default, custom-declare-variable):
23174         Use `defvar'.
23176         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23177         New variables.
23178         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23179         (COMPILE_FIRST): Add macroexp and cconv.
23180         * makefile.w32-in: Mirror changes in Makefile.in.
23182         * vc/cvs-status.el:
23183         * vc/diff-mode.el:
23184         * vc/log-edit.el:
23185         * vc/log-view.el:
23186         * vc/smerge-mode.el:
23187         * textmodes/bibtex-style.el:
23188         * textmodes/css-mode.el:
23189         * startup.el:
23190         * uniquify.el:
23191         * minibuffer.el:
23192         * newcomment.el:
23193         * reveal.el:
23194         * server.el:
23195         * mpc.el:
23196         * emacs-lisp/smie.el:
23197         * doc-view.el:
23198         * dired.el:
23199         * abbrev.el: Use lexical binding.
23201 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
23203         * info.el (info-display-manual): New function.
23205 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
23207         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23209 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
23211         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23212         an entry for that server in rcirc-authinfo.  (Bug#8385)
23214 2011-03-31  Glenn Morris  <rgm@gnu.org>
23216         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23218         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23220 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
23222         * progmodes/python.el (python-default-interpreter)
23223         (python-python-command-args, python-jython-command-args)
23224         (python-which-shell, python-which-args, python-which-bufname)
23225         (python-file-queue, python-comint-output-filter-function)
23226         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23227         variables and functions.
23229 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
23231         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23232         (completion-in-region-mode): New minor mode.
23233         (completion-in-region): Use it.
23234         (completion-in-region--data, completion-in-region-mode-map): New vars.
23235         (completion-in-region--postch): New function.
23236         (completion--capf-misbehave-funs, completion--capf-safe-funs):
23237         New vars.
23238         (completion--capf-wrapper): New function.
23239         (completion-at-point): Use it to track well-behavedness of
23240         hook functions.
23241         (completion-help-at-point): New command.
23243 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
23245         * vc/add-log.el (add-change-log-entry): Don't use whitespace
23246         syntax class to search for whitespace on a single line
23247         (Message-ID: <4D938140.4030905@redhat.com>).
23249 2011-03-30  Leo Liu  <sdl.web@gmail.com>
23251         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23252         New commands.
23253         (edit-abbrevs-map): Bind them here.
23254         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
23256 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
23258         * allout.el (allout-hide-by-annotation, allout-flag-region):
23259         Reduce possibility of overlay leakage by making them volatile.
23261         * allout-widgets.el (allout-widgets-tally): Define as nil so the
23262         hash is not shared between buffers.  Mode initialization is
23263         responsible for giving it a useful starting value.
23264         (allout-item-span): Reduce possibility of overlay leakage by
23265         making them volatile.
23266         (allout-widgets-count-buttons-in-region): Add diagnostic function
23267         for tracking down button overlay leaks.
23269 2011-03-29  Leo Liu  <sdl.web@gmail.com>
23271         * ido.el (ido-read-internal): Use the default history var
23272         minibuffer-history if no HISTORY is specified.
23274 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
23276         * net/imap.el (imap-shell-open, imap-process-connection-type):
23277         Use imap-process-connection-type for 'shell' streams as well as
23278         Kerberos, SSL, other subprocesses.
23280 2011-03-28  Leo Liu  <sdl.web@gmail.com>
23282         * abbrev.el (abbrev-table-empty-p): New function.
23283         (prepare-abbrev-list-buffer): Place empty abbrev tables after
23284         nonempty ones.  (Bug#5937)
23286 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
23288         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23290 2011-03-27  Leo Liu  <sdl.web@gmail.com>
23292         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23293         for foreground and background colors.
23294         (ansi-color-make-color-map): Adapt.
23296 2011-03-25  Leo Liu  <sdl.web@gmail.com>
23298         * midnight.el (midnight-time-float): Remove.  Note it calculates
23299         the microsecond component incorrectly and seconds-to-time does the
23300         same job.
23301         Remove redundant (require 'timer).
23303         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23304         (ido-completions): Remove unused arguments.  (Bug#8329)
23306 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
23308         * minibuffer.el (completion--flush-all-sorted-completions):
23309         Remove itself from hook.
23310         (completion-at-point): Let the functions perform the completion
23311         immediately and return nil or t.
23312         * comint.el (comint-dynamic-complete-functions): Now identical to
23313         completion-at-point-functions.
23314         (comint-dynamic-list-input-ring): Remove unused var `index'.
23315         (comint--match-partial-filename, comint--unquote&expand-filename):
23316         New funs, split from comint-match-partial-filename.
23317         (comint-dynamic-complete): Use completion-at-point.
23318         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23320 2011-03-24  Drew Adams  <drew.adams@oracle.com>
23322         * thingatpt.el: Support `defun'.
23324 2011-03-23  Leo Liu  <sdl.web@gmail.com>
23326         * abbrevlist.el: Move to obsolete/abbrevlist.el.
23328         * help-mode.el (help-mode-finish): Tweak regexp.
23330 2011-03-23  Glenn Morris  <rgm@gnu.org>
23332         * eshell/esh-opt.el (eshell-eval-using-options):
23333         Do not bind unused local variable `eshell-option-stub'.
23335         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23337 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
23339         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23340         keymap variable in `with-no-warnings' to avoid a warning when the
23341         keymap has been already `defconst'ed.
23343 2011-03-22  Leo Liu  <sdl.web@gmail.com>
23345         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23346         encode all chars in abbrevs; otherwise use emacs-mule or
23347         utf-8-emacs.  (Bug#8308)
23349 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
23351         * simple.el (backward-delete-char-untabify):
23352         Avoid warning about using `delete-backward-char'.
23354         * image.el (image-type-file-name-regexps): Make it variable.
23355         `imagemagick-register-types' modifies it, and the user may want
23356         to add new extensions for known image types.
23357         (imagemagick-register-types): Throw error if not using ImageMagick.
23359 2011-03-22  Leo Liu  <sdl.web@gmail.com>
23361         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23362         located before rcirc-prompt-end-marker.
23363         (rcirc-complete): Error if point is not after rcirc prompt.
23364         Handle the case when table is nil.
23365         (rcirc-user-authenticated): Define to fix compiler warning.
23367 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
23369         * custom.el (custom--inhibit-theme-enable): Make it affect only
23370         custom-theme-set-variables and custom-theme-set-faces.
23371         (provide-theme): Ignore custom--inhibit-theme-enable.
23372         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23373         (custom-enabling-themes): Delete variable.
23374         (enable-theme): Accept only loaded themes as arguments.
23375         Ignore the special custom-enabled-themes variable.
23376         (custom-enabled-themes): Forbid themes from setting this.
23377         Eliminate use of custom-enabling-themes.
23378         (custom-push-theme): Quote "changed" custom var entry.
23380 2011-03-21  Leo Liu  <sdl.web@gmail.com>
23382         * ido.el (ido-read-internal): Add ido-selected to history instead
23383         of user input.
23385 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
23387         * subr.el (deferred-action-list, deferred-action-function):
23388         Mark obsolete.
23390 2011-03-21  Leo Liu  <sdl.web@gmail.com>
23392         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23393         change on 2011-02-13 (bug#8309).
23395         * minibuffer.el (read-file-name-function): Change default value.
23396         (read-file-name--defaults): Rename from read-file-name-defaults.
23397         (read-file-name-default): Rename from read-file-name.
23398         (read-file-name): Call read-file-name-function.
23400 2011-03-21  Glenn Morris  <rgm@gnu.org>
23402         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23403         Doc fixes.
23405 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
23407         * cus-theme.el: Add missing provide statement.
23408         (customize-create-theme): Extract theme value correctly.
23409         (custom-theme-visit-theme): Autoload.
23410         (customize-create-theme): Prompt before inserting default faces.
23412 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
23414         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23415         units and musical notes.
23417 2011-03-20  Leo Liu  <sdl.web@gmail.com>
23419         * ido.el (ido-read-internal): Use completing-read-default.
23420         (ido-completing-read): Fix compatibility with completing-read.
23422 2011-03-20  Christian Ohler  <ohler@gnu.org>
23424         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23425         (ert-delete-all-tests): Use `called-interactively-p' rather than
23426         `interactive-p'.
23427         (ert--make-xrefs-region): Respect END.
23429 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
23431         * dired-aux.el (dired-create-directory): Signal an error if the
23432         directory already exists (Bug#8246).
23434         * facemenu.el (list-colors-display): Call list-faces-display
23435         inside with-help-window.
23436         (list-colors-print): Use display property to align the final
23437         column, instead of checking window-width.
23439 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
23441         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
23442         windows-nt systems.
23443         (emerge-protect-metachars): Quote correctly for ms-dos and
23444         windows-nt systems.
23446 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
23448         * info.el (info-initialize): Replace all uses of `:' with
23449         path-separator for compatibility with non-Unix systems.
23450         Cache quoting of path-separator.  (Bug#8258)
23452 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
23454         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23455         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23456         (mouse-avoidance-mode): Fix typos in docstrings.
23458 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
23460         * startup.el (package-subdirectory-regexp): Move from package.el.
23461         Omit \\` and \\', and let callers add them.
23463         * emacs-lisp/package.el (package-strip-version)
23464         (package-load-all-descriptors): Add \\` and \\' to
23465         package-subdirectory-regexp before using it.
23466         (package-untar-buffer): New arg DIR; ensure that file untars only
23467         into this expected directory.  Remove superfluous delete-region.
23468         (package-unpack): Caller changed.
23469         (package-tar-file-info): Use package-subdirectory-regexp.
23471 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
23473         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23474         diff-mode-shared-map (bug#8284).
23475         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
23477 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23479         * calendar/time-date.el (format-seconds): Use assoc instead of
23480         assoc-string, since assoc-string doesn't exist in XEmacs.
23482 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
23484         * custom.el (custom-known-themes): Reflow docstring.
23485         (custom-theme-load-path): Fix typo in docstring.
23486         (load-theme): Fix typo in error message.
23487         (custom-available-themes, custom-variable-theme-value):
23488         Use `let', not `let*'.
23490 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
23492         * calc/README: Mention inclusion of musical notes.
23494         * calc/calc-units.el (calc-lu-quant): Rename from
23495         `calc-logunits-quantity'.
23496         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23497         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23498         (calc-db): Rename from `calc-dblevel'.
23499         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23500         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23501         (calc-np): Rename from `calc-nplevel'.
23502         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23503         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23504         (calc-lu-plus): Rename from `calc-logunits-add'.
23505         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23506         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23507         (calc-lu-minus): Rename from `calc-logunits-sub'.
23508         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23509         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23510         (calc-lu-times): Rename from `calc-logunits-mul'.
23511         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23512         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23513         (calc-lu-divide): Rename from `calc-logunits-div'.
23514         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23515         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23517         * calc/calc-ext.el (calc-init-extensions): Update the names of the
23518         functions being autoloaded.
23520         * calc/calc.el (calc-lu-power-reference): Rename from
23521         `calc-logunits-power-reference'.
23522         (calc-lu-field-reference): Rename from
23523         `calc-logunits-field-reference'.
23525         * calc/calc-help.el (calc-l-prefix-help):
23526         Mention musical note functions.
23528 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
23530         * minibuffer.el (completion-all-sorted-completions):
23531         Use :completion-cycle-penalty text property if present.
23533 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
23535         * allout.el (allout-yank-processing): Adjust for new rebulleting
23536         regime so bullet being yanked is used without prompting the user
23537         for a choice.
23539 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
23541         * startup.el (command-line): Warn the user that _emacs is deprecated.
23543 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
23545         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23546         (delphi-verbose, delphi-comment-face, delphi-string-face)
23547         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23548         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23549         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23550         (delphi-new-comment-line, delphi-font-lock-defaults)
23551         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23552         Fix typos in docstrings.
23554 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
23556         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
23557         Invert the roles of character and string values for INSTEAD, so a
23558         string is used for the more common case of a defaulting prompt.
23560 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23562         * progmodes/ruby-mode.el (ruby-backward-sexp):
23563         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23564         * play/gamegrid.el (gamegrid-make-face):
23565         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23566         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23567         * notifications.el (notifications-notify):
23568         * net/xesam.el (xesam-search-engines):
23569         * net/quickurl.el (quickurl-list-insert):
23570         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23572 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
23574         * startup.el (command-line): Update package subdirectory regexp.
23576 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23578         * allout.el (allout-abbreviate-flattened-numbering)
23579         (allout-mode-deactivate-hook): Fix up obsolescence "date".
23581         * subr.el (read-char-choice): Only show the cursor after the prompt,
23582         not after the answer.
23584 2011-03-15  Kevin Ryde  <user42@zip.com.au>
23586         * help-fns.el (variable-at-point): Skip leading quotes, if any
23587         (bug#8253).
23589 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23591         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23592         warning message.
23594 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
23596         * shell.el (shell): When called interactively, offer to change the
23597         shell file name on remote hosts.
23599 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
23601         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23602         integration for LDAP parameters.  The host, base, user or binddn,
23603         and secret tokens can be specified in a netrc file, for instance.
23604         This is optional because an `auth-source' parameter must be
23605         specified in the search attributes.
23607 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
23609         * help.el (describe-mode): Link to the mode's definition (bug#8185).
23611 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
23613         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23614         into declaration.  Remove redundant and harmful binding.
23616 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
23618         * files.el (file-ownership-preserved-p): Pass `integer' as an
23619         explicit 2nd argument to `file-attributes'.  If the file's owner
23620         is the Administrators group on Windows, and the current user is
23621         Administrator, consider that a match.
23623         * server.el (server-ensure-safe-dir): Consider server directory
23624         safe on MS-Windows if its owner is the Administrators group while
23625         the current Emacs user is Administrator.  Use `=' to compare
23626         numerical UIDs, since they could be integers or floats.
23628 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
23630         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23632 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
23634         Sync with Tramp 2.2.1.
23636         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23638         * net/trampver.el: Update release number.
23640 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
23642         * progmodes/compile.el (compilation--previous-directory): Fix up
23643         various nil/dead-marker mismatches (bug#8014).
23644         (compilation-directory-properties, compilation-error-properties):
23645         Don't call it at a position past the one we're about to change.
23647         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23648         Disable obsolescence warnings in the file that declares it.
23650 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
23652         * allout-widgets.el (allout-widgets-tally):
23653         Initialize allout-widgets-tally as a hash table rather than nil to
23654         prevent mode-line redisplay warnings.  Also, clarify the module
23655         description and fix a comment typo.
23657 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
23659         * help-fns.el (describe-variable): Don't complete keywords.
23660         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23662 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
23664         * emacs-lisp/package.el (package-version-join): Impose a standard
23665         string representation for pre/alpha/beta version lists.
23666         (package-unpack-single): Standardize the directory name by passing
23667         it through package-version-join.
23668         (package-strip-rcs-id): Accept any version string that does not
23669         signal an error in version-to-list.
23671 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
23673         * simple.el (delete-trailing-whitespace): Return nil for the
23674         benefit of `write-file-functions'.
23676 2011-03-10  Glenn Morris  <rgm@gnu.org>
23678         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23680         * vc/vc-git.el (vc-git-program): New option.
23681         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23682         (vc-git--call): Use it.
23684         * eshell/esh-util.el (eshell-condition-case): Doc fix.
23686         * cus-edit.el (Custom-newline): If no button at point, look
23687         for a subgroup button at start-of-line.  (Bug#2298)
23689         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23691 2011-03-10  Julien Danjou  <julien@danjou.info>
23693         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23694         `cursor-type' is nil.
23696 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
23698         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23700 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
23702         * allout.el: Change so yank of distinctive-bullet items
23703         preserves the existing header prefix, rebulleting it if necessary,
23704         rather than replacing it.  This is necessary for proper operation
23705         of cooperative addons like allout-widgets.
23706         (allout-make-topic-prefix, allout-rebullet-heading):
23707         Change SOLICIT arg to INSTEAD, and interpret additionally a string
23708         value as alternate bullet to be used, instead of prompting the user
23709         for a bullet character.
23711 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
23713         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23714         Do not use `tramp-file-name-port', because this returns also
23715         `tramp-default-port'.
23717 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
23719         * net/rcirc.el (rcirc-handler-001): Remove useless
23720         with-rcirc-process-buffer.
23721         (rcirc-check-auth-status): Swap arguments to string-match.
23723 2011-03-09  Glenn Morris  <rgm@gnu.org>
23725         * shell.el (shell-mode):
23726         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
23728         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23729         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
23731 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
23733         * emacs-lisp/package.el (package-refresh-contents)
23734         (package-menu-execute): Use condition-case-no-debug.
23736 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
23738         * simple.el (shell-command-to-string): Use `process-file'.
23740         * emacs-lisp/package.el (package-tar-file-info): Handle also
23741         remote files.
23743         * emacs-lisp/package-x.el (package-upload-buffer-internal):
23744         Use `equal' for upload base check.
23746 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
23748         * textmodes/texinfo.el (texinfo-environments):
23749         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
23751 2011-03-08  Glenn Morris  <rgm@gnu.org>
23753         * cus-start.el (cursor-in-non-selected-windows):
23754         Fix :set quoting oddness.  (Bug#8192)
23756         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23757         in some setf expressions.  (Bug#2159)
23759 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
23761         * custom.el (custom-available-themes): Return themes in
23762         alphabetical order.
23764 See ChangeLog.15 for earlier changes.
23766 ;; Local Variables:
23767 ;; coding: utf-8
23768 ;; End:
23770   Copyright (C) 2011-2013 Free Software Foundation, Inc.
23772   This file is part of GNU Emacs.
23774   GNU Emacs is free software: you can redistribute it and/or modify
23775   it under the terms of the GNU General Public License as published by
23776   the Free Software Foundation, either version 3 of the License, or
23777   (at your option) any later version.
23779   GNU Emacs is distributed in the hope that it will be useful,
23780   but WITHOUT ANY WARRANTY; without even the implied warranty of
23781   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23782   GNU General Public License for more details.
23784   You should have received a copy of the GNU General Public License
23785   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.