* lisp/emacs-lisp/package.el (package--initialized): Move before first use.
[emacs.git] / lisp / ChangeLog
blob810fa1db145e5bf5f0a28e781860a090f8be9052
1 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * emacs-lisp/package.el (package--initialized): Move before first use.
5 2013-02-13  Jambunathan K  <kjambunathan@gmail.com>
7         * icomplete.el (icomplete-hide-common-prefix):  New user option.
8         (icomplete-first-match): New face.
9         (icomplete-completions): Correct handling of "complete but not
10         unique" (Bug#12638).
12 2013-02-13  YE Qianchuan  <stool.ye@gmail.com>  (tiny change)
14         * descr-text.el (describe-char): Display the script (bug#13698).
16 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18         * tmm.el: Use lexical-binding and current-active-maps.
19         (tmm-menubar): Use map-keymap and pcase.
20         (tmm--completion-table): New function.
21         (tmm-prompt): Use it to fix the menu order.
22         (tmm-get-keybind): Use current-active-maps.
24 2013-02-12  Christopher Schmidt  <christopher@ch.ristopher.com>
26         Add dired-hide-details-mode.  (Bug#6799)
28         * locate.el (locate-mode): Set parent mode property to dired-mode.
30         * find-dired.el (find-dired): Call dired-insert-set-properties on
31         initial information line.  Set process mark on end of buffer.
32         (find-dired-sentinel):
33         Call dired-insert-set-properties on summary.
35         * dired.el (dired-hide-details-hide-symlink-targets)
36         (dired-hide-details-hide-information-lines): New options.
37         (dired-insert-directory):
38         Set properties after final treatment of output.
39         (dired-insert-set-properties):
40         Set dired-hide-details-* properties.
41         (dired-mode-map): Bind dired-hide-details-mode.
42         (dired-mode): Set buffer-invisibility-spec to a list.
43         (dired-next-line): Skip hidden lines.
44         (dired-previous-line): Use dired-next-line.
45         (dired-hide-details-mode): New minor mode.
46         (dired-hide-details-update-invisibility-spec): New function.
48 2013-02-13  Glenn Morris  <rgm@gnu.org>
50         * play/yow.el: Move to obsolete/.  (Bug#9384)
52 2013-02-13  Juri Linkov  <juri@jurta.org>
54         * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
55         to select `ediff-control-frame' and set input focus correctly on Xfce.
56         (Bug#12218)
58 2013-02-13  Juri Linkov  <juri@jurta.org>
60         * image-mode.el (image-mode-map):
61         * doc-view.el (doc-view-mode-map):
62         * vc/ediff-util.el (ediff-setup-keymap):
63         Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
65 2013-02-13  Dmitry Gutov  <dgutov@yandex.ru>
67         * progmodes/ruby-mode.el (ruby-move-to-block): Improve
68         performance.  Instead of recalculating indentation fully for each
69         line, sum up indentation depth based only on visited lines.
70         (ruby-parse-partial): Increase the depth after "do" even when END
71         is right after it.
72         (ruby-parse-partial): When END is in the middle of a percent
73         literal, increase the depth if the delimiter chars belong to the
74         paren syntax class.
76 2013-02-13  Kirill A. Korinskiy  <catap@catap.ru>
78         * play/fortune.el (fortune-compile): Also make the compiled file
79         if it does not exist at all, not just if it is old.  (Bug#5338)
81 2013-02-13  Glenn Morris  <rgm@gnu.org>
83         * emacs-lisp/package.el (package-menu-execute): Doc fix.
85 2013-02-13  Yves Baumes  <ybaumes@gmail.com>  (tiny change)
87         * lisp/emacs-lisp/package.el (package-menu-execute):
88         Add optional noquery argument.  (Bug#13625)
90 2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
92         * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
93         if DIR exists and PARENTS is non-nil.
95 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
97         * progmodes/js.el (js--multi-line-declaration-indentation):
98         Silence byte-compiler warning.
100 2013-02-12  Michael Albinus  <michael.albinus@gmx.de>
102         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
104         * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
105         only if it doesn't exist.
107         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Set
108         process marker.
110 2013-02-12  Tassilo Horn  <tsdh@gnu.org>
112         * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
113         UserInstallation when calling soffice to work around LibreOffice
114         bug 37531.
116 2013-02-12  Glenn Morris  <rgm@gnu.org>
118         * files.el (basic-save-buffer):
119         Offer to create a non-existing directory.  (Bug#3016)
121         * calc/calc-graph.el (calc-graph-show-dumb):
122         * calendar/calendar.el (calendar-mode-map):
123         * cus-edit.el (custom-mode-map):
124         * ehelp.el (electric-help-map):
125         * emulation/vip.el (vip-mode-map):
126         * epa.el (epa-key-list-mode-map):
127         * info.el (Info-mode-map):
128         * mail/rmail.el (rmail-mode-map):
129         * mail/rmailsum.el (rmail-summary-mode-map):
130         * man.el (Man-mode-map):
131         * net/newst-plainview.el (newsticker-mode-map):
132         * progmodes/cpp.el (cpp-edit-mode-map):
133         * progmodes/grep.el (grep-mode-map):
134         * progmodes/idlw-help.el (idlwave-help-mode-map):
135         * simple.el (special-mode-map):
136         * startup.el (splash-screen-keymap):
137         * view.el (view-mode-map):
138         Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
140 2013-02-11  Elias Pipping  <pipping@lavabit.com>
142         * doc-view.el (doc-view-current-cache-dir): Beware % escapes
143         (bug#13679).
145 2013-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
147         * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
149 2013-02-11  Glenn Morris  <rgm@gnu.org>
151         * vc/diff.el (diff-use-labels): New variable.
152         (diff-no-select): Use --label rather than -L, and first
153         check that it is supported.  (Bug#11067)
155         * files.el (enable-dir-local-variables): New variable.
156         (hack-dir-local-variables): Respect enable-dir-local-variables.
157         * tutorial.el (help-with-tutorial):
158         Ignore directory-local variables.  (Bug#11127)
160         * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
161         (vc-svn-global-switches): ... to here.  (Bug#13513)
163 2013-02-10  Christopher Schmidt  <christopher@ch.ristopher.com>
165         * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
166         Handle "foo (bar, default: xxx): " prompts.
168 2013-02-10  Chong Yidong  <cyd@gnu.org>
170         * files.el (basic-save-buffer-1): Do not set
171         buffer-file-coding-system-explicit (Bug#4533).
173         * mail/emacsbug.el (report-emacs-bug): Change binding of
174         report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
176 2013-02-09  Jay Belanger  <jay.p.belanger@gmail.com>
178         * calc/calc.el (calc-allow-units-as-numbers): New variable.
179         * calc/calc-units.el (calc-convert-units): Use new variable.
181 2013-02-09  Eli Zaretskii  <eliz@gnu.org>
183         * subr.el (buffer-file-type, default-buffer-file-type): Remove.
185         * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
186         buffer-file-type.
188         * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
189         (feedmail-run-the-queue, feedmail-dump-message-to-queue)
190         (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
191         coding-system-for-write instead.
193         * jka-compr.el (jka-compr-write-region): Don't bind
194         buffer-file-type.
196         * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
197         buffer-file-type.
199         * files.el (file-name-buffer-file-type-alist): Remove defvar.
200         (insert-file-contents-literally): Remove reference to
201         file-name-buffer-file-type-alist.
203         * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
204         make-obsolete.
205         (find-buffer-file-type-match, find-buffer-file-type): Remove.
206         (find-buffer-file-type-coding-system): Remove references to
207         find-buffer-file-type-match, find-buffer-file-type, and
208         buffer-file-type.
209         Don't put find-buffer-file-type-coding-system into
210         file-coding-system-alist.
211         (find-file-binary, find-file-text): Bind coding-system-for-read
212         instead of file-name-buffer-file-type-alist.
214 2013-02-09  Jambunathan K  <kjambunathan@gmail.com>
216         * doc-view.el: Use (and prefer) soffice as default ODF->PDF
217         converter (Bug#13622).
218         (doc-view-unoconv-program): Make obsolete alias.
219         (doc-view-odf->pdf-converter-program): New variable.
220         (doc-view-odf->pdf-converter-function): New variable.
221         (doc-view-mode-p): Use it.
222         (doc-view-odf->pdf-converter-unoconv):
223         Rename from `doc-view-odf->pdf-converter-unoconv'.
224         (doc-view-odf->pdf-converter-soffice): New function.
225         (doc-view-convert-current-doc):
226         Use `doc-view-odf->pdf-converter-function'.
228 2013-02-09  Chong Yidong  <cyd@gnu.org>
230         * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
231         view-echo-area-messages (Bug#13340).
233         * help.el (view-echo-area-messages): Use display-buffer.
235         * dired-x.el (dired-do-run-mail): Prompt for confirmation
236         (Bug#13561).
238 2013-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
240         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
241         Eval body right away, now that we do eager macroexpansion (bug#13605).
243         * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
244         (fundamental-mode): Use run-mode-hooks.
246         * eshell/esh-proc.el (eshell/kill): Fix last change.
247         * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
249 2013-02-08  Aidan Gauland  <aidalgol@no8wireless.co.nz>
251         * eshell/esh-proc.el (eshell/kill): Rewrite.
253         * eshell/em-ls.el (show-almost-all): Declare.
254         (eshell-do-ls): Add support for -A argument.
256 2013-02-08  Jambunathan K  <kjambunathan@gmail.com>
258         * icomplete.el (icomplete-forward-completions)
259         (icomplete-backward-completions): Handle corner case (bug#13602).
261 2013-02-07  Michael Albinus  <michael.albinus@gmx.de>
263         * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
264         be nil.  Handle this.  (Bug#13636)
266 2013-02-07  Richard Stallman  <rms@gnu.org>
268         * mail/rmail.el (rmail-variables): Specify `no-conversion' for
269         `save-buffer-coding-system'.
271 2013-02-07  Alan Mackenzie  <acm@muc.de>
273         Fix bug in state cache mechanism.  Remove 'BOD "strategy".  Refactor.
274         * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
275         (c-parse-state-get-strategy): Don't return 'BOD any more.
276         (c-append-lower-brace-pair-to-state-cache):
277         Extra parameter HERE instead of narrowing.
278         Widen to top of buffer before searching backwards for a brace pair.
279         (c-state-push-any-brace-pair): Add HERE parameter to function call.
280         (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
281         Narrow to parameter HERE, in place of being called narrowed.
282         (c-remove-stale-state-cache): Extra parameter HERE in place of
283         narrowing.  Check there's an open brace in the cache before
284         searching for its match.
285         (c-invalidate-state-cache-1): Add HERE parameter to function call.
286         (c-parse-state-1): Don't narrow here for 'forward strategy,
287         instead passing extra parameter HERE to several functions.
288         Remove 'BOD strategy.
290 2013-02-06  Nicolas Richard <theonewiththeevillook@yahoo.fr>  (tiny change)
292         * emacs-lisp/package.el (describe-package-1): Tell what archive is
293         used to install the package.
295 2013-02-06  Glenn Morris  <rgm@gnu.org>
297         * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
298         if we can't get user input.  (Bug#6567)
300         * startup.el (command-line): If simple.el is missing,
301         test and warn about for some possible causes.
303 2013-02-05  Jan Djärv  <jan.h.d@swipnet.se>
305         * cus-start.el (all): Add ns-use-native-fullscreen.
307 2013-02-05  Glenn Morris  <rgm@gnu.org>
309         * profiler.el (profiler-report-mode-map): Add a restart menu entry.
311         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
312         Fix directory creation in fallback case.
314 2013-02-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
316         * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
317         (vc-update-change-log): Use dolist.
319 2013-02-04  Chong Yidong  <cyd@gnu.org>
321         * thingatpt.el: Rewrite the URL detection routines, absorbing some
322         code from ffap.el.
323         (thing-at-point-beginning-of-url-regexp): New var.
324         (thing-at-point-uri-schemes): Update list of URI schemes.
325         (thing-at-point-url-regexp): Variable deleted.
326         (thing-at-point-markedup-url-regexp): Disallow newlines.
327         (thing-at-point-newsgroup-regexp)
328         (thing-at-point-newsgroup-heads)
329         (thing-at-point-default-mail-uri-scheme): New variables.
330         (thing-at-point-bounds-of-url-at-point): Rewrite.  Use ffap's
331         method to find the possible bounds of the URI at point.
332         New optional argument to find ill-formed URIs.
333         (thing-at-point-url-at-point): Rewrite.  New arguments for finding
334         ill-formed URIs.  Use thing-at-point-bounds-of-url-at-point, and
335         the scheme-adding heuristics from ffap-url-at-point.
336         (thing-at-point--bounds-of-well-formed-url): New function.
337         Do parens matching to decide whether to include parens in the URI
338         (Bug#9153).
340         * ffap.el: Require thingatpt.
341         (ffap-url-at-point): Delegate URI detection to thing-at-point.
342         All URI-valid characters are now recognized (Bug#5673).
343         (ffap-string-at-point): Use use-region-p.
344         (ffap-url-regexp): Extra character is handled by thing-at-point.
345         (ffap-string-at-point-mode-alist): Allow parentheses.
346         (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
347         Convert to aliases; code moved to thingatpt.el.
348         (ffap-gnus-hook): Use setq-local.
350 2013-02-04  Glenn Morris  <rgm@gnu.org>
352         * emacs-lisp/ert.el (ert--explain-format-atom):
353         Don't try to print non-characters as characters.  (Bug#13543)
355 2013-02-03  Michael Albinus  <michael.albinus@gmx.de>
357         * net/tramp.el (tramp-debug-message): Extend function exclude list.
358         (tramp-backtrace): New defun.
359         (tramp-handle-insert-file-contents): Use `visit' when inserting
360         the local copy.
362         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
363         Use `remote-file-name-inhibit-cache'.
365 2013-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
367         * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
368         (bug#13614).
370         * subr.el (internal--called-interactively-p--get-frame): Avoid filling
371         current-load-list (bug#13366).
373 2013-02-02  Christopher Schmidt  <christopher@ch.ristopher.com>
375         * progmodes/compile.el (compilation-error-regexp-alist-alist):
376         Identify g++ template instantiation trace.  (Bug#12287)
377         (compilation-mode-hook, compilation-start-hook)
378         (compilation-window-height): Simplify docstrings.  (Bug#13379)
380 2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
382         * mouse.el (mouse-drag-track): Always deactivate the mark before
383         running the final event's command since that command is in charge of
384         activating the mark if needed (bug#13523).
386 2013-02-02  Juri Linkov  <juri@jurta.org>
388         * replace.el (perform-replace): Move let-bindings of isearch-*
389         variables deeper to the loop that searches for the next match.
390         Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
391         Use `isearch-search-fun-default' instead of `isearch-search-fun'.
392         (Bug#13579)
394         * isearch.el (isearch-search-fun-default): Check for null
395         first element of isearch-cmds as a precaution when it's used
396         with inactive isearch.
398 2013-02-02  Andrew W. Nosenko  <andrew.w.nosenko@gmail.com>  (tiny change)
400         * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
401         error when buffer in question is narrowed so position 1 is out of
402         visible part.
404 2013-02-02  Glenn Morris  <rgm@gnu.org>
406         * textmodes/remember.el (remember-clipboard): Doc fix.
408 2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
410         * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
411         properties (bug#13179).
413 2013-02-02  Juri Linkov  <juri@jurta.org>
415         * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
416         instead of hard-coded default face `match'.  (Bug#9438)
418 2012-02-01  Christopher Schmidt  <christopher@ch.ristopher.com>
420         * vc/vc-arch.el (vc-arch-registered):
421         * vc/vc-bzr.el (vc-bzr-registered):
422         * vc/vc-cvs.el (vc-cvs-registered):
423         * vc/vc-git.el (vc-git-registered):
424         * vc/vc-hg.el (vc-hg-registered):
425         * vc/vc-mtn.el (vc-mtn-registered):
426         * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
427         (Bug#13139)
429         * info.el (Info-next-reference, Info-prev-reference): Add numeric
430         prefix argument.  (Bug#11656)
432 2013-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
434         * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
436 2013-02-01  Glenn Morris  <rgm@gnu.org>
438         * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
439         if the backend is known not to support it.
441         * imenu.el (imenu-default-create-index-function):
442         Tweak infinite loop test to check for forward motion as well as none.
444 2013-02-01  Alex Harsanyi  <AlexHarsanyi@gmail.com>
446         * net/soap-client.el (soap-invoke): Encode the string for
447         `url-request-data' as UTF-8.
448         Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
450 2013-02-01  Glenn Morris  <rgm@gnu.org>
452         * calc/calc-help.el (calc-view-news): Use view-emacs-news.
454         * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
456 2013-01-31  Michael Albinus  <michael.albinus@gmx.de>
458         * net/tramp.el (tramp-tramp-file-p): Comment check for
459         `string-as-unibyte'.  The function does not exist on XEmacs, and
460         likely we need another approach.
462         * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
463         `tramp-gw-*' variables are bound.
465 2013-01-31  Glenn Morris  <rgm@gnu.org>
467         * files.el (basic-save-buffer-2): Choose coding system for
468         writing the file before backing it up, to reduce delay between
469         backing up and writing the new version.  (Bug#13522)
471 2013-01-31  Michal Nazarewicz  <mina86@mina86.com>
473         * simple.el (cycle-spacing): New command.
474         (just-one-space): Use it.
476 2013-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
478         * progmodes/opascal.el: Rename from delphi.el.  Use lexical-binding.
479         (opascal-newline-always-indents): Remove custom.
480         (opascal-tab, opascal-newline): Remove commands.
481         (opascal-new-comment-line): Insert "\n" instead of calling newline.
482         (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
483         (opascal-save-match-data): Remove, use save-match-data instead.
484         (opascal-save-state): Use with-silent-modifications.
486         * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
487         (bug#13585).
489 2013-01-30  Juri Linkov  <juri@jurta.org>
491         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
492         Use fullboth as an alias for fullscreen.  Suggested by Jan Djärv in
493         <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
495 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
497         * progmodes/make-mode.el (makefile-backslash-region): Don't compute
498         column if we're just deleting the backslashes.
499         (makefile-fill-paragraph): Use eolp.
501 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
503         * autorevert.el (auto-revert-use-notify): Fix docstring.
505 2013-01-30  Leo Liu  <sdl.web@gmail.com>
507         * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
509 2013-01-30  Glenn Morris  <rgm@gnu.org>
511         * mouse.el (mouse-drag-line): Avoid pushing same event onto
512         unread-command-events twice in some cases.  This tries to implement
513         the 2012-07-26 changes in a different way.  (Bug#13560)
515 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
517         * progmodes/python.el
518         (python-pdbtrack-comint-output-filter-function): Enhancements on
519         stacktrace detection.  (thanks @gnovak)
521 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
523         * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
524         (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
525         Use defvar-local.
526         (jit-lock-register): Use setq-local.
528 2013-01-30  Jay Belanger  <jay.p.belanger@gmail.com>
530         * calc-units.el (math-default-units-table): Remove initial value.
531         (calc-convert-units): Treat expressions where all the units cancel as
532         if they didn't have units.
534 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
536         * net/tramp.el (tramp-process-connection-type): Fix docstring.
537         (tramp-completion-reread-directory-timeout): Fix type.
538         (tramp-connection-min-time-diff): New defcustom.
540         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
542 2013-01-30  Glenn Morris  <rgm@gnu.org>
544         * imenu.el (imenu-default-create-index-function):
545         Put back a version of the infinite loop test removed 2013-01-23.
547 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
549         * progmodes/python.el (python-shell-parse-command):
550         Find python-shell-interpreter with modified environment.
552 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
554         * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
556 2013-01-29  Alan Mackenzie  <acm@muc.de>
558         Amend to fontify /regexp/s in actions correctly.
559         * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
560         (c-awk-harmless-string*-here-re): Braces, parens and semicolons
561         are no longer included.
562         (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
563         What used to be these variables without "-line" in the name.
564         (c-awk-neutral-re): { is no longer neutral.  Escaped newlines now are.
565         (c-awk-non-arith-op-bra-re): Now also matches {.
566         (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
567         "return", and "case".
568         (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
569         by /.
570         (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
571         (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
573 2013-01-29  Michael Albinus  <michael.albinus@gmx.de>
575         * autorevert.el (auto-revert-use-notify):
576         Use `custom-initialize-default' for initialization.  (Bug#13583)
578         * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
580         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
581         Catch `suppress'.  Otherwise, `tramp-run-real-handler' might be called
582         in `tramp-file-name-handler'.
583         (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
584         compatibility.
585         (tramp-compute-multi-hops): Check, whether
586         `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
588 2013-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
590         * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
591         (bug#13297).
593 2013-01-27  Dmitry Gutov  <dgutov@yandex.ru>
595         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
596         checks made superfluous by the \_< operator.
597         * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
598         temporarily) broken indentation.
599         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
600         Highlight nested constants, too.  \_< broke that.
602 2013-01-27  Nobuyoshi Nakada  <nobu@ruby-lang.org>
604         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
605         instead of "\\b".
607 2013-01-27  Michael Albinus  <michael.albinus@gmx.de>
609         * autorevert.el (auto-revert-handler): Notifications which result
610         from a saved file shall not be taken into account.  (Bug#13557)
612 2013-01-26  Andreas Schwab  <schwab@linux-m68k.org>
614         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
615         parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
616         (lisp-mode): Pass t for it.  (Bug#13556)
618 2013-01-25  Alan Mackenzie  <acm@muc.de>
620         AWK Mode: Fix indentation bug at top level.  Bug #12274.
622         * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
623         just before CASE 5D.
625 2013-01-25  Dmitry Antipov  <dmantipov@yandex.ru>
627         * net/socks.el (socks-nslookup-host): Use string-to-number.
629 2013-01-25  Michael Albinus  <michael.albinus@gmx.de>
631         * autorevert.el (auto-revert-remote-files)
632         (auto-revert-notify-exclude-dir-regexp): New defcustoms.
633         (auto-revert-notify-enabled, auto-revert-use-notify)
634         (auto-revert-notify-watch-descriptor-hash-list)
635         (auto-revert-notify-modified-p, auto-revert-notify-event-p)
636         (auto-revert-notify-event-descriptor)
637         (auto-revert-notify-event-action)
638         (auto-revert-notify-event-file-name): Doc fix.
639         (global-auto-revert-mode): Reorder checks.
640         (auto-revert-notify-rm-watch): Respect changed values of
641         `auto-revert-notify-watch-descriptor-hash-list'.
642         (auto-revert-notify-add-watch): Check for
643         `auto-revert-notify-exclude-dir-regexp'.  Adapt filters for
644         `inotify-add-watch'.  Watch `default-directory' instead of
645         `buffer-file-name'.  `auto-revert-notify-watch-descriptor-hash-list'
646         has a changed meaning now.  (Bug#13540)
647         (auto-revert-notify-handler): Change implementation wrt events
648         returning from a directory.
649         (auto-revert-handler): Reorder implementation for checks of remote
650         files.
651         (auto-revert-buffers): Fix parentheses error.
653 2013-01-25  Fabián Ezequiel Gallina  <fgallina@cuca>
655         * progmodes/python.el: Enhancements to header documentation about
656         skeletons.  (Bug#5716)
658         * imenu.el (imenu-default-create-index-function): Remove useless
659         infinite loop check.  (Bug#13438)
661 2013-01-25  Alan Mackenzie  <acm@muc.de>
663         Fix a bug in the state cache mechanism.  Refactor this a bit.
665         * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
666         `cache-pos' element from the return value.
667         (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
668         buffer to enable proper searching from beyond HERE.  Amend the
669         test for detecting the sought brace pair.  Amend the value written
670         to the "brace desert cache" when the brace isn't found.
671         (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
672         and several other variables analogously.
673         (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
674         parameter to a locally calculated variable.
675         (c-parse-state-1): Change the calling conventions to the two
676         defuns involving `cache-pos'.
678 2013-01-25  Chong Yidong  <cyd@gnu.org>
680         * xml.el (xml-entity-or-char-ref-re): Fix regexp.
682 2013-01-24  Aaron Ecay <aaronecay@gmail.com>  (tiny change)
684         * paren.el (show-paren-function): Make sure to set 'priority and
685         'face only if the overlay does exist.
687 2013-01-24  Michael Albinus  <michael.albinus@gmx.de>
689         * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
691         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
692         basic attributes.
693         (tramp-sh-handle-set-file-acl): Improve error checking.
695 2013-01-24  Dmitry Antipov  <dmantipov@yandex.ru>
697         * doc-view.el (doc-view-display): Force mode line update until all
698         document is converted.  Suggested by Stefan Monnier (Bug#13164).
700 2013-01-23  Bastien Guerry  <bzg@gnu.org>
702         * paren.el (show-paren-function): Make sure an overlay exists
703         before trying to delete it.  Also use `pos' as a position only
704         when it is an integer.
706 2013-01-23  Dmitry Antipov  <dmantipov@yandex.ru>
708         * play/gametree.el (gametree-break-line-here): Use point-marker.
710 2013-01-22  Michael Albinus  <michael.albinus@gmx.de>
712         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
713         Mark descriptive parts with `display' property.
715 2013-01-21  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
717         * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
718         New variable to map standard dict names to hunspell ones.
719         (ispell-set-spellchecker-params): Make sure specific dict names
720         are used for standard dicts with hunspell.
722 2013-01-21  Tassilo Horn  <tsdh@gnu.org>
724         * textmodes/reftex-cite.el (reftex-format-citation): Add format
725         chars for note (%N) and url (%U).
726         * textmodes/reftex-vars.el (reftex-cite-format): Document them.
728 2013-01-21  Juri Linkov  <juri@jurta.org>
730         * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
731         in addition to existing separate binding `meta f10' in `global-map'.
732         (Bug#13484)
734 2013-01-21  Michael Albinus  <michael.albinus@gmx.de>
736         Improve XEmacs compatibility.
738         * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
740         * net/tramp-adb.el (top): Require `time-date'.
741         (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
742         (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
743         Use `tramp-file-name-handler'.
744         (tramp-adb-maybe-open-connection):
745         Use `tramp-compat-set-process-query-on-exit-flag'.
747         * net/tramp-sh.el (tramp-sh-handle-file-acl):
748         Use `tramp-compat-funcall'.
750         * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
751         `tramp-compat-funcall'.
753 2013-01-21  Jürgen Hötzel  <juergen@archlinux.org>
755         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
756         reimplementation using "adb shell command ..." instead of running
757         remote shell interactively.
759 2013-01-20  Glenn Morris  <rgm@gnu.org>
761         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
762         Add native profiler menu entries.
764         * profiler.el (profiler-running-p): New function.
765         (profiler-cpu-profile): Use profiler-running-p.
766         (profiler-report-mode-map): Add some more menu entries.
768 2013-01-19  Glenn Morris  <rgm@gnu.org>
770         * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
771         fixes 2012-12-07 change.  (Bug#13499)
773 2013-01-19  Leo Liu  <sdl.web@gmail.com>
775         * dired.el (dired-get-marked-files): Prune erroneous values due to
776         last change.  (Bug#13152)
778 2013-01-19  Glenn Morris  <rgm@gnu.org>
780         * progmodes/etags.el (tags-table-check-computed-list):
781         Preserve point in tags buffer.  (Bug#13412)
783         * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
785 2013-01-19  Christian Wittern  <cwittern@gmail.com>  (tiny change)
786             Chong Yidong  <cyd@gnu.org>
788         * image-mode.el (image-next-file, image-previous-file):
789         New commands (Bug#8453).
790         (image-mode-map): Bind them to n and p.
791         (image-mode--images-in-directory): New helper function.
793 2013-01-19  Chong Yidong  <cyd@gnu.org>
795         * image-mode.el (image-mode-fit-frame): Add a frame argument.
796         Suggested by Drew Adams (Bug#7730).  Handle window decorations;
797         save and restore the old window configuration.
799 2013-01-18  Leo Liu  <sdl.web@gmail.com>
801         * progmodes/js.el: Tweak autoload cookie for alias.
803 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
805         * autorevert.el (auto-revert-notify-watch-descriptor): Make it
806         buffer local, again.  This was lost with the fix on 2013-01-12.
808 2013-01-17  Jürgen Hötzel  <juergen@archlinux.org>
810         * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
811         order to support several eshell buffers in parallel.
813 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
815         * autorevert.el (auto-revert-use-notify): In the :set function, do
816         not modify `kill-buffer-hook'.
817         (auto-revert-notify-rm-watch):
818         Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
819         (auto-revert-notify-add-watch): Do not call
820         `auto-revert-notify-rm-watch', but add it to a buffer local
821         `kill-buffer-hook'.
823 2013-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
825         * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
826         call to `eval' rather than a backquoted lambda.
828 2013-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
830         * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
831         to return an explicit nil.
832         (advice--remove-function): Change accordingly.
834         * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
835         the use of nadvice.el.
837         * progmodes/which-func.el (which-function): Silence imenu errors
838         (bug#13433).
840 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
842         * progmodes/sql.el: (sql-imenu-generic-expression):
843         (sql-mode-font-lock-object-name): Match schema qualified names.
844         (sql-connect): Use string keys.
845         (sql-product-interactive): Wait for interpreter prompt.
846         (sql-comint-oracle): Set process coding based on NLS_LANG.
848 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
850         * progmodes/sql.el (sql-output-to-send): Remove, unused.
851         (sql-interactive-remove-continuation-prompt):
852         (sql-send-magic-terminator, sql-interactive-mode): Remove references.
854 2013-01-14  Leo Liu  <sdl.web@gmail.com>
856         * calendar/calendar.el (calendar-redraw): Sync window-point and point.
857         (Bug#13420)
859 2013-01-14  Glenn Morris  <rgm@gnu.org>
861         * progmodes/compile.el (compilation-error-regexp-alist-alist):
862         Fix interpretation of gnu line.col1-col2 format.  (Bug#13335)
864 2013-01-13  Fabián Ezequiel Gallina  <fgallina@cuca>
866         * progmodes/python.el (python-nav-end-of-statement):
867         Fix cornercase when handling multiline strings.
869 2013-01-13  Richard Stallman  <rms@gnu.org>
871         * mail/sendmail.el (mail-position-on-field): Add doc string.
873         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
874         Get current message boundaries and pass them to
875         message-forward-make-body-mime.  Minor style changes.
877 2013-01-13  Eli Zaretskii  <eliz@gnu.org>
879         * cus-start.el (all): Avoid warnings about
880         scroll-bar-adjust-thumb-portion on platforms where it is not defined.
882 2013-01-11  Jan Djärv  <jan.h.d@swipnet.se>
884         * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
886 2013-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
888         * jit-lock.el (jit-lock-debug-mode): New minor mode.
889         (jit-lock--debug-fontifying): New var.
890         (jit-lock--debug-fontify): New function.
891         * subr.el (condition-case-unless-debug): Don't prevent catching the
892         error, just let the debbugger run.
893         * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
894         timer code and don't drop errors silently.
896 2013-01-12  Michael Albinus  <michael.albinus@gmx.de>
898         * autorevert.el (auto-revert-notify-watch-descriptor): Give it
899         `permanent-local' property.
900         (auto-revert-notify-handler): Use `file-equal-p'.
902 2013-01-12  Eli Zaretskii  <eliz@gnu.org>
904         * autorevert.el (auto-revert-notify-handler): Fix filtering of
905         file notification by ACTION. For filtering by file name, compare
906         only the non-directory part of the file name.
908 2013-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
910         * autorevert.el: Use cl-lib instead of cl.
912         * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
913         (vc-bzr-checkin): Use it.
914         * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
915         will preserve match-data.
917 2013-01-11  Felix H. Dahlke  <fhd@ubercode.de>
919         * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
920         (js--declaration-keyword-re): New var.
921         (js--multi-line-declaration-indentation): New function.
922         (js--proper-indentation): Use it.
924 2013-01-11  Aaron S. Hawley  <Aaron.Hawley@vtinfo.com>
926         * calc/calc.el (calc-highlight-selections-with-faces)
927          (calc-dispatch):
928         * comint.el (comint-history-isearch-message):
929         * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
930         * ffap.el (ffap-string-at-point-region, ffap-next)
931         (ffap-string-at-point, ffap-string-around)
932         (ffap-copy-string-as-kill, ffap-highlight-overlay)
933         (ffap-literally):
934         * font-lock.el (font-lock-keywords-alist)
935         (font-lock-removed-keywords-alist):
936         * help-mode.el (help-xref-symbol-regexp):
937         * info.el (Info-find-emacs-command-nodes):
938         * international/mule.el (add-to-coding-system-list):
939         * isearch.el (isearch-message-function, isearch-fail-pos):
940         * misearch.el (multi-isearch-next-buffer-function):
941         * newcomment.el (comment-box):
942         * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
943         (pr-setting-database):
944         * progmodes/cc-fonts.el (c-font-lock-keywords-3)
945         (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
946         (java-font-lock-keywords-3, idl-font-lock-keywords-3)
947         (pike-font-lock-keywords-3):
948         * progmodes/compile.el (compile):
949         * progmodes/etags.el (tags-table-files)
950         (tags-table-files-function, tags-included-tables-function):
951         * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
952         (gdb-restore-windows):
953         * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
954         (ps-n-up-filling-database):
955         * server.el (server-buffer, server-log):
956         * simple.el (newline, delete-backward-char, delete-forward-char)
957         (minibuffer-history-isearch-message, kill-line, track-eol)
958         (temporary-goal-column):
959         * textmodes/flyspell.el (flyspell-mark-duplications-flag)
960         (flyspell-default-deplacement-commands):
961         * textmodes/ispell.el (ispell-accept-output):
962         * textmodes/sgml-mode.el (html-tag-help):
963         * vc/compare-w.el (compare-ignore-whitespace)
964         (compare-ignore-case, compare-windows-dehighlight):
965         * vc/diff.el (diff):
966         * whitespace.el (whitespace-point)
967         (whitespace-font-lock-refontify, whitespace-bob-marker)
968         (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
970 2013-01-11  Michael Albinus  <michael.albinus@gmx.de>
972         * autorevert.el (top): Require 'cl in order to pacify byte compiler.
973         (auto-revert-notify-rm-watch): Ignore errors.
974         (auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
975         inotify, and '(size last-write-time) for w32notify.
976         Set buffer-local `auto-revert-use-notify' to nil when adding a file
977         watch fails - this is a fallback to the file modification check.
978         (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
979         (auto-revert-notify-event-action)
980         (auto-revert-notify-event-file-name): New defuns.
981         (auto-revert-notify-handler): Use them.  Implement first
982         plausibility checks.
983         (auto-revert-handler): Handle also `auto-revert-tail-mode'.
985 2013-01-11  Julien Danjou  <julien@danjou.info>
987         * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
988         max are almost equal. Also return the correct value for V which is
989         already between 0 and 1.
991 2013-01-11  Dmitry Antipov  <dmantipov@yandex.ru>
993         * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
995 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
997         * autorevert.el (auto-revert-notify-rm-watch)
998         (auto-revert-notify-add-watch): Fix typos in w32notify function
999         names.
1001 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
1003         * autorevert.el (auto-revert-notify-enabled): Move up.
1004         (auto-revert-use-notify): New defcustom.
1005         (auto-revert-mode, global-auto-revert-mode)
1006         (auto-revert-notify-add-watch, auto-revert-handler)
1007         (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1008         `auto-revert-notify-enabled'.
1010 2013-01-10  Elias Pipping  <pipping@exherbo.org>
1012         * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1013         * doc-view.el (doc-view-document->bitmap):
1014         Use doc-view-single-page-converter-function instead of
1015         single-page-converter arg; adjust callers.
1017 2013-01-10  Feng Li  <fengli@gmail.com>  (tiny change)
1019         * progmodes/which-func.el (which-function): Understand Semantic's use
1020         of overlays in imenu--index-alist.
1022 2013-01-10  Wolfgang Jenkner  <wjenkner@inode.at>
1024         * man.el: Handle different "man -k" behaviors (bug#13160).  Use utf-8.
1025         (Man-man-k-use-anchor): New var.
1026         (Man-parse-man-k): New function.
1027         (Man-completion-table): Use it.
1028         (man): Flush the completion cache between uses.
1030 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
1032         * autorevert.el: Add file watch support.
1033         (auto-revert-notify-enabled): New defconst.
1034         (auto-revert-notify-watch-descriptor-hash-list)
1035         (auto-revert-notify-watch-descriptor)
1036         (auto-revert-notify-modified-p): New defvars.
1037         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1038         (auto-revert-notify-handler): New defuns.
1039         (auto-revert-mode, global-auto-revert-mode): Remove file watches
1040         when mode is disabled.
1041         (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1042         (auto-revert-buffers): Add file watches for active buffers.
1044 2013-01-10  Dmitry Antipov  <dmantipov@yandex.ru>
1046         * cus-start.el (toplevel): Only allow float values for
1047         scroll-up-aggressively and scroll-down-aggressively.
1048         Allow any number for line-spacing.
1050 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1052         * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1053         (doc-view-pdf->png-converter-function): Use mupdf if available.
1054         (doc-view-djvu->png-converter-function)
1055         (doc-view-ps->png-converter-function): Remove.
1056         (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1057         (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1058         (doc-view-already-converted-p): Adjust accordingly.
1059         (doc-view-mode-p): Simplify.
1060         (doc-view-enlarge): Use setq-local.
1061         (doc-view-pdf->png-converter-ghostscript)
1062         (doc-view-djvu->png-converter-ddjvu)
1063         (doc-view-pdf->png-converter-mupdf): Rework to call
1064         doc-view-start-process directly.
1065         (doc-view-pdf/ps->png): Simplify accordingly.
1066         (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1067         (doc-view-document->bitmap): Rename from doc-view-document->png.
1068         (doc-view-convert-current-doc): Merge pdf and djvu cases.
1069         (doc-view-set-slice-from-bounding-box): Fix completion table.
1070         (doc-view-mode): Use add-hook for after-revert-hook.
1072 2013-01-10  Glenn Morris  <rgm@gnu.org>
1074         * emacs-lisp/authors.el (authors-ignored-files)
1075         (authors-valid-file-names, authors-renamed-files-alist):
1076         Add some more entries.
1078 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1080         * image-mode.el (image-mode-winprops): Don't throw away the fallback
1081         `t' pseudo-window entry.
1083 2013-01-10  Alan Mackenzie  <acm@muc.de>
1085         Fix bugs in the c-parse-state mechanism.  Reuse some markers
1086         instead of continually generating new ones.
1088         * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1089         (c-state-old-cpp-end-marker): New variables.
1090         (c-append-lower-brace-pair-to-state-cache): Start a backward
1091         search for "}" definitively outside CPP constructs.
1092         (c-remove-stale-state-cache): Inform the caller of a need to
1093         search back for a brace pair in certain circumstances.
1094         (c-state-maybe-marker): New macro.
1095         (c-parse-state): Reuse markers when appropriate.
1097 2013-01-10  Glenn Morris  <rgm@gnu.org>
1099         * simple.el (execute-extended-command): Doc fix.
1100         Bind prefix-arg around read-extended-command, for prompt.  (Bug#13395)
1102 2013-01-10  Chong Yidong  <cyd@gnu.org>
1104         * faces.el (read-face-name): Doc fix.
1106 2013-01-10  Roland Winkler  <winkler@gnu.org>
1108         * emacs-lisp/crm.el: Allow any regexp for separators.
1109         (crm-default-separator): All spaces around the default comma separator.
1110         (crm--completion-command): New macro.
1111         (crm-completion-help, crm-complete, crm-complete-word): Use it.
1112         (crm-complete-and-exit): Handle non-single-char separators.
1114 2013-01-09  Elias Pipping  <pipping@lavabit.com>
1116         * doc-view.el: Add support for DjVu (bug#13164).
1117         (doc-view-djvu->png-converter-function): New config var.
1118         (doc-view-single-page-converter-function, doc-view--image-type)
1119         (doc-view--image-file-extension): New vars.
1120         (doc-view-mode): Initialize them.
1121         (doc-view-goto-page): Use them.
1122         (doc-view-mode-p): Add support for ddjvu.
1123         (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1124         (doc-view-set-up-single-converter): New funs.
1125         (doc-view-pdf/ps->png): Extend for djvu.
1126         (doc-view-document->png): Rename from doc-view-pdf->png.
1127         (doc-view-convert-current-doc): Handle djvu.
1128         (doc-view-insert-image, doc-view-display)
1129         (doc-view-already-converted-p): Don't hardcode png.
1130         (doc-view-set-doc-type): Recognize djvu docs.
1132 2013-01-09  Elias Pipping  <pipping@lavabit.com>
1134         * doc-view.el: Add support for mupdf converter (bug#13164).
1135         (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1136         (doc-view-ps->png-converter-function): New config vars.
1137         (doc-view-pdf->png-converter-ghostscript)
1138         (doc-view-ps->png-converter-ghostscript)
1139         (doc-view-pdf->png-converter-mupdf): New functions.
1140         (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1142 2013-01-09  Jürgen Hötzel  <juergen@archlinux.org>
1144         * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1145         first in session cache: When `tramp-own-remote-path' is in
1146         `tramp-remote-path', the remote path is only set in the session
1147         cache.
1149 2013-01-09  Glenn Morris  <rgm@gnu.org>
1151         * emacs-lisp/trace.el (trace-function-foreground)
1152         (trace-function-background): Doc fix.
1154 2013-01-09  Juri Linkov  <juri@jurta.org>
1156         * international/mule-cmds.el (read-char-by-name): Move let-binding
1157         of completion-ignore-case around completing-read to fix regression
1158         exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1159         `string-match-p' using the nil value of `case-fold-search' and
1160         `completion-ignore-case' in `completion-pcm--all-completions'.
1161         (Bug#12615).
1163 2013-01-09  Glenn Morris  <rgm@gnu.org>
1165         * progmodes/compile.el (compilation-parse-errors):
1166         Fix typo.  (Bug#13369)
1168 2013-01-09  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
1170         * comint.el (comint-send-input): Check size of buffer before
1171         waiting for process output, in case already accepted.  (Bug#13290)
1173 2013-01-09  Paul Eggert  <eggert@cs.ucla.edu>
1175         Spelling fixes.
1176         * net/tramp-adb.el (tramp-adb-get-toolbox):
1177         Fix misspelling of 'unknown'.
1179 2013-01-08  Juri Linkov  <juri@jurta.org>
1181         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1182         * progmodes/flymake.el (flymake-errline, flymake-warnline):
1183         Use underline style wave on terminals that support it.  (Bug#13000)
1185 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1187         * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1188         the predicate returns nil.
1190         * simple.el: Use lexical-binding.
1191         (primitive-undo): Use pcase.
1192         (minibuffer-history-isearch-push-state): Use a closure.
1194 2013-01-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1196         * simple.el (primitive-undo): Move from undo.c.
1198 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1200         * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1201         (cvs-mode-remove-handled): Use it (bug#13380).
1203         * emacs-lisp/nadvice.el (advice--tweak): New function.
1204         (advice--remove-function, advice--subst-main): Use it.
1206         * emacs-lisp/advice.el: Update commentary.
1208 2013-01-08  Michael Albinus  <michael.albinus@gmx.de>
1210         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1211         Remove spurious entry.
1213 2013-01-08  Glenn Morris  <rgm@gnu.org>
1215         * net/tramp.el (tramp-default-host-alist): Add :version.
1217 2013-01-08  Juri Linkov  <juri@jurta.org>
1219         * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1220         single completion.  (Bug#12456)
1221         (info--manual-names): Expand node completions into an explicit list
1222         before appending it to another list.  Filter out internal buffers
1223         with the leading space in the buffer name.  (Bug#10771)
1225 2013-01-08  Juri Linkov  <juri@jurta.org>
1227         * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1228         that defaults to the Top node.
1229         (Info-goto-node, Info-read-node-name): Doc fix to mention that
1230         the short format (FILENAME) goes to the Top node.
1231         (Info-build-node-completions): Rename arg `file' to `filename'.
1232         (Bug#13365)
1234 2013-01-07  Bastien Guerry  <bzg@gnu.org>
1236         * menu-bar.el (menu-bar-search-documentation-menu):
1237         Use `apropos-user-option' and fix the help message.
1239 2013-01-07  Bastien Guerry  <bzg@gnu.org>
1241         * apropos.el (apropos-do-all): Update docstring.
1242         (apropos-user-option-button): New face.
1243         (apropos-user-option): Rename from `apropos-variable' and update
1244         docstring.
1245         (apropos-variable): Rewrite, now show all variables by default.
1246         (apropos-print): Mention "User option" instead of "Variable" when
1247         printing doc for user options.  (Bug#13276)
1249 2013-01-07  Jürgen Hötzel  <juergen@archlinux.org>
1251         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1252         Handle filename correctly, when parsing "source -> target" symlink
1253         output.
1254         (tramp-adb-handle-set-file-times): New defun.
1256 2013-01-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1258         * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1259         advice list when the interactive-spec of ad-Advice-* changes.
1261 2013-01-07  Katsumi Yamaoka  <yamaoka@jpl.org>
1263         * wid-edit.el (widget-default-get): Work for inlined elements.
1264         (Bug#12670)
1266 2013-01-07  Michael Albinus  <michael.albinus@gmx.de>
1268         * net/tramp.el (tramp-default-host-alist): New defcustom.
1269         (tramp-find-host): Use it.
1270         (tramp-eshell-directory-change): Move from tramp-sh.el.  Add to
1271         `eshell-directory-change-hook'.
1273         * net/tramp-adb.el (top): Add adb specific entry in
1274         `tramp-default-host-alist'.
1275         (tramp-adb-file-name-host): Remove function.
1276         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1277         Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1279         * net/tramp-sh.el: Move eshell integration code to tramp.el.
1281 2013-01-06  Jürgen Hötzel  <juergen@archlinux.org>
1283         * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1285 2013-01-06  Michael Albinus  <michael.albinus@gmx.de>
1287         * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1288         consist of more than one digit.
1289         (tramp-adb-file-name-handler-alist):
1290         Use `tramp-handle-file-exists-p' consistently.
1291         (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1292         (tramp-adb-handle-file-exists-p): Remove function.
1293         (tramp-adb-file-name-host): New defun.
1294         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1295         Use it.
1296         (tramp-adb-maybe-open-connection): Set "remote-path" property.
1298 2013-01-06  Chong Yidong  <cyd@gnu.org>
1300         * vc/vc.el (vc-next-action): Detect buffer modifications
1301         conflicting with locking VCS operation (Bug#11490).
1303         * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1305 2013-01-05  Michael Albinus  <michael.albinus@gmx.de>
1307         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1308         (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1310 2013-01-05  Jürgen Hötzel  <juergen@archlinux.org>
1312         * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1313         parsing of ls output using regular expression (handle filenames
1314         with spaces).  Use virtual device number.
1315         (tramp-do-parse-file-attributes-with-ls): New defun (Code
1316         cleanup).
1318 2013-01-04  Daiki Ueno  <ueno@gnu.org>
1320         * epg.el: Silence byte-compiler warnings.
1321         (epg--start): Use delete-char instead of delete-backward-char.
1322         (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1324 2013-01-04  Daiki Ueno  <ueno@gnu.org>
1326         * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1327         Suggested by Eli Zaretskii  <eliz@gnu.org>.
1329 2013-01-04  Michael Albinus  <michael.albinus@gmx.de>
1331         * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1332         non-negative integers.  Otherwise, the default values are used.
1333         (tramp-convert-file-attributes): Convert uid and gid to integers.
1335 2013-01-04  Glenn Morris  <rgm@gnu.org>
1337         * term.el (term-handle-colors-array): Ensure face attributes
1338         are fully specified, not nil.  (Bug#13337)
1340         * term.el (term-default-fg-color, term-default-bg-color):
1341         Fix custom type.
1343         * progmodes/etags.el (tags-compression-info-list): Doc fix.
1344         (tag-find-file-of-tag-noselect): Check auto-compression-mode
1345         rather than 'jka-compr being loaded.  (Bug#13338)
1347 2013-01-04  Wesley Dawson  <whd@lavabit.com>  (tiny change)
1349         * icomplete.el (icomplete-completions):
1350         Honor icomplete-prospects-height once more following
1351         2012-11-29 changes.  (Bug#13224)
1353 2013-01-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1355         * subr.el (internal--called-interactively-p--get-frame): Find aliases
1356         of called-interactively-p as well (bug#13237).
1358         * view.el (view--enable, view--disable): Rename from view-mode-enable
1359         and view-mode-disable and assume it's called from view-mode.
1360         (view-mode-enable, view-mode-disable): Redefine as obsolete
1361         compatibility layer above view-mode.
1362         (view-mode-enter): Call `view-mode'.
1364         * files.el (after-find-file): Call `view-mode'.
1366         * doc-view.el (doc-view-scale-internally): New var.
1367         (doc-view-enlarge, doc-view-insert-image): Obey it.
1369 2013-01-03  Daiki Ueno  <ueno@gnu.org>
1371         * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1372         exist.  (Bug#13344)
1374 2013-01-03  Glenn Morris  <rgm@gnu.org>
1376         * mail/rmail.el (rmail-set-header-1): Ignore case.
1377         Handle multi-line headers.  (Bug#13330)
1379         * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1380         Handle paragraph starting at beginning of buffer.
1382         * subr.el (eval-after-load): Don't purecopy the form, so that it
1383         can be nconc'd later on; reverts 2009-11-11 change.  (Bug#13331)
1385         * emacs-lisp/byte-run.el (defun): Place cl declarations
1386         after any interactive spec.  (Bug#13265)
1388 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
1390         * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1391         defun.  Don't check for DECL if DOCSTRING isn't a string.
1392         (defun): Likewise.
1394 2013-01-02  Glenn Morris  <rgm@gnu.org>
1396         * eshell/em-cmpl.el (eshell-pcomplete):
1397         More thoroughly imitate pcomplete.  (Bug#13293)
1399         * files.el (parse-colon-path): Doc fix.  (Bug#12351)
1400         Return nil for empty path elements.  (Bug#13296)
1402 2013-01-02  Fabián Ezequiel Gallina  <fgallina@cuca>
1404         * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1405         order to improve efficiency (Based on Daniel Colascione's
1406         <dancol@dancol.org> patch).  (Bug#13182)
1408 2013-01-02  Glenn Morris  <rgm@gnu.org>
1410         * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1412 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
1414         * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1415         neither DOCSTRING nor DECL was given.  (Bug#13316)
1417 2013-01-02  Michael Albinus  <michael.albinus@gmx.de>
1419         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1420         `error' call.
1421         (tramp-do-copy-or-rename-file): Ignore errors when calling
1422         `set-file-extended-attributes'.
1424         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1425         Add handler for `file-acl'.
1426         (tramp-smb-handle-file-acl): New defun.
1428 2013-01-02  Jay Belanger  <jay.p.belanger@gmail.com>
1430         * calc/README: Mention ISO 8601 week-numbering dates.
1432 2013-01-01  Martin Rudalics  <rudalics@gmx.at>
1434         * view.el (view-mode-enable): New argument run-view-mode-hook.
1435         Run view-mode-hook only when it's non-nil (Bug#13315).
1436         (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1437         argument t.
1439 2012-12-31  Jürgen Hötzel  <juergen@archlinux.org>
1441         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1442         (No device connected, invalid device name). (Bug #13299)
1444 2012-12-31  Martin Rudalics  <rudalics@gmx.at>
1446         * window.el (window-resizable--p): Rename to window-resizable-p.
1447         (window-resize-no-error): New function.
1449         * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1450         broken in fix from 2012-12-28.
1452 2012-12-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1454         * subr.el (special-form-p): Don't signal errors on undef aliases.
1456 2012-12-31  Jay Belanger  <jay.p.belanger@gmail.com>
1458         * calc/calc-forms.el (math-parse-date): Try using
1459         `math-parse-iso-date' when it looks like it might be needed.
1460         Allow times of 24:00.
1461         (math-parse-date-validate, math-parse-iso-date-validate):  Allow times
1462         of 24:00.
1464 2012-12-30  Glenn Morris  <rgm@gnu.org>
1466         * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1467         Remove unnecessary/buggy autoloads (missing interactive).  (Bug#13294)
1468         (rmail-summary-displayed, rmail-summary): Declare.
1469         (mairix-rmail-display): Just require rmail.
1471 2012-12-30  Chong Yidong  <cyd@gnu.org>
1473         * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1474         check for the tarball contents.
1476 2012-12-30  Matt Fidler  <matt.fidler@alcon.com>  (tiny change)
1478         * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1479         tarfile content listings (Bug#13136).
1481 2012-12-30  Mark Lillibridge  <mark.lillibridge@hp.com>
1483         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1484         Insert the undecoded text of the message being forwarded.  (Bug#9521)
1486 2012-12-30  Michael Albinus  <michael.albinus@gmx.de>
1488         * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1489         integers, if they are real numbers.  (Bug#13282)
1491         * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1492         Return `t' on success.
1494         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1495         Add handler for `set-file-selinux-context'.
1497 2012-12-29  Michael Albinus  <michael.albinus@gmx.de>
1499         * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1500         (tramp-sh-handle-set-file-acl): Return `t' on success.
1502 2012-12-29  Eli Zaretskii  <eliz@gnu.org>
1504         * files.el (backup-buffer-copy, basic-save-buffer-2):
1505         If set-file-extended-attributes fails, fall back on set-file-modes
1506         instead of signaling an error.  (Bug#13298)
1507         (basic-save-buffer): Likewise.
1509 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
1511         * progmodes/python.el: Support other commands triggering
1512         python-indent-line so indentation cycling continues to work.
1513         (python-indent-trigger-commands): New defcustom.
1514         (python-indent-line): Use it.
1516 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
1518         * progmodes/python.el (python-shell-send-region): Add blank lines
1519         for non sent code so backtraces remain correct.
1521 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
1523         * progmodes/python.el: Remove cl dependency.
1524         (python-syntax-count-quotes): Replace incf call.
1525         (python-fill-string): Replace setf call.
1527 2012-12-29  Damien Cassou  <damien.cassou@gmail.com>
1529         * info.el (info-other-window): New arg, for consistency with info.
1531 2012-12-28  Martin Rudalics  <rudalics@gmx.at>
1533         * mail/rmail.el (rmail-maybe-display-summary):
1534         Rewrite (Bug#13066).
1536 2012-12-28  Andreas Schwab  <schwab@linux-m68k.org>
1538         * epg.el (epg--start): Modify process-environment locally.
1540 2012-12-28  Daiki Ueno  <ueno@gnu.org>
1542         * epg.el: Support pinentry-curses.
1543         Suggested by Werner Koch in
1544         <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1545         (epg-agent-file, epg-agent-mtime): New variable.
1546         (epg--start): Record the modified time of gpg-agent socket file,
1547         to restore Emacs frame after pinentry-curses termination.
1548         (epg-wait-for-completion): Restore Emacs frame here.
1550 2012-12-27  Juri Linkov  <juri@jurta.org>
1552         * info.el (Info-file-completions): New variable.
1553         (Info-read-node-name-1): Complete node names in the Info file
1554         when a file name is given.  Call `Info-build-node-completions'
1555         with a file name.
1556         (Info-build-node-completions): Add new arg `file'.  When it is
1557         non-nil, visit it in a temporary buffer and cache its completions in
1558         `Info-current-file-completions'.  Move most of the function body to
1559         `Info-build-node-completions-1'.
1560         (Info-build-node-completions-1): New function with the body from
1561         `Info-build-node-completions'.  (Bug#12456)
1563 2012-12-27  Juri Linkov  <juri@jurta.org>
1565         * frame.el (frame-maximization-style): Remove user option.
1566         (cycle-frame-maximized): Remove function.
1567         (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1568         (toggle-frame-fullscreen): New command bound to <f11> instead of
1569         `toggle-frame-maximized'.
1570         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1572 2012-12-27  Michael Albinus  <michael.albinus@gmx.de>
1574         * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1576         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1577         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1578         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1579         for `file-accessible-directory-p'.  (Bug#13275)
1581 2012-12-27  Sam Steingold  <sds@gnu.org>
1583         * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1584         continuations, see <http://stackoverflow.com/questions/3582436>.
1586 2012-12-27  Dmitry Gutov  <dgutov@yandex.ru>
1588         * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1589         "module" and "def" to have indentation before them.
1590         Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1592         * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1594 2012-12-27  Alan Mackenzie  <acm@muc.de>
1596         Speed up fontification where there's large brace blocks.
1597         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1598         to a call of c-beginning-of-decl-1.
1600 2012-12-27  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
1602         * comint.el (comint-adjust-window-point): New function.
1603         (comint-postoutput-scroll-to-bottom):
1604         Call comint-adjust-window-point (Bug#13248).
1606 2012-12-26  Dmitry Gutov  <dgutov@yandex.ru>
1608         * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1609         Rakefile regexp.
1610         (auto-mode-alist): Associate .gemspec files with ruby-mode
1611         (https://bugs.ruby-lang.org/issues/5453).
1613 2012-12-26  Jürgen Hötzel  <juergen@archlinux.org>
1615         * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1616         Suppress coloring, if possible (required for BusyBox based systems like
1617         CyanogenMod).
1618         (tramp-adb-handle-file-attributes)
1619         (tramp-adb-handle-insert-directory)
1620         (tramp-adb-handle-file-name-all-completions): Use it.
1621         (tramp-adb-get-toolbox): New defun.  Check for remote shell
1622         implementation (BusyBox or Toolbox).
1624 2012-12-24  Constantin Kulikov <zxnotdead@gmail.com>  (tiny change)
1626         * startup.el (initial-buffer-choice): Allow function as value
1627         (Bug#13251).
1628         (command-line-1): Handle case where initial-buffer-choice
1629         specifies a function.
1630         * server.el (server-execute): Handle case where
1631         initial-buffer-choice specifies a function.
1633 2012-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
1635         * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1636         its own function.
1637         (smtpmail-try-auth-methods): Forget the user name/password if the
1638         login is unsuccessful (bug#12424).
1640 2012-12-22  Michael Albinus  <michael.albinus@gmx.de>
1642         * notifications.el (notifications-notify): Protect body with
1643         `with-demoted-errors'.
1645         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1646         Check properties of remote device.  Restart connection, if there is a
1647         change.
1649 2012-12-21  Chong Yidong  <cyd@gnu.org>
1651         * sort.el (sort-subr): Doc fix (Bug#13056).
1653 2012-12-21  Bastien Guerry  <bzg@gnu.org>
1655         * progmodes/etags.el (tags-search): Fix typo.  Bug #13232.
1657 2012-12-21  Michael Albinus  <michael.albinus@gmx.de>
1659         * simple.el (process-file): Overwrite stderr file, if exists.
1661 2012-12-21  Daiki Ueno  <ueno@gnu.org>
1663         * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1664         (epg-error): Set `error-message' property.
1666 2012-12-21  Chong Yidong  <cyd@gnu.org>
1668         * international/mule-cmds.el (read-char-by-name): Signal an error
1669         if the user does not supply a valid character (Bug#13177).
1671         * simple.el (transpose-subr-1): Preserve marker positions by
1672         changing the insertion sequence (Bug#13122).
1674 2012-12-21  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
1676         * simple.el (kill-region): Deactivate mark even for empty regions
1677         (Bug#13169).
1679 2012-12-21  Chong Yidong  <cyd@gnu.org>
1681         * help-fns.el (describe-variable): Make sure we get the right
1682         buffer name (Bug#13105).  Suggested by Kelly Dean.
1684 2012-12-20  Michael R. Mauger  <mmaug@yahoo.com>
1686         * comint.el (comint-redirect-previous-input-string): New variable.
1687         (comint-redirect-setup, comint-redirect-cleanup)
1688         (comint-redirect-preoutput-filter): Use it.  Fixes redirection bug.
1689         (comint-redirect-preoutput-filter): Fix verbose message.
1691 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
1693         * progmodes/grep.el (rgrep): Escape command line.  Sometimes, it
1694         is too long for Tramp.  See discussion in
1695         <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1697         * progmodes/compile.el (compilation-start): Remove line escape
1698         template.
1700 2012-12-20  Dmitry Antipov  <dmantipov@yandex.ru>
1702         * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1703         Adjust comment.
1705 2012-12-19  Jonas Bernoulli  <jonas@bernoul.li>
1707         * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1708         following non-comment text (bug#13207).
1709         (lm-header-multiline): Continuation lines need to be indented more than
1710         the first line.
1711         (lm-homepage): New function.
1712         (lm-with-file): Don't be confused if narrowing is in effect.
1714 2012-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1716         * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1717         very beginning of a hunk (e.g. killing the first line).
1719 2012-12-19  Michael Albinus  <michael.albinus@gmx.de>
1721         * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1722         and text properties from returned ACL string.
1723         (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1724         for "setfacl" command.
1726 2012-12-18  Michael Albinus  <michael.albinus@gmx.de>
1728         * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1729         `tramp-cleanup-this-connection', when the process has died.
1730         (Bug#13151)
1732 2012-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1734         * icomplete.el (icomplete-completions): Also use â€¦ to truncate prefix.
1736 2012-12-17  Kevin Ryde  <user42@zip.com.au>
1738         * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1740 2012-12-17  Michael Albinus  <michael.albinus@gmx.de>
1742         Add support for preserving ACL entries of files.
1744         * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1745         `set-file-acl' handlers.
1747         * net/tramp-adb.el (tramp-adb-handle-copy-file):
1748         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1750         * net/tramp-compat.el (tramp-compat-copy-file):
1751         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1753         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1754         Add `file-acl' and `set-file-acl' handlers.
1755         (tramp-gvfs-handle-copy-file):
1756         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1757         (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1758         New defuns.
1760         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1761         Add `file-acl' and `set-file-acl' handlers.
1762         (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1763         (tramp-sh-handle-set-file-acl): New defuns.
1764         (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1765         Handle PRESERVE-EXTENDED-ATTRIBUTES.
1767         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1768         Add `file-acl' and `set-file-acl' handlers.
1769         (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1771 2012-12-17  Kelly Dean  <kellydeanch@yahoo.com> (tiny change)
1773         * help-macro.el (make-help-screen): Instead of switch-to-buffer
1774         use pop-to-buffer with NORECORD argument t.  As buffer name, use
1775         *Metahelp* with a leading space (Bug#13190).
1777 2012-12-16  Romain Francoise  <romain@orebokech.com>
1779         * files.el (file-extended-attributes)
1780         (set-file-extended-attributes): New functions.
1781         (backup-buffer): Use them to handle both SELinux context and ACL
1782         entries.
1783         (backup-buffer-copy): Work with an alist of extended attributes,
1784         rather than an SELinux context.
1785         (basic-save-buffer-2): Ditto.
1787 2012-12-16  Timo Myyrä  <timo.myyra@gmail.com>
1789         * battery.el (battery-bsd-apm): New function.
1791 2012-12-16  Jay Belanger  <jay.p.belanger@gmail.com>
1793         * calc/calc.el (calc-standard-date-formats): Adjust one of the
1794         standard date formats.
1796 2012-12-15  Juri Linkov  <juri@jurta.org>
1798         * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1799         `isearch-insert-char-by-name'.
1800         (with-isearch-suspended): New defmacro with body mostly from
1801         `isearch-edit-string' except the part that sets
1802         `isearch-new-string' and `isearch-new-message'.
1803         (isearch-edit-string): Use new macro `with-isearch-suspended' with
1804         body that sets `isearch-new-string' and `isearch-new-message'.
1805         (isearch-insert-char-by-name): New command.
1806         * international/mule-cmds.el (read-char-by-name): Let-bind
1807         `enable-recursive-minibuffers' to t.
1808         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1810 2012-12-15  Juri Linkov  <juri@jurta.org>
1812         * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1813         (Bug#13175)
1815 2012-12-15  Christopher Schmidt  <christopher@ch.ristopher.com>
1817         * dired-x.el (dired-guess-shell-command): Put colon at the end of
1818         the prompt.  (Bug#13045)
1820 2012-12-14  Glenn Morris  <rgm@gnu.org>
1822         * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1823         Try to include filename in non-bytecomp warning.  (Bug#13132)
1825 2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>
1827         Fix permissions bugs with setgid directories etc. (Bug#13125)
1828         * files.el (backup-buffer): Don't rely on 9th output of
1829         file-attributes, as it's now a placeholder.  Instead, use the new
1830         optional arg of file-ownership-preserved-p.
1831         (file-ownership-preserved-p): New optional arg GROUP.
1832         Fix mishandling of setuid directories that would cause this
1833         function to return t when it should have returned nil.
1834         Document what happens if the file does not exist, and when
1835         it's not known whether the ownership will be preserved.
1836         * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1837         Likewise.
1838         (tramp-get-local-gid): Use group-gid for integer, as that's
1839         faster and more reliable.
1841 2012-12-14  Julien Danjou  <julien@danjou.info>
1843         * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1844         Update keywords list, data type and PL/pgSQL.
1846 2012-12-14  Dave Abrahams  <dave@boostpro.com>
1848         * vc/ediff-util.el (ediff-buffer-type): New function.
1849         (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1850         rather than taking it as as argument.
1851         (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1853 2012-12-14  Ryan Crum  <ryan.crum@eleostech.com>
1855         * json.el: Add pretty-print option (bug#12634).
1856         (json-encoding-separator, json-encoding-default-indentation)
1857         (json--encoding-current-indentation, json-encoding-pretty-print)
1858         (json-encoding-lisp-style-closings): New vars.
1859         (json--with-indentation): New macro.
1860         (json-encode-hash-table, json-encode-alist, json-encode-plist)
1861         (json-encode-array): Use it to obey json-encoding-pretty-print.
1862         (json-pretty-print-buffer, json-pretty-print): New commands.
1864 2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>
1866         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1867         Extract `ruby-syntax-propertize-expansions'.
1868         (ruby-syntax-propertize-expansions): Only change syntax on
1869         certain string delimiters, to punctuation.  This way the common
1870         functions like forward-word and thing-at-point still work.
1871         (ruby-match-expression-expansion): Improve readability.
1872         (ruby-block-contains-point): New function.
1873         (ruby-add-log-current-method): Handle several edge cases.
1875 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
1877         * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1878         unload-feature finishes even when aborting an ongoing edebug session.
1879         Also, do not worry about edebug-mode, unload-feature takes care of it.
1881 2012-12-13  Andreas Schwab  <schwab@suse.de>
1883         * net/tls.el (tls-program): Update customize type.
1885 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
1887         * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1888         (edebug-setup-hook, cl-read-load-hooks): Use it.
1889         (edebug-unload-function): New function.  (Bug#13163)
1891 2012-12-13  Michael Albinus  <michael.albinus@gmx.de>
1893         * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1894         Otherwise, there could be errors in autoloading.  (Bug#13151)
1896 2012-12-13  Jürgen Hötzel  <juergen@archlinux.org>
1898         * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1899         sequences.
1901 2012-12-13  Alan Mackenzie  <acm@muc.de>
1903         Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
1904         * progmodes/cc-engine.el (c-backward-comments): Add code to work
1905         around `forward-comment' not recognizing ^M as whitespace.
1907 2012-12-13  Fabián Ezequiel Gallina  <fgallina@cuca>
1909         * progmodes/python.el (python-skeleton-class)
1910         (python-skeleton-def): Do not add space after defun name.
1912 2012-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1914         * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1915         (cl--symbol-function): Remove (now that funbound is like nil).
1917 2012-12-12  Glenn Morris  <rgm@gnu.org>
1919         * button.el (button--area-button-p): Fix typo.
1921 2012-12-12  Sam Steingold  <sds@gnu.org>
1923         * frame.el (frame-maximization-style): New user option.
1924         (toggle-frame-maximized): Toggle frame maximization according to
1925         `frame-maximization-style', bound to <f11>.
1926         (cycle-frame-maximized): Cycle between all maximization styles and
1927         non-maximized frame, bound to shift-<f11>.
1929 2012-12-12  David Cadé  <codename68@gmail.com>
1931         * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1933 2012-12-12  Jonas Bernoulli  <jonas@bernoul.li>
1935         * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1936         (eieio-override-prin1): Don't quote kewords and booleans.
1937         (object-write) <eieio-default-superclass>: Don't put closing parens
1938         on new line, avoid needless empty lines, align values that are objects
1939         with the slot keyword (instead of beginning on the same line).
1940         (eieio-list-prin1): Align value with slot keyword; increase
1941         eieio-print-depth before printing members of the list.
1943 2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1945         * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1946         a display text-property.
1947         (report-emacs-bug-hook): Don't bother deleting it any more.
1949         * hilit-chg.el (highlight-save-buffer-state): Delete.
1950         Use with-silent-modifications instead.
1951         (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1953         * button.el: Handle buttons in display text-properties.
1954         (button--area-button-p, button--area-button-string):
1955         Use (STRING . STRING-POS) representation instead of just STRING.
1957 2012-12-11  Eli Zaretskii  <eliz@gnu.org>
1959         * makefile.w32-in (compile4-SH): Fix a typo that caused term
1960         subdirectory be skipped.
1962 2012-12-11  Glenn Morris  <rgm@gnu.org>
1964         * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1966         * progmodes/f90.el (f90-line-continued, f90-indent-region):
1967         Treat preprocessor lines embedded in continuations like comments.
1968         (f90-indent-line): Special-case preprocessor lines.  (Bug#13138)
1970 2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
1972         * calc/calc.el (calc-standard-date-formats):  Add more date
1973         formats.
1974         * calc/calc-forms.el (math-parse-iso-date): New function.
1975         (math-parse-date): Use `math-parse-iso-date' when appropriate.
1976         (math-parse-iso-date-validate): Add extra error checking.
1977         (calc-date-notation): Add ability to access new date formats.
1979 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1981         * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1982         font-lock as well as when there's no text-property.
1984 2012-12-10  Jambunathan K  <kjambunathan@gmail.com>
1986         * hi-lock.el: Refine the choice of default face.
1987         (hi-lock-keyword->face): New function.  Use it wherever we used
1988         cadadadr instead.
1989         (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1990         (hi-lock--last-face): Remove var.
1991         (hi-lock--unused-faces): New var to replace it.
1992         (hi-lock-read-face-name): Use/maintain it.
1993         (hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
1994         (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1995         if it has another face.
1997 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
1999         * subr.el (w32notify-handle-event): New function.
2000         (inotify-handle-event): Doc fix.
2002 2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2004         * subr.el (inotify-event-p, inotify-handle-event): New functions.
2006 2012-12-10  Dani Moncayo <dmoncayo@gmail.com>
2008         * simple.el (just-one-space): Doc fix.
2010 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
2012         * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2014 2012-12-10  Le Wang  <l26wang@gmail.com>
2016         * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2017         narrowed buffer (bug#12361).
2019 2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
2021         * vc/vc-hooks.el (vc-state): Doc fix.
2023 2012-12-10  Glenn Morris  <rgm@gnu.org>
2025         * mail/rmail.el (rmail-maybe-display-summary):
2026         Preserve buffer, in case select-window changes it.  (Bug#13066)
2028 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2030         * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2031         cl-load-hook where they belong.
2033 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2035         * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2037 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
2039         Parallelize byte compilation on MS-Windows.
2040         * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2041         (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2042         (WINS_BASIC): Define as concatenation of the above.
2043         (compile): Subdivide into 4 separate and independent jobs that can
2044         be run in parallel.
2045         (compile0-CMD, compile0-SH): New targets for compiling
2046         COMPILE_FIRST files, which are prerequisites for the rest of the
2047         byte-compilation.
2048         (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2049         New targets for parallel compilation with cmd.exe.
2050         (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2051         compiling under a Unixy shell.
2053 2012-12-09  Chong Yidong  <cyd@gnu.org>
2055         * simple.el (set-mark-default-inactive): Delete this
2056         accidentally-introduced option.
2057         (set-mark-command, exchange-point-and-mark): Remove calls.
2059 2012-12-09  Glenn Morris  <rgm@gnu.org>
2061         * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2062         Respect a defcustom's :set function, if appropriate.  (Bug#109)
2063         (eval-defun): Doc fix.
2065 2012-12-08  Juri Linkov  <juri@jurta.org>
2067         * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2068         (Info-fontify-node, Info-bookmark-make-record): Remove the
2069         file extension from Info-current-file (Bug#13016).
2071 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2073         * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2074         point, still provide some default.
2075         (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2076         names, since we don't use it right now.  Actually return the list.
2077         (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2079 2012-12-07  Chong Yidong  <cyd@gnu.org>
2081         * novice.el (disabled-command-function): Remove a spurious help
2082         xref (Bug#13043).  Suggested by Kelly Dean.
2084         * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2085         syntax is specified (Bug#13025).
2087         * info.el (Info-set-mode-line): Remove the file extension from
2088         Info-current-file if there is one (Bug#13016).
2090 2012-12-07  Glenn Morris  <rgm@gnu.org>
2092         * mail/rmail.el (rmail-mime-decoded): New permanent local.
2093         (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2094         * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2095         and rmail-mime-decoded.  (Bug#9841)
2097         * mail/unrmail.el (unrmail-mbox-format): New option.  (Bug#6574)
2098         (batch-unrmail, unrmail): Doc fixes.
2099         (unrmail): Respect unrmail-mbox-format.
2100         * mail/rmail.el (rmail-mbox-format): New option.
2101         (rmail-show-message-1): Respect rmail-mbox-format.
2103 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2105         * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2107 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2109         Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
2110         * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2111         (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2112         (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2113         (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2114         (cl-progv): Don't rely on dynamic scoping to find the body.
2115         * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2116         (cl--proclaims-deferred): Rename from the "cl-" prefix.
2117         (cl-declaim): Use backquotes.
2118         * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2119         Use "cl--" prefix for the object's tag.
2121         * ses.el: Use advice-add/remove.
2122         (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2123         (copy-region-as-kill, yank): Use advice-add.
2124         (ses-unload-function): Use advice-remove.
2126 2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>
2128         * button.el: Make them work in header-lines (bug#12817).
2129         (button-map): Add bindings for header-line and mode-line use.
2130         (button-get, button-put, button-label): `button' may now be a string.
2131         (button-activate): Don't make it a defsubst.
2132         (button--area-button-p, button--area-button-string): New functions.
2133         (make-text-button): Fix the return value when `beg' was a string.
2134         (push-button): Handle the mode-line case.
2136 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2138         * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2139         (sql-signum): Remove.  Use `cl-signum' instead.
2140         (sql-read-passwd): Remove; use read-passwd instread.
2141         (sql-get-login-ext): Use read-string.
2142         (sql-get-login): Use dolist and pcase.
2143         (sql--completion-table): Rename from sql-try-completion.
2144         Use complete-with-action.
2145         (sql-mode): Don't change abbrev-all-caps globally.
2146         (sql-connect): Don't rely on dynamic scoping for `new-name'.
2147         (sql-postgres-completion-object): Initialize vars in their `let'.
2148         (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2149         (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2150         (sql-comint-interbase): Use a single append, without setq.
2151         (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2153         * hi-lock.el: Rework the default face and the serialize regexp code.
2154         (hi-lock--auto-select-face-defaults): Remove.
2155         (hi-lock-string-serialize-serial): Remove.
2156         (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2157         make weak.
2158         (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2159         equal string.
2160         (hi-lock-set-pattern): Adjust accordingly.
2161         (hi-lock--regexps-at-point): Simplify accordingly.
2162         (hi-lock--auto-select-face-defaults): Remove.
2163         (hi-lock--last-face): New var to replace it.
2164         (hi-lock-read-face-name): Rewrite (bug#11095).
2165         (hi-lock-unface-buffer): Arrange for the face to be the next default.
2167 2012-12-06  Michael Albinus  <michael.albinus@gmx.de>
2169         * net/tramp.el (tramp-replace-environment-variables):
2170         Hide compiler warning.
2171         (tramp-file-name-for-operation): Remove `executable-find',
2172         `start-process', `call-process' and `call-process-region'.
2174         * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2176         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2177         compatibility.
2179         * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2181 2012-12-06  Chong Yidong  <cyd@gnu.org>
2183         * ffap.el (ffap-replace-file-component): Fix typo.
2185 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2187         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2188         fix open-paren-like token test (bug#12785).
2190 2012-12-06  Glenn Morris  <rgm@gnu.org>
2192         * mail/rmailsum.el (rmail-new-summary): Tweak for
2193         rmail-maybe-display-summary changing buffer.  (Bug#13066)
2195 2012-12-06  Juri Linkov  <juri@jurta.org>
2197         * info.el (Info-fontify-node): Don't hide the last newline.
2198         (Bug#12272)
2200 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
2202         * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2203         so as to enable message-read-from-minibuffer to expand mail aliases.
2205 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2207         * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2208         the `intangible' property.
2209         Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2211 2012-12-05  Deniz Dogan  <deniz@dogan.se>
2213         * net/rcirc.el (rcirc-urls): Update documentation.
2214         (rcirc-condition-filter): New function.
2215         (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2216         and exclude consecutive duplicate URLs (Bug#6082).
2218 2012-12-05  Michael Albinus  <michael.albinus@gmx.de>
2220         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2221         Check return code of copy command.
2223         * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2224         Use group `tramp'.  Add version.
2226 2012-12-05  Chong Yidong  <cyd@gnu.org>
2228         * ffap.el (ffap-url-regexp): Don't require matching at front of
2229         string (Bug#4952).
2230         (ffap-url-p): If only a substring matches, return that.
2231         (ffap-url-at-point): Use the return value of ffap-url-p.
2232         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2233         (find-file-at-point, dired-at-point, dired-at-point-prompter)
2234         (ffap-guess-file-name-at-point): Likewise.
2235         (ffap-replace-file-component): Fix typo.
2237         * info.el (info-display-manual): Add existing Info buffers, whose
2238         files may not be in Info-directory-list, to the completion.
2239         (info--manual-names): New helper function.
2241 2012-12-05  Glenn Morris  <rgm@gnu.org>
2243         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2244         New functions, for detecting and resolving conflicts.  (Bug#10709)
2246 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
2248         * hi-lock.el (hi-lock-auto-select-face): New user variable.
2249         (hi-lock-auto-select-face-defaults): New buffer local variable.
2250         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2251         (hi-lock-unface-buffer): Prompt user with useful defaults.
2252         With prefix arg, unhighlight all hi-lock patterns in buffer.
2254 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2256         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2258 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
2260         * Makefile.in (TRAMP_SRC):
2261         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2263 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
2265         * net/tramp-adb.el: New package.
2267 2012-12-04  Chong Yidong  <cyd@gnu.org>
2269         * terminal.el: Move to obsolete/.
2271         * longlines.el: Move to obsolete/.
2273         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2274         Remove code referring to longlines mode.
2276 2012-12-03  Juri Linkov  <juri@jurta.org>
2278         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
2280 2012-12-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2282         * textmodes/ispell.el (ispell-init-process)
2283         (ispell-start-process, ispell-internal-change-dictionary):
2284         Make sure personal dictionary name is expanded after initial
2285         `default-directory' value. Use expanded strings for
2286         keep/restart checks and for value (Bug#13019).
2288 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
2290         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2292 2012-12-03  Leo Liu  <sdl.web@gmail.com>
2294         * files.el (dir-locals-read-from-file): Check file non-empty
2295         before reading.  (Bug#13038)
2297 2012-12-03  Glenn Morris  <rgm@gnu.org>
2299         * jka-cmpr-hook.el (jka-compr-get-compression-info):
2300         Remove any version extension before checking filename.  (Bug#13006)
2301         (jka-compr-compression-info-list): Belated :version bump.
2303 2012-12-03  Chong Yidong  <cyd@gnu.org>
2305         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2307         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2308         (buffer-menu): Doc fix (Bug#12294).
2310 2012-12-03  Roland Winkler  <winkler@gnu.org>
2312         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2313         of diary-show-all-entries in the diary buffer (Bug#12994).
2315 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
2317         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2318         "<STDIN>".  This is binary safe.
2320 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
2322         * calc/calc-forms.el (math-absolute-from-iso-dt)
2323         (math-date-to-iso-dt, math-parse-iso-date-validate)
2324         (math-iso-dt-to-date): New functions.
2325         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2326         (math-fd-isoweekday): New variables.
2327         (calc-date-notation, math-parse-standard-date, math-format-date)
2328         (math-format-date-part): Add support for more formatting codes.
2330 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2332         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2333         current buffer's file name when called interactively (Bug#12488).
2335 2012-12-02  Juri Linkov  <juri@jurta.org>
2337         * info.el (info-display-manual): Don't clobber an existing Info
2338         buffer (Bug#10770).  Add completion (Bug#10771).
2340 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
2342         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2343         before using it for comparison (Bug#5297).
2345 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
2347         * textmodes/css-mode.el (css-current-defun-name): New function.
2348         (css-mode): Use it.
2350         * textmodes/sgml-mode.el (html-current-defun-name): New function.
2351         (html-mode): Use it.
2353 2012-12-01  Chong Yidong  <cyd@gnu.org>
2355         Modularize add-log-current-defun (Bug#2224).
2356         Suggested by Jari Aalto.
2358         * vc/add-log.el (add-log-current-defun-function): Doc fix.
2359         (add-log-current-defun): Move mode-specific code to other files.
2360         (add-log-lisp-like-modes, add-log-c-like-modes)
2361         (add-log-tex-like-modes): Variables deleted.
2363         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2364         (lisp-mode-variables): Use it.
2366         * progmodes/cc-mode.el (c-common-init):
2367         * progmodes/cperl-mode.el (cperl-mode): Set a value for
2368         add-log-current-defun-function.
2370         * progmodes/m4-mode.el (m4-current-defun-name): New function.
2371         (m4-mode): Use it.
2373         * progmodes/perl-mode.el (perl-current-defun-name): New.
2374         (perl-mode): Use it.
2376         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2377         Use lisp-current-defun-name.
2379         * textmodes/tex-mode.el (tex-current-defun-name): New.
2380         (tex-common-initialization): Use it.
2382         * textmodes/texinfo.el (texinfo-current-defun-name): New.
2383         (texinfo-mode): Use it.
2385 2012-12-01  Chong Yidong  <cyd@gnu.org>
2387         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2388         * progmodes/autoconf.el (autoconf-mode):
2389         * progmodes/js.el (js-mode):
2390         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2391         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2392         * progmodes/perl-mode.el (perl-mode):
2393         * progmodes/sh-script.el (sh-mode, sh-set-shell):
2394         * textmodes/css-mode.el (css-mode):
2395         * textmodes/sgml-mode.el (html-mode, sgml-mode)
2396         (sgml-tags-invisible, sgml-guess-indent):
2397         * textmodes/tex-mode.el (tex-common-initialization)
2398         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2399         (doctex-mode, plain-tex-mode, latex-mode):
2400         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2402 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
2404         * vc/vc-hg.el (vc-hg-next-revision):
2405         Ensure use of default "tip" output format.  (Bug#6968)
2407 2012-12-01  Kim F. Storm  <storm@cua.dk>
2409         * startup.el (fancy-startup-tail): Add a clickable link
2410         (Bug#2176).
2412 2012-12-01  Chong Yidong  <cyd@gnu.org>
2414         * startup.el (fancy-startup-tail): Improve the message about
2415         auto-save files (Bug#2176).
2417         * files.el (recover-session): Improve the descriptive message, and
2418         use substitute-command-keys.
2420 2012-12-01  Glenn Morris  <rgm@gnu.org>
2422         * ido.el (ido-file-internal):
2423         Handle other-window, other-frame for dired.  (Bug#13036)
2425 2012-11-30  Glenn Morris  <rgm@gnu.org>
2427         * icomplete.el (icomplete-separator): Fix :version.
2429 2012-11-30  Chong Yidong  <cyd@gnu.org>
2431         * shell.el (shell): For C-u M-x shell, use an inactive shell
2432         buffer as the default (Bug#1975).
2433         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2434         (shell-mode): Use them to reapply ansi colorization if Shell mode
2435         is re-enabled.
2437 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
2439         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2441 2012-11-30  Samuel Bronson  <naesten@gmail.com>
2443         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2444         flag to xargs, for compatibility with BSD xargs (Bug#11703).
2446 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
2448         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2449         by move-to-column (Bug#3234).
2451 2012-11-30  Chong Yidong  <cyd@gnu.org>
2453         * longlines.el (longlines-wrap-line, longlines-encode-region):
2454         Preserve text properties (Bug#1425).
2456 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
2458         * vc/vc.el (vc-register): Allow registering a file which is
2459         already registered with a different backend (Bug#10589).
2461 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
2462             Stefan Monnier  <monnier@iro.umontreal.ca>
2464         * icomplete.el: Change separator; add ido-style commands.
2465         (icomplete-show-key-bindings): Remove custom var.
2466         (icomplete-get-keys): Remove function.
2467         (icomplete-forward-completions, icomplete-backward-completions):
2468         New commands.
2469         (icomplete-minibuffer-map): New var.
2470         (icomplete-minibuffer-setup): Use it.
2471         (icomplete-exhibit): Don't delay if the list of completions is known.
2472         (icomplete-separator): New custom.
2473         (icomplete-completions): Use it.
2474         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2475         (minibuffer-force-complete-and-exit): New command.
2476         (minibuffer--complete-and-exit): New function extracted from
2477         minibuffer-complete-and-exit.
2478         (minibuffer-complete-and-exit): Use it.
2480         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2481         error message when the file doesn't exist (bug#12974).
2483 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
2485         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2487 2012-11-29  Glenn Morris  <rgm@gnu.org>
2489         * files.el (hack-dir-local-variables): Warn if try to set
2490         coding via dir-locals, since it doesn't work.  (Bug#7169)
2492         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
2493         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2494         Set buffer-local value of desktop-save-buffer.
2495         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2496         New functions.
2497         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2498         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2500         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
2501         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2502         Doc fix.
2503         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2504         Doc fixes.
2506 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
2508         * calc/calc-forms.el (calc-date-notation): Fix regexp
2509         used to find time codes.  Fix symbol for seconds.
2511 2012-11-27  Glenn Morris  <rgm@gnu.org>
2513         * emacs-lisp/derived.el (derived-mode-make-docstring):
2514         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
2516 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2518         * textmodes/table.el (table-insert): Don't use `symbol-name' on
2519         lexically scoped variables (bug#13005).
2521 2012-11-27  Glenn Morris  <rgm@gnu.org>
2523         * vc/vc-hooks.el (vc-mistrust-permissions):
2524         Default to t, to avoid data-loss.  (Bug#11490)
2526 2012-11-27  Fabián Ezequiel Gallina  <fgallina@cuca>
2528         * progmodes/python.el (python-indent-guess-indent-offset):
2529         If indentation is guessed make python-indent-offset buffer-local.
2531         Fix Imenu regression.
2532         * progmodes/python.el (python-nav-beginning-of-defun):
2533         Fix forward movement when statement(s) separates point from defun.
2534         (python-imenu-prev-index-position): New function.
2536 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
2538         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
2540         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2541         Don't set buffer-file-type.  Return nil.  (Bug#12989)
2543 2012-11-27  Glenn Morris  <rgm@gnu.org>
2545         * hippie-exp.el (hippie-expand-try-functions-list):
2546         Re-autoload it.  (Bug#12982)
2548 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
2550         * descr-text.el (describe-char-padded-string):
2551         Call internal-char-font only on GUI frames.  (Bug#11964)
2553 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
2555         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2556         and obsoletion message.
2558 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2560         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2561         the constructs to keep outside of the `cl-block' (bug#12977).
2563 2012-11-27  Chong Yidong  <cyd@gnu.org>
2565         * mouse.el (mouse-drag-line): Even if the line is not draggable,
2566         keep reading until we get the up-event anyway, in order to process
2567         the up-event for mouse-1-click-follows-link (Bug#12971).
2569 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2571         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2572         base function is not yet defined (bug#12965).
2573         (ad-activate-advised-definition): Use ad-compile-function.
2574         (ad-activate): Use cond.
2576 2012-11-25  Leo Liu  <sdl.web@gmail.com>
2578         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2579         (Bug#12979)
2581 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2583         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2584         reftex-section-info-function in order to be compatible with
2585         Texinfo integration.
2587         * textmodes/reftex.el (reftex-section-pre-regexp)
2588         (reftex-section-post-regexp, reftex-section-info-function):
2589         New variable.
2590         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2591         reftex-section-post-regexp, and reftex-section-info-function in order
2592         to be compatible with Texinfo integration.
2594         * textmodes/reftex-toc.el (reftex-toc-promote-action):
2595         use reftex-section-pre-regexp variable in order to be compatible with
2596         Texinfo integration.
2598 2012-11-25  Chong Yidong  <cyd@gnu.org>
2600         * faces.el: Make face-spec-set more analogous to setq.
2601         (face-spec-set): Change the third arg to specify whether this
2602         function is being called via defface, customize, or a third party.
2603         Set the appropriate symbol properties.  Clear the override spec if
2604         setting via Custom.  Initialize face if necessary.  (Bug#4988)
2605         (face-spec-recalc): Allow theme faces to completely replace the
2606         defface spec, in the same way as custom faces (Bug#8454).
2608         * cus-face.el (custom-declare-face): Move face initialization to
2609         face-spec-set.
2610         (custom-theme-set-faces): Don't initialize the face name here, as
2611         that is now done in face-spec-set.
2613         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2614         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2615         Simplify by using the new arg to face-spec-set.
2617         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2618         reset face-override-spec too, and use custom-declare-face.
2620 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
2622         * term/ns-win.el (ns-initialize-window-system): Move creation of
2623         fontsets here (Bug#11964).
2625 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2627         * ses.el (ses-rename-cell): Correct bug on mode-line update after
2628         cell renaming.
2630 2012-11-24  Chong Yidong  <cyd@gnu.org>
2632         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2633         obsolete.
2635         * custom.el (custom-theme-set-variables): Use a topological sort
2636         for ordering by custom dependencies (Bug#12952).
2637         (custom--sort-vars, custom--sort-vars-1): New functions.
2639 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2641         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2642         lexical-binding (bug#12938).
2644 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
2646         * image-mode.el (image-transform-check-size): Use assertions only
2647         for images of type imagemagick.
2649         Otherwise no error, image-transform-fit-to-{width,height} is
2650         silently ignored, as before.  Doc fix.
2652 2012-11-24  Chong Yidong  <cyd@gnu.org>
2654         * faces.el (color-defined-p): Doc fix (Bug#12853).
2656 2012-11-24  Juri Linkov  <juri@jurta.org>
2658         * dired.el (dired-mark): Add optional arg `interactive'.
2659         Check for `use-region-p' if `interactive' is non-nil.
2660         (dired-unmark, dired-flag-file-deletion): Add optional arg
2661         `interactive'.  Call `dired-mark' with the arg `interactive'.
2662         (Bug#10624)
2664         * wdired.el: Revert 2012-10-17 change partly and replace it with
2665         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2666         (wdired-finish-edit): Add marks for new file names to
2667         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
2668         after `revert-buffer'.
2669         (wdired-do-renames): Remove calls to `dired-remove-file',
2670         `dired-add-file', `dired-add-entry'.  (Bug#11795)
2672 2012-11-24  Alan Mackenzie  <acm@muc.de>
2674         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2676         Fix bugs in the state cache.  Enhance a debugging mechanism.
2677         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2678         "brace at column zero" strategy for C++.
2679         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2680         (c-parse-state-point): New variable.
2681         (c-record-parse-state-state): Record old parse state with
2682         `copy-tree'.  Record previous value of point.
2683         (c-debug-parse-state-double-cons): New debugging function.
2684         (c-debug-parse-state): Call the above new function.
2685         (c-toggle-parse-state-debug): Output a confirmatory message.
2687         * progmodes/cc-mode.el (c-before-change, c-after-change):
2688         Call c-invalidate-state-cache from `c-before-change' instead of
2689         `c-after-change'.
2691 2012-11-23  Chong Yidong  <cyd@gnu.org>
2693         * find-cmd.el (find-constituents): Add executable, ipath,
2694         readable, samefile, writable, daystart, regextype (Bug#12856).
2696 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2698         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2700 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
2702         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2703         definition.  This fixes a bootstrap failure.
2704         (calc-gregorian-switch): In menu, put dates before regions.
2705         This is easier to follow, lines up better in the menu, and lets us
2706         coalesce regions that switch at the same time.  Give country
2707         names, not "Vatican", as that's better for non-expert users.
2708         Use names that are stable between the date of switch and now, e.g.,
2709         Bohemia and Moravia (which existed then and now) and not
2710         Czechoslovakia (which didn't exist then and doesn't exist now).
2711         What is now the U.S. mostly did not switch at the same time as
2712         Britain, so omit the U.S.  Correct spelling of "Britain".
2713         Catholic Switzerland was too much of a mess, so omit it.
2715 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
2717         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2718         after the variable is changed.
2720 2012-11-21  Daniel Colascione  <dancol@dancol.org>
2722         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2723         in SQL declarations for font-lock.
2724         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2726 2012-11-21  Glenn Morris  <rgm@gnu.org>
2728         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2729         (face-italic-p): Add optional argument "inherit".
2731         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2732         Remove -p suffix from names, for consistency with other set-face-*.
2733         (set-face-inverse-video): Fix interactive spec.
2734         * play/gamegrid.el (gamegrid-make-mono-tty-face):
2735         * textmodes/table.el (table--update-cell-face):
2736         Use set-face-inverse-video rather than now obsolete alias.
2738 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
2740         * simple.el (line-move): Don't call line-move-partial if
2741         scroll-conservatively is in effect.  (Bug#12927)
2743 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2745         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2746         Fallback on completion-at-point rather than
2747         pcomplete-expand-and-complete, and only if pcomplete actually failed.
2748         (eshell-cmpl-initialize): Setup completion-at-point.
2750         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2752         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2754 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
2756         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2757         are remote, check out-of-band property for both.
2759 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2761         * window.el (switch-to-buffer): Re-add the warning that was lost in the
2762         code rewrite.
2764 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
2766         More minor time fixes.
2767         * calendar/time-date.el: Commentary fix.
2768         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2769         too much other code depends on (0 0) time stamps.
2770         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2771         Add a couple of FIXME comments.
2773         Minor cleanup for times as lists of four integers.
2774         * files.el (dir-locals-directory-cache):
2775         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2776         Doc fixes.
2777         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2778         * ps-bdf.el (bdf-file-newer-than-time):
2779         Process four-integers time stamps, not two.  Doc fixes.
2781 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2783         * uniquify.el (uniquify-managed): Use defvar-local.
2784         (rename-buffer, create-file-buffer): Advise with advice-add.
2785         (uniquify-unload-function): Unadvise accordingly.
2787         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2788         (trace-buffer): Don't purecopy.
2789         (trace-entry-message, trace-exit-message): Add `context' arg.
2790         (trace--timer): New var.
2791         (trace-make-advice): Adjust for use in nadvice.
2792         Add `context' argument.  Delay `display-buffer' via a timer.
2793         (trace-function-internal): Use advice-add.
2794         (trace--read-args): New function.
2795         (trace-function-foreground, trace-function-background): Use it.
2796         (trace-function): Rename to trace-function-foreground and redefine as
2797         an alias to that new name.
2798         (untrace-function, untrace-all): Adjust to the use of nadvice.
2800         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2802         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2804         * subr.el (called-interactively-p-functions): New var.
2805         (internal--called-interactively-p--get-frame): New macro.
2806         (called-interactively-p, interactive-p): Rewrite in Lisp.
2807         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2808         (called-interactively-p-functions): Use it.
2809         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2810         (called-interactively-p-functions): Use it.
2811         * allout.el (allout-called-interactively-p): Don't assume
2812         called-interactively-p is a subr.
2814 2012-11-20  Glenn Morris  <rgm@gnu.org>
2816         * profiler.el (profiler-report-mode-map): Add a menu.
2817         No need to bind `q' because we derive from special-mode.
2818         (profiler-report-find-entry): Handle calls from the menu-bar.
2820 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2822         * emacs-lisp/byte-run.el (defun-declarations-alist):
2823         Allow a compiler-macro to be a lambda expression.
2825         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
2826         eval-when-compile.
2827         (python-syntax-context): Add compiler-macro.
2828         (python-font-lock-keywords): Simplify with De Morgan.
2830         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2832         * files.el (load-file): Require match in minibuffer selection, as was
2833         the case in Emacs-20 before we changed the spec to allow .elc files
2834         (bug#12935).
2836         * json.el: Don't require cl since we don't use it.
2837         * color.el: Don't require cl.
2838         (color-complement): `caddr' -> `nth 2'.
2840         * calendar/time-date.el (time-to-seconds): De-obsolete.
2842 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
2844         * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
2845         year numbers.
2846         (math-date-to-julian-dt): Adjust the initial approximation for the
2847         year to deal with the new definition of the DATE.
2849 2012-11-19  Daniel Colascione  <dancol@dancol.org>
2851         * term/w32-win.el (cygwin-convert-path-from-windows):
2852         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2854 2012-11-18  Chong Yidong  <cyd@gnu.org>
2856         * filecache.el (file-cache--read-list): New function.
2857         (file-cache-add-directory-list, file-cache-add-file-list)
2858         (file-cache-delete-file-list, file-cache-delete-directory-list):
2859         Use it to read a list of files or directories (Bug#12846).
2860         (file-cache-add-file, file-cache-add-directory)
2861         (file-cache-delete-file-list, file-cache-delete-file-regexp)
2862         (file-cache-delete-directory): Print an message.
2864 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
2866         * calc/calc-forms.el (math-date-to-dt): Use integer date when
2867         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2869 2012-11-18  Glenn Morris  <rgm@gnu.org>
2871         * image.el (insert-image, insert-sliced-image): Doc fix.
2873 2012-11-18  Chong Yidong  <cyd@gnu.org>
2875         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2876         (Bug#12810).
2878 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
2880         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2881         response when the target file is in a subdirectory (Bug#12757).
2883 2012-11-18  Chong Yidong  <cyd@gnu.org>
2885         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2887 2012-11-18  Glenn Morris  <rgm@gnu.org>
2889         * emacs-lisp/cl-lib.el (face-underline-p):
2890         Use set-face-underline rather than the alias set-face-underline-p.
2892         * window.el (with-temp-buffer-window): Doc fix.
2893         * subr.el (with-output-to-temp-buffer):
2894         Add doc xref to with-temp-buffer-window.
2896 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
2898         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2899         * calc/calc.el (math-format-date-cache): Declare.
2901 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
2903         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2904         It also uses January 1, 1 AD as its day number 1.
2905         * calc/calc-forms.el (math-julian-date-beginning)
2906         (math-julian-date-beginning-int): Implement this.
2908 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
2910         * descr-text.el (quail-find-key):
2911         * dired.el (desktop-file-name):
2912         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2913         * generic-x.el (comint-mode, comint-exec):
2914         * image-dired.el (widget-forward):
2915         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2916         (speedbar-change-expand-button-char)
2917         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2918         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2919         * printing.el (easy-menu-add-item, easy-menu-remove-item)
2920         (widget-field-action, widget-value-set):
2921         * speedbar.el (imenu--make-index-alist):
2922         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2923         (ring-length, ring-insert):
2924         * vcursor.el (compare-windows-skip-whitespace):
2925         * woman.el (dired-get-filename):
2926         Declare functions.
2928         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2930 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
2932         * calc/calc.el (calc-gregorian-switch): New variable.
2934         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2935         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2936         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2937         (math-leap-year-p): Add option to distinguish between Julian
2938         and Gregorian calendars.
2939         (math-day-number): Use `math-day-in-year' to do the computations.
2940         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2941         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2942         to do the computations.
2943         (math-date-to-dt): Use `math-date-to-julian-dt' and
2944         `math-date-to-gregorian-dt' to do the computations.
2945         (calcFunc-weekday, math-format-date-part): Use the new version of
2946         the DATE to determine the weekday.
2947         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2948         when necessary.
2950 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
2952         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2953         Cygwin; otherwise use 'file:'.  (Bug#12914)
2954         (cygwin-convert-path-from-windows): Declare, to avoid
2955         byte-compiler warnings.
2957 2012-11-17  Andreas Politz  <politza@fh-trier.de>
2959         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2960         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2961         prefix and negative numeric prefix args (Bug#12795).
2963 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
2965         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2966         Don't signal an error with a score that is too low to add to the
2967         list of top scores. (Bug#12779)
2969 2012-11-17  Chong Yidong  <cyd@gnu.org>
2971         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2973         * filecache.el (file-cache-add-file): Handle relative file name in
2974         the argument (Bug#12694).
2976 2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
2978         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2980 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2982         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2984         * emacs-lisp/cl-lib.el: Set more meaningful version number.
2986 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
2988         * window.el (enlarge-window, shrink-window): Don't mention return
2989         value in doc-string (Bug#12896).
2990         (window--display-buffer): Don't resize frames - it won't work
2991         with all window managers and defeat pop-up-frame-alist.
2992         (display-buffer-alist): In doc-string explain that CONDITION can
2993         be a function and which arguments are passed to it (Bug#12854).
2994         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
2995         expressions (Bug#12854).
2996         (display-buffer): Pass ACTION argument to
2997         display-buffer-assq-regexp.
2999 2012-11-16  Glenn Morris  <rgm@gnu.org>
3001         * window.el (fit-frame-to-buffer-bottom-margin)
3002         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3004         * faces.el (face-underline-p): Use face-attribute-specified-or.
3006 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
3008         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3010 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3012         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3014 2012-11-16  Glenn Morris  <rgm@gnu.org>
3016         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
3017         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3019         * faces.el (face-underline-p): Doc fix.  Handle :underline being
3020         things other than `t' (a string, a list).
3021         (face-inverse-video-p): Doc fix.
3022         (set-face-underline): Rename it back from set-face-underline-p.
3023         Doc fix.  Allow interactive input of values other than t.
3024         (read-face-attribute): Apply formatting to :underline,
3025         since like :box and :stipple it can take list values.
3027         * term.el (ansi-term): Don't let C-x escape-char binding
3028         clobber the more standard C-c binding.  (Bug#12842)
3030         * subr.el (set-temporary-overlay-map): Doc fix.
3032 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
3034         * window.el (record-window-buffer)
3035         (display-buffer-record-window): When copying the markers to
3036         window-point preserve window-point-insertion-type. (Bug#12588)
3038 2012-11-16  Glenn Morris  <rgm@gnu.org>
3040         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3041         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3042         Use new names for hooks rather than obsolete aliases.
3044 2012-11-15  Daniel Colascione  <dancol@dancol.org>
3046         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3047         prefix instead of "file:" so that when FILE-NAME begins with "//",
3048         as it does when the target file is on a network share, url-handler
3049         isn't confused.
3051 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3053         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3054         a preactivated advice from an old advice.el; they're not compatible!
3056 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
3058         * emacs-lisp/nadvice.el (advice--make-interactive-form):
3059         Fix string-spec case.
3061         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3063 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3065         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3066         (advice--buffer-local-function-sample): New var.
3067         (advice--set-buffer-local, advice--buffer-local): New functions.
3068         (add-function, remove-function): Use them.
3070 2012-11-15  Drew Adams  <drew.adams@oracle.com>
3072         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3074 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3076         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3077         potential binding of print-gensym to t, and prettify (back)quotes in
3078         case they appear in args's default values (bug#12884).
3080 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3082         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3083         (advice-eval-interactive-spec): New function.
3084         (advice--make-interactive-form): Support around advice (bug#12844).
3086 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
3088         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3089         more strict.  Add docstring.
3090         (ruby-expression-expansion-re): Extract from
3091         `ruby-match-expression-expansion'.
3092         (ruby-syntax-propertize-function): After everything else, search
3093         for expansions in string literals, mark their insides as
3094         whitespace syntax and save match data for font-lock.
3095         (ruby-font-lock-keywords): Use the 2nd group from expression
3096         expansion matches.
3097         (ruby-match-expression-expansion): Use the match data saved to the
3098         text property in ruby-syntax-propertize-function.
3100 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3102         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3103         (bug#12879).
3105 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
3107         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3108         start/end keyword a bit harder.  Works with different values of N.
3109         Add more comments.
3110         (ruby-end-of-block): Update accordingly.
3112 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3114         * woman.el (woman-file-name): Don't mess with unread-command-events
3115         (bug#12861).
3117         * emacs-lisp/advice.el: Layer on top of nadvice.el.
3118         Remove out of date self-require hack.
3119         (ad-do-advised-functions): Use simple `dolist'.
3120         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3121         (ad-advice-definition): Redefine as functions.
3122         (ad-advice-classes): Move before first use.
3123         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3124         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3125         (ad--defalias-fset): Remove functions.
3126         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3127         (ad-get-orig-definition): Rewrite.
3128         (ad-make-advised-definition-docstring): Change base docstring.
3129         (ad-real-orig-definition): Rewrite.
3130         (ad-map-arglists): Change name of called function.
3131         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3132         (ad-make-advised-definition): Simplify.
3133         (ad-assemble-advised-definition): Tweak for new calling context.
3134         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3135         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
3136         function and call ad-activate if needed.
3137         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3138         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3139         (ad-compile-function): Compile ad-Advice-*.
3140         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3141         (ad-start-advice, ad-stop-advice): Remove.
3143 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
3145         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3146         period before class method names, not after.  Remove handling of
3147         one impossible case.  Add comments.
3149 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3151         * emacs-lisp/advice.el: Remove support for freezing.
3152         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3153         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3154         Remove support for `freeze'.
3156         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3157         override the default.
3158         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3159         cl--dotimes/dolist.
3160         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3161         `cl' is loaded.
3163         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3164         from add-advice.
3165         (advice--strip-macro): New function.
3166         (advice--defalias-fset): Use them to handle macros.
3167         (advice-add): Use them.
3168         (advice-member-p): Correctly handle macros.
3170 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
3172         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3173         Never font-lock the beginning of singleton class as heredoc.
3175 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3177         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3179 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
3181         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3182         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
3183         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3185 2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
3187         Fix end-of-defun misbehavior.
3188         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3189         python-beginning-of-defun-function.  Handle nested defuns
3190         correctly.
3191         (python-nav-end-of-defun): Rename from
3192         python-end-of-defun-function.  Ensure forward movement.
3193         (python-info-current-defun): Reimplement to work as intended
3194         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
3195         parent defuns as soon as possible.
3197 2012-11-13  Glenn Morris  <rgm@gnu.org>
3199         * progmodes/flymake.el (flymake-error-bitmap)
3200         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3201         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3203 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
3205         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3206         backward, always stop at indentation.  Reverts the change from
3207         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3209 2012-11-13  Glenn Morris  <rgm@gnu.org>
3211         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3212         Add ibuffer-filter-by-derived-mode.
3214         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3215         the same name shadowing each other.
3217         * window.el (with-temp-buffer-window): Doc tweak.
3219         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3221         * help.el (temp-buffer-max-height):
3222         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3223         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3225 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3227         * emacs-lisp/nadvice.el: New package.
3228         * subr.el (special-form-p): New function.
3229         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3230         (elp-all-instrumented-list): Remove var.
3231         (elp-not-profilable): Remove elp-wrapper.
3232         (elp-profilable-p): Use autoloadp and special-form-p.
3233         (elp--advice-name): New const.
3234         (elp-instrument-function): Use advice-add.
3235         (elp--instrumented-p): New predicate.
3236         (elp-restore-function): Use advice-remove.
3237         (elp-restore-all, elp-reset-all): Use mapatoms.
3238         (elp-set-master): Use elp--instrumented-p.
3239         (elp--make-wrapper): Rename from elp-wrapper, return a function
3240         suitable for advice-add.  Use cl-inf.
3241         (elp-results): Use mapatoms+elp--instrumented-p.
3242         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3243         (debug-function-list): Remove var.
3244         (debug): Rename arg, and then let-bind it explicitly inside.
3245         (debugger-setup-buffer): Rename arg.
3246         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3247         (debugger-frame-number): Adjust to new debug-on-entry setup.
3248         (debug--implement-debug-on-entry): Rename from
3249         implement-debug-on-entry, add argument.
3250         (debugger-special-form-p): Remove, use special-form-p instead.
3251         (debug-on-entry): Use advice-add.
3252         (debug--function-list): New function.
3253         (cancel-debug-on-entry): Use it, along with advice-remove.
3254         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3255         (debugger-list-functions): Use debug--function-list instead of
3256         debug-function-list.
3257         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3258         (ad-special-form-p): Remove, use special-form-p instead.
3259         (ad-set-advice-info): Use add-function and remove-function.
3260         (ad--defalias-fset): Adjust accordingly.
3262 2012-11-10  Glenn Morris  <rgm@gnu.org>
3264         * mail/emacsbug.el (report-emacs-bug-tracker-url)
3265         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3266         (report-emacs-bug-create-existing-bugs-buffer)
3267         (report-emacs-bug-parse-query-results)
3268         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
3270         * term.el (term-default-fg-color, term-default-bg-color):
3271         Make obsolete, rather than just saying "deprecated" in the doc.
3273         * term.el (term): Rename from `term-face'.
3274         (term-current-face, ansi-term-color-vector)
3275         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3276         Update all users.
3278 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
3280         * server.el (server-create-window-system-frame): Handle Nextstep
3281         specially (Bug#12780).
3283 2012-11-10  Glenn Morris  <rgm@gnu.org>
3285         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3286         Unautoload, and make obsolete.  (Bug#7449)
3288 2012-11-10  Chong Yidong  <cyd@gnu.org>
3290         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3291         rename from diff-remove-trailing-whitespace (Bug#12831).
3293 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3295         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3296         miscompilation of trace.el.
3298 2012-11-10  Glenn Morris  <rgm@gnu.org>
3300         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3302 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3304         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3305         (bug#12812).
3307 2012-11-10  Chong Yidong  <cyd@gnu.org>
3309         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3310         a defcustom with an appropriate :set function.
3311         (minibuffer-default--in-prompt-regexps): New function.
3313 2012-11-10  Glenn Morris  <rgm@gnu.org>
3315         * emacs-lisp/cl.el (define-setf-expander, defsetf)
3316         (define-modify-macro): Doc fixes.
3318         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3319         (gv-define-simple-setter): Update doc of `fix-return'.
3321 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3323         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3324         twice when `fix-return' is set (bug#12813).
3326         * emacs-lisp/cl.el (defsetf): Pass the third arg to
3327         gv-define-simple-setter (bug#12812).
3329         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3330         (bug#12756).
3332 2012-11-10  Glenn Morris  <rgm@gnu.org>
3334         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3336         * emacs-lisp/cl-extra.el (cl-prettyexpand):
3337         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3338         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3339         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3341         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3343 2012-11-10  Leo Liu  <sdl.web@gmail.com>
3345         * ido.el (ido-set-matches-1): Improve flex matching performance by
3346         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
3348 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3350         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3351         (ad--defalias-fset): New function.
3352         (ad-safe-fset): Remove.
3353         (ad-make-freeze-definition): Use cl-letf*.
3355 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3357         * subr.el (dolist): Don't bind VAR in RESULT.
3359         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
3360         (fset, documentation): Don't save real def since we don't advise.
3361         (ad-do-advised-functions): Remove problematic `result-form'.
3362         (ad-safe-fset): `ad-real-fset' => `fset'.
3363         (ad-read-advised-function): Don't assume that ad-do-advised-functions
3364         uses CL's dolist internally.
3365         (ad-arglist): Remove unused arg `name'.
3366         (ad-docstring, ad-make-advised-docstring):
3367         `ad-real-documentation' => `documentation'.
3368         (warning-suppress-types): Declare.
3369         (ad-set-arguments): Simple CSE.
3370         (ad-recover-normality): Sanity check.
3372         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3373         (funcall '(lambda ..) ..) into ((lambda ..) ..).
3375 2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3377         * ses.el: symbol to coordinate mapping is made by symbol property
3378         `ses-cell'.  This means that the same mapping is done for all SES
3379         sheets.  That is good enough for cells with standard A1 names, but
3380         not for named cell.  So a hash map is added for the latter.
3381         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3382         (ses-sym-rowcol): Use hashmap for named cell.
3383         (ses-is-cell-sym-p): New defun.
3384         (ses-decode-cell-symbol): New defun.
3385         (ses-create-cell-variable): Add cell to hashmap when name is not
3386         A1-like.
3387         (ses-rename-cell): Check that cell new name is not already in
3388         spreadsheet with the use of ses-is-cell-sym-p
3389         (ses-rename-cell): Use hash map for named cells, but accept also
3390         renaming back to A1-like.
3392 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3394         * emacs-lisp/advice.el: Use new dynamic docstrings.
3395         (ad-make-advised-definition-docstring, ad-advised-definition-p):
3396         Use dynamic-docstring-function instead of ad-advice-info.
3397         (ad--make-advised-docstring): New function extracted from
3398         ad-make-advised-docstring.
3399         (ad-make-advised-docstring): Use it.
3400         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3401         from sql-help.
3402         (sql-help): Use it with dynamic-docstring-function.
3404         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3406 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3408         * files.el (hack-one-local-variable--obsolete): New function.
3409         (hack-one-local-variable): Use it for obsolete settings.
3411         * subr.el (locate-user-emacs-file): If both old and new name exist, use
3412         the new name.
3414         * progmodes/js.el (js--filling-paragraph): New var.
3415         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3416         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3417         less sneaky.
3419 2012-11-08  Julien Danjou  <julien@danjou.info>
3421         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3422         `auto-mode-alist' (Bug#12835).
3424 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3426         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3427         (perl--prettify-symbols-alist): New const.
3428         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3429         New functions.
3430         (perl-font-lock-keywords-2): Use them.
3431         (perl-electric-noindent-p): New function.
3432         (perl-mode): Use it to set up electric-indent-mode.
3433         (perl-electric-terminator, perl-indent-command): Mark obsolete.
3434         (perl-mode-map): Remove bindings for them.
3435         (perl-imenu-generic-expression, perl-outline-level):
3436         Match functions&packages in column>0.
3438         * env.el (env--substitute-vars-regexp): New const.
3439         (substitute-env-vars): Use it.  Add `only-defined' arg.
3440         * net/tramp.el (tramp-replace-environment-variables): Use it.
3442         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3443         Byte-compile *before* eval in eval-and-compile.
3444         (byte-compile-log-warning): Remove redundant inhibit-read-only.
3445         (byte-compile-file-form-autoload): Don't hide actual definition.
3446         (byte-compile-maybe-guarded): Accept `functionp' as well.
3448         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3450 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
3452         * notifications.el (notifications-get-server-information-method):
3453         New defconst.
3454         (notifications-get-capabilities): Fix docstring.
3455         (notifications-get-server-information): New defun.
3457 2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3459         * textmodes/ispell.el (ispell-region): Standard re-indent for better
3460         readability.
3462         * textmodes/ispell.el: Experimental support for support debugging.
3463         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3464         buffer for ispell.
3465         (ispell-print-if-debug): New function to print stuff to
3466         `ispell-debug-buffer' if debugging is enabled.
3467         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3468         show some debugging info.
3469         (ispell-buffer-with-debug): New function that creates a debugging
3470         buffer and calls `ispell-buffer' with debugging enabled.
3472         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3473         comment in autoconf mode. (Bug#12768)
3475 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
3477         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3478         frame-first-window, frame-root-window, frame-selected-window,
3479         minibuffer-selected-window, minibuffer-window,
3480         window-absolute-pixel-edges, window-at, window-body-height,
3481         window-body-width, window-display-table, window-combination-limit,
3482         window-frame, window-fringes, window-inside-absolute-pixel-edges,
3483         window-inside-edges, window-inside-pixel-edges, window-left-child,
3484         window-left-column, window-margins, window-next-buffers,
3485         window-next-sibling, window-new-normal, window-new-total,
3486         window-normal-size, window-parameter, window-parameters, window-parent,
3487         window-pixel-edges, window-point, window-prev-buffers,
3488         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3489         window-start, window-text-height, window-top-child, window-top-line,
3490         window-total-height, window-total-width and window-use-time to the list
3491         of functions without side-effects.
3492         (toplevel): Add window-valid-p to the list of error-free functions
3493         without side-effects.
3495 2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3497         * textmodes/ispell.el (ispell-program-name):
3498         Update spellchecker parameters when customized.
3500 2012-11-04  Glenn Morris  <rgm@gnu.org>
3502         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
3504 2012-11-04  Chong Yidong  <cyd@gnu.org>
3506         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3507         same-window-* variables.
3509 2012-11-04  Juri Linkov  <juri@jurta.org>
3511         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3512         (isearch-describe-key, isearch-describe-mode): Use a display
3513         action instead of binding same-window-* variables (Bug#10040).
3515 2012-11-03  Glenn Morris  <rgm@gnu.org>
3517         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3518         Rename handler properties back from cl-- to cl-.  (Bug#12788)
3520         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3522 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
3524         * term/pc-win.el: Don't load term/internal from here.
3526         * loadup.el: Load term/internal from here.
3528 2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
3530         * progmodes/python.el (inferior-python-mode): Fix hang in
3531         jit-lock (Bug#12645).
3533 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
3535         * window.el (switch-to-visible-buffer)
3536         (switch-to-buffer-preserve-window-point): Fix doc-strings.
3538 2012-11-03  Glenn Morris  <rgm@gnu.org>
3540         * emacs-lisp/cl-lib.el (cl--random-time):
3541         Rename from cl-random-time.  (Bug#12773)
3542         (cl--gensym-counter, cl--random-state): Update callers.
3543         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3545 2012-11-03  Chong Yidong  <cyd@gnu.org>
3547         * cus-start.el: Make cursor-type customizable (Bug#11633).
3549 2012-11-02  Glenn Morris  <rgm@gnu.org>
3551         * filecache.el: No need to load find-lisp when compiling.
3552         (find-lisp-find-files): Autoload it.
3553         (file-cache-add-directory-recursively): Don't require find-lisp.
3555         * image.el (image-type-from-file-name): Trivial simplification.
3557         * emacs-lisp/bytecomp.el (byte-compile-eval):
3558         Decouple "noruntime" and "cl-functions" warnings.
3560 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
3562         * play/gomoku.el (gomoku-display-statistics): Update mode line
3563         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3565 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
3567         * window.el (quit-restore-window): If the window has been
3568         created on an existing frame and ended up as the sole window on
3569         that frame, do not delete it (Bug#12764).
3571 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3573         * progmodes/sh-script.el (sh--inside-noncommand-expression):
3574         Rename from sh--inside-arithmetic-expression, handle more cases
3575         (bug#11263).
3577         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3578         (sh-font-lock-open-heredoc): Use it (bug#12770).
3580 2012-10-30  Glenn Morris  <rgm@gnu.org>
3582         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
3584         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
3586 2012-10-29  Chong Yidong  <cyd@gnu.org>
3588         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3589         function key is stored in a keyboard macro (Bug#4894).
3591         * thingatpt.el (number-at-point): Apply a thing-at-point property.
3593 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3595         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3596         header comments".
3597         (diff-unified->context, diff-context->unified)
3598         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3600         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3602         * files.el (find-alternate-file): Only ask one question (bug#12487).
3604 2012-10-29  Chong Yidong  <cyd@gnu.org>
3606         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3607         Suggested by Dan Nicolaescu (Bug#6326).
3609         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3611         * startup.el (fancy-about-screen): Don't message (Bug#12680).
3613         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3615         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3617         * face-remap.el (face-remap-add-relative): Handle the case where a
3618         face-remapping-alist entry is a cons cell (Bug#12762).
3620 2012-10-29  Kevin Ryde  <user42@zip.com.au>
3622         * woman.el (woman-parse-numeric-value): Handle picas correctly
3623         (Bug#12639).
3625 2012-10-29  Glenn Morris  <rgm@gnu.org>
3627         * emacs-lisp/cl.el (defsetf): Doc fix.
3629 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3631         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3632         syntax to the matching opener, if any (bug#12547).
3633         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3634         matching open as a "case-(".
3635         (sh-smie-rc-grammar): Add a corresponding rule for it.
3637 2012-10-28  Daniel Hackney  <dan@haxney.org>
3639         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3640         "PKGNAME-autoloads.el" in case we created it.
3642 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3644         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3645         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3646         (completion--twq-all): Disable too-strict assertions.
3648         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3650 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
3652         * profiler.el (profiler-report-make-entry-part): Fix help-echo
3653         text to match the real keybindings.
3655 2012-10-27  Juri Linkov  <juri@jurta.org>
3657         * wdired.el (wdired-keep-marker-rename): New defcustom.
3658         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3659         (Bug#11795)
3661         * dired.el (dired-keep-marker-rename): Add reference to
3662         `wdired-keep-marker-rename' in the docstring.
3663         Add default character value ?R to display initially in
3664         Customization UI instead of ?@.
3666 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
3668         * window.el (display-buffer): In doc-string describe
3669         window-height and window-width alist entries.
3671         * time.el (display-time-world): Restore fit-window-to-buffer
3672         behavior.
3674 2012-10-27  Chong Yidong  <cyd@gnu.org>
3676         * subr.el (insert-buffer-substring-as-yank): Doc fix.
3678 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
3680         * minibuffer.el (completion-category-overrides): New completion
3681         category `bookmark' (bug#11131).
3683 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3685         * emacs-lisp/advice.el (ad-assemble-advised-definition):
3686         Silence bogus compiler warnings for ad-do-it.
3688         * bookmark.el (bookmark-completing-read): Set the completion category
3689         to `bookmark' (bug#11131).
3691 2012-10-26  Bastien  <bzg@altern.org>
3692             Stefan Monnier  <monnier@iro.umontreal.ca>
3694         * face-remap.el: Use lexical-binding.
3695         (text-scale-adjust): Improve docstring.  Use itself for the temporary
3696         overlay-map bindings, so as to repeat the "Use..." message each time.
3698 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3700         * emacs-lisp/macroexp.el (macroexp--expand-all):
3701         Obey byte-compile-warning-enabled-p (bug#12486).
3703         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3704         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3706 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
3708         * mouse.el (mouse-drag-line): Move last form into preceding when
3709         clause (Bug#12731).
3711         * help.el (resize-temp-buffer-window): Fix doc-string.
3713 2012-10-25  David Engster  <deng@randomsample.de>
3715         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3716         Remove.  This feature is already integrated in imenu.
3718         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3719         always loaded.  Require `speedbar' unconditionally.
3721 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3723         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3725         * minibuffer.el (minibuffer-force-complete): Fix thinko.
3727         * net/ldap.el (ldap-search-internal): The official ldif format starts
3728         with a "version: 1" header (bug#12724).
3730         * emacs-lisp/package.el (package-installed-p): Warn if not ready
3731         (bug#12721).
3733 2012-10-25  Glenn Morris  <rgm@gnu.org>
3735         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3737 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3739         * minibuffer.el (minibuffer-force-complete): Use one more marker
3740         for the temporary-overlay-map command (bug#12619).
3742 2012-10-24  Chong Yidong  <cyd@gnu.org>
3744         * time.el (display-time-world-mode): Derive from special-mode.
3745         (display-time-world): Use display-buffer (Bug#12708).
3746         (display-time-world-mode-map): Variable deleted.
3747         (display-time-world-display): Wrap the final delete-char inside
3748         inhibit-read-only.
3750 2012-10-24  Chong Yidong  <cyd@gnu.org>
3752         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3753         Doc fix.
3755         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3757 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3759         * minibuffer.el (completion--all-sorted-completions-location): New var.
3760         (completion--cache-all-sorted-completions)
3761         (completion--flush-all-sorted-completions): Use it.
3762         (completion-in-region, completion-in-region--postch)
3763         (completion-at-point, completion-help-at-point): Use markers in
3764         completion-in-region--data (bug#12619).
3766 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3768         * progmodes/compile.el (compilation-start): Try to handle common
3769         quoting of `cd' argument (bug#12640).
3771         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3772         (bug#12671).
3774 2012-10-23  Glenn Morris  <rgm@gnu.org>
3776         * progmodes/gud.el (gud-menu-map):
3777         Check gdb-active-process is bound.  (Bug#12358)
3779 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3781         * repeat.el (repeat): Set real-this-command (bug#12232).
3783         * htmlfontify.el (hfy-post-html-hook):
3784         * filesets.el (filesets-cache-fill-content-hook):
3785         * arc-mode.el (archive-extract-hook):
3786         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3787         * net/rcirc.el (rcirc-sentinel-functions)
3788         (rcirc-receive-message-functions, rcirc-activity-functions)
3789         (rcirc-print-functions):
3790         * net/dbus.el (dbus-event-error-functions):
3791         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3792         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3793         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3794         * term/sun.el (sun-raw-prefix-hooks):
3795         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3797 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
3799         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3800         Set `tramp-chunksize' to 1.  This improves the performance.
3801         (tramp-smb-wait-for-output): Add timeout to
3802         `tramp-accept-process-output' calls.
3804 2012-10-23  Chong Yidong  <cyd@gnu.org>
3806         * faces.el (font-list-limit): Define as an obsolete variable.
3808         * startup.el (command-line):
3809         * cus-start.el: Don't refer to font-list-limit.
3811         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3813 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3815         * subr.el (internal-temp-output-buffer-show): Rename from
3816         temp-output-buffer-show, since previously compiled files expect this name.
3818 2012-10-23  Glenn Morris  <rgm@gnu.org>
3820         * image.el (image-type-from-file-name): If multiple types match,
3821         return the first one that is supported.  (Bug#9045)
3823 2012-10-22  Glenn Morris  <rgm@gnu.org>
3825         * image.el (imagemagick-enabled-types): Doc fix.
3827 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
3829         * progmodes/which-func.el (which-func-current): The hash-table may have
3830         an explicit nil (bug#12338).
3832 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3834         * electric.el (electric-pair-delete-selection-self-insert-function):
3835         Rename to electric-pair-will-use-region, return a boolean.
3836         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
3838         * delsel.el (delete-selection-helper): Use a function instead of a hook.
3839         (delete-selection-pre-hook): Use use-region-p.
3840         (delete-selection-self-insert-function): Remove.
3841         (self-insert-command): Obey self-insert-uses-region-functions.
3842         (self-insert-iso): Revert to previous setting, since we don't actually
3843         know what that command does.
3844         (delete-selection-self-insert-hooks): Remove.
3846 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
3848         * delsel.el (delete-selection-helper): New function, extracted from
3849         delete-selection-pre-hook.
3850         (delete-selection-pre-hook): Use it.
3851         (delete-selection-self-insert-function): New function.
3852         (delete-selection-self-insert-hooks): New hook.
3853         (self-insert-command, self-insert-iso): Use it.
3854         * electric.el (electric-pair-syntax): New function, extracted from
3855         electric-pair-post-self-insert-function.
3856         (electric-pair-post-self-insert-function): Use it.
3857         (electric-pair-delete-selection-self-insert-function): New function.
3858         (electric-pair-mode): Require delsel and setup
3859         delete-selection-self-insert-hooks (bug#11520).
3861 2012-10-20  Chong Yidong  <cyd@gnu.org>
3863         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3864         no changes to show (Bug#12586).
3866         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3867         list explicitly (Bug#12571).
3869 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
3871         * progmodes/flymake.el (flymake-create-temp-inplace):
3872         Use file-truename.
3874 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
3876         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
3878 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
3880         * calc/calc-units.el (math-extract-units): Properly extract powers
3881         of units.
3883 2012-10-20  Daniel Colascione  <dancol@dancol.org>
3885         * frame.el (make-frame): Set x-display-name as we used to in order
3886         to unbreak creating an X11 frame from an Emacs daemon started
3887         without a display.
3889 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3891         * minibuffer.el (minibuffer-force-complete): Make the next completion use
3892         the same completion-field (bug#12221).
3894 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
3896         * emacs-lisp/debug.el (debug): Record height of debugger window
3897         also when debugger will be back (Bug#8789).
3899 2012-10-18  Chong Yidong  <cyd@gnu.org>
3901         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3902         Convert to defcustom.
3903         (gdb-get-source-file): Don't bind pop-up-windows.
3905         * progmodes/gud.el (gud-display-line): Don't specially re-use
3906         other frames for the gdb-mi case (Bug#12648).
3908 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3910         * emacs-lisp/advice.el: Clean up commentary a bit.
3911         (ad-do-advised-functions, ad-with-originals): Use `declare'.
3912         (byte-code-function-p): Never redefine.
3914         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3916 2012-10-18  Glenn Morris  <rgm@gnu.org>
3918         * dired.el (dired-sort-toggle): Some ls implementations only allow
3919         a single option string.  (Bug#12666)
3921         * minibuffer.el (completion-cycle-threshold): Doc fix.
3923 2012-10-17  Kenichi Handa  <handa@gnu.org>
3925         * international/mule.el (set-keyboard-coding-system):
3926         Recover input meta mode when the new coding system doesn not use 8-bit.
3927         Supply TERMINAL arg to set-input-meta-mode.
3929 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
3931         * wdired.el (wdired-old-marks): New variable.
3932         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3933         (wdired-do-renames): Move point with renamed file and don't lose
3934         mark status (Bug#11795).
3936 2012-10-16  Juri Linkov  <juri@jurta.org>
3938         * replace.el (query-replace-help): Mention multi-buffer replacement
3939         keys in the Help message.  (Bug#12655)
3941 2012-10-15  Chong Yidong  <cyd@gnu.org>
3943         * emacs-lisp/byte-run.el (defsubst): Doc fix.
3945 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
3947         * window.el (display-buffer): Doc fix.
3949         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3950         Adjust the msft regexp to the output of Studio 2010, and move msft
3951         before edg-1.  See the discussion on emacs-devel,
3952         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3953         for the details.
3955 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3957         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3958         (oset): Move uses of object-class-fast macro after its definition.
3960         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3962 2012-10-13  Chong Yidong  <cyd@gnu.org>
3964         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3965         enabled, re-enable it (Bug#11963).
3967 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
3969         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3970         non-nil, restore window configuration (Bug#12623).
3972 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3974         * help-fns.el (describe-variable, describe-function-1):
3975         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3977         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3979 2012-10-12  Glenn Morris  <rgm@gnu.org>
3981         * mail/rmailsum.el (rmail-header-summary):
3982         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
3984 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
3986         * progmodes/python.el (python-mode-map):
3987         Replace subtitute-key-definition with proper command remapping.
3988         (python-nav--up-list): Fix behavior for blocks on the same level.
3990 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3992         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
3994         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3995         changes to the format of load-history.
3997         * international/mule-cmds.el (read-char-by-name): Move let-binding of
3998         completion-ignore-case in case that var is buffer-local (bug#12615).
4000 2012-10-11  Kenichi Handa  <handa@gnu.org>
4002         * international/eucjp-ms.el: Re-generated.
4004 2012-10-10  Kenichi Handa  <handa@gnu.org>
4006         * select.el (xselect--encode-string): If a coding is specified for
4007         selection, and that is compatible with COMPOUND_TEXT, use it.
4009 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
4011         * window.el (switch-to-buffer-preserve-window-point): New option.
4012         (switch-to-buffer):
4013         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4015 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4017         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4018         Don't document nil as a useful value (bug#12583).
4020 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
4022         * net/tramp.el (tramp-debug-message):
4023         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4024         (with-tramp-progress-reporter): Rename from
4025         `tramp-with-progress-reporter'.
4026         (with-tramp-file-property, with-tramp-connection-property):
4027         Move from tramp-cache.el, rename from `with-file-property' and
4028         `with-connection-property', respectively.
4030         * net/tramp-cache.el: Remove `with-file-property' and
4031         `with-connection-property'.
4033         * net/tramp.el:
4034         * net/tramp-gvfs.el:
4035         * net/tramp-sh.el:
4036         * net/tramp-smb.el: Adapt callees.
4038         * net/trampver.el: Update release number.
4040 2012-10-09  Glenn Morris  <rgm@gnu.org>
4042         * w32-fns.el (set-message-beep):
4043         * term/w32-win.el (set-message-beep): Update declarations.
4045 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4047         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4048         (mode-line-widen, mode-line-input-method-map)
4049         (mode-line-coding-system-map, mode-line-remote)
4050         (mode-line-unbury-buffer, mode-line-bury-buffer)
4051         (mode-line-next-buffer, mode-line-previous-buffer):
4052         Replace save-selected-window+select-window => with-selected-window.
4054         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4055         * progmodes/cc-vars.el (bq-process): Remove, unused.
4057         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4059 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
4061         Implemented `backward-up-list'-like navigation.
4062         * progmodes/python.el (python-nav-up-list)
4063         (python-nav-backward-up-list): New functions.
4064         (python-mode-map): Define substitute key for backward-up-list to
4065         python-nav-backward-up-list.
4067 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
4069         * progmodes/python.el (python-fill-paragraph): Rename from
4070         python-fill-paragraph-function.  Fixed fill-paragraph for
4071         decorators (Bug#12605).
4073 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
4075         * progmodes/python.el (python-shell-output-filter): Handle extra
4076         carriage return in OSX (Bug#12409).
4078 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
4080         Fix shell handling of unbalanced quotes and parens in output.
4081         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4082         (python-syntax-propertize-function): Use it.
4083         (python-shell-output-syntax-table): New var.
4084         (inferior-python-mode): Prevent unbalanced parens/quotes from
4085         previous output mess with current input context.
4087 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
4089         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4090         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4092 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
4094         * ffap.el (ffap-replace-file-component): Support Tramp file name
4095         syntax, not only ange-ftp's one.
4097 2012-10-08  Glenn Morris  <rgm@gnu.org>
4099         * cus-start.el (message-log-max): Set :version.
4101         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4103 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
4105         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4106         the minibuffer window (Bug#10851).
4108 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
4110         Enhancements on forward-sexp movement.
4111         * progmodes/python.el (python-nav-beginning-of-statement)
4112         (python-nav-end-of-statement): Return point-marker.
4113         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4114         (python-info-current-symbol)
4115         (python-info-statement-starts-block-p): Rename from
4116         python-info-beginning-of-block-p.
4117         (python-info-statement-ends-block-p): Rename from
4118         python-info-end-of-block-p.
4119         (python-info-beginning-of-statement-p)
4120         (python-info-end-of-statement-p)
4121         (python-info-beginning-of-block-p, python-info-end-of-block-p):
4122         New functions.
4124 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4126         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4127         frame-selected-windows.
4129 2012-10-08  Daniel Colascione  <dancol@dancol.org>
4131         * battery.el (battery-status-function): Check for
4132         w32-battery-status itself, not system-time windows-nt.
4134         * frame.el: Require cl-lib.
4135         (display-format-alist): New variable mapping frame types to
4136         functions that initialize them.
4137         (window-system-for-display): New function: interprets
4138         display-format-alist.
4139         (make-frame-on-display): Remove existing display-selection logic
4140         and just forward to make-frame, which will now DTRT.
4141         (make-frame): Restructure to use window-system-for-display to
4142         figure out how to create a frame on a given display.
4143         (display-mouse-p): Look for frame-type w32, not a particular
4144         system-type.
4146         * loadup.el: Load w32 lisp code when we have the w32 feature.
4148         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4149         system-type windows-nt.
4151         * server.el (server-create-window-system-frame): Look for window
4152         type.
4153         (server-proces-filter): Only force a window system when windows-nt
4154         _and_ w32.  Explain why.
4156         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4157         of window systems we configure for the mode.
4159         * startup.el (command-line): Mark window system is initialized
4160         after we've done it.
4162         * common-win.el (x-select-text): Look for w32, not windows-nt.
4164         * ns-win.el: Require cl-lib.  Add ourselves to
4165         display-format-alist.
4166         (ns-initialize-window-system): Assert we're not initialized twice.
4168         * w32-win.el: Enable lexical binding; require cl-lib; add
4169         ourselves to display-format-alist.
4170         (w32-handle-dropped-file): Convert incoming dropped files from
4171         Windows paths to Cygwin ones before passing them on to the rest of
4172         Emacs.
4173         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
4174         (w32-initialize-window-system): Assert we're not initialized twice.
4176         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4177         (x-initialize-window-system): Assert we're not initialized twice.
4179         * w32-common-fns.el: New File.
4180         (w32-version, w32-using-nt, w32-get-clipboard-data)
4181         (w32-set-clipboard-data, x-set-selection, x-get-selection)
4182         (w32-charset-info-alist, x-last-selected, text)
4183         (x-get-selection-value, x-selection-value): Move here.
4185         * w32-fns.el: Require w32-common-fns.
4186         (w32-version, w32-using-nt, w32-get-clipboard-data)
4187         (w32-set-clipboard-data, x-set-selection, x-get-selection)
4188         (w32-charset-info-alist, x-last-selected, text)
4189         (x-get-selection-value, x-selection-value): Move to
4190         w32-common-fns.
4192         * w32-vars.el:
4193         (w32-allow-system-shell, w32-system-shells): Define only in
4194         non-cygwin case.
4196 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4198         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4199         (read-passwd): Remove a few more potential sources of leaks.
4201 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
4203         * progmodes/python.el (inferior-python-mode)
4204         (python-shell-make-comint): Fix initialization of local
4205         variables copied from parent buffer.
4207 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
4209         * term/ns-win.el (ns-read-file-name): Update declaration to match
4210         nsfns.m.
4211         (ns-respond-to-change-font): Change fontsize separatly so we are sure
4212         it is set when font is acted upon.
4214 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
4216         Enhancements to indentation.
4217         * progmodes/python.el (python-indent-context): Give priority to
4218         inside-string context.  Make comments indentation markers.
4219         (python-indent-region): Do not mess with strings, unless it's the
4220         enclosing set of quotes.
4222 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4224         * window.el (internal--before-save-selected-window)
4225         (internal--after-save-selected-window): New functions extracted from
4226         save-selected-window.  Make sure we return the `alist' we construct.
4227         (save-selected-window): Use them.
4229         * textmodes/tex-mode.el (tex-recenter-output-buffer):
4230         Use with-selected-window.
4232         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4233         forms that define macros (bug#12593).
4235 2012-10-07  Kenichi Handa  <handa@gnu.org>
4237         * international/mule-conf.el (compound-text-with-extensions):
4238         Add :mime-charset property as x-ctext.
4240 2012-10-07  Stefan Merten  <smerten@oekonux.de>
4242         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4243         (rst-indent-literal-normal, rst-indent-literal-minimized)
4244         (rst-indent-comment): Correct :version tag.
4245         (rst-official-cvs-rev): Correct version string.
4247 2012-10-07  Glenn Morris  <rgm@gnu.org>
4249         * mail/rmailmm.el (rmail-mime-process-multipart):
4250         Do not confuse a multipart message with an epilogue
4251         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
4253 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
4255         Fix shell output retrieval and comint-prompt-regexp init.
4256         * progmodes/python.el (inferior-python-mode):
4257         (python-shell-make-comint): Fix initialization of
4258         comint-prompt-regexp from copied file local variables.
4259         (python-shell-fetched-lines): Remove var.
4260         (python-shell-output-filter-in-progress): Rename from
4261         python-shell-fetch-lines-in-progress.
4262         (python-shell-output-filter-buffer): Rename from
4263         python-shell-fetch-lines-string.
4264         (python-shell-fetch-lines-filter): Delete function.
4265         (python-shell-output-filter): New function.
4266         (python-shell-send-string-no-output): Use them.
4268 2012-10-07  Glenn Morris  <rgm@gnu.org>
4270         * hi-lock.el (hi-lock-process-phrase):
4271         Try to make it less fragile.  (Bug#7161)
4273         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4275 2012-10-06  Glenn Morris  <rgm@gnu.org>
4277         * ehelp.el (electric-help-mode): Use help-mode rather than
4278         non-existent mode `help'.
4279         (electric-help-map): Use button-buffer-map.  (Bug#10917)
4281         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4282         (reftex-create-bibtex-footer): Fix custom types.
4284         * progmodes/sh-script.el (sh-indent-after-continuation):
4285         Add explicit :group.
4287         * textmodes/rst.el (rst-preferred-decorations)
4288         (rst-shift-basic-offset): Clarify obsolescence versions.
4290         * profiler.el (profiler): Add missing group :version tag.
4291         * avoid.el (mouse-avoidance-banish-position):
4292         * proced.el (proced-renice-command):
4293         * calc/calc.el (calc-ensure-consistent-units):
4294         * calendar/icalendar.el (icalendar-import-format-uid):
4295         * net/tramp.el (tramp-save-ad-hoc-proxies):
4296         * progmodes/bug-reference.el (bug-reference-bug-regexp):
4297         * progmodes/flymake.el (flymake-error-bitmap)
4298         (flymake-warning-bitmap, flymake-fringe-indicator-position):
4299         * progmodes/sh-script.el (sh-indent-after-continuation):
4300         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4301         (verilog-before-save-font-hook, verilog-after-save-font-hook):
4302         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4303         (vhdl-array-index-record-field-in-sensitivity-list)
4304         (vhdl-indent-comment-like-next-code-line):
4305         * textmodes/reftex-vars.el (reftex-ref-style-alist)
4306         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4307         (reftex-cite-key-separator, reftex-create-bibtex-header)
4308         (reftex-create-bibtex-footer):
4309         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4310         (rst-indent-literal-normal, rst-indent-literal-minimized)
4311         (rst-indent-comment): Add missing custom :version tags.
4313         * calendar/timeclock.el (timeclock-modeline-display):
4314         Add missing obsolete alias for renamed user option.
4316         * strokes.el (strokes-modeline-string):
4317         * emulation/crisp.el (crisp-mode-modeline-string):
4318         * eshell/esh-mode.el (eshell-status-in-modeline):
4319         Aliases to defcustoms must come before the defcustom.
4321         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4322         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4323         (cal-tex-cursor-week-monday): Doc fixes.
4324         (cal-tex-cursor-week2-summary): Doc fix.
4325         Rename from cal-tex-cursor-week-at-a-glance.
4327         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4328         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
4330         * calendar/calendar.el (calendar-mode-map):
4331         Add cal-tex-cursor-week2-summary.
4333 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4335         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4337         * subr.el (read-passwd-map): New var.
4338         (read-passwd): Use `read-string' again.
4339         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4341 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
4343         * register.el (append-to-register, prepend-to-register):
4344         Deactivate mark, as does `copy-to-register' (bug#12389).
4346 2012-10-06  Chong Yidong  <cyd@gnu.org>
4348         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4350 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
4352         * international/characters.el: Fix simple mistake ((car chars) ->
4353         elt), delete duplicated code.
4355 2012-10-06  Glenn Morris  <rgm@gnu.org>
4357         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
4359 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
4361         * color.el (color-hsl-to-rgb): Fix incorrect results for
4362         small and large hue values.  (Bug#12559)
4364 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
4366         Enhancements to docstring formatting when filling paragraphs.
4367         * progmodes/python.el (python-fill-docstring-style): Rename from
4368         python-fill-string-style.  Added new style.
4369         (python-fill-string): Use new style.  Better checks for
4370         docstrings.
4372 2012-10-05  Glenn Morris  <rgm@gnu.org>
4374         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4376         * color.el (color-name-to-rgb, color-rgb-to-hex)
4377         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4378         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4379         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4380         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4382         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
4384 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
4386         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4387         to get the correct size across symlinks.
4389         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4391 2012-10-04  Juri Linkov  <juri@jurta.org>
4393         * replace.el (query-replace-interactive): Declare obsolete.
4394         (query-replace-read-from): Add the last incremental search string
4395         to the list of default values accessible via M-n.
4396         (map-query-replace-regexp): Use `read-regexp'.
4397         (query-replace, query-replace-regexp, query-replace-regexp-eval)
4398         (map-query-replace-regexp, replace-string, replace-regexp):
4399         Fix docstrings to replace mentions of `query-replace-interactive'
4400         with alternatives.  (Bug#12526)
4402 2012-10-04  Juri Linkov  <juri@jurta.org>
4404         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
4405         (dired-pop-to-buffer): Declare obsolete.
4406         (dired-mark-pop-up): Doc fix.
4408 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
4410         Allow user to set docstring style for fill-paragraph.
4411         * progmodes/python.el
4412         (python-fill-comment-function, python-fill-string-function)
4413         (python-fill-decorator-function, python-fill-paren-function):
4414         Remove :safe for defcustoms.
4415         (python-fill-string-style): New defcustom
4416         (python-fill-paragraph-function): Enhance context detection.
4417         (python-fill-string): Honor python-fill-string-style settings.
4419 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
4421         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4422         after setting its buffer (Bug#10805).
4424 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
4426         Fix cornercase for string syntax.
4427         * progmodes/python.el (python-syntax-propertize-function):
4428         Simplify and enhance the regexp for unescaped quotes.  Now it also
4429         matches quotes in weird situations like the single quote in
4430         "something\"'".
4431         (python-syntax-stringify): Simplify num-quotes detecting code.
4433 2012-10-03  Glenn Morris  <rgm@gnu.org>
4435         * help-macro.el (three-step-help):
4436         Revert 2012-09-29 change.  (Bug#12567)
4438 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
4440         * menu-bar.el (kill-this-buffer): Don't do anything when
4441         `menu-frame' is not alive or visible (Bug#8184).
4443         * emacs-lisp/debug.el (debug): When quitting the debugger window
4444         restore current buffer (Bug#12502).
4446 2012-10-02  Chong Yidong  <cyd@gnu.org>
4448         * progmodes/hideif.el (hif-lookup, hif-defined):
4449         Handle semantic-c-takeover-hideif.
4451 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
4453         Change sampling interval units from ms to ns.
4454         * profiler.el (profiler-sampling-interval): Change units
4455         from ms to ns, multiplying the default by 1000000 so that
4456         it remains 1 ms.
4457         (profiler-report-cpu-line-format): Give enough room for
4458         the maximum counters on 64-bit hosts.
4459         (profiler-report-render-calltree-1): Call them "CPU samples",
4460         not "Time (ms)", since they are not milliseconds now (and
4461         never really were).
4463 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
4465         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4466         Fix querying BBDB for entries without a last name (Bug#11580).
4468 2012-10-02  Chong Yidong  <cyd@gnu.org>
4470         * emacs-lisp/eieio.el: Restore Version header.
4472 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4474         * vc/diff-mode.el (diff--auto-refine-data): New var.
4475         (diff-hunk): Use it to delay refinement.
4476         (diff-mode): Remove overlays when we turn off font-lock.
4478         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4479         (table-initialize-table-fixed-width-mode)
4480         (table-set-table-fixed-width-mode): Remove functions.
4481         (table-command-list): Move initialization into declaration.
4482         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4483         (table-with-cache-buffer): Use `declare'.
4484         (table-span-cell): Simplify via CSE.
4485         (table-fixed-width-mode): Use define-minor-mode.
4486         (table-call-interactively, table-funcall, table-apply): Remove.
4487         (table-function): New function, to replace them.
4489         * bookmark.el (bookmark-search-pattern): Remove var.
4490         (bookmark-read-search-input): Remove function.
4491         (bookmark-bmenu-search): Reimplement using a minibuffer.
4493         * faces.el (modeline): Remove obsolete face name.
4495         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4496         and give a non-nil default value.
4497         (add-change-log-entry): Simplify accordingly.
4499 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
4501         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4502         (vc-git-log-edit-toggle-amend): New function.
4503         (vc-git-log-edit-toggle-signoff): New function.
4504         (vc-git-log-edit-mode): New major mode.
4505         (vc-git-log-edit-mode-map): Keymap for it.
4506         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4508         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4509         header names.
4510         (log-edit-toggle-header): New function.
4511         (log-edit-extract-headers): Accept function values in HEADERS alist.
4513 2012-10-01  David Engster  <deng@randomsample.de>
4515         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4516         from symbol property and change message to be more consistent with
4517         Emacs proper.
4518         (eieio-describe-generic): Add filename for each implementation.
4519         Fix indices for generic and normal methods.
4520         (eieio-method-def, eieio-class-def): New buttons.
4521         (eieio-help-find-method-definition)
4522         (eieio-help-find-class-definition): New functions.
4523         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4524         class, constructor and method definitions.
4526         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4527         information in symbol property.
4528         (scoped-class): Remove.
4529         (eieio-slot-name-index, call-next-method): Check if it is bound.
4531 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
4533         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4534         (eieio-custom-mode): New major mode.
4535         (eieio-customize-object): Use it.
4537 2012-10-01  Eric Ludlam  <zappo@gnu.org>
4539         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4540         specifying the expected class, and whether subclassing is allowed.
4541         (eieio-persistent-convert-list-to-object):
4542         (eieio-persistent-validate/fix-slot-value)
4543         (eieio-persistent-slot-type-is-class-p): New functions.
4544         (eieio-named::slot-missing): Doc fix.
4546         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4547         Stop using unused publd variable.
4549         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4550         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4551         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4552         (eieio-speedbar-handle-click): Do not specify a class for the
4553         method.  Fixes method invocation order problems with EDE.
4555 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4557         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4558         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4560 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
4562         * bookmark.el (bookmark-version-control): Give tags in the
4563         :type choices (Bug#12309), and improve doc string.
4564         (bookmark-write-file): Bind `print-circle' to `t' to allow
4565         circular custom bookmark types.  (Bug#12503)
4567 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
4569         Revert the FOLLOW-SYMLINKS change for file-attributes.
4570         * files.el (remote-file-name-inhibit-cache, after-find-file):
4571         * time.el (display-time-file-nonempty-p): Undo last change.
4573         * profiler.el (profiler-sampling-interval): Change default back to 1.
4574         See Stefan Monnier in
4575         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4577 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
4579         Shell output catching a la gud-gdb.
4580         * progmodes/python.el (python-shell-fetch-lines-in-progress)
4581         (python-shell-fetch-lines-string, python-shell-fetched-lines):
4582         New Vars.
4583         (python-shell-fetch-lines-filter): New function.
4584         (python-shell-send-string-no-output): Use them.
4586 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
4588         * profiler.el (profiler-sampling-interval): Rename from
4589         profiler-sample-interval.
4590         (profiler-sampling-interval): Default to 10.
4591         (profiler-find-profile): New command (was profiler-find-log).
4592         (profiler-find-profile-other-window): New command.
4593         (profiler-find-profile-other-frame): New command.
4594         (profiler-profile): Introduce API-level data structure.
4596 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
4598         file-attributes has a new optional arg FOLLOW-SYMLINKS.
4599         * files.el (remote-file-name-inhibit-cache):
4600         * time.el (display-time-file-nonempty-p): Use it.
4601         * files.el (after-find-file): Don't chase links before calling
4602         file-exists-p, as file-exists-p already does the right thing.
4604 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
4606         Merge from standalone RefTeX repository.
4608         The following ChangeLog entries are shortened versions of the
4609         original ones with file paths adapted.  A not so strongly edited
4610         version of the original ChangeLog can be found in the commit log.
4612         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4613         (reftex-arg-cite): Use `reftex-cite-key-separator'.
4614         Correctly handle new value type returned by `reftex-citation'.
4616         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4617         that entries with whitespace at various places are found.
4618         Doc fix. Include entries that are cross-referenced from cited entries.
4619         Include @String definitions in the resulting bib file.  Add header
4620         and footer defined in `reftex-create-bibtex-header' and
4621         `reftex-create-bibtex-footer'.
4622         (reftex-do-citation): Make it possible again to insert
4623         non-existent entries.  Save match data when asking for optional
4624         arguments. Return all keys, not just the first one.
4625         (reftex-all-used-citation-keys): Fix regexp to correctly extract
4626         all citations in the same line.
4627         (reftex-parse-bibtex-entry): Accept additional optional argument
4628         `raw' and keep quotes or braces if it is non-nil.  Match fields
4629         containing hyphens besides word constituents.
4630         (reftex-get-string-refs): New function.
4631         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4632         and ask if it should be reread in case it did.
4633         (reftex-pop-to-bibtex-entry)
4634         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4635         entries with spaces or tabs in front of arguments.
4636         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4637         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4638         Match entries containing numbers and symbol constituents.
4639         (reftex-do-citation, reftex-figure-out-cite-format):
4640         Use `reftex-cite-key-separator'.
4642         * textmodes/reftex-dcr.el: Move provide statement to end of file.
4643         (reftex-mouse-view-crossref): Explain why point is set.
4645         * textmodes/reftex-global.el: Whitespace changes.
4647         * textmodes/reftex-index.el: Move provide statement to end of
4648         file.
4649         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4650         (reftex-index-visit-phrases-buffer): Set marker when visiting
4651         buffer.  This allows for returning from the phrases file to the
4652         file one was just editing instead of the file where the last
4653         phrases was added from.
4654         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
4655         punctuation syntax as it usually is not used as string quote in
4656         TeX-related modes and may occur unmatched.  The change also
4657         prevents fontification of quoted content.
4658         (reftex-index-phrases-mode): Use it.
4660         * textmodes/reftex-parse.el (reftex-parse-from-file):
4661         Move backward one char if a `\' was matched after a section macro.
4662         (reftex-parse-from-file): Use beginning of match instead of end as
4663         bound.
4665         * textmodes/reftex-ref.el: Adapt creation of
4666         `reftex-<package>-<macro>' functions to new structure of
4667         `reftex-ref-style-alist'.
4668         (reftex-reference): Use `reftex-ref-style-list' function.
4669         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
4670         reference macro if `reftex-ref-macro-prompt' is non-nil.
4671         (reftex-reference): Pass refstyle to `reftex-format-special'.
4672         Determine reference macro by looking at
4673         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4674         Use only one special format function.
4675         (reftex-varioref-vref, reftex-fancyref-fref)
4676         (reftex-fancyref-Fref): Remove definitions.  The functions are now
4677         generated from `reftex-ref-style-alist'.
4678         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4679         Remove.
4680         (reftex-format-special): New function.
4682         * textmodes/reftex-sel.el
4683         (reftex-select-cycle-ref-style-internal): Adapt to new structure
4684         of `reftex-ref-style-alist'. Remove code for testing macro type.
4685         (reftex-select-toggle-varioref)
4686         (reftex-select-toggle-fancyref): Remove.
4687         (reftex-select-cycle-ref-style-internal)
4688         (reftex-select-cycle-ref-style-forward)
4689         (reftex-select-cycle-ref-style-backward): New functions.
4690         (reftex-select-label-map): Use `v' and `V' for general cycling
4691         through reference styles.  Add `p' for switching between number
4692         and page reference types.
4694         * textmodes/reftex-toc.el (reftex-re-enlarge):
4695         Call `enlarge-window' only if there is something to do because in Emacs
4696         the horizontal version throws an error even if the parameter is 0.
4698         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4699         (reftex-plug-into-AUCTeX): Doc fix.
4700         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4701         string.  Adapt to new name.
4702         (reftex-ref-style-alist): Change structure so that it is not
4703         possible to use multiple different package names within a style.
4704         Remove the symbols for symbols for macro type distinction.
4705         Add characters for macro selection.
4706         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4707         (reftex-create-bibtex-footer): New variables.
4708         (reftex-format-ref-function): Mention third argument of special
4709         format function.
4710         (reftex-ref-style-alist, reftex-ref-style-default-list):
4711         New variables.
4712         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4713         to new implementation.  Mark as obsolete.  Add compatibility code
4714         for honoring the variable values in case they are set.
4715         (reftex-cite-format-builtin, reftex-bibliography-commands):
4716         Add support for ConTeXt.
4717         (reftex-format-ref-function, reftex-format-cite-function):
4718         Fix custom type.
4719         (reftex-cite-key-separator): New variable.
4721         * textmodes/reftex.el (reftex-syntax-table-for-bib)
4722         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4723         `reftex-syntax-table' because parens have to retain their paren
4724         syntax in order for parsing of BibTeX entries like @book(...) to
4725         work.
4726         (reftex-in-comment): Do not error out if `comment-start-skip' is
4727         not set.  Deal correctly with escaped comment characters.
4728         (reftex-tie-multifile-symbols): Add doc string.
4729         Initialize `reftex-ref-style-list'.
4730         (reftex-untie-multifile-symbols): Add doc string.
4731         (reftex-add-index-macros): Doc fix.
4732         (reftex-ref-style-activate, reftex-ref-style-toggle)
4733         (reftex-ref-style-list): New functions.
4734         (reftex-mode-menu): Use them.  Adapt to new structure of
4735         `reftex-ref-style-alist'.
4736         (reftex-select-with-char): Kill the RefTeX Select buffer when
4737         done.
4738         (reftex-remove-if): New function.
4739         (reftex-erase-all-selection-and-index-buffers)
4740         (reftex-mode-menu): Reference styles are now computed from
4741         `reftex-ref-style-alist'.  Fix typo.
4742         (reftex-report-bug): New function.
4743         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4744         algorithms with O(n log n).  Introduce optional argument SORT (not
4745         yet used).
4747 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
4749         Enhancements for triple-quote string syntax.
4750         * progmodes/python.el (python-syntax-propertize-function):
4751         Match both quote cases in one regexp.
4752         (python-syntax-stringify): Handle matches properly.
4754 2012-09-30  Juri Linkov  <juri@jurta.org>
4756         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4757         to nil around the call to `insert' to prevent
4758         directory time modification by lock_file.  (Bug#2295)
4759         * tar-mode.el (tar-summarize-buffer): Idem.
4761 2012-09-30  Juri Linkov  <juri@jurta.org>
4763         * facemenu.el (list-colors-sort): Add option "Luminance".
4764         (list-colors-sort-key): Implement it.
4766         * vc/diff-mode.el (diff-refine-removed):
4767         * vc/ediff-init.el (ediff-fine-diff-A):
4768         * vc/smerge-mode.el (smerge-refined-removed):
4769         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
4771 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
4773         * term/ns-win.el (x-file-dialog): New function.
4775 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
4777         * ido.el (ido-max-directory-size): Default to nil; the current
4778         default is small for POSIX systems, and impractical on Windows 7
4779         now that lstat returns directory sizes for NTFS.
4781 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
4783         In buffer display functions handle window-height/window-width
4784         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
4785         * window.el (window--display-buffer): New argument ALIST.
4786         Obey window-height and window-width alist entries.
4787         (window--try-to-split-window): New argument ALIST.
4788         Bind window-combination-limit to t when the window's size shall be
4789         changed and window-combination-limit equals `window-size'.
4790         (display-buffer-in-atom-window)
4791         (display-buffer-in-major-side-window)
4792         (display-buffer-in-side-window, display-buffer-same-window)
4793         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4794         (display-buffer-pop-up-window, display-buffer-below-selected)
4795         (display-buffer-at-bottom, display-buffer-in-previous-window)
4796         (display-buffer-use-some-window): Adjust all callers of
4797         window--display-buffer and window--try-to-split-window.
4798         (fit-frame-to-buffer): New option.
4799         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4800         is non-nil.
4801         (display-buffer-in-major-side-window): Evaluate window-height /
4802         window-width alist entries.
4804         * help.el (temp-buffer-resize-frames)
4805         (temp-buffer-resize-regexps): Remove options.
4806         (temp-buffer-resize-mode): Adjust doc-string.
4807         (resize-temp-buffer-window): Don't consult
4808         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
4809         temp-buffer-resize-frames.
4811         * dired.el (dired-mark-pop-up):
4812         Call display-buffer-below-selected with a fit-window-to-buffer alist
4813         entry.
4815 2012-09-30  Chong Yidong  <cyd@gnu.org>
4817         * server.el (server-host): Document the security implications.
4818         (server-auth-key): Doc fix.
4820         * startup.el (initial-buffer-choice): Doc fix.
4822         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4824         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4825         restriction change.
4827         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4829         * help-fns.el (help-fns--obsolete): Fix last change.
4831 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4833         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4834         (minor-mode-map-alist): Remove redundant code.
4836         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4837         visited in a buffer.
4838         (cvs-insert-visited-file): New function.
4839         (find-file-hook): Use it.
4841         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4843         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4844         chose face.
4845         (log-edit-empty-buffer-p): Don't require a space after a header.
4847         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4849         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4851         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4852         a proper minor-mode.
4854         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4856 2012-09-29  Glenn Morris  <rgm@gnu.org>
4858         * winner.el (winner-mode): Remove variable (let define-minor-mode
4859         handle it).
4860         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4861         Doc fixes.
4862         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4863         (winner-mode): Use define-minor-mode.
4865         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4866         the full definition in loaddefs, rather than duplicating it.
4868         * help-macro.el (three-step-help): No need to autoload defcustom.
4870         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4871         (inferior-lisp-program, inferior-lisp-load-command)
4872         (inferior-lisp-prompt, inferior-lisp-mode-hook):
4873         No need to autoload defcustoms.
4875         * hippie-exp.el (hippie-expand-try-functions-list)
4876         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4877         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4878         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
4879         (hippie-expand-only-buffers): No need to autoload defcustoms.
4880         * progmodes/vhdl-mode.el (vhdl-line-expand):
4881         Explicitly load hippie-exp, so it does not get autoloaded
4882         while hippie-expand-try-functions-list is let-bound.
4884 2012-09-28  Glenn Morris  <rgm@gnu.org>
4886         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4888         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4889         Only "cl.el" counts as cl these days.
4891 2012-09-28  Juri Linkov  <juri@jurta.org>
4893         Display archive errors in the echo area instead of inserting
4894         to the file buffer.
4896         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4897         to STDERR-TEST that can be a regexp matching a successful output.
4898         Create a temporary file and redirect stderr to it.  Search for
4899         STDERR-TEST in the stderr output and display it in the echo area
4900         if no match is found.
4901         (archive-extract-by-file): New function like
4902         `archive-extract-by-stdout' but extracting archives to files
4903         and looking for successful matches in stdout.  Function body is
4904         mostly copied from `archive-rar-extract'.
4905         (archive-rar-extract): Use `archive-extract-by-file'.
4906         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
4908 2012-09-28  Leo Liu  <sdl.web@gmail.com>
4910         * pcomplete.el (pcomplete-show-completions):
4911         Use minibuffer-message to make pcomplete usable in minibuffer.
4913         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4915 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4917         * type-break.el: Use lexical-binding.
4918         (type-break-mode): Use define-minor-mode.
4920         * emacs-lisp/pcase.el (pcase--mark-used): New.
4921         (pcase--u1): Use it (bug#12512).
4923         * custom.el (load-theme): Set buffer-file-name so the load is recorded
4924         in load-history with the right file name.
4926 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
4928         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4929         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4930         (doc-view-get-bounding-box): Make bounding box slicing work for
4931         ODF and DVI documents.
4933 2012-09-28  Glenn Morris  <rgm@gnu.org>
4935         * type-break.el (type-break-mode, type-break-interval)
4936         (type-break-good-rest-interval, type-break-keystroke-threshold):
4937         No need to autoload.
4938         (type-break-good-rest-interval, type-break-keystroke-threshold):
4939         Add :set-after.
4941 2012-09-28  Chong Yidong  <cyd@gnu.org>
4943         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4944         Add :version tag.
4946 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4948         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4950 2012-09-27  Glenn Morris  <rgm@gnu.org>
4952         * faces.el (x-display-name): Declare (for without-x builds).
4954         * linum.el (linum-format): Don't autoload it.  Improve :type.
4956         * progmodes/tcl.el: Don't require outline when compiling.
4957         (outline-regexp, outline-level): Declare.
4958         * textmodes/sgml-mode.el: Don't require outline when compiling.
4959         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4961         * term.el (term-ansi-reset):
4962         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
4964         * vc/vc.el (vc-next-action): Only gripe about committing read-only
4965         files for RCS and SCCS.  (Bug#9781)
4967 2012-09-27  Chong Yidong  <cyd@gnu.org>
4969         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4970         change; value should be t.
4972 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4974         * image-mode.el: Use lexical-binding.
4975         (image-mode-winprops): Use t to stand for the window of
4976         a buffer that's not displayed.
4977         * doc-view.el (doc-view-new-window-function): Handle the new
4978         t in winprops.
4979         (doc-view-enlarge): Make it a real nop if the size is not changed.
4980         (doc-view-display): Handle the case where the buffer is not (yet?)
4981         displayed in any window.
4982         (doc-view-saved-settings): New var.
4983         (doc-view-mode): Use it.
4984         (doc-view-fallback-mode): Set it.
4986         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4987         Set lexical-binding.
4988         (minibuffer-eldef-shorten-default): New var.
4989         (minibuffer-default-in-prompt-regexps): Use it for new default.
4990         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4992 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
4994         * international/uni-bidi.el:
4995         * international/uni-category.el:
4996         * international/uni-name.el:
4997         * international/uni-numeric.el: Regenerate.
4999 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
5000             Stefan Monnier  <monnier@iro.umontreal.ca>
5002         * profiler.el: New file.
5004 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5006         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5007         (testcover-reinstrument): Simplify with CSE.
5009 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
5011         * window.el (temp-buffer-window-setup): Fix typo in docstring.
5013 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
5015         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5016         (verilog-auto-input, verilog-auto-insert-lisp)
5017         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5018         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5019         (verilog-auto-unused, verilog-auto-wire)
5020         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5021         newline.  Reported by Andrew Jones.
5022         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5023         Reported by Brad Dobbie.
5024         (verilog-batch-delete-trailing-whitespace):
5025         Create verilog-batch-delete-trailing-whitespace.
5026         Reported by Brad Dobbie.
5027         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5028         parameters from another module.  Reported by Dan Katz.
5029         (verilog-auto, verilog-auto-assign-modport)
5030         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5031         AUTOINOUTMODPORT for UVM interface module shell generation.
5032         Reported by Brad Dobbie.
5033         (verilog-auto-inst-interfaced-ports): Make default nil, as more
5034         standard behavior.
5035         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5036         Reported by Matt Martin.
5038 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
5040         * window.el (window--resize-child-windows): When resizing child
5041         windows proportionally, process them in reverse order to
5042         preserve the "when splitting a window the new one gets the odd
5043         line" behavior.
5044         (window--resize-root-window-vertically): When resizing the
5045         minibuffer window try to affect only windows at the bottom of the
5046         frame.  (Bug#12419)
5048 2012-09-25  Chong Yidong  <cyd@gnu.org>
5050         * subr.el (declare): Doc fix.
5052         * help-fns.el (help-fns--obsolete): Handle macros properly.
5054 2012-09-25  Chong Yidong  <cyd@gnu.org>
5056         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5057         this function obsolete.
5059         * calendar/cal-x.el (calendar-two-frame-setup)
5060         (calendar-only-one-frame-setup, calendar-one-frame-setup):
5061         * calendar/calendar.el (american-calendar, european-calendar)
5062         (calendar-for-loop):
5063         * comint.el (comint-dynamic-simple-complete)
5064         (comint-dynamic-complete-as-filename, comint-unquote-filename):
5065         * desktop.el (desktop-load-default):
5066         * dired-x.el (dired-omit-here-always)
5067         (dired-hack-local-variables, dired-default-directory):
5068         * emacs-lisp/derived.el (derived-mode-class):
5069         * emacs-lisp/timer.el (timer-set-time-with-usecs):
5070         * emacs-lock.el (toggle-emacs-lock):
5071         * epa.el (epa-display-verify-result):
5072         * epg.el (epg-sign-keys, epg-start-sign-keys)
5073         (epg-passphrase-callback-function):
5074         * eshell/esh-util.el (eshell-for):
5075         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5076         (eshell-add-to-window-buffer-names):
5077         * files.el (locate-file-completion):
5078         * imenu.el (imenu-example--create-c-index)
5079         (imenu-example--create-lisp-index)
5080         (imenu-example--lisp-extract-index-name)
5081         (imenu-example--name-and-position):
5082         * international/mule-cmds.el (princ-list):
5083         * international/mule-diag.el (decode-codepage-char):
5084         * international/mule-util.el (detect-coding-with-priority):
5085         * iswitchb.el (iswitchb-read-buffer):
5086         * mail/mailalias.el (mail-complete):
5087         * mail/sendmail.el (mail-sent-via):
5088         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5089         (mouse-major-mode-menu):
5090         * password-cache.el (password-read-and-add):
5091         * pcomplete.el (pcomplete-parse-comint-arguments):
5092         * progmodes/sh-script.el (sh-maybe-here-document):
5093         * replace.el (query-replace-regexp-eval):
5094         * savehist.el (savehist-load):
5095         * simple.el (choose-completion-delete-max-match):
5096         * term.el (term-dynamic-simple-complete):
5097         * vc/ediff-init.el (ediff-check-version):
5098         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5099         * vc/vc.el (vc-diff-switches-list):
5100         * view.el (view-return-to-alist-update): Likewise.
5102         * subr.el (eval-next-after-load, makehash, insert-string)
5103         (assoc-ignore-representation, assoc-ignore-case): Use declare to
5104         mark obsolete.
5105         (mode-line-inverse-video): Variable deleted.
5107         * international/mule-util.el (string-to-sequence): Remove.
5109         * calendar/calendar.el (calendar-version):
5110         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5111         (icalendar-convert-diary-to-ical):
5112         * cus-edit.el (custom-mode):
5113         * ansi-color.el (ansi-color-unfontify-region):
5114         * international/latin1-disp.el (latin1-char-displayable-p):
5115         * progmodes/cwarn.el (turn-on-cwarn-mode):
5116         * progmodes/which-func.el (which-func-update-1):
5117         Use define-obsolete-function-alias.
5119         * net/newst-backend.el (newsticker-cache-filename):
5120         * net/newst-treeview.el (newsticker-groups-filename):
5121         Fix incorrect obsolescence declaration.
5123         * allout.el (allout-passphrase-hint-string): Likewise.
5124         (allout-init): Use a declare form to mark obsolete.
5126         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5127         this applies to functions.
5129         * iswitchb.el (iswitchb-read-buffer): Move code of
5130         iswitchb-define-mode-map here, and delete that obsolete function.
5132         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5133         font-lock-reference-face.
5135 2012-09-25  Glenn Morris  <rgm@gnu.org>
5137         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5138         Doc fixes.
5140         * eshell/em-term.el (eshell-term-name):
5141         Default to term-term-name.  (Bug#12485)
5143 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
5145         * progmodes/python.el (python-shell-send-buffer): Better handling
5146         of "if __name__ == '__main__':" conditionals when sending the buffer.
5148 2012-09-24  Glenn Morris  <rgm@gnu.org>
5150         * eshell/esh-cmd.el (eshell-find-alias-function):
5151         Tighten up file-name regexp.  (Bug#12499)
5153 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
5155         Enhancements for triple-quote string syntax.
5156         * progmodes/python.el (python-quote-syntax): Remove.
5157         (python-syntax-propertize-function): New value.
5158         (python-syntax-count-quotes, python-syntax-stringify):
5159         New functions.
5161 2012-09-24  Chong Yidong  <cyd@gnu.org>
5163         * mail/supercite.el (sc-version): Remove obsolete function.
5164         (sc-describe): Don't mark as obsolete, since it is bound.
5165         (sc-submit-bug-report): Remove.
5167         * vc/log-edit.el (cvs-changelog-full-paragraphs)
5168         (cvs-commit-buffer-require-final-newline): Remove.
5169         (log-edit-require-final-newline)
5170         (log-edit-changelog-full-paragraphs): Default to t.
5172         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5173         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5174         * vc/vc.el (vc-checkout-carefully): Likewise.
5176         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5177         (emerge-version): Remove.
5179         * progmodes/compile.el (compile-internal): Remove.
5180         (compilation-parse-errors-function): Fix typo.
5182         * international/mule.el (set-char-table-default): Remove.
5183         (set-coding-priority, make-coding-system, generic-char-p)
5184         (charset-list, charset-bytes, charset-id): Use declare to mark
5185         functions as obsolete.
5187         * vc/pcvs-defs.el (cvs-buffer-name-alist)
5188         (cvs-invert-ignore-marks): Remove references to obsolete vars.
5189         * vc/vc-hooks.el (vc-default-registered): Don't use
5190         vc-master-templates.
5192         * font-lock.el (font-lock-reference-face):
5193         Use define-obsolete-variable-alias.
5195         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5196         * calendar/calendar.el (calendar-font-lock-keywords):
5197         * calendar/diary-lib.el (diary-font-lock-keywords)
5198         (diary-fancy-font-lock-keywords):
5199         * textmodes/reftex-sel.el (reftex-insert-docstruct):
5200         * textmodes/reftex-index.el (reftex-insert-index):
5201         * textmodes/reftex-cite.el (reftex-format-bib-entry):
5202         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5203         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5204         * progmodes/prolog.el (prolog-font-lock-keywords):
5205         * progmodes/idlwave.el (idlwave-idl-keywords):
5206         * progmodes/ada-mode.el (ada-font-lock-keywords):
5207         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5209 2012-09-24  Glenn Morris  <rgm@gnu.org>
5211         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5213 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
5215         * progmodes/python.el (python-indent-line): More consistent cursor
5216         movement behavior.
5218 2012-09-23  Stefan Merten  <smerten@oekonux.de>
5220         * textmodes/rst.el: Fix compiler warning.
5222 2012-09-23  Roland Winkler  <winkler@gnu.org>
5224         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5225         Transcribe also LaTeX hyphenation.
5226         (bibtex-reformat): Bug fix. Do not quote twice the elements of
5227         bibtex-reformat-previous-options.
5229 2012-09-23  Roland Winkler  <winkler@gnu.org>
5231         * proced.el (proced-renice-command): New variable.
5232         (proced-marked-processes): New function.
5233         (proced-with-processes-buffer): New macro.
5234         (proced-send-signal): Use them.
5235         (proced-renice): New command bound to r.
5237 2012-09-23  Roland Winkler  <winkler@gnu.org>
5239         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5240         ibuffer-saved-filter-groups has one element, shortcut the call of
5241         completing-read.  (Bug#12331)
5243 2012-09-23  Chong Yidong  <cyd@gnu.org>
5245         * bindings.el (mode-line-toggle-read-only):
5246         * bs.el (bs-toggle-readonly):
5247         * buff-menu.el (Buffer-menu-toggle-read-only):
5248         * dired.el (dired-toggle-read-only):
5249         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5251 2012-09-23  Chong Yidong  <cyd@gnu.org>
5253         * image.el (image-type-available-p): Adapt to init-image-library
5254         argument changes.
5256 2012-09-22  Juri Linkov  <juri@jurta.org>
5258         * dired.el (dired-mode-map): Add [remap read-only-mode] for
5259         `dired-toggle-read-only'.  (Bug#12462)
5261 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
5263         * subr.el (temp-output-buffer-show): New function.
5264         (with-output-to-temp-buffer): Call temp-output-buffer-show
5265         instead of internal-temp-output-buffer-show.
5267 2012-09-22  Chong Yidong  <cyd@gnu.org>
5269         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5270         (Bug#12462).
5272         * repeat.el (repeat): Doc fix (Bug#12348).
5274         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5275         (Bug#10909).
5277         * simple.el (shell-command-on-region): Doc fix.
5278         (read-only-mode): Doc fix.
5280 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
5282         * emacs-lisp/timer.el (run-with-idle-timer)
5283         (timer-activate-when-idle): Warn against reinvoking an idle timer
5284         from within its own timer action.  (Bug#12447)
5286 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
5288         * cus-start.el (window-combination-limit): Add new optional
5289         values.
5290         * window.el (temp-buffer-window-show)
5291         (window--try-to-split-window): Handle new values of
5292         window-combination-limit (Bug#1806).
5293         (split-window): Test window-combination-limit for t instead of
5294         non-nil.
5295         (display-buffer-at-bottom): New buffer display action function.
5296         * help.el (temp-buffer-resize-regexps): New option.
5297         (temp-buffer-resize-mode): Rewrite doc-string.
5298         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5299         Don't resize reused window.  Suggested by Glenn Morris.
5301 2012-09-22  Stefan Merten  <smerten@oekonux.de>
5303         * textmodes/rst.el: Revamp section title faces.
5304         (rst-official-version)
5305         (rst-package-emacs-version-alist): Sync with official version
5306         V1.4.0.
5307         (rst-faces-defaults, rst-set-level-default)
5308         (rst-level-face-max, rst-level-face-base-color)
5309         (rst-level-face-base-light, rst-level-face-format-light)
5310         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5311         (rst-adornment-faces-alist): Match new setup.
5312         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5313         (rst-level-5, rst-level-6): New faces.
5315 2012-09-22  Chong Yidong  <cyd@gnu.org>
5317         * simple.el (undo): Handle indirect buffers (Bug#8207).
5319 2012-09-21  Leo Liu  <sdl.web@gmail.com>
5321         IDO: Disable match re-ordering for buffer switching.
5322         * ido.el (ido-buffer-disable-smart-matches): New variable.
5323         (ido-set-matches-1): Use it.  (Bug#2042)
5325 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
5327         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5328         Fix 2011-05-17 change.  (Bug#12418)
5330 2012-09-21  Leo Liu  <sdl.web@gmail.com>
5332         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5334 2012-09-21  Glenn Morris  <rgm@gnu.org>
5336         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5337         Be more robust about locating simple.el.
5339 2012-09-21  Glenn Morris  <rgm@gnu.org>
5341         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5343 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
5345         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
5347 2012-09-20  Juri Linkov  <juri@jurta.org>
5349         * replace.el (query-replace-read-from): Use `read-regexp' instead
5350         of `read-from-minibuffer' when `regexp-flag' is non-nil.
5351         (occur-read-primary-args): Use `read-regexp' instead of
5352         `read-string'.
5353         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5354         `read-from-minibuffer'.
5355         * isearch.el (isearch-occur): Use `read-regexp' instead of
5356         `read-string'.
5357         * dired.el (dired-read-regexp): Use `read-regexp' instead of
5358         `read-from-minibuffer'.
5359         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5360         of `read-string'.  (Bug#7567)
5362         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5363         and allow accepting a list of strings prepended to a list of
5364         standard default values.  Doc fix.  (Bug#12321)
5366         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
5368         * replace.el (read-regexp): Don't add ": " when PROMPT already
5369         ends with a colon and space.  (Bug#12321)
5371 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
5373         * doc-view.el (doc-view-display): Better fix for the cl-assertion
5374         error.
5376 2012-09-20  Stefan Merten  <smerten@oekonux.de>
5378         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5379         Fixes feature request bug#11711.
5380         (rst-mode): Create `imenu-create-index-function'.
5381         (rst-get-stripped-line): Delete after refactoring.
5382         (rst-section-tree, rst-section-tree-rec)
5383         (rst-section-tree-point): Refactor and document properly.
5384         (rst-imenu-find-adornments-for-position)
5385         (rst-imenu-convert-cell, rst-imenu-create-index):
5386         New function.
5388 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5390         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5391         (macroexp--expand-all): Use it.
5392         (macroexp--funcall-and-return): Remove by folding it into its sole
5393         caller (macroexp--warn-and-return).
5394         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5395         Use macroexp--obsolete-warning.
5397         * calc/calc.el: Fix last change by removing the whole chunk, since it
5398         was only needed back when Calc was not bundled.
5400 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
5402         * emacs-lisp/debug.el (debug): Restore assignment to
5403         debugger-old-buffer removed on 2012-09-08.
5405 2012-09-20  Juri Linkov  <juri@jurta.org>
5407         * dired-aux.el (dired-diff): Remove (require 'diff) since
5408         `diff-latest-backup-file' is now autoloaded.
5410 2012-09-20  Chong Yidong  <cyd@gnu.org>
5412         * vc/diff.el (diff-latest-backup-file): Autoload.
5414 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5416         * calc/calc.el: Remove redundant autoload shape check.
5417         (sel-mode): Don't defvar.
5418         (calc-get-stack-element): Add `sel-mode' arg instead.
5419         (calc-top, calc-top-list): Pass it this additional argument.
5420         * calc/calc-store.el (calc-store-map):
5421         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5422         (calc-map-equation, calc-outer-product, calc-inner-product):
5423         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5425         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5427 2012-09-19  Juri Linkov  <juri@jurta.org>
5429         * dired-aux.el (dired-diff): Add (require 'diff) because
5430         `diff-latest-backup-file' is not autoloaded.
5431         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5432         of `dired-get-filename' to t to not report error when there is
5433         no default file on the current line.
5435 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5437         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5438         macroexp--eval-if-compile.
5439         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5440         (macroexp--expand-all): Use them (bug#12371).
5442         * doc-view.el (doc-view-guess-paper-size)
5443         (doc-view-scale-bounding-box): Fix unbound `caddr'.
5445 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
5447         New feature: set optimal slice from BoundingBox information.
5448         * doc-view.el (doc-view-mode-map): Add keybinding.
5449         (doc-view-menu): Add menu entry.
5450         (doc-view-set-slice): Adapt docstring.
5451         (doc-view-get-bounding-box, doc-view-guess-paper-size)
5452         (doc-view-scale-bounding-box)
5453         (doc-view-set-slice-from-bounding-box): New functions.
5454         (doc-view-paper-sizes): New defvar.
5456 2012-09-19  Glenn Morris  <rgm@gnu.org>
5458         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5459         (byte-compile-log-warning): Autoload.  (Bug#12371)
5461         * calendar/calendar.el (calendar-american-month-header)
5462         (calendar-european-month-header, calendar-iso-month-header)
5463         (calendar-month-header): New options.
5464         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
5465         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
5467 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
5469         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5471 2012-09-18  Juri Linkov  <juri@jurta.org>
5473         * dired-aux.el (dired-diff): Restore original functionality of
5474         getting the default value, but keep new feature of using the
5475         latest existing backup file (`diff-latest-backup-file').
5477 2012-09-18  Juri Linkov  <juri@jurta.org>
5479         * dired.el (dired-mark): If the region is active in Transient Mark
5480         mode, mark all files in the active region.  Doc fix.
5481         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5482         Doc fix.  (Bug#10624)
5484 2012-09-18  Juri Linkov  <juri@jurta.org>
5486         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5487         attributes for M-n are pulled from the file at point.
5488         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5489         Suggested by Drew Adams.  (Bug#10624)
5491 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
5493         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5494         whitespace after "end".
5495         (ruby-do-end-to-brace): Collapse block to one line if it fits
5496         within fill-column.
5498 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
5500         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5501         value.
5502         (debug): Don't remove debugger window when debugger is expected
5503         to be back.
5505 2012-09-18  Chong Yidong  <cyd@gnu.org>
5507         * custom.el (defface): Doc fix.
5509         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5511 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
5513         * progmodes/compile.el (compilation-start): Use compilation-always-kill
5514         to initialize query-on-exit; then test that instead (bug#12288).
5516 2012-09-17  Stefan Merten  <smerten@oekonux.de>
5518         * textmodes/rst.el: Add support for `testcover'.
5519         (rst-defcustom-testcover, rst-testcover-add-compose)
5520         (rst-testcover-add-1value): New functions.
5521         (rst-portable-mark-active-p): Replace by `use-region-p'.
5522         (rst-update-section, rst-classify-adornment)
5523         (rst-find-title-line): Mark `1value' forms.
5524         (rst-classify-adornment): Remove superfluous form.
5525         (rst-update-section, rst-get-adornments-around)
5526         (rst-adornment-complete-p, rst-get-next-adornment)
5527         (rst-adjust, rst-promote-region)
5528         (rst-display-adornments-hierarchy, rst-straighten-adornments)
5529         (rst-find-pfx-in-region, rst-section-tree-rec)
5530         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5531         (rst-toc-node, rst-toc, rst-forward-section)
5532         (rst-iterate-leftmost-paragraphs)
5533         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5534         (rst-bullet-list-region)
5535         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5536         (rst-compile-find-conf, rst-compile)
5537         (rst-repeat-last-character): Fix style.
5539 2012-09-17  Chong Yidong  <cyd@gnu.org>
5541         * comint.el (comint--complete-file-name-data): Don't add a space
5542         if the status is `sole'; that adds a gratuitous space in the
5543         completion-cycling case (Bug#12092).
5545         * pcomplete.el (pcomplete-completions-at-point): Likewise.
5547 2012-09-17  Richard Stallman  <rms@gnu.org>
5549         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5550         only in the mime-shown mode, not in raw mode.
5551         (rmail-mime): Toggle off mime by displaying the message without
5552         mime processing.  (Bug#12305)
5554         * mail/rmail.el (rmail-retry-failure):
5555         Turn off mime processing first.  (Bug#12037)
5557         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5559 2012-09-17  Chong Yidong  <cyd@gnu.org>
5561         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5562         (shell-dynamic-complete-functions): Convert to defcustom.
5563         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5565         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5566         * comint.el (comint-prompt-read-only):
5567         * custom.el (defcustom):
5568         * hi-lock.el (hi-lock-mode):
5569         * ibuffer.el (ibuffer-formats):
5570         * ielm.el (ielm-prompt-read-only):
5571         * novice.el (disable-command):
5572         * saveplace.el (toggle-save-place):
5573         * speedbar.el (speedbar-supported-extension-expressions):
5574         * startup.el (auto-save-list-file-prefix, init-file-user)
5575         (after-init-hook, inhibit-startup-echo-area-message):
5576         * strokes.el (strokes-help):
5577         * time-stamp.el (time-stamp):
5578         * calendar/calendar.el (calendar, diary-file):
5579         * calendar/diary-lib.el (diary-mail-entries, diary)
5580         (diary-list-entries-hook):
5581         * calendar/holidays.el (holidays, calendar-holidays):
5582         * calendar/lunar.el (lunar-phases):
5583         * calendar/solar.el (sunrise-sunset):
5584         * emulation/edt.el (edt-load-keys):
5585         * emulation/viper.el (viper-mode):
5586         * eshell/em-alias.el (eshell-command-aliases-list):
5587         * eshell/esh-util.el (eshell-convert-numeric-arguments):
5588         * international/ogonek.el (ogonek-information):
5589         * net/tramp-cmds.el (tramp-bug):
5590         * net/quickurl.el (quickurl-reread-hook-postfix):
5591         * play/decipher.el (decipher-font-lock-keywords):
5592         * progmodes/cc-styles.el (c-set-style):
5593         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5594         * progmodes/inf-lisp.el (inferior-lisp-prompt):
5595         * progmodes/octave-mod.el (octave-mode):
5596         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5597         * progmodes/verilog-mode.el (verilog-read-defines):
5598         * textmodes/two-column.el (2C-mode): Likewise.
5600 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
5602         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5603         that holds many addresses.
5605 2012-09-16  Chong Yidong  <cyd@gnu.org>
5607         * align.el (align-areas): Call the indication function with
5608         positions instead of markers for arguments (Bug#12343).
5610         * files.el (parse-colon-path): Use split-string (Bug#12351).
5612         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5613         (display-buffer-function): Mark as obsolete.
5615         * progmodes/compile.el (compilation-parse-errors): Accept list
5616         values similar to font-lock-keywords (Bug#12136).
5617         Suggested by Oleksandr Manzyuk.
5618         (compilation-error-regexp-alist): Doc fix.
5620 2012-09-15  Glenn Morris  <rgm@gnu.org>
5622         * version.el (emacs-bzr-version-bzr): New function.
5623         (emacs-bzr-get-version): Add optional EXTERNAL argument.
5625         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5626         checkouts, check the parent dirstate matches the branch.
5627         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
5628         empty string.
5630         * version.el (emacs-bzr-version): Doc fix.
5631         (emacs-bzr-version-dirstate): New function.
5632         (emacs-bzr-get-version): For lightweight checkouts, if the parent
5633         is local try and check that it matches the branch.  If not, just
5634         use dirstate information.  (Bug#12441)
5636 2012-09-14  Juri Linkov  <juri@jurta.org>
5638         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5639         (Bug#12399)
5641 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5643         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5645         * emacs-lisp/edebug.el: Miscellaneous cleanup.
5646         Remove obsolete byte-compiler hack that tried to silence some warnings.
5647         (edebug-submit-bug-report): Remove.
5648         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5649         Remove aliases, use the un-prefixed name instead.
5650         (edebug-pop-to-buffer): Consider other frames.
5651         (edebug-original-read):: Make it more obvious that it's always defined.
5652         (edebug--make-form-data-entry, edebug--form-data-name)
5653         (edebug--form-data-begin, edebug--form-data-end): Rename from the
5654         single-dashed name, and implement with cl-defstruct.
5655         (edebug-set-form-data-entry): Use the standard accessors.
5656         (edebug-make-top-form-data-entry): Use push.
5657         (edebug-no-match): Drop useless `funcall'.
5658         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5659         to functions.
5660         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5661         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5662         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5663         (easy-menu-define, with-custom-print): Remove redundant specs.
5664         (edebug-outside-overriding-local-map)
5665         (edebug-outside-overriding-terminal-local-map): Remove, unused.
5666         (edebug--display): Bind unread-command-events directly to nil rather
5667         than binding it to unread-command-events and later setting it to nil.
5668         (edebug--display): Kill edebug-eval-buffer here...
5669         (edebug--recursive-edit): ...rather than here.
5670         Bind standard-output and standard-input.
5671         (edebug-eval): Check cl-macroexpand-all is fboundp.
5672         (edebug-temp-display-freq-count): Fix last change.
5674         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5675         * subr.el (noreturn, 1value): Add `debug' spec.
5676         * emacs-lisp/advice.el: Require cl-lib.
5677         (ad-copy-tree): Remove, use copy-tree instead.
5678         (ad-dolist): Remove use dolist or cl-dolist instead.
5679         (ad-do-return): Remove, use cl-return instead.
5680         (defadvice): Add `debug' spec.
5682 2012-09-13  Juri Linkov  <juri@jurta.org>
5684         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5685         (Bug#12399)
5687 2012-09-13  Glenn Morris  <rgm@gnu.org>
5689         * calc/calc.el (math-compose-expr):
5690         * calc/calc-ext.el (math-compose-expr):
5691         * progmodes/cc-defs.el (cl-macroexpand-all):
5692         * progmodes/cc-langs.el (delete-duplicates, mapcan)
5693         (cl-macroexpand-all): Update declarations.
5695         * vc/vc.el: No need to require ediff.
5696         (ediff-load-version-control): Declare.
5697         (ediff-vc-internal): Fix declaration.
5698         (vc-version-ediff): Require ediff.
5700 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
5702         Use a more backwards-compatible timer format (Bug#12430).
5703         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5704         being right after USECS, as that better supports old code that
5705         inadvisedly looked directly at the timer vector.
5707 2012-09-13  Kenichi Handa  <handa@gnu.org>
5709         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5710         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5711         `coding-priority' property of these language environment.
5713 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
5715         Fix glitches caused by addition of psec to timers (Bug#12430).
5716         * image.el (image-animate-timer):
5717         * time.el (display-time-world-timer):
5718         Use timer--function and timer--args rather than raw access to
5719         timer vector.
5721 2012-09-13  Glenn Morris  <rgm@gnu.org>
5723         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5724         If not compiling a file, try using load-file-name.
5726 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5728         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5729         Fix last change.
5730         (edebug-update-eval-list): Use `push'.
5732         * emacs-lisp/edebug.el: Use lexical-binding.
5733         Remove the "edebug-" prefix from non-dynamically-scoped variables.
5734         Mark unused args with underscore.
5735         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5736         (edebug-form-data): Use defvar-local.
5737         (edebug-make-before-and-after-form, edebug-make-after-form):
5738         Use backquote.
5739         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5740         Not dynamically scoped any more.
5741         (edebug--enter-trace): Add arguments `function' and `args'.
5742         Rename from edebug-enter-trace.
5743         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
5744         (edebug--update-coverage): Add `after-index' and `value' args.
5745         Rename from edebug-update-coverage.
5746         (edebug-slow-after): Call it accordingly.
5747         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
5748         edebug-recursive-edit.
5749         (edebug--display): Call it accordingly.  Add args `value',
5750         `offset-index', and `arg-mode'.  Rename from edebug-display.
5751         (edebug-debugger, edebug): Call it accordingly.
5752         (edebug-eval-display-list): Use dolist.
5754 2012-09-12  Juri Linkov  <juri@jurta.org>
5756         * info.el (Info-search): Don't check for isearch-mode and
5757         isearch-regexp before let-binding search-spaces-regexp to
5758         Info-search-whitespace-regexp.
5759         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5760         search-whitespace-regexp if isearch-lax-whitespace or
5761         isearch-regexp-lax-whitespace is non-nil.
5762         (Info-mode): Don't set local variable search-whitespace-regexp.
5763         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5765 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5767         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5768         (debugger-env-macro): Remove support for unread-command-char.
5770         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5771         the temporary map re-appearing on emulation-mode-map-alists.
5773         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5774         since 22.1.
5776         * ehelp.el (with-electric-help): Accept functions in
5777         electric-help-form-to-execute.
5778         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5779         And replace unread-command-char -> unread-command-events.
5781 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
5783         Sync with Tramp 2.2.6.
5785         * net/tramp.el (tramp-accept-process-output): Don't use
5786         JUST-THIS-ONE in the XEmacs case.
5788         * net/trampver.el: Update release number.
5790 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
5792         * emacs-lisp/debug.el (debugger-previous-window-height):
5793         New variable.
5794         (debug): When debugger-jumping-flag is non-nil try to restore
5795         height of debugger window.  (Bug#8789)
5797 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5799         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5800         overriding-local-map and pre/post-command-hook here.
5801         (edebug-recursive-edit): Do it here instead (bug#12345).
5802         (edebug-outside-unread-command-char): Remove all uses of
5803         unread-command-char.
5805         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5806         inhibit-debugger is bound instead.
5808 2012-09-11  Bastien Guerry  <bzg@gnu.org>
5810         * subr.el (set-temporary-overlay-map): Add a docstring.
5811         (Bug#12346)
5813 2012-09-11  Bastien Guerry  <bzg@gnu.org>
5815         * minibuffer.el (completion-table-subvert): Fix docstring.
5816         (Bug#12347)
5818 2012-09-11  Bastien Guerry  <bzg@gnu.org>
5820         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
5822 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
5824         * progmodes/sql.el: Version 3.1
5825         (sql-db2-escape-newlines): New variable.
5826         (sql-escape-newlines-filter): Use it.
5828 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
5830         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5832 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
5834         * vc/diff-mode.el (diff-mode-menu):
5835         Bind diff-remove-trailing-whitespace.
5837 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5839         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5840         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5841         (emacs-lisp-byte-code-mode): New functions.
5842         (eval-sexp-add-defvars): Don't skip defvars in column >0.
5843         (eval-defun-2): Remove bogus interactive spec.
5844         (lisp-indent-line): Remove redundant whole-exp code, now done in
5845         indent-according-to-mode.
5846         (save-match-data): Remove redundant indent data.
5848         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5849         Use `declare'.
5851 2012-09-09  Juri Linkov  <juri@jurta.org>
5853         * replace.el (replace-regexp-lax-whitespace): New defcustom.
5854         (replace-lax-whitespace, query-replace-regexp)
5855         (query-replace-regexp-eval, replace-regexp): Doc fix.
5856         (perform-replace, replace-highlight): Let-bind
5857         isearch-lax-whitespace to replace-lax-whitespace and
5858         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5860         * isearch.el (isearch-query-replace): Let-bind
5861         replace-lax-whitespace to isearch-lax-whitespace and
5862         replace-regexp-lax-whitespace to
5863         isearch-regexp-lax-whitespace.  (Bug#10885)
5865 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5867         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5869 2012-09-09  Alan Mackenzie  <acm@muc.de>
5871         * progmodes/cc-engine.el (c-state-cache-init):
5872         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5873         (c-record-parse-state-state):
5874         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
5876 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
5878         * register.el (register-separator): Rename from
5879         separator-register.  All uses changed.  Doc fix.
5880         (register): Fix version.
5882 2012-09-09  Chong Yidong  <cyd@gnu.org>
5884         * replace.el (query-replace-map): Bind four new symbols for
5885         requesting window scrolling.
5887         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5888         query-replace-map (Bug#8948).
5890         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5892         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5893         since they are now in query-replace-map.
5895         * window.el (scroll-other-window-down): Make the arg optional.
5897 2012-09-09  Chong Yidong  <cyd@gnu.org>
5899         * files.el (hack-local-variables-confirm): Use quit-window to kill
5900         the *Local Variables* buffer.
5902 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
5904         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5905         not just expect to be at its beginning.  Adjust callees.
5906         Succeed when do-end block has no space before the pipe character.
5907         (ruby-brace-to-do-end): When the original block is one-liner,
5908         convert to multiline.  Reindent the result.
5910 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
5912         * register.el (register): New group.
5913         (separator-register): New user option.
5914         (increment-register): Route it to `append-to-register', if
5915         register contains text.  Implication is that `C-x r +' can now be
5916         used for appending to a text register (bug#12217).
5917         (append-to-register, prepend-to-register): Add separator based on
5918         `separator-register'.
5920 2012-09-08  Alan Mackenzie  <acm@muc.de>
5922         AWK Mode: make auto-newline work when there's "==" in the pattern.
5923         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5924         correctly.
5925         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5926         Test more rigorously for "=" token.
5928 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
5930         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5931         Only fail when reached LIMIT.
5933 2012-09-08  Chong Yidong  <cyd@gnu.org>
5935         * dired.el (dired-mode-map): Don't bind M-=.
5937         * dired-aux.el (dired-diff): Use backup file as default.
5939 2012-09-08  Drew Adams  <drew.adams@oracle.com>
5941         * subr.el (add-to-history): Fix delete usage (Bug#12314).
5943 2012-09-08  Chong Yidong  <cyd@gnu.org>
5945         * subr.el (syntax-after, syntax-class): Doc fix.
5947 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
5949         * window.el (display-buffer-in-previous-window): New buffer
5950         display action function.
5952         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5953         (debugger-previous-window): New variable.
5954         (debug): Rewrite using display-buffer-in-previous-window,
5955         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
5957 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5959         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
5961 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
5963         * progmodes/python.el (python-shell-send-string):
5964         When default-directory is remote, create temp file on remote
5965         filesystem.
5966         (python-shell-send-file): When file is remote, pass local view of
5967         file paths to remote Python interpreter.  (Bug#12340)
5969 2012-09-07  Chong Yidong  <cyd@gnu.org>
5971         * window.el (switch-to-buffer): Doc fix (Bug#12181).
5973         * files.el (after-find-file): Don't fail on a read-only buffer if
5974         require-final-newline is `visit' or `visit-save' (Bug#11156).
5976         * subr.el (read-char-choice): Allow quitting via ESC ESC.
5978         * userlock.el (ask-user-about-supersession-threat):
5979         Use read-char-choice (Bug#12093).
5981 2012-09-07  Chong Yidong  <cyd@gnu.org>
5983         * subr.el (buffer-narrowed-p): New function.
5985         * ses.el (ses-widen):
5986         * simple.el (count-words--buffer-message):
5987         * net/browse-url.el (browse-url-of-buffer): Use it.
5989         * simple.el (count-words-region): Don't signal an error if there
5990         is a non-nil prefix arg and the mark is not set.
5992         * help.el (describe-key-briefly): Allow the message to be seen
5993         when invoked from the minibuffer (Bug#7014).
5995 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
5997         * progmodes/ruby-mode.el (ruby-end-of-defun)
5998         (ruby-beginning-of-defun): Simplify, allow indentation before
5999         block beginning and end keywords.
6000         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6001         (ruby-end-of-defun): Expect that the point is at the beginning of
6002         the defun.
6004 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6006         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6007         (bug#12367).
6008         (cl--make-usage-args): Strip _ from argument names.
6010 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6012         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6013         obsolete alias speedbar-key-map.
6014         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6015         (vhdl-index-menu-init): Don't use obsolete variable
6016         font-lock-maximum-size.
6018 2012-09-06  Chong Yidong  <cyd@gnu.org>
6020         * frame.el (window-system-version): Mark as obsolete.
6022         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6023         of obsolete variable speedbar-key-map.
6025 2012-09-06  Juri Linkov  <juri@jurta.org>
6027         * replace.el (replace-lax-whitespace): New defcustom.
6028         (query-replace, query-replace-regexp, query-replace-regexp-eval)
6029         (replace-string, replace-regexp): Mention it in docstrings.
6030         (perform-replace, replace-highlight): Let-bind
6031         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6032         to the values of replace-lax-whitespace and regexp-flag.
6033         Don't let-bind search-whitespace-regexp.  (Bug#10885)
6035         * isearch.el (isearch-query-replace): Let-bind
6036         replace-lax-whitespace instead of let-binding
6037         replace-search-function and replace-re-search-function.
6038         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6039         and isearch-regexp-lax-whitespace to lazy-highlight variables.
6040         (isearch-toggle-symbol): Set isearch-regexp to nil
6041         in isearch-word mode (like in isearch-toggle-word).
6043 2012-09-06  Juri Linkov  <juri@jurta.org>
6045         * replace.el (replace-search-function)
6046         (replace-re-search-function): Set default values to nil.
6047         (perform-replace): Let-bind isearch-related variables based on
6048         replace-related values, call `isearch-search-fun' and let-bind
6049         the result to `search-function'.  Remove code that sets
6050         `search-function' and `search-string' separately for
6051         `delimited-flag'.
6052         (replace-highlight): Add new argument `delimited-flag' and
6053         rename other arguments to the names used in `perform-replace'.
6054         Let-bind `isearch-word' to the argument `delimited-flag'.
6055         (Bug#10885, bug#10887)
6057 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
6059         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6060         ruby-beginning-of-indent, simplify, allow all keywords to have
6061         indentation before them.
6062         (ruby-beginning-of-indent): Adjust for above.  Search until the
6063         found point is not inside a string or comment.
6064         (ruby-font-lock-keywords): Allow symbols to start with "@"
6065         character, give them higher priority than variables.
6066         (ruby-syntax-propertize-function)
6067         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6068         matchers.  Expression expansions are not comments when inside a
6069         string, and there comment syntax status is irrelevant.
6070         (ruby-match-expression-expansion): New function.  Check that
6071         expression expansion is inside a string, and it's not escaped.
6072         (ruby-font-lock-keywords): Use it.
6074 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
6076         * help.el (temp-buffer-max-height): New default value.
6077         (temp-buffer-resize-frames): New option.
6078         (resize-temp-buffer-window): Optionally resize frame.
6080         * window.el (fit-frame-to-buffer-bottom-margin): New option.
6081         (fit-frame-to-buffer): New function.
6083 2012-09-05  Glenn Morris  <rgm@gnu.org>
6085         * emulation/cua-rect.el (cua--init-rectangles):
6086         * textmodes/picture.el (picture-mode-map):
6087         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6088         like forward-char and backward-char.  (Bug#12317)
6090 2012-09-05  Leo Liu  <sdl.web@gmail.com>
6092         * progmodes/flymake.el (flymake-warning-re): New variable.
6093         (flymake-parse-line): Use it.
6095 2012-09-05  Glenn Morris  <rgm@gnu.org>
6097         * calendar/holidays.el (holiday-christian-holidays):
6098         Rename an entry.  (Bug#12289)
6100 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6102         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6103         (bug#12222).
6105 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6107         * loadup.el: Load macroexp.  Remove hack.
6108         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6109         (macroexp--expand-all): Use it to get better warnings.
6110         (macroexp--backtrace, macroexp--trim-backtrace-frame)
6111         (internal-macroexpand-for-load): New functions.
6112         (macroexp--pending-eager-loads): New var.
6113         (emacs-startup-hook): New hack to replace one in loadup.el.
6114         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6115         (cl--compiler-macro-cXXr): Move to top, before they can be used.
6116         (cl-psetf): Simplify.
6117         (cl-defstruct): Add indent rule.
6119 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
6121         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6122         over `user-mail-address' for the SMTP MAIL FROM envelope.
6123         (smtpmail-via-smtp): Ditto.
6125 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
6127         * progmodes/ruby-mode.el: Clean up keybindings.
6128         (ruby-mode-map): Don't bind ruby-electric-brace,
6129         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6130         backward-kill-word, reindent-then-newline-and-indent.
6131         (ruby-mark-defun): Remove.
6132         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
6133         (ruby-mode): Set local beginning-of-defun-function and
6134         end-of-defun-function values.
6136 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
6138         * window.el (temp-buffer-window-setup-hook)
6139         (temp-buffer-window-show-hook): New hooks.
6140         (temp-buffer-window-setup, temp-buffer-window-show)
6141         (with-temp-buffer-window): New functions.
6142         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6143         (special-display-popup-frame): Make sure the window used shows BUFFER.
6145         * help.el (temp-buffer-resize-mode): Fix doc-string.
6146         (resize-temp-buffer-window): New optional argument WINDOW.
6148         * files.el (recover-file, save-buffers-kill-emacs):
6149         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6151 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
6153         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6154         remote definition of `default-directory', ensure we can connect.
6156 2012-09-02  Juri Linkov  <juri@jurta.org>
6158         Toggle whitespace matching mode with M-s SPC.
6159         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6161         * isearch.el (search-whitespace-regexp): Doc fix.
6162         Remove cons cell customization.
6163         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6164         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6165         New variables.
6166         (isearch-forward, isearch-forward-regexp): Doc fix.
6167         (isearch-toggle-lax-whitespace): New command.
6168         (search-forward-lax-whitespace, search-backward-lax-whitespace)
6169         (re-search-forward-lax-whitespace)
6170         (re-search-backward-lax-whitespace): New functions.
6171         (isearch-whitespace-regexp): Remove function.
6172         (isearch-query-replace): Let-bind replace-search-function and
6173         replace-re-search-function.
6174         (isearch-occur): Let-bind search-spaces-regexp according to the
6175         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6176         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6177         condition for C-q SPC.
6178         (isearch-search-fun-default): Use new functions mentioned above.
6179         (isearch-search-forward, isearch-search-backward): Remove functions.
6180         (isearch-search): Don't let-bind search-spaces-regexp.
6181         (isearch-lazy-highlight-space-regexp): Remove variable.
6182         (isearch-lazy-highlight-lax-whitespace)
6183         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6184         (isearch-lazy-highlight-new-loop): Use them.
6185         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6187 2012-09-02  Chong Yidong  <cyd@gnu.org>
6189         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6191 2012-09-02  Glenn Morris  <rgm@gnu.org>
6193         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
6195 2012-09-01  Glenn Morris  <rgm@gnu.org>
6197         * term.el: Tidy up menu definitions.
6198         (term-mode-map): Use easymenu for In/Out, Complete menus.
6199         (term-pager-break-map): Initialize in the defvar.
6200         (term-terminal-menu, term-signals-menu): Define with easymenu.
6201         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
6202         (term-pager-menu): New, extracted from term-process-pager.
6203         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6204         (term-update-mode-line): Propertize line/char and page items.
6205         (term-process-pager): Move keymap initialization elsewhere.
6207 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
6209         * window.el (switch-to-prev-buffer): Handle additional values of
6210         BURY-OR-KILL argument.  Don't switch in minibuffer window.
6211         (switch-to-next-buffer): Don't switch in minibuffer window.
6212         (quit-restore-window): New function based on quit-window.
6213         Handle additional values of former KILL argument.
6214         (quit-window): Call quit-restore-window with appropriate
6215         interpretation of KILL argument.
6216         (display-buffer-below-selected): New buffer display action
6217         function.
6219 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6221         * minibuffer.el (completion-at-point-functions): Complete docstring
6222         (bug#12254).
6224 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
6226         Better seed support for (random).
6227         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6228         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6229         * play/mpuz.el, play/tetris.el, play/zone.el:
6230         * calc/calc-comb.el (math-init-random-base):
6231         * play/blackbox.el (bb-init-board):
6232         * play/life.el (life):
6233         * server.el (server-use-tcp):
6234         * type-break.el (type-break):
6235         Remove unnecessary call to (random t).
6236         * net/sasl.el (sasl-unique-id-function):
6237         Change (random t) to (random), now that the latter is more random.
6238         * play/life.el (life-initialized): Remove no-longer-needed var.
6240 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
6242         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6243         Consider frame's buffer predicate when choosing the buffer.
6244         (Bug#12081)
6246 2012-08-30  Richard Stallman  <rms@gnu.org>
6248         * simple.el (special-mode-map): Delete binding for `z'.
6250 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
6252         * progmodes/compile.el (compilation-always-kill): Doc fix.
6254 2012-08-30  Chong Yidong  <cyd@gnu.org>
6256         * window.el (display-buffer-reuse-frames): Make the obsolescence
6257         message more informative.
6259 2012-08-30  Glenn Morris  <rgm@gnu.org>
6261         * paren.el (show-paren-delay):
6262         Add a :set function.  Doc fix.  (Bug#12297)
6264 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
6266         * progmodes/compile.el (compilation-always-kill): New var.
6267         (compilation-start): Use it.
6269 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6271         * simple.el (read-only-mode): Move from files.el for bootstrapping.
6272         * files.el (read-only-mode): Move to simple.el.
6274         * files.el (read-only-mode): New minor mode.
6275         (toggle-read-only): Use it and mark obsolete.
6276         (find-file--read-only):
6277         * vc/vc.el (vc-next-action, vc-checkout):
6278         * vc/vc-cvs.el (vc-cvs-checkout):
6279         * obsolete/vc-mcvs.el (vc-mcvs-update):
6280         * ffap.el (ffap--toggle-read-only): Update callers.
6282 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
6284         * eshell/esh-ext.el (eshell-external-command): Do not examine
6285         remote shell scripts.
6286         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6288         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6289         "/usr/local/sbin".
6291 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6293         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6295 2012-08-28  Leo Liu  <sdl.web@gmail.com>
6297         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6298         completion-at-point.  (Bug#12220)
6300         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6302         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6304 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6306         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6307         be buffer-local; add delete-trailing-whitespace (bug#12259).
6309 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
6311         * progmodes/hideif.el (hif-compress-define-list):
6312         Fix typo.  (Bug#11951)
6314 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
6316         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6317         buffer local setting.
6319         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6320         rcirc-encode-coding-system.
6322 2012-08-28  Leo Liu  <sdl.web@gmail.com>
6324         * net/rcirc.el (rcirc-split-message): New function.
6325         (rcirc-send-message): Use it.  (Bug#12051)
6327 2012-08-28  Juri Linkov  <juri@jurta.org>
6329         * info.el (Info-fontify-node): Hide empty lines at the end of
6330         the node.  (Bug#12272)
6332 2012-08-27  Drew Adams  <drew.adams@oracle.com>
6334         * dired.el (dired-pop-to-buffer): Make window start at beginning
6335         of buffer (Bug#12281).
6337 2012-08-26  Chong Yidong  <cyd@gnu.org>
6339         * window.el (special-display-regexps, special-display-frame-alist)
6340         (special-display-buffer-names, special-display-function)
6341         (display-buffer-reuse-frames): Mark as obsolete.
6343         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6345         * help.el (help-print-return-message): Don't treat
6346         display-buffer-reuse-frames specially.
6348 2012-08-26  Chong Yidong  <cyd@gnu.org>
6350         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6351         New variable, replacing gdb-frame-parameters.
6352         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6353         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6354         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6355         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6356         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
6357         the functions directly with gdb-display-buffer-other-frame-action.
6358         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6359         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6360         (gdb-display-stack-buffer, gdb-display-locals-buffer)
6361         (gdb-display-registers-buffer): Define directly.
6362         (def-gdb-display-buffer): Macro deleted.
6363         (gdb-display-buffer): Remove second and third args, callers don't
6364         use them.  Defer to the default display-buffer behavior, apart
6365         from making windows dedicated.
6366         (gdb-setup-windows): Don't call display-buffer unnecessarily.
6368         * progmodes/gud.el (gud-display-line): Just use display-buffer.
6370         * window.el (display-buffer-pop-up-frame): Handle a
6371         pop-up-frame-parameters alist entry.
6372         (display-buffer): Document it.
6374 2012-08-26  Chong Yidong  <cyd@gnu.org>
6376         * isearch.el (search-whitespace-regexp): Make string and nil
6377         values apply to both ordinary and regexp search.  Allow a cons
6378         cell value to distinguish between the two.
6379         (isearch-whitespace-regexp, isearch-search-forward)
6380         (isearch-search-backward): New functions.
6381         (isearch-occur, isearch-search-fun-default, isearch-search)
6382         (isearch-lazy-highlight-new-loop): Use them.
6383         (isearch-forward, isearch-forward-regexp): Doc fix.
6385 2012-08-26  Chong Yidong  <cyd@gnu.org>
6387         * faces.el (help-argument-name): Always inherit from italic
6388         (Bug#12213).
6390 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
6392         * window.el (window--even-window-heights): Even heights when
6393         WINDOW and the selected window form a vertical combination.
6394         (display-buffer-use-some-window): Provide that window used gets
6395         sized back by quit-window.  (Bug#11880) and (Bug#12091)
6397 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
6399         Fix file time stamp problem with bzr and CVS (Bug#12001).
6400         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6401         in the file's time stamp, since the version control system loses
6402         that information.
6404 2012-08-22  Juri Linkov  <juri@jurta.org>
6406         * info.el (Info-fontify-node): Hide the suffix of the
6407         Info file name in the header line.  (Bug#12187)
6409 2012-08-22  Glenn Morris  <rgm@gnu.org>
6411         * calendar/cal-tex.el (cal-tex-weekly-common):
6412         Restore leading blank page.
6414 2012-08-22  Le Wang  <l26wang@gmail.com>
6416         * misc.el (forward-to-word, backward-to-word): Activate or extend
6417         the region under `shift-select-mode'.  (Bug#12231)
6419 2012-08-22  Bastien Guerry  <bzg@gnu.org>
6421         * progmodes/executable.el (executable-prefix): Set to "#!" instead
6422         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
6423         gives details on why the space is never needed.
6425 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
6427         * window.el (walk-window-tree, window-with-parameter):
6428         New optional argument MINIBUF to control whether these functions
6429         should run on the minibuffer window.
6430         (window-at-side-list): Don't operate on minibuffer window.
6431         (window-in-direction): Simplify and rewrite doc-string.
6432         (window--size-ignore): Rename to window--size-ignore-p.
6433         Update callers.
6434         (display-buffer-in-atom-window, window--major-non-side-window)
6435         (window--major-side-window, display-buffer-in-major-side-window)
6436         (delete-side-window, display-buffer-in-side-window):
6437         New functions.
6438         (window--side-check, window-deletable-p, delete-window)
6439         (delete-other-windows, split-window): Handle side windows and
6440         atomic windows appropriately.
6441         (window--display-buffer): Call display-buffer-record-window also
6442         when the window buffer did not change.
6444 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
6446         * help-fns.el (help-fns--key-bindings):
6447         Abbreviate non-symbol remap targets.  (Bug#12174)
6449 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
6451         * dired.el (dired-mark-remembered): Don't clobber point.
6452         (Bug#11795)
6454 2012-08-22  Glenn Morris  <rgm@gnu.org>
6456         * progmodes/bug-reference.el (bug-reference): New custom group.
6457         (bug-reference-bug-regexp): Make it a defcustom.
6459 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
6461         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6462         (js-paren-indent-offset, js-square-indent-offset)
6463         (js-curly-indent-offset): Add :safe (Bug#12257).
6465 2012-08-22  Edward O'Connor  <hober0@gmail.com>
6467         * json.el (json-key-format): Add error properties.
6468         (json-encode-key): New function.
6469         (json-encode-hash-table, json-encode-alist, json-encode-plist):
6470         Use json-encode-key.
6472 2012-08-22  Glenn Morris  <rgm@gnu.org>
6474         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6475         (cal-tex-leftday, cal-tex-rightday): Remove functions.
6476         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6477         Update for above change.
6479 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
6481         * cus-face.el (custom-face-attributes): Fix customize type for the
6482         :underline attribute.  (Bug#11805)
6484 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
6486         * window.el (window-point-1, set-window-point-1): Remove.
6487         (window-in-direction, record-window-buffer)
6488         (set-window-buffer-start-and-point, split-window-below)
6489         (window--state-get-1, display-buffer-record-window):
6490         Replace calls to window-point-1 and set-window-point-1 by calls to
6491         window-point and set-window-point respectively.
6493 2012-08-21  Glenn Morris  <rgm@gnu.org>
6495         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6496         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6497         Use it.
6499         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6500         (cal-tex-shortday): New function.
6501         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6502         (cal-tex-cursor-filofax-daily): Use the above.
6504         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6505         New functions.
6506         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6507         (cal-tex-cursor-filofax-week): Use them.
6509         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6510         New constants.
6511         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6512         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6514         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6515         (cal-tex-end-document): Don't rely on buffer name.
6517         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6518         Use cal-tex-vspace.
6519         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6520         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6521         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6522         Use cal-tex-arg.
6524         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6525         (cal-tex-cursor-week, cal-tex-cursor-week2)
6526         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6527         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6528         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6529         (cal-tex-insert-preamble, cal-tex-b-document)
6530         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6531         Improve cal-tex-cmd usage.
6533         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6534         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6535         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6536         (cal-tex-weekly-paper): New function.
6537         (cal-tex-cursor-week, cal-tex-cursor-week2)
6538         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6539         (cal-tex-cursor-day): Use it.
6541         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6542         (cal-tex-cursor-filofax-week): Remove leading blank page.
6544         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6545         Add autoload cookie.  For now at least, don't use color, since
6546         no other cal-tex function does.
6548         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6549         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6550         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6552 2012-08-21  Juri Linkov  <juri@jurta.org>
6554         * info.el (Info-file-attributes): New variable.
6555         (info-insert-file-contents): Add file attributes to
6556         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
6557         `Info-toc-nodes' when previous modtime of the Info file is less
6558         than new modtime.
6559         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6560         of info.el.  (Bug#12230)
6562 2012-08-20  Glenn Morris  <rgm@gnu.org>
6564         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6565         * calendar/holidays.el (calendar-holiday-list):
6566         Report errors with display-warning rather than beep'n'sleep.
6568 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
6570         * net/tramp.el (tramp-accept-process-output): Accept only output
6571         from PROC.  Otherwise, process filters and sentinels might be
6572         confused.  (Bug#12145)
6574 2012-08-20  Chong Yidong  <cyd@gnu.org>
6576         * descr-text.el (describe-text-properties-1): Use overlays-in to
6577         report on empty overlays (Bug#3322).
6579 2012-08-20  Glenn Morris  <rgm@gnu.org>
6581         * mail/rmailout.el (rmail-output-read-file-name):
6582         Trap and report errors in rmail-output-file-alist elements.
6584         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6585         since most non-font-lock faces are not also variables).
6587 2012-08-20  Edward Reingold  <reingold@iit.edu>
6589         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6590         New function.  (Bug12160)
6592 2012-08-19  Glenn Morris  <rgm@gnu.org>
6594         * mail/rmailout.el (rmail-output-read-file-name):
6595         Fix previous change (when the alist is nil or does not match).
6597 2012-08-19  Chong Yidong  <cyd@gnu.org>
6599         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6600         (Bug#12228).
6602 2012-08-18  Chong Yidong  <cyd@gnu.org>
6604         * simple.el (yank-handled-properties): New defcustom.
6605         (yank-excluded-properties): Add font-lock-face and category.
6606         (yank): Doc fix.
6608         * subr.el (remove-yank-excluded-properties):
6609         Obey yank-handled-properties.  The special handling of font-lock-face
6610         and category is now done this way, instead of being hard-coded.
6611         (insert-for-yank-1): Remove font-lock-face handling.
6612         (yank-handle-font-lock-face-property)
6613         (yank-handle-category-property): New function.
6615 2012-08-17  Glenn Morris  <rgm@gnu.org>
6617         * mail/rmailout.el (rmail-output-read-file-name):
6618         Check rmail-output-file-alist against the full message body
6619         in the correct rmail buffer.  (Bug#12214)
6621 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
6623         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6624         Eliminate superfluous prompt.  (Bug#12203)
6626 2012-08-17  Chong Yidong  <cyd@gnu.org>
6628         * mouse.el (mouse-appearance-menu): If x-select-font returns a
6629         font spec, set the font directly (Bug#3228).
6631 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
6633         * window.el (delete-window): Fix last fix.
6635 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
6637         * window.el (window-valid-p): Move to window.c.
6638         (window-child, window-child-count, window-last-child)
6639         (window-normalize-window, window-combined-p)
6640         (window-combinations, window-atom-root, window-min-size)
6641         (window-sizable, window-sizable-p, window-size-fixed-p)
6642         (window-min-delta, window-max-delta, window--resizable)
6643         (window--resizable-p, window-resizable, window-total-size)
6644         (window-full-height-p, window-full-width-p, window-body-size)
6645         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6646         (minimize-window, window-deletable-p, delete-window)
6647         (delete-other-windows, set-window-buffer-start-and-point)
6648         (next-buffer, previous-buffer, split-window, balance-windows-2)
6649         (set-window-text-height, window-buffer-height)
6650         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6651         (truncated-partial-width-window-p): Minor code adjustments.
6652         In doc-strings state whether the argument window has to denote a
6653         live, valid or any window.
6655 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
6657         * progmodes/subword.el (subword-forward-function)
6658         (subword-backward-function, subword-forward-regexp)
6659         (subword-backward-regexp): New variables.
6660         (subword-forward, subword-forward-internal, subword-backward-internal):
6661         Use new variables, eg so that different "word" definitions
6662         can be easily used.  (Bug#11411)
6664 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6666         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6667         for composite selectors.
6668         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6669         operation just because we can't find a previous revision.
6671 2012-08-15  Chong Yidong  <cyd@gnu.org>
6673         * frame.el (set-frame-font): Accept font objects.
6675 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6677         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6679 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
6681         * man.el (Man-overstrike-face, Man-underline-face)
6682         (Man-reverse-face): Remove variables.
6683         (Man-overstrike, Man-underline, Man-reverse): New faces.
6684         (Man-fontify-manpage): Use them instead of the variables.
6685         (Man-cleanup-manpage): Comment change.
6686         (Man-ansi-color-map): New variable.
6687         (Man-fontify-manpage): Use it.
6688         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6690         Implement ANSI SGR parameters 22-27 (bug#12146).
6691         * ansi-color.el (ansi-colors): Doc fix.
6692         (ansi-color-context, ansi-color-context-region): Doc fix.
6693         (ansi-color--find-face): New function.
6694         (ansi-color-apply, ansi-color-apply-on-region): Use it.
6695         Rename the local variable `face' to `codes' since it is now a list of
6696         ansi codes.  Doc fix.
6697         (ansi-color-get-face): Remove.
6698         (ansi-color-parse-sequence): New function, derived from
6699         ansi-color-get-face.
6700         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
6701         codes 22-27.
6703 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6705         * subr.el (read-passwd): Allow use from a minibuffer.
6707 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
6709         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6710         inside comments and strings as identifiers.
6712         * progmodes/gud.el (gud-tooltip-print-command): Quote the
6713         expression to evaluate.  This allows to evaluate expressions with
6714         embedded whitespace.
6715         (gud-tooltip-tips): Add a blank before the newline in the
6716         message-box text, for the benefit of message-box emulation on
6717         MS-Windows.
6719         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6720         messages from GDB, pop them up in a tooltip to give feedback to
6721         user.
6722         (gdb-tooltip-print-1): Quote the expression to evaluate.
6723         This allows to evaluate expressions with embedded whitespace.
6724         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6725         if the TTY name is nil or empty (which happens when communicating
6726         with the inferior via pipes, e.g. on MS-Windows).
6727         (gdb-internals): If GDB sends a "&\n" empty debugging message,
6728         don't send that to the GUD buffer.
6730 2012-08-14  Glenn Morris  <rgm@gnu.org>
6732         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6733         Optimize away setq-default with no args, as for setq.  (Bug#12195)
6735 2012-08-14  Chong Yidong  <cyd@gnu.org>
6737         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6739         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6740         (Bug#12085).
6742 2012-08-14  Glenn Morris  <rgm@gnu.org>
6744         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6746 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
6748         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6749         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6750         Use cached shell name.
6752 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
6754         * progmodes/python.el (python-shell-send-string):
6755         (python-shell-send-setup-code): Do not use `format' with `message'.
6757 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
6759         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6760         (ruby-percent-literal-beg-re): New constant.
6761         (ruby-syntax-general-delimiters-goto-beg): Rename to
6762         `ruby-syntax-enclosing-percent-literal', improve literal type check.
6763         (ruby-syntax-propertize-general-delimiters): Rename to
6764         `ruby-syntax-propertize-percent-literal', it's a shorter and more
6765         popular term.  Adjust comments everywhere.
6766         (ruby-syntax-propertize-percent-literal): Only propertize when not
6767         inside a simple string or comment.  When the literal is unclosed,
6768         leave the text after it unpropertized.
6769         (ruby-syntax-methods-before-regexp): New constant.
6770         (ruby-syntax-propertize-function): Use it to recognize regexps.
6771         Don't look at the text after regexp, just use the whitelist.
6773 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
6775         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6776         non-nil always load the compiled file if it exists.  (Bug#12197)
6778 2012-08-14  Chong Yidong  <cyd@gnu.org>
6780         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6781         (hi-lock-set-pattern): When deciding whether to use font lock or
6782         overlays, look at font-lock-mode instead of font-lock-fontified
6783         (Bug#12168).
6784         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6785         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6787 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
6789         * subr.el (internal--after-with-selected-window): Fix typo
6790         (Bug#12193).
6792 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
6794         Use `completion-table-dynamic' for completion functions.
6795         * progmodes/python.el
6796         (python-shell-completion--do-completion-at-point)
6797         (python-shell-completion--get-completions):
6798         Remove functions.
6799         (python-shell-completion-complete-at-point): New function.
6800         (python-completion-complete-at-point): Use it.
6802 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
6804         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6805         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6807 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6809         * subr.el (function-get): Refine `autoload' arg so it can also
6810         autoload functions for gv.el (bug#12191).
6811         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6812         autoloads macros.
6814         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6815         Prefer pcase-let over destructuring-bind.
6816         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6817         Also, remove whitespace as we go, rather than after accumulating the
6818         various places.
6820         * subr.el (internal--before-with-selected-window)
6821         (internal--after-with-selected-window): Fix typo seleted->selected.
6822         (with-selected-window): Adjust callers.
6823         Reported by Dmitry Gutov <dgutov@yandex.ru>.
6825 2012-08-13  Bastien Guerry  <bzg@gnu.org>
6827         * window.el (special-display-popup-frame): Minor docstring
6828         enhancement.  (Bug#12172)
6830 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
6832         * tar-mode.el (tar-header-data-end): Only ignore size for files of
6833         type 1-6.
6834         (tar-header-block-summarize, tar-get-descriptor): Handle pax
6835         extended headers.
6837         * files.el (hack-local-variables-filter): Remove useless eval.
6839 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
6841         * subr.el (with-selected-window): Fix last change.
6843 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6845         * subr.el (internal--before-with-seleted-window)
6846         (internal--after-with-seleted-window): New functions.
6847         (with-selected-window): Use them, to replace dependency on
6848         tty-top-frame.
6850 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
6852         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6853         binding for `newline'.
6854         (ruby-move-to-block): When moving backward, stop at block opening,
6855         not indentation.
6856         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6857         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6858         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6859         `ruby-toggle-block'.
6861 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6863         * ibuffer.el (ibuffer-do-toggle-read-only):
6864         * dired.el (dired-toggle-read-only):
6865         * buff-menu.el (Buffer-menu-toggle-read-only):
6866         * bindings.el (mode-line-toggle-read-only):
6867         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6869 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
6871         * descr-text.el (describe-char): Put the overlays over the
6872         "displayed as" character.
6874 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
6876         * calc/calc-units.el (math-default-units-table): Give an
6877         initial value.
6878         (math-put-default-units): Add options to put composite units and
6879         unit systems in the default units table.
6880         (calc-convert-units): Send composite units to
6881         `math-put-default-units' when appropriate.
6883 2012-08-11  Glenn Morris  <rgm@gnu.org>
6885         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6887         * tutorial.el (help-with-tutorial):
6888         * emacs-lisp/copyright.el (copyright-update-directory):
6889         * emacs-lisp/autoload.el (autoload-find-generated-file)
6890         (autoload-find-file): Disable local eval: (for insurance).
6892         * files.el (hack-local-variables-filter): If an eval: form is not
6893         known to be safe, and enable-local-variables is :safe, then ignore
6894         the form totally, as is done for non-eval forms.  (Bug#12155)
6895         This is CVE-2012-3479.
6897 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6899         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6900         (rx-form): Simplify.
6902 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
6904         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6905         ?, _, and : are symbol constituents, ! is not (but kinda should be).
6906         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6907         (ruby-syntax-propertize-function): Adjust for changes in
6908         `ruby-syntax-propertize-heredoc'.
6910 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
6912         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6913         binding (use `M-;' instead).
6914         (ruby-singleton-class-p): New function.
6915         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6917 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6919         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6921 2012-08-10  Chong Yidong  <cyd@gnu.org>
6923         * progmodes/python.el (python-shell-get-process-name): Don't mess
6924         with same-window-buffer-names.
6926         * eshell/eshell.el (eshell-add-to-window-buffer-names)
6927         (eshell-remove-from-window-buffer-names): Make obsolete.
6928         (eshell-buffer-name, eshell-unload-hook): Don't use them.
6929         (eshell): Just use pop-to-buffer-same-window instead.
6931 2012-08-10  Chong Yidong  <cyd@gnu.org>
6933         * bindings.el: Bind M-= back to count-words-region.
6935         * simple.el (count-words-region): Accept a prefix arg for acting
6936         on the entire buffer.
6937         (count-words--buffer-message): New helper function.
6939 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6941         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6942         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6943         (event-start, event-end): Use posn-at-point to return a more
6944         informative posn.
6945         (posnp): New function.
6946         * mouse.el (popup-menu-normalize-position): Use it.
6948 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
6950         * mouse.el (popup-menu-normalize-position): New function.
6951         (popup-menu): Use `popup-menu-normalize-position' to normalize
6952         the form for POSITION argument.
6954         * term/x-win.el (x-menu-bar-open):
6955         Use the value returend from (posn-at-point) as position
6956         passed to `popup-menu'.
6958 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
6960         * calc/calccomp.el (math-compose-expr): Add extra argument
6961         indicating that parentheses should be put around products in
6962         denominators.  Give multiplication precedence over division during
6963         composition.
6965 2012-08-09  Chong Yidong  <cyd@gnu.org>
6967         * man.el (Man-switches, Man-sed-command, Man-awk-command)
6968         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6969         (Man-untabify-command, manual-program): Convert to defcustom
6970         (Bug#10429).
6972         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6974         * descr-text.el (describe-char): Don't insert extra newlines
6975         (Bug#10127).
6977         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6978         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6980         * align.el (align-region): Delete temporary markers (Bug#10047).
6981         Plus some code cleanups.
6983 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
6985         * progmodes/python.el (python-pdbtrack-tracked-buffer)
6986         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6987         (python-shell-internal-last-output): Use make-local-variable
6988         instead of make-variable-buffer-local.
6990 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
6992         * progmodes/python.el: Enhancements to forward-sexp.
6993         (python-nav-forward-sexp): Rename from
6994         python-nav-forward-sexp-function.
6995         (python-nav--forward-sexp, python-nav--backward-sexp):
6996         New functions.
6998 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
7000         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7001         modes and simplification modes.
7003 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7005         * delsel.el (delete-selection-pre-hook): Don't propagate the
7006         file-supersession signals (bug#12161).
7008 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7010         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7011         (cl-map-extents): Add compatibility aliases (bug#12135).
7013 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
7015         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7016         tests by `ignore-error'.
7017         (tramp-find-shell): Open also a new shell, when cache is already
7018         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
7020 2012-08-08  Juri Linkov  <juri@jurta.org>
7022         * bookmark.el: Add `defaults' property to the bookmark record.
7023         (bookmark-current-buffer): Doc fix.
7024         (bookmark-make-record): Add `defaults' property with default values
7025         to the bookmark record.
7026         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7027         with `bookmark-insert-current-bookmark'.
7028         (bookmark-set): Get `defaults' property from the bookmark record
7029         and use it in `read-from-minibuffer'.
7030         (bookmark-insert-current-bookmark): Remove function.
7032         * info.el (Info-bookmark-make-record): Add `defaults' property
7033         with values of canonical Info node name, the current Info file
7034         name and the current Info node name.  (Bug#12107)
7036 2012-08-08  Juri Linkov  <juri@jurta.org>
7038         * files.el (basic-save-buffer): Use `buffer-name' as the default
7039         of `read-file-name' when buffer is not visiting a file (bug#12128).
7041 2012-08-08  Juri Linkov  <juri@jurta.org>
7043         * info.el (Info-isearch-search): Doc fix.
7044         (Info-search): Change search-failed message from "initial node" to
7045         "end of node" (bug#12078).
7046         (Info-isearch-search): Change `isearch-string-state' to
7047         `isearch--state-string'.
7049 2012-08-08  Glenn Morris  <rgm@gnu.org>
7051         * language/persian.el: Remove file.
7052         * language/misc-lang.el: Move unique part of persian.el here.
7053         * loadup.el: Remove language/persian.
7055 2012-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
7057         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7059 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
7061         * progmodes/python.el: Fix defsubst warning.
7062         (python-syntax-context) Rename from python-info-ppss-context.
7063         (python-syntax-context-type): Rename from
7064         python-info-ppss-context-type.
7065         (python-syntax-comment-or-string-p): Rename from
7066         python-info-ppss-comment-or-string-p.
7068 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
7070         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7072 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
7074         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7075         a defcustom that is quoted with backquote.
7077         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7078         Fix handling of interactive spec when the body uses return.
7079         (math-do-arg-check, math-define-function-body): Use backquote forms.
7080         * calc/calc-ext.el (math-defcache): Likewise.
7081         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7082         * allout.el (allout-new-exposure): Likewise.
7083         * calc/calcalg2.el (math-tracing-integral): Likewise.
7084         * info.el (Info-last-menu-item): Likewise.
7085         * emulation/vip.el (vip-loop): Likewise.
7086         * textmodes/artist.el (artist-funcall): Likewise.
7087         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7088         Construct menu-item directly.
7090         * progmodes/autoconf.el (font-lock-syntactic-keywords):
7091         Don't declare.
7093 2012-08-07  Chong Yidong  <cyd@gnu.org>
7095         * simple.el (deactivate-mark): Preserve text properties when
7096         saving the primary selection (Bug#8384).
7098 2012-08-07  Kevin Ryde  <user42@zip.com.au>
7100         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7101         (woman-parse-numeric-value): On a bad .IP line, issue a warning
7102         and continue processing (Bug#12110).
7104 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7106         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7107         syntax-propertize-function (bug#10095).
7109 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7111         * help-fns.el (help-fns--key-bindings, help-fns--signature)
7112         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7113         describe-function-1.
7114         (describe-function-1): Use them.  Move compiler macro after sig.
7115         (help-fns--compiler-macro): Use function-get.  Assume we're already in
7116         standard-output.  Adjust layout to new call order.
7118         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7119         re-binding a symbol that has a symbol-macro (bug#12119).
7121 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
7123         * language/persian.el: New file.  (Bug#11812)
7124         * loadup.el: Add language/persian.el.
7126 2012-08-06  Chong Yidong  <cyd@gnu.org>
7128         * window.el (window--maybe-raise-frame): New function.
7129         (window--display-buffer): Split off from here.
7130         (display-buffer-reuse-window, display-buffer-pop-up-frame)
7131         (display-buffer-pop-up-window, display-buffer-use-some-window):
7132         Obey an inhibit-switch-frame action alist entry.
7133         (display-buffer): Update doc.
7135         * replace.el (occur-after-change-function): Avoid losing focus by
7136         using the inhibit-switch-frame display parameter (Bug#12139).
7138 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
7140         Make internal shell process buffer names start with space.
7141         * progmodes/python.el (python-shell-make-comint): Add optional
7142         argument INTERNAL.
7143         (run-python-internal): Use it.
7144         (python-shell-internal-get-or-create-process): Check for new
7145         internal buffer names.
7147 2012-08-06  Glenn Morris  <rgm@gnu.org>
7149         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7150         Do less getting and setting of environment variables.
7152 2012-08-05  Chong Yidong  <cyd@gnu.org>
7154         * proced.el (proced): Add substitution string to docstring to
7155         trigger autoloading of the proced library on C-h f (Bug#1768).
7157         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7158         Don't show defvars which have no second argument (Bug#8638).
7160         * imenu.el (imenu-generic-expression): Move documentation here
7161         from imenu--generic-function.
7162         (imenu--generic-function): Refer to imenu-generic-expression.
7164 2012-08-05  Vegard Ã˜ye  <vegard_oye@hotmail.com>  (tiny change)
7166         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7167         indentation declaration.
7168         (viper-loop): Add indentation declaration (Bug#7025).
7170 2012-08-05  Chong Yidong  <cyd@gnu.org>
7172         * help-fns.el (describe-variable): Add hyperlink for
7173         directory-local variables files.  Improve buffer-local and
7174         permanent-local reporting; suggested by MON KEY (Bug#6644).
7176         * help-mode.el (help-dir-local-var-def): New button type.
7178         * files.el (kill-buffer-hook): Provide a defvar.
7180 2012-08-05  Glenn Morris  <rgm@gnu.org>
7182         * eshell/esh-ext.el (eshell/addpath):
7183         Also update eshell-path-env.  (Bug#12013)
7185 2012-08-05  Chong Yidong  <cyd@gnu.org>
7187         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7189         * fringe.el (fringe-styles): Add docstring.
7190         (fringe--check-mode): New function.
7191         (set-fringe-mode, set-fringe-style): Use it.
7192         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7194         * files.el (set-auto-mode): Fix invalid setq call.
7196 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7198         * isearch.el: Misc simplification; use defstruct.
7199         (isearch-mode-map): Dense maps now work like sparse ones.
7200         (isearch--state): New defstruct.
7201         (isearch-string-state, isearch-message-state, isearch-point-state)
7202         (isearch-success-state, isearch-forward-state)
7203         (isearch-other-end-state, isearch-word-state, isearch-error-state)
7204         (isearch-wrapped-state, isearch-barrier-state)
7205         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7206         replaced by defstruct's accessors.
7207         (isearch--set-state): Rename from isearch-top-state and change
7208         calling convention.
7209         (isearch-push-state): Use new isearch--get-state.
7210         (isearch-toggle-word): Disable regexp when enabling word.
7211         (isearch-message-prefix): Remove unused arg _c-q-hack.
7212         (isearch-message-suffix): Remove unused arg _ellipsis.
7214 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
7216         * simple.el (list-processes--refresh): For a server use :host or
7217         :local as the address.
7218         (list-processes): Doc fix.
7220 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
7222         * lisp/mpc.el: Support password in host argument.
7223         (mpc--proc-connect): Parse and use new password element.
7224         Set mpc-proc variable instead of returning process.
7225         (mpc-proc): Adjust accordingly.
7227 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
7229         * whitespace.el (whitespace-display-mappings): Use Unicode
7230         codepoints, instead of emacs-mule codepoints.  See
7231         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7232         for the details.
7234         * files.el (file-truename): Don't skip symlink-chasing part on
7235         windows-nt.  Incorporate the resolution of 8+3 short aliases on
7236         Windows into the loop that recursively chases symlinks.
7237         Compare directory and its parent case-insensitively on MS-Windows and
7238         MS-DOS.
7240 2012-08-03  Chong Yidong  <cyd@gnu.org>
7242         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7244         * sort.el (sort-regexp-fields): Doc fix.
7246 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
7248         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7249         labels regex position point at the expected place.
7251 2012-08-03  MON KEY  <monkey@sandpframing.com>
7253         * net/imap.el (imap-interactive-login, imap-authenticate)
7254         (imap-mailbox-lsub, imap-mailbox-list)
7255         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7256         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7257         (imap-parse-response): Doc fix.
7259 2012-08-03  João Távora  <joaotavora@gmail.com>
7261         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7262         if sexp scanning does not move point (Bug#5734).
7264 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
7266         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7267         Add listings, minted, and ctable packages.
7268         (reftex-label-alist-builtin): Move listings, minted, and ctable
7269         entries before LaTeX.
7270         (reftex-label-alist): Docfix.
7272 2012-08-02  Bastien Guerry  <bzg@gnu.org>
7274         * replace.el (occur): Fix docstring (bug#12122).
7276 2012-08-02  Glenn Morris  <rgm@gnu.org>
7278         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7280 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
7282         Obsolete alias inactivate-current-input-method-function (Bug#10150).
7283         * international/mule-cmds.el: Create
7284         inactivate-current-input-method-function as an obsolete alias for
7285         deactivate-current-input-method-function.  See Katsumi Yamaoka in
7286         <http://bugs.gnu.org/10150#46>.
7288 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
7290         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7291         of nested `if's.
7293 2012-08-01  Glenn Morris  <rgm@gnu.org>
7295         * progmodes/autoconf.el (autoconf-definition-regexp):
7296         Add AH_TEMPLATE, adjust submatch numbering.
7297         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7298         (autoconf-current-defun-function): Update for above change.
7299         (autoconf-current-defun-function): First skip to end of current word.
7301 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
7303         * calendar/cal-html.el (cal-html-insert-agenda-days):
7304         Fix typo.  (Bug#12018)
7306 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
7308         Shell processes: enhancements to startup and CEDET compatibility.
7309         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7310         (python-shell-make-comint): accept-process-output at startup.
7311         (run-python-internal): Set inferior-python-mode-hook to nil.
7312         (python-shell-internal-get-or-create-process): call sit-for.
7313         (python-preoutput-result): Add obsolete alias.
7314         (python-shell-internal-send-string): Use it.
7315         (python-shell-send-setup-code): Remove call to
7316         accept-process-output.
7318 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
7320         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7321         (Bug#12108)
7323 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
7325         * calc-mode.el (calc-basic-simplification-mode): Rename from
7326         `calc-limited-simplification-mode'.
7327         (calc-alg-simplification-mode): New function.
7328         (calc-set-simplify-mode): Adjust message.
7330         * calc.el (calc-set-mode-line): Adjust mode line display for
7331         basic simplification mode.
7333         * calc-help.el (calc-m-prefix-help): Update help message.
7335         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7336         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7338 2012-07-31  Bastien Guerry  <bzg@gnu.org>
7340         * man.el (man): Fix comment.  (bug#12101)
7342 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
7344         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7345         Don't return a non-nil value when no suitable buffer was found.
7347 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
7349         * progmodes/python.el (run-python-internal): Disable font lock for
7350         internal shells.
7352 2012-07-30  Stefan Merten  <smerten@oekonux.de>
7354         * textmodes/rst.el: Silence `checkdoc-ispell'.
7355         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7356         (rst-official-version, rst-official-cvs-rev)
7357         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7358         (rst-mode-map): New key binding.
7360 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
7362         Update .PHONY listings in makefiles.
7363         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7364         autoloads, update-subdirs, updates, bzr-update, update-authors,
7365         compile-onefile, compile-calc, backup-compiled-files,
7366         compile-after-backup, compile-one-process, mh-autoloads,
7367         bootstrap-clean, distclean, maintainer-clean.
7369 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
7371         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7372         (calc-set-mode-line): Don't display "AlgSimp ".
7374         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7375         (calc-lim-simplify-mode): New function.
7376         (calc-set-simplify-mode): Default to 'alg.
7377         (calc-default-simplify-mode): Make algebraic simplifications
7378         the default.
7380         * calc/calc-ext.el (calc-init-extensions): Remove binding for
7381         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
7383         * calc/calc-help.el (calc-m-prefix-help): Change messages to
7384         indicate new simplification modes.
7386         * calc/README: Mention new default simplification mode.
7388         * calc/calc.el (math-normalize-error): New variable.
7389         (math-normalize): Set `math-normalize-error' to t
7390         when there's an error.
7392         * calc/calc-alg.el (math-simplify): Don't simplify when
7393         `math-normalize' returns an error.
7395 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
7397         * international/mule-cmds.el (set-locale-environment): Revert last
7398         change, since display-graphic-p returns nil when this function is
7399         called during startup.  Instead...
7401         * term/w32console.el (terminal-init-w32console): ...setup the
7402         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
7404 2012-07-29  Juri Linkov  <juri@jurta.org>
7406         * simple.el (goto-line): Don't display default line number in the
7407         prompt because it should be displayed by `read-number' (bug#9952).
7408         Add the current line number to the defaults of `goto-line' to
7409         allow its easier modification by users with `M-n' (bug#9201).
7411         * subr.el (read-number): Support multiple default values like in
7412         other minibuffer reading functions.  Replace `read' with
7413         `string-to-number' for consistency with `number-to-string'.
7415 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
7417         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7418         * emulation/viper-init.el (viper-deactivate-input-method-action):
7419         Rename from viper-inactivate-input-method-action.
7420         (viper-deactivate-input-method):
7421         Rename from viper-inactivate-input-method.
7422         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7423         * international/mule-cmds.el (deactivate-input-method):
7424         Rename from inactivate-input-method.
7425         Also run input-method-deactivate-hook.
7426         (deactivate-current-input-method-function):
7427         Rename from inactivate-current-input-method-function.
7428         (input-method-deactivate-hook): New hook.
7429         (input-method-inactivate-hook): Mark obsolete.
7430         (inactivate-input-method): Mark obsolete.
7432         * international/quail.el (quail-activate):
7433         Also run quail-deactivate-hook.
7434         (quail-deactivate): Rename from quail-inactivate.
7435         * international/robin.el (robin-activate):
7436         Also run robin-deactivate-hook.
7437         (robin-deactivate): Rename from robin-inactivate.
7439 2012-07-29  Chong Yidong  <cyd@gnu.org>
7441         * simple.el (indicate-copied-region): New function.
7442         (kill-ring-save): Split off from here.
7444         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7445         (kill-rectangle): Set deactivate-mark to t on read-only error.
7447         * register.el (copy-to-register, copy-rectangle-to-register):
7448         Deactivate the mark, and use indicate-copied-region (Bug#10056).
7449         (append-to-register, prepend-to-register): Call indicate-copied-region.
7451 2012-07-29  Juri Linkov  <juri@jurta.org>
7453         * simple.el (async-shell-command-buffer): New defcustom.
7454         (shell-command): Use it.  (Bug#4719)
7456 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
7458         * international/mule-cmds.el (set-locale-environment): In a
7459         console session on MS-Windows, set up keyboard and terminal
7460         encoding from the OEM codepage, not the ANSI codepage.
7461         (Bug#12055)
7463 2012-07-28  Chong Yidong  <cyd@gnu.org>
7465         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7466         gdb-get-location.
7468 2012-07-28  Leo Liu  <sdl.web@gmail.com>
7470         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7471         the alist (bug#12029).
7473 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
7475         * makefile.w32-in (custom-deps, finder-data, updates, compile)
7476         (compile-always, compile-first)
7477         ($(lisp)/calendar/cal-loaddefs.el)
7478         ($(lisp)/calendar/diary-loaddefs.el)
7479         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7480         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7481         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7482         instead of on update-subdirs.
7483         (bootstrap-clean): Delete $(lisp)/subdirs.el.
7485 2012-07-28  Chong Yidong  <cyd@gnu.org>
7487         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7488         directory if vc-deduce-backend returns nil (Bug#7350).
7490         * simple.el (delete-trailing-lines): New option.
7491         (delete-trailing-whitespace): Obey it (Bug#11879).
7493 2012-07-28  David Engster  <deng@randomsample.de>
7495         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7496         Explanation of new 'symbol-qnames feature in doc-strings.
7497         (xml-maybe-do-ns): Return expanded names as plain symbols if
7498         'symbol-qnames was provided in XML-NS argument (Bug#11916).
7499         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7501 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
7503         Consistent completion in inferior python with emacs -nw.
7504         * progmodes/python.el (inferior-python-mode): replace "<tab>"
7505         binding in inferior-python-mode-map with "\t".
7506         (python-shell-completion-complete-at-point)
7507         (python-completion-complete-at-point): Remove interactive spec.
7509 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
7511         * calc/calccomp.el (math-compose-expr): Undo previous change.
7513 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
7515         * progmodes/python.el (python-mode-map): Add keybinding for
7516         run-python.
7517         (python-shell-make-comint): Fix pop-to-buffer call.
7518         (run-python): Autoload.  New arg SHOW.
7519         (python-shell-get-or-create-process): Do not pop python process
7520         buffer.
7522 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
7524         * notifications.el (notifications-on-action-signal)
7525         (notifications-on-closed-signal): Use also the bus address for the map.
7526         (notifications-notify, notifications-close-notification)
7527         (notifications-get-capabilities): Add optional argument BUS.
7529 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
7531         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7532         Add support for the lstlisting and minted environments, and for the
7533         ctable macro.
7534         * textmodes/reftex.el (reftex-compile-variables): Also recognize
7535         labels written in keyvals syntax.
7537 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
7539         * calc/calccomp.el (math-compose-expr): Use parentheses when
7540         there is a product in the denominator of a fraction.
7542 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
7544         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7545         ($(lisp)/calendar/diary-loaddefs.el)
7546         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7547         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7548         Fixes failures in parallel bootstrap because subdirs.el is being
7549         rewritten while the autoload files are built at the same time,
7550         which needs to load subdirs.el.
7552 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
7554         * mouse.el (popup-menu): Fix doc-string and re-indent code.
7555         (mouse-drag-line): Don't exit tracking when a switch-frame or
7556         switch-window event occurs (Bug#12006).
7558 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7560         * mouse.el (popup-menu): Fix last change.
7562 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7564         Autoload from Lisp with more care.  Follow aliases when looking for
7565         function properties.
7566         * subr.el (autoloadp): New function.
7567         (symbol-file): Use it.
7568         (function-get): New function.
7569         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7570         autoload-do-load.
7571         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7572         (lisp-indent-function):
7573         * emacs-lisp/gv.el (gv-get):
7574         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7575         * emacs-lisp/byte-opt.el (byte-optimize-form):
7576         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7577         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7578         Use function-get.
7579         * emacs-lisp/cl.el: Don't propagate function properties any more.
7581         * speedbar.el (speedbar-add-localized-speedbar-support):
7582         * emacs-lisp/disass.el (disassemble-internal):
7583         * desktop.el (desktop-load-file):
7584         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7585         (describe-function-1):
7586         * emacs-lisp/find-func.el (find-function-noselect):
7587         * emacs-lisp/elp.el (elp-instrument-function):
7588         * emacs-lisp/advice.el (ad-has-proper-definition):
7589         * apropos.el (apropos-safe-documentation, apropos-macrop):
7590         * emacs-lisp/debug.el (debug-on-entry):
7591         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7592         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7593         * calc/calc.el (name): Use autoloadp & autoload-do-load.
7595 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
7597         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7598         function, not an obsolete variable (Bug#12046).
7600 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
7602         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
7604 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
7606         * emacs-lisp/pp.el (pp-display-expression): Select old selected
7607         window only if it is still live (Bug#12034).
7609 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
7611         * subr.el (redirect-frame-focus): Add advertised calling
7612         convention (Bug#12030).
7614 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
7616         Prefer typical American spelling for "acknowledgment".
7617         * vc/add-log.el (change-log-acknowledgment): Rename from
7618         change-log-acknowledgement, with an alias for the old name.
7620 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
7622         * calc-alg.el (math-simplify-divide): Don't cross multiply
7623         in an equation when the lhs is a variable.
7625 2012-07-24  Julien Danjou  <julien@danjou.info>
7627         * net/netrc.el (netrc-find-service-number, netrc-store-data):
7628         Remove, unused.
7630 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
7632         * startup.el (command-line): Don't display an empty user name in
7633         the error message about non-existent home directory, when
7634         init-file-user was set to an empty string.  See
7635         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7636         for the details and context.
7638 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7640         * ses.el (ses-cell-formula-aset): New macro.
7641         (ses-cell-references-aset): New macro.
7642         (ses-cell-p): New function.
7643         (ses-rename-cell): Do no longer rely on complex operations like
7644         ses-cell-set-formula or ses-set-cell to change the cell and handle
7645         the undo at the same time, but rather use lower level new macros
7646         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7647         the undo directly.  Refresh the mode line.
7649 2012-07-21  Leo Liu  <sdl.web@gmail.com>
7651         * progmodes/cc-cmds.el (c-defun-name):
7652         Use match-string-no-properties instead for consistency.
7654 2012-07-20  Leo Liu  <sdl.web@gmail.com>
7656         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7657         (Bug#7879)
7659         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7661 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7663         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7664         * progmodes/bug-reference.el, misearch.el: Provide themselves
7665         (bug#11915).
7667         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7668         of narrowed buffer (bug#11966).
7670 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7672         * ses.el (ses-rename-cell): Set new name also in reference list of
7673         cells of which the renamed cell depends.
7675 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
7677         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7678         to check whether menu-bar is shown or not.  If not shown,
7679         show the menu-bar as a popup menu instead of using tmm.
7680         * mouse.el (popup-menu): Accept `point' as `position' argument.
7682 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
7684         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7685         up inside string symbol literal (bug#11923).
7687 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
7689         * startup.el (fancy-startup-text): Read the whole tutorial, not
7690         just its first 256 bytes.  Prevents gibberish in display of the
7691         tutorial title.
7693 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
7695         Drop idle buffer compaction due to an absence of the
7696         proved efficiency.
7697         * compact.el: Remove.
7699 2012-07-19  Sam Steingold  <sds@gnu.org>
7701         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7702         vc-bzr-pull & vc-bzr-merge-branch.
7703         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7704         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7705         for consistency with compilation-error-regexp-alist.
7706         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7707         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7708         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7709         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7711 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7713         * emacs-lisp/chart.el: Use lexical-binding.
7714         (chart-emacs-storage): Don't hardcode the list of entries.
7716 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
7718         Next round of tweaks caused by Fgarbage_collect changes.
7719         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7721 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
7723         Compact buffers when idle.
7724         * compact.el: New file.
7726 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7728         * subr.el (eventp): Presume that if it looks vaguely like an event,
7729         it's an event (bug#10190).
7731 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
7733         Enhancements to ppss related code (thanks Stefan).
7734         * progmodes/python.el (python-indent-context)
7735         (python-indent-calculate-indentation, python-indent-dedent-line)
7736         (python-indent-electric-colon, python-nav-forward-block)
7737         (python-mode-abbrev-table)
7738         (python-info-assignment-continuation-line-p): Simplify checks
7739         for ppss context.
7740         (python-info-continuation-line-p): Cleanup.
7741         (python-info-ppss-context): Do not catch 'quote.
7742         (python-info-ppss-context-type)
7743         (python-info-ppss-comment-or-string-p): Simplify.
7745 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
7747         * progmodes/python.el: Enhancements to eldoc support.
7748         (python-info-current-symbol): New function.
7749         (python-eldoc-at-point): Use python-info-current-symbol.
7750         (python-info-current-defun): Fix cornercase on first defun scan.
7751         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7752         and signal error when no inferior python process is available.
7754 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
7756         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7757         assume it's always t.
7758         (vc-git-registered): Remove caching, the function is only called
7759         once.
7760         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7762 2012-07-18  Chong Yidong  <cyd@gnu.org>
7764         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7766         * simple.el (count-words): Report on narrowing (Bug#9959).
7768         * bindings.el: Bind M-= to count-words.
7770         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7772 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
7774         * progmodes/sh-script.el (sh-imenu-generic-expression):
7775         Capture a function with `function' keyword and without parentheses
7776         like "function FOO" (bug#11856).
7778 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
7780         * window.el (split-window-sensibly): Make WINDOW argument
7781         optional.
7783 2012-07-18  Chong Yidong  <cyd@gnu.org>
7785         * subr.el (keyboard-translate): Doc fix (Bug#7261).
7787         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7788         and make C-x 8 RET exit isearch (Bug#11439).
7790         * international/iso-transl.el: Move isearch-mode-map key
7791         definitions to isearch.el.
7793 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7795         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7796         (eieio-defclass): Use gv-define-setter when possible.
7798 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
7800         Reflect recent changes in Fgarbage_collect.
7801         * emacs-lisp/chart.el (chart-emacs-storage): Change to
7802         reflect new format of data returned by Fgarbage_collect.
7804 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
7806         New utility functions + python-info-ppss-context fix (Bug#11910).
7807         * progmodes/python.el (python-info-beginning-of-block-statement-p)
7808         (python-info-ppss-comment-or-string-p): New functions.
7809         (python-info-ppss-context): Small fix for string check.
7811 2012-07-17  Juri Linkov  <juri@jurta.org>
7813         * dired-aux.el (dired-do-async-shell-command): Doc fix.
7814         (dired-do-async-shell-command): Don't add `*' at the end of the
7815         command (Bug#11815).
7816         (dired-do-shell-command): Doc fix.
7817         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7818         Join the individual commands using either "&" or ";" as the
7819         separator depending on the values of these trailing characters.
7820         At the end re-add the trailing "&".  (Bug#10598)
7822         * simple.el (async-shell-command): Sync the interactive spec with
7823         `shell-command'.  Doc fix.
7824         (shell-command): Doc fix.
7826 2012-07-17  Juri Linkov  <juri@jurta.org>
7828         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
7830 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
7832         Final renames and doc fixes for movement commands (bug#11899).
7833         * progmodes/python.el (python-nav-beginning-of-statement):
7834         Rename from python-nav-statement-start.
7835         (python-nav-end-of-statement): Rename from
7836         python-nav-statement-end.
7837         (python-nav-beginning-of-block): Rename from
7838         python-nav-block-start.
7839         (python-nav-end-of-block): Rename from python-nav-block-end.
7841 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
7843         * progmodes/python.el (python-shell-send-string-no-output):
7844         Allow accept-process-output to quit, keeping shell process ready for
7845         future interactions (Bug#11868).
7847 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7849         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7851         * emacs-lisp/elint.el (elint-find-args-in-code):
7852         Use help-function-arglist, so as to handle lexical byte-code.
7854         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7855         change (bug#11826).
7857 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7859         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7860         Avoid spuriously marking the buffer as modified because of c-is-sws.
7862         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7863         as not-a-comment (bug#11946).
7865         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7866         for uninterned vars.
7868         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7869         Use read-event since we don't really want to read chars but bytes.
7871         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7872         $$..$$ but also $..$ using regexps (bug#11953).
7873         Use tex-verbatim for \url and \path.
7874         (tex-font-lock-keywords): Define as defconst like the others.
7875         (tex-common-initialization): Don't use font-lock-syntax-table any more.
7877 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
7879         * international/mule-cmds.el (ucs-insert): Make it an obsolete
7880         alias for insert-char.
7882 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
7884         * progmodes/python.el: Simplified imenu implementation.
7885         (python-nav-jump-to-defun): Remove command.
7886         (python-mode-map): Use `imenu' instead.
7887         (python-nav-list-defun-positions-cache)
7888         (python-imenu-include-defun-type, python-imenu-make-tree)
7889         (python-imenu-subtree-root-label, python-imenu-index-alist):
7890         Remove vars.
7891         (python-nav-list-defun-positions, python-nav-read-defun)
7892         (python-imenu-tree-assoc, python-imenu-make-element-tree)
7893         (python-imenu-make-tree, python-imenu-create-index):
7894         Remove functions.
7895         (python-mode): Update to interact with imenu by setting
7896         `imenu-extract-index-name-function' only.
7898 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
7900         * progmodes/python.el: Enhancements to navigation commands.
7901         (python-nav-backward-sentence)
7902         (python-nav-forward-sentence): Remove.
7903         (python-nav-backward-statement, python-nav-forward-statement)
7904         (python-nav-statement-start, python-nav-statement-end)
7905         (python-nav-backward-block, python-nav-forward-block)
7906         (python-nav-block-start, python-nav-block-end)
7907         (python-nav-forward-sexp-function)
7908         (python-info-current-line-comment-p)
7909         (python-info-current-line-empty-p): New functions.
7910         (python-indent-context): Use `python-nav-statement-start'.
7912 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
7914         * eshell/em-ls.el (eshell/ls): Use `apply'.
7916         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7917         multi-hops, instead of Tramp internals.
7919         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7921         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7922         when F1 and F2 are located on different hosts.
7924 2012-07-14  Chong Yidong  <cyd@gnu.org>
7926         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7927         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7928         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7929         (xterm-mouse--read-event-sequence-1000)
7930         (xterm-mouse--read-event-sequence-1006): New functions.  For old
7931         mouse protocol, handle M-mouse-X events correctly.
7932         (xterm-mouse-event): New arg specifying mouse protocol.
7933         (turn-on-xterm-mouse-tracking-on-terminal)
7934         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7935         sequence to toggle extended coordinates on newer XTerms.
7936         This appears to be harmless on terminals which do not support this.
7938 2012-07-14  Leo Liu  <sdl.web@gmail.com>
7940         Add fringe bitmap indicators for flymake.  (Bug#11253)
7941         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7942         (flymake-make-overlay): New arg BITMAP.
7943         (flymake-error-bitmap, flymake-warning-bitmap)
7944         (flymake-fringe-indicator-position): New user variables.
7946         * fringe.el: New bitmap exclamation-mark.
7948 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
7950         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7951         also (Bug#7879).
7953 2012-07-14  Chong Yidong  <cyd@gnu.org>
7955         * electric.el (electric-pair-post-self-insert-function): Fix pair
7956         insertion in empty-region case (Bug#11520).
7958 2012-07-14  Chong Yidong  <cyd@gnu.org>
7960         * bindings.el: Consolidate ctl-x-r-map bindings.
7961         Bind copy-rectangle-as-kill to C-x r w.
7963         * rect.el, register.el: Move bindings to bindings.el.
7965 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
7967         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7969 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7971         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
7973 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
7975         * bindings.el (top): Use `mapc' instead of `mapcar'.
7977         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7979 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
7981         * progmodes/sql.el (sql-comint): Suppress the check for program on
7982         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
7983         (Bug#11908)
7985 2012-07-13  Chong Yidong  <cyd@gnu.org>
7987         * bindings.el: Assign a non-nil permanent-local property to
7988         per-buffer variables which lack a default value (Bug#11930).
7990         * help-fns.el (describe-variable): In the "automatically becomes
7991         local" notice, take note of permanent-local variables.
7993 2012-07-13  Chong Yidong  <cyd@gnu.org>
7995         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
7996         to allow printing the message when called from Lisp.
7998         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7999         Remove toggle-read-only.
8001         * bs.el (bs-toggle-readonly):
8002         * buff-menu.el (Buffer-menu-toggle-read-only):
8003         Remove with-no-warnings around toggle-read-only.
8005         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8006         Remove with-no-warnings around toggle-read-only.
8007         (ffap-read-only, ffap-read-only-other-window)
8008         (ffap-read-only-other-frame): Callers changed.
8010         * help-mode.el: Don't require view package.
8011         (help-mode-finish): Set buffer-read-only instead of calling
8012         toggle-read-only.
8014         * bindings.el (mode-line-toggle-read-only):
8015         * dired.el (dired-toggle-read-only):
8016         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8017         with non-nil second arg.
8019         * emacs-lisp/eieio-custom.el (eieio-customize-object):
8020         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8021         directly.
8023 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
8025         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8026         not incf.
8028 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8030         More CL cleanups and reduction of use of cl.el.
8031         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8032         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8033         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8034         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8035         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8036         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8037         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8038         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8039         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8040         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8041         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8042         * eshell/em-cmpl.el, eshell/em-banner.el:
8043         * calendar/parse-time.el: Use cl-lib.
8044         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8045         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8046         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8047         * term/ns-win.el, term.el, shell.el, ps-samp.el:
8048         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8049         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8050         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8051         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8052         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8053         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8054         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8055         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8056         `lambda' rather than with `quote'.
8057         (eshell-do-opt): Adjust accordingly.
8058         (eshell-process-option): Simplify.
8059         * eshell/esh-var.el:
8060         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8061         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8062         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8063         to `pcase--dontcare'.
8064         * emacs-lisp/cl.el (labels): Mark obsolete.
8065         (cl--letf, letf): Move to cl-lib.
8066         (cl--letf*, letf*): Remove.
8067         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8068         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8069         (cl-progv): Rewrite.
8070         (cl--letf, cl-letf): Move from cl.el.
8071         (cl-letf*): New macro.
8072         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8074 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
8076         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8078 2012-07-11  Chong Yidong  <cyd@gnu.org>
8080         * vc/log-edit.el (log-edit-vc-backend): New variable.
8081         (log-edit): Doc fix.
8083         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
8084         argument of log-edit to set up all local variables.
8085         (vc-start-logentry): New optional arg specifying VC backend.
8087         * vc/vc.el (vc-checkin): Use it.
8088         (vc-deduce-fileset): Handle Log Edit buffers.
8089         (vc-diff): Make first argument optional too.
8091         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8093 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
8095         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8096         command, just in case.  The function is not needed anymore.
8097         (eshell-external-command): Do not call `eshell-remote-command'.
8099 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8101         Reduce use of (require 'cl).
8102         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8103         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8104         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8105         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8106         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8107         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8108         * battery.el, avoid.el, abbrev.el: Use cl-lib.
8109         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8110         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8111         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8112         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8113         * calculator.el, autorevert.el, apropos.el: Don't require CL.
8114         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8115         (byte-compile-unfold-bcf, byte-compile-check-variable):
8116         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8117         (byte-compile-nilconstp):
8118         * emacs-lisp/autoload.el (make-autoload): Use pcase.
8119         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8121         * emacs-lisp/gv.el (cond): Make it a valid place.
8122         (if): Simplify slightly.
8124         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8125         (pcase--self-quoting-p): New function.
8126         (pcase--u1): Use it.
8128 2012-07-10  Glenn Morris  <rgm@gnu.org>
8130         * emacs-lisp/authors.el (authors-fixed-entries):
8131         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8133 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
8135         Rename configure.in to configure.ac (Bug#11603).
8136         * emacs-lisp/authors.el (authors-canonical-file-name):
8137         * progmodes/autoconf.el (autoconf-mode):
8138         Prefer configure.ac to configure.in.
8140 2012-07-08  Chong Yidong  <cyd@gnu.org>
8142         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8143         Implement the mouse-1-click-follows-link handling properly.
8145         * info.el (Info-link-keymap): Use follow-link mechanism for
8146         header-line links (Bug#374).
8148         * simple.el (deactivate-mark): Do not set the primary selection
8149         if another program has acquired it (Bug#11772).
8151 2012-07-07  Kevin Ryde  <user42@zip.com.au>
8153         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8154         (woman-decode-region): Replace escaped-escapes without destroying
8155         bold or underline (Bug#11552).
8156         (woman2-process-escapes): Handle nofill regions (Bug#11591).
8158 2012-07-07  Chong Yidong  <cyd@gnu.org>
8160         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8161         (interprogram-cut-function, interprogram-paste-function):
8162         Mention that we typically mean the clipboard.
8164 2012-07-06  Glenn Morris  <rgm@gnu.org>
8166         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
8168         * files.el (toggle-read-only): Restrict message to interactive use.
8170 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
8172         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8174         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8176 2012-07-06  Glenn Morris  <rgm@gnu.org>
8178         * Makefile.in (compile-one-process): Rename from "recompile".
8180         * Makefile.in (bzr-update): "compile" is the same as "recompile
8181         autoloads", but parallelizable, so use that instead.
8183 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
8185         * window.el (quit-window): Always restore window height when
8186         it's saved in quit-restore parameter (Bug#11810).
8188 2012-07-06  Glenn Morris  <rgm@gnu.org>
8190         * simple.el (kill-whole-line): Doc tweak.
8192 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
8194         * files.el (file-relative-name): Compare file names
8195         case-insensitively if on MS-Windows or MS-DOS, or if
8196         read-file-name-completion-ignore-case is non-nil.  Don't use
8197         case-fold-search for this purpose.  (Bug#11827)
8199 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
8201         * calendar/cal-dst.el (calendar-current-time-zone):
8202         Return calendar-current-time-zone-cache if non-nil.
8204 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
8205 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
8207         * calendar/cal-dst.el (calendar-current-time-zone):
8208         Return calendar-current-time-zone-cache if non-nil.
8210 2012-07-06  Glenn Morris  <rgm@gnu.org>
8212         * Makefile.in (cvs-update): Remove old alias.
8214 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
8216         Sync with Tramp 2.2.6-pre.
8218         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8219         compatible declaration.
8221         * net/tramp-cmds.el (tramp-append-tramp-buffers):
8222         Protect `list-load-path-shadows' call.
8224         * net/tramp-compat.el (top): Require packages, which aren't
8225         autoloaded anymore for XEmacs.  Protect call of
8226         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8227         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
8228         it hurts at least for SXEmacs.
8229         (tramp-compat-temporary-file-directory): In XEmacs, there is no
8230         standard-value for `temporary-file-directory'.
8232         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8233         Redirect stderr to /dev/null.
8234         (tramp-sh-handle-write-region): uid and gid can be floats.
8235         Reported by Russell Sim <russell.sim@gmail.com>.
8236         (tramp-sh-handle-vc-registered): Hide errors.
8237         (tramp-vc-file-name-handler): Use dummy results for `process-file'
8238         and `start-file-process'.
8239         (tramp-maybe-open-connection): Check also whether `non-essential'
8240         is bound.
8242 2012-07-04  Chong Yidong  <cyd@gnu.org>
8244         * xml.el (xml--parse-buffer): Use xml-syntax-table.
8245         (xml-parse-tag): Likewise, and avoid changing entity tables.
8246         (xml-syntax-table): Define from scratch, making sure not to give
8247         x2000 and other Unicode spaces whitespace syntax, since those are
8248         not spaces in XML.
8249         (xml-parse-fragment): Delete unused function.
8250         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8251         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8252         (xml-entity-ref, xml-pe-reference-re)
8253         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8254         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8255         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8256         (xml-entity-value-re): Use syntax references in regexps where
8257         possible; no need to define inside a let-binding.
8258         (xml-parse-dtd): Use xml-pe-reference-re.
8259         (xml-entity-or-char-ref-re): New defconst.
8260         (xml-parse-string, xml-substitute-special): Use it.
8262 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8264         * files.el (locate-dominating-file): Allow `name' to be a predicate.
8265         (find-file--read-only): New function.
8266         (find-file-read-only, find-file-read-only-other-window)
8267         (find-file-read-only-other-frame): Use it.
8268         (insert-file-contents-literally): Don't `fset'.
8269         (get-free-disk-space): Use locate-dominating-file.
8271         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8272         function is already compiled.
8274         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
8276 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
8278         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8279         files on the same host.
8281 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
8283         * help-fns.el (describe-function-1): Only call
8284         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
8286 2012-07-03  Chong Yidong  <cyd@gnu.org>
8288         * xml.el: Protect parser against XML bombs.
8289         (xml-entity-expansion-limit): New variable.
8290         (xml-parse-string, xml-substitute-special): Use it.
8291         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8293 2012-07-03  Glenn Morris  <rgm@gnu.org>
8295         * progmodes/bug-reference.el (bug-reference-bug-regexp):
8296         Allow linking to specific messages in debbugs reports (eg 123#5).
8298 2012-07-02  Chong Yidong  <cyd@gnu.org>
8300         * xml.el: Fix entity and character reference expansion, allowing
8301         them to expand into markup as per XML spec.
8302         (xml-default-ns): New variable.
8303         (xml-entity-alist): Use XML spec definitions for lt and amp.
8304         (xml-parse-region): Make first two arguments optional.
8305         Discard text properties.
8306         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8307         All callers changed.
8308         (xml-parse-tag): Call xml-parse-tag-1.  For backward
8309         compatibility, this function should not modify buffer contents.
8310         (xml-parse-tag-1): Fix opening-tag regexp.
8311         (xml-parse-string): Rewrite, handling entity and character
8312         references properly.
8313         (xml--entity-replacement-text): Signal an error if a parameter
8314         entity is undefined.
8316 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8318         * comint.el (comint-output-filter): Filter out repeated prompts.
8320         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8321         and file-name-absolute-p.
8322         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8323         internal calls.
8325 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
8327         Spelling fixes.
8328         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8329         Rename from byte-compile--refiy-function.  All uses changed.
8331 2012-07-01  Chong Yidong  <cyd@gnu.org>
8333         * xml.el (xml--parse-buffer): New function.  Move most of
8334         xml-parse-region here.
8335         (xml-parse-region): Copy region into a temporary buffer, since
8336         parameter entity substitution requires changing buffer contents.
8337         Use xml--parse-buffer.
8338         (xml-parse-file): Use xml--parse-buffer.
8339         (xml-parse-dtd): Make parameter entity substitution work right.
8340         Use proper regexps for ELEMENT declarations (Bug#7172).
8342 2012-06-30  Glenn Morris  <rgm@gnu.org>
8344         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8346         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8347         Remove outdated and unnecessary dbus declarations.
8349 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
8351         * emacs-lisp/timer.el (timer-until): Subtract results of
8352         float-time, instead of taking float-time of the result of
8353         time-subtract, since float-time signals an error for negative time
8354         arguments.
8356 2012-06-30  Chong Yidong  <cyd@gnu.org>
8358         * xml.el (xml-*-re): Convert defvars into defconsts, and
8359         eval-and-compile them so eval-and-compile works on derivatives.
8360         (xml--entity-replacement-text): Use eval-and-comple.
8362 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
8364         * vc/vc-git.el (vc-git-registered): Use cache property
8365         `git-registered'.
8366         (vc-git-mode-line-string): Call `vc-working-revision' instead of
8367         `vc-git-working-revision' in order to benefit from the cache.
8368         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
8370 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
8372         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8373         removed (likely outside Emacs).  (Bug#11757)
8375 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8377         * emacs-lisp/cl-lib.el: Require macroexp.
8379 2012-06-30  Chong Yidong  <cyd@gnu.org>
8381         * xml.el: Implement XML parameter entities.
8382         (xml-parameter-entity-alist): New variable.
8383         (xml-parse-region, xml-parse-fragment): Preserve previous values
8384         of xml-entity-alist and xml-parameter-entity-alist, so that
8385         repeated calls on different documents do not change them.
8386         (xml-parse-tag): Fix doctype regexp.
8387         (xml--entity-replacement-text): New function.
8388         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
8389         properly requires url retrieval which is unimplemented.
8390         (xml-escape-string): Doc fix.
8392 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8394         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8396 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
8398         * fringe.el (fringe-mode): Doc fix.
8400 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
8402         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8403         is non-nil.
8404         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8405         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
8407 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
8409         * calendar/cal-dst.el (calendar-current-time-zone):
8410         Return calendar-current-time-zone-cache if non-nil.
8412 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
8414         * progmodes/which-func.el (which-func-format):
8415         Add mouse-face.  (Bug#11698)
8417 2012-06-29  Leo Liu  <sdl.web@gmail.com>
8419         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8421 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8423         * minibuffer.el (minibuffer-confirm-exit-commands):
8424         Add completion-at-point (bug#11725).
8426 2012-06-29  Glenn Morris  <rgm@gnu.org>
8428         * progmodes/f90.el (f90-font-lock-keywords-2):
8429         Add some preprocessor elements.  (Bug#10499)
8431 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8433         * progmodes/cperl-mode.el (cperl-update-syntaxification):
8434         Use syntax-propertize (bug#11739).
8436 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
8438         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8440 2012-06-28  Julien Danjou  <julien@danjou.info>
8442         * term.el (term-handle-colors-array): Use a set of new faces to
8443         color the terminal.  Also uses :inverse-video property.
8444         (term-default-fg-color): Set to nil by default, deprecate in favor
8445         of `term-face'.
8446         (term-default-bg-color): Set to nil by default, deprecate in favor
8447         of `term-face'.
8448         (term-current-face): Use `term-face' by default.
8449         (term-bold-attribute): Variable deleted.
8451 2012-06-28  Glenn Morris  <rgm@gnu.org>
8453         * simple.el (completion-list-mode-finish):
8454         Don't use toggle-read-only.  (Since completion-list-mode has
8455         a special mode-class, it wasn't doing anything extra anyway.)
8457 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8459         Make inlining of other-mode interpreted functions work (bug#11799).
8460         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8461         (byte-compile): Use it to fix compilation of lexical-binding closures.
8462         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8463         function, if needed.
8465 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8467         * help-mode.el (help-make-xrefs): Don't just withstand
8468         cyclic-variable-indirection but any error in documentation-property.
8470         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8471         memory use.
8472         * bindings.el (bindings--define-key): New function.
8473         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8474         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8475         * bindings.el: Use it to purecopy define-key bindings.
8477         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8479         * emacs-lisp/cl.el (flet): Mark obsolete.
8480         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8481         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8482         * progmodes/js.el (js-c-fill-paragraph):
8483         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8484         (ebrowse-switch-member-buffer-to-derived-class):
8485         * play/5x5.el (5x5-solver): Use cl-flet.
8487         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
8488         (cl--symbol-function): New macro.
8489         (cl--letf, cl--letf*): Use it.
8491         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8492         Strip "toggle-" if any.
8494 2012-06-27  Glenn Morris  <rgm@gnu.org>
8496         * info.el (Info-default-directory-list): Move here from paths.el.
8497         * paths.el: Remove file, which is now empty.
8498         * loadup.el: No longer load "paths".
8500         * custom.el (custom-initialize-delay): Doc fix.
8502         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8503         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8504         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8505         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8506         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8507         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8508         * eshell/eshell.el (eshell-defgroup): Remove alias.
8510 2012-06-27  Chong Yidong  <cyd@gnu.org>
8512         * help.el (help-enable-auto-load): New variable.
8514         * help-fns.el (help-fns--autoloaded-p): New function.
8515         (describe-function-1): Refer to a function as "autoloaded" if it
8516         was autoloaded at any time in the past.  Perform autoloading if
8517         help-enable-auto-load is non-nil.
8519 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
8521         * makefile.w32-in (compile, compile-always): Depend on
8522         update-subdirs, not on subdirs.el.  Otherwise, several different
8523         sub-targets of 'bootstrap' running in parallel could
8524         simultaneously write to subdirs.el, producing a garbled file.
8526 2012-06-26  Sam Steingold  <sds@gnu.org>
8528         * files.el (file-name-base): New convenience function.
8529         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8530         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8531         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8532         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8533         * textmodes/ispell.el, textmodes/reftex-ref.el:
8534         * textmodes/tex-mode.el: Use it.
8535         Did not touch cedet and org because they are maintained elsewhere.
8537 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
8539         * calendar/calendar.el (calendar-exit): Don't try to delete or
8540         iconify last frame.  See:
8541         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8543 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
8545         * server.el (server-process-filter): Remember dir in the
8546         process's `server-client-directory' properties.
8548 2012-06-24  Chong Yidong  <cyd@gnu.org>
8550         * xml.el (xml-parse-tag): Correctly handle comment embedded in
8551         non-tag text.
8553 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
8555         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8557 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8559         * help-fns.el (describe-variable): Don't croak when doc is not found.
8560         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8561         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8562         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8563         * emacs-lisp/smie.el (smie-next-sexp): CSE.
8564         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8565         ((lambda ..) ..).
8566         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8568 2012-06-23  Chong Yidong  <cyd@gnu.org>
8570         * info.el (Info-mouse-follow-link): Accept symbol values of
8571         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
8572         (Info-fontify-node): Use Info-link-keymap for all navigation
8573         buttons, with link-args property to perform the desired action.
8574         (Info-link-keymap): Doc fix.
8575         (Info-next-link-keymap, Info-prev-link-keymap)
8576         (Info-up-link-keymap): Delete now-unused keymaps.
8578 2012-06-23  Chong Yidong  <cyd@gnu.org>
8580         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8582         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8583         system abbrevs.
8585         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8587 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8589         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8590         (bug#11719).
8592         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8593         the requote function doesn't work properly (bug#11714).
8595 2012-06-23  Glenn Morris  <rgm@gnu.org>
8597         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8599 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8601         Further GV/CL cleanups.
8602         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8603         gv-expander.
8604         (gv--defun-declaration): New function.
8605         (defun-declarations-alist): Use it.
8606         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8607         (gv-place): Autoload.
8608         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8609         original definition of dotimes and dolist.
8610         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8611         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8612         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8613         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8614         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8615         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8616         to the function's definition.
8617         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8618         * window.el:
8619         * files.el:
8620         * faces.el:
8621         * env.el: Don't use CL.
8623 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
8625         Support higher-resolution time stamps (Bug#9000).
8627         * calendar/time-date.el (with-decoded-time-value): New arg
8628         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
8629         (encode-time-value): New optional arg PICO.  New type 3.
8630         (time-to-seconds) [!float-time]: Support the new picoseconds
8631         component if it's used.
8632         (seconds-to-time, time-subtract, time-add):
8633         Support ps-resolution time stamps as well.
8635         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
8636         (timerp): Timer vectors now have length 9, not 8.
8637         (timer--time): Support new-style (4-part) time stamps.
8638         (timer-next-integral-multiple-of-time): Time stamps now have
8639         picosecond resolution, so take a bit more care about rounding.
8640         (timer-relative-time, timer-inc-time): New optional arg psecs.
8641         (timer-set-time-with-usecs): Set psecs to 0.
8642         (timer--activate): Check psecs component, too.
8644         * proced.el (proced-time-lessp): Support ps-resolution stamps.
8646 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8648         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8649         Move the non-essential binding to the post/pre-command-hook where it is
8650         more obviously correct.
8652         * subr.el (read-passwd): Don't use a history at all.
8653         * savehist.el (savehist-save): Remove password saved accidentally
8654         because of the above bug.
8656 2012-06-22  Bastien Guerry  <bzg@gnu.org>
8658         * files.el (toggle-read-only): Display a message telling whether
8659         the buffer is read-only or not (bug#11726).
8661 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8663         * emacs-lisp/gv.el: New file.
8664         * subr.el (push, pop): Extend to generalized variables.
8665         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8666         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8667         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
8668         gv-define-simple-setter, and gv-define-expander.
8669         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
8670         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8671         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8672         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8673         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8674         gv-letplace.
8675         (cl-defstruct): Don't define setf-method any more.
8676         * emacs-lisp/cl.el (flet): Don't autoload.
8677         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8678         (define-setf-expander, defsetf, define-modify-macro)
8679         (cl-struct-setf-expander): Move from cl-lib.el.
8680         * emacs-lisp/syntax.el:
8681         * emacs-lisp/ewoc.el:
8682         * emacs-lisp/smie.el:
8683         * emacs-lisp/cconv.el:
8684         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8685         (timer--time): Use gv-define-simple-setter.
8686         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8687         to avoid coding-system problems in subr.el.  Adjust all users.
8688         (macroexp--maxsize, macroexp-small-p): New functions.
8689         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8690         * scroll-bar.el (scroll-bar-mode):
8691         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8692         (normal-erase-is-backspace-mode): Don't use the `eq' place.
8693         * winner.el (winner-configuration, winner-make-point-alist)
8694         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8695         * files.el (locate-file-completion-table): Avoid list*.
8697 2012-06-22  Chong Yidong  <cyd@gnu.org>
8699         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8700         (dired-create-files): Doc fix (Bug#11329).
8701         (dired-do-copy): Doc fix (Bug#11334).
8702         (dired-mark-read-string): Doc fix (Bug#11553).
8704         * dired.el (dired-recursive-copies, dired-recursive-deletes):
8705         Doc fix (Bug#11326).
8706         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
8707         (dired-dwim-target): Doc fix.
8709         * wdired.el (wdired-mode): Doc fix.
8711 2012-06-22  Glenn Morris  <rgm@gnu.org>
8713         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8714         (pcmpl-rpm-cache-stamp-file): New constant.
8715         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8716         (pcmpl-rpm-packages): Optionally cache list of packages.
8718         * pcmpl-rpm.el (pcmpl-rpm): New group.
8719         (pcmpl-rpm-query-options): New option.
8720         (pcmpl-rpm-packages): No need to inline it.
8721         Use pcmpl-rpm-query-options.
8723         * calendar/calendar.el (calendar-in-read-only-buffer):
8724         Avoid some needless mode changes.
8726 2012-06-21  Chong Yidong  <cyd@gnu.org>
8728         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8729         (desktop-path): Remove . from the default value (Bug#10977).
8730         (desktop-read): Use user-emacs-directory if desktop-path is nil.
8732 2012-06-20  Chong Yidong  <cyd@gnu.org>
8734         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8736 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
8738         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8739         (bug#11201).
8741 2012-06-20  Chong Yidong  <cyd@gnu.org>
8743         * term.el (term-window-width): Handle the case of a missing right
8744         fringe (Bug#8837).
8745         (term-check-size): Use window-text-height (Bug#5445).
8746         (term-mode): Use define-derived-mode.  Minor cleanups.
8747         Set font-lock-defaults (Bug#7692).
8748         (term-move-columns, term-insert-char, term-emulate-terminal)
8749         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8751 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
8753         * net/ange-ftp.el (ange-ftp-get-passwd):
8754         Bind `enable-recursive-minibuffers'.
8755         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8757 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
8759         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8761 2012-06-19  Glenn Morris  <rgm@gnu.org>
8763         * progmodes/python.el (python-mode): Derive from prog-mode.
8765 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
8767         * emulation/edt.el (edt-default-menu-bar-update-buffers)
8768         (edt-user-menu-bar-update-buffers): New functions.
8769         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8771 2012-06-19  Chong Yidong  <cyd@gnu.org>
8773         * subr.el (with-selected-window): Preserve the selected window's
8774         terminal's top-frame (Bug#4702).
8776         * window.el (save-selected-window): Likewise.
8778 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8780         * progmodes/python.el (python-rx-constituents): Move backquote.
8781         (python-skeleton-define, python-define-auxiliary-skeleton):
8782         Use `declare'.
8784 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
8786         * minibuffer.el (read-file-name-default): Revert the patch from
8787         2012-06-17.
8789 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8791         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8792         (pcase--u1, pcase--q1): Don't use apply-partially.
8794 2012-06-18  Glenn Morris  <rgm@gnu.org>
8796         * progmodes/python.el (python-proc, python-buffer)
8797         (python-send-receive, python-send-string): Fix obsolete versions.
8799 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
8801         * window.el (special-display-p): Completely remove stringp
8802         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8804 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
8806         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8808         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8810         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8811         * net/tramp-sh.el (tramp-maybe-open-connection):
8812         Throw if `non-essential' is non-nil.
8814 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
8816         * window.el (special-display-p): Signal an error if BUFFER-NAME
8817         is not a string (Bug#11713).
8819 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
8821         * progmodes/python.el (python-info-beginning-of-backslash):
8822         Rename from python-info-beginning-of-backlash, as a spelling fix.
8824 2012-06-17  Chong Yidong  <cyd@gnu.org>
8826         * term.el (term-emulate-terminal): If term-check-size is called,
8827         move point to the process mark without resetting point (Bug#4635).
8829 2012-06-17  Glenn Morris  <rgm@gnu.org>
8831         * international/mule-cmds.el (mule-menu-keymap)
8832         (set-language-environment, set-locale-environment): Doc tweaks.
8834 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
8836         * cus-face.el (custom-face-attributes): Add wave-style underline
8837         attribute.
8838         * faces.el (set-face-attribute): Update docstring to describe
8839         wave-style underline attribute.
8841 2012-06-16  Chong Yidong  <cyd@gnu.org>
8843         * term/xterm.el (terminal-init-xterm): Discard input before
8844         querying background mode (Bug#10959).
8846 2012-06-16  Stefan Merten  <smerten@oekonux.de>
8848         * textmodes/rst.el: Added and corrected some comments.
8849         (rst-re-alist-def): Improve symbol syntax.
8850         (rst-mode-syntax-table): Correct syntax entries.
8851         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8852         (rst-official-version, rst-official-cvs-rev): Update version
8853         information.
8855 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
8857         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8858         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8860 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
8862         * progmodes/python.el: New python.el merge.
8863         (python-guess-indent): Obsolete var.
8864         (python-indent-guess-indent-offset): New defcustom.
8865         (python-indent): Obsolete var.
8866         (python-indent-offset): New defcustom.
8867         (python-python-command, python-jython-command): Delete var.
8868         (python-shell-interpreter): New defcustom.
8869         (python-pdbtrack-do-tracking-p): Delete var.
8870         (python-pdbtrack-activate): New defcustom.
8871         (python-use-skeletons): Obsolete var.
8872         (python-skeleton-autoinsert): New defcustom.
8873         (inferior-python-filter-regexp, python-continuation-offset)
8874         (python-honour-comment-indentation, python-indent-string-contents)
8875         (python-jython-packages, python-mode-hook)
8876         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8877         (python-shell-prompt-alist)
8878         (python-source-modes): Delete defcustoms.
8879         (python-check-buffer-name, python-eldoc-setup-code)
8880         (python-eldoc-string-code, python-ffap-setup-code)
8881         (python-ffap-string-code, python-fill-comment-function)
8882         (python-fill-decorator-function, python-fill-paren-function)
8883         (python-fill-string-function, python-imenu-include-defun-type)
8884         (python-imenu-make-tree, python-imenu-subtree-root-label)
8885         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8886         (python-shell-compilation-regexp-alist)
8887         (python-shell-completion-module-string-code)
8888         (python-shell-completion-pdb-string-code)
8889         (python-shell-completion-setup-code)
8890         (python-shell-completion-string-code)
8891         (python-shell-enable-font-lock, python-shell-exec-path)
8892         (python-shell-extra-pythonpaths)
8893         (python-shell-internal-buffer-name, python-shell-interpreter-args)
8894         (python-shell-process-environment)
8895         (python-shell-prompt-block-regexp)
8896         (python-shell-prompt-output-regexp)
8897         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8898         (python-shell-send-setup-max-wait, python-shell-setup-codes)
8899         (python-shell-virtualenv-path): New defcustoms.
8900         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8901         (inferior-python-mode-syntax-table, python--prompt-regexp)
8902         (python-buffer, python-command python-python-command)
8903         (python-default-template, python-imports, python-indent-index)
8904         (python-indent-list, python-indent-list-length)
8905         (python-mode-running, python-pdbtrack-is-tracking-p)
8906         (python-preoutput-continuation, python-preoutput-leftover)
8907         (python-preoutput-result, python-preoutput-skip-next-prompt)
8908         (python-prev-dir/file, python-recursing)
8909         (python-saved-check-command, python-version-checked)
8910         (python-which-func-length-limit)
8911         (view-return-to-alist): Delete vars.
8912         (python-check-custom-command, python-dotty-syntax-table)
8913         (python-imenu-index-alist, python-indent-current-level)
8914         (python-indent-dedenters, python-indent-levels)
8915         (python-nav-beginning-of-defun-regexp)
8916         (python-nav-list-defun-positions-cache)
8917         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8918         (python-shell-internal-buffer)
8919         (python-skeleton-available): New vars.
8920         (def-python-skeleton): Delete macro.
8921         (python-skeleton-define): New macro.
8922         (python-define-auxiliary-skeleton, python-rx): New macros.
8923         (python-insert-class): Delete command.
8924         (python-skeleton-class): New command.
8925         (python-insert-def): Delete command.
8926         (python-skeleton-def): New command.
8927         (python-insert-for): Delete command.
8928         (python-skeleton-for): New command.
8929         (python-insert-if): Delete command.
8930         (python-skeleton-if): New command.
8931         (python-insert-try/except, python-insert-try/finally): Delete commands.
8932         (python-skeleton-try): New command.
8933         (python-insert-while): Delete command.
8934         (python-skeleton-while): New command.
8935         (python-backspace): Delete command.
8936         (python-indent-dedent-line-backspace): New command.
8937         (python-electric-colon): Delete command.
8938         (python-indent-electric-colon): New command.
8939         (python-guess-indent): Delete command.
8940         (python-indent-guess-indent-offset): New command.
8941         (python-shift-left): Delete command.
8942         (python-indent-shift-left): New command.
8943         (python-shift-right): Delete command.
8944         (python-indent-shift-right): New command.
8945         (python-find-function): Delete command.
8946         (python-nav-jump-to-defun): New command.
8947         (python-next-statement): Delete command.
8948         (python-nav-forward-sentence): New command.
8949         (python-previous-statement): Delete command.
8950         (python-nav-backward-sentence): New command.
8951         (python-fill-paragraph): Delete command.
8952         (python-fill-paragraph-function): New command.
8953         (python-send-buffer): Delete command.
8954         (python-shell-send-buffer): New command.
8955         (python-send-defun): Delete command.
8956         (python-shell-send-defun): New command.
8957         (python-send-region, python-send-region-and-go): Delete commands.
8958         (python-shell-send-region)
8959         (python-shell-switch-to-shell): New commands.
8960         (python-send-string): Delete command.
8961         (python-shell-send-string): New command.
8962         (python-switch-to-python): Delete command.
8963         (python-shell-switch-to-shell): New command.
8964         (python-describe-symbol): Delete command.
8965         (python-eldoc-at-point): New command.
8966         (python--set-prompt-regexp, python-args-to-list)
8967         (python-after-info-look, python-check-version)
8968         (python-check-comint-prompt, python-find-imports)
8969         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8970         (python-unload-function, python-expand-template)
8971         (python-maybe-jython, python-preoutput-filter)
8972         (python-pdbtrack-get-source-buffer)
8973         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8974         (python-pdbtrack-toggle-stack-tracking)
8975         (python-pdbtrack-track-stack-file, python-initial-text)
8976         (python-first-word, python-comment-line-p, python-send-command)
8977         (python-setup-brm, python-sentinel, python-set-proc)
8978         (python-skip-out, python-input-filter, python-outdent-p)
8979         (python-outline-level, python-backslash-continuation-line-p)
8980         (python-end-of-block, python-end-of-statement, python-mark-block)
8981         (python-beginning-of-block, python-beginning-of-statement)
8982         (python-blank-line-p, python-beginning-of-string)
8983         (python-open-block-statement-p): Delete functions.
8984         (python-indent-line, python-indent-line-1): Delete functions.
8985         (python-indent-line): New function.
8986         (python-indentation-levels): Delete function.
8987         (python-indent-calculate-levels): New function.
8988         (python-proc): Delete function.
8989         (python-shell-get-process): New function.
8990         (python-send-receive): Delete function.
8991         (python-shell-send-string-no-output): New function.
8992         (python-module-path): Delete function.
8993         (python-ffap-module-path): New function.
8994         (python-completion-at-point)
8995         (python-symbol-completions): Delete functions.
8996         (python-completion-complete-at-point): New function.
8997         (python-load-file): Delete function.
8998         (python-shell-send-file): New function.
8999         (python-calculate-indentation): Delete function.
9000         (python-indent-calculate-indentation): New function.
9001         (python-skip-comments/blanks): Delete function.
9002         (python-util-forward-comment): New function.
9003         (python-continuation-line-p): Delete function.
9004         (python-info-continuation-line-p): New function.
9005         (python-which-func, python-current-defun): Delete function.
9006         (python-info-current-defun): New function.
9007         (python-beginning-of-defun): Delete function.
9008         (python-nav-beginning-of-defun): New function.
9009         (python-close-block-statement-p)
9010         (python-block-end-p): Delete function.
9011         (python-info-closing-block): New function.
9012         (python-comint-output-filter-function)
9013         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9014         (python-fill-comment, python-fill-decorator, python-fill-paren)
9015         (python-fill-string, python-imenu-make-element-tree)
9016         (python-imenu-make-tree, python-imenu-tree-assoc)
9017         (python-indent-context, python-indent-dedent-line)
9018         (python-indent-line-function)
9019         (python-indent-post-self-insert-function)
9020         (python-indent-toggle-levels)
9021         (python-info-assignment-continuation-line-p)
9022         (python-info-beginning-of-backlash)
9023         (python-info-block-continuation-line-p)
9024         (python-info-closing-block-message)
9025         (python-info-line-ends-backslash-p)
9026         (python-info-looking-at-beginning-of-defun)
9027         (python-info-ppss-context, python-info-ppss-context-type)
9028         (python-nav-list-defun-positions, python-nav-read-defun)
9029         (python-nav-sentence-end, python-nav-sentence-start)
9030         (python-pdbtrack-comint-output-filter-function)
9031         (python-pdbtrack-set-tracked-buffer)
9032         (python-shell-calculate-exec-path)
9033         (python-shell-calculate-process-environment)
9034         (python-shell-completion--do-completion-at-point)
9035         (python-shell-completion--get-completions)
9036         (python-shell-completion-complete-at-point)
9037         (python-shell-completion-complete-or-indent)
9038         (python-shell-get-or-create-process)
9039         (python-shell-get-process-name)
9040         (python-shell-internal-get-or-create-process)
9041         (python-shell-internal-get-process-name)
9042         (python-shell-internal-send-string, python-shell-make-comint)
9043         (python-shell-parse-command, python-shell-send-setup-code)
9044         (python-skeleton-add-menu-items)
9045         (python-util-clone-local-variables, python-util-position)
9046         (run-python-internal, python-indentation-levels)
9047         (python-nav-beginning-of-defun)
9048         (python-completion-complete-at-point): New functions.
9049         (run-python): Change arguments.  New API requirements.
9051 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9053         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9054         (bug#11649).
9056         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9057         (macroexp--expand-all): Use it.
9059         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9060         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9061         Use `cl-function' instead.
9063 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
9065         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9066         Suggested by Stefan Monnier while discussing bug#11657.
9068 2012-06-14  Sam Steingold  <sds@gnu.org>
9070         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9072 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
9074         * play/doctor.el (doctor-doc): Remove parameter and use
9075         doctor-sent instead of sent.
9076         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
9078 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9080         * files.el: Require cl-lib.
9081         (file-name-non-special): Replace case -> cl-case.
9083         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9085         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9086         mapping from #' to function*.
9088 2012-06-13  Chong Yidong  <cyd@gnu.org>
9090         * mouse.el (mouse-drag-track): Do not set the mark if the user
9091         releases the mouse without selecting anything (Bug#11588).
9093 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9095         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9096         as well (bug#11646).
9098         * loadup.el: Count byte-code functions as well.
9100         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9101         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9103         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9104         (bug#11649).  Add cl-defun and cl-defmacro.
9106 2012-06-13  Drew Adams  <drew.adams@oracle.com>
9108         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9109         Fix last change.
9111 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
9113         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9114         Otherwise, it blocks in batch mode.
9116 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
9118         * help-mode.el (bookmark-make-record-default): Declare.
9120 2012-06-13  Chong Yidong  <cyd@gnu.org>
9122         * emacs-lisp/package.el (list-packages): Compute a list of
9123         packages that are newly-available since the last list-packages
9124         invocation.
9125         (package-menu--new-package-list): New var.
9126         (package-menu--generate, package-menu--print-info)
9127         (package-menu--status-predicate, package-menu-mark-install):
9128         Handle new status label "new".
9130 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9132         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9133         conversion to backquotes.
9135 2012-06-12  Chong Yidong  <cyd@gnu.org>
9137         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9138         Rename from gud-inhibit-global-bindings.
9140         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9142         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9143         hook from nxml-glyph-set-hook.
9145         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9146         declaration.
9148         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9150         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9151         Convert to defcustom.
9153 2012-06-12  Drew Adams  <drew.adams@oracle.com>
9155         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9156         New functions.
9157         (help-mode): Use them.
9159 2012-06-11  Glenn Morris  <rgm@gnu.org>
9161         * progmodes/fortran.el (fortran-font-lock-keywords-3):
9162         Use preprocessor face for directives.
9163         (fortran-directive-re): Doc fix.
9165 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9167         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9168         conversion to backquotes (bug#11652).
9170         Fix compiler-expansion of CL's cXXr functions (bug#11673).
9171         * emacs-lisp/cl-lib.el (cl--defalias): New function.
9172         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9173         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9174         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9175         (cl-ninth, cl-tenth): Mark them as inlinable.
9176         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9177         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9178         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9179         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9180         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9181         (cl-list*, cl-adjoin): Don't put an autoload manually.
9182         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9183         (cl--compiler-macro-list*): Add autoload cookie.
9184         (cl--compiler-macro-cXXr): New function.
9186         * help-fns.el (help-fns--compiler-macro): New function extracted from
9187         describe-function-1; follow aliases and use `compiler-macro' property.
9188         (describe-function-1): Use it.
9190 2012-06-11  Chong Yidong  <cyd@gnu.org>
9192         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9193         is uninstalled, if imagemagick is installed.
9195 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9197         * emacs-lisp/cl-lib.el: Use lexical-binding.
9198         (cl-map-extents, cl-maclisp-member): Remove.
9199         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9200         (cl--set-substring, cl--block-wrapper, cl--block-throw)
9201         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9202         * emacs-lisp/cl-extra.el: Use lexical-binding.
9203         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9204         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9205         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9206         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9207         * emacs-lisp/cl-seq.el: Use lexical-binding.
9208         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9209         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9210         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9211         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9212         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9213         CL's internals.
9215 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
9217         Sync with Tramp 2.2.6-pre.
9219         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9220         `print-length' and `print-level' to nil, in order to avoid
9221         truncation.  Reported by Christopher Schmidt
9222         <christopher@ristopher.com>.
9224         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9226         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9227         New defmacro.
9228         (tramp-compat-copy-directory): Add optional argument
9229         COPY-CONTENTS.  It is not handled yet.
9231         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9232         (tramp-ftp-file-name-p): Simplify.
9234         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9235         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9236         connection vector.
9238         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9239         (tramp-methods): Do not use `tramp-password-end-of-line'.
9240         (tramp-completion-function-alist-putty): Handle UNIX case.
9241         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9242         (tramp-do-file-attributes-with-stat)
9243         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9244         gid as real numbers.  They could run out of integer range on cygwin.
9245         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9246         (tramp-sh-handle-expand-file-name): Handle hops.
9247         (tramp-open-connection-setup-interactive-shell):
9248         Use `tramp-cleanup'.  Move check for busyboxes ...
9249         (tramp-find-shell): ... here.  Simplify implementation.
9250         Set "remote-shell" property also for alternative shells.
9251         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9252         If failing, a regular file would be written otherwise.
9253         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9254         (tramp-find-inline-encoding): Cache the coding commands in the
9255         process cache.  Apply test command on the remote side, if defined.
9256         (tramp-find-inline-compress): Cache the compress commands in the
9257         process cache.
9258         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9259         when requested.  Handle hops.
9260         (tramp-current-connection): New defvar.
9261         (tramp-maybe-open-connection): Use `tramp-cleanup'.
9262         Throw `suppress', if there was a failed connection shortly before.
9263         Handle user interrupt.  (Bug#10187)
9264         (tramp-get-inline-compress, tramp-get-inline-coding):
9265         Read connection properties from the process cache.
9267         * net/tramp-smb.el (tramp-smb-server-version)
9268         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9269         New defconsts.
9270         (tramp-smb-prompt): Extend for powershell prompt.
9271         (tramp-smb-file-name-handler-alist): Add handlers for
9272         `process-file', `shell-command' and `start-file-process'.
9273         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9274         (tramp-smb-winexe-shell-command-switch): New defcustoms.
9275         (tramp-smb-file-name-p): Simplify.
9276         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9277         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9278         (tramp-smb-shell-quote-argument): New defuns.
9279         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9280         Implement using "tar".  By this, time-stamps are preserved.
9281         (tramp-smb-handle-copy-file): Handle also the case of directories.
9282         (tramp-smb-do-file-attributes-with-stat)
9283         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9284         Use `tramp-get-connection-buffer').
9285         (tramp-smb-handle-rename-file): Use "rename", when source and
9286         target are on the same share.
9287         (tramp-smb-maybe-open-connection): Handle wrong passwords.
9288         Use `tramp-smb-server-version'.
9289         (tramp-smb-wait-for-output): Remove prompt.
9291         * net/tramp.el (top): Require 'cl.
9292         (tramp-methods, tramp-rsh-end-of-line):
9293         Remove `tramp-password-end-of-line' from docstring.
9294         (tramp-save-ad-hoc-proxies): New defcustom.
9295         (tramp-completion-function-alist): Adapt docstring.
9296         (tramp-default-password-end-of-line): Remove defcustom.
9297         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
9298         (tramp-user-regexp, tramp-file-name-regexp-unified)
9299         (tramp-file-name-regexp-url): Extend regexp by hop separator.
9300         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9301         (tramp-remote-file-name-spec-regexp): New defconst.
9302         (tramp-file-name-structure): Extend structure for hops.
9303         (tramp-get-method-parameter): Move up.
9304         (tramp-file-name-p, tramp-dissect-file-name)
9305         (with-parsed-tramp-file-name): Handle hops.
9306         (tramp-file-name-hop): New defun.
9307         (tramp-make-tramp-file-name): New optional arg HOP.
9308         (tramp-message-show-progress-reporter-message): New defvar.
9309         (tramp-with-progress-reporter): Use it.  We cannot use
9310         `tramp-message-show-message' here, because this suppresses also
9311         error buffers.
9312         (tramp-error-with-buffer): Suppress buffer view, if
9313         `tramp-message-show-message' is nil.
9314         Use `tramp-get-connection-buffer'.
9315         (tramp-cleanup): New defun.
9316         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9317         (tramp-file-name-handler): If `debug-on-error' is set, propagate
9318         an error unchanged.
9319         (tramp-completion-handle-file-name-all-completions): Handle hops.
9320         Fix an error when called from ido.
9321         (tramp-completion-dissect-file-name): Use better local variable
9322         name.  Add hop to the vector.
9323         (tramp-handle-insert-file-contents): Use progress-reporter for the
9324         whole scenario.
9325         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9326         to `t'.
9327         (tramp-check-for-regexp): Simplify search.
9328         (tramp-enter-password): Remove it.  Move implementation ...
9329         (tramp-action-password): ... here.
9330         (tramp-mode-string-to-int, tramp-local-host-p)
9331         (tramp-make-tramp-temp-file, tramp-read-passwd)
9332         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9333         Set tramp-autoload cookie.
9335         * net/trampver.el: Update release number.
9337 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9338             Michael Albinus  <michael.albinus@gmx.de>
9340         * net/tramp.el (tramp-set-completion-function): Fix docstring.
9341         (tramp-parse-group, tramp-parse-file)
9342         (tramp-parse-shostkeys-sknownhosts): New defuns.
9343         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9344         (tramp-parse-shosts-group, tramp-parse-sconfig)
9345         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9346         (tramp-parse-sknownhosts, tramp-parse-hosts)
9347         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9348         Use them.
9349         (tramp-parse-passwd-group, tramp-parse-netrc-group)
9350         (tramp-parse-putty-group): Don't narrow.
9351         (tramp-parse-putty): Make a loop.
9352         (tramp-file-name-handler): Catch the `suppress' signal.
9354 2012-06-11  Chong Yidong  <cyd@gnu.org>
9356         * image.el (imagemagick-register-types): Put the ImageMagick entry
9357         at the end of image-type-file-name-regexps.
9359 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
9361         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9362         (pcase, pcase-let*, pcase-dolist): Use them.
9364 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9366         * emacs-lisp/pcase.el (pcase--let*): New function.
9367         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
9368         (pcase--expand): Use macroexp-let².
9370 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9372         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9373         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9374         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9375         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9376         * emacs-lisp/derived.el: Use pcase instead of `cl'.
9377         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9379 2012-06-10  Glenn Morris  <rgm@gnu.org>
9381         * mail/rmail.el (rmail-yank-current-message): Leave point at
9382         correct position.  (Bug#11660)
9384 2012-06-10  Chong Yidong  <cyd@gnu.org>
9386         * allout-widgets.el: Fix code header.
9388 2012-06-10  Chong Yidong  <cyd@gnu.org>
9390         * cus-edit.el (customize-changed-options-previous-release):
9391         Bump to 24.1.
9393 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
9395         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9397 2012-06-09  Chong Yidong  <cyd@gnu.org>
9399         * ebuff-menu.el (electric-buffer-list): Preserve header line.
9401 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
9403         * window.el (special-display-popup-frame): Don't use
9404         window--display-buffer (Bug#11651).
9406 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
9408         Fix parallel builds: make sure loaddefs.el is not being written
9409         while Lisp files are compiled.
9410         (compile): Don't depend on 'mh-autoloads'.
9411         (compile-CMD, compile-SH): Depend on 'autoloads'.
9412         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9414         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
9416 2012-06-09  Chong Yidong  <cyd@gnu.org>
9418         * face-remap.el (face-remap-add-relative, face-remap-set-base)
9419         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9420         Doc fixes (Bug#11225).
9422 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9424         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9425         a function if there's a clear indication that it has a compiler-macro.
9426         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9427         (macro-declarations-alist): Add arglist to declaration functions.
9428         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9429         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9430         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9431         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9432         Also add autoload to find the compiler macro.
9433         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9434         (cl--compiler-macro-member, cl--compiler-macro-assoc)
9435         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9436         (cl--compiler-macro-get): New functions, replacing calls to
9437         cl-define-compiler-macro.
9438         (cl-typep) [compiler-macro]: Use macroexp-let².
9440 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
9442         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9443         string properly, fixes Bug#11473.
9445 2012-06-08  Chong Yidong  <cyd@gnu.org>
9447         * faces.el (set-face-attribute): Doc fix.
9448         (modify-face): Don't use :bold and :italic.
9449         (error, warning, success): Tweak definitions.
9451         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9452         (custom-modified, custom-set, custom-changed, custom-themed)
9453         (custom-saved, custom-button, custom-button-mouse)
9454         (custom-button-pressed, custom-state, custom-comment-tag)
9455         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9456         (custom-group-subtitle): Use new-style face specs.
9457         (custom-invalid-face, custom-rogue-face, custom-modified-face)
9458         (custom-set-face, custom-changed-face, custom-saved-face)
9459         (custom-button-face, custom-button-pressed-face)
9460         (custom-documentation-face, custom-state-face)
9461         (custom-comment-face, custom-comment-tag-face)
9462         (custom-variable-tag-face, custom-variable-button-face)
9463         (custom-face-tag-face, custom-group-tag-face-1)
9464         (custom-group-tag-face): Remove obsolete face alias.
9466         * epa.el (epa-validity-high, epa-validity-medium)
9467         (epa-validity-low, epa-mark, epa-field-name, epa-string)
9468         (epa-field-name, epa-field-body):
9469         * font-lock.el (font-lock-comment-face, font-lock-string-face)
9470         (font-lock-keyword-face, font-lock-builtin-face)
9471         (font-lock-function-name-face, font-lock-variable-name-face)
9472         (font-lock-type-face, font-lock-constant-face):
9473         * ido.el (ido-first-match, ido-only-match, ido-subdir)
9474         (ido-virtual, ido-indicator, ido-incomplete-regexp):
9475         * speedbar.el (speedbar-button-face, speedbar-file-face)
9476         (speedbar-directory-face, speedbar-tag-face)
9477         (speedbar-selected-face, speedbar-highlight-face)
9478         (speedbar-separator-face):
9479         * whitespace.el (whitespace-newline, whitespace-space)
9480         (whitespace-hspace, whitespace-tab, whitespace-trailing)
9481         (whitespace-line, whitespace-space-before-tab)
9482         (whitespace-space-after-tab, whitespace-indentation)
9483         (whitespace-empty):
9484         * emulation/cua-base.el (cua-global-mark):
9485         * eshell/em-prompt.el (eshell-prompt):
9486         * net/newst-plainview.el (newsticker-new-item-face)
9487         (newsticker-old-item-face, newsticker-immortal-item-face)
9488         (newsticker-obsolete-item-face, newsticker-date-face)
9489         (newsticker-statistics-face, newsticker-default-face):
9490         * net/newst-reader.el (newsticker-feed-face)
9491         (newsticker-extra-face, newsticker-enclosure-face):
9492         * net/newst-treeview.el (newsticker-treeview-face)
9493         (newsticker-treeview-new-face, newsticker-treeview-old-face)
9494         (newsticker-treeview-immortal-face)
9495         (newsticker-treeview-obsolete-face)
9496         (newsticker-treeview-selection-face):
9497         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9498         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9499         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9500         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9501         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9502         (nxml-outline-active-indicator, nxml-outline-ellipsis):
9503         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9504         (mpuz-text):
9505         * progmodes/vera-mode.el (vera-font-lock-number)
9506         (vera-font-lock-function, vera-font-lock-interface):
9507         * textmodes/table.el (table-cell): Use new-style face specs, and
9508         don't use the old :bold and :italic attributes.
9510         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9511         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9512         (ebrowse-member-class, ebrowse-progress): Likewise.
9513         (ebrowse-tree-mark-face, ebrowse-root-class-face)
9514         (ebrowse-file-name-face, ebrowse-default-face)
9515         (ebrowse-member-attribute-face, ebrowse-member-class-face)
9516         (ebrowse-progress-face): Remove obsolete faces.
9518         * progmodes/flymake.el (flymake-errline, flymake-warnline):
9519         Inherit from error and warning faces respectively.
9521         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9522         Likewise.
9523         (flyspell-incorrect-face, flyspell-duplicate-face):
9524         Remove obsolete aliases.
9526 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
9528         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9529         Avoid infloop.
9531 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9533         * startup.el (argv, argi): Make lexically scoped.
9534         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9535         * emacs-lisp/cl-macs.el: Use lexical-binding.
9536         Rename cl-bind-* to cl--bind-*.
9537         * files.el: Don't require `cl' since it doesn't use it.
9538         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9540 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
9542         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9543         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9544         instead of calling external sort utility.
9545         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9547 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
9549         * descr-text.el (describe-char): Mention how to insert the
9550         character, if the current input method doesn't support it.
9551         See the discussion in this thread for the details:
9552         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9554 2012-06-08  Sam Steingold  <sds@gnu.org>
9556         * bindings.el (global-map): Bind XF86Forward to next-buffer and
9557         XF86Back to previous-buffer.
9558         (minibuffer-local-map): Bind them to next-history-element and
9559         previous-history-element respectively.
9560         * help-mode.el (help-mode-map): Bind them to help-go-forward and
9561         help-go-back respectively.
9562         * info.el (Info-mode-map): Bind them to Info-history-forward and
9563         Info-history-back respectively.
9564         These are the keys next to Up on the ThinkPad keyboard.
9566 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9568         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9569         * emacs-lisp/cl-macs.el: Provide itself.
9570         (cl--labels-convert-cache): New var.
9571         (cl--labels-convert): New function.
9572         (cl-flet, cl-labels): New implementation with new semantics, relying on
9573         lexical-binding.
9574         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9575         (cl-closure-vars, cl--function-convert-cache)
9576         (cl--function-convert): Move from cl-macs.el.
9577         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9578         rename by removing the "cl-" prefix.
9579         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9581 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9583         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9584         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9585         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9586         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9587         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9588         (cl-hash-table-count): Add old compatibility aliases.
9590         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9591         Use macroexpand-all-environment instead.
9592         (cl--old-macroexpand): New var.
9593         (cl--sm-macroexpand): New function.
9594         (cl-symbol-macrolet): Use it during macro expansion.
9595         (cl--function-convert-cache): New var.
9596         (cl--function-convert): New function, extracted from
9597         cl-macroexpand-all.
9598         (cl-lexical-let): Use it.
9600         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9601         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9602         (cl-member): Remove old alias.
9604         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9605         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9606         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9607         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9608         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9609         (cl-macroexpand-cmacs): Remove var.
9610         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9611         Use macroexpand-all instead.
9613 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9615         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9616         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9617         (macroexp-copyable-p): New functions and macros.
9618         * emacs-lisp/edebug.el (edebug-unwrap):
9619         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9620         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9621         (pcase--let*): Remove.
9622         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9623         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
9624         macroexp-const-p instead.
9625         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9627         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9628         instead of "cl-" for internal definitions.  Use macroexp-const-p.
9629         (cl-old-bc-file-form): Remove var.
9630         (cl-const-exprs-p): Remove fun.
9631         (cl-labels, cl-macrolet): Use backquote.
9632         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
9633         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9634         (cl-define-setf-expander): Rename from cl-define-setf-method.
9635         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9637         * international/mule-cmds.el: Don't require CL.
9638         (view-hello-file): Don't use `letf'.
9640 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9642         * tmm.el (tmm-prompt): Use string-prefix-p.
9643         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9644         (tmm-add-prompt): Use minibuffer-completion-help.
9645         (tmm-delete-map): Remove.
9647         * subr.el (kbd): Make it its own function.
9649 2012-06-07  Stefan Merten  <smerten@oekonux.de>
9651         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9652         Silence compiler warnings.  Fix versions.
9653         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9654         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9655         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9656         (rst-package-emacs-version-alist): Correct Emacs version to
9657         represent major merge with upstream.
9658         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9660 2012-06-06  Glenn Morris  <rgm@gnu.org>
9662         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9663         Only print environment variables if set.
9665 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9667         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9668         (macroexp--cons): Rename from maybe-cons.
9669         (macroexp--accumulate): Rename from macroexp-accumulate.
9670         (macroexp--all-forms): Rename from macroexpand-all-forms.
9671         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9672         (macroexp--expand-all): Rename from macroexpand-all-1.
9674 2012-06-06  Sam Steingold  <sds@gnu.org>
9676         * calendar/calendar.el (calendar-in-read-only-buffer):
9677         Call `special-mode' to enable the standard read-only keybindings.
9679 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9681         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9682         with "loading" messages (bug#11635).
9684 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
9686         * files.el (enable-remote-dir-locals): New option.
9687         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
9689         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9690         Ensure, that the temp directory is local.
9692         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9693         `temporary-file-directory'.
9695         * progmodes/python.el (python-send-region): Ensure, that the
9696         temporary file is created also in the remote case.
9698 2012-06-06  Glenn Morris  <rgm@gnu.org>
9700         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9701         (vc-rcs-update-changelog): Use it.
9703         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9705         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9706         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9707         (vc-sccs-diff): Replace use of the external vcdiff script.
9709 2012-06-05  Glenn Morris  <rgm@gnu.org>
9711         * ledit.el: Move to obsolete/.
9713 2012-06-05  Sam Steingold  <sds@gnu.org>
9715         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9716         patch (Bug#11140).
9718 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9720         * emacs-lisp/cust-print.el: Move to obsolete.
9722         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9723         compiler-macro expansion.
9725         Add native compiler-macro support.
9726         * emacs-lisp/macroexp.el (macroexpand-all-1):
9727         Support compiler-macros directly.  Properly follow aliases and apply
9728         the compiler macros more thoroughly.
9729         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9730         macroexpand now properly follows aliases.
9731         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9732         (cl-compiler-macroexpand): Use new prop.
9733         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9735         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9737 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
9739         * window.el (get-lru-window, get-mru-window, get-largest-window):
9740         New argument NOT-SELECTED to avoid picking the selected window.
9741         (window--display-buffer-1, window--display-buffer-2): Replace by
9742         new function window--display-buffer
9743         (display-buffer-same-window, display-buffer-reuse-window)
9744         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9745         Use window--display-buffer.
9746         (display-buffer-use-some-window): Remove temporary dedication
9747         hack by calling get-lru-window and get-largest-window with
9748         NOT-SELECTED argument non-nil.  Call window--display-buffer.
9750 2012-06-05  Glenn Morris  <rgm@gnu.org>
9752         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9753         Replace external vcdiff script.
9755 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9757         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9759 2012-06-04  Chong Yidong  <cyd@gnu.org>
9761         * image.el (imagemagick-types-inhibit): Revert last change.
9762         Add INFO and M.
9763         (imagemagick-enabled-types): Remove CIN and EPS*.
9765 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9767         * emacs-lisp/cl-lib.el: Rename from cl.el.
9768         * emacs-lisp/cl.el: New compatibility file.
9769         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9770         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9771         to obey the "cl-" prefix.
9772         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9774 2012-06-03  Glenn Morris  <rgm@gnu.org>
9776         * emacs-lisp/authors.el (authors-aliases): Addition.
9778         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9779         Fix :version.
9781 2012-06-03  Stefan Merten  <smerten@oekonux.de>
9783         * textmodes/rst.el: Add comments.
9784         (rst-transition, rst-adornment): New faces.
9785         (rst-adornment-faces-alist): Make default safe to reevaluate.
9786         Fixes
9787         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9788         Improve customization tags.
9789         (rst-define-level-faces): Clarify meaning.
9791 2012-06-03  Chong Yidong  <cyd@gnu.org>
9793         * progmodes/compile.el (compilation-mode-line-fail)
9794         (compilation-mode-line-run, compilation-mode-line-exit):
9795         New faces.
9796         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9798 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
9800         * progmodes/which-func.el (which-func-update-ediff-windows):
9801         New function.  Use it in ediff-select-hook (Bug#11478).
9803 2012-06-03  Chong Yidong  <cyd@gnu.org>
9805         * bindings.el: Remove explicit help text from format-mode-line.
9806         It is now supplied by mode-line-default-help-echo.
9807         (mode-line-front-space, mode-line-end-spaces)
9808         (mode-line-misc-info): New variables.
9809         (mode-line-modes, mode-line-position): Move the default value to
9810         the variable definition.
9811         (mode-line-default-help-echo): New defcustom.
9812         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9813         (mode-line-modified-help-echo): New functions.
9814         (mode-line-mule-info, mode-line-modified): Use them.
9815         (mode-line-eol-desc, propertized-buffer-identification):
9816         Consistency fixes for help text.
9817         (mode-line-coding-system-map): Allow using mouse-3 to invoke
9818         set-buffer-file-coding-system (Bug#289).
9819         (mode-line-mule-info-help-echo): Update help text.
9821 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9823         * simple.el (execute-extended-command): Set real-this-command
9824         (bug#11506).
9826 2012-06-02  Chong Yidong  <cyd@gnu.org>
9828         Remove incorrect uses of "modeline" in comments, docstrings, and
9829         function/variable names (Bug#10329).
9831         * cus-edit.el (mode-line):
9832         * dframe.el (dframe-mouse-hscroll):
9833         * emacs-lisp/re-builder.el:
9834         * emacs-lisp/easy-mmode.el (define-minor-mode):
9835         * frame.el (set-frame-name):
9836         * help.el (lookup-minor-mode-from-indicator):
9837         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9838         * progmodes/cc-cmds.el (c-toggle-auto-newline)
9839         (c-toggle-hungry-state):
9840         * progmodes/antlr-mode.el (antlr-language-alist):
9841         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9842         * progmodes/vhdl-mode.el (vhdl-mode):
9843         * progmodes/which-func.el (which-func, which-func-cleanup-function):
9844         * term/ns-win.el (ns-face-at-pos):
9845         * term/sup-mouse.el (sup-mouse-report):
9846         * textmodes/flyspell.el (flyspell-mode-line-string):
9847         * textmodes/ispell.el (ispell-highlight-face):
9848         * textmodes/reftex-global.el:
9849         * vc/vc-arch.el (vc-arch-mode-line-string):
9850         * vc/vc-cvs.el (vc-cvs-mode-line-string):
9851         * vc/vc-git.el (vc-git-mode-line-string):
9852         * vc/vc-hooks.el (vc-display-status)
9853         (vc-default-mode-line-string):
9854         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9856         * ansi-color.el (ansi-color-faces-vector): Change default faces.
9858         * dired.el (dired-sort-set-mode-line): Rename from
9859         dired-sort-set-modeline.  All callers changed.
9861         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9862         eshell-status-in-modeline.
9864         * foldout.el (foldout-mode-line-string): Rename from
9865         foldout-modeline-string.  All callers changed.
9866         (foldout-update-mode-line): Rename from foldout-update-modeline.
9868         * subr.el (redraw-modeline): Make into obsolete alias.
9870         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9871         timeclock-modeline-display.  Make old name an alias.
9872         (timeclock-update-mode-line): Likewise.  All callers changed.
9873         (timeclock-mode-line-display): No need to check before using
9874         add-hook.
9875         (timeclock-relative, timeclock-day-over-hook)
9876         (timeclock-use-elapsed, timeclock-mode-string)
9877         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9879         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9880         crisp-mode-modeline-string.
9882         * play/solitaire.el (solitaire-build-mode-line): Rename from
9883         solitaire-build-modeline.  All callers changed.
9885         * play/zone.el (zone-hiding-mode-line): Rename from
9886         zone-hiding-modeline.  All callers changed.
9887         (zone): Remove unusued `modeline-hidden-level' property.
9889         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9890         xscheme-modeline-initialize.  All callers changed.
9892         * strokes.el (strokes-lighter): Rename from
9893         strokes-modeline-string.
9895         * textmodes/sgml-mode.el (html-face-tag-alist)
9896         (html-tag-face-alist): Use mode-line face instead of obsolete
9897         alias modeline.
9899 2012-06-02  Stefan Merten  <smerten@oekonux.de>
9901         * textmodes/rst.el: Always require `cl'.
9902         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
9904 2012-06-02  Chong Yidong  <cyd@gnu.org>
9906         * image.el (imagemagick-enabled-types): Rename from
9907         imagemagick-types-enable.  Add many more types.
9908         (imagemagick-types-inhibit): Change default to nil.
9909         (imagemagick-filter-types): Caller changed.
9911 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9913         * emacs-lisp/cl-macs.el: Use backquotes.
9914         (cl-transform-function-property): Use eval-and-compile rather than
9915         abusing `require'.
9916         (defstruct): Use declare-function instead of with-no-warnings.
9918         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9919         (byte-compile-output-docform): Re-add the print-circle bindings.
9920         (byte-compile-fix-header): Use #$ just because it's shorter.
9921         (byte-compile-output-file-form): Remove defun/defmacro.
9923 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
9925         * simple.el (choose-completion): Remove now obsolete binding for
9926         owindow.
9928 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
9930         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9931         in order to avoid "Stack overflow in regexp matcher".
9933 2012-05-31  Glenn Morris  <rgm@gnu.org>
9935         * image.el: For clarity, call imagemagick-register-types at
9936         top-level, rather than relying on a custom :initialize.
9937         (imagemagick-types-enable): New option.  (Bug#11557)
9938         (imagemagick-filter-types): New function.  (Bug#7406)
9939         (imagemagick-register-types): Use imagemagick-filter-types.
9940         If disabling support, remove elements altogether rather
9941         than using an impossible regexp.
9942         (imagemagick-types-inhibit): Give it the default init function.
9944 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9946         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9947         Handle arbitrary file name lengths (Bug#11585).
9949 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
9951         * desktop.el (desktop-read): Clear previous and next buffers for
9952         all windows and bury *Messages* buffer (bug#11556).
9954 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9956         Add `declare' for `defun'.  Align `defmacro's with it.
9957         * emacs-lisp/easy-mmode.el (define-minor-mode)
9958         (define-globalized-minor-mode): Don't autoload the var definitions.
9959         * emacs-lisp/byte-run.el: Use lexical-binding.
9960         (defun-declarations-alist, macro-declarations-alist): New vars.
9961         (defmacro, defun): Use them.
9962         (make-obsolete, define-obsolete-function-alias)
9963         (make-obsolete-variable, define-obsolete-variable-alias):
9964         Use `declare'.
9965         (macro-declaration-function): Mark obsolete.
9966         * emacs-lisp/autoload.el: Use lexical-binding.
9967         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
9969 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9971         * textmodes/ispell.el (ispell-with-no-warnings):
9972         Define as a macro.
9973         (ispell-kill-ispell, ispell-change-dictionary):
9974         Use `called-interactively-p' for Emacs instead of obsolete
9975         `interactive-p'.
9977 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9979         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9980         (macro-declaration-function): Move var from C code.
9981         (macro-declaration-function): Define function with defalias.
9982         * emacs-lisp/macroexp.el (macroexpand-all-1):
9983         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9984         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9985         defun/defmacro any more.
9986         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9987         Provide fallback for unknown arglist.
9988         (byte-compile-arglist-warn): Change calling convention.
9989         (byte-compile-output-file-form): Move print-vars binding.
9990         (byte-compile-output-docform): Simplify accordingly.
9991         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9992         (byte-compile-defmacro-declaration): Remove.
9993         (byte-compile-file-form-defmumble): Generalize to defalias.
9994         (byte-compile-output-as-comment): Return byte-positions.
9995         Simplify callers accordingly.
9996         (byte-compile-lambda): Use `assert'.
9997         (byte-compile-defun, byte-compile-defmacro): Remove.
9998         (byte-compile-file-form-defalias):
9999         Use byte-compile-file-form-defmumble.
10000         (byte-compile-defalias-warn): Remove.
10002 2012-05-29  Stefan Merten  <smerten@oekonux.de>
10004         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10005         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
10007         (rst-mode-abbrev-table): Merge definition.
10008         (rst-mode): Make sure `font-lock-defaults' is buffer local.
10009         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10011 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
10013         * calendar/icalendar.el
10014         (icalendar-export-region): Export UID properly.
10016 2012-05-29  Leo Liu  <sdl.web@gmail.com>
10017         * calendar/icalendar.el (icalendar-import-format):
10018         Add `icalendar-import-format-uid' (Bug#11525).
10019         (icalendar-import-format-uid): New.
10020         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10021         Export UID.
10023 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10025         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10026         different alternative patterns.
10027         (pcase-codegen): Be more careful to preserve identity.
10028         (pcase--u1): Don't forget to mark vars as used.
10030         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10031         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10032         (byte-compile-from-buffer): ...rather than here.
10034         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10035         functions from byte-compile-function-environment.
10037 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
10039         * window.el (window-deletable-p): Avoid deleting the root window
10040         of a frame with an active minibuffer.
10042 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
10044         * simple.el (choose-completion): Use quit-window (Bug#11567).
10046 2012-05-29  Chong Yidong  <cyd@gnu.org>
10048         * whitespace.el (whitespace-cleanup): Fix usage of
10049         whitespace-empty-at-bob-regexp (Bug#11492).
10051 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10053         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10054         revert (Bug#11488).
10056 2012-05-29  Juri Linkov  <juri@jurta.org>
10058         * isearch.el (isearch-mode-map): Bind `M-s _' to
10059         `isearch-toggle-symbol'.  Bind `M-s c' to
10060         `isearch-toggle-case-fold'.
10061         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10062         (isearch-forward): Add `M-s _' to the docstring.
10063         (isearch-forward-symbol, isearch-toggle-case-fold)
10064         (isearch-symbol-regexp): New functions.  (Bug#11381)
10066 2012-05-29  Juri Linkov  <juri@jurta.org>
10068         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
10069         (isearch-occur, isearch-search-and-update): If `isearch-word' is
10070         a function, call it to get the regexp.
10071         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10072         property `isearch-message-prefix' instead of the string "word ".
10073         (isearch-search-fun-default): For the case of `isearch-word',
10074         return a lambda that calls re-search-forward/re-search-backward
10075         with a regexp returned by `word-search-regexp' or by the function
10076         in `isearch-word'.
10078 2012-05-29  Juri Linkov  <juri@jurta.org>
10080         * isearch.el (isearch-search-fun-default): New function.
10081         (isearch-search-fun): Move default part to the new function
10082         `isearch-search-fun-default'.
10083         (isearch-search-fun-function): Set the default value to
10084         `isearch-search-fun-default'.  (Bug#11381)
10086         * comint.el (comint-history-isearch-end):
10087         Use `isearch-search-fun-default'.
10088         (comint-history-isearch-search): Use `isearch-search-fun-default'
10089         and remove spacial case for `isearch-word'.
10090         (comint-history-isearch-wrap): Remove spacial case for
10091         `isearch-word'.
10093         * hexl.el (hexl-isearch-search-function):
10094         Use `isearch-search-fun-default'.
10096         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10097         Use `word-search-regexp' for `isearch-word'.
10099         * misearch.el (multi-isearch-search-fun):
10100         Use `isearch-search-fun-default'.
10102         * simple.el (minibuffer-history-isearch-search):
10103         Use `isearch-search-fun-default' and remove spacial case for
10104         `isearch-word'.
10105         (minibuffer-history-isearch-wrap): Remove spacial case for
10106         `isearch-word'.
10108         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10109         Remove spacial case for `isearch-word'.
10110         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10112 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10114         Decrease XEmacs incompatibilities.
10115         * textmodes/flyspell.el (flyspell-check-pre-word-p):
10116         Use `string-match'.
10117         (flyspell-delete-region-overlays): Use alternative definition for
10118         XEmacs.
10119         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10120         (flyspell-word): Use `process-kill-without-query' if XEmacs.
10121         (flyspell-mode-on): Use `interactive-p' if XEmacs.
10122         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10123         `define-obsolete-face-alias' under XEmacs, but old method.
10125         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10126         `with-no-warnings' definition or Emacs alias.
10127         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10128         (ispell-word): Do not use `region-p' if XEmacs.
10130 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10132         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10133         Check for `ispell-dictionary-base-alist' instead of full
10134         `ispell-dictionary-alist'.
10135         (ispell-init-process): Show spellchecker when starting new Ispell
10136         process.
10138 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10140         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10141         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10143 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
10145         * version.el (motif-version-string, gtk-version-string)
10146         (ns-version-string): Declare.
10148 2012-05-27  Juri Linkov  <juri@jurta.org>
10150         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10151         after the `eval-defun-1' specialcaseing
10152         like in `edebug-eval-defun' (bug#10181).
10154         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10155         like in `eval-defun-1'.
10157 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
10159         * mail/sendmail.el (mail-yank-region):
10160         Recognize rmail-yank-current-message in addition to insert-buffer.
10161         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10162         a *mail* buffer created through rmail-start-mail with sendmail as
10163         mail-user-agent.
10165 2012-05-27  Chong Yidong  <cyd@gnu.org>
10167         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10168         Default to 256 (Bug#11267).
10170         * help.el (describe-mode): Doc fix.
10172 2012-05-26  Glenn Morris  <rgm@gnu.org>
10174         * w32-fns.el (w32-init-info): Remove.
10175         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10177         * info.el (info-initialize): For self-contained NS builds, put the
10178         included info/ directory at the front.  (Bug#2791)
10180         * paths.el (Info-default-directory-list): Make it a defcustom,
10181         mainly so that we can use custom-initialize-delay.
10183 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10185         * subr.el (buffer-has-markers-at): Mark obsolete.
10187         * subr.el (lambda): Use declare.
10189         * emacs-lisp/lisp-mode.el (lambda):
10190         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10192 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10194         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
10196 2012-05-26  Glenn Morris  <rgm@gnu.org>
10198         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10200 2012-05-25  Glenn Morris  <rgm@gnu.org>
10202         * paths.el: Remove no-byte-compile.
10203         * loadup.el: No need to load paths.el uncompiled.
10205         * image.el (imagemagick-types-inhibit): Doc fix.
10207         * version.el: Remove no-byte-compile and associated formatting.
10208         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
10209         is ancient code from when there was an "inc-vers.el".
10211 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10213         * progmodes/gdb-mi.el: Minor style changes.
10214         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10215         Turn into minor modes.
10216         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10217         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10218         (gdb-shell): Remove unneeded let-binding.
10219         (gdb-get-many-fields): Eliminate O(n²) behavior.
10221 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
10223         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10224         platforms that don't link in fontset.c.
10226 2012-05-25  Juri Linkov  <juri@jurta.org>
10228         Use the same diff color scheme as in modern VCSes (bug#10181).
10230         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10231         to avoid confusion with `diff-added' that now uses green colors.
10232         (diff-removed): Use shades of red.
10233         (diff-added): Use shades of green.
10234         (diff-changed): Leave just the yellow color.
10235         (diff-use-changed-face): New variable.
10236         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10237         how to highlight context diff changes.
10238         (diff-refine-change): Use shades of yellow.
10239         (diff-refine-removed): New face that uses shades of red.
10240         (diff-refine-added): New face that uses shades of green.
10241         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10242         `diff-refine-removed' in the call to `smerge-refine-subst'
10243         depending on the value of `diff-use-changed-face'.
10245         * vc/smerge-mode.el (smerge-mine): Use shades of red.
10246         (smerge-other): Use shades of green.
10247         (smerge-base): Use shades of yellow.
10248         (smerge-refined-change): Empty face.
10249         (smerge-refined-removed): New face that uses shades of red.
10250         (smerge-refined-added): New face that uses shades of green.
10251         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
10252         args `props-r' and `props-a', and use them.  Doc fix.
10253         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10254         on its value use different faces `smerge-refined-change',
10255         `smerge-refined-removed', `smerge-refined-added' in the call to
10256         `smerge-refine-subst'.
10258         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10259         Add face condition `min-colors 88' with shades of red.
10260         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10261         `min-colors 88' with shades of green.
10262         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10263         `min-colors 88' with shades of yellow.
10265 2012-05-24  Glenn Morris  <rgm@gnu.org>
10267         * paths.el (prune-directory-list, remote-shell-program): Move to...
10268         * files.el (prune-directory-list, remote-shell-program): ...here.
10269         For the latter, delay initialization, prefer ssh, just search PATH.
10271         * paths.el (term-file-prefix): Move to faces.el (the only user).
10272         * faces.el (term-file-prefix): Move here, make it a defcustom.
10274         * paths.el (news-directory, news-path, news-inews-program):
10275         Move to gnus/nnspool.el.
10277         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10279         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10280         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10281         Make the latter a defcustom, with a delayed initialization.
10283         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10284         These were deleted from Gnus itself late 2010.
10286 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
10288         * progmodes/which-func.el (which-func-ff-hook):
10289         Check against user-error, not error.
10291         * emacs-lisp/edebug.el (top): Do not load or set up loading of
10292         cl-specs.el, which no longer exists.
10294 2012-05-22  Glenn Morris  <rgm@gnu.org>
10296         * info.el (info-emacs-bug): New command.
10297         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10298         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10300 2012-05-21  Glenn Morris  <rgm@gnu.org>
10302         * makefile.w32-in (update-subdirs-SH):
10303         * Makefile.in (update-subdirs): Update for moved update-subdirs.
10305 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10307         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10309         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10310         Simplify Maven regexp, and make sure the file can't start with a space
10311         (bug#11517).
10313 2012-05-21  Glenn Morris  <rgm@gnu.org>
10315         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10316         Scrap superfluous subshells.
10318 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10320         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10321         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10323 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
10325         * calc/calc.el (calc-ensure-consistent-units): New variable.
10327         * calc/calc-units.el (math-consistent-units-p)
10328         (math-check-unit-consistency): New functions.
10329         (calc-quick-units, calc-convert-units):
10330         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10331         is non-nil.
10332         (calc-extract-units): Fix typo.
10334 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10336         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10338         * textmodes/flyspell.el: Commenting style, plus code simplifications.
10339         (flyspell-default-deplacement-commands): Don't spell check after
10340         repeated window/frame switches (e.g. triggered by mouse-movement).
10341         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10342         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10343         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10344         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10345         Remove unused vars.
10346         (flyspell-get-casechars, flyspell-get-not-casechars):
10347         Simplify; Don't bother removing a ] just to add it back.
10348         * textmodes/ispell.el (ispell-program-name): Use executable-find.
10350 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10352         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10353         New functions.
10354         (math-function-table): Add support for more C functions.
10356 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10358         * textmodes/flyspell.el (flyspell-check-pre-word-p)
10359         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10360         Protect delay handling for otherchars against empty otherchars.
10362 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10364         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10365         their respective macro declarations.
10366         * skeleton.el (define-skeleton):
10367         * progmodes/compile.el (define-compilation-mode):
10368         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10369         (define-ibuffer-filter):
10370         * emacs-lisp/generic.el (define-generic-mode):
10371         * emacs-lisp/easy-mmode.el (define-minor-mode)
10372         (define-globalized-minor-mode):
10373         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10374         * emacs-lisp/byte-run.el (defsubst):
10375         * custom.el (deftheme): Add doc-string metadata.
10377 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10379         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10381 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10383         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10385         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10386         * emacs-lisp/cl-macs.el: Idem.
10387         * emacs-lisp/cl-specs.el: Remove.
10389 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10391         Minor renaming of internal CL functions and variables.
10392         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10393         (cl--position): Rename from cl-position.
10394         (cl--delete-duplicates): Rename from cl-delete-duplicates.
10395         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10396         (cl--random-state): Rename from *random-state*.
10398 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10400         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10401         parens around the arg list (bug#11499).
10403 2012-05-17  Juri Linkov  <juri@jurta.org>
10405         * isearch.el (word-search-regexp, word-search-backward)
10406         (word-search-forward, word-search-backward-lax)
10407         (word-search-forward-lax): Move functions from search.c
10408         (bug#10145, bug#11381).
10410 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10412         * textmodes/flyspell.el (flyspell-check-pre-word-p)
10413         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10414         Delay for otherchars as for normal word components.
10416 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10418         * minibuffer.el (completion--sifn-requote): Fix last change.
10419         (minibuffer-local-must-match-filename-map):
10420         Move define-obsolete-variable-alias before its var.
10422 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10424         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10426         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10427         behavior.
10428         (completion--string-equal-p): New function.
10429         (completion--twq-all): Use it to get better assertion failure data.
10431         Only handle ".." and '..' quoting in shell-mode (bug#11466).
10432         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10433         (shell--requote-argument): New functions.
10434         (shell-completion-vars): Use them.
10435         (shell--parse-pcomplete-arguments): Rename from
10436         shell-parse-pcomplete-arguments.
10437         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
10438         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10439         Obey comint-file-name-quote-list.
10441         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10442         (smie-indent-keyword): Use it.
10444 2012-05-14  Stefan Merten  <smerten@oekonux.de>
10446         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10448 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10450         * net/rlogin.el (rlogin-mode-map): Fix last change.
10452 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
10454         * mail/smtpmail.el (smtpmail-send-command): Send the command and
10455         the following \r\n using a single `process-send-string', since the
10456         Lotus SMTP server refuses to accept any commands if they are sent
10457         with two `process-send-string's (Bug#11444).
10459 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10461         * shell.el (shell-parse-pcomplete-arguments):
10462         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10464 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
10466         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10467         (image-transform-scale, image-transform-right-angle-fudge): New vars.
10468         (image-transform-width, image-transform-fit-width): New functions.
10469         (image-transform-properties): Use them.
10470         (image-transform-check-size): New function.
10471         (image-toggle-display-image): Use it (for testing).
10472         (image-transform-set-rotation): Reduce angle mod 360.
10473         Delete obsolete comment.
10475 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
10477         * image-mode.el: Fix scaling (bug#11399).
10478         (image-transform-resize): Doc fix.
10479         (image-transform-properties): Default scale is 1 and height should
10480         be an integer.
10482 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
10484         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10485         than hard-coding `car', to fix misbehavior when moving forward.
10487 2012-05-13  Chong Yidong  <cyd@gnu.org>
10489         * emacs-lisp/tabulated-list.el (tabulated-list-format)
10490         (tabulated-list-entries, tabulated-list-padding)
10491         (tabulated-list-sort-key): Make permanent-local.
10493         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10494         (electric-buffer-list): Put electric buffer menu
10495         command descriptions in this docstring, instead of the docstring
10496         of electric-buffer-menu-mode.  Code cleanups.
10497         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
10498         Electric-buffer-menu-mode.
10499         (electric-buffer-update-highlight): Minor code cleanup.
10501 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
10503         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10504         (Bug#11447)
10506 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10508         Move define-obsolete-variable-alias before the var's definition.
10509         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10510         * tooltip.el (tooltip-hook):
10511         * textmodes/reftex-toc.el (reftex-toc-map):
10512         * textmodes/reftex-sel.el (reftex-select-label-map)
10513         (reftex-select-bib-map):
10514         * textmodes/reftex-index.el (reftex-index-map)
10515         (reftex-index-phrases-map):
10516         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10517         * progmodes/meta-mode.el (meta-mode-map):
10518         * novice.el (disabled-command-hook):
10519         * loadhist.el (unload-hook-features-list):
10520         * frame.el (blink-cursor):
10521         * files.el (find-file-not-found-hooks, write-file-hooks)
10522         (write-contents-hooks):
10523         * emulation/tpu-edt.el (GOLD-map):
10524         * emacs-lock.el (emacs-lock-from-exiting):
10525         * emacs-lisp/generic.el (generic-font-lock-defaults):
10526         * emacs-lisp/chart.el (chart-map):
10527         * dos-fns.el (register-name-alist):
10528         * dired-x.el (dired-omit-files-p):
10529         * desktop.el (desktop-enable):
10530         * cus-edit.el (custom-mode-hook):
10531         * buff-menu.el (buffer-menu-mode-hook):
10532         * bookmark.el (bookmark-read-annotation-text-func)
10533         (bookmark-exit-hooks):
10534         * allout.el (allout-mode-deactivate-hook)
10535         (allout-exposure-change-hook, allout-structure-added-hook)
10536         (allout-structure-deleted-hook, allout-structure-shifted-hook):
10537         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10538         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10539         comes before the corresponding variable's definition.
10541 2012-05-12  Chong Yidong  <cyd@gnu.org>
10543         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10544         (Buffer-menu-mouse-select): Restore function (Bug#11459).
10545         (Buffer-menu-mode-map): Bind it.
10546         (Buffer-menu--pretty-name): Add a mouse-face property.
10548 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10550         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
10551         (prolog-upper-case-string, prolog-lower-case-string)
10552         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10553         (prolog-use-smie, prolog-smie-grammar): New vars.
10554         (prolog-smie-forward-token, prolog-smie-backward-token)
10555         (prolog-smie-rules): New funs.
10556         (prolog-comment-indent): Remove.
10557         (prolog-mode-variables): Use default comment indentation instead.
10558         Setup SMIE.
10559         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10560         (prolog-mode): Don't call them any more.
10561         (prolog-electric-colon, prolog-electric-dash)
10562         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10564         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10566         * minibuffer.el (completion--twq-all): Again, allow case differences.
10568         * term.el: Move keymap initialization code to be more idiomatic.
10569         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10570         (term-terminal-menu): Move initialization into declaration.
10571         (term-escape-char): Let the user set it in her .emacs.
10573         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10574         Provide SMIE-based indentation (not enabled by default yet).
10575         (sh-mode-map): Don't bind electric keys.
10576         Use electric-pair-mode instead of skeleton-pair.
10577         (sh-assignment-regexp): Fit within 80 columns.
10578         (sh-indent-supported): Specify actual shell name instead of boolean.
10579         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10580         (sh-maybe-here-document): Use it.  Make obsolete.
10581         (sh-electric-here-document-mode) New minor mode.
10582         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
10583         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10584         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10585         (sh-smie-rc-grammar, sh-use-smie): New vars.
10586         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10587         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10588         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10589         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10590         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10591         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10592         (sh-set-shell): Use smie-setup if requested.
10594         * term.el (term-set-escape-char): Properly set term-escape-char.
10595         See http://stackoverflow.com/questions/10524656.
10597 2012-05-10  Chong Yidong  <cyd@gnu.org>
10599         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10600         Use url-generic-parse-url, and handle host names and Windows
10601         filenames properly.
10602         (ffap-url-unwrap-remote): Use url-generic-parse-url.
10603         (ffap-url-unwrap-remote): Accept list values, specifying a list of
10604         URL schemes to work on.
10605         (ffap--toggle-read-only): New function.
10606         (ffap-read-only, ffap-read-only-other-window)
10607         (ffap-read-only-other-frame): Use it.
10608         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10609         necessary for ffap-url-unwrap-remote.
10611 2012-05-10  Dave Abrahams  <dave@boostpro.com>
10613         * cus-start.el (create-lockfiles): Add it.
10615 2012-05-09  Chong Yidong  <cyd@gnu.org>
10617         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10618         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10620 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10622         * shell.el (shell-completion-vars): Fix last change (bug#11348).
10624 2012-05-09  Chong Yidong  <cyd@gnu.org>
10626         * ansi-color.el (ansi-color-process-output): Check for validity of
10627         comint-last-output-start before using it.  This avoids a bad
10628         interaction with gdb-mi's input/output buffer.
10630 2012-05-09  Glenn Morris  <rgm@gnu.org>
10632         * files.el (dir-locals-read-from-file):
10633         Mention dir-locals in any error message.
10635 2012-05-09  Chong Yidong  <cyd@gnu.org>
10637         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10638         package (Bug#11410).
10640         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10641         variables into description.
10643 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10645         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10646         shell-delimiter-argument-list (bug#11348).
10647         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10649 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
10651         * textmodes/rst.el: Silence byte-compiler warnings.
10652         (rst-re-alist, rst-reset-section-caches): Move around.
10653         (rst-re): Use `characterp', not `char-valid-p'.
10654         (font-lock-beg, font-lock-end): Declare.
10656         * progmodes/idlw-shell.el (specs): Remove reference to deleted
10657         variable `idlwave-shell-activate-alt-keybindings' and simplify.
10659         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10661 2012-05-08  Glenn Morris  <rgm@gnu.org>
10663         * files.el (auto-mode-alist): Treat ".make" like ".mk".
10665 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10667         * vc/log-edit.el: Add GNU coding standards highlighting.
10668         (log-edit-font-lock-gnu-style)
10669         (log-edit-font-lock-gnu-keywords): New vars.
10670         (log-edit-font-lock-keywords): New fun.
10671         (log-edit-mode): Don't fold case in font-lock.
10672         (log-edit-font-lock-keywords): Do not assume case-folding.
10674         * imenu.el: Misc cleanup.  Make docstrings out of comments.
10675         Use lexical-binding.
10676         (imenu--index-alist, imenu--last-menubar-index-alist)
10677         (imenu-menubar-modified-tick): Use defvar-local.
10678         (imenu--split-menu): Remove unused var.
10679         (imenu--cleanup-seen): Declare as global.
10680         (imenu--cleanup): Use dolist.
10682         * subr.el (defvar-local): Add debug spec and doc-string position.
10684 2012-05-08  Glenn Morris  <rgm@gnu.org>
10686         * language/burmese.el, language/cham.el, language/czech.el:
10687         * language/english.el, language/georgian.el, language/greek.el:
10688         * language/japanese.el, language/khmer.el, language/korean.el:
10689         * language/lao.el, language/misc-lang.el, language/romanian.el:
10690         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10691         * language/thai.el, language/utf-8-lang.el:
10692         Remove no-byte-compile setting.
10694         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
10696 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10698         * progmodes/make-mode.el (makefile-browse):
10699         Remove unnecessary interactive.  (Bug#11324)
10701 2012-05-07  Glenn Morris  <rgm@gnu.org>
10703         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10705         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10707 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10709         * loadup.el: Preload newcomment.el.
10710         * newcomment.el: Move autoload-only code to toplevel.
10712         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10713         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10714         Handle new :right-align column property.
10715         (tabulated-list-print-col): Idem, plus use `display' text-property to
10716         try and preserve alignment for variable pitch fonts.
10718 2012-05-07  Chong Yidong  <cyd@gnu.org>
10720         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10721         (tabulated-list-use-header-line): New var.
10722         (tabulated-list-init-header): Use it.
10723         (tabulated-list-print-fake-header): New function.
10724         (tabulated-list-print): Use it.
10725         (tabulated-list-sort-button-map): Add non-header-line commands.
10726         (tabulated-list-init-header): Add column name property to basic
10727         labels as well.
10728         (tabulated-list-col-sort): Handle non-header-line button case.
10729         (tabulated-list--sort-by-column-name): Fix a corner case.
10731         * buff-menu.el (list-buffers--refresh):
10732         Handle Buffer-menu-use-header-line.
10734 2012-05-06  Chong Yidong  <cyd@gnu.org>
10736         * buff-menu.el: Convert to Tabulated List mode.
10737         (Buffer-menu-buffer+size-width): Make obsolete.
10738         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10739         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10740         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
10741         documentation into docstring of buffer-menu.
10742         (Buffer-menu-toggle-files-only): Add an informative message.
10743         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10744         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10745         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10746         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10747         (Buffer-menu-execute, Buffer-menu-select)
10748         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10749         (Buffer-menu-bury): Use Tabulated List machinery.
10750         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10751         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10752         Delete.
10753         (list-buffers--refresh): New function.
10754         (list-buffers-noselect): Use it.
10755         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10756         (Buffer-menu--pretty-file-name): New helper functions.
10758         * loadup.el: Preload tabulated-list.
10760         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10761         tabulated-list-sort-column.
10762         (tabulated-list-init-header): Add the initial aligning space even
10763         if tabulated-list-padding is zero.
10765 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
10767         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10768         whose cdr is not a cons cell correctly (bug#11038).
10770 2012-05-06  Chong Yidong  <cyd@gnu.org>
10772         * emacs-lisp/tabulated-list.el (tabulated-list-format):
10773         Accept additional plist in column descriptors.
10774         (tabulated-list-init-header): Obey it.
10775         (tabulated-list-get-entry): New function.
10776         (tabulated-list-put-tag): Use it.  Use string-width instead of
10777         length.
10778         (tabulated-list--column-number): New function.
10779         (tabulated-list-print): Use it.
10780         (tabulated-list-print-col): New function.
10781         Set `tabulated-list-column-name' property on each column's text.
10782         (tabulated-list-print-entry): Use it.
10783         (tabulated-list-delete-entry, tabulated-list-set-col):
10784         New functions.
10785         (tabulated-list-sort-column): New command (Bug#11337).
10787         * buff-menu.el (list-buffers): Move C-x C-b binding from
10788         buff-menu.el to bindings.el.
10790         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10791         :advertised-binding feature.
10793 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
10795         * progmodes/compile.el (compilation-internal-error-properties):
10796         Calculate start position correctly when end-col is set but
10797         end-line is not (Bug#11382).
10799 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
10801         * man.el (Man-unindent): Use text-property-default-nonsticky to
10802         prevent untabify from inheriting face properties (Bug#11408).
10804 2012-05-05  Stefan Merten  <smerten@oekonux.de>
10806         * textmodes/rst.el: Major merge with upstream development up to
10807         Docutils SVN r7399 / rst.el V1.2.1.
10809         Clarify maintainership and authors.
10811         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10812         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10813         (rst-official-version, rst-official-cvs-rev, rst-version)
10814         (rst-package-emacs-version-alist): New functions and variables
10815         for version information.
10817         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10818         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10819         (rst-mode-syntax-table, rst-mode): New and corrected functions
10820         and variables representing reStructuredText features.
10822         (rst-re): New function for reStructuredText regexes.  Use in
10823         many places.
10825         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10826         (rst-mode-map): Rebind keys.
10828         (rst-mode-lazy, rst-font-lock-keywords)
10829         (rst-font-lock-extend-region)
10830         (rst-font-lock-extend-region-internal)
10831         (rst-font-lock-extend-region-extend)
10832         (rst-font-lock-find-unindented-line-limit)
10833         (rst-font-lock-find-unindented-line-match)
10834         (rst-adornment-level, rst-font-lock-adornment-level)
10835         (rst-font-lock-adornment-match)
10836         (rst-font-lock-handle-adornment-pre-match-form)
10837         (rst-font-lock-handle-adornment-matcher): Major revision of
10838         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
10840         (rst-preferred-adornments, rst-adjust-hook)
10841         (rst-new-adornment-down, rst-preferred-bullets)
10842         (rst-preferred-bullets, rst-indent, rst-indent-width)
10843         (rst-indent-field, rst-indent-literal-normal)
10844         (rst-indent-literal-minimized, rst-indent-comment): Change,
10845         extend and improve customization.
10847         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10848         (rst-normalize-cursor-position, rst-get-decoration)
10849         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10850         (rst-rstrip, rst-toc-insert-find-delete-contents)
10851         (rst-shift-fill-region, rst-compute-bullet-tabs)
10852         (rst-debug-print-tabs, rst-debug-mark-found)
10853         (rst-shift-region-guts, rst-shift-region-right)
10854         (rst-shift-region-left, rst-use-char-classes)
10855         (rst-font-lock-keywords-function)
10856         (rst-font-lock-indentation-point)
10857         (rst-font-lock-find-unindented-line-begin)
10858         (rst-font-lock-find-unindented-line-end)
10859         (rst-font-lock-find-unindented-line)
10860         (rst-font-lock-adornment-point, rst-font-lock-level)
10861         (rst-adornment-level-alist): Remove functions and variables.
10863         (rst-compare-adornments, rst-get-adornment-match)
10864         (rst-suggest-new-adornment, rst-get-adornments-around)
10865         (rst-adornment-complete-p, rst-get-next-adornment)
10866         (rst-adjust-adornment, rst-display-adornments-hierarchy)
10867         (rst-straighten-adornments): Standardize function names to
10868         use "adornment" instead of "decoration".  Correct callers.
10869         Similar standardizing in many places.
10871         (rst-update-section, rst-adjust, rst-promote-region)
10872         (rst-enumerate-region, rst-bullet-list-region)
10873         (rst-repeat-last-character): Correct use of `interactive'.
10875         (rst-classify-adornment, rst-find-all-adornments)
10876         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10877         (rst-find-leftmost-column, rst-repeat-last-character):
10878         Refactor functions.
10880         (rst-find-title-line, rst-reset-section-caches)
10881         (rst-get-adornments-around, rst-adjust-adornment-work)
10882         (rst-arabic-to-roman, rst-roman-to-arabic)
10883         (rst-insert-list-pos, rst-insert-list-new-item)
10884         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10885         New functions.
10887         (rst-all-sections, rst-section-hierarchy)
10888         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10889         New variables.
10891         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10892         configuration instead of only buffer.  Change where necessary.
10894         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10895         (rst-shift-region, rst-adaptive-fill): New functions for
10896         indentation and filling.
10898         (rst-comment-line-break, rst-comment-indent)
10899         (rst-comment-insert-comment, rst-comment-region)
10900         (rst-uncomment-region): New functions for handling comments.
10902         (rst-compile): Quote shell arguments.
10904         (rst-compile-pdf-preview, rst-compile-slides-preview):
10905         Delete temporary files after use.
10907 2012-05-05  Glenn Morris  <rgm@gnu.org>
10909         * calendar/cal-html.el: Optionally include holidays in the output.
10910         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10911         (cal-html-holidays): New option.
10912         (cal-html-css-default): Add holiday entry.
10913         (holiday-in-range): Autoload it.
10914         (cal-html-htmlify-entry): Add optional class argument.
10915         (cal-html-htmlify-list): Add optional holidays argument.
10916         (cal-html-insert-agenda-days): Include holidays in the output.
10917         (cal-html-one-month): Maybe include holidays.
10919         * calendar/holidays.el (holiday-in-range):
10920         Move here from cal-tex-list-holidays.
10921         * calendar/cal-tex.el (cal-tex-list-holidays):
10922         Make it an obsolete alias for holiday-in-range.  Update all callers.
10924 2012-05-05  Chong Yidong  <cyd@gnu.org>
10926         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10927         Nextstep.
10929 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
10931         * files.el (file-auto-mode-skip): New var.
10932         (set-auto-mode-1): Use it.
10934 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10936         * repeat.el: Use lexical-binding.
10937         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10938         (repeat-undo-count): Remove.
10939         (repeat):
10940         * progmodes/octave-mod.el (octave-abbrev-start):
10941         * progmodes/f90.el (f90-abbrev-start):
10942         * face-remap.el (text-scale-adjust):
10943         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10945         * emacs-lisp/pcase.el (pcase--let*): New function.
10946         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10947         a bit more.
10948         (pcase--split-pred): Be more clever about ruling out overlap between
10949         a predicate and some constant pattern.
10950         (pcase--q1): Use `null' instead of (eq foo nil).
10952         * subr.el (setq-local, defvar-local): New macros.
10953         (kbd): Redefine as an alias.
10954         (with-selected-window): Leave unrelated frames alone.
10955         (set-temporary-overlay-map): New function.
10957 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10959         * subr.el (user-error): New function.
10960         * window.el (switch-to-buffer):
10961         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10962         (smerge-match-conflict):
10963         * simple.el (previous-matching-history-element)
10964         (next-matching-history-element, goto-history-element, undo-more)
10965         (undo-start):
10966         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10967         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10968         (next-file, tags-loop-scan, list-tags, complete-tag):
10969         * progmodes/compile.el (compilation-loop):
10970         * mouse.el (mouse-minibuffer-check):
10971         * man.el (Man-bgproc-sentinel, Man-goto-page):
10972         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10973         (Info-history-forward, Info-follow-reference, Info-menu)
10974         (Info-extract-menu-item, Info-extract-menu-counting)
10975         (Info-forward-node, Info-backward-node, Info-next-menu-item)
10976         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10977         (Info-next-reference, Info-prev-reference, Info-index)
10978         (Info-index-next, Info-follow-nearest-node)
10979         (Info-copy-current-node-name):
10980         * imenu.el (imenu--make-index-alist)
10981         (imenu-default-create-index-function, imenu-add-to-menubar):
10982         * files.el (basic-save-buffer, recover-file):
10983         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10984         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10985         (checkdoc-message-text, checkdoc-defun):
10986         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10987         * cus-edit.el (customize-changed-options, customize-rogue)
10988         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10989         (custom-variable-mark-to-reset-standard)
10990         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10991         (custom-file):
10992         * completion.el (check-completion-length):
10993         * comint.el (comint-search-arg)
10994         (comint-previous-matching-input-string-position)
10995         (comint-previous-matching-input)
10996         (comint-replace-by-expanded-history-before-point, comint-send-input)
10997         (comint-copy-old-input, comint-backward-matching-input)
10998         (comint-goto-process-mark, comint-set-process-mark):
10999         * calendar/calendar.el (calendar-cursor-to-date): Use it.
11000         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11002 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11004         * dabbrev.el (dabbrev--ignore-case-p): New function.
11005         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11006         Use it.
11008         * files.el (automount-dir-prefix): Mark as obsolete.
11010 2012-05-04  Glenn Morris  <rgm@gnu.org>
11012         * patcomp.el, play/bruce.el: Move to obsolete/.
11014 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
11016         Fix minor Y10k bugs.
11017         * arc-mode.el (archive-unixdate):
11018         * autoinsert.el (auto-insert-alist):
11019         * calc/calc-forms.el (math-this-year):
11020         * emacs-lisp/copyright.el (copyright-current-year)
11021         (copyright-update-year, copyright):
11022         * tar-mode.el (tar-clip-time-string):
11023         * time.el (display-time-update):
11024         Don't assume years have 4 digits.
11026 2012-05-04  Chong Yidong  <cyd@gnu.org>
11028         * dos-w32.el (file-name-buffer-file-type-alist)
11029         (direct-print-region-use-command-dot-com):
11030         * ffap.el (ffap-menu-regexp):
11031         * find-file.el (ff-special-constructs):
11032         * follow.el (follow-debug):
11033         * forms.el (forms--debug):
11034         * iswitchb.el (iswitchb-all-frames):
11035         * ido.el (ido-all-frames):
11036         * emacs-lisp/timer.el (timer-max-repeats):
11037         * mail/feedmail.el (feedmail-mail-send-hook)
11038         (feedmail-mail-send-hook-queued):
11039         * mail/footnote.el (footnote-signature-separator):
11040         * mail/mailabbrev.el (mail-alias-separator-string)
11041         (mail-abbrev-mode-regexp):
11042         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11043         * progmodes/idlwave.el (idlwave-libinfo-file)
11044         (idlwave-default-completion-case-is-down)
11045         (idlwave-library-routines): Convert defvars to defcustoms.
11047         * mail/rmail.el (rmail-decode-mime-charset):
11048         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11049         (idlwave-shell-fix-inserted-breaks)
11050         (idlwave-shell-activate-alt-keybindings)
11051         (idlwave-shell-use-breakpoint-glyph):
11052         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11054 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11056         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11058 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
11060         * progmodes/verilog-mode.el (font-lock-keywords):
11061         Fix mis-highligting auto.  Reported by Craig Barner.
11062         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11063         defines from global name space.  Reported by Dan Dever.
11064         (verilog-auto-reset, verilog-auto-reset-widths)
11065         (verilog-auto-tieoff): Support using unbased numbers for
11066         AUTORESET and AUTOTIEOFF.
11067         (verilog-submit-bug-report): Update variable list.
11068         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11069         parenthesis from not matching.  Reported by Michael Rytting.
11070         (verilog-auto-template-lint): Fix hash error when linting modules
11071         with no used templates.
11072         (verilog-warn, verilog-warn-error)
11073         (verilog-warn-fatal): When non-interactive report multiple
11074         warnings before exiting.  Suggested by Brad Dobbie.
11075         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11076         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11077         to report unused template errors.  Reported by Brad Dobbie.
11078         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11079         nets, bug438.  Reported by Vns Blore.
11080         (verilog-auto-inout-module, verilog-auto-reg)
11081         (verilog-read-decls, verilog-read-sub-decls-sig)
11082         (verilog-signals-edit-wire-reg, verilog-signals-with):
11083         Fix passing of Verilog data types in ANSI input/output ports
11084         such as "output logic" into the AUTOs.  Special case "wire" and
11085         "reg" for backwards compatibility presuming Verilog 2001.
11086         (verilog-auto-ascii-enum): Add "auto enum" as alias.
11087         (verilog-preprocess): Fix replication of preprocess output.
11088         Reported by Brad Dobbie.
11089         (verilog-auto-inst-interfaced-ports):
11090         Create verilog-auto-inst-interfaced-ports, bug429.
11091         Reported by Julian Gorfajn.
11092         (verilog-after-save-font-hook)
11093         (verilog-before-save-font-hook): New variable.
11094         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11095         (verilog-save-font-mods): Wrap disabling fontification, reported
11096         by David Rogoff.
11097         (verilog-do-indent, verilog-pretty-declarations-auto)
11098         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11099         Reported by Pierre-David Pfister.
11100         (verilog-set-auto-endcomments): Fix endtask auto comments outside
11101         of class declarations, bug292.  Reported by Kevin Heilman.
11102         (verilog-read-decls): Fix 'parameter type' not appearing in
11103         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
11104         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11105         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
11106         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11107         Reported by David Kravitz.
11109 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
11111         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11112         assignment with tests in ifs and for loops.
11113         (verilog-extended-complete-re, verilog-complete-reg): Change so
11114         that DPI inport functions don't look like fuction declarations.
11115         (verilog-pretty-expr): Don't line up assignment
11116         operations to the test and increment in if and for loops
11117         (verilog-extended-complete-re, verilog-complete-reg): Change so
11118         that DPI inport functions don't look like fuction declarations.
11120 2012-05-03  Kenichi Handa  <handa@m17n.org>
11122         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11123         decoding, and show a warning message without signaling an error
11124         (Bug#11282).
11126 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11128         * emacs-lisp/bytecomp.el
11129         (byte-compile-file-form-custom-declare-variable): Compile all elements,
11130         since cconv.el might have introduced :fun-body, internal-make-closure,
11131         and friends for bytecomp to handle (bug#11391).
11132         * custom.el (defcustom): Avoid ((λ ..) ..).
11134 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11136         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11138 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
11140         * notifications.el (dbus-debug):
11141         * term/linux.el (gpm-mouse-enable):
11142         * term/screen.el (xterm-register-default-colors): Declare.
11144 2012-05-02  Chong Yidong  <cyd@gnu.org>
11146         * cus-start.el (gc-cons-percentage, exec-suffixes)
11147         (dos-display-scancodes, dos-hyper-key, dos-super-key)
11148         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11149         (make-cursor-line-fully-visible, void-text-area-pointer)
11150         (font-list-limit): Add customization data.
11152         * allout.el (allout-exposure-change-functions)
11153         (allout-structure-added-functions)
11154         (allout-structure-deleted-functions)
11155         (allout-structure-shifted-functions): Rename abnormal hooks from
11156         *-hook, and convert to defcustoms.
11157         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11158         Convert to defcustoms.
11159         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11161         * allout-widgets.el: Hook callers changed.
11163 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
11165         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11166         the yanked message in preference to the default value of
11167         buffer-file-coding-system.
11169 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
11171         * window.el (display-buffer--action-function-custom-type):
11172         Fix entry.
11174 2012-05-02  Alan Mackenzie  <acm@muc.de>
11176         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11178 2012-05-01  Glenn Morris  <rgm@gnu.org>
11180         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11182         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
11184         * cus-edit.el (custom-variable-documentation): Simplify with format.
11186 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11187             Stefan Monnier  <monnier@iro.umontreal.ca>
11189         * simple.el (suggest-key-bindings, execute-extended-command):
11190         Move from keyboard.c.
11192 2012-05-01  Chong Yidong  <cyd@gnu.org>
11194         * follow.el: Eliminate advice.
11195         (set-process-filter, process-filter, sit-for): Advice deleted.
11196         (follow-mode-off-hook): Obsolete hook removed.
11197         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11198         Vars deleted.
11199         (follow-auto): Use a :set function.
11200         (follow-mode): Rewritten.  Don't advise process filters.
11201         (follow-switch-to-current-buffer-all, follow-scroll-up)
11202         (follow-scroll-down): Assume follow-mode is bound.
11203         (follow-comint-scroll-to-bottom)
11204         (follow-align-compilation-windows): New functions.
11205         (follow--window-sorter): New function.
11206         (follow-all-followers): Use it to explicitly sort windows by their
11207         positions; don't make assumptions about next-window order.
11208         (follow-windows-start-end, follow-delete-other-windows-and-split)
11209         (follow-calc-win-start): Doc fix.
11210         (follow-windows-aligned-p, follow-select-if-visible): Don't call
11211         vertical-motion unnecessarily.
11212         (follow-adjust-window): New function.
11213         (follow-post-command-hook): Use it.
11214         (follow-call-set-process-filter, follow-call-process-filter)
11215         (follow-intercept-process-output, follow-tidy-process-filter-alist)
11216         (follow-stop-intercept-process-output, follow-generic-filter):
11217         Functions deleted.
11218         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11219         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11220         New functions, replacing advice on scroll-bar-* commands.
11221         (follow-mwheel-scroll): New function (Bug#4112).
11223         * comint.el (comint-adjust-point): New function.
11224         (comint-postoutput-scroll-to-bottom): Use it.
11225         Call follow-comint-scroll-to-bottom for Follow mode buffers.
11227 2012-05-01  Glenn Morris  <rgm@gnu.org>
11229         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11230         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11231         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11232         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11233         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11234         Remove no-byte-compile setting.
11236 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11238         * minibuffer.el (completion-table-with-quoting): Fix compatibility
11239         all-completions code to not return a number in the last cdr.
11241 2012-04-30  Leo Liu  <sdl.web@gmail.com>
11243         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11244         read-only error.
11246 2012-04-29  Chong Yidong  <cyd@gnu.org>
11248         * follow.el (follow-calc-win-end): Rewrite to handle partial
11249         screen lines correctly (Bug#8390).
11250         (follow-avoid-tail-recenter): Minor cleanup.
11252 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11254         Avoid the obsolete `assoc' package.
11255         * speedbar.el (speedbar-refresh): Avoid adelete.
11256         (speedbar-file-lists): Simplify and avoid aput.
11257         * man.el (Man--sections, Man--refpages): New vars, replacing
11258         Man-sections-alist and Man-refpages-alist.
11259         (Man-build-section-alist, Man-build-references-alist):
11260         Use them; avoid aput.
11261         (Man--last-section, Man--last-refpage): New vars.
11262         (Man-follow-manual-reference): Use them.
11263         Use the `default' arg of completing-read.
11264         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
11266 2012-04-27  Chong Yidong  <cyd@gnu.org>
11268         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11270         * startup.el (x-apply-session-resources): New function.
11272         * term/ns-win.el (ns-initialize-window-system):
11273         * term/w32-win.el (w32-initialize-window-system):
11274         * term/x-win.el (x-initialize-window-system): Use it to properly
11275         set menu-bar-mode and other vars from X resources, even if the
11276         initial frame is not a window-system frame (Bug#2299).
11278         * subr.el (read-key): Avoid running filter function when setting
11279         up temporary tool bar entries (Bug#9922).
11281 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
11283         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11284         (Bug#11344)
11286 2012-04-27  Chong Yidong  <cyd@gnu.org>
11288         * select.el (xselect--encode-string): New function, split from
11289         xselect-convert-to-string.
11290         (xselect-convert-to-string): Use it.
11291         (xselect-convert-to-filename, xselect-convert-to-os)
11292         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11293         returned strings are properly encoded (Bug#11315).
11295 2012-04-27  Chong Yidong  <cyd@gnu.org>
11297         * simple.el (delete-active-region): Move to killing custom group.
11299 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
11301         * progmodes/which-func.el (which-func-current): Quote %
11302         characters for mode-line processing.
11304 2012-04-27  Chong Yidong  <cyd@gnu.org>
11306         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11307         reaching eob (Bug#11286).
11309 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
11311         * progmodes/gdb-mi.el (gdb-control-level): New variable.
11312         (gdb): Make it buffer-local and init to zero.
11313         (gdb-control-commands-regexp): New variable.
11314         (gdb-send): Don't wrap in "-interpreter-exec console" if
11315         gdb-control-level is positive.  Increment gdb-control-level
11316         whenever the command matches gdb-control-commands-regexp, and
11317         decrement it each time the command is "end".  (Bug#11279)
11319 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
11321         * window.el (adjust-window-trailing-edge, enlarge-window)
11322         (shrink-window, window-resize):
11323         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11324         windows (Bug#11276).
11326 2012-04-27  Chong Yidong  <cyd@gnu.org>
11328         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11329         fix "missing prefix" warning.  All callers changed.
11331 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11333         * emacs-lisp/assoc.el: Move to obsolete/.
11335 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11337         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11339         * term/ns-win.el (ns-define-service):
11340         * progmodes/pascal.el (pascal-goto-defun):
11341         * progmodes/js.el (js--read-tab):
11342         * progmodes/etags.el (tags-lazy-completion-table):
11343         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11344         * emacs-lisp/ewoc.el (ewoc--wrap):
11345         * emacs-lisp/assoc.el (aput, adelete, amake):
11346         * doc-view.el (doc-view-convert-current-doc):
11347         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11349 2012-04-26  Chong Yidong  <cyd@gnu.org>
11351         * image.el (image-type-from-buffer): Only return supported image
11352         type (Bug#9045).
11354         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11355         value, for symmetry with diff-end-of-hunk.
11356         (diff-split-hunk, diff-find-source-location)
11357         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11358         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11359         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11360         compute the relevant hunk or file properly (Bug#6005).
11361         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11363 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11365         * vc/vc-mtn.el:
11366         * vc/vc-hg.el:
11367         * vc/vc-git.el:
11368         * vc/vc-dir.el:
11369         * vc/vc-cvs.el:
11370         * vc/vc-bzr.el:
11371         * vc/vc-arch.el:
11372         * vc/vc.el: Replace lexical-let by lexical-binding.
11373         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11374         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11375         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11377 2012-04-26  Chong Yidong  <cyd@gnu.org>
11379         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11380         (diff-mode-shared-map): Bind it to / and [remap undo].
11382         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11383         (ediff-window-setup-function): Use it as the default, to set up
11384         windows based on whether the current frame is graphical (Bug#2138).
11385         (ediff-choose-window-setup-function-automatically): Make obsolete.
11387         * vc/ediff-init.el: Always define ediff-pixel-width/height.
11389 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11391         * ffap.el: Remove old code for obsolete package.
11392         (ffap-complete-as-file-p): Remove.
11394         Use completion-table-with-quoting for comint and pcomplete.
11395         * comint.el (comint--unquote&requote-argument)
11396         (comint--unquote-argument, comint--requote-argument): New functions.
11397         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11398         (comint-quote-filename): Use regexp-opt-charset.
11399         (comint--common-suffix, comint--common-quoted-suffix)
11400         (comint--table-subvert): Remove.
11401         (comint-unquote-function, comint-requote-function): New vars.
11402         (comint--complete-file-name-data): Use them with
11403         completion-table-with-quoting.
11404         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11405         * pcomplete.el (pcomplete-arg-quote-list)
11406         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11407         (pcomplete-unquote-argument-function): Default to non-nil.
11408         (pcomplete-unquote-argument): Simplify.
11409         (pcomplete--common-quoted-suffix): Remove.
11410         (pcomplete-requote-argument-function): New var.
11411         (pcomplete--common-suffix): New function.
11412         (pcomplete-completions-at-point): Use completion-table-with-quoting
11413         and completion-table-subvert.
11415         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11416         (minibuffer--double-dollars): Preserve properties.
11417         (completion--sifn-requote): New function.
11418         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11420         * minibuffer.el: Add support for completion of quoted/escaped data.
11421         (completion-table-with-quoting, completion-table-subvert): New funs.
11422         (completion--twq-try, completion--twq-all): New functions.
11423         (completion--nth-completion): New function.
11424         (completion-try-completion, completion-all-completions): Use it.
11426 2012-04-25  Leo Liu  <sdl.web@gmail.com>
11428         * progmodes/python.el (python-pdbtrack-get-source-buffer):
11429         Use compilation-message if available to find real filename.
11431 2012-04-25  Chong Yidong  <cyd@gnu.org>
11433         * vc/diff-mode.el (diff-setup-whitespace): New function.
11434         (diff-mode): Use it.
11436         * vc/diff.el (diff-sentinel):
11437         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11438         Whitespace mode variables based on diff style (Bug#8612).
11440 2012-04-25  Leo Liu  <sdl.web@gmail.com>
11442         * progmodes/python.el (python-send-region): Add suffix .py to the
11443         temp file.
11445         * files.el (auto-mode-alist): Use javascript-mode instead.
11447 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
11449         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
11451         * net/soap-client.el (soap-resolve-references-for-sequence-type)
11452         (soap-resolve-references-for-array-type): Hack to prevent self
11453         references, see Bug#9.
11454         (soap-parse-envelope): Report the contents of the 'detail' node
11455         when receiving a fault reply.
11456         (soap-parse-envelope): Report the contents of the entire 'detail' node.
11458         * net/soap-inspect.el (soap-sample-value-for-simple-type)
11459         (soap-inspect-simple-type): New function.
11461         * net/soap-client.el (soap-simple-type): New struct.
11462         (soap-default-xsd-types, soap-default-soapenc-types)
11463         (soap-decode-basic-type, soap-encode-basic-type):
11464         support unsignedInt and double basic types.
11465         (soap-resolve-references-for-simple-type)
11466         (soap-parse-simple-type, soap-encode-simple-type): New function.
11467         (soap-parse-schema): Parse xsd:simpleType declarations.
11469         * net/soap-client.el (soap-default-xsd-types)
11470         (soap-default-soapenc-types): Add integer, byte and anyURI types.
11471         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11472         the local name of "soapenc:Array".
11473         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11474         decoding integer, byte and anyURI xsd types.
11476 2012-04-25  Chong Yidong  <cyd@gnu.org>
11478         * cus-edit.el (custom-buffer-create-internal): Update header text.
11480 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
11482         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11483         settings on 'system-type', not on 'window-system'.  On MS-Windows,
11484         set interactive-mode on in GDB.
11486 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11488         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11489         (ruby-syntax-propertize-regexp): Remove.
11490         (ruby-syntax-propertize-function): Split regexp into chunks.
11491         Match following code directly.
11493 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
11495         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11496         (ruby-syntax-propertize-regexp): New function.
11497         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11498         by a special keyword.
11500         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11501         (ruby-syntax-general-delimiters-goto-beg)
11502         (ruby-syntax-propertize-general-delimiters): New functions.
11503         (ruby-syntax-propertize-function): Use them to handle GDL.
11504         (ruby-font-lock-keywords): Move old handling of GDL...
11505         (ruby-font-lock-syntactic-keywords): .. to here.
11506         (ruby-calculate-indent): Adjust indentation for GDL.
11508 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
11510         * notifications.el (top): Remove unneeded declarations.
11511         (notifications-specification-version): Change to "1.2".
11512         (notifications-interface, notifications-notify-method)
11513         (notifications-close-notification-method): Fix docstring.
11514         (notifications-get-capabilities-method): New defconst.
11515         (notifications-notify): Add :action-items, :resident and
11516         :transient hints.  Change "image_data" to "image-data" and
11517         "image_path" to "image-path".
11518         (notifications-get-capabilities): New defun.
11520 2012-04-24  Leo Liu  <sdl.web@gmail.com>
11522         * progmodes/python.el: Move hideshow setup to the end.
11524 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
11526         * window.el (handle-select-window): Clear echo area since this is
11527         no more done by read_char (Bug#11304).
11529 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11531         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11532         and `/ M' to filter-derived-mode.
11533         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11534         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11535         (ibuffer-mark-by-mode): Use default rather than initial-input.
11536         (ibuffer-filter-by-derived-mode): Autoload and require-match.
11538 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
11540         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11541         (ibuffer-filter-by-derived-mode): New filter.
11542         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11544 2012-04-23  Andreas Politz  <politza@fh-trier.de>
11546         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11548 2012-04-23  Chong Yidong  <cyd@gnu.org>
11550         * cus-edit.el (customize-apropos, customize-apropos-options):
11551         Disable matching of non-option variables (Bug#11176).
11552         (customize-option, customize-option-other-window)
11553         (customize-changed-options): Doc fix.
11554         (customize-apropos-options, customize-apropos-faces)
11555         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11557         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11558         Fix word list splitting (Bug#11132).
11559         (apropos-symbol, apropos-keybinding, apropos-label)
11560         (apropos-property, apropos-function-button)
11561         (apropos-variable-button, apropos-misc-button): New faces.
11562         (apropos-symbol-face, apropos-keybinding-face)
11563         (apropos-label-face, apropos-property-face, apropos-match-face):
11564         Variables removed (Bug#8396).
11565         (apropos-library-button, apropos-format-plist, apropos-print)
11566         (apropos-print-doc, apropos-describe-plist): Callers changed.
11568 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
11570         * net/xesam.el (xesam-mode-map): Use let-bound map in
11571         initialization.  (Bug#11292)
11573 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11575         Preserve ispell session localwords when switching back to
11576         original buffer.
11578         * textmodes/ispell.el (ispell-buffer-session-localwords):
11579         New buffer-local variable to hold buffer session localwords.
11580         (ispell-kill-ispell): Add option 'clear to delete session
11581         localwords.
11582         (ispell-command-loop, ispell-change-dictionary)
11583         (ispell-buffer-local-words): Preserve session localwords when
11584         needed.
11586         * textmodes/flyspell.el (flyspell-process-localwords)
11587         (flyspell-do-correct): Preserve session localwords when needed.
11589 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11591         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11592         using obsolete `translation-table-for-input'.
11593         (ispell-word, ispell-process-line, ispell-complete-word):
11594         Use plain `insert' instead of removed `ispell-insert-word'.
11596 2012-04-22  Chong Yidong  <cyd@gnu.org>
11598         * cus-edit.el (custom-variable-menu)
11599         (custom-variable-reset-saved, custom-face-menu)
11600         (custom-face-reset-saved): If there is no saved value, make the
11601         "reset-saved" operation bring back the default (Bug#9509).
11602         (custom-face-state): Properly detect themed faces.
11604         * faces.el (face-spec-set): Stop supporting deprecated form of
11605         third arg.
11607 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
11609         Move functions from C to Lisp.  Make non-blocking method calls
11610         the default.  Implement further D-Bus standard interfaces.
11612         * net/dbus.el (dbus-message-internal): Declare function.
11613         Remove unneeded function declarations.
11614         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11615         (dbus-message-type-method-return, dbus-message-type-error)
11616         (dbus-message-type-signal): Declare variables.  Remove local
11617         definitions.
11618         (dbus-interface-dbus, dbus-interface-peer)
11619         (dbus-interface-introspectable, dbus-interface-properties)
11620         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11621         Adapt docstring.
11622         (dbus-interface-objectmanager): New defconst.
11623         (dbus-call-method, dbus-call-method-asynchronously)
11624         (dbus-send-signal, dbus-method-return-internal)
11625         (dbus-method-error-internal, dbus-register-service)
11626         (dbus-register-signal, dbus-register-method): New defuns, moved
11627         from dbusbind.c
11628         (dbus-call-method-handler, dbus-setenv)
11629         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11630         New defuns.
11631         (dbus-call-method-non-blocking): Make it an obsolete function.
11632         (dbus-unregister-object, dbus-unregister-service)
11633         (dbus-handle-event, dbus-register-property)
11634         (dbus-property-handler): Obey the new structure of
11635         `bus-registered-objects'.
11636         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
11637         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11638         Use `dbus-call-method'.
11640 2012-04-22  Chong Yidong  <cyd@gnu.org>
11642         * cus-edit.el (custom-commands, custom-reset-menu)
11643         (Custom-reset-standard): Tweak labels.
11644         (custom-reset-button-menu): Change default to t.
11645         (custom-buffer-create-internal): For the custom-reset-button-menu
11646         case, put the revert button first.
11647         (custom-group-subtitle): New face.
11648         (custom-group-value-create): Align docstring to a specific column.
11650         * wid-edit.el (widget-documentation-link-add): Don't handle
11651         indentation in this function.
11652         (widget-documentation-string-indent-to): New function.
11653         (widget-documentation-string-value-create): Use it.
11655         * autorevert.el (auto-revert):
11656         * epg-config.el (epg):
11657         * ibuffer.el (ibuffer):
11658         * mpc.el (mpc):
11659         * ses.el (ses):
11660         * eshell/eshell.el (eshell):
11661         * net/ange-ftp.el (ange-ftp):
11662         * progmodes/ebnf2ps.el (postscript):
11663         * progmodes/flymake.el (flymake):
11664         * progmodes/prolog.el (prolog):
11665         * progmodes/verilog-mode.el (verilog-mode):
11666         * progmodes/which-func.el (which-func):
11667         * term/xterm.el (xterm):
11668         * textmodes/picture.el (picture):
11669         * textmodes/tildify.el (tildify):
11670         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11671         customization buffers.
11673 2012-04-22  Alan Mackenzie  <acm@muc.de>
11675         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11676         Adding a ) can hide the resulting (..) from searches.  Fix it.
11677         Bound the backward search to the position of the existing (.
11679 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
11681         * progmodes/verilog-mode.el (verilog-mode): Check whether
11682         which-func-modes is t before adding verilog-mode.
11683         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11685 2012-04-21  Leo Liu  <sdl.web@gmail.com>
11687         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11689 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
11691         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11692         filling of the last column of a table (Bug#5635).
11693         (woman-find-next-control-line): New arg, specifying an additional
11694         regexp component for the control line.
11695         (woman2-roff-buffer): Use it.
11696         (woman-break-table): New function.
11697         (woman2-TS): Use it.
11699 2012-04-21  Chong Yidong  <cyd@gnu.org>
11701         * woman.el (woman-set-buffer-display-table, woman-decode-region)
11702         (woman-horizontal-escapes, woman-negative-vertical-space)
11703         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11704         (WoMan-warn-ignored): Use ?\s instead of ?\ .
11706 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11708         * minibuffer.el (completion-file-name-table): Complete user names.
11710 2012-04-20  Leo Liu  <sdl.web@gmail.com>
11712         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11713         and pcase-let*.
11715 2012-04-20  Chong Yidong  <cyd@gnu.org>
11717         * server.el (server-execute): Respect initial-buffer-choice if it
11718         is a string and there are no files to open (Bug#2825).
11719         (server-create-window-system-frame, server-create-tty-frame):
11720         Don't switch buffers here.
11721         (server-process-filter): Only try to open a window system frame if
11722         compiled with graphical support (Bug#8314).
11724 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
11726         * battery.el (battery-echo-area-format): Display remaining time
11727         for sysfs backend too (Bug#11269).
11728         (battery-linux-sysfs): Fix conditional for the charge.
11730 2012-04-20  Chong Yidong  <cyd@gnu.org>
11732         * progmodes/gdb-mi.el (gdb): Revert previous change.
11733         (gdb-inferior-io--init-proc): New function.
11734         (gdb-init-1): Use it.
11735         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11736         responsible for allocating a new pty and hooking it to gdb when
11737         the old pty gets an EIO due to process exit.
11738         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
11739         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11740         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11742 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
11744         * window.el (window-min-size, window-sizable, window-min-delta)
11745         (window-max-delta, window--resizable, window-resizable)
11746         (window-total-size, window-full-height-p, window-full-width-p)
11747         (window-in-direction, window--resize-mini-window, window-resize)
11748         (window--resize-child-windows-normal)
11749         (window--resize-child-windows, window--resize-siblings)
11750         (window--resize-this-window, adjust-window-trailing-edge)
11751         (enlarge-window, shrink-window): Doc fixes.
11753 2012-04-20  Chong Yidong  <cyd@gnu.org>
11755         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11756         New function to call delete-process on the gdb-inferior buffer's pty.
11757         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11758         pty process (Bug#11273).
11759         (gdb-update): New arg to suppress talking to the gdb process.
11760         (gdb-done-or-error): Use it.
11761         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11762         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11763         sentinel not being called.
11765         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11767         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11769 2012-04-20  Glenn Morris  <rgm@gnu.org>
11771         * net/network-stream.el (open-network-stream): Doc fix.
11773 2012-04-20  Chong Yidong  <cyd@gnu.org>
11775         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11777 2012-04-20  Alan Mackenzie  <acm@muc.de>
11779         Ensure searching for keywords is case sensitive.
11781         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11782         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11783         (c-defun-name, c-mark-function, c-cpp-define-name)
11784         (c-comment-indent, c-scan-conditionals, c-indent-defun)
11785         (c-context-line-break): Bind case-fold-search to nil.
11787         * progmodes/cc-mode.el (c-font-lock-fontify-region):
11788         Bind case-fold-search to nil.
11790 2012-04-20  Chong Yidong  <cyd@gnu.org>
11792         * mail/sendmail.el (mail-bury): Call return action with the right
11793         Rmail buffer (Bug#11242).
11795         * server.el (server-process-filter): Handle corner case where both
11796         tty and nowait options are present (Bug#11102).
11798 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
11800         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11801         (top level): Put into the executable the ident-style '$Id:' tag on
11802         windows-nt as well.
11804 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11806         * electric.el (electric-indent-post-self-insert-function): Check that
11807         electric-indent-mode is enabled in current buffer.
11809 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
11811         * imenu.el (imenu-progress-message): Restore; it is "used" in
11812         erc/erc-imenu.el and net/snmp-mode.el.
11814 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
11816         * avoid.el (mouse-avoidance-mode): Mark unused arg.
11817         (mouse-avoidance-nudge-mouse): Remove unused binding.
11819         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11821         * descr-text.el (describe-char):
11822         * progmodes/python.el (python-describe-symbol):
11823         Don't call `toggle-read-only', set `buffer-read-only'.
11825         * imenu.el (imenu-default-goto-function): Mark unused args.
11826         (imenu-progress-message): Remove obsolete macro; all callers changed.
11828         * subr.el (keymap-canonicalize): Remove unused binding.
11829         (read-passwd): Mark unused arg.
11831         * tutorial.el (tutorial--display-changes): Remove unused binding.
11832         (tutorial--save-tutorial-to): Remove unused variable.
11834         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11835         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11836         (package-generate-autoloads, package-menu--generate)
11837         (package-menu--find-upgrades): Remove unused bindings.
11839         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11840         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
11841         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11842         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11843         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11844         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11845         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11846         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11847         (cua-delete-char-rectangle): Mark unused args.
11848         (cua-align-rectangle): Remove unused binding.
11850         * mail/rmail.el (compilation--message->loc)
11851         (epa--find-coding-system-for-mime-charset): Declare.
11853         * net/dbus.el (dbus-register-service): Declare.
11854         (dbus-name-owner-changed-handler): Remove unused binding.
11856         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11857         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11858         (nxml-scan-backward-within): Mark unused arg.
11859         (nxml-dynamic-markup-word): Remove unused binding.
11861         * mouse.el (mouse-menu-major-mode-map):
11862         * emacs-lisp/authors.el (authors-scan-change-log)
11863         (authors-add-to-author-list):
11864         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11865         * emacs-lisp/smie.el (smie-auto-fill):
11866         * mail/sendmail.el (mail-bury):
11867         * mail/unrmail.el (unrmail):
11868         * net/tls.el (open-tls-stream):
11869         * textmodes/picture.el (picture-mouse-set-point):
11870         Remove unused bindings.
11872 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
11874         * net/tramp.el (tramp-action-password): Let-bind
11875         `enable-recursive-minibuffers' to t.
11877 2012-04-18  Sam Steingold  <sds@gnu.org>
11879         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11880         instead of 'string to accommodate values like [f11].
11881         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11882         * progmodes/gdb-mi.el: Likewise.
11884 2012-04-18  Leo Liu  <sdl.web@gmail.com>
11886         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11887         current buffer.
11888         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11889         LOCAL is nil.
11891 2012-04-18  Chong Yidong  <cyd@gnu.org>
11893         * simple.el (line-move): Use forward-line if in batch mode
11894         (Bug#11053).
11896 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
11898         * files.el (after-find-file): Do not try to add a final newline if
11899         the buffer is read-only (Bug#11156).
11901 2012-04-17  Richard Stallman  <rms@gnu.org>
11903         * mail/rmail.el (rmail-start-mail):
11904         Pass (rmail-mail-return...) for the return-action.
11905         Pass (rmail-yank-current-message...) for the yank-action.
11906         (rmail-yank-current-message): New function.
11907         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11908         (rmail-reply): Likewise.
11909         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11911         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11912         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
11913         buffer, not newbuf.
11915 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
11917         * server.el (server-ensure-safe-dir): Simplify.
11919 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11921         * emacs-lisp/smie.el: Provide smarter auto-filling.
11922         (smie-auto-fill): New function.
11923         (smie-setup): Use it.
11925         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11927 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
11929         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11930         (comment-indent): Use it.
11932 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11934         * ses.el: The overall change is to add cell renaming, that is
11935         setting fancy names for cell symbols other than name matching
11936         "\\`[A-Z]+[0-9]+\\'" regexp .
11937         (ses-localvars): Add ses--renamed-cell-symb-list.
11938         (ses-create-cell-variable): New defun.
11939         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11940         (ses-relocate-formula): Relocate formulas only for cells the
11941         symbols of which are not renamed, i.e. symbols whose names do not
11942         match regexp "\\`[A-Z]+[0-9]+\\'".
11943         (ses-relocate-all): Relocate values only for cells the symbols of
11944         which are not renamed.
11945         (ses-load): Create cells variables as the (ses-cell ...) are read,
11946         in order to check row col consistency with cell symbol name only
11947         for cells that are not renamed.
11948         (ses-replace-name-in-formula): New defun.
11949         (ses-rename-cell): New defun.
11951 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
11953         * progmodes/perl-mode.el (perl-indent-parens-as-block):
11954         New option (bug#11118).
11955         (perl-calculate-indent): Respect it.
11957 2012-04-17  Glenn Morris  <rgm@gnu.org>
11959         * dired-aux.el (dired-mark-read-string): Doc fix.
11961 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
11963         * dired-aux.el (dired-mark-read-string): Offer optional completion.
11964         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
11966 2012-04-17  Glenn Morris  <rgm@gnu.org>
11968         * mouse.el (mouse-drag-track):
11969         * speedbar.el (speedbar-frame-mode):
11970         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11972 2012-04-16  Leo Liu  <sdl.web@gmail.com>
11974         * progmodes/python.el: Trivial cleanup.
11976 2012-04-16  Glenn Morris  <rgm@gnu.org>
11978         * vc/vc.el (vc-string-prefix-p):
11979         * vc/pcvs-util.el (cvs-string-prefix-p):
11980         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11981         * mpc.el (mpc-string-prefix-p):
11982         Make all of these into obsolete aliases for string-prefix-p.
11983         Update callers.
11984         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11986         * textmodes/two-column.el: Move custom options to the start.
11987         (frame-width): Remove compat definition.
11988         (2C-associate-buffer, 2C-dissociate):
11989         Use with-current-buffer rather than save-excursion.
11990         (2C-dissociate): Force a mode-line update.
11991         (2C-autoscroll): Use ignore-errors.
11993         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11994         Autoload trivia.
11996         * emacs-lisp/cl-extra.el (*random-state*):
11997         Remove unnecessary declaration.
11999         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12001         * play/cookie1.el (cookie-snarf):
12002         Give an explicit error if input file cannot be read.
12004         * play/yow.el (yow-file): Use expand-file-name rather than concat.
12006         * progmodes/perl-mode.el (c-macro-expand):
12007         Remove unnecessary autoload (it is in loaddefs.el).
12009         * textmodes/picture.el (picture-desired-column)
12010         (picture-update-desired-column): Convert comments to doc-strings.
12011         (picture-substitute): Remove function.
12012         (picture-mode-map): Initialize in the defvar.
12014         * woman.el: Remove eval-after-load for tar-mode.
12015         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12016         (woman-tar-extract-file): Autoload it.
12018         * frame.el (automatic-hscrolling): Make this alias obsolete.
12020 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12022         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12023         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12024         (ispell-dictionary-base-alist): Revert to original XEmacs
12025         friendly version for default.  [:alpha:] will be added in
12026         `ispell-set-spellchecker-params' if needed.
12028 2012-04-16  Chong Yidong  <cyd@gnu.org>
12030         * image.el (imagemagick--file-regexp): New variable.
12031         (imagemagick-register-types): Use it.
12032         (imagemagick-types-inhibit): Add :set function.  Allow new value
12033         of t to inhibit all types.
12035         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12036         so we can preload it.
12038         * loadup.el (fboundp): Preload regexp-opt, needed by
12039         imagemagick-register-types.
12041 2012-04-15  Chong Yidong  <cyd@gnu.org>
12043         * frame.el (scrolling): Remove nearly unused customization group.
12045         * scroll-all.el (scroll-all-mode): Move to windows group.
12047 2012-04-15  Chong Yidong  <cyd@gnu.org>
12049         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12051 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12053         Avoid the use of ((lambda ...) ...) in lexical-binding code.
12054         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12056 2012-04-15  Glenn Morris  <rgm@gnu.org>
12058         * simple.el (process-file-side-effects): Doc fix.
12060 2012-04-15  Glenn Morris  <rgm@gnu.org>
12062         * international/mule-cmds.el (set-language-environment): Doc fix.
12064 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
12066         * server.el (server-auth-key, server-generate-key): Doc fixes.
12067         (server-get-auth-key): Doc fix.  Use `string-match-p'.
12068         (server-start): Reflow docstring.
12070 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
12072         * server.el (server-generate-key): `called-interactively-p'
12073         requires a parameter.
12075 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
12077         * server.el (server-auth-key): New variable.
12078         (server-generate-key, server-get-auth-key): New function.
12079         (server-start): Use the new variable and functions to allow
12080         setting a permanent server key (bug#9423).
12082 2012-04-14  Leo Liu  <sdl.web@gmail.com>
12084         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12086 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
12088         Spelling fixes.
12089         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12090         Emacs uses American spelling.
12092 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
12094         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12095         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
12096         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12097         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
12099 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12101         * progmodes/which-func.el (which-func-modes): Change default.
12103 2012-04-14  Kim F. Storm  <storm@cua.dk>
12105         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12106         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12108 2012-04-14  Chong Yidong  <cyd@gnu.org>
12110         * custom.el (custom-theme-set-variables): Doc fix.
12112 2012-04-14  Glenn Morris  <rgm@gnu.org>
12114         * international/mule.el (set-auto-coding-for-load): Doc fix.
12116 2012-04-14  Alan Mackenzie  <acm@muc.de>
12118         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12119         imenu work again for Objective C Mode.  Correct the *-index values,
12120         these having been disturbed by a previous change in 2011-08.
12122         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12123         Correct two search limits.
12125 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12127         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12129 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
12131         * international/characters.el: Fix sorting.
12133 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
12135         * international/characters.el: Add more missing Latin case pairs.
12137 2012-04-14  Glenn Morris  <rgm@gnu.org>
12139         * files.el (dir-locals-set-class-variables): Doc fix.
12141 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
12143         * international/characters.el: Add set-case-syntax-pair call for
12144         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12145         counterpart.  (Bug#11209)
12147         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
12149 2012-04-14  Glenn Morris  <rgm@gnu.org>
12151         * calendar/holidays.el (calendar-check-holidays): Doc fix.
12153 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
12155         * textmodes/ispell.el (ispell-dictionary-base-alist):
12156         Add data for Hebrew.
12158 2012-04-14  Chong Yidong  <cyd@gnu.org>
12160         * net/rcirc.el (rcirc-cmd-quit):
12161         Revert 2012-03-18 change (Bug#11192).
12163 2012-04-14  Glenn Morris  <rgm@gnu.org>
12165         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12167 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
12169         * minibuffer.el (completion-in-region-mode-map):
12170         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
12172 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
12174         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12176 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
12178         * minibuffer.el (minibuffer-local-filename-syntax): New variable
12179         to allow `C-M-f' and `C-M-b' to move to the nearest path
12180         separator (bug#9511).
12182 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
12184         * avoid.el: Require cl when compiling.  And also move the
12185         `provide' to the end.
12187 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12189         * avoid.el (mouse-avoidance-banish-position): New variable.
12190         (mouse-avoidance-banish-destination): Use it (bug#10165).
12192 2012-04-13  Leo Liu  <sdl.web@gmail.com>
12194         * progmodes/which-func.el (which-func-modes): Add objc-mode.
12196 2012-04-13  Ken Brown  <kbrown@cornell.edu>
12198         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12199         this is no longer needed now that cygstart understands file:// URLs.
12200         (browse-url-filename-alist): For the same reason, don't modify
12201         file:// URLs on Cygwin.
12203 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12205         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12206         the region on shift if the binding is already shifted (bug#11221).
12208 2012-04-12  Glenn Morris  <rgm@gnu.org>
12210         * mail/mailpost.el: Move to obsolete/.
12212 2012-04-12  Drew Adams  <drew.adams@oracle.com>
12214         * imenu.el (imenu--generic-function): Ignore invisible definitions
12215         (bug#10123).
12217 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
12219         * hexl.el (hexl-bits): New variable.
12220         (hexl-options): Mention the variable in the doc string.
12221         (hexl-rulerise, hexl-line-displen): New functions.
12222         (hexl-mode): Mention the new variable.
12223         (hexl-mode, hexl-current-address, hexl-current-address):
12224         Use the displen.
12225         (hexl-ascii-start-column): New function.
12226         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12227         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12229 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12231         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12232         '("-i" ENCODING), in 2 separate command-line arguments, to specify
12233         the encoding, as expected by hunspell.
12235 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12237         * battery.el (battery--linux-sysfs-regexp): New const.
12238         (battery-status-function): Use it.  Remove yeeloong special case.
12239         (battery-yeeloong-sysfs): Remove.
12240         (battery-echo-area-format): Remove yeeloong special case.
12242 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12244         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12245         Reported by Noah Friedman.
12247         * subr.el (read-passwd): Use read-string.
12249 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12251         * vcursor.el (vcursor-move): Increase the priority of the overlay
12252         (bug#9663).
12254 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
12256         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12257         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12259 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
12261         * textmodes/artist.el (artist-mode): Convert artist-mode to use
12262         define-minor-mode (bug#10760).
12264 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
12266         * progmodes/grep.el (rgrep): Tweak the find command line so
12267         that directories matching `grep-find-ignored-files' won't be
12268         pruned (bug#10351).
12270 2012-04-11  Chong Yidong  <cyd@gnu.org>
12272         * startup.el (command-line): Remove support for long-obsolete
12273         variable font-lock-face-attributes.
12275 2012-04-11  Glenn Morris  <rgm@gnu.org>
12277         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12279 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12281         * window.el (window--state-get-1): Obey window-point-insertion-type.
12283 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
12285         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12286         to previous function when point is on the first character of a
12287         function.  Take care of that in `narrow-to-defun' (bug#6157).
12289 2012-04-11  Glenn Morris  <rgm@gnu.org>
12291         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12292         not just file-errors.
12294         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12295         (vc-bzr-sha1): Use internal sha1.
12297 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12299         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12301 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
12303         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12304         that start in the middle of the line (bug#10496).
12306 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
12308         * battery.el (battery-linux-proc-acpi): Only one battery is
12309         discharged at a time, but that seems to confuse battery.el when
12310         computing `rate-type' for the battery not being discharged
12311         (bug#10332).
12313 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12315         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12317         * international/quail.el: Use dolist and simplify.
12318         (quail-define-package, quail-update-keyboard-layout)
12319         (quail-define-rules): Use dolist.
12320         (quail-insert-kbd-layout, quail-get-translation): CSE.
12322         * tmm.el: Use dolist, remove left over hook.
12323         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12324         Use dolist.
12325         (calendar-load-hook): Don't mess with it.
12327         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12328         Use derived-mode-p.  Run the diff asynchronously.
12330 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12332         * obsolete/mouse-sel.el: Add an Obsolete-since header.
12334 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
12336         * misc.el: Display absolute path of loaded DLLs (bug#10424).
12337         (list-dynamic-libraries--loaded): New function.
12338         (list-dynamic-libraries--refresh): Use it.
12340 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
12342         * progmodes/python.el (python-fill-paragraph):
12343         Make python-fill-region in a multiline string work when font-lock is
12344         disabled (bug#7018).
12346 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
12348         * language/european.el (cp775): Add oem/legacy (en)coding on
12349         DOS/MS Windows for the Baltic languages.  There are still plenty
12350         of texts written in this encoding/codepage (bug#6519).
12352 2012-04-10  Glenn Morris  <rgm@gnu.org>
12354         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12355         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12357 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
12359         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12360         next-line "n" and previous-line "p" in order to make recentf more
12361         consistent with ibuffer, dired or org-mode (bug#9387).
12363 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12365         * image.el (put-image): Return the overlay created instead of the
12366         optional input string (bug#7834).  Note that this may break code
12367         that is (for some reason or other) depending on `put-image'
12368         returning the string.
12370         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12372         * simple.el (zap-to-char): Allow zapping using input methods
12373         (bug#1580).
12375         * textmodes/fill.el (fill-region): Leave point and mark where they
12376         were before filling (bug#5399).
12378 2012-04-09  Glenn Morris  <rgm@gnu.org>
12380         * version.el (emacs-bzr-get-version):
12381         Handle lightweight checkouts of local branches.
12383 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
12385         * international/characters.el: Recover lost case pairs.  (Bug#11209)
12387 2012-04-09  Chong Yidong  <cyd@gnu.org>
12389         * custom.el (custom-variable-p): Return nil for non-symbol
12390         arguments instead of signaling an error.
12391         (user-variable-p): Obsolete alias for custom-variable-p.
12393         * apropos.el (apropos-variable):
12394         * files-x.el (read-file-local-variable):
12395         * simple.el (set-variable):
12396         * woman.el (woman-mini-help):
12397         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12399 2012-04-09  Glenn Morris  <rgm@gnu.org>
12401         * startup.el (normal-top-level): Don't look for leim-list.el
12402         in places where it will not be found.  (Bug#910)
12404         * international/mule-cmds.el (set-default-coding-systems):
12405         * files.el (normal-mode):
12406         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
12407         This function was removed with ucs-tables.el in 2008.
12409 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
12411         * textmodes/ispell.el (ispell-check-version): For hunspell, set
12412         ispell-encoding8-command to "-i", without a trailing space.
12413         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12414         separate command-line arguments, to specify the encoding, since
12415         that's how hunspell expects it.
12417 2012-04-08  Glenn Morris  <rgm@gnu.org>
12419         * loadup.el: Load bindings before cus-start.
12420         This reduces somewhat the number of "rogue" settings in emacs -Q.
12422 2012-04-07  Glenn Morris  <rgm@gnu.org>
12424         * version.el (emacs-bzr-get-version): New function.
12425         (emacs-bzr-version): New variable.
12426         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
12427         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12429 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
12431         * international/uni-bidi.el, international/uni-category.el:
12432         * international/uni-combining.el, international/uni-decimal.el:
12433         * international/uni-decomposition.el, international/uni-digit.el:
12434         * international/uni-lowercase.el, international/uni-mirrored.el:
12435         * international/uni-name.el, international/uni-numeric.el:
12436         * international/uni-titlecase.el, international/uni-uppercase.el:
12437         Update for Unicode 6.1.
12439 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
12441         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12443 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12445         * window.el (shrink-window): Mention the `window-min-height'
12446         variable in the doc string.
12448 2012-04-05  Bastien Guerry  <bzg@altern.org>
12450         * color.el (color-lighten-name): Fix typo.
12452 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12454         * server.el (server--on-display-p): New function.
12455         (server--on-display-p): Use it.
12457 2012-04-04  Gábor Vida  <vidagabor@gmail.com>  (tiny change)
12459         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12460         (bug#11145).
12462 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12464         * comint.el (comint--common-quoted-suffix): Check string boundary
12465         before comparing (bug#11158).
12466         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12468 2012-04-04  Chong Yidong  <cyd@gnu.org>
12470         * minibuffer.el (completion-extra-properties): Doc fix.
12472         * subr.el (delayed-warnings-hook): Doc fix.
12474 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
12476         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12477         selection (Bug#11159).
12478         (epa-insert-keys): Inform that the default public key will be
12479         exported if no key is selected.
12481 2012-04-04  Richard Stallman  <rms@gnu.org>
12483         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12485 2012-04-03  Chong Yidong  <cyd@gnu.org>
12487         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12488         mail-insert-file, not its obsolete alias mail-attach-file.
12490 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
12492         * notifications.el (notifications-notify): Fix docstring.
12494 2012-04-02  Glenn Morris  <rgm@gnu.org>
12496         * emacs-lisp/authors.el (authors-aliases): Another addition.
12498 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
12500         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12501         `tramp-compat-call-process' instead of `tramp-local-call-process'.
12502         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12504 2012-04-01  Chong Yidong  <cyd@gnu.org>
12506         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12507         Handle root directory properly.
12508         (copy-directory): Caller changed.
12510         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12511         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12513 2012-03-31  Glenn Morris  <rgm@gnu.org>
12515         * term/xterm.el (xterm-extra-capabilities): Doc fix.
12517         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
12519         * calendar/calendar.el (calendar-window-list)
12520         (calendar-hide-window): Restore.  (Bug#11140)
12521         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12523         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12525 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12527         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12528         Check if file is a symlink (Bug#10489).
12530         * files.el (copy-directory): Likewise.
12532 2012-03-30  Chong Yidong  <cyd@gnu.org>
12534         * image.el (imagemagick-types-inhibit)
12535         (imagemagick-register-types): Doc fix.
12537 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12539         * textmodes/ispell.el (ispell-get-extended-character-mode):
12540         Disable extended-char-mode for hunspell.  hunspell does not support it
12541         and treats ~word as ordinary words in pipe mode.
12543 2012-03-30  Glenn Morris  <rgm@gnu.org>
12545         * tutorial.el (help-with-tutorial): Ensure local variables don't
12546         happen to make the buffer read-only.  (Bug#11127)
12548 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12550         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12551         (perl-calculate-indent): Return `noindent' in strings.
12553 2012-03-28  Sam Steingold  <sds@gnu.org>
12555         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12556         instead of the broken adhockery which does not prevent calendar
12557         buffers from being displayed at random after exit.
12558         (calendar-window-list, calendar-hide-window): Remove the broken
12559         adhockery.
12561 2012-03-28  Glenn Morris  <rgm@gnu.org>
12563         * replace.el (query-replace-map): Doc fix.
12565 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
12567         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12568         contents.  (Bug#11109)
12570 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12572         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12573         (bug#11077).
12574         (avl-tree--check, avl-tree--check-node): New funs.
12576 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
12578         * window.el (switch-to-visible-buffer): New option.
12579         (switch-to-prev-buffer, switch-to-next-buffer):
12580         Observe switch-to-visible-buffer.  Make sure that checking for a window
12581         showing a buffer already is done on the same frame.
12583 2012-03-27  Glenn Morris  <rgm@gnu.org>
12585         * startup.el (mail-host-address): Doc fix.
12587 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12589         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12590         than 197 variables.
12592 2012-03-26  Ami Fischman  <ami@fischman.org>
12594         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12596 2012-03-26  Glenn Morris  <rgm@gnu.org>
12598         * files.el (save-buffers-kill-emacs): Doc fix.
12600         * startup.el (normal-top-level, command-line, command-line-1):
12601         Give them doc strings.
12603 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
12605         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12606         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12608 2012-03-25  Chong Yidong  <cyd@gnu.org>
12610         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12611         theme if it was previously enabled before (Bug#11031).
12613         * cus-theme.el (custom-theme-write-faces): Retrieve current face
12614         spec with custom-face-get-current-spec if its :shown-value is not
12615         determined yet (Bug#9337).
12616         (customize-create-theme, custom-theme-revert): Doc fixes.
12618         * button.el (button-at): Minor addition to docstring.
12620 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
12622         * vc/vc.el (vc-merge): Fix a prompt.
12624 2012-03-24  Chong Yidong  <cyd@gnu.org>
12626         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12627         point (Bug#9623).
12629         * button.el (button-at): Minor addition to docstring.
12631 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12633         * newcomment.el (comment-choose-indent): No space after BOL.
12635 2012-03-22  Sam Steingold  <sds@gnu.org>
12637         * window.el (switch-to-prev-buffer): Revert last patch because the
12638         bug turned out to be an advertised feature (Elisp manual 28.14).
12640 2012-03-22  Glenn Morris  <rgm@gnu.org>
12642         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
12643         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12645 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12647         * net/network-stream.el (network-stream-open-starttls): Make error
12648         message under Windows be less misleading.
12650 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
12652         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12653         understands (bug#9942).
12655 2012-03-22  Chong Yidong  <cyd@gnu.org>
12657         * simple.el (end-of-visible-line): Handle return value of
12658         next-single-property-change properly (Bug#9371).
12660 2012-03-22  Kenichi Handa  <handa@m17n.org>
12662         * international/quail.el (quail-insert-kbd-layout): Fix previous
12663         change.  To avoid unwanted bidi reordering, use
12664         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12666 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
12668         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12669         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12670         (ruby-beginning-of-indent): Be more careful with the difference
12671         between word-boundary and symbol boundary.
12672         (ruby-mode-syntax-table): Make : a symbol constituent.
12674 2012-03-21  Andreas Politz  <politza@fh-trier.de>
12676         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12678 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12680         * progmodes/etags.el (tags-completion-at-point-function):
12681         Improve last fix.
12683         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12685 2012-03-21  Sam Steingold  <sds@gnu.org>
12687         * progmodes/etags.el (tags-completion-at-point-function):
12688         Avoid the error when point is inside the pattern.
12690 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
12692         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12693         line (Bug#10855).
12695 2012-03-21  Drew Adams  <drew.adams@oracle.com>
12697         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12699 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
12701         * ido.el (ido-set-current-directory, ido-read-internal)
12702         (ido-choose-completion-string, ido-completion-help): Handle nil
12703         value of ido-completion-buffer (Bug#11008).
12705 2012-03-21  Sam Steingold  <sds@gnu.org>
12707         * window.el (switch-to-prev-buffer): Do not switch to a visible
12708         window previous buffer, just like with the frame previous buffers.
12710 2012-03-21  Chong Yidong  <cyd@gnu.org>
12712         * faces.el (make-face, make-empty-face, copy-face):
12713         * face-remap.el (face-remap-add-relative, face-remap-set-base):
12714         Doc fixes.
12716 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12718         * wid-edit.el (widget-complete-field): Remove (bug#11051).
12719         (widget-complete): Remove broken use of it.
12721 2012-03-20  Chong Yidong  <cyd@gnu.org>
12723         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12724         Use string-width and truncate-string-width to handle arbitrary
12725         characters.
12727 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
12729         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12730         to draw rectangles, not squares.  (Regression introduced by revno
12731         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12733 2012-03-18  Chong Yidong  <cyd@gnu.org>
12735         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12736         it is not yet defined (for temacs).
12738 2012-03-18  Leo Liu  <sdl.web@gmail.com>
12740         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12741         prefix.
12743 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
12745         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12746         (ispell-choices-win-default-height, ispell-silently-savep)
12747         (ispell-dictionary-alist, ispell-encoding8-command)
12748         (ispell-check-version, ispell-aspell-find-dictionary)
12749         (ispell-valid-dictionary-list, ispell-words-keyword)
12750         (ispell-get-word, ispell-internal-change-dictionary)
12751         (ispell-region, ispell-skip-region-list)
12752         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12753         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12754         (ispell-message-text-end, ispell-message)
12755         (ispell-buffer-local-parsing): Doc fix.
12757 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
12759         * htmlfontify.el: Add support for code block fontification for ODT
12760         export (Bug #9914).
12761         (hfy-optimisations): Define new option
12762         `body-text-only'
12763         (hfy-fontify-buffer): Honor above setting.
12764         (hfy-begin-span, hfy-end-span): New routines factored out form
12765         `hfy-fontify-buffer'.
12766         (hfy-begin-span-handler, hfy-end-span-handler): New variables
12767         that permit insertion of custom tags.
12768         (hfy-fontify-buffer): Use above handlers.
12769         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12770         (hfy-face-to-css): Re-defined to be a variable.
12771         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
12772         over multiple runs.  This is made possible by having the caller let
12773         bind a special variable `hfy-user-sheet-assoc'.
12774         (htmlfontify-string): New defun.
12775         (hfy-compile-face-map): Make sure that the last char in the
12776         buffer is correctly fontified.
12777         (hfy-face-resolve-face): Whitespace only change.
12779 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
12781         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12782         message more clear.
12784 2012-03-16  Leo Liu  <sdl.web@gmail.com>
12786         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12788 2012-03-16  Alan Mackenzie  <acm@muc.de>
12790         Further optimize the handling of large macros.
12792         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12793         limit to a call of `c-literal-limits'.
12794         (c-determine-+ve-limit): New function.
12795         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12796         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12797         In CASE 5B, restrict a search limit to 500.
12798         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12800         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12801         Restrict macro bounds to +-500 from after-change's BEG END.
12803 2012-03-16  Leo Liu  <sdl.web@gmail.com>
12805         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12807 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
12809         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12810         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
12812 2012-03-16  Glenn Morris  <rgm@gnu.org>
12814         * view.el (view-buffer, view-buffer-other-window)
12815         (view-buffer-other-frame): Doc fixes re special mode-class.
12817         * subr.el (eval-after-load): If named feature is provided not from
12818         a file, run after-load forms.  (Bug#10946)
12820         * calendar/calendar.el (calendar-insert-at-column):
12821         Handle non-unit-width characters a bit better.  (Bug#10978)
12823 2012-03-15  Chong Yidong  <cyd@gnu.org>
12825         * emacs-lisp/ring.el (ring-extend): New function.
12826         (ring-insert+extend): Extend the ring correctly (Bug#11019).
12828         * comint.el (comint-read-input-ring)
12829         (comint-add-to-input-history): Grow comint-input-ring lazily.
12831 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12833         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12834         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12836         * imenu.el: Fix multiple inheritance breakage (bug#9199).
12837         (imenu-add-to-menubar): Don't add a redundant index.
12838         (imenu-update-menubar): Handle a dynamically composed keymap.
12840 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
12842         * mail/sendmail.el (mail-encode-header):
12843         Bind rfc2047-encode-encoded-words to nil.
12845 2012-03-13  Glenn Morris  <rgm@gnu.org>
12847         * calendar/calendar.el (calendar-string-spread):
12848         Handle non-unit-width characters a bit better.  (Bug#10978)
12850 2012-03-13  Leo Liu  <sdl.web@gmail.com>
12852         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12853         directory and file as argument (Bug#10822).
12855 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
12857         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12858         For dynamically generated code, follow $PC.
12859         (gdb-disassembly-handler-custom): Handle no function name case.
12861 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
12863         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12864         * emulation/ws-mode.el (ws-query-replace):
12865         * sort.el (sort-regexp-fields):
12866         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
12868 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12870         * dabbrev.el: Fix cycle completion order (bug#10963).
12871         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12872         (dabbrev-completion): Don't use an obarray; provide
12873         a cycle-sort-function.
12875 2012-03-12  Leo Liu  <sdl.web@gmail.com>
12877         * simple.el (kill-new): Use equal-including-properties for comparison.
12878         (kill-do-not-save-duplicates): Doc fix.
12880 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12882         * dabbrev.el: Fix cycle completion (bug#10963).
12883         Use lexical binding and wrap to 80 columns.
12884         (dabbrev-completion): Delay computing the list of completions.
12886 2012-03-12  Kenichi Handa  <handa@m17n.org>
12888         * international/quail.el (quail-insert-kbd-layout): Surround each
12889         row by LRO and PDF instead of inserting many LRMs.  Pad the left
12890         and right of each non-spacing marks.  Insert invisible space
12891         between lower and upper characters to prevent composition.
12893 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12895         * minibuffer.el (minibuffer-complete): Don't get confused when the
12896         function is run twice via different commands (bug#10958).
12897         (complete-with-action): Fix docstring.
12899 2012-03-12  Chong Yidong  <cyd@gnu.org>
12901         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12902         (nxml-completion-at-point-function): New function.
12903         (nxml-mode): Use it.
12904         (nxml-bind-meta-tab-to-complete-flag): Default to t.
12906         * emacs-lisp/package.el (package-unpack, package-unpack-single):
12907         Load generated autoloads file before byte compiling (Bug#10970).
12908         (package--make-autoloads-and-compile): New helper fun.
12910 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
12912         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12914 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
12916         * autorevert.el (auto-revert-handler): Ensure, that
12917         file-readable-p is applied only for local files or in
12918         auto-revert-tail-mode.
12920 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
12922         * server.el (server-eval-at): Handle non-tcp connections.
12923         Decode result string.
12925         * server.el (server-msg-size): New constant.
12926         (server-reply-print): New function.
12927         (server-eval-and-print): Use it.
12928         (server-eval-at): Use server-quote-arg and server-unquote-arg.
12929         Handle -print-nonl.
12931 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
12933         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12934         (Bug#10987).
12936 2012-03-11  Chong Yidong  <cyd@gnu.org>
12938         * simple.el (goto-line): Doc fix (Bug#9938).
12940         * subr.el (save-window-excursion): Doc fix (Bug#9979).
12942         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12943         when finished (Bug#10963).
12945 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
12947         * window.el (split-window-below): Fix bug in case where
12948         split-window-keep-point is nil (Bug#10971).
12950 2012-03-11  Juri Linkov  <juri@jurta.org>
12952         * replace.el (replace-highlight): Set isearch-word to nil
12953         unconditionally.  (Bug#10887)
12955 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
12957         * net/mairix.el (mairix-replace-invalid-chars): Rename from
12958         mairix-replace-illegal-chars; all callers changed.  Don't remove
12959         ^, ~, and = characters: they are meaningful in mairix search specs.
12960         (mairix-widget-create-query): Add usage information about mairix
12961         search forms: negating words, searching for substrings, etc.
12963 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
12965         * international/fontset.el (font-encoding-alist): Add an entry for
12966         ksx1001 (Bug#5667).
12968 2012-03-10  Richard Stallman  <rms@gnu.org>
12970         * mail/sendmail.el (mail-encode-header):
12971         Set rfc2047-encode-encoded-words.
12973         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12975         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12976         view buffer means not swapped.
12977         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12978         (rmail-write-region-annotate): Error if real text has disappeared.
12980         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12982 2012-03-10  Chong Yidong  <cyd@gnu.org>
12984         * emulation/cua-rect.el (cua--init-rectangles):
12985         * emulation/cua-base.el (cua--init-keymaps):
12986         Add delete-forward-char to remappings (Bug#9666).
12988 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
12990         * speedbar.el (speedbar-unhighlight-one-tag-line):
12991         Avoid unhighlighting due to frame switching (Bug#10275).
12993 2012-03-10  Chong Yidong  <cyd@gnu.org>
12995         * minibuffer.el (completion-in-region, completion-help-at-point):
12996         Give the completion field overlay a high priority (Bug#6830).
12998         * dired.el (dired-goto-file): Recognize absolute file name
12999         listings (Bug#7126).
13000         (dired-goto-file-1): New helper function.
13001         (dired-toggle-read-only): Inhibit warnings.
13003 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
13005         * net/dbus.el (dbus-property-handler): Return empty array if
13006         there are no properties.
13008 2012-03-09  Leo Liu  <sdl.web@gmail.com>
13010         * savehist.el (savehist-printable): Stricter check for string
13011         value (Bug#10937).
13013 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
13015         * mail/smtpmail.el (smtpmail-send-it):
13016         Bind coding-system-for-write to *-unix, so that FCC files are kept in
13017         valid mbox format.
13019 2012-03-09  Glenn Morris  <rgm@gnu.org>
13021         * files.el (dir-locals-find-file):
13022         Don't check result is regular, readable.
13023         (dir-locals-read-from-file): Demote errors.
13025 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
13027         * international/quail.el (quail-insert-kbd-layout):
13028         Insert invisible LRM characters before each character in a keyboard
13029         layout cell, to prevent their reordering by bidi display engine.
13030         For details, see the discussion in
13031         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13033 2012-03-08  Alan Mackenzie  <acm@muc.de>
13035         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13036         the starting position; make it extend the marked region when
13037         invoked repeatedly - all under appropriate circumstances.
13038         Fixes bugs #5525, #10906.
13040 2012-03-08  Glenn Morris  <rgm@gnu.org>
13042         * files.el (locate-dominating-file, dir-locals-find-file):
13043         Undo 2012-03-06 change.
13045 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
13047         * international/quail.el (quail-help):
13048         Force bidi-paragraph-direction be left-to-right.  See discussion in
13049         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13050         for the reason.
13052 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
13054         Avoid superfluous registering of signals.  (Bug#10807)
13056         * notifications.el (notifications-on-action-object)
13057         (notifications-on-close-object): New defvars.
13058         (notifications-on-action-signal, notifications-on-closed-signal):
13059         Unregister the signal if not needed any longer.
13060         (notifications-notify): Register `notifications-action-signal' or
13061         `notifications-closed-signal', if :on-action or :on-close has been
13062         passed as argument.
13064 2012-03-07  Chong Yidong  <cyd@gnu.org>
13066         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13067         non-X platforms.
13069 2012-03-06  Glenn Morris  <rgm@gnu.org>
13071         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13072         (x-disown-selection-internal, x-get-selection-internal):
13073         Doc fix (add arglist signatures).  (Bug#10783)
13075 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
13077         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13078         Handle breakpoints with no "type".
13080 2012-03-06  Glenn Morris  <rgm@gnu.org>
13082         * files.el (locate-dominating-file): Add optional predicate argument.
13083         (dir-locals-find-file): Make use of above change.
13085 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
13087         * info.el (Info-insert-dir): Also try "dir.gz".
13089 2012-03-06  Glenn Morris  <rgm@gnu.org>
13091         * files.el (dir-locals-find-file):
13092         Ignore non-readable or non-regular files.  (Bug#10928)
13094         * files.el (locate-dominating-file): Doc fix.
13096 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
13098         * calendar/calendar.el (calendar-set-mode-line):
13099         `getenv' returns a string.  (Bug#10951)
13101 2012-03-05  Leo Liu  <sdl.web@gmail.com>
13103         * simple.el (backward-delete-char-untabify): Constrain point to
13104         field (Bug#10939).
13106         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13108 2012-03-05  Chong Yidong  <cyd@gnu.org>
13110         * simple.el (count-words): If called from Lisp, return the word
13111         count, for symmetry with `count-lines'.  Arglist changed.
13112         (count-words--message): Args changed.  Consolidate counting code
13113         from count-words and count-words-region.
13114         (count-words-region): Caller changed.
13115         (count-lines-region): Make it an obsolete alias.
13117 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
13119         * saveplace.el (save-place-to-alist)
13120         (save-place-ignore-files-regexp): Allow value nil to disable this
13121         feature.
13123 2012-03-04  Chong Yidong  <cyd@gnu.org>
13125         * faces.el (face-spec-reset-face): For the default face, reset the
13126         attributes to default values (Bug#10748).
13128 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13130         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13131         previous patch: Check `message-send-mail-function', and not the
13132         default function (bug#10897).
13134 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
13136         * notifications.el (notifications-on-action-signal)
13137         (notifications-on-closed-signal): Check for unique service name of
13138         incoming event.  Fix error in removing entry.
13139         (top): Register for signals with wildcard service name.
13140         (notifications-notify): Use daemon unique service name for map entries.
13142 2012-03-04  Chong Yidong  <cyd@gnu.org>
13144         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13146 2012-03-04  Glenn Morris  <rgm@gnu.org>
13148         * abbrev.el (copy-abbrev-table, abbrev-table-p)
13149         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13150         (expand-abbrev, define-abbrev-table): Doc fixes.
13152 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13154         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13155         `message-default-send-mail-function' and not `send-mail-function'
13156         when doing the prompting for `sendmail-query-once' before sending
13157         in Message buffers (bug#10897).
13159         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13160         This is inconsistent with all the other stream functions, which leave
13161         the setting up to the higher levels (if so wanted) (bug#10931).
13163 2012-03-02  Alan Mackenzie  <acm@muc.de>
13165         Depessimize the handling of very large macros.
13167         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13168         (c-macro-cache-syntactic): New variables to implement a one
13169         element macro cache.
13170         (c-invalidate-macro-cache): New function.
13171         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13172         Adapt to use the new cache.
13173         (c-state-safe-place): Use better the cache of safe positions.
13174         (c-state-semi-nonlit-pos-cache)
13175         (c-state-semi-nonlit-pos-cache-limit):
13176         New variables for...
13177         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
13178         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13179         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13180         Use c-state-semi-safe-place.
13182         * progmodes/cc-langs.el (c-get-state-before-change-functions):
13183         Add c-invalidate-macro-cache to the C, C++, Obj entries.
13185 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
13187         * jka-compr.el (jka-compr-call-process):
13188         Apply `file-accessible-directory-p' only when the default directory is
13189         not remote.
13191 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
13193         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
13194         access of FILE2, if FILE1 does not exist.
13196         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13197         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13199         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13200         Add "PAGER=" to `process-environment'.
13202 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
13204         * progmodes/sql.el: Bug fix
13205         (sql-get-login-ext): Save login values in globals.
13206         (sql-get-login): Use new version of `sql-get-login-ext'.
13207         (sql-interactive-mode): Set global `sql-connection' to nil.
13208         (sql-connect): Set global values for connection.
13209         (sql-product-interactive): Save global values as buffer local.
13211 2012-02-29  Leo Liu  <sdl.web@gmail.com>
13213         * abbrev.el (define-abbrevs): Reset sys to nil.
13215 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13217         * files.el (file-equal-p): Rename from `files-equal-p'.
13218         Return nil when one or both files don't exist.
13219         (file-subdir-of-p): Now only top directory must exists,
13220         return nil if it doesn't.
13221         (copy-directory): No need to test with `file-subdir-of-p' after
13222         creating dir.
13223         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13224         to `file-equal-p'.
13226 2012-02-28  Glenn Morris  <rgm@gnu.org>
13228         * shell.el (shell-mode):
13229         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13230         * play/landmark.el (landmark-font-lock-face-O):
13231         * play/handwrite.el (handwrite):
13232         * play/gomoku.el (gomoku-O):
13233         * net/browse-url.el (browse-url-browser-display):
13234         * international/mule.el (define-charset):
13235         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13236         * filesets.el (filesets-find-file-delay):
13237         * eshell/em-xtra.el (eshell-xtra):
13238         * eshell/em-unix.el (eshell-grep):
13239         * emulation/viper.el (viper-mode):
13240         * emacs-lisp/regexp-opt.el (regexp-opt-group):
13241         * emacs-lisp/easymenu.el (easy-menu-define):
13242         * calendar/timeclock.el (timeclock-use-display-time):
13243         * bs.el (bs-mode):
13244         * bookmark.el (bookmark-save-flag):
13245         Doc fix (standardize possessive apostrophe usage).
13247 2012-02-27  Chong Yidong  <cyd@gnu.org>
13249         * emulation/viper-cmd.el (viper-intercept-ESC-key):
13250         Fix key-binding lookup for ESC key (Bug#9146).
13252         * font-lock.el (font-lock-specified-p): Rename from
13253         font-lock-spec-present.  Callers changed.
13255 2012-02-27  Daniel Hackney  <dan@haxney.org>
13257         * emacs-lisp/package.el (package-compute-transaction):
13258         Handle holding a package version to t in package-load-list.
13260 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
13262         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13263         (tramp-get-inode, tramp-get-device): Use cached values.
13265 2012-02-26  Alan Mackenzie  <acm@muc.de>
13267         Check there is a font-lock specification before doing initial
13268         fontification.
13270         * font-core.el (font-lock-mode): Move the conditional from
13271         :after-hook to font-lock-initial-fontify.
13272         (font-lock-default-function): Move the check for a specification
13273         to font-lock-spec-present.
13275         * font-lock.el (font-lock-initial-fontify): Call ...
13276         (font-lock-spec-present): New function.
13278 2012-02-26  Jim Blandy  <jimb@red-bean.com>
13280         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13281         (gdb-send): Apply it to the operand of the '-interpreter-exec
13282         console' command, so that we can pass arguments with (say) quotes
13283         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
13285 2012-02-26  Chong Yidong  <cyd@gnu.org>
13287         * help-fns.el (describe-function-1): Clarify description of
13288         remapping (Bug#10844).
13290         * files.el (files-equal-p): Doc fix.
13291         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
13292         and quit the loop once a mismatch is found.
13294 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
13296         * bs.el (bs--show-with-configuration): Don't throw an error
13297         if the window cannot be split; otherwise, subsequent calls to
13298         bs-show fail, restoring a stale window config.  (Bug#10882)
13300 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
13302         * term/ns-win.el (global-map): Bind ns-drag-file to
13303         ns-find-file (Bug#5855, Bug#10050).
13305 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
13307         * calendar/parse-time.el (parse-time-string): Allow extractor to
13308         return nil.
13310 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
13312         * net/tramp.el (tramp-file-name-for-operation):
13313         Add `files-equal-p' and `file-subdir-of-p'.
13315         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13316         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13317         Add COPY-CONTENTS argument.
13319 2012-02-25  Chong Yidong  <cyd@gnu.org>
13321         Add custom groups for VC backends, for consistency with vc-bzr.
13323         * vc/vc-arch.el (vc-arch):
13324         * vc/vc-cvs.el (vc-cvs):
13325         * vc/vc-git.el (vc-git):
13326         * vc/vc-hg.el (vc-hg):
13327         * vc/vc-mtn.el (vc-mtn):
13328         * vc/vc-rcs.el (vc-rcs):
13329         * vc/vc-sccs.el (vc-sccs):
13330         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13331         All relevant defcustoms reassigned.
13333 2012-02-25  Chong Yidong  <cyd@gnu.org>
13335         * newcomment.el (comment-styles): Add autoload (Bug#10868).
13337         * term/x-win.el (x-initialize-window-system): Reduce default for
13338         x-selection-timeout to 5 seconds (Bug#8869).
13340 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13342         * files.el (files-equal-p, file-subdir-of-p): New functions.
13343         (copy-directory): Error when trying to copy a directory on itself.
13344         Add missing copy-contents arg to tramp handler.
13345         * dired-aux.el (dired-copy-file-recursive): Same.
13346         (dired-create-files): Modify destination when source is equal to
13347         dest when copying files.
13348         Return also when dest is a subdir of source.  (Bug#10489)
13350 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
13352         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13353         (Bug#10874)
13355 2012-02-23  Alan Mackenzie  <acm@muc.de>
13357         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13358         parameter "after-hook:" to allow the expansion to run code after
13359         the execution of the mode hooks.
13361         * font-lock.el (font-lock-initial-fontify): New function extracted
13362         from font-lock-mode-internal.
13364         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13365         :after-hook.
13367 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13369         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13370         (completion--cache-all-sorted-completions): New function.
13371         (completion-all-sorted-completions): Use it.
13372         (completion--do-completion, minibuffer-force-complete):
13373         Use it to re-instate the flush hook.
13375         * icomplete.el (icomplete-completions): Replace last fix with a better
13376         one (bug#10850).
13378 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
13380         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13381         when it might call us back infinitely (bug#10797).
13383 2012-02-23  Glenn Morris  <rgm@gnu.org>
13385         * minibuffer.el (completion-category-overrides): Doc fix.
13387 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13389         * minibuffer.el (completion-table-with-context): Fix inf-loop.
13390         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13392 2012-02-23  Glenn Morris  <rgm@gnu.org>
13394         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13395         (authors-obsolete-files-regexps, authors-ignored-files)
13396         (authors-ambiguous-files, authors-renamed-files-alist):
13397         Add more entries.
13399 2012-02-23  Juri Linkov  <juri@jurta.org>
13401         * isearch.el (isearch-occur): Sync interactive spec with occur's
13402         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
13404         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13406 2012-02-22  Juri Linkov  <juri@jurta.org>
13408         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13409         (ucs-insert): Doc fix.  Check for hex digits in the string.
13410         Don't display `nil' in the error message.  (Bug#10857)
13412 2012-02-22  Alan Mackenzie  <acm@muc.de>
13414         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13416 2012-02-22  Glenn Morris  <rgm@gnu.org>
13418         * ffap.el (ffap-c-path):
13419         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
13421 2012-02-22  Chong Yidong  <cyd@gnu.org>
13423         * custom.el (load-theme): Doc fix.
13425 2012-02-22  Glenn Morris  <rgm@gnu.org>
13427         * dired-x.el (dired-guess-shell-alist-default):
13428         Remove escape sequences from nroff output.  (Bug#172)
13430 2012-02-21  Glenn Morris  <rgm@gnu.org>
13432         * vc/emerge.el (emerge-defvar-local):
13433         Set `permanent-local' property rather than unused `preserved'.
13435         * textmodes/picture.el (picture-delete-char): New alias.
13436         (picture-mode-map): Use it.  (Bug#10860)
13437         (picture-mode): Doc fix.
13439 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
13441         * newcomment.el (uncomment-region-default): Remove unused binding.
13443 2012-02-21  Glenn Morris  <rgm@gnu.org>
13445         * textmodes/picture.el (picture-motion, picture-motion-reverse)
13446         (picture-self-insert, picture-tab-chars): Doc fix.
13447         (picture-mode-map): Fix C-a, C-e.
13449 2012-02-20  Glenn Morris  <rgm@gnu.org>
13451         * emacs-lisp/authors.el (authors-aliases): Add another entry.
13453 2012-02-20  Leo Liu  <sdl.web@gmail.com>
13455         * icomplete.el (icomplete-completions): Check FROM arg before
13456         passing to substring (Bug#10850).
13458 2012-02-19  Chong Yidong  <cyd@gnu.org>
13460         * comint.el: Require ansi-color.
13461         (comint-output-filter-functions): Add ansi-color-process-output.
13463         * ansi-color.el: Don't set comint-output-filter-functions; it is
13464         now in the initial value defined in comint.el.
13465         (ansi-color-apply-face-function): New variable.
13466         (ansi-color-apply-on-region): Use it.
13467         (ansi-color-apply-overlay-face): New function.
13469         * shell.el (shell): No need to require ansi-color.
13470         (shell-mode): Use ansi-color-apply-face-function to highlight
13471         color escapes using font-lock-face property (Bug#10835).
13473 2012-02-19  Chong Yidong  <cyd@gnu.org>
13475         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13476         mode-line formats (Bug#10839).
13478 2012-02-18  Glenn Morris  <rgm@gnu.org>
13480         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13482         * mail/undigest.el (unforward-rmail-message): Doc fix.
13484         * saveplace.el (save-place-ignore-files-regexp): Add :version.
13486 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
13488         * international/characters.el (script-list): Sync with the latest
13489         Unicode Character Database.
13491 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
13493         * international/titdic-cnv.el: Remove duplicate coding tag.
13494         * language/cham.el: Likewise.
13495         * language/tai-viet.el: Likewise.
13497 2012-02-18  Glenn Morris  <rgm@gnu.org>
13499         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13500         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13501         (calendar-bahai-all-holidays-flag, calendar-other-dates):
13502         * calendar/diary-lib.el (diary-abbreviated-year-flag):
13503         * calendar/holidays.el (holiday-bahai-holidays)
13504         (calendar-holidays, list-holidays):
13505         Use utf-8 Bahá'í in doc-strings, menus, etc.
13507 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
13509         * saveplace.el (save-place-ignore-files-regexp): New variable
13510         allowing for excluding files from saving their location of point.
13511         The default value matches the temporary commit message editing
13512         files from Git, SVN, Bazaar, and Mercurial.
13513         (save-place-to-alist): Use it.
13515 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
13516             Stefan Monnier  <monnier@iro.umontreal.ca>
13518         * newcomment.el (uncomment-region-default): Don't leave extra space
13519         when an arg is provided (bug#8150).
13521 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
13523         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13525 2012-02-17  Glenn Morris  <rgm@gnu.org>
13527         * net/socks.el: Require network-stream.  (Bug#10599)
13529 2012-02-17  Kenichi Handa  <handa@m17n.org>
13531         * international/charprop.el:
13532         * international/uni-name.el:
13533         * international/uni-old-name.el:
13534         * international/uni-comment.el: Regenerate.
13536 2012-02-16  Glenn Morris  <rgm@gnu.org>
13538         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13539         Interactively in calendar buffer, give an error if not on a date.
13541 2012-02-15  Glenn Morris  <rgm@gnu.org>
13543         * shell.el (shell-delimiter-argument-list):
13544         Revert 2011-02-17 change.  (Bug#8027)
13546 2012-02-15  Chong Yidong  <cyd@gnu.org>
13548         * minibuffer.el (completion-at-point-functions): Doc fix.
13550         * custom.el (defcustom): Doc fix; note use of defvar.
13552 2012-02-15  Glenn Morris  <rgm@gnu.org>
13554         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13555         Doc fixes.
13557 2012-02-14  Glenn Morris  <rgm@gnu.org>
13559         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13561 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
13563         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13564         way the ports list is computed.
13565         (smtpmail-query-smtp-server): Prompt the user for a port number if
13566         we can't connect to any of the standard ports (bug#10810).
13568 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
13570         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13572 2012-02-13  Glenn Morris  <rgm@gnu.org>
13574         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
13576 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
13578         * net/gnutls.el (gnutls-trustfiles): New variable.
13579         (gnutls-negotiate): Use it.
13581 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
13583         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13584         does its stuff if Gnus is running.
13586 2012-02-13  Alan Mackenzie  <acm@muc.de>
13588         Fix a loop in c-set-fl-decl-start.
13590         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13591         c-backward-syntactic-ws actually moves backwards.
13593 2012-02-13  Leo Liu  <sdl.web@gmail.com>
13595         * net/rcirc.el (rcirc-markup-attributes): Move point to the
13596         beginning so that all \C-o chars are removed.
13598 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
13600         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13602 2012-02-12  Alan Mackenzie  <acm@muc.de>
13604         Fix infinite loop with long macros.
13605         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13607 2012-02-12  Chong Yidong  <cyd@gnu.org>
13609         * window.el (display-buffer): Doc fix (Bug#10785).
13611 2012-02-12  Glenn Morris  <rgm@gnu.org>
13613         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13614         (x-disown-selection-internal, x-get-selection-internal):
13615         Sync docs with the xselect.c versions.
13617         * allout-widgets.el: Add missing license notice.
13619 2012-02-11  Glenn Morris  <rgm@gnu.org>
13621         * select.el (x-get-selection-internal, x-own-selection-internal)
13622         (x-disown-selection-internal):
13623         * x-dnd.el (x-get-selection-internal): Update declarations.
13625         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13627         * window.el (window-sides-slots):
13628         * tool-bar.el (tool-bar-position):
13629         * term/xterm.el (xterm-extra-capabilities):
13630         * ses.el (ses-self-reference-early-detection):
13631         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13632         (verilog-auto-wire-type)
13633         (verilog-auto-delete-trailing-whitespace)
13634         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13635         (verilog-auto-tieoff-declaration):
13636         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13637         (sql-oracle-statement-starters, sql-oracle-scan-on):
13638         * progmodes/prolog.el (prolog-align-comments-flag)
13639         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13640         (prolog-left-indent-regexp, prolog-paren-indent-p)
13641         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13642         (prolog-types, prolog-mode-specificators)
13643         (prolog-determinism-specificators, prolog-directives)
13644         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13645         (prolog-electric-dot-flag)
13646         (prolog-electric-dot-full-predicate-template)
13647         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13648         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13649         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13650         (prolog-program-switches, prolog-prompt-regexp)
13651         (prolog-debug-on-string, prolog-debug-off-string)
13652         (prolog-trace-on-string, prolog-trace-off-string)
13653         (prolog-zip-on-string, prolog-zip-off-string)
13654         (prolog-use-standard-consult-compile-method-flag)
13655         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13656         (prolog-imenu-max-lines, prolog-info-predicate-index)
13657         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13658         (prolog-char-quote-workaround):
13659         * progmodes/cc-vars.el (c-defun-tactic):
13660         * net/tramp.el (tramp-encoding-command-interactive)
13661         (tramp-local-end-of-line):
13662         * net/soap-client.el (soap-client):
13663         * net/netrc.el (netrc-file):
13664         * net/gnutls.el (gnutls):
13665         * minibuffer.el (completion-category-overrides)
13666         (completion-cycle-threshold)
13667         (completion-pcm-complete-word-inserts-delimiters):
13668         * man.el (Man-name-local-regexp):
13669         * mail/feedmail.el (feedmail-display-full-frame):
13670         * international/characters.el (glyphless-char-display-control):
13671         * eshell/em-ls.el (eshell-ls-date-format):
13672         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13673         (lisp-lambda-list-keyword-parameter-indentation)
13674         (lisp-lambda-list-keyword-parameter-alignment):
13675         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13676         * dired-x.el (dired-omit-verbose):
13677         * cus-theme.el (custom-theme-allow-multiple-selections):
13678         * calc/calc.el (calc-highlight-selections-with-faces)
13679         (calc-lu-field-reference, calc-lu-power-reference)
13680         (calc-note-threshold):
13681         * battery.el (battery-mode-line-limit):
13682         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13683         (archive-7z-update):
13684         * allout.el (allout-prefixed-keybindings)
13685         (allout-unprefixed-keybindings)
13686         (allout-inhibit-auto-fill-on-headline)
13687         (allout-flattened-numbering-abbreviation):
13688         * allout-widgets.el (allout-widgets-auto-activation)
13689         (allout-widgets-icons-dark-subdir)
13690         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13691         (allout-widgets-theme-dark-background)
13692         (allout-widgets-theme-light-background)
13693         (allout-widgets-item-image-properties-emacs)
13694         (allout-widgets-item-image-properties-xemacs)
13695         (allout-widgets-run-unit-tests-on-load)
13696         (allout-widgets-time-decoration-activity)
13697         (allout-widgets-hook-error-post-time)
13698         (allout-widgets-track-decoration):
13699         Add missing :version tags to new defcustoms and defgroups.
13701         * progmodes/sql.el (sql-ansi-statement-starters)
13702         (sql-oracle-statement-starters): Add custom type.
13704         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13705         (prolog-system-version): Give it a type.
13707 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
13709         * term/pc-win.el (x-select-text, x-selection-owner-p)
13710         (x-own-selection-internal, x-disown-selection-internal)
13711         (x-get-selection-internal): Sync doc strings and argument lists
13712         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
13714 2012-02-11  Leo Liu  <sdl.web@gmail.com>
13716         * progmodes/python.el (python-end-of-statement): Fix infinite
13717         loop.  (Bug#10788)
13719 2012-02-10  Glenn Morris  <rgm@gnu.org>
13721         * international/mule-cmds.el (unify-8859-on-encoding-mode)
13722         (unify-8859-on-decoding-mode): Properly mark as obsolete.
13724 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
13726         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13727         about SMTP before checking the From header.
13729         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13730         into own function for reuse by emacsbug.el.
13732 2012-02-10  Leo Liu  <sdl.web@gmail.com>
13734         * subr.el (condition-case-unless-debug): Rename from
13735         condition-case-no-debug.  All callers changed.
13736         (with-demoted-errors): Fix caller.
13738         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13739         * nxml/rng-valid.el (rng-do-some-validation):
13740         * emacs-lisp/package.el (package-refresh-contents)
13741         (package-menu-execute):
13742         * desktop.el (desktop-create-buffer):
13743         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13745 2012-02-10  Glenn Morris  <rgm@gnu.org>
13747         * textmodes/bibtex.el:
13748         Add missing :version tags for new/changed defcustoms.
13750         * files.el (remote-file-name-inhibit-cache): Doc fixes.
13752 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
13754         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13755         (smtpmail-via-smtp): Use it, or fall back on the From address.
13756         (smtpmail-send-it): Ditto.
13758 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13760         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13761         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
13762         (byte-compile-tmp-var): New const.
13763         (byte-compile-defvar): Use it to minimize .elc size.
13764         Just use `defvar' rather than simulate it (bug#10761).
13766 2012-02-09  Glenn Morris  <rgm@gnu.org>
13768         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
13770         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13771         Add :version tags.
13773         * progmodes/compile.el (compilation-error-screen-columns)
13774         (compilation-first-column, compilation-filter-start): Doc fixes.
13776         * vc/log-view.el (log-view-toggle-entry-display):
13777         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13779         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13780         (report-emacs-bug-can-use-xdg-email):
13781         (report-emacs-bug-insert-to-mailer): Doc fixes.
13782         (report-emacs-bug): Message fix.
13784         * net/browse-url.el (browse-url-can-use-xdg-open)
13785         (browse-url-xdg-open): Doc fixes.
13787         * electric.el (electric-indent-mode, electric-pair-mode)
13788         (electric-layout-rules, electric-layout-mode): Doc fixes.
13789         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13791 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
13793         * server.el (server-unselect-display): Don't inadvertently kill
13794         the current buffer.  (Bug#10729)
13796 2012-02-08  Glenn Morris  <rgm@gnu.org>
13798         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13799         (sql-list-table): Doc fixes.
13801         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13802         Comment out (does nothing).
13804         * completion.el (dynamic-completion-mode):
13805         * dirtrack.el (dirtrack-debug-mode):
13806         * electric.el (electric-layout-mode):
13807         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13808         * face-remap.el (text-scale-mode, buffer-face-mode):
13809         * iimage.el (iimage-mode):
13810         * image-mode.el (image-transform-mode):
13811         * minibuffer.el (completion-in-region-mode):
13812         * scroll-lock.el (scroll-lock-mode):
13813         * simple.el (next-error-follow-minor-mode):
13814         * tar-mode.el (tar-subfile-mode):
13815         * tooltip.el (tooltip-mode):
13816         * vcursor.el (vcursor-use-vcursor-map):
13817         * wid-browse.el (widget-minor-mode):
13818         * emulation/tpu-edt.el (tpu-edt-mode):
13819         * emulation/tpu-extras.el (tpu-cursor-free-mode):
13820         * international/iso-ascii.el (iso-ascii-mode):
13821         * language/thai-util.el (thai-word-mode):
13822         * mail/supercite.el (sc-minor-mode):
13823         * net/goto-addr.el (goto-address-mode):
13824         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13825         * progmodes/cwarn.el (cwarn-mode):
13826         * progmodes/flymake.el (flymake-mode):
13827         * progmodes/glasses.el (glasses-mode):
13828         * progmodes/hideshow.el (hs-minor-mode):
13829         * progmodes/pascal.el (pascal-outline-mode):
13830         * textmodes/enriched.el (enriched-mode):
13831         * vc/smerge-mode.el (smerge-mode):
13832         Doc fixes (minor mode argument).
13834 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
13836         * ls-lisp.el (ls-lisp-sanitize): New function.
13837         (ls-lisp-insert-directory): Use it to fix or remove any elements
13838         in file-alist with missing attributes.  (Bug#4673)
13840 2012-02-07  Alan Mackenzie  <acm@muc.de>
13842         Fix spurious recognition of c-in-knr-argdecl.
13844         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13845         putative K&R region.
13847 2012-02-07  Alan Mackenzie  <acm@muc.de>
13849         * progmodes/cc-engine.el (c-forward-objc-directive):
13850         Prevent looping in "#pragma mark @implementation".
13852 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
13854         * notifications.el (notifications-on-closed-signal): Make `reason'
13855         optional.  (Bug#10744)
13857 2012-02-07  Glenn Morris  <rgm@gnu.org>
13859         * emacs-lisp/easy-mmode.el (define-minor-mode):
13860         Doc fixes for the macro and the mode it defines.
13862         * image.el (imagemagick-types-inhibit): Doc fix.
13864         * cus-start.el (imagemagick-render-type): Add it.
13866 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
13868         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13869         Set the default at load time, too, so that `font-lock-fontify-buffer'
13870         can be called without setting up the entire mode first.  This fixes
13871         a bug in `mm-inline-text' with C MIME parts.
13873 2012-02-06  Chong Yidong  <cyd@gnu.org>
13875         * simple.el (list-processes--refresh): Delete exited processes
13876         (Bug#8094).
13878         * comint.el (comint-next-prompt): next-single-char-property-change
13879         and prev-single-char-property-change never return nil (Bug#8657).
13881         * custom.el (defcustom): Doc fix (Bug#9711).
13883 2012-02-05  Chong Yidong  <cyd@gnu.org>
13885         * cus-edit.el (custom-variable-reset-backup): Quote the value
13886         before storing it in the customized-value property (Bug#6712).
13887         (custom-display): Add a customization type tag.
13888         (custom-buffer-create-internal): Improve tooltip message.
13890         * wid-edit.el (widget-field-value-get): New optional arg to
13891         suppress trailing whitespace truncation.
13892         (character): Use it (Bug#2689).
13894 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
13896         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13897         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13899 2012-02-05  Chong Yidong  <cyd@gnu.org>
13901         * cus-edit.el (custom-variable-value-create): For mismatched
13902         types, show the current value (Bug#7600).
13904         * custom.el (defcustom): Doc fix.
13906 2012-02-05  Glenn Morris  <rgm@gnu.org>
13908         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13910 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
13912         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13913         (pp-buffer): Use `ignore-errors', `looking-at-p'.
13914         (pp-last-sexp): Use `looking-at-p'.
13916 2012-02-04  Glenn Morris  <rgm@gnu.org>
13918         * files.el (revert-buffer):
13919         Doc fix (mention revert-buffer-in-progress-p).
13921         * emacs-lisp/ert-x.el (ert-simulate-command):
13922         Check deferred-action-list (which is obsolete) is bound.
13924         * subr.el (with-wrapper-hook): Doc fixes.
13926         * simple.el (filter-buffer-substring-functions)
13927         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13929 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
13931         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13932         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
13934 2012-02-04  Leo Liu  <sdl.web@gmail.com>
13936         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13938 2012-02-04  Glenn Morris  <rgm@gnu.org>
13940         * image.el (image-extension-data): Add obsolete alias.
13942         * isearch.el (isearch-update): Doc fix.
13944         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13946         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13948 2012-02-03  Glenn Morris  <rgm@gnu.org>
13950         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
13951         (image-animate-timeout): Doc fix.
13953         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13955 2012-02-02  Glenn Morris  <rgm@gnu.org>
13957         * server.el (server-auth-dir): Doc fix.
13958         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
13960         * subr.el (run-mode-hooks): Doc fix.
13962 2012-02-02  Juri Linkov  <juri@jurta.org>
13964         * image-mode.el (image-toggle-display-image): Remove tautological
13965         `major-mode' from the `derived-mode-p' test.
13967 2012-02-02  Kenichi Handa  <handa@m17n.org>
13969         * composite.el (compose-region): Cancel previous change.
13971 2012-02-02  Kenichi Handa  <handa@m17n.org>
13973         * composite.el (compose-region, compose-string): Signal error for
13974         a null string component (Bug#6988).
13976 2012-02-01  Chong Yidong  <cyd@gnu.org>
13978         * view.el (view-buffer-other-window, view-buffer-other-frame):
13979         Handle special modes like view-buffer (Bug#10650).
13980         (view-buffer): Simplify.
13982         * frame.el (set-frame-font): Tweak meaning of third argument.
13984         * dynamic-setting.el (font-setting-change-default-font):
13985         Use set-frame-font (Bug#9982).
13987 2012-02-01  Glenn Morris  <rgm@gnu.org>
13989         * progmodes/compile.el (compilation-internal-error-properties):
13990         Respect compilation-first-column in the "*compilation*" buffer.
13992         * emacs-lisp/easy-mmode.el (define-minor-mode):
13993         Relax :variable's test for a named function.
13995 2012-01-31  Alan Mackenzie  <acm@muc.de>
13997         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13998         off by one error.
14000 2012-01-31  Chong Yidong  <cyd@gnu.org>
14002         * frame.el (set-frame-font): New arg ALL-FRAMES.
14004         * menu-bar.el (menu-set-font): Use set-frame-font.
14006         * faces.el (face-spec-reset-face): Don't apply unspecified
14007         attribute values to the default face.
14009 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
14011         * progmodes/cwarn.el (cwarn): Remove dead link.
14012         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14013         Remove * from defcustom docstrings.
14014         (turn-on-cwarn-mode): Make obsolete.
14015         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14016         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14018 2012-01-31  Glenn Morris  <rgm@gnu.org>
14020         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14021         Fix :variable handling of mode a symbol not equal to modefun.
14022         Allow named functions to be used as the cdr of :variable.
14024 2012-01-30  Glenn Morris  <rgm@gnu.org>
14026         * emacs-lisp/authors.el (authors-fixed-entries):
14027         Remove reference to deleted file rnewspost.el.
14029 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
14031         * window.el (window-with-parameter): Remove unused variable `windows'.
14032         (window--side-check): Remove unused variable `code'.
14033         (window--resize-siblings): Remove unused variable `first'.
14034         (adjust-window-trailing-edge): Remove unused variable `failed'.
14035         (window-deletable-p, window--delete): Remove unused variable `buffer'.
14036         Use `let', not `let*'.
14037         (balance-windows-2): Remove unused variable `found'.
14038         (window--state-put-2): Remove unused variable `splits'.
14039         (window-state-put): Remove unused variable `selected'.
14040         (same-window-p): Use `string-match-p'.
14041         (display-buffer-assq-regexp): Remove unused variable `value'.
14042         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14043         Mark argument ALIST as ignored.
14044         (pop-to-buffer): Remove unused variable `old-window'.
14046 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
14048         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14049         and .lzma compressed files.
14051 2012-01-29  Chong Yidong  <cyd@gnu.org>
14053         * frame.el (window-system-default-frame-alist): Doc fix.
14055         * dynamic-setting.el (font-setting-change-default-font): Don't
14056         change the default face if SET-FONT argument is non-nil (Bug#9982).
14058 2012-01-29  Samuel Bronson  <naesten@gmail.com>
14060         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14062 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
14064         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14065         breakpoints in files outside current directory (Bug#6098).
14067 2012-01-29  Chong Yidong  <cyd@gnu.org>
14069         * progmodes/python.el: Require ansi-color at top-level.
14071         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14072         Define and use in Emacs Lisp mode (Bug#9360).
14073         (lisp-mode-abbrev-table): Add doc.
14074         (lisp-mode-variables): Don't set local-abbrev-table.
14075         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14077 2012-01-28  Roland Winkler  <winkler@gnu.org>
14079         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14081 2012-01-28  Roland Winkler  <winkler@gnu.org>
14083         * textmodes/bibtex.el (bibtex-entry-alist): New function.
14084         (bibtex-set-dialect): Use it.  Either set global values of
14085         dialect-dependent variables or bind these variables buffer-locally
14086         (Bug#10254).
14087         (bibtex-mode): Call bibtex-set-dialect via
14088         hack-local-variables-hook.
14089         (bibtex-dialect): Update docstring.
14090         Add safe-local-variable predicate.
14091         (bibtex-entry-alist, bibtex-field-alist): Initialize via
14092         bibtex-set-dialect.
14093         (bibtex-mode-map): Define menu for each dialect.
14094         (bibtex-entry): Fix docstring.
14096 2012-01-28  Chong Yidong  <cyd@gnu.org>
14098         * eshell/esh-arg.el (eshell-quote-argument): New function.
14100         * eshell/esh-ext.el (eshell-invoke-batch-file):
14101         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14102         first arg to eshell-parse-command (Bug#10523).
14104 2012-01-28  Drew Adams  <drew.adams@oracle.com>
14106         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14107         `default-directory' is non-nil.
14109 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
14111         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14112         line that displays system-configuration-options.  (Bug#9924)
14114 2012-01-28  Drew Adams  <drew.adams@oracle.com>
14116         * descr-text.el (describe-char): Show information about POS, in
14117         addition to information about the character at POS.  Improve and
14118         update the doc string.  Change "code point" to "code point in
14119         charset", to avoid confusion with the character's Unicode code
14120         point shown above that.  (Bug#10129)
14122 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
14124         * descr-text.el (describe-char): Show the raw character, not only
14125         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
14126         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14127         for the reasons.
14129 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
14131         * emacs-lisp/package.el (package-install):
14132         Run package-refresh-contents if there is no archive yet (Bug#9798).
14134 2012-01-28  Chong Yidong  <cyd@gnu.org>
14136         * emacs-lisp/package.el (package-maybe-load-descriptor):
14137         New function, split from package-maybe-load-descriptor.
14138         (package-maybe-load-descriptor): Use it.
14139         (package-download-transaction): Fully load required packages
14140         inside the loop, so that `require' calls work (Bug#10593).
14141         (package-install): No need to call package-initialize now.
14143 2012-01-28  Chong Yidong  <cyd@gnu.org>
14145         * simple.el (deactivate-mark): Doc fix (Bug#8614).
14147         * tooltip.el (tooltip-mode): Doc fix.
14148         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14150         * frame.el (set-cursor-color): Doc fix (Bug#352).
14152         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14153         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14155         * cus-edit.el (custom-buffer-create-internal): Fix search button
14156         action (Bug#10542).
14157         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14159 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
14161         * dired.el (dired-mark-files-regexp):
14162         Include any subdirectory components.  (Bug#10445)
14164 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
14166         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14167         Handle [host]:port syntax.  (Bug#10533)
14169 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
14171         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14173 2012-01-26  Glenn Morris  <rgm@gnu.org>
14175         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14176         * term.el (term-raw-escape-map): Use Control-X-prefix.
14177         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
14179 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
14181         * window.el (window-state-get, window--state-get-1): Don't deal
14182         with fixed-sizeness of windows.  Simplify code.
14184 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
14186         * window.el (window--state-get-1, window--state-put-2):
14187         Don't save and restore the mark.
14189 2012-01-25  Chong Yidong  <cyd@gnu.org>
14191         * custom.el (custom-variable-p): Doc fix.
14193 2012-01-25  Glenn Morris  <rgm@gnu.org>
14195         * dired.el (dired-goto-file): Handle some of the more common
14196         characters that `ls -b' escapes.  (Bug#10596)
14198         * progmodes/compile.el (compilation-next-error-function):
14199         Respect compilation-first-column in the "*compilation*" buffer.
14200         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
14202         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
14204 2012-01-24  Glenn Morris  <rgm@gnu.org>
14206         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
14208 2012-01-24  Julien Danjou  <julien@danjou.info>
14210         * color.el (color-rgb-to-hsl): Fix value computing.
14211         (color-hue-to-rgb): New function.
14212         (color-hsl-to-rgb): New function.
14213         (color-clamp, color-saturate-hsl, color-saturate-name)
14214         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14215         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14217 2012-01-24  Glenn Morris  <rgm@gnu.org>
14219         * vc/vc-rcs.el (vc-rcs-create-tag):
14220         * vc/vc-sccs.el (vc-sccs-create-tag):
14221         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
14223 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
14225         * eshell/esh-util.el (eshell-read-hosts-file):
14226         Skip comment lines.  (Bug#10549)
14228         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
14230 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
14232         * subr.el (display-delayed-warnings): Doc fix.
14233         (collapse-delayed-warnings): New function to collapse identical
14234         adjacent warnings.
14235         (delayed-warnings-hook): Add it.
14237 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
14239         * net/tramp.el (tramp-action-login): Set connection property "login-as".
14241         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14242         (tramp-default-user-alist): Don't add "pscp".
14243         (tramp-do-copy-or-rename-file-out-of-band): Use connection
14244         property "login-as", if set.  (Bug#10530)
14246 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
14248         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14249         "plink1" and "psftp".  (Bug#10530)
14251 2012-01-21  Kenichi Handa  <handa@m17n.org>
14253         * international/mule-cmds.el (prefer-coding-system): Show a
14254         warning message if the default value of file-name-coding-system
14255         was not changed.
14257 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
14259         * windmove.el (windmove-reference-loc):
14260         Fix windmove-reference-loc miscalculation.
14262 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
14264         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14265         default unit.
14267 2012-01-21  Glenn Morris  <rgm@gnu.org>
14269         * international/mule.el (auto-coding-alist): Add .tbz.
14271         * files.el (local-enable-local-variables): Doc fix.
14272         (inhibit-local-variables-regexps): Rename from
14273         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
14274         Doc fix.  Add some extensions from auto-coding-alist.
14275         (inhibit-local-variables-suffixes):
14276         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
14277         (inhibit-local-variables-p):
14278         New function, extracted from set-auto-mode-1.
14279         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
14280         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
14281         (hack-local-variables): Doc fix.  Make the mode-only case
14282         respect enable-local-variables and friends.
14283         Respect inhibit-local-variables-regexps for file-locals, but
14284         not for directory-locals.
14285         (set-visited-file-name):
14286         Take account of inhibit-local-variables-regexps.
14287         Whether it applies may change as the file name is changed.
14288         * jka-cmpr-hook.el (jka-compr-install):
14289         * jka-compr.el (jka-compr-uninstall):
14290         Update for inhibit-first-line-modes-suffixes name change.
14292 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
14294         * help-macro.el (make-help-screen): Temporarily restore original
14295         binding for minor-mode-map-alist (Bug#10454).
14297 2012-01-19  Julien Danjou  <julien@danjou.info>
14299         * color.el (color-name-to-rgb): Use the white color to find the max
14300         color component value and return correctly computed values.
14301         (color-name-to-rgb): Add missing float conversion for max value.
14303 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
14305         * window.el (window--state-get-1, window-state-get): Do not use
14306         special state value for window-persistent-parameters.
14307         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
14308         (window--state-put-2): Reset all window parameters to nil before
14309         assigning values of persistent parameters.
14311 2012-01-18  Alan Mackenzie  <acm@muc.de>
14313         Eliminate sluggishness and hangs in fontification of "semicolon
14314         deserts".
14316         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14317         Change value 10000 -> 3000.
14318         (c-state-safe-place): Reformulate so it doesn't stack up an
14319         infinite number of wrong entries in c-state-nonlit-pos-cache.
14320         (c-determine-limit-get-base, c-determine-limit): New functions to
14321         determine backward search limits disregarding literals.
14322         (c-find-decl-spots): Amend commenting.
14323         (c-cheap-inside-bracelist-p): New function which detects "={".
14325         * progmodes/cc-fonts.el
14326         (c-make-font-lock-BO-decl-search-function): Give a limit to a
14327         backward search.
14328         (c-font-lock-declarations): Fix an occurrence of point being
14329         undefined.  Check additionally for point being in a bracelist or
14330         near a macro invocation without a semicolon so as to avoid a
14331         fruitless time consuming search for a declarator.  Give a more
14332         precise search limit for declarators using the new
14333         c-determine-limit.
14335 2012-01-18  Glenn Morris  <rgm@gnu.org>
14337         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14338         (set-auto-mode): Doc fixes.
14340 2012-01-17  Glenn Morris  <rgm@gnu.org>
14342         * isearch.el (search-nonincremental-instead): Fix doc typo.
14344         * dired.el (dired-insert-directory): Handle newlines in directory name.
14345         (dired-build-subdir-alist): Unescape newlines in directory name.
14347 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
14349         * net/tramp.el (tramp-local-end-of-line): New defcustom.
14350         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14351         (tramp-action-terminal): Use it.  (Bug#10530)
14353 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14355         * minibuffer.el (completion--replace): Strip properties (bug#10062).
14357 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
14359         * window.el (window-state-ignored-parameters): Remove variable.
14360         (window--state-get-1): Rename argument MARKERS to IGNORE.
14361         Handle persistent window parameters.  Make copy of clone-of
14362         parameter only if requested.  (Bug#10348)
14363         (window--state-put-2): Install a window parameter only if it has
14364         a non-nil value or an existing parameter shall be overwritten.
14366 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
14368         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14370 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
14372         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14373         don't pass the (nil) value of `upnode' to string-match.
14375 2012-01-14  Chong Yidong  <cyd@gnu.org>
14377         * startup.el (command-line): Fix X resource class for cursorColor.
14378         Fix values recognized by the cursorBlink resource.
14380 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
14382         * epg.el (epg--make-temp-file): Avoid permission race condition
14383         when running on old Emacs versions (bug#10403).
14385 2012-01-14  Glenn Morris  <rgm@gnu.org>
14387         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14389 2012-01-13  Alan Mackenzie  <acm@muc.de>
14391         Fix filling for when filladapt mode is enabled.
14393         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14394         c-mask-paragraph, pass in `fill-paragraph' rather than
14395         `fill-region-as-paragraph'.  (This is a reversion of a previous
14396         change.)
14397         * progmodes/cc-mode.el (c-basic-common-init):
14398         Make fill-paragraph-handle-comment buffer local and set it to nil.
14400 2012-01-13  Glenn Morris  <rgm@gnu.org>
14402         * dired.el (dired-switches-escape-p): New function.
14403         (dired-insert-directory): Use dired-switches-escape-p.
14404         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
14406         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
14408 2012-01-12  Glenn Morris  <rgm@gnu.org>
14410         * mail/sendmail.el (mail-mode): Update paragraph-separate for
14411         changes in adaptive-fill-regexp.  (Bug#10276)
14413 2012-01-11  Alan Mackenzie  <acm@muc.de>
14415         Fix Emacs bug #10463 - put `widen's around the critical spots.
14417         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14418         widen around each invocation of c-state-pp-to-literal.  Remove an
14419         unused let variable.
14421 2012-01-11  Glenn Morris  <rgm@gnu.org>
14423         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
14424         Doc fix.
14426 2012-01-10  Chong Yidong  <cyd@gnu.org>
14428         * net/network-stream.el (network-stream-open-starttls):
14429         Avoid emitting a confusing error message when the server gives a bad
14430         response to the capability command.
14432 2012-01-10  Glenn Morris  <rgm@gnu.org>
14434         * mail/unrmail.el (unrmail): Tweak previous change.
14436 2012-01-09  Chong Yidong  <cyd@gnu.org>
14438         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14440 2012-01-08  Alan Mackenzie  <acm@muc.de>
14442         Optimize font locking in long enum definitions.
14444         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14445         arm to a cond form to handle enums.
14446         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14447         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14449 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
14451         * files.el (move-file-to-trash): Preserve default file modes on error.
14452         (Bug#10401)
14454 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14456         * faces.el (set-face-attribute): Clarify the meaning of the nil
14457         frame (bug#10294).
14459         * subr.el (with-selected-frame): Mention that the selected frame
14460         is restored (bug#9980).
14462         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14463         (bug#9759).
14465         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14466         (password-read): Don't autoload unused function.
14468 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
14470         * progmodes/which-func.el (which-func-mode): Turn into a
14471         non-interactive function and mark as obsolete (bug#10428).
14473 2012-01-06  Chong Yidong  <cyd@gnu.org>
14475         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14476         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14477         functions, along with 1 and -1.
14479 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
14481         * time.el (display-time-load-average)
14482         (display-time-default-load-average): Doc fixes.  See the thread
14483         starting at
14484         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14485         for the details.
14487 2012-01-06  Glenn Morris  <rgm@gnu.org>
14489         * mail/unrmail.el (unrmail): Give an explicit error if the input file
14490         has no messages.  (Bug#10377)
14492         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14493         than Info-edit.  (Bug#10385)
14495         * time.el (display-time-load-average, display-time-next-load-average):
14496         Doc fixes.
14498         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14499         local setting of buffer-read-only to the input buffer.  (Bug#10419)
14501         * calendar/calendar.el (calendar-mode):
14502         Locally set scroll-margin to 0.  (Bug#10379)
14504 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
14506         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
14508 2012-01-05  Glenn Morris  <rgm@gnu.org>
14510         * eshell/em-unix.el (diff-no-select): Autoload it.
14511         (eshell/diff): Use diff-no-select.  (Bug#10420)
14513 2012-01-05  Chong Yidong  <cyd@gnu.org>
14515         * shell.el (shell-dynamic-complete-functions): Revert last change.
14516         (shell-command-completion-function): New function.
14517         (shell-completion-vars): Use it to implement
14518         shell-completion-execonly (Bug#10417).
14520         * custom.el (enable-theme): Don't set custom-safe-themes.
14522         * cus-theme.el (custom-theme-merge-theme):
14523         Ignore custom-enabled-themes and custom-safe-themes.
14525 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
14527         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14528         first prompt in `sql-interacive-mode'.
14529         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14530         keywords.
14531         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14532         (sql-product-interactive): Bug fix: Set `sql-buffer' in
14533         context of original buffer.  Invoke `sql-login-hook'.
14535 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
14537         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14538         letters in cite-prefix.
14540 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14542         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14544 2012-01-03  Chong Yidong  <cyd@gnu.org>
14546         * shell.el (shell-dynamic-complete-functions):
14547         Put pcomplete-completions-at-point, so as to try
14548         comint-filename-completion first (Bug#10417).
14550 2012-01-02  Richard Stallman  <rms@gnu.org>
14552         * battery.el (battery-status-function):
14553         Detect when to use battery-yeeloong-sysfs.
14554         (battery-echo-area-format): Add string for Yeeloong.
14555         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14556         (battery-yeeloong-sysfs): New function.
14558 2012-01-02  Chong Yidong  <cyd@gnu.org>
14560         * dirtrack.el (dirtrack-list): Eliminate unused third element.
14561         (dirtrack): Merge code for handling relative filenames in prompt
14562         from shell-dir-cookie-watcher.
14563         (dirtrack-debug-message): New arg to avoid excess format calls.
14565         * shell.el (shell-dir-cookie-re): Variable deleted.
14566         (shell-dir-cookie-watcher): Function deleted.
14567         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14568         with dirtrack-mode.
14570 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
14572         * term/w32-win.el (dynamic-library-alist) <gnutls>:
14573         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14574         libgnutls-26.dll.
14576 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
14578         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14580 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
14582         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14583         headers of non-MIME messages, when rmail-enable-mime is non-nil.
14585 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
14587         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14588         also for alternative shells.
14589         (tramp-open-connection-setup-interactive-shell): Check, whether
14590         the shell is a busybox.
14591         (tramp-send-command): Don't suppress multiple prompts for
14592         busyboxes, it hurts.
14594 2011-12-28  Chong Yidong  <cyd@gnu.org>
14596         * progmodes/gdb-mi.el (gdb-get-source-file-list)
14597         (gdb-get-source-file): Move mode line update to
14598         gdb-get-source-file (Bug#10087).
14600 2011-12-25  Chong Yidong  <cyd@gnu.org>
14602         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14603         gud-gdb-marker-filter without taking it as an argument.
14604         (gud-gdb-run-command-fetch-lines): Caller changed.
14605         (gud-gdb-completion-function): New variable.
14606         (gud-gdb-completion-at-point): Use it.
14607         (gud-gdb-completions-1): Split from gud-gdb-completions.
14609         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14610         function as separate arguments.
14611         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14612         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14613         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14614         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14615         (gdb-stopped, def-gdb-auto-update-trigger)
14616         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14617         (gdb-get-changed-registers, gdb-get-main-selected-frame):
14618         Callers changed.
14619         (gud-gdbmi-completions): New function.
14620         (gdb): Use it for generating the completion table.
14622 2011-12-24  Alan Mackenzie  <acm@muc.de>
14624         Introduce a mechanism to widen the region used in context font
14625         locking.  Use this to protect declarations from losing their contexts.
14627         * progmodes/cc-langs.el (c-before-font-lock-functions):
14628         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14629         (c-before-context-fontification-functions): New defvar, a list of
14630         functions to be run just before context (etc.) font locking.
14632         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14633         New, functionality extracted from
14634         c-neutralize-syntax-in-and-mark-CPP.
14635         (c-in-after-change-fontification): New variable.
14636         (c-after-change): Set c-in-after-change-fontification.
14637         (c-set-fl-decl-start): Rejig its interface, so it can be called
14638         from both after-change and context fontifying.
14639         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14640         New functions.
14641         (c-standard-font-lock-fontify-region-function): New variable.
14642         (c-font-lock-fontify-region): New function.
14644 2011-12-24  Juri Linkov  <juri@jurta.org>
14646         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14647         (Bug#10348)
14649 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
14651         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14652         existence of source file.  (Bug#10325)
14654 2011-12-23  Alan Mackenzie  <acm@muc.de>
14656         Fix unstable fontification inside templates.
14658         * progmodes/cc-langs.el (c-before-font-lock-functions):
14659         Newly created from the singular version.  The (c c++ objc) entry now
14660         additionally has c-set-fl-decl-start.  The other languages (apart
14661         from AWK) have that as a single entry.
14663         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14664         The functionality for "local" declarations has been extracted to
14665         c-set-fl-decl-start.
14667         * progmodes/cc-mode.el (c-common-init, c-after-change):
14668         Changes due to pluralisation of c-before-font-lock-functions.
14669         (c-set-fl-decl-start): New function, extracted from
14670         c-font-lock-enclosing-decls and enhanced.
14672 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
14674         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14676 2011-12-22  Juri Linkov  <juri@jurta.org>
14678         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
14680 2011-12-22  Chong Yidong  <cyd@gnu.org>
14682         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14684 2011-12-21  Drew Adams  <drew.adams@oracle.com>
14686         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
14688 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
14690         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14692 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
14694         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
14695         highlighting and support.  Fix up comments for capitalization.
14696         (cfengine-mode-debug): New var.
14697         (cfengine3-mode): Change the modeline indicator to "CFE3".
14698         (cfengine3-font-lock-keywords): Improve defun highlighting.
14699         (cfengine2-actions): Rename from `cfengine-actions'.
14700         (cfengine2-font-lock-keywords): Rename from
14701         `cfengine-font-lock-keywords'.
14702         (cfengine2-imenu-expression): Rename from
14703         `cfengine-imenu-expression'.
14704         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14705         (cfengine2-beginning-of-defun): Rename from
14706         `cfengine-beginning-of-defun'.
14707         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14708         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14709         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
14710         modeline indicator to "CFE2".
14711         (cfengine-mode): Defalias to `cfengine-auto-mode'.
14712         (cfengine-mode-abbrevs): Mark obsolete.
14714 2011-12-21  Chong Yidong  <cyd@gnu.org>
14716         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14717         filename argument.
14719 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
14721         * window.el (window-normalize-buffer-to-display): Remove.
14722         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14724 2011-12-19  Chong Yidong  <cyd@gnu.org>
14726         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14727         Don't signal an error in a predicate function; return non-nil.
14728         (vc-dir-mark-file): Move the error here.
14729         (vc-dir-mark-unmark): If acting on the region, keep going if one
14730         of the entries cannot be marked/unmarked.
14731         (vc-dir-mark-all-files): If current entry is a directory, mark
14732         only child files, as documented.
14734 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14736         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14737         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14738         addition.
14740 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
14742         * term/ns-win.el (ns-get-selection-internal)
14743         (ns-store-selection-internal): Declare.
14744         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14745         Declare as obsolete.
14746         (ns-get-pasteboard, ns-paste-secondary):
14747         Use ns-get-selection-internal.
14748         (ns-set-pasteboard, ns-copy-including-secondary):
14749         Use ns-store-selection-internal.
14751 2011-12-17  Chong Yidong  <cyd@gnu.org>
14753         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14754         (vc-deduce-fileset): Doc fix.
14756 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
14758         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14760 2011-12-13  Sam Steingold  <sds@gnu.org>
14762         * man.el (Man-getpage-in-background): When running under a
14763         window-system, ignore $MANWIDTH and $COLUMNS.
14765 2011-12-15  Kenichi Handa  <handa@m17n.org>
14767         * language/ethio-util.el: Change coding tag to utf-8-emacs.
14768         (setup-ethiopic-environment-internal): Comment out key-binding for
14769         ethio-toggle-punctuation.
14771 2011-12-13  Alan Mackenzie  <acm@muc.de>
14773         Add the switch statement to AWK Mode.
14775         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14776         "default" to the keywords regexp.
14778         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14779         expression as the rest.
14780         (c-nonlabel-token-key): Allow string literals for AWK.
14781         Refactor for the other modes.
14783         Large brace-block initialisation makes CC Mode slow: Fix.
14784         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14785         routines.  Limit backward searching in c-font-lock-enclosing.decl.
14787         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14788         pp-state and literal type in addition to the limits.
14789         (c-state-safe-place): New defun, extracted from c-state-literal-at.
14790         (c-state-literal-at): Use the above new defun.
14791         (c-slow-in-literal, c-fast-in-literal): Remove.
14792         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14794         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14795         being in a literal.  Add a limit for backward searching.
14797         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14798         c-slow-in-literal.
14800 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14802         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14804 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
14806         * window.el (delete-other-windows): Use correct frame in call to
14807         window-with-parameter.
14809 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
14811         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14812         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14813         (makefile-gmake-statements, makefile-makepp-statements):
14814         Use it and add new makepp keywords.
14815         (makefile-makepp-font-lock-keywords): Add new patterns.
14816         (makefile-match-function-end): Match new [...] and [[...]].
14818 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
14820         * ses.el (ses-call-printer-return, ses-cell-property-get)
14821         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14822         (ses-create-cell-variable, ses-reset-header-string)
14823         (ses-cell-set-formula, ses-repair-cell-reference-all)
14824         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14825         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14826         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14827         (ses-aset-with-undo, ses-load, ses-truncate-cell)
14828         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14829         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14830         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14831         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14832         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14833         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14834         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14835         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14837 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14839         * ses.el: The overall change is to add cell renaming, that is
14840         setting fancy names for cell symbols other than name matching
14841         "\\`[A-Z]+[0-9]+\\'" regexp .
14842         (ses-create-cell-variable): New defun.
14843         (ses-relocate-formula): Relocate formulas only for cells the
14844         symbols of which are not renamed, i.e. symbols whose names do not
14845         match regexp "\\`[A-Z]+[0-9]+\\'".
14846         (ses-relocate-all): Relocate values only for cells the symbols of
14847         which are not renamed.
14848         (ses-load): Create cells variables as the (ses-cell ...) are read,
14849         in order to check row col consistency with cell symbol name only
14850         for cells that are not renamed.
14851         (ses-replace-name-in-formula): New defun.
14852         (ses-rename-cell): New defun.
14854 2011-12-11  Chong Yidong  <cyd@gnu.org>
14856         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14857         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14859 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
14861         * window.el (other-window): Fix docstring.
14863 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
14865         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
14866         `from' or `to' address before taking its substring.
14867         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
14868         encoded name is chopped in the middle of the encoded string, and
14869         thus displayed encoded.
14871 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
14873         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14875 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
14877         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
14878         to use texinfo-update-node and commands that call it if the
14879         Texinfo file uses @node lines without next/prev/up pointers.
14880         Correct outdated description about texinfo-master-menu.
14881         (texinfo-all-menus-update, texinfo-master-menu)
14882         (texinfo-update-node, texinfo-every-node-update)
14883         (texinfo-multiple-files-update): Doc fix.  Warn against updating
14884         all the @node lines.
14885         (texinfo-master-menu): Only call texinfo-update-node if the prefix
14886         argument is numeric.  Explain better in the doc string what the
14887         function really does.
14888         (texinfo-insert-master-menu-list): Improve the error message
14889         displayed if there's no menu in the Top node.
14890         (Bug#2975)  See also this thread:
14891         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14893 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
14895         * speedbar.el (speedbar-supported-extension-expressions):
14896         Add .adb and .ads, commonly used for Ada source code (bug#10256).
14898 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
14900         * printing.el (pr-mode-alist):
14901         * simple.el (filter-buffer-substring-functions)
14902         (completion-list-insert-choice-function):
14903         * window.el (window-with-parameter, window-atom-root)
14904         (window-sides-slots, window-size-fixed, window-min-delta)
14905         (window-max-delta, window--resize-mini-window)
14906         (window--resize-child-windows-normal, window-tree)
14907         (delete-other-windows, quit-window, split-window)
14908         (display-buffer-record-window, special-display-buffer-names)
14909         (special-display-regexps, special-display-popup-frame)
14910         (same-window-p, split-window-sensibly)
14911         (display-buffer-overriding-action, display-buffer-alist)
14912         (display-buffer-base-action, display-buffer, switch-to-buffer)
14913         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14914         (fit-window-to-buffer, recenter-positions)
14915         (mouse-autoselect-window-state, mouse-autoselect-window-select):
14916         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14917         and remove unneeded backslashes in docstrings.
14919 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14921         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14923         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14924         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14925         end in ".mk".
14926         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14927         when reading the makefile (bug#10116).
14929 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14931         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14932         (bug#10116).
14934 2011-12-06  Glenn Morris  <rgm@gnu.org>
14936         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14938 2011-12-06  Chong Yidong  <cyd@gnu.org>
14940         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14942 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
14944         * textmodes/table.el (table-shorten-cell): Fix typo.
14946 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
14948         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14950 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
14952         * descr-text.el (describe-char): Fix display of strong
14953         right-to-left characters and directional embeddings and overrides.
14955         * simple.el (what-cursor-position): Fix display of codepoints of
14956         strong right-to-left characters.
14958 2011-12-05  Chong Yidong  <cyd@gnu.org>
14960         * faces.el (read-color): Doc fix.
14962 2011-12-05  Glenn Morris  <rgm@gnu.org>
14964         * align.el (align--set-marker): Add doc-string.
14965         Don't try to move something that is not a marker.  (Bug#10216)
14967 2011-12-04  Glenn Morris  <rgm@gnu.org>
14969         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14970         overly zealous deletion of trailing whitespace.
14972 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
14974         * server.el (server-delete-client): On Windows, do not try to delete
14975         the only terminal.
14976         (server-process-filter): On Windows, treat requests for a tty frame as
14977         if they were for a GUI frame if the running server is in GUI mode.
14979 2011-12-03  Glenn Morris  <rgm@gnu.org>
14981         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
14983 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14985         * electric.el: Streamline electric-indent's hook.
14986         (electric-indent-chars): Revert to simple list.
14987         (electric-indent-functions): New var.
14988         (electric-indent-post-self-insert-function): Use it.
14990         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14991         there's no inferior buffer (bug#10196).
14992         (prolog-consult-compile): Don't use toggle-read-only.
14994 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
14996         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14997         interrupt.  (Bug#10187)
14999 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15001         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15002         (bug#9160).
15004         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15005         (bug#10191).
15007 2011-12-02  Juri Linkov  <juri@jurta.org>
15009         * info.el (Info-search): Display "end of manual" when Isearch
15010         reaches the end of single-file Info manual.  (Bug#9918)
15012 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
15014         * isearch.el (isearch-message-prefix): Run the input method part
15015         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
15017 2011-12-02  Juri Linkov  <juri@jurta.org>
15019         * isearch.el (isearch-occur): Use `word-search-regexp' for
15020         `isearch-word'.
15021         (isearch-search-and-update): Add condition for `isearch-word' and
15022         call `word-search-regexp'.  (Bug#10145)
15024 2011-12-01  Glenn Morris  <rgm@gnu.org>
15026         * eshell/em-hist.el (eshell-hist-initialize):
15027         Handle eshell-history-size nil and HISTSIZE set or unset.
15028         (eshell-history-file-name, eshell-history-size): Fix custom type.
15030 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15032         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15034 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
15036         * progmodes/verilog-mode.el (verilog-pretty-expr):
15037         Rework verilog-pretty-expr to handle new assignment operators in system
15038         verilog, such as += *= and the like.
15039         (verilog-assignment-operator-re): Regular expression to find the
15040         assigment operator in a verilog assignment.
15041         (verilog-assignment-operation-re): Regular expression to find an
15042         assignment statement for pretty-expr.
15043         (verilog-in-attribute-p): Query returns true if point is in an
15044         attribute context; used to skip these for expression line up from
15045         pretty-expr.
15046         (verilog-in-parameter-p): Query returns true if point is in an
15047         parameter definition context; used to skip these for expression
15048         line up from pretty-expr.
15049         (verilog-in-parenthesis-p): Query returns true if point is in a
15050         parenthetical expression, specifically ( ) but not [ ] or { };
15051         used by pretty-expr.
15052         (verilog-just-one-space): If there is no space, don't add one.
15053         (verilog-get-lineup-indent-2): Specifically skip just attribute
15054         contexts for expression lineup, rather than skipping all
15055         parenthetical expressions.
15056         (verilog-calculate-indent): Fix comment, and fix indent.
15057         (verilog-do-indent): Indent declarations in lists (suggested by
15058         Joachim Lechner).
15059         (verilog-mode-abbrev-table): Populate abbrev mode with the various
15060         skeleton items.
15061         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15062         by Alain Mellan).
15064 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
15066         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15067         parameters with embedded comments.  Reported by Ray Stevens.
15068         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15069         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15070         Reported by Tim Holt.
15071         (verilog-auto): Fix AUTOing a upper module then AUTOing module
15072         instantiated by upper module causing wrong expansion until AUTOed a
15073         second time.  Reported by K C Buckenmaier.
15074         (verilog-diff-auto): Fix showing .* as a difference when
15075         `verilog-auto-star-save' off.  Reported by Dan Dever.
15076         (verilog-auto-reset, verilog-read-always-signals)
15077         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15078         temporary signals in reset list if
15079         verilog-auto-reset-blocking-in-non is nil, and match assignment
15080         style to each signal's assignment type, bug381.
15081         Reported by Thomas Esposito.
15082         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15083         (verilog-uvm-statement-re): Support UVM indentation and
15084         highlighting, with old OVM keywords only.
15085         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15086         Support AUTOTIEOFF creating non-wire data types.
15087         Suggested by Jonathan Greenlaw.
15088         (verilog-auto-insert-lisp, verilog-delete-to-paren)
15089         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15090         (verilog-inject-sense, verilog-read-inst-pins)
15091         (verilog-read-sub-decls, verilog-read-sub-decls-line):
15092         Fix mismatching parenthesis inside commented out code when deleting
15093         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
15094         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15095         non-numeric vector width.  Reported by Alex Reed.
15096         (verilog-auto-ascii-enum): Add "onehot" option to work around not
15097         detecting signals with parameter widths.  Reported by Alex Reed.
15098         (verilog-auto-delete-trailing-whitespace):
15099         With `verilog-auto-delete-trailing-whitespace' remove trailing
15100         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
15101         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15102         Fix verilog-scan-cache corruption when running user AUTO expansion
15103         hooks that call indentation routines.
15104         (verilog-simplify-range-expression): Fix typo ignoring lower case
15105         identifiers.
15106         (verilog-delete-auto): Fix delete-autos to also remove user created
15107         automatics, as long as they start with AUTO.
15108         (verilog-batch-diff-auto, verilog-diff-auto)
15109         (verilog-diff-function): Add `verilog-diff-auto' and bind to
15110         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
15111         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15112         (verilog-in-paren-quick, verilog-re-search-backward-quick)
15113         (verilog-re-search-forward-quick, verilog-syntax-ppss):
15114         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15115         is disabled and its cache will get corrupt, causing AUTOS not to
15116         expand.  Instead use only -quick functions.
15117         (verilog-scan-region): Fix scanning over escaped quotes.
15118         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15119         (verilog-re-search-backward-quick)
15120         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15121         related functions now ignore strings, to fix misparsing of strings
15122         with magic comments embedded in them.
15123         (verilog-read-auto-template):
15124         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15125         Reported by Brad Dobbie.
15126         (verilog-read-auto-template):
15127         Fix 'verilog-auto-inst-template-numbers' with comments.
15128         Reported by Brad Dobbie.
15129         (verilog-auto-inst, verilog-auto-inst-param)
15130         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15131         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
15132         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15133         debugging templates without merge conflicts, bug357.
15134         Reported by Brad Dobbie.
15135         (verilog-read-auto-template):
15136         Fix verilog-auto-inst-template-numbers with multiple templates.
15137         Reported by Brad Dobbie.
15138         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15139         abbrevs so user won't be asked to save.
15140         (verilog-read-auto-lisp-present): Fix to start at beginning of
15141         buffer in case called outside of verilog-auto.
15142         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15143         to "X-2".  Reported by Matthew Myers.
15144         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15145         all inputs from module templates.  Reported by Leith Johnson.
15146         (verilog-module-inside-filename-p): Fix locating programs as with
15147         modules.
15148         (verilog-auto-inst-port): Fix vl-width expressions when using
15149         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
15150         (verilog-decls-get-regs, verilog-decls-get-signals,
15151         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15152         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15153         verilog-read-decls): Combine reg and wire structures into one var
15154         structure to represent SystemVerilog concepts.
15155         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15156         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15157         (verilog-auto-wire-type, verilog-insert-definition):
15158         Add verilog-auto-wire-type and AUTOLOGIC to support using
15159         SystemVerilog "logic" keyword instead of "wire"/"reg".
15160         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15161         to declares outputs that also have assignments (presumably in an
15162         ifdef or generate if so there's not a driver conflict).
15163         Reported by Matthew Myers.
15164         (verilog-auto-declare-nettype, verilog-insert-definition):
15165         Add verilog-auto-declare-nettype to fix declarations using
15166         `default_nettype none.  Reported by Julian Gorfajn.
15167         (verilog-read-always-signals-recurse, verilog-read-decls)
15168         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15169         malformed end statement, bug325.  Reported by Joshua Wise and
15170         Andrew Drake.
15171         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15172         (verilog-inst-comment-re): Fix not deleting Interfaced comment
15173         when expanding .* in interfaces, bug320.
15174         Reported by Pierre-David Pfister.
15175         (verilog-read-module-name): Fix import statements between module
15176         name and open parenthesis, bug317.
15177         Reported by Pierre-David Pfister.
15178         (verilog-simplify-range-expression): Fix simplification of
15179         multiplications inside AUTOWIRE connections, bug303.
15180         (verilog-auto-inst-port): Support parameter expansion in
15181         multidimensional arrays.
15182         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15183         after "assert property".  Reported by Julian Gorfajn.
15184         (verilog-simplify-range-expression): Fix "couldn't merge" errors
15185         with multiplication, bug303.
15186         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15187         Reported by Jan Frode Lonnum.
15189 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
15191         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15192         (hfy-shell-file-name, hfy-shell):
15193         * international/fontset.el (x-decompose-font-name): Fix typos.
15195 2011-11-29  Ken Brown  <kbrown@cornell.edu>
15197         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15198         (gdb-version): Remove defvar.
15199         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15200         (gdb-gud-context-command, gdb-non-stop-handler)
15201         (gdb-current-context-command, gdb-stopped): Use it.
15202         (gdb-init-1): Enable pretty printing here.
15203         (gdb-non-stop-handler): Don't enable pretty-printing here.
15204         Check to see if the target supports non-stop mode; if not, turn off
15205         non-stop mode.  Use the following.
15206         (gdb-check-target-async): New defun.
15207         (gud-watch, gdb-stopped): Fix whitespace.
15208         (gdb-get-source-file): Don't try to display the source file if
15209         `gdb-main-file' is nil.
15211 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15213         * align.el: Try to generate fewer markers (bug#10047).
15214         (align--set-marker): New macro.
15215         (align-region): Use it.
15217 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15219         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15221 2011-11-29  Chong Yidong  <cyd@gnu.org>
15223         * indent.el (indent-for-tab-command, indent-according-to-mode):
15224         Doc fix.
15225         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
15227 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
15229         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15230         aware of remote file names.  (Bug#10124)
15232 2011-11-29  Chong Yidong  <cyd@gnu.org>
15234         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15236 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15238         * files.el (find-file): Don't use force-same-window (bug#10144).
15239         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15240         use pop-to-buffer if the selected window can't be used.
15241         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15243 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
15245         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15246         special-mode-map.
15248 2011-11-28  Chong Yidong  <cyd@gnu.org>
15250         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15252 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
15254         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15255           gdb-get-source-file-list on gdb-create-source-file-list.
15257 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
15259         * whitespace.el (whitespace-newline): Use a different foreground
15260         color for 16-color light-background displays.
15262 2011-11-24  Chong Yidong  <cyd@gnu.org>
15264         * window.el (display-buffer--special-action): Doc fix.
15266 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
15268         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15269         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15270         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15271         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15272         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15273         (avl-tree-stack-first):
15274         * emacs-lisp/cconv.el (cconv--analyse-use):
15275         * net/gnutls.el (gnutls-negotiate): Fix typos.
15277 2011-11-24  Glenn Morris  <rgm@gnu.org>
15279         * lpr.el (lpr-windows-system, lpr-lp-system):
15280         * mail/binhex.el (binhex-begin-line):
15281         * progmodes/grep.el (grep-history, grep-find-history):
15282         * textmodes/flyspell.el:
15283         * vc/pcvs-defs.el (cvs-global-menu):
15284         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15285         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15286         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15288         * net/tls.el: Fix case of "GnuTLS".
15290         * paths.el (rmail-file-name): Format doc-string for make-docfile.
15292         * version.el (emacs-build-system): Give it a doc-string.
15294 2011-11-24  Juri Linkov  <juri@jurta.org>
15296         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15298 2011-11-24  Glenn Morris  <rgm@gnu.org>
15300         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15301         if called on a non-mime message just toggle the headers.  (Bug#8006)
15303 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
15305         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15306         (allout-lead-with-comment-string, allout-structure-deleted-hook)
15307         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15308         (allout-rebullet-heading, allout-open-sibtopic)
15309         (allout-toggle-current-subtree-encryption)
15310         (allout-toggle-subtree-encryption, allout-encrypt-string)
15311         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15312         (allout-distinctive-bullets-string, allout-auto-activation):
15313         * window.el (window-normalize-buffer-to-display):
15314         * progmodes/verilog-mode.el (verilog-batch-indent):
15315         * textmodes/bibtex.el (bibtex-field-braces-opt)
15316         (bibtex-field-strings-opt):
15317         * vc/cvs-status.el (cvs-tree-merge):
15318         Fix typos.
15320 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
15322         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15323         `non-essential' to t, in order to avoid remote connections.
15325 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
15327         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15328         On MS-DOS and MS-Windows, compare with loaddefs.el
15329         case-insensitively.
15331 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
15333         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
15335 2011-11-23  Glenn Morris  <rgm@gnu.org>
15337         * paths.el (rmail-file-name): Reformat the doc-string so that it
15338         is picked up.
15340         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15341         (rmail-auto-file): Ignore case in the "special" field names,
15342         as mail-fetch-field does for all others.
15344         * mail/rmail.el (rmail-forward):
15345         * mail/rmailkwd.el (rmail-set-label):
15346         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15347         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
15349         * mail/rmail.el (rmail-current-message): Doc fix.
15351         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
15353 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15355         * server.el (server-eval-and-print): Allow C-g (bug#6585).
15357 2011-11-22  Glenn Morris  <rgm@gnu.org>
15359         * mail/rmailmm.el (test-rmail-mime-handler)
15360         (test-rmail-mime-bulk-handler)
15361         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15363 2011-11-21  Juri Linkov  <juri@jurta.org>
15365         * calc/calc.el (calc-read-key-sequence):
15366         Let-bind `input-method-function' to nil.  (Bug#10018)
15368 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15370         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15371         Tell the caller that the next line needs recomputation, even
15372         though it doesn't start a sexp (bug#10094).
15374 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15376         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15378 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15380         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15381         Use force-same-window.
15383 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
15385         * descr-text.el (describe-char-unicode-data):
15386         * json.el (json-string-escape):
15387         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15388         (Footnote-unicode, Footnote-style-p):
15389         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15391 2011-11-20  Chong Yidong  <cyd@gnu.org>
15393         * window.el (replace-buffer-in-windows): Restore interactive spec.
15395 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15397         * electric.el (electric-indent-mode): Fix last change (too optimistic).
15399         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15400         (byte-compile-global-not-obsolete-vars): New var.
15401         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15402         Use it.
15403         (byte-compile-warn-obsolete): Align text with the one in *Help*.
15405 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
15407         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15408         * progmodes/pascal.el (electric-pascal-equal):
15409         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15410         * xml.el (xml-substitute-special): Fix typos.
15412 2011-11-20  Glenn Morris  <rgm@gnu.org>
15414         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15415         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15416         Doc fixes.
15417         (rmail-decode-mime-charset): Mark as obsolete.
15419         * mail/rmailsum.el (rmail-message-regexp-p-1):
15420         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15421         Before using mime functions, check they are set.  (Bug#10077)
15423 2011-11-19  Juri Linkov  <juri@jurta.org>
15425         * info.el (Info-finder-find-node): Use `package--builtins' instead
15426         of `package-alist'.  Use node names formed by the pattern "Keyword "
15427         and the keyword name.
15429 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
15431         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15433 2011-11-19  Juri Linkov  <juri@jurta.org>
15435         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15436         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
15437         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15438         `old-history', `old-history-forward'.  Add let-binding
15439         `window-selected'.  Remove calls to `kill-buffer',
15440         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
15441         before calling `Info-find-node', so `Info-find-node-2' will reread
15442         the Info file.  Restore window positions only when `window-selected'
15443         is non-nil.
15445 2011-11-19  Juri Linkov  <juri@jurta.org>
15447         * isearch.el (isearch-lazy-highlight-new-loop):
15448         Remove condition `(not isearch-error)'.  (Bug#9918)
15450         * misearch.el (multi-isearch-search-fun): Add condition
15451         `(not bound)' to ignore lazy-highlighting search.
15452         Add the search-failed message "end of multi" when the end of
15453         multi-sequence is reached.  Uncapitalize the search-failed
15454         message "Repeat for next buffer".
15456         * info.el (Info-search): Add the search-failed message
15457         "end of the manual" when the end of the manual is reached
15458         in Isearch mode.
15460 2011-11-19  Juri Linkov  <juri@jurta.org>
15462         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15463         Use non-destructive `remove' instead of `delete' because
15464         `Info-history-list' stored to `Info-isearch-initial-history-list' in
15465         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15467 2011-11-19  Juri Linkov  <juri@jurta.org>
15469         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15470         to nil instead of binding `search-ring' and `regexp-search-ring'.
15471         (Bug#9185)
15473 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
15475         * simple.el (line-move): Force movement by logical lines for any
15476         hscrolled window, not only when auto-hscroll-mode is on.
15477         (line-move-visual): Update doc string to that effect.  (Bug#10076)
15479 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
15481         * language/european.el (macintosh): Define as alias for mac-roman.
15483 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
15485         * mail/rmailmm.el (rmail-mime-display-header)
15486         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15487         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15488         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15489         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15490         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15491         of a raw aref.
15492         (rmail-mime-entity-segment): To get past the tagline, move forward
15493         2 more lines, to account for the 2 empty lines that precede and
15494         follow the line with the buttons.
15495         (rmail-mime-update-tagline): Move one more line, to get past the
15496         empty line that follows the buttons in the tagline.  (Bug#9520)
15498 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
15500         * window.el (window-max-delta-1, window-min-delta-1)
15501         (window-min-size-1, window-state-get-1, window-state-put-1)
15502         (window-state-put-2): Use "window--" prefix.
15504 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15506         * emacs-lisp/smie.el: Improve warnings and conflict detection.
15507         (smie-warning-count): New var.
15508         (smie-set-prec2tab): Use it.
15509         (smie-bnf->prec2): Improve warnings.  Add docstring.
15510         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15511         (smie-bnf--set-class): New function.
15512         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
15513         corner case.
15515         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15516         (compilation-error-properties, compilation-move-to-column):
15517         Handle compilation-first-column while in the target buffer.
15519         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15520         Don't hardcode point-min==1.
15522         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15523         (eshell-rewrite-for-command): Remove workaround.
15524         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15525         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15526         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15528         * files-x.el (modify-file-local-variable): Obey commenting conventions.
15530 2011-11-17  Glenn Morris  <rgm@gnu.org>
15532         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15533         Ignore buffer-local generated-autoload-file if it is the same
15534         as the global value.  (Bug#10049)
15536 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
15538         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15539         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15540         (reftex-toc-previous-heading, reftex-toc-max-level)
15541         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15542         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15543         (reftex-toc-do-promote, reftex-toc-promote-prepare)
15544         (reftex-toc-promote-action, reftex-toc-extract-section-number)
15545         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15546         (reftex-toc-rename-label, reftex-toc-visit-location)
15547         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15548         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15549         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15550         leaving "*toc*" only for references to the buffer.
15552 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
15554         * window.el (window-resize, delete-window, split-window):
15555         Replace window-splits by window-combination-resize.
15556         * cus-start.el (window-splits): Replace by window-combination-resize.
15558 2011-11-17  Glenn Morris  <rgm@gnu.org>
15560         * progmodes/sh-script.el (sh-font-lock-keywords-var):
15561         Make bash entry derive from sh entry, not shell entry.
15563 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
15565         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15566         local file name.
15568 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
15570         * menu-bar.el (menu-bar-file-menu):
15571         * printing.el (pr-ps-utility):
15572         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15573         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15574         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15575         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15576         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15577         (icalendar--convert-cyclic-to-ical)
15578         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15579         (icalendar--convert-ical-to-diary)
15580         (icalendar--convert-recurring-to-diary)
15581         (icalendar--convert-non-recurring-all-day-to-diary)
15582         (icalendar-import-format-sample):
15583         * progmodes/idlw-shell.el (idlwave-shell-mode):
15584         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15585         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15586         (vhdl-ps-print-init): Fix typos.
15588 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
15590         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15591         FSF and collapse date sequence, obscure author/maintainer email address
15592         better, remove extra version line, track relocation of author's webpage.
15594         * progmodes/python.el (python-pdbtrack-input-prompt)
15595         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15596         regular python pdb prompts.  Adjustments shamelessly taken exactly as
15597         suggested in EmacsWiki page (tiny change):
15598         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15600 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
15602         * expand.el (expand-pos, expand-index, expand-point):
15603         Remove redundant info from docstring.
15604         (expand-add-abbrevs): Doc fix.
15605         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15606         (expand-sample-perl-mode-expand-list): Fix typos.
15608         * net/dbus.el (dbus-event-member-name):
15609         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15610         * term/pc-win.el (msdos-create-frame-with-faces):
15611         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15613 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
15615         * window.el (split-window, window-state-get-1)
15616         (window-state-put-1, window-state-put-2): Rename occurrences of
15617         window-nest to window-combination-limit.
15618         * cus-start.el (window-nest): Rename to window-combination-limit.
15620 2011-11-16  Chong Yidong  <cyd@gnu.org>
15622         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15623         regexp (Bug#10033).
15625 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15627         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15628         `completing-read' will remove *Completions* and will preserve
15629         current-buffer for us.
15630         (tmm-add-prompt): Users of *Completions* will always (re)set its
15631         major mode.
15632         (tmm-old-comp-map): Remove.
15634 2011-11-16  Glenn Morris  <rgm@gnu.org>
15636         * mail/rmailedit.el: Require rmailmm when compiling.
15637         (rmail-old-mime-state): New declaration.
15638         (rmail-edit-current-message): If editing a mime message,
15639         edit the "raw" message from the mbox buffer.
15640         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
15642 2011-11-15  Glenn Morris  <rgm@gnu.org>
15644         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15645         which wasn't being used.  Add optional arg to force given state.
15646         (rmail-mime): Add optional arg to force given state.
15648 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
15650         * allout.el (allout-encryption-plaintext-sanitization-regexps):
15651         * frame.el (display-mm-dimensions-alist):
15652         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15653         (outline-move-subtree-down):
15654         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15655         (newsticker--treeview-do-get-node):
15656         * net/quickurl.el (quickurl-list-buffer-name):
15657         * progmodes/dcl-mode.el (dcl-mode):
15658         * progmodes/gdb-mi.el (gdb-mapcar*):
15659         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15661 2011-11-15  Glenn Morris  <rgm@gnu.org>
15663         * mail/rmail.el (rmail-file-coding-system): It's only ever used
15664         in a boolean sense, so just make it a boolean, and fix the doc.
15665         (rmail-show-mime-function, rmail-mime-feature)
15666         (rmail-require-mime-maybe): Doc fixes.
15667         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15669         * mail/rmailmm.el (rmail-show-mime): Doc fix.
15671 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
15673         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15674         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15675         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15676         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15678 2011-11-15  Glenn Morris  <rgm@gnu.org>
15680         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15681         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15682         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15683         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15684         (rmail-mime, rmail-show-mime): Doc fixes.
15686         * term/ns-win.el (mode-line-frame-identification):
15687         Leave it alone.  (Bug#10051)
15689         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
15691         * mail/rmailout.el (rmail-output-to-rmail-buffer):
15692         Handle empty buffers.  (Bug#9978)
15694 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
15696         * international/mule.el (define-charset):
15697         * mail/rmailmm.el (rmail-mime-find-header-encoding):
15698         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15699         * progmodes/verilog-mode.el (verilog-backward-token):
15700         * textmodes/ispell.el (lookup-words):
15701         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15703 2011-11-14  Glenn Morris  <rgm@gnu.org>
15705         * progmodes/executable.el
15706         (executable-make-buffer-file-executable-if-script-p):
15707         Handle file-modes returning nil.
15709         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15710         message - not necessary, and causes problems.  (Bug#9831)
15712         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15714         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15716         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15717         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
15718         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15720 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
15722         * window.el (window-resize, delete-window): Use window-splits
15723         variable instead of function.
15724         (window-state-get-1, window-state-put-2, window-state-put):
15725         Don't deal with windows' splits status.
15727 2011-11-12  Glenn Morris  <rgm@gnu.org>
15729         * apropos.el (apropos-do-all, apropos-library, apropos-value)
15730         (apropos-documentation): Doc fixes.
15732 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
15734         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15735         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15737 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15739         * electric.el (electric-indent-post-self-insert-function): Make it
15740         possible for a char to only indent in some circumstances.
15741         (electric-indent-mode): Simplify.
15743 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
15745         * window.el (windows-with-parameter): Remove unused function.
15746         (windows-at-side): Rename to window-at-side-list.
15747         (window-check, window-atom-check, window-atom-check-1)
15748         (window-side-check, window-size-ignore, window-size-fixed-1)
15749         (window-in-direction-2): Prefix with "window--".
15750         (window-tree-1): Rename to window--subtree, fix doc-string.
15752 2011-11-11  Glenn Morris  <rgm@gnu.org>
15754         * subr.el (eval-after-load): If FILE is already loaded,
15755         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
15757 2011-11-10  Glenn Morris  <rgm@gnu.org>
15759         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15760         Call svn via vc-svn-command rather than vc-do-command.
15761         (vc-svn-command): Add --non-interactive.  (Bug#9993)
15762         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15764         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15765         Add toggle-read-only.  (Bug#7292)
15766         * files.el (toggle-read-only): Mention that it should only
15767         be used interactively.  (Bug#10006)
15769 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15771         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15772         Adjust regexp for OCaml warnings.
15774         * electric.el (electric-pair-post-self-insert-function): Let user
15775         turn it off buffer-locally (bug#9932).
15777         * progmodes/python.el (python-beginning-of-statement):
15778         Rewrite (bug#2703).
15780         * progmodes/compile.el: Better handle TABs (bug#9749).
15781         (compilation-internal-error-properties)
15782         (compilation-next-error-function): Obey the target buffer's
15783         compilation-error-screen-columns.
15785 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
15787         * progmodes/meta-mode.el: Remove obsolete comments.
15788         (meta-right-comment-regexp, meta-ignore-comment-regexp):
15789         Fix typos in docstrings.
15791 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
15793         * window.el (window-size-fixed-p): Rewrite doc-string.
15794         (window-resizable-p): Rename to window--resizable-p.  Update callers.
15795         (window--resizable): New function.  Make all callers of
15796         window-resizable call window--resizable instead.
15797         (window-resizable): Rewrite in terms of window--resizable.
15799 2011-11-08  Glenn Morris  <rgm@gnu.org>
15801         * progmodes/delphi.el (delphi-mode-syntax-table):
15802         Let define-derived-mode define a proper syntax table.  (Bug#9994)
15804 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15806         * window.el: Stay away from defsubst.
15807         (window-list-no-nils): Remove.
15808         (window-state-get-1, window-state-get): Use backquote instead.
15810 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15812         * emacs-lisp/find-func.el (find-function-read):
15813         Fix incorrect use of default argument in `completing-read'.
15815 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
15817         * window.el (display-buffer-function, special-display-function):
15818         Mention display-buffer-record-window but do not mention
15819         help-setup parameter in doc-strings.
15820         (window-min-delta): Fix doc-string typo.
15822 2011-11-08  Chong Yidong  <cyd@gnu.org>
15824         * window.el (window-total-height, window-total-width): Doc fix.
15825         (window-body-size): Move from C.
15826         (window-body-height, window-body-width): Move to C.
15828 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15830         * window.el: Make special-display like display-buffer-alist (bug#9532).
15831         (display-buffer--special-action): New function, morphed
15832         from display-buffer--special.
15833         (display-buffer): Use it to handle special-display-buffers at higher
15834         priority (just after display-buffer-alist).
15835         (display-buffer-fallback-action, display-buffer--other-frame-action)
15836         (pop-to-buffer-same-window): Remove display-buffer--special.
15838 2011-11-07  Glenn Morris  <rgm@gnu.org>
15840         * calendar/cal-menu.el (cal-menu-set-date-title):
15841         Do nothing if not in a calendar.  (Bug#9976)
15843 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15845         * files.el (find-file): Always use selected-window.
15847 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
15849         * window.el (window-combinations): Make WINDOW argument
15850         mandatory.  Rewrite doc-string.
15851         (walk-window-subtree, window-atom-check, window-min-delta)
15852         (window-max-delta, window--resize-this-window)
15853         (window--resize-root-window-vertically, window-tree)
15854         (balance-windows, window-state-put): Rewrite doc-strings as to
15855         not mention the term "subwindow".
15856         (window--resize-subwindows-skip-p): Rename to
15857         window--resize-child-windows-skip-p.
15858         (window--resize-subwindows-normal): Rename to
15859         window--resize-child-windows-normal.
15860         (window--resize-subwindows): Rename to
15861         window--resize-child-windows.
15862         (window-or-subwindow-p): Rename to window--in-subtree-p.
15864 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
15866         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15867         Ensure that mbox format messages end in two newlines (Bug#9974).
15869 2011-11-06  Chong Yidong  <cyd@gnu.org>
15871         * window.el (window-combination-p): Function deleted; its
15872         side-effect is not used in any existing code.
15873         (window-combinations, window-combined-p): Call window-*-child
15874         directly.
15876 2011-11-05  Chong Yidong  <cyd@gnu.org>
15878         * window.el (window-valid-p): Rename from window-any-p.
15879         (window-size-ignore, window-state-get): Callers changed.
15880         (window-normalize-window): Rename from window-normalize-any-window.
15881         New arg LIVE-ONLY, replacing window-normalize-live-window.
15882         (window-normalize-live-window): Delete.
15883         (window-combination-p, window-combined-p, window-combinations)
15884         (walk-window-subtree, window-atom-root, window-min-size)
15885         (window-sizable, window-sizable-p, window-size-fixed-p)
15886         (window-min-delta, window-max-delta, window-resizable)
15887         (window-resizable-p, window-full-height-p, window-full-width-p)
15888         (window-current-scroll-bars, window-point-1, set-window-point-1)
15889         (window-at-side-p, window-in-direction, window-resize)
15890         (adjust-window-trailing-edge, maximize-window, minimize-window)
15891         (window-deletable-p, delete-window, delete-other-windows)
15892         (record-window-buffer, unrecord-window-buffer)
15893         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15894         (quit-window, split-window, window-state-put)
15895         (set-window-text-height, fit-window-to-buffer)
15896         (shrink-window-if-larger-than-buffer): Callers changed.
15898 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
15900         * mail/rmail.el (rmail-simplified-subject): Decode subject with
15901         rfc2047-decode-string.
15902         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15903         warnings.
15905         * window.el (window-body-height, window-body-width): Mention in
15906         the doc string that the return values are in frame's canonical
15907         units.  (Bug#9949)
15909 2011-11-03  Alan Mackenzie  <acm@muc.de>
15911         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15912         change in cc-engine.el.
15914 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15916         * window.el (switch-to-buffer): Use `force-same-window' interactively.
15918 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
15920         * window.el (quit-window): Call unrecord-window-buffer after
15921         showing another buffer in the window.  (Bug#9937)
15922         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15924 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
15926         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15927         Accept status with more than 9 shelves.  (Bug#9935)
15928         Reported by Colin D Bennett <colin@gibibit.com>.
15930 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
15932         * help.el (with-help-window): Don't reference
15933         temp-buffer-show-specifiers in doc-string.
15935 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15937         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15938         menu-item.
15940 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15942         * whitespace.el: New version 13.2.2.
15943         (whitespace-newline-mode): Disable properly.  Reported by Sarah
15944         <EmacsWiki>.
15946 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
15948         * net/newst-treeview.el: Remove "Time-stamp".
15949         (newsticker--group-manage-orphan-feeds): Do not call
15950         newsticker--treeview-tree-update.
15951         (newsticker-treeview-update, newsticker-treeview):
15952         Call newsticker--treeview-tree-update if necessary.
15954 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
15956         * window.el (window-iso-combination-p, window-iso-combined-p)
15957         (window-iso-combinations): Remove "iso-" infix.
15958         Suggested by Chong Yidong.
15959         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15960         (window-max-delta-1, window-resize, window--resize-siblings)
15961         (window--resize-this-window, adjust-window-trailing-edge)
15962         (split-window, balance-windows-1)
15963         (shrink-window-if-larger-than-buffer):
15964         * calendar/calendar.el (calendar-generate-window):
15965         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15967 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15969         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15970         in place (bug#9907).
15971         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15972         (eshell-rewrite-if-command, eshell-rewrite-for-command)
15973         (eshell-structure-basic-command, eshell-rewrite-while-command)
15974         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15975         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15976         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15977         (eshell-do-pipelines-synchronously, eshell-eval-command):
15978         Use backquotes and prefer setq to set.
15979         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15980         (eshell-macrop): Use functionp.
15981         (eshell-do-eval): Handle multiple expressions in `while' body.
15983 2011-10-30  Chong Yidong  <cyd@gnu.org>
15985         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15986         instead of set-mark (Bug#9810).
15988 2011-10-30  Chong Yidong  <cyd@gnu.org>
15990         * window.el (split-window-below, split-window-right): Rename from
15991         split-window-above-each-other and split-window-side-by-side
15992         respectively.  All callers changed.
15993         (split-window-sensibly, split-window-sensibly): Use them.
15994         (split-window-keep-point): Doc fix.
15996         * isearch.el: Add isearch-scroll property to split-window-below
15997         and split-window-right.
15999         * follow.el (follow-mode):
16000         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16001         * progmodes/ada-xref.el (ada-gdb-application):
16002         * emulation/vip.el (vip-buffer-in-two-windows):
16003         * image-dired.el (image-dired-dired-with-window-configuration):
16004         * dired-x.el (dired-do-find-marked-files):
16005         * dired.el (dired-pop-to-buffer):
16006         * bs.el (bs--show-with-configuration):
16007         * vc/emerge.el (emerge-setup-windows):
16008         * textmodes/two-column.el (2C-two-columns):
16009         * textmodes/reftex-toc.el (reftex-toc):
16010         * progmodes/gdb-mi.el (gdb-setup-windows):
16011         * progmodes/fortran.el (fortran-window-create):
16012         * net/newst-treeview.el (newsticker--treeview-window-init):
16013         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16014         * emulation/tpu-edt.el (tpu-gold-map):
16015         * emulation/crisp.el (crisp-mode-map):
16016         * calendar/calendar.el (calendar-basic-setup): Callers changed.
16018 2011-10-29  Chong Yidong  <cyd@gnu.org>
16020         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16022         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16024         * textmodes/flyspell.el (flyspell-word): Fix char offset for
16025         forged Ispell output (Bug#7904).
16027         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16029 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16031         * doc-view.el: Avoid ugly errors about not finding nil.
16032         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16033         (doc-view-dvipdf-program, doc-view-unoconv-program)
16034         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16035         Avoid nil or absolute file name as default value.
16036         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16038 2011-10-28  Alan Mackenzie  <acm@muc.de>
16040         * progmodes/cc-defs.el (c-version): -> 5.32.2.
16042 2011-10-28  Alan Mackenzie  <acm@muc.de>
16044         Amend the handling of c-beginning/end-of-defun in nested declaration
16045         scopes.
16047         * progmodes/cc-vars.el (c-defun-tactic): Move here from
16048         cc-langs.el.  Change it to a defcustom.
16050         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16051         cc-vars.el.
16053         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16054         Prevent "class foo : bar" being spuriously recognized as a label.
16056         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16057         Add parameter `inclusive' (to include enclosing braces in the region).
16058         (c-widen-to-enclosing-decl-scope): New function.
16059         (c-while-widening-to-decl-block): New macro.
16060         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16061         outward for defun boundaries, and correspondingly change symbol
16062         `respect-enclosure' to `go-outward'.
16063         (c-declaration-limits): Change algorithm to report only the "innermost"
16064         defun's boundaries.
16066 2011-10-28  Deniz Dogan  <deniz@dogan.se>
16068         * net/rcirc.el (rcirc-mode): Use hard newlines.
16070 2011-10-28  Alan Mackenzie  <acm@muc.de>
16072         Amend to indent and fontify macros "which include their own semicolon"
16073         correctly, using the "virtual semicolon" mechanism.
16075         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16077         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16078         Recode to scan one line at a time rather than having \n and \r
16079         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16080         (c-forward-label): Amend for virtual semicolons.
16081         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16083         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16084         of the new C macros.
16086         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16087         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16088         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16089         (c-opt-cpp-macro-define): Make into a full language variable.
16090         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16091         AWK Mode (including \n, \r) removed, no longer needed.
16093         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16094         Invoke c-make-macro-with-semi-re.
16096         * progmodes/cc-vars.el (c-macro-with-semi-re):
16097         (c-macro-names-with-semicolon): New variables.
16098         (c-make-macro-with-semi-re): New function.
16100 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16102         * vc/log-edit.el: Fill empty field rather than adding new one.
16103         (log-edit-add-field): New function.
16104         (log-edit-insert-changelog): Use it.
16106 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
16108         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16110 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16112         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16113         (gdb--check-interpreter): New function.
16114         (gdb): Use it.
16116 2011-10-27  Glenn Morris  <rgm@gnu.org>
16118         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16119         (least-positive-float, least-negative-float)
16120         (least-positive-normalized-float, least-negative-normalized-float)
16121         (float-epsilon, float-negative-epsilon):
16122         Remove unnecessary declarations.
16124         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16125         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16126         (least-positive-float, least-negative-float)
16127         (least-positive-normalized-float, least-negative-normalized-float)
16128         (float-epsilon, float-negative-epsilon): Add doc-strings,
16129         based on those in cl.texi.
16131         * files.el (set-visited-file-name): If the major-mode changed,
16132         reload the local variables.  (Bug#9796)
16134 2011-10-27  Chong Yidong  <cyd@gnu.org>
16136         * subr.el (change-major-mode-after-body-hook): New hook.
16137         (run-mode-hooks): Run it.
16139         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16140         Use change-major-mode-before-body-hook.
16142         * simple.el (fundamental-mode):
16143         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16144         change introducing fundamental-mode-hook.
16146 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
16148         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16150 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
16152         * ido.el (ido-file-name-all-completions-1): Do not require
16153         tramp.el explicitly.  (Bug#7583)
16155 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16157         * progmodes/octave-mod.el:
16158         * progmodes/octave-inf.el: Update maintainer.
16160 2011-10-26  Chong Yidong  <cyd@gnu.org>
16162         * subr.el (with-wrapper-hook): Rewrite doc.
16164 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
16166         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16167         filenames "/method:foo:".  (Bug#9793)
16169 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16171         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16172         (bug#9865).
16174 2011-10-24  Glenn Morris  <rgm@gnu.org>
16176         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
16178 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
16180         * notifications.el: Add the requirement of a running D-Bus session
16181         bus to the Commentary.
16183 2011-10-24  Juri Linkov  <juri@jurta.org>
16185         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16186         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16187         (Bug#9364)
16189 2011-10-24  Juri Linkov  <juri@jurta.org>
16191         * info.el (Info-following-node-name-re): Add newline to the list
16192         of allowed characters for leading space.  (Bug#9824)
16194 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16196         * progmodes/octave-inf.el (inferior-octave-mode-map):
16197         Fix C-c C-h binding.
16198         * progmodes/octave-mod.el (octave-help): Remove.
16200 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
16202         Sync with Tramp 2.2.3.
16204         * net/tramp-cache.el (top): Pacify byte-compiler using
16205         `init-file-user' and `site-run-file'.
16207         * net/trampver.el: Update release number.
16209 2011-10-23  Chong Yidong  <cyd@gnu.org>
16211         * files.el (toggle-read-only): Remove obsolete comment about
16212         version control.
16214         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16215         for toggle-read-only.  Note that this hasn't called vc-next-action
16216         since 2008-05-02, though it wasn't documented at the time.
16218         * vc/ediff-init.el (ediff-toggle-read-only-function):
16219         Use toggle-read-only.
16221 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
16223         Fix bug #9560, sporadic wrong indentation; improve instrumentation
16224         of c-parse-state.
16226         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16227         correct faulty logical expression.
16228         (c-parse-state-state, c-record-parse-state-state):
16229         (c-replay-parse-state-state): New defvar/defuns.
16230         (c-debug-parse-state): Use new functions.
16232 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
16234         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16235         last fix.  Use window-in-direction correctly.
16237 2011-10-21  Chong Yidong  <cyd@gnu.org>
16239         * progmodes/idlwave.el (idlwave-mode):
16240         * progmodes/vera-mode.el (vera-mode): No need to set
16241         require-final-newline; that's done in prog-mode.
16242         Suggested by Stefan Monnier.
16244 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
16246         * mouse.el (mouse-drag-window-above)
16247         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16248         (mouse-drag-mode-line-1, mouse-drag-header-line)
16249         (mouse-drag-vertical-line-rightward-window): Remove.
16250         (mouse-drag-line): New function.
16251         (mouse-drag-mode-line, mouse-drag-header-line)
16252         (mouse-drag-vertical-line): Call mouse-drag-line.
16253         * window.el (window-at-side-p, windows-at-side): New functions.
16255 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
16257         * tar-mode.el (tar-grind-file-mode):
16258         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
16260 2011-10-21  Chong Yidong  <cyd@gnu.org>
16262         * progmodes/idlwave.el (idlwave-mode):
16263         * progmodes/vera-mode.el (vera-mode):
16264         Use mode-require-final-newline.
16266 2011-10-20  Glenn Morris  <rgm@gnu.org>
16268         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
16270 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
16272         * emulation/cua-base.el (cua-set-mark): Fix case of string.
16274 2011-10-20  Chong Yidong  <cyd@gnu.org>
16276         * emulation/cua-base.el (cua-mode):
16277         * mail/footnote.el (footnote-mode):
16278         * mail/mailabbrev.el (mail-abbrevs-mode):
16279         * net/xesam.el (xesam-minor-mode):
16280         * progmodes/bug-reference.el (bug-reference-mode):
16281         * progmodes/cap-words.el (capitalized-words-mode):
16282         * progmodes/compile.el (compilation-minor-mode)
16283         (compilation-shell-minor-mode):
16284         * progmodes/gud.el (gud-tooltip-mode):
16285         * progmodes/hideif.el (hide-ifdef-mode):
16286         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16287         * progmodes/subword.el (subword-mode):
16288         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16289         * progmodes/which-func.el (which-function-mode):
16290         * term/tvi970.el (tvi970-set-keypad-mode):
16291         * term/vt100.el (vt100-wide-mode):
16292         * textmodes/flyspell.el (flyspell-mode):
16293         * textmodes/ispell.el (ispell-minor-mode):
16294         * textmodes/nroff-mode.el (nroff-electric-mode):
16295         * textmodes/paragraphs.el (use-hard-newlines):
16296         * textmodes/refill.el (refill-mode):
16297         * textmodes/reftex.el (reftex-mode):
16298         * textmodes/rst.el (rst-minor-mode):
16299         * textmodes/sgml-mode.el (html-autoview-mode)
16300         (sgml-electric-tag-pair-mode):
16301         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16302         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16303         * emulation/crisp.el (crisp-mode):
16304         * emacs-lisp/eldoc.el (eldoc-mode):
16305         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16306         minor mode behavior.
16308 2011-10-19  Juri Linkov  <juri@jurta.org>
16310         * descr-text.el (describe-char): Add #x2010 and #x2011 to
16311         the list of hard-coded chars with escape-glyph face.
16313 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16315         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16317 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
16319         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16320         running process.
16322 2011-10-19  Glenn Morris  <rgm@gnu.org>
16324         * vc/vc-bzr.el (vc-bzr-after-dir-status):
16325         Ignore ignored files.  (Bug#9726)
16327 2011-10-19  Chong Yidong  <cyd@gnu.org>
16329         Doc fix for minor modes, stating that an omitted argument enables
16330         the mode unconditionally when called from Lisp.
16332         * abbrev.el (abbrev-mode):
16333         * allout.el (allout-mode):
16334         * autoinsert.el (auto-insert-mode):
16335         * autoarg.el (autoarg-mode, autoarg-kp-mode):
16336         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16337         (global-auto-revert-mode):
16338         * battery.el (display-battery-mode):
16339         * composite.el (global-auto-composition-mode)
16340         (auto-composition-mode):
16341         * delsel.el (delete-selection-mode):
16342         * desktop.el (desktop-save-mode):
16343         * dired-x.el (dired-omit-mode):
16344         * dirtrack.el (dirtrack-mode):
16345         * doc-view.el (doc-view-minor-mode):
16346         * double.el (double-mode):
16347         * electric.el (electric-indent-mode, electric-pair-mode):
16348         * emacs-lock.el (emacs-lock-mode):
16349         * epa-hook.el (auto-encryption-mode):
16350         * follow.el (follow-mode):
16351         * font-core.el (font-lock-mode):
16352         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16353         * help.el (temp-buffer-resize-mode):
16354         * hilit-chg.el (highlight-changes-mode)
16355         (highlight-changes-visible-mode):
16356         * hi-lock.el (hi-lock-mode):
16357         * hl-line.el (hl-line-mode, global-hl-line-mode):
16358         * icomplete.el (icomplete-mode):
16359         * ido.el (ido-everywhere):
16360         * image-file.el (auto-image-file-mode):
16361         * image-mode.el (image-minor-mode):
16362         * iswitchb.el (iswitchb-mode):
16363         * jka-cmpr-hook.el (auto-compression-mode):
16364         * linum.el (linum-mode):
16365         * longlines.el (longlines-mode):
16366         * master.el (master-mode):
16367         * mb-depth.el (minibuffer-depth-indicate-mode):
16368         * menu-bar.el (menu-bar-mode):
16369         * minibuf-eldef.el (minibuffer-electric-default-mode):
16370         * mouse-sel.el (mouse-sel-mode):
16371         * msb.el (msb-mode):
16372         * mwheel.el (mouse-wheel-mode):
16373         * outline.el (outline-minor-mode):
16374         * paren.el (show-paren-mode):
16375         * recentf.el (recentf-mode):
16376         * reveal.el (reveal-mode, global-reveal-mode):
16377         * rfn-eshadow.el (file-name-shadow-mode):
16378         * ruler-mode.el (ruler-mode):
16379         * savehist.el (savehist-mode):
16380         * scroll-all.el (scroll-all-mode):
16381         * scroll-bar.el (scroll-bar-mode):
16382         * server.el (server-mode):
16383         * shell.el (shell-dirtrack-mode):
16384         * simple.el (auto-fill-mode, transient-mark-mode)
16385         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16386         (line-number-mode, column-number-mode, size-indication-mode)
16387         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16388         * strokes.el (strokes-mode):
16389         * time.el (display-time-mode):
16390         * t-mouse.el (gpm-mouse-mode):
16391         * tool-bar.el (tool-bar-mode):
16392         * tooltip.el (tooltip-mode):
16393         * type-break.el (type-break-mode-line-message-mode)
16394         (type-break-query-mode):
16395         * view.el (view-mode):
16396         * whitespace.el (whitespace-mode, whitespace-newline-mode)
16397         (global-whitespace-mode, global-whitespace-newline-mode):
16398         * xt-mouse.el (xterm-mouse-mode): Doc fix.
16400         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16401         Fix autogenerated docstring.
16403 2011-10-19  Juri Linkov  <juri@jurta.org>
16405         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16406         by checking environment variables "DESKTOP_SESSION" and
16407         "XDG_CURRENT_DESKTOP".  (Bug#9779)
16409 2011-10-19  Juri Linkov  <juri@jurta.org>
16411         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16412         (browse-url-chromium-program, browse-url-chromium-arguments):
16413         New defcustoms.
16414         (browse-url-default-browser): Check for `browse-url-chromium' and
16415         call `browse-url-chromium-program'.
16416         (browse-url-chromium): New command.  (Bug#9779)
16418 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
16420         * facemenu.el (list-colors-duplicates): On Windows, detect more
16421         duplicates by assuming that only colors matching "^System" are
16422         special "system colors".  (Bug#9722)
16424 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16426         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16427         to distinguish the author from the committer.
16429 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
16431         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16433 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
16435         * international/mule.el (sgml-html-meta-auto-coding-function):
16436         Add support for detecting encoding in HTML5 specified only as
16437         <meta charset="UTF-8">.  Implementation just makes http-equiv and
16438         content-type parts from HTML4 encoding string optional.  (Bug#9716)
16440 2011-10-18  Glenn Morris  <rgm@gnu.org>
16442         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
16444 2011-10-18  Chong Yidong  <cyd@gnu.org>
16446         * faces.el (cursor): Doc fix.
16448 2011-10-17  Chong Yidong  <cyd@gnu.org>
16450         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16452 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
16454         * dirtrack.el (dirtrack): Support shell buffers with path
16455         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
16457 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
16459         * json.el: Bump version to 1.3 and note change in History.
16460         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16462 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16464         * comint.el (comint-insert-input, comint-send-input)
16465         (comint-get-old-input-default, comint-backward-matching-input)
16466         (comint-next-prompt): Use nil instead of `input' for field property of
16467         past user input (bug#114).
16469         * minibuffer.el (completion--replace): Inherit surrounding properties
16470         (bug#114).
16471         (minibuffer-complete-and-exit): Use it.
16473         * comint.el (comint--table-subvert): Quote the all-completions output
16474         (bug#9160).
16476 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
16478         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16480         * menu-bar.el (menu-bar-file-menu): Add entry for making new
16481         window on right of selected.  (Bug#9350) Reword other window
16482         entries and separate them from frame entries.
16484 2011-10-15  Glenn Morris  <rgm@gnu.org>
16486         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16487         Doc fixes.
16489 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
16491         * net/network-stream.el (network-stream-open-starttls):
16492         Improve detection of failure due to lack of TLS support.
16494         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16495         putting the input text in front and in bold.
16497 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16499         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16501         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16502         empty buffer.
16504         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16505         unread-command-events rather than pushing yet-another event.
16507 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
16509         * mail/sendmail.el (sendmail-query-once): Improve the wording of
16510         the explanation of the possible choices.  Make the options passed
16511         to completing-read shorter.
16513 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
16515         * textmodes/flyspell.el (flyspell-large-region): Make sure
16516         extended character mode is used if defined (Bug#1339).
16518 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
16520         * simple.el (what-cursor-position): Fix the display of the
16521         character info for LRE, LRO, RLE, and RLO characters by appending
16522         an invisible PDF.
16524 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16526         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16527         even in case of error; add debug spec; simplify data flow.
16528         (with-timeout-handler): Remove.
16530 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
16532         Fix Bug#6019, Bug#9315.
16534         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16535         complete `buffer-file-name', the local file name part could look
16536         remotely (for example on VMS).
16538         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16539         `tramp-run-real-handler'.
16540         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16541         already quoted by '"'.
16543         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16544         Let `file-name-handler-alist' be nil, the local file name part
16545         could look remotely (for example on VMS).
16547 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16549         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16550         from here...
16551         (flyspell-post-command-hook): ...to here.
16553 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16555         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16556         if not needed.
16557         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
16558         using completion.  Protect against "slow" callers.
16559         Remove the "message hack".
16561 2011-10-11  Juri Linkov  <juri@jurta.org>
16563         * isearch.el (isearch-lazy-highlight-word): New variable.
16564         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16565         Use it.  (Bug#9727)
16567 2011-10-11  Glenn Morris  <rgm@gnu.org>
16569         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16570         like f90-previous-statement does.
16572 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16574         * eshell/eshell.el (eshell-command): History should be saved
16575         only in interactive use, to avoid error.
16577 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16579         * minibuffer.el (completion-file-name-table): Fix last change,
16580         i.e. ignore normal errors but not the other ones.
16582 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
16584         * window.el (special-display-buffer-names)
16585         (special-display-regexps): Remove some remnants of earlier
16586         changes from doc-strings.
16587         (quit-windows-on): New function.
16589         * vc/vc.el (vc-revert, vc-rollback):
16590         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16591         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
16592         (Bug#6183) (Bug#7074) (Bug#7447)
16594 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
16596         * window.el (frame-auto-hide-function): Add version tag.
16597         (Bug#9699)
16599 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
16601         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16602         condition.
16604 2011-10-09  Leo Liu  <sdl.web@gmail.com>
16606         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16607         (Bug#9701)
16609 2011-10-08  Glenn Morris  <rgm@gnu.org>
16611         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16612         before the first code statement zero indent.  (Bug#9690)
16614 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
16616         * simple.el (count-words-region): Always count in the region.
16617         Report the number of lines and characters too.
16618         (count-words): New command, which counts in the buffer if the
16619         region is inactive, as count-words-region used to.
16620         (count-words--message): New function.  Handle plurals.
16621         (count-lines-region): Make it an alias for count-words-region.
16623         * bindings.el (esc-map): Replace count-lines-region with
16624         count-words-region.
16626 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
16628         * window.el (window--delete): Delete dedicated frame
16629         unconditionally when argument KILL is non-nil.  (Bug#9699)
16630         (switch-to-buffer): Fix doc-string typo.
16632 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16634         * eshell/eshell.el (eshell-command): Avoid using hooks.
16636 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
16638         * bindings.el ([M-left],[M-right]): Bind to left-word and
16639         right-word respectively.
16641 2011-10-07  Glenn Morris  <rgm@gnu.org>
16643         * cus-start.el (debug-on-quit): Fix custom type.
16645 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16647         * subr.el (define-key-after): Clarify that the function is not
16648         useful for non-menu keymaps.
16650         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16652 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16654         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16655         in current minibuffer (Fix bug with recursive minibuffers).
16657 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
16659         * progmodes/gdb-mi.el (gdb): Doc fix.
16661 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
16663         * window.el (frame-auto-hide-function): New option replacing
16664         frame-auto-delete.  Suggested by Stefan Monnier.
16665         (window--delete): Call frame-auto-hide-function instead of
16666         investigating frame-auto-delete.
16667         (window-point-1, set-window-point-1): New functions.
16668         (window-in-direction, record-window-buffer, window-state-get-1)
16669         (display-buffer-record-window): Use window-point-1 instead of
16670         window-point.
16671         (set-window-buffer-start-and-point): Use set-window-point-1.
16673 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16675         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16677 2011-10-05  Glenn Morris  <rgm@gnu.org>
16679         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16680         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
16682 2011-10-05  Leo Liu  <sdl.web@gmail.com>
16684         * subr.el (read-char-choice): Fix argument to buffer-live-p which
16685         works with buffer object.
16687 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16689         * mpc.el (mpc-tool-bar-map): Add labels.
16691 2011-10-04  Glenn Morris  <rgm@gnu.org>
16693         * calendar/holidays.el (calendar-check-holidays): Doc fix.
16695 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
16697         * window.el (window--delete): New function.
16698         (frame-auto-delete): Resuscitate option.
16699         (bury-buffer, replace-buffer-in-windows)
16700         (quit-window): Rewrite using window--delete.
16701         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16702         Pass display-buffer-mark-dedicated to window--display-buffer-2
16703         (Bug#9639).
16705 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16707         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16708         returns a list (bug#9554).  Add remote file name completion.
16709         * comint.el (comint--table-subvert): Curry and get quote&unquote
16710         functions as arguments.
16711         (comint--complete-file-name-data): Adjust call accordingly.
16712         * pcomplete.el (pcomplete--table-subvert): Remove.
16713         (pcomplete-completions-at-point): Use comint--table-subvert instead.
16715         * minibuffer.el (completion-table-case-fold): Use currying.
16716         (completion--styles-type, completion--cycling-threshold-type):
16717         New constants.
16718         (completion-styles, completion-category-overrides)
16719         (completion-cycle-threshold): Use them.
16720         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16721         completion-table-case-fold.
16723 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
16725         * minibuffer.el (completion-category-overrides): Fix type of styles
16726         and add more user friendly tags (bug#9660).
16728 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16730         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16731         (mule-input-method-string): New widget.
16732         (default-input-method, language-info-custom-alist): Use it.
16734 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16736         * pcomplete.el: Require comint.
16737         (pcomplete--common-suffix): Remove.
16738         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16739         (pcomplete--table-subvert): Sync with comint--table-subvert.
16740         (pcomplete--entries): Use comint-completion-file-name-table.
16741         * comint.el (comint-unquote-filename): Simplify.
16742         (comint-completion-file-name-table): New function (bug#9616).
16743         (comint--complete-file-name-data): Use it.
16745         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16746         (pcmpl-gnu-tar-buffer): Remove.
16747         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16748         around.  Make sure pcomplete-suffix-list is only changed temporarily.
16749         Don't look inside the tar's file if it's too large.
16751 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
16753         * cus-edit.el (custom-mode-map):
16754         * epa.el (epa-key-list-mode-map):
16755         * man.el (Man-mode-map):
16756         * startup.el (splash-screen-keymap):
16757         * simple.el (special-mode-map): Use scroll-up-command and
16758         scroll-down-command.
16760         * progmodes/idlw-help.el (idlwave-help-mode-map):
16761         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16762         * net/newst-plainview.el (newsticker-mode-map):
16763         * emulation/ws-mode.el (wordstar-mode-map):
16764         * emulation/vi.el (vi-com-map):
16765         * calc/calc-graph.el (calc-graph-show-dumb):
16766         * term/sun.el (terminal-init-sun):
16767         * term/ns-win.el (global-map):
16768         * progmodes/grep.el (grep-mode-map):
16769         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16770         * mail/rmail.el (rmail-mode-map):
16771         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16773         * custom.el (custom-safe-themes, load-theme): Treat value of t for
16774         custom-safe-themes as special.
16776 2011-10-01  Julien Danjou  <julien@danjou.info>
16778         * notifications.el (notifications-notify): Fix docstring.
16780 2011-10-01  Per Starbäck  <per@starback.se>
16782         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
16784 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
16786         * startup.el (command-line-1): Fix last fix by inserting
16787         initial-scratch-message into *scratch* before displaying it.
16788         (Bug#9605) and (Bug#9636)
16790 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
16792         * simple.el (line-move): If auto-hscroll-mode is disabled and the
16793         window is hscrolled, move by logical lines.  (Bug#9607)
16794         (line-move-visual): Update the doc string to the above effect.
16796 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
16798         * window.el (display-buffer-record-window): When WINDOW is the
16799         selected window use `point' instead of `window-point'.  (Bug#9626)
16801         * startup.el (command-line-1): Use insert-before-markers when
16802         inserting initial-scratch-message.  (Bug#9605)
16804         * help.el (help-window): Remove variable.
16806 2011-09-29  Glenn Morris  <rgm@gnu.org>
16808         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16810 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
16812         * descr-text.el (describe-char-categories): Accept category
16813         descriptions more than one line long.
16815 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16817         * simple.el (delete-trailing-whitespace): Fix last change.
16819         * progmodes/perl-mode.el (perl-syntax-propertize-function):
16820         Don't confuse "y => 3" as the beginning of a `y' operation.
16822         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16823         object has more than 4 slots (bug#9613).
16825 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
16827         * subr.el (with-output-to-temp-buffer):
16828         * net/quickurl.el (quickurl, quickurl-browse-url):
16829         Fix typos in docstrings.
16831 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
16833         * minibuffer.el (completion-styles)
16834         (completion-category-overrides): Cross reference each other in doc
16835         strings.
16837 2011-09-27  Glenn Morris  <rgm@gnu.org>
16839         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16840         to split-string.  (Bug#9606)
16842 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16844         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16845         (bug#9615).
16847 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
16849         * emacs-lisp/package.el (list-packages): Fix echo area message.
16851 2011-09-27  Leo Liu  <sdl.web@gmail.com>
16853         * ido.el (ido-read-internal): Accept cons cell HIST arg.
16855 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
16857         * net/dbus.el (dbus-unregister-object): Don't release services for
16858         registered signals.  (Bug#9581)
16860 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
16862         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16863         function that picks between cfengine 2 and 3 support
16864         automatically.  Update docs accordingly.
16866 2011-09-22  Kenichi Handa  <handa@m17n.org>
16868         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16869         ZERO.
16870         (indian-itrans-v5-table-for-tamil): New variable.
16871         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16873 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
16875         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16876         that's true if the current command involved collapsing of text.
16877         It's reset to false at the beginning of the next command.
16878         (allout-post-command-business): Move the cursor to the beginning
16879         of entry if the cursor is hidden and collapsing activity just
16880         happened.
16882 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
16884         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16885         tracking (Bug#9541).
16887 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
16889         * net/newst-reader.el (newsticker-html-renderer)
16890         (newsticker-show-news): Automatically load html rendering package
16891         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
16892         because w3m-fill-column is let-bound" and the error "Symbol's value
16893         as variable is void: w3m-fill-column".
16895 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
16897         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16898         Release services only if they are defined.  (Bug#9581)
16900 2011-09-23  Richard Stallman  <rms@gnu.org>
16902         * textmodes/paragraphs.el (forward-sentence): For backwards case,
16903         distinguish start of paragraph from start of its text.
16905         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16907         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16908         (rmail-generate-viewer-buffer): Put that hook on view buffer.
16909         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16911 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
16913         * international/mule-diag.el (mule-diag): Insert a newline after
16914         each fontset description.
16916 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16918         * simple.el (delete-trailing-whitespace):
16919         Document last change; simplify.
16921 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
16923         * simple.el (delete-trailing-whitespace): Also delete
16924         extra newlines at the end of the buffer.
16926         * textmodes/picture.el: Make motion commands obey shift-select-mode.
16927         (picture-newline): Use forward-line so as to ignore fields.
16929 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16931         * subr.el (with-wrapper-hook): Fix edebug spec.
16933 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16935         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16936         (bug#4538).
16938 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
16940         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16941         Fix nasty bug using wrong cached values.
16943 2011-09-23  Alan Mackenzie  <acm@muc.de>
16945         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16947 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
16949         * window.el (pop-to-buffer): Ensure right window is selected if we
16950         chose another frame.
16952 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
16954         * simple.el (what-cursor-position): Use get-char-property-change
16955         and next-single-char-property-change, to be able to show display
16956         properties that come from overlays as well as text properties.
16958 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
16960         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16962         * cmuscheme.el (run-scheme, switch-to-scheme):
16963         * cus-edit.el (customize-group, custom-buffer-create)
16964         (customize-browse):
16965         * info.el (info):
16966         * shell.el (shell):
16967         * mail/sendmail.el (mail):
16968         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16970 2011-09-22  Richard Stallman  <rms@gnu.org>
16972         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16973         move back only to line beg, don't move back over blank lines.
16975 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
16977         * files.el (copy-directory): Set directory attributes only in case
16978         they could be retrieved from the source directory.  (Bug#9565)
16980 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
16982         * progmodes/hideshow.el (hs-looking-at-block-start-p)
16983         (hs-find-block-beginning, hs-hide-level-recursive):
16984         Ignore strings as well as comments.  (Bug#9502)
16986 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
16988         * progmodes/sql.el (sql-comint-postgres):
16989         Convert port number to a string.  (Bug#9566)
16991 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
16993         * window.el (quit-window): Undedicate window when switching to
16994         previous buffer.  Reported by Thierry Volpiatto
16995         <thierry.volpiatto@gmail.com>.
16996         (special-display-popup-frame): When popping up a new frame reset
16997         its previous buffers to nil.  Simplify code.
16999 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
17001         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17002         and process filter, as done also in `shell-command'.
17004 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
17006         * window.el (set-window-buffer-start-and-point):
17007         Call set-window-start with NOFORCE argument t.
17008         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17009         (quit-window): Reword doc-string.  Handle new format of
17010         quit-restore parameter.  Don't delete window if it has a
17011         previous buffer we can show instead of the present one.
17012         (display-buffer-record-window): Rewrite using a new format for
17013         the quit-restore window parameter
17014         (special-display-popup-frame, display-buffer-same-window)
17015         (display-buffer-reuse-window, display-buffer-pop-up-frame)
17016         (display-buffer-pop-up-window, display-buffer-use-some-window):
17017         Adapt symbol passed to display-buffer-record-window.
17018         * help.el (help-window-setup): Handle new format of quit-restore
17019         parameter.
17021 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17023         * faces.el (face-list): Fix docstring (bug#9564).
17025         * window.el (display-buffer--action-function-custom-type):
17026         Don't include internal functions in the Custom interface.
17028 2011-09-20  Juri Linkov  <juri@jurta.org>
17030         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17031         (Info-forward-node, Info-backward-node, Info-next-preorder)
17032         (Info-last-preorder): Use it.  (Bug#9528)
17034 2011-09-20  Juri Linkov  <juri@jurta.org>
17036         * info.el (Info-last-preorder): Visit last menu item only when
17037         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17039 2011-09-20  Julien Danjou  <julien@danjou.info>
17041         * password-cache.el (password-cache-remove): Remove entries even if the
17042         value is nil, so that password with a nil value (negative caching) is
17043         possible to invalidate.
17045 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
17047         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17048         all whitespace around breakpoint.  (Bug#9553)
17049         (f90-find-breakpoint): Only break at whitespace inside a comment.
17051 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17053         * minibuffer.el (completion-file-name-table): Keep track of errors.
17054         (completion-table-with-predicate): Handle the case where pred1 is nil.
17055         * pcomplete.el (pcomplete-completions-at-point): Simplify.
17057 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17059         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17060         (debugger-return-value): Signal an error if the debugging context does
17061         not await any return value.
17063         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17064         * image-mode.el (image-toggle-display-text)
17065         (image-toggle-display-image): Stay away from evil `intangible'.
17067 2011-09-19  Leo Liu  <sdl.web@gmail.com>
17069         * replace.el (occur-revert-arguments): Make it permanent-local.
17070         (occur-mode): Don't call font-lock-defontify.
17072 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
17074         * net/ldap.el (ldap-search-internal): Don't push empty search
17075         result (Bug#9508).
17077 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17079         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17081 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
17083         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17084         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17086 2011-09-18  Juri Linkov  <juri@jurta.org>
17088         * buff-menu.el (Buffer-menu-mode-map):
17089         * dired.el (dired-mode-map):
17090         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17091         (lisp-interaction-mode-map):
17092         * emacs-lisp/package.el (package-menu-mode-map):
17093         * epa.el (epa-key-list-mode-map):
17094         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17095         (menu-bar-options-menu):
17096         * outline.el (outline-mode-menu-bar-map):
17097         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17098         * vc/vc-dir.el (vc-dir-menu-map):
17099         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17100         Capitalize non-function content words in menu item strings.
17102         * dired.el (dired-mode-map): Add menu item for
17103         `image-dired-dired-toggle-marked-thumbs'.
17105 2011-09-18  Juri Linkov  <juri@jurta.org>
17107         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17108         to `isearch-case-fold-search' and restore its original value
17109         after the `isearch-mode' call.
17111 2011-09-18  Juri Linkov  <juri@jurta.org>
17113         * progmodes/grep.el (grep-process-setup): Don't check code for 1
17114         because `zgrep' returns 1 for successful matches (bug#9226).
17116 2011-09-18  Juri Linkov  <juri@jurta.org>
17118         * info.el (Info-extract-menu-node-name): Check the second match
17119         for empty string (second test-case of bug#9528).
17120         (Info-last-preorder): Let-bind `Info-history' to nil to not add
17121         intermediate nodes to the history (first test-case of bug#9528).
17123 2011-09-18  Juri Linkov  <juri@jurta.org>
17125         * info.el (Info-mode-syntax-table): New variable.
17126         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17128 2011-09-18  Juri Linkov  <juri@jurta.org>
17130         * info.el (Info-file-supports-index-cookies):
17131         Increment line-beginning-position's arg from 3 to 4 because makeinfo
17132         outputs one more line for long file names (bug#4142).
17134 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
17136         * newcomment.el (comment-normalize-vars): If prompting for
17137         comment-start, set comment-start-skip too (Bug#8424).
17139 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
17141         * icomplete.el: Fix previous fix of Bug#5849.
17142         (icomplete-mode): Don't set completion-show-inline-help.
17143         (icomplete-minibuffer-setup): Set completion-show-inline-help
17144         locally during icompletion.
17146 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
17148         * woman.el (woman2-process-escapes): Don't delete unrecognized
17149         escapes (Bug#7843).
17151         * files.el (inhibit-first-line-modes-regexps): Add image files.
17152         (hack-local-variables-prop-line): Return nil for malformed
17153         prop-lines (Bug#9044).
17155 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
17157         * net/tramp.el (top): Don't require 'shell.
17158         (tramp-methods): Fix docstring.
17159         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17160         Return complete remote file name.  Handle "smb" case.
17161         Use `tramp-tmpdir', if defined for the respective method.
17162         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17164         * net/tramp-compat.el (top): Require 'shell.
17166         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17167         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17168         `tramp-current-host'.
17169         (tramp-get-remote-tmpdir): Remove.
17171         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17172         `tramp-tmpdir' entries.
17173         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17174         (tramp-smb-handle-file-attributes): Ignore errors.
17175         (tramp-smb-wait-for-output): Check also for process end.
17177 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17179         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17180         when sending QUIT (bug#9312).
17182 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
17184         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17185         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17186         occur-mode-display-occurrence.
17187         (occur-edit-mode): Add usage message.
17188         (occur-cease-edit): New command.
17189         (occur-after-change-function): Use text properties to find the
17190         position of the prefix text.
17191         (occur-engine): Set stickiness of prefix text properties.
17193 2011-09-17  Glenn Morris  <rgm@gnu.org>
17195         * progmodes/etags.el (complete-tag):
17196         Fix call to completion-in-region.  (Bug#9526)
17198 2011-09-17  Juri Linkov  <juri@jurta.org>
17200         * textmodes/ispell.el (ispell-word): Add to the error message
17201         the word, ispell program name and current dictionary (bug#9121).
17202         (ispell-tex-arg-end): Capitalize "error" in the error message.
17204 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
17206         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17207         check.  (Bug#4251)
17209 2011-09-17  Juri Linkov  <juri@jurta.org>
17211         * window.el (window-safe-min-height, window-safe-min-width):
17212         Fix typos (followup to bug#9522).
17214 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
17216         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17218 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
17220         * simple.el (line-move): If goal-column is set, move by logical
17221         lines, not by display lines.  (Bug#971)
17222         (next-line, previous-line, goal-column, line-move-visual): Doc fix
17223         to reflect the above change.
17225 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17227         * image.el (imagemagick-register-types): Use regexp-opt.
17229 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
17231         * window.el (display-buffer-base-action): Rename from
17232         display-buffer-default-action.  Make default value empty.
17233         (display-buffer-overriding-action): Convert to defvar.
17234         (display-buffer-fallback-action): New var.
17236 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
17238         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17239         declaration.
17240         (package--add-to-archive-contents): If there is a duplicate entry
17241         with an older version, remove it.
17242         (package-menu-mark-delete, package-menu-mark-install)
17243         (package-menu-mark-unmark): Make unused args optional.
17244         (package-menu-mark-obsolete-for-deletion):
17245         Use package-menu-get-status instead of a regexp search.
17246         (package-menu-get-status): Use tabulated-list-entry.
17247         (package-menu-mark-upgrades): New command.
17248         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
17249         (package-menu-execute): Do installation before deletion.
17250         (package-menu-refresh, package-menu-execute): Use derived-mode-p
17251         instead of checking major-mode.
17252         (package-menu--find-upgrades): New function.
17254 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17256         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17257         passwords in the log buffer.
17258         (smtpmail-process-filter): Update the process marker so that the
17259         "broken by peer" status message is inserted in the right place.
17261 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17263         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17264         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17265         bibtex-completion-at-point-function.
17266         (bibtex-completion-at-point-function): Use them.
17268         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17270         * mpc.el (mpc-constraints-tag-lookup): New function.
17271         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17272         also to browser "album|playlist".
17274 2011-09-14  Juri Linkov  <juri@jurta.org>
17276         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
17277         (isearch-edit-string): Use length of `isearch-string' when
17278         `isearch-fail-pos' returns nil.
17279         (isearch-message): Remove duplicate code and call
17280         `isearch-fail-pos' with arg `t'.
17282 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
17284         * replace.el (occur-mode-goto-occurrence): Don't force using other
17285         window (Bug#9499).
17287         * dired-aux.el (dired-do-chmod): Don't provide initial input.
17289 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
17291         * window.el (display-buffer-window): Remove.
17292         (display-buffer-record-window): Use help-setup window parameter
17293         instead of variable display-buffer-window.
17294         (display-buffer-function, special-display-buffer-names)
17295         (special-display-function): Mention help-setup parameter instead
17296         of display-buffer-window in doc-string.
17297         * help.el (help-window-setup): New argument help-window.
17298         Use help-window-setup parameter instead of display-buffer-window.
17299         Reword some messages.
17300         (with-help-window): Pass window used for displaying the buffer
17301         to help-window-setup.  Don't set display-buffer-window.
17303 2011-09-13  Glenn Morris  <rgm@gnu.org>
17305         * emacs-lisp/debug.el (debugger-make-xrefs):
17306         Preserve point.  (Bug#9462)
17308 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
17310         * window.el (window-deletable-p): Use next-frame.
17312 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
17314         * window.el (window-auto-delete): Remove.
17315         (window-deletable-p): Remove argument FORCE.  Don't deal with
17316         dedication and previous buffers.
17317         (switch-to-prev-buffer): Don't delete window.
17318         (delete-windows-on): Delete a window's frame if and only if the
17319         window is dedicated.
17320         (replace-buffer-in-windows): Delete buffer's window or frame if
17321         and only if window is dedicated.
17322         (quit-window): Handle quit-restore as before last change.
17323         (bury-buffer): Delete window only if window-deletable-p returns t.
17325 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
17327         * window.el (window-deletable-p): Never delete the last frame on a
17328         given terminal.
17330 2011-09-13  Glenn Morris  <rgm@gnu.org>
17332         * help.el (describe-key-briefly): Copy previous standard-output change.
17334 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
17336         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
17338 2011-09-13  Glenn Morris  <rgm@gnu.org>
17340         * emacs-lisp/lisp-mode.el (lisp-indent-function):
17341         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17343 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
17345         * dired-aux.el (dired-mark-read-string): Don't return default
17346         value on empty input (Bug#9361).
17347         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17348         Omit initial minibuffer contents.
17349         (dired-do-chmod): Signal an error on empty input.
17350         (dired-mark-read-string): Don't return default on empty input.
17352         * files.el (file-modes-symbolic-to-number): Doc fix.
17354 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17356         * international/mule-cmds.el (ucs-completions): Remove.
17357         (read-char-by-name): Use complete-with-action instead; add metadata.
17359 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
17361         * window.el (display-buffer--action-function-custom-type)
17362         (display-buffer--action-custom-type): New vars.
17363         (display-buffer-alist, display-buffer-default-action)
17364         (display-buffer-overriding-action): Add defcustom types.
17366         * frame.el (delete-other-frames): Doc fix (Bug#276).
17368 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17370         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17372 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
17374         Change modes that used same-window-* vars to use switch-to-buffer.
17376         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17377         Use switch-to-buffer.
17379         * cus-edit.el (customize-group, custom-buffer-create)
17380         (customize-browse, custom-buffer-create-other-window):
17381         Use switch-to-buffer or switch-to-buffer-other-window.
17383         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17384         (Info-prev, Info-up, Info-speedbar-goto-node)
17385         (info-display-manual): Use switch-to-buffer.
17386         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17388         * mail/sendmail.el (mail): Use switch-to-buffer.
17389         (mail-recover): Use switch-to-buffer-other-window.
17391         * cmuscheme.el (run-scheme, switch-to-scheme):
17392         * ielm.el (ielm):
17393         * shell.el (shell):
17394         * net/rlogin.el (rlogin):
17395         * net/telnet.el (telnet, rsh):
17396         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17398 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
17400         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17402 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17404         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17405         so don't mention it (bug#9301).
17406         (dired-sort-toggle-or-edit): Clarify string further.
17408         * faces.el (face-spec-set-match-display): Make `(type graphic)'
17409         match `x', `w32' and `ns', like the manual says (bug#9029).
17411         * subr.el (eval-after-load): Doc string clarification (bug#9125).
17412         (process-kill-buffer-query-function): Mention the buffer name in
17413         the query.
17415         * image-mode.el (image-next-line): The line parameter is mandatory
17416         (bug#9258).
17418         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17419         which can be useful (bug#9301).
17421         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17423         * subr.el (match-string): Mention that the current buffer should
17424         be the same as the search was done in (bug#9282).
17426         * facemenu.el: Disable the remove-* commands if the mark isn't
17427         active (bug#9162).
17429 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
17431         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17432         of display-buffer.
17433         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17435         * replace.el (occur-mode-goto-occurrence)
17436         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17437         and display-buffer.
17439         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17440         display-buffer.
17442         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17443         special-display and same-window variables.
17444         (mail-other-window): Use switch-to-buffer-other-window.
17445         (mail-other-frame): USe switch-to-buffer-other-frame.
17447         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17448         Use display-buffer-other-frame.
17449         (gdb-display-gdb-buffer): Use pop-to-buffer.
17451         * progmodes/gud.el (gud-goto-info): Use info-other-window.
17453         * progmodes/python.el: Don't set same-window-buffer-names.
17455         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17457         * window.el (display-buffer-alist): Add *Python*.
17459 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
17461         * window.el (display-buffer-alist): Add entry for buffers
17462         previously handled same-window-*.
17463         (display-buffer-alist, display-buffer-default-action)
17464         (display-buffer-overriding-action): Mark as risky.
17465         (display-buffer-alist): Document action function changes.
17466         (display-buffer--same-window-action)
17467         (display-buffer--other-frame-action): New variables.
17468         (switch-to-buffer, display-buffer-other-frame): Use them.
17469         (display-buffer): Rename reuse-frame entry to reusable-frames.
17470         (display-buffer-reuse-selected-window): Function deleted.
17471         (display-buffer-reuse-window): Handle reusable-frames alist entry.
17472         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17473         (display-buffer-special): New function.
17474         (display-buffer--maybe-pop-up-frame-or-window): Rename from
17475         display-buffer-reuse-or-pop-window.  Split off special-display
17476         part into display-buffer-special.
17477         (display-buffer-use-some-window): Don't perform any special
17478         pop-up-frames handling.
17479         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17480         (display-buffer--maybe-same-window): Rename from
17481         display-buffer-maybe-same-window.
17483         * info.el: Don't set same-window-regexps.
17484         (info-setup): New function.
17485         (info-other-window, info): Call it.
17487         * cus-edit.el: Don't set same-window-regexps.
17488         (customize-group): New argument.
17489         (customize-group-other-window): Use it.
17490         (customize-face, customize-face-other-window): Likewise.
17491         (custom-buffer-create-other-window): Use pop-to-buffer directly.
17493         * net/rlogin.el:
17494         * net/telnet.el:
17495         * progmodes/gud.el: Don't set same-window-regexps.
17497         * cmuscheme.el:
17498         * ielm.el:
17499         * shell.el:
17500         * mail/sendmail.el:
17501         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17503 2011-09-10  Juri Linkov  <juri@jurta.org>
17505         * isearch.el (isearch-edit-string): Remove obsolete mention of
17506         `C-w' (`isearch-yank-word-or-char') from docstring.
17507         (isearch-query-replace): Fix typo in docstring (bug#9466).
17509 2011-09-10  Juri Linkov  <juri@jurta.org>
17511         * paren.el (show-paren-function): Don't show escaped parens.
17512         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
17514 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
17516         * mail/sendmail.el (mml-to-mime, mml-attach-file)
17517         (mm-default-file-encoding): Remove autoload forms, they are
17518         replaced with autoload cookies in mml.el and mm-encode.el.
17519         (mail-add-attachment): New command.
17520         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17521         (mail-mode): Mention mail-insert-file and mail-add-attachment in
17522         the doc string.
17523         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17525 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
17527         * simple.el (count-words-region): Use buffer if there's no region
17528         (bug#9429).
17530 2011-09-09  Juri Linkov  <juri@jurta.org>
17532         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17533         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17534         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
17536 2011-09-09  Alan Mackenzie  <acm@muc.de>
17538         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17539         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
17541 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
17543         Fix for Savannah bug#9392.
17544         * simple.el (mail-encode-mml): New defvar.
17546         * mail/rmail.el (mail-encode-mml): Add a defvar.
17547         (rmail-enable-mime-composing): Default to t.
17548         (rmail-forward): Use MIME method of forwarding only if both
17549         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17550         Set mail-encode-mml non-nil if the MIME method was used.
17552         * mail/sendmail.el (mml-to-mime): Add autoload form.
17553         (mail-encode-mml): Add a defvar.
17554         (mail-mode): Make mail-encode-mml buffer-local and initialize it
17555         to nil.
17556         (mail-send): If mail-encode-mml is non-nil, run the outgoing
17557         message through mml-to-mime, and reset mail-encode-mml to nil.
17559 2011-09-09  Glenn Morris  <rgm@gnu.org>
17561         * woman.el (woman-if-body): When processing an .el block,
17562         do not delete the next .el block as well.  (Bug#9447)
17563         (woman-special-characters): Add oq, cq, and hy characters.
17565 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
17567         * window.el (window-deletable-p): Make sure window is live before
17568         invoking window-prev-buffers.
17570 2011-09-08  Leo Liu  <sdl.web@gmail.com>
17572         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
17574 2011-09-08  Juri Linkov  <juri@jurta.org>
17576         * progmodes/compile.el (compilation-environment): Make it
17577         a defcustom (bug#8340).
17579 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
17581         * window.el (frame-auto-delete): Rename to window-auto-delete.
17582         Make it control auto-deletion of windows and/or frames.
17583         (window-deletable-p): New argument FORCE.  Rewrite conditions
17584         for deleting window/frame.  (Bug#9419)
17585         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17586         Rewrite handling of case when window/frame can be deleted.
17587         (delete-windows-on): Call window-deletable-p with new FORCE
17588         argument t.  (Bug#9456)
17590 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
17592         * help-mode.el (help-mode): Restore autoload.
17594 2011-09-07  Juri Linkov  <juri@jurta.org>
17596         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17597         `compilation-environment'.  Set buffer-local
17598         `compilation-environment' to `thisenv' later after (funcall mode).
17599         (Bug#8340)
17601         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
17602         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17603         instead of replacing its value.  (Bug#8340)
17605 2011-09-07  Juri Linkov  <juri@jurta.org>
17607         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17608         based on text properties put by `grep-filter' instead of matching
17609         escape sequences.
17610         (grep-mode): Set buffer-local `compilation-error-screen-columns'
17611         to the value of `grep-error-screen-columns' (bug#9438).
17613 2011-09-07  Juri Linkov  <juri@jurta.org>
17615         * simple.el (next-error-highlight, next-error-highlight-no-select):
17616         Doc fix (bug#9432).
17618 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
17620         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17621         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
17623 2011-09-07  Leo Liu  <sdl.web@gmail.com>
17625         * net/rcirc.el (rcirc-mode): Conditionally initialize
17626         rcirc-input-ring.
17628 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17630         * emacs-lisp/find-func.el (find-function-C-source): Only set
17631         find-function-C-source-directory after checking that we found a source
17632         file there (bug#9440).
17634 2011-09-06  Alan Mackenzie  <acm@muc.de>
17636         * isearch.el (isearch-other-meta-char): Wherever a key list is
17637         unread, "unread" the prefix arg, too.  This fixes bug #8901.
17639 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
17641         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17643 2011-09-05  Juri Linkov  <juri@jurta.org>
17645         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17647 2011-09-05  Juri Linkov  <juri@jurta.org>
17649         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17650         keeping point where processing of grep matches begins, and
17651         continue to delete remaining escape sequences from the same point.
17652         (grep-filter): Make leading zero optional in "0?1;31m" because
17653         git-grep emits "\033[1;31m" escape sequences unlike expected
17654         "\033[01;31m" as GNU Grep does (bug#9408).
17655         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17657 2011-09-05  Juri Linkov  <juri@jurta.org>
17659         * subr.el (y-or-n-p): Capitalize "yes".
17661 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
17663         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
17664         `tramp-cache-unload-hook' where appropriate.
17665         (tramp-methods): Rename `tramp-remote-sh' to
17666         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
17667         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17669         * net/tramp-sh.el (top): Don't require 'shell.
17670         (tramp-methods): Add `tramp-remote-shell' and
17671         `tramp-remote-shell-args' entries.
17672         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17673         (tramp-sh-handle-shell-command): Remove.
17674         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17675         Use `tramp-remote-shell'.
17677 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
17679         * mail/sendmail.el (sendmail-query-once-function): Delete.
17680         (sendmail-query-once): Save directly to send-mail-function.
17681         Update message-send-mail-function too.
17683         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17685 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
17687         * progmodes/python.el (python-mode-map): Use correct function to
17688         start python interpreter from menu-bar (as reported by Geert
17689         Kloosterman).
17690         (inferior-python-mode-map): Fix typo.
17691         (python-shell-map): Remove.
17693 2011-09-03  Deniz Dogan  <deniz@dogan.se>
17695         * net/rcirc.el (rcirc-print): Simplify code for
17696         rcirc-scroll-show-maximum-output.  There is no need to walk
17697         through all windows to find the right one.
17699 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
17701         * help.el (help-return-method): Doc fix.
17703 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
17705         * window.el (window-deletable-p): Don't return a non-nil value
17706         when there's a buffer that was shown in the window before.
17707         (Bug#9419)
17708         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17709         Set window's previous buffers to nil.
17711 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
17713         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17714         newline before and after the tag line, so it doesn't interfere
17715         with determining the paragraph direction of bidirectional text.
17717 2011-09-03  Leo Liu  <sdl.web@gmail.com>
17719         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
17721 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
17723         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17724         (pop-to-buffer): Change interactive spec.  Pass second argument
17725         directly to display-buffer.
17726         (display-buffer): Fix interactive spec.  Use functionp to
17727         distinguish between a function and a list of functions.
17729         * abbrev.el (edit-abbrevs):
17730         * arc-mode.el (archive-extract):
17731         * autoinsert.el (auto-insert):
17732         * bookmark.el (bookmark-bmenu-list):
17733         * files.el (find-file):
17734         * view.el (view-buffer):
17735         * progmodes/compile.el (compilation-goto-locus):
17736         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17738 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
17740         * window.el (display-buffer-alist): Doc fix.
17741         (display-buffer): Add docstring.  Don't treat
17742         display-buffer-default specially.
17743         (display-buffer-reuse-selected-window)
17744         (display-buffer-same-window, display-buffer-maybe-same-window)
17745         (display-buffer-reuse-window, display-buffer-pop-up-frame)
17746         (display-buffer-pop-up-window)
17747         (display-buffer-reuse-or-pop-window)
17748         (display-buffer-use-some-window): New functions.
17749         (display-buffer-default-action): Use them.
17750         (display-buffer-default): Delete.
17751         (pop-to-buffer-1): Fix choice of actions.
17753 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17755         * minibuffer.el (completion--insert-strings): Don't get confused by
17756         completion entries that end with an LF char.
17758 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
17760         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17762 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
17764         * window.el (display-buffer): Restore interactive spec.
17765         (display-buffer-same-window, display-buffer-other-window):
17766         New functions.
17767         (pop-to-buffer-1): New function.  Use the above.
17768         (pop-to-buffer, pop-to-buffer-same-window): Use it.
17769         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17771         * view.el (view-buffer-other-window, view-buffer-other-frame):
17772         Just use pop-to-buffer.
17774 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17776         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
17778 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
17780         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
17782 2011-08-31  Richard Stallman  <rms@gnu.org>
17784         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17785         of the separation of rmail-view-buffer from rmail-buffer.
17786         If you say no to "replace original", the decrypt is in the
17787         view buffer.  If you say yes, the decrypt goes into the
17788         rmail buffer also.
17790 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
17792         * window.el (display-buffer-window): Rewrite doc-string.
17793         (display-buffer-record-window): New function.
17794         (display-buffer-macro-specifiers)
17795         (display-buffer-even-window-sizes, display-buffer-set-height)
17796         (display-buffer-set-width, display-buffer-in-window)
17797         (display-buffer-reuse-window, display-buffer-split-specifiers)
17798         (display-buffer-side-specifiers, display-buffer-split-window-1)
17799         (display-buffer-split-window, display-buffer-split-atom-window)
17800         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17801         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17802         (display-buffer-other-window-means-other-frame)
17803         (display-buffer-normalize-special)
17804         (display-buffer-normalize-default)
17805         (display-buffer-normalize-argument)
17806         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17807         (display-buffer-normalize-specifiers, display-buffer-frame)
17808         (display-buffer-same-window, display-buffer-same-frame)
17809         (display-buffer-other-window)
17810         (display-buffer-same-frame-other-window)
17811         (display-buffer-other-frame, pop-to-buffer-same-window)
17812         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17813         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17814         (switch-to-buffer-same-frame)
17815         (switch-to-buffer-other-window-same-frame)
17816         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17817         (display-buffer-alist-set-1, display-buffer-alist-set-2)
17818         (display-buffer-alist-set): Remove.
17819         (display-buffer-function, special-display-buffer-names)
17820         (special-display-regexps, special-display-function):
17821         In doc-string refer to display-buffer-window and quit-restore
17822         parameter.
17823         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17824         (special-display-frame-alist, special-display-popup-frame)
17825         (same-window-buffer-names, same-window-regexps, same-window-p)
17826         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17827         (split-window-preferred-function, split-height-threshold)
17828         (split-width-threshold, window-splittable-p)
17829         (split-window-sensibly, window--try-to-split-window)
17830         (window--frame-usable-p, even-window-heights)
17831         (window--even-window-heights, window--display-buffer-1)
17832         (window--display-buffer-2, display-buffer-other-frame):
17833         Restore old Emacs 23 code, order and doc-strings where applicable.
17834         (display-buffer-default, display-buffer-assq-regexp): New functions.
17835         (display-buffer-alist): Rewrite doc-string.
17836         (display-buffer-default-action)
17837         (display-buffer-overriding-action): New variables.
17838         (display-buffer, switch-to-buffer): Rewrite.
17839         (pop-to-buffer): Restore Emacs 23 behavior but use
17840         window-normalize-buffer-to-display.
17841         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17842         Restore Emacs 23 behavior but use
17843         window-normalize-buffer-to-switch-to.
17844         (pop-to-buffer-same-window): Rewrite.
17845         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17846         Rewrite using Emacs 23 options.
17848 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
17850         * net/tramp.el (tramp-root-regexp): Remove.
17851         (tramp-completion-file-name-regexp-unified)
17852         (tramp-completion-file-name-regexp-separate)
17853         (tramp-completion-file-name-regexp-url): Don't use leading volume
17854         letter on w32 systems.  (Bug#5303, Bug#9311)
17855         (tramp-drop-volume-letter): Simplify definition.
17856         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
17858 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17860         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17861         (bug#9356).
17863 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
17865         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
17867 2011-08-29  Juri Linkov  <juri@jurta.org>
17869         * isearch.el (isearch-done): Don't display message "Mark saved"
17870         when arg `edit' is non-nil to prevent its flicker in the echo area.
17872 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
17874         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17875         obsolete packages for deletion.
17877 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
17879         * help-mode.el (help-mode-map): Add special-mode-map to parent.
17880         (help-mode): Derive help-mode from special-mode.  Don't invoke
17881         view-mode from help-mode.
17882         (help-xref-override-view-map): Remove.
17883         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17884         view-mode is not used anymore.
17886 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
17888         * server.el (server-port): Doc fix.
17890         * cus-theme.el (custom-theme-choose-mode): Inherit from
17891         special-mode (Bug#9124).
17892         (custom-theme-choose-mode-map): Add special-mode to parent.
17894 2011-08-28  Alan Mackenzie  <acm@muc.de>
17896         * progmodes/cc-fonts.el
17897         (c-make-font-lock-BO-decl-search-function): New function.
17898         (c-basic-matchers-after - "Fontify the clauses after various
17899         keywords"): Extract the three keyword lists for the 3 erroneous
17900         constructs from the list of four, and use the new function above
17901         in place of an old one.
17903 2011-08-28  Deniz Dogan  <deniz@dogan.se>
17905         * net/rcirc.el (rcirc-insert-prev-input)
17906         (rcirc-insert-next-input): Remove unused argument.
17908 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17910         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17912 2011-08-27  Alan Mackenzie  <acm@muc.de>
17914         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17915         handle function pointer parameters properly.
17917 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
17919         * window.el (display-buffer-reuse-window): Fix case where
17920         selected window was reused with non-nil OTHER-WINDOW argument.
17921         (Bug#9381)
17923 2011-08-27  Deniz Dogan  <deniz@dogan.se>
17925         * net/rcirc.el (rcirc-check-auth-status): Adding support for
17926         oftc's NickServ messages.
17928 2011-08-27  Glenn Morris  <rgm@gnu.org>
17930         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
17932 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
17934         * emacs-lisp/package.el (package-install): Call package-initialize
17935         if called interactively.
17937 2011-08-26  Leo Liu  <sdl.web@gmail.com>
17939         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
17941 2011-08-25  Juri Linkov  <juri@jurta.org>
17943         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17944         `search-whitespace-regexp' (bug#9364).
17946 2011-08-25  Juri Linkov  <juri@jurta.org>
17948         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17949         `regexp-search-ring' to their global values to protect from
17950         updating by `read-from-minibuffer' (bug#9185).
17952 2011-08-25  Juri Linkov  <juri@jurta.org>
17954         * textmodes/ispell.el (ispell-command-loop): Add newline
17955         at the end of the "Use option `i'..." line.
17957 2011-08-25  Juri Linkov  <juri@jurta.org>
17959         * battery.el (display-battery-mode): If `battery-status-function'
17960         or `battery-mode-line-format' is nil, display the message and set
17961         `display-battery-mode' to nil (bug#9363).
17963 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
17965         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17966         bidi-string-mark-left-to-right; they are unnecessary now.
17968 2011-08-25  Deniz Dogan  <deniz@dogan.se>
17970         * net/quickurl.el: Documentation typo fixes.
17972 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
17974         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17976 2011-08-25  Glenn Morris  <rgm@gnu.org>
17978         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17980         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17981         (smtpmail-via-smtp): Handle nil response from smtp.
17983 2011-08-24  Juri Linkov  <juri@jurta.org>
17985         * proced.el (proced-marked): Inherit from `error' instead of
17986         `font-lock-warning-face'.
17988         * ibuffer.el (ibuffer-marked-face): Change default face from
17989         `font-lock-warning-face' to `warning'.
17990         (ibuffer-deletion-face): Change default face from
17991         `font-lock-type-face' to `error'.
17993         * battery.el (battery-update): Use the face `error' instead of
17994         `font-lock-warning-face' (bug#6117).
17996 2011-08-24  Juri Linkov  <juri@jurta.org>
17998         * faces.el (success): Change face color from "Green3" to
17999         "ForestGreen" on light background (bug#9353).
18001 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
18003         * window.el (quit-window): Rename from quit-restore-window.
18004         Use same arglist as old quit-window.
18005         (frame-auto-delete): Doc fix.
18007         * view.el (view-mode-exit): Use quit-window.
18009 2011-08-24  Juri Linkov  <juri@jurta.org>
18011         * isearch.el (isearch-ring-adjust1): Start visiting previous
18012         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18013         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18014         for empty search string (when the last search string is reused
18015         automatically) to adjust the isearch ring to the last element and
18016         prepare the correct index for further M-p commands (bug#9185).
18018 2011-08-24  Kenichi Handa  <handa@m17n.org>
18020         * international/ucs-normalize.el: If decomposition property of
18021         CHAR is the default one (i.e. a list of CHAR itself), treat it as
18022         nil.
18023         (nfd, nfkd): Likewise.
18025 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18027         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18028         from process filters aren't reliably transmitted to the surrounding
18029         accept-process-output.
18030         (mpc-proc-check): New function.
18031         (mpc-proc-sync): Use it (bug#8293)
18033 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18035         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18036         Add compatibility functions (bug#9313).
18038 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
18040         * cus-start.el (all): Add entry for bidi-paragraph-direction.
18042         * international/uni-bidi.el: Regenerate.
18044 2011-08-23  Kenichi Handa  <handa@m17n.org>
18046         * international/charprop.el:
18047         * international/uni-bidi.el:
18048         * international/uni-category.el:
18049         * international/uni-combining.el:
18050         * international/uni-comment.el:
18051         * international/uni-decimal.el:
18052         * international/uni-decomposition.el:
18053         * international/uni-digit.el:
18054         * international/uni-lowercase.el:
18055         * international/uni-mirrored.el:
18056         * international/uni-name.el:
18057         * international/uni-numeric.el:
18058         * international/uni-old-name.el:
18059         * international/uni-titlecase.el:
18060         * international/uni-uppercase.el: Regenerate.
18062 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
18064         * help.el (help-window-setup): Fix message displayed when other
18065         window is reused.  (Bug#9341)
18067 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18069         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18070         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18072         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18073         Mark obsolete.
18074         * shell.el (shell-parse-pcomplete-arguments): New function.
18075         (shell-completion-vars): Use it instead (bug#9160).
18077 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18079         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18080         strings and comments (bug#9333).
18082         * emacs-lisp/debug.el (debug-arglist): New function.
18083         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
18084         (debug-on-entry-1): Handle interpreted closures (bug#9120).
18086 2011-08-22  Juri Linkov  <juri@jurta.org>
18088         * progmodes/compile.el (compilation-mode-font-lock-keywords):
18089         Revert regexp that highlights output switches to its old
18090         pre-2010-10-28 value and remove one `?' from it (bug#9319).
18092         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18093         to check for empty output (bug#9226).
18095 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
18097         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18098         symbol-constituent as the default, as that stops font-lock from
18099         working properly (Bug#8843).
18101 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18103         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18104         `coding-system-for-*' around the process open call to avoid
18105         auth-source side effects.
18106         (smtpmail-try-auth-methods): Expand the secret password.
18107         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18108         probe hangs.
18110 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
18112         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18114         * emacs-lisp/find-func.el (find-function-noselect): New arg
18115         lisp-only.
18117         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18118         signal an error for built-in functions (Bug#6664).
18120 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18122         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18123         (smtpmail-try-auth-methods): Use it.
18125 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
18127         * font-lock.el (font-lock-fontify-region)
18128         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18129         (font-lock-default-unfontify-buffer)
18130         (font-lock-default-fontify-region)
18131         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18133         * progmodes/compile.el (compilation-error-properties):
18134         Fix confusion between file struct and message struct (Bug#9319).
18135         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18136         `ant' regexp.
18138         * net/browse-url.el (browse-url-firefox): Don't call
18139         browse-url-firefox-sentinel unless using -remote (Bug#9328).
18141 2011-08-20  Glenn Morris  <rgm@gnu.org>
18143         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18145         * tutorial.el (tutorial--default-keys): Update some default bindings.
18147         * files.el (hack-local-variables): Fully ignore case for "mode:".
18149 2011-08-20  Alan Mackenzie  <acm@muc.de>
18151         Resolve invalid use of a regexp in regexp-opt.
18153         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18154         detection for a java annotation.
18156         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18157         detection for a java annotation.
18159         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18160         handling for java.
18161         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18163 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
18165         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18166         (Bug#9274).
18168 2011-08-20  Alan Mackenzie  <acm@muc.de>
18170         Fontify CPP expressions correctly when starting in the middle of
18171         such a construct.  Mainly for when jit-lock etc. starts a chunk
18172         here.
18174         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18175         variable.
18176         (c-make-font-lock-search-form): New function, extracted from
18177         c-make-font-lock-search-function.
18178         (c-make-font-lock-search-function): Use the above function.
18179         (c-make-font-lock-context-search-function): New function.
18180         (c-cpp-matchers): Enhance the preprocessor expression case with
18181         the above function
18182         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18183         which takes an expression.
18185         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18187 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
18189         * window.el (display-buffer-reuse-window)
18190         (display-buffer-pop-up-window): Don't reuse or split a side
18191         window.
18193 2011-08-19  Glenn Morris  <rgm@gnu.org>
18195         * files.el (hack-local-variables-prop-line, hack-local-variables):
18196         Downcase "Mode:".  (Bug#9331)
18198 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
18200         * international/characters.el: Add L and R categories.
18202         * subr.el (bidi-string-mark-left-to-right): Rename from
18203         string-mark-left-to-right.  Use category search.
18205         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18207 2011-08-18  Juri Linkov  <juri@jurta.org>
18209         * faces.el (error, warning, success): New faces with definitions
18210         copied from old default values of `font-lock-warning-face',
18211         `compilation-warning', `compilation-info' (bug#6117).
18213         * font-lock.el (font-lock-warning-face): Inherit from `error'.
18215         * progmodes/compile.el (compilation-error): Inherit from `error'.
18216         (compilation-warning): Inherit from `warning'.
18217         (compilation-info): Inherit from `success'.
18219         * dired.el (dired-marked): Inherit from `warning'.
18220         (dired-flagged): Inherit from `error'.
18222 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18224         * mail/smtpmail.el (auth-source): Require to avoid problems with
18225         binding variables (bug#9298).  Also clean up some unused
18226         autoloads.
18228         * net/network-stream.el (network-stream-open-starttls):
18229         Support using starttls.el without using gnutls-cli.
18231 2011-08-17  Juri Linkov  <juri@jurta.org>
18233         * progmodes/grep.el (rgrep): Handle the case when
18234         `grep-find-command' is a cons cell (bug#9278).
18236 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
18238         * window.el (display-buffer-pop-up-frame): Run frame creation
18239         function with BUFFER current (as special-display-popup-frame
18240         does).  Reported by Drew Adams.
18242 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
18244         * epa-mail.el: Simplify GnuPG group expansion using
18245         epg-expand-group.
18246         (epa-mail-group-alist, epa-mail-group-modtime)
18247         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18248         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18249         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18250         Remove.
18252 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
18254         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18256 2011-08-16  Alan Mackenzie  <acm@muc.de>
18258         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18259         Correct, to avoid the inside of macros.
18261 2011-08-16  Richard Stallman  <rms@gnu.org>
18263         * epa-mail.el: Handle GnuPG group definitions.
18264         (epa-mail-group-alist, epa-mail-group-modtime)
18265         (epa-mail-gnupg-conf-file): New variables.
18266         (epa-mail-parse-groups, epa-mail-sync-groups)
18267         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18268         (epa-mail-expand-recipients): New functions.
18269         (epa-mail-encrypt): Call epa-mail-expand-recipients.
18271         * mail/rmail.el (rmail-epa-decrypt): New command.
18273         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18274         Don't bind buffer-read-only, just inhibit-read-only.
18275         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18276         (epa-decrypt-armor-in-region): Make error message clearer.
18278 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18280         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18281         and "a2b" to "ab" for `prefix'.
18283 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
18285         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18286         filter groups.
18287         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
18288         Fourquet (Bug#8804).
18290 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
18292         * startup.el (argi): Declare as global variable (bug#9275).
18294 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
18296         * subr.el (string-mark-left-to-right): Search the entire string
18297         for RTL script, not just the terminating character.  Doc fix.
18299 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18301         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18302         New function.
18303         (js--regexp-literal, js-syntax-propertize-function): Remove.
18304         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18305         (js-mode-map): Don't rebind electric keys.
18306         (js-insert-and-indent): Remove.
18307         (js-mode): Setup electric-layout and electric-indent instead.
18309         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18311 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
18313         * epa.el (epa-progress-callback-function): Fix the logic of
18314         displaying progress.
18315         * epa-file.el (epa-file-insert-file-contents): Make progress
18316         display more user-friendly.
18317         (epa-file-write-region): Ditto.
18319 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
18321         * subr.el (string-mark-left-to-right): New function.
18323         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18324         Use string-mark-left-to-right.
18325         (list-buffers-noselect): Caller changed.
18327         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18328         Use string-mark-left-to-right.
18329         (tabulated-list-print): Recenter after moving point.
18331 2011-08-10  Juri Linkov  <juri@jurta.org>
18333         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18334         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18335         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18337 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
18339         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18340         (Bug#7554).
18342 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18344         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18345         character.  (Bug#6594)
18347 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
18349         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18350         (image-dired--with-db-file): New macro.
18351         (image-dired-write-tags, image-dired-remove-tag)
18352         (image-dired-create-gallery-lists, image-dired-write-comments)
18353         (image-dired-get-comment, image-dired-mark-tagged-files)
18354         (image-dired-list-tags, image-dired-gallery-generate): Use it.
18355         (image-dired-gallery-generate): Use insert-file-contents.
18357         * time.el (display-time-world-list, display-time-world-display):
18358         * time-stamp.el (time-stamp-string):
18359         * vc/add-log.el (add-change-log-entry): Use setenv instead of
18360         set-time-zone-rule (Bug#7337).
18362 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
18364         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18365         (epg-error-to-string, epg-errors-to-string): New function.
18366         (epg-wait-for-completion): Reverse errors list.
18367         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18368         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18369         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18370         (epg-sign-keys, epg-generate-key-from-file)
18371         (epg-generate-key-from-string): Format errors by using
18372         epg-errors-to-string (bug#9255).
18373         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18375 2011-08-07  Juri Linkov  <juri@jurta.org>
18377         * faces.el (list-faces-display): Remove extra angle bracket
18378         from `help-mode-map'.
18380         * info.el (Info-history-toc-nodes): Doc fix.
18382         * longlines.el (longlines-mode): Doc fix.
18384 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18386         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18387         of statements and in a few more cases (bug#9183).
18389         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18390         New functions.
18391         (cl-transform-lambda): Use them (bug#9239).
18393 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
18395         * window.el (display-buffer-same-window)
18396         (display-buffer-same-frame, display-buffer-other-window)
18397         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18398         (pop-to-buffer-other-window)
18399         (pop-to-buffer-same-frame-other-window)
18400         (pop-to-buffer-other-frame): Make them defuns.
18401         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18403 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18405         * subr.el (make-composed-keymap): Move from C.  Change calling
18406         convention, and improve docstring to bring attention to a subtle point.
18407         * minibuffer.el (completing-read-default): Adjust accordingly.
18409 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
18411         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18412         (tramp-open-shell): Use `tramp-shell-quote-argument'.
18414         * net/trampver.el: Update release number.
18416 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18418         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18419         "in" (bug#9190).
18421 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18423         * mail/sendmail.el (sendmail-query-once): Restore the current
18424         buffer after querying (bug#9074).
18426         * dired.el (dired-flagged): Use different faces for marked and
18427         flagged files (bug#6117).
18429         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18430         (bug#4433).
18432         * ido.el (ido-mode): Switch off the message if called
18433         non-interactively.
18435         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18436         before 587, since it appears that that's more likely to work for
18437         more people.
18439         * cus-edit.el (custom-file): When running under emacs -q, always
18440         refuse to save the customizations, even if the .emacs file doesn't
18441         exist.
18443         * info.el: Remove the `Info-beginning-of-buffer' function
18444         (bug#8325).
18446         * net/network-stream.el (network-stream-open-starttls):
18447         Use `starttls-available-p' to see whether starttls.el can be used.
18449 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
18451         * window.el (display-buffer-in-window): Don't set dedicated status
18452         of window here (Bug#9215).
18453         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18454         (display-buffer-pop-up-side-window)
18455         (display-buffer-in-side-window): Set dedicated status of window here.
18457 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18459         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18460         before binding generated-autoload-file.
18462 2011-08-01  Deniz Dogan  <deniz@dogan.se>
18464         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18466 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
18468         Sync with Tramp 2.2.2.
18470         * net/trampver.el: Update release number.
18472 2011-07-30  Juri Linkov  <juri@jurta.org>
18474         * dired-aux.el (dired-touch-initial): Remove function.
18475         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18476         current time, and `default' to the last modification time of the
18477         current marked file (bug#6887).
18479 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
18481         * simple.el (goto-line): Use string-to-number to provide a
18482         numeric argument to read-number (bug#9163).
18484 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
18486         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18487         connection process, it could be nil.
18489 2011-07-27  Leo Liu  <sdl.web@gmail.com>
18491         Simplify url handling in rcirc-mode.
18493         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18494         (rcirc-browse-url-at-mouse): Remove.
18495         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18497 2011-07-26  Alan Mackenzie  <acm@muc.de>
18499         Fontify bitfield declarations properly.
18501         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18502         (c-symbol-chars): Now exported as a lang variable.
18503         (c-not-primitive-type-keywords): New lang variable.
18505         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18506         QT keyword "more" to prevent "more slots: ...." being spuriously
18507         parsed as a bitfield declaration.
18509         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18510         Refactor and enhance to handle bitfield declarations.
18511         (c-punctuation-in): New function.
18512         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18513         declarations properly.
18515 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
18517         * calendar/icalendar.el (icalendar--all-events): Take care of
18518         multiple vcalendars in a single file.
18519         (icalendar--convert-float-to-ical): Checkdoc fixes.
18521 2011-07-25  Deniz Dogan  <deniz@dogan.se>
18523         * image.el (insert-image): Clarifying docstring.
18525 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
18527         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18528         `tramp-send-command-and-check' if there is no error.
18529         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18531 2011-07-22  Alan Mackenzie  <acm@muc.de>
18533         Prevent cc-langs.elc being loaded at run time.
18535         * progmodes/cc-mode.el: Remove two autoload forms which loaded
18536         cc-langs.
18538         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18539         "(require 'cc-langs)".  Quote a form so it will evaluate at
18540         (cc-mode's) compilation time.
18542 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
18544         * net/tramp.el (tramp-file-name-handler): Avoid recursive
18545         loading.  (Bug#9114)
18547 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
18549         * window.el (display-buffer-pop-up-window)
18550         (display-buffer-pop-up-side-window)
18551         (display-buffer-in-side-window): Call display-buffer-set-height
18552         and display-buffer-set-width after setting the new window's
18553         buffer so `fit-window-to-buffer' and friends work on the right buffer.
18555 2011-07-20  Sam Steingold  <sds@gnu.org>
18557         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18558         (etags-tags-included-tables): Call `convert-standard-filename' on
18559         the file names contained in TAGS so that windows Emacs can handle
18560         TAGS files created by cygwin ctags.
18562 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18564         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18565         which apparently didn't work.
18567 2011-07-19  Roland Winkler  <winkler@gnu.org>
18569         * proced.el (proced-send-signal): For *Marked Processes* buffer
18570         put point at beginning of buffer.
18572 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
18574         * proced.el (proced-format): Make header lines align with the text
18575         (bug#1779).
18577 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18579         * view.el (view-buffer): Allow running in `special' modes if we're
18580         visiting a file (bug#8615).
18582 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
18584         * window.el (display-buffer-alist-of-strings-p)
18585         (display-buffer-alist-set-1, display-buffer-alist-set-2):
18586         New functions.
18587         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18588         more accurately.
18590 2011-07-18  Alan Mackenzie  <acm@muc.de>
18592         Fontify declarators properly when, e.g., a jit-lock chunk begins
18593         inside a declaration.
18595         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18597         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18598         New function.
18599         (c-complex-decl-matchers): Insert reference to
18600         c-font-lock-enclosing-decls.
18602         * progmodes/cc-engine.el (c-backward-single-comment):
18603         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18604         to nil around calls to (forward-comment -1).
18606 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18608         * image.el (put-image): Doc typo fix.
18610         * progmodes/etags.el (tags-search): Doc typo fix.
18612         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18613         password if we get errors 550 to 554.
18615 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18617         * net/gnutls.el (gnutls-log-level): Remove.
18619         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18620         indentation character (bug#6380).
18622         * files.el (buffer-offer-save): Made permanently local (bug#6241).
18624         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18625         to clarify what the problem is (bug#4291).
18627         * simple.el (current-kill): Clarify what
18628         `interprogram-paste-function' does (bug#7500).
18629         (auto-fill-mode): Document `auto-fill-function' in relation to
18630         `auto-fill-mode' (bug#2470).
18632 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
18634         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18635         method if slot is read-only (bug#9035).
18637 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
18639         * frame.el (select-frame-set-input-focus): New argument NORECORD.
18640         * window.el (pop-to-buffer): Select window used even if it was
18641         selected before, see discussion of (Bug#8615), (Bug#6954).
18642         Pass argument NORECORD on to select-frame-set-input-focus.
18644 2011-07-15  Glenn Morris  <rgm@gnu.org>
18646         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
18647         Respect help-form.
18649 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
18651         * net/gnutls.el (gnutls-min-prime-bits): New variable.
18652         (gnutls-negotiate): Use it.
18654 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18656         * net/gnutls.el (gnutls-negotiate):
18657         Upcase `gnutls-algorithm-priority'.
18659 2011-07-15  Glenn Morris  <rgm@gnu.org>
18661         * jka-compr.el (jka-compr-verbose): Move from here...
18662         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
18663         Add missing :version tag.
18664         * info.el: No need to require jka-compr when compiling.
18666 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18668         * net/gnutls.el (gnutls-algorithm-priority): New variable.
18669         (gnutls-negotiate): Use it.
18671         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18673         * info.el (Info-beginning-of-buffer): New command.
18674         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18675         announcing `b' as the key (bug#8325).
18676         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18678         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18680         * international/mule-cmds.el
18681         (describe-specified-language-support): Make the error message
18682         clearer (bug#8905).
18684         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18686         * isearch.el (isearch-barrier): Add a doc string, since it's
18687         mentioned in a function doc string (bug#8678).
18689 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
18691         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18692         buffer argument (Bug#9083) and self-identifying label argument.
18694 2011-07-15  Glenn Morris  <rgm@gnu.org>
18696         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
18698 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18700         * man.el (Man-fontify-manpage): Fix message when formatting the
18701         man page (bug#7929).
18703 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
18705         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18706         argument LRM; if non-nil, append an invisible LRM character to the
18707         buffer name.
18708         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18709         last argument non-nil, when formatting buffer names.
18710         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18711         paragraph direction.
18713 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18715         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18716         the man page name (bug#7929).
18718         * image.el (put-image): Mention the `put-image' overlay property
18719         (bug#7834).
18721         * scroll-bar.el (set-scroll-bar-mode): Mention that
18722         `scroll-bar-mode' lists the values (bug#7772).
18724         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18725         command (bug#7729).
18727         * rect.el (apply-on-rectangle): Return the point after the last
18728         operation.
18729         (string-rectangle): Go to the point after the last operation
18730         (bug#7522).
18732         * printing.el (pr-toggle-region): Clarify the documentation
18733         slightly (bug#7493).
18735         * time.el (display-time-update):
18736         Allow `display-time-mail-function' to return nil (bug#7158).
18737         Fix suggested by Detlev Zundel.
18739         * vc/diff.el (diff): Clarify the order the file names are read
18740         (bug#7111).
18742         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18743         the doc string (bug#7015).
18745         * font-lock.el (font-lock-maximum-decoration): Mention what
18746         numeric levels mean (bug#6935).
18748         * startup.el (initial-buffer-choice): Don't mention the `none'
18749         selection, which is against policy.
18751 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
18753         * window.el (display-buffer-normalize-special):
18754         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18756 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
18758         * subr.el (version<, version<=, version=): Mention "-CVS" and
18759         "-12345" alpha version numbers.
18761 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
18763         * bindings.el: Add advertised binding for set-mark-command
18764         (Bug#5772).
18766 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
18768         * bindings.el (mode-line-other-buffer):
18769         * bookmark.el (bookmark-bmenu-2-window):
18770         * bs.el (bs-cycle-next, bs-cycle-previous):
18771         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18772         switch-to-buffer.
18774         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18775         Delete.
18777 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
18779         * follow.el (follow-debug-message, follow-redisplay):
18780         * jka-cmpr-hook.el (with-auto-compression-mode):
18781         Fix typos in docstrings.
18783 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18785         * subr.el (with-silent-modifications): Clarify somewhat what the
18786         macro inhibits (bug#6525).
18788         * simple.el (eval-expression): Note what it does if called
18789         interactively (bug#6495).
18791 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
18793         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18794         Use pop-to-buffer buffer-or-name if it is nil.
18796         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18797         Remove switch-to-buffer.
18799 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18801         * files.el (make-directory): Clarify that an error will be raised
18802         if there's an error (bug#6397).
18804         * startup.el (initial-buffer-choice): Add `none' as a choice
18805         (bug#6234).
18807         * subr.el (add-hook): Clarify section about buffer-local hooks
18808         (bug#6218).
18810         * dired.el (dired-flagged): Clarify doc string (bug#6117).
18812 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
18814         * tabify.el (untabify): Preserve the current column so that point
18815         doesn't move (bug#6032).
18817 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18819         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18820         Rewrite to avoid awkward possessive "s" (bug#5986).
18822 2011-07-13  Glenn Morris  <rgm@gnu.org>
18824         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
18825         (dired-insert-directory): Give a message the first time
18826         if ls is found not to support --dired.
18828 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18830         * simple.el (toggle-truncate-lines): Clarify what is toggled
18831         (bug#5580).  Text by Drew Adams.
18833 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
18835         * simple.el (blink-matching-open): Make the error message from the
18836         last change less verbose.
18838 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
18840         * font-lock.el (font-lock-comment-face): Use the high contrast
18841         "yellow" color for font-lock-comment-face on low color terminals
18842         using a dark background color (bug#4221).
18844 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18846         * dired.el (dired-insert-set-properties): Make the doc string
18847         reflect what it does now (bug#5325).
18849         * simple.el (blink-matching-open): Say that we were unable to find
18850         the match within the limit, if we're limited (bug#5122).
18852         * international/mule-cmds.el (prefer-coding-system): Add an
18853         example (bug#4869).
18855         * progmodes/etags.el (tags-search): Document `file-list-form'
18856         (bug#4731).
18858 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
18860         * net/browse-url.el (browse-url-default-browser)
18861         (browse-url-browser-function): Make the default browser choice a
18862         bit more logical (bug#4300).  Also clean up the doc string.
18864 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
18866         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18867         binary endings (bug#4440).
18869 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18871         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18872         which can be pretty annoying (bug#8971).
18874         * jka-compr.el (jka-compr-verbose): New variable, and use
18875         throughout (bug#8971).
18877         * info.el (Info-find-file): Fall back on the installation
18878         directory if we can't find the info node anywhere else.
18880 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
18882         * vc/vc.el (vc-revert-file):
18883         Don't set file time-stamp in the past.  (Bug#5181)
18885 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18887         * files.el (after-find-file): Give a better error message when
18888         trying to find a symlink that points to a file that doesn't exist
18889         (bug#4398).
18891         * progmodes/cc-vars.el: Remove (probably) misleading comment
18892         (bug#4396).
18894 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
18896         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18898 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
18900         * mouse-sel.el: Hack restoring functionality, while keeping
18901         compatibility with 2010-07-03 changes to mouse selection.
18902         (mouse-sel-primary-overlay): New var.
18903         (mouse-sel-selection-alist): Use it.
18904         (mouse-sel-mode): Doc fix; remove points that are default features
18905         of mouse.el.
18907 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
18909         * progmodes/compile.el (compilation-error-regexp-alist-alist):
18910         Fix previous fix (bug#2490).
18912 2011-07-12  Roland Winkler  <winkler@gnu.org>
18914         * textmodes/bibtex.el (bibtex-initialize):
18915         Use pop-to-buffer-same-window.
18916         (bibtex-search-entries): Fix interactive call.
18918 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18920         * progmodes/compile.el (compilation-error-regexp-alist-alist):
18921         Fontise bytecomp Error lines more correctly (bug#2490).
18922         Fix suggested by Johan BockgÃ¥rd.
18924         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18926         * dired-x.el (dired-guess-default): Use `delete-dups'.
18928 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
18930         * dired.el (dired-mark-prompt):
18931         * dired-aux.el (dired-read-shell-command): Doc fix.
18933 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18935         * mail/sendmail.el (sendmail-query-once):
18936         Use `customize-save-variable' unconditionally, now that it works under
18937         emacs -Q.
18939         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18941         * cus-edit.el (custom-file): Take an optional no-error variable.
18942         (customize-save-variable): Set the variable, and give a warning if
18943         running under "emacs -q".
18945 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
18947         * loadhist.el (unload-feature-special-hooks):
18948         Add `auto-coding-functions', `fill-nobreak-predicate' and
18949         `find-directory-functions' (bug#5327).
18951 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18953         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18955         * cus-edit.el (custom-guess-name-alist): -alist variables should
18956         use the `alist' type (bug#3120).  Suggested by Drew Adams.
18958         * printing.el: Add documentation to all the `pr-toggle-' commands.
18960 2011-07-11  Leo Liu  <sdl.web@gmail.com>
18962         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18963         backends where it makes sense (bug#2623).
18965 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18967         * dired-x.el (dired-guess-default): Remove duplicate shell command
18968         entries (bug#2028).
18969         (dired-guess-default): Fix grammar in doc string (bug#2028).
18970         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
18972         * subr.el (remove-duplicates): New conveniency function.
18974 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18976         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18977         (bug#1526).
18979 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
18981         * window.el (display-buffer-normalize-default): Don't invert
18982         meaning of even-window-heights.  Reported by Eli Zaretskii
18983         <eliz@gnu.org>.
18985 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
18987         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18989 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
18991         * window.el (display-buffer): Fix arguments to
18992         display-buffer-reuse-window in last change.
18994         * faces.el (link): Use a less saturated blue on light backgrounds.
18996         * startup.el (fancy-startup-text, fancy-about-text)
18997         (fancy-startup-tail): Use font-lock faces, for background safety.
18999 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
19001         * emulation/viper-cmd.el (viper-change-state-to-vi):
19002         Limit triggering of abbrev expansion (Bug#9038).
19004 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
19006         * window.el (display-buffer-default-specifiers): Remove.
19007         (display-buffer-macro-specifiers): Remove default specifiers.
19008         (display-buffer-alist): Default to nil.
19009         (display-buffer-reuse-window): New optional argument other-window.
19010         (display-buffer-pop-up-window): Allow splitting internal
19011         windows.  Check whether a live window was created.
19012         (display-buffer-other-window-means-other-frame)
19013         (display-buffer-normalize-arguments): Rename to
19014         display-buffer-normalize-argument and rewrite.  Set the
19015         other-window specifier.
19016         (display-buffer-normalize-special): New function.
19017         (display-buffer-normalize-options): Rename to
19018         display-buffer-normalize-default and rewrite.
19019         (display-buffer-normalize-options-inhibit): Remove.
19020         (display-buffer-normalize-specifiers): Rewrite.
19021         (display-buffer): Process other-window specifier and call
19022         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
19023         more faithfully.
19024         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19025         (display-buffer-alist-set): Don't handle 'unset default values.
19026         (display-buffer-in-window, display-buffer-alist-set):
19027         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
19028         <tassilo@member.fsf.org>.
19030 2011-07-09  Leo Liu  <sdl.web@gmail.com>
19032         * register.el (insert-register): Restore accidental change on
19033         2011-06-26.  (Bug#9028)
19035 2011-07-09  Glenn Morris  <rgm@gnu.org>
19037         * subr.el (remq): Handle the empty list.  (Bug#9024)
19039 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
19041         * mail/sendmail.el (send-mail-function): No longer delay custom
19042         initialization.
19043         * custom.el (custom-initialize-delay): Doc fix.
19045 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19047         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19049 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
19051         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19052         human-friendly prompt.
19054 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19056         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19057         provided by a particular plugin.
19059 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19061         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19062         save customizations (with "emacs -Q"), just set the variable
19063         instead of erroring out.
19065         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19067 2011-07-08  Juri Linkov  <juri@jurta.org>
19069         * arc-mode.el (archive-zip-expunge, archive-zip-update)
19070         (archive-zip-update-case): Use 7z if found by `executable-find'.
19071         The order of searching the available programs is the same as in
19072         `archive-zip-extract' (bug#8968).
19074 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
19076         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19077         (menu-bar-options-menu): Tweak descriptions.
19079 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19081         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19082         menu items into verb phrases (bug#1421).  Also refill to fit under
19083         80 columns.
19085 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
19087         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19088         (Info-read-node-name): Doc fix (Bug#1084).
19090         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19091         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19092         (end-of-sexp, beginning-of-sexp)
19093         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19094         (forward-symbol, forward-same-syntax, word-at-point)
19095         (sentence-at-point): Doc fix (Bug#1144).
19097 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19099         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19100         should cover it (bug#1281).
19102         * cus-edit.el (custom-show): Mark as obsolete.
19104         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19105         negotiation fails, then possibly try again with a non-encrypted
19106         connection (bug#9017).
19108         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19109         be used.
19111 2011-07-07  Richard Stallman  <rms@gnu.org>
19113         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19114         property, and handle its changed format.
19115         Look for the correct line number.
19116         Use file's line contents (but not past first =) to find
19117         correct line in message.
19119 2011-07-07  Kenichi Handa  <handa@m17n.org>
19121         * international/characters.el (build-unicode-category-table):
19122         Delete it.
19123         (unicode-category-table): Set it by unicode-property-table-internal.
19125         * international/mule-cmds.el (char-code-property-alist): Move to
19126         to src/chartab.c.
19127         (get-char-code-property): Call unicode-property-table-internal to
19128         load a file.  Call get-unicode-property-internal where necessary.
19129         (put-char-code-property): Call unicode-property-table-internal to
19130         load a file.  Call put-unicode-property-internal where necessary.
19131         put-unicode-property-internal where necessary.
19132         (char-code-property-description):
19133         Call unicode-property-table-internal to load a file.
19135         * international/charprop.el:
19136         * international/uni-bidi.el:
19137         * international/uni-category.el:
19138         * international/uni-combining.el:
19139         * international/uni-comment.el:
19140         * international/uni-decimal.el:
19141         * international/uni-decomposition.el:
19142         * international/uni-digit.el:
19143         * international/uni-lowercase.el:
19144         * international/uni-mirrored.el:
19145         * international/uni-name.el:
19146         * international/uni-numeric.el:
19147         * international/uni-old-name.el:
19148         * international/uni-titlecase.el:
19149         * international/uni-uppercase.el: Regenerate.
19151         * loadup.el: Load international/charprop.el before
19152         international/characters.
19154 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
19156         * window.el (next-buffer, previous-buffer): Signal an error if
19157         called from a minibuffer window.
19159         * bindings.el: Revert 2011-07-04 change.
19161 2011-07-06  Richard Stallman  <rms@gnu.org>
19163         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19164         (rmail-mime-insert-bulk, rmail-mime-insert-text):
19165         Treat markers like ints.
19166         (rmail-mime-entity): Doc fix.
19168 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19170         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19171         defcustom again for backwards compatibility.
19173         * simple.el (shell-command-on-region): Fill.
19175         * dired-aux.el (dired-kill-line): Add a doc string.
19177         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19178         to "\\sw\\|\\s_" (bug#358).
19180         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19181         (dired-unmark-backward): Ditto.
19182         (dired-flag-backup-files): Ditto.
19184         * dired-x.el (dired-mark-sexp): Ditto.
19186 2011-07-06  Richard Stallman  <rms@gnu.org>
19188         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19189         (rmail-mime-entity): New arg TRUNCATED.
19190         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19191         New functions.
19192         (rmail-mime-save): Warn if entity is truncated.
19193         (rmail-mime-toggle-hidden): Likewise, for showing.
19194         (rmail-mime-process-multipart): Record when an entity is truncated.
19196         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19197         if ENTITY is a string.
19199 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19201         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19202         of faces when `M-C-x'-ing their definitions (bug#8378).
19203         Also clean up the code slightly.
19205         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19206         because that makes the colors go away.
19208         * mail/sendmail.el (send-mail-function): Change the default to
19209         `sendmail-query-once'.
19210         (sendmail-query-once): Add an autoload cookie.
19212         * net/network-stream.el (network-stream-open-starttls): Try using
19213         a plain connection even if the server offered STARTTLS, and we
19214         kinda wanted to use it, if Emacs doesn't have any STARTTLS
19215         capability.  This should make smtpmail.el work in slightly more
19216         configurations.
19218 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
19220         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19221         New defun.
19222         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19224 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
19226         * progmodes/sql.el: Version 3.0
19227         (sql-product-alist): Add product :completion-object,
19228         :completion-column, and :statement attributes.
19229         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19230         (sql-mode-syntax-table): Mark all punctuation.
19231         (sql-font-lock-keywords-builder): Temporarily remove fallback on
19232         ansi keywords.
19233         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19234         (sql-mode-oracle-font-lock-keywords): Improve.
19235         (sql-oracle-show-reserved-words): New function for development.
19236         (sql-product-font-lock): Simplify for source code buffers.
19237         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19238         New functions.
19239         (sql-highlight-product): Set product specific syntax table.
19240         (sql-mode-map): Add statement movement functions.
19241         (sql-ansi-statement-starters, sql-oracle-statement-starters):
19242         New variable.
19243         (sql-statement-regexp, sql-beginning-of-statement)
19244         (sql-end-of-statement, sql-signum): New functions.
19245         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19246         (sql-show-sqli-buffer): Bug fix.
19247         (sql-interactive-mode): Store connection data as buffer local.
19248         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
19249         with sql-interactive-mode.
19250         (sql-save-connection): Save buffer local settings.
19251         (sql-connection-menu-filter): Change menu entry name.
19252         (sql-product-interactive): Bug fix.
19253         (sql-preoutput-hold): New variable.
19254         (sql-interactive-remove-continuation-prompt): Bug fixes.
19255         (sql-debug-redirect): New variable.
19256         (sql-str-literal): New function.
19257         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19258         Redesign.
19259         (sql-oracle-save-settings, sql-oracle-restore-settings)
19260         (sql-oracle-list-all, sql-oracle-list-table): New functions.
19261         (sql-completion-object, sql-completion-column)
19262         (sql-completion-sqlbuf): New variables.
19263         (sql-build-completions-1, sql-build-completions)
19264         (sql-try-completion): New functions.
19265         (sql-read-table-name): Use them.
19266         (sql-contains-names): New buffer local variable.
19267         (sql-list-all, sql-list-table): Use it.
19268         (sql-oracle-completion-types): New variable.
19269         (sql-oracle-completion-object, sql-sqlite-completion-object)
19270         (sql-postgres-completion-object): New functions.
19272 2011-07-06  Glenn Morris  <rgm@gnu.org>
19274         * window.el (pop-to-buffer): Doc fix.
19276 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
19278         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19280 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
19282         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19284         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19286 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
19288         * button.el (button): Inherit from link face.  Suggested by Dan
19289         Nicolaescu.
19291 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19293         * progmodes/gdb-mi.el: Fit in 80 columns.
19294         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19295         switch-to-buffer.
19297         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19298         if imenu is simply not configured (bug#8941).
19300 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
19302         * allout.el (allout-post-undo-hook): New allout outline-change
19303         event hook to signal undo activity.
19304         (allout-post-command-business): Run allout-post-undo-hook if an
19305         undo just occurred.
19306         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19307         * allout-widgets.el (allout-widgets-after-undo-function):
19308         Ensure the integrity of the current item's decoration after it has been
19309         in the vicinity of an undo.
19310         (allout-widgets-mode): Include allout-widgets-after-undo-function
19311         on the new allout-post-undo-hook.
19313 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19315         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19316         Let define-derived-mode define it.
19317         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19318         cycles of abbrev-table inheritance (bug#8998).
19320 2011-07-05  Roland Winkler  <winkler@gnu.org>
19322         * textmodes/bibtex.el: Add support for biblatex.
19323         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19324         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19325         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19326         (bibtex-entry-alist, bibtex-field-alist): New variables.
19327         (bibtex-entry-field-alist): Obsolete alias for
19328         bibtex-BibTeX-entry-alist.
19329         (bibtex-entry-alist, bibtex-field-alist): New widgets.
19330         (bibtex-set-dialect): New command.
19331         (bibtex-entry-type, bibtex-entry-head)
19332         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19333         Bind via bibtex-set-dialect.
19334         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19335         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19336         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19337         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19338         Define via bibtex-set-dialect.
19339         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19340         Obey bibtex-no-opt-remove-re.
19341         (bibtex-vec-push, bibtex-vec-incr): New functions.
19342         (bibtex-format-entry, bibtex-field-list)
19343         (bibtex-print-help-message, bibtex-validate)
19344         (bibtex-search-entries): Use new format of bibtex-entry-alist.
19346 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19348         * progmodes/compile.el (compilation-goto-locus):
19349         * net/tramp-cmds.el (tramp-append-tramp-buffers):
19350         * bs.el (bs-cycle-next, bs-cycle-previous):
19351         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19352         * bindings.el (mode-line-other-buffer):
19353         * autoinsert.el (auto-insert):
19354         * arc-mode.el (archive-extract):
19355         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19357 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
19359         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19360         Fix check of `emacs-lock-unlockable-modes'.
19361         Coerce true values of `emacs-lock--try-unlocking' to t.
19363 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
19365         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19366         * emacs-lock.el: New file.
19368 2011-07-05  Julien Danjou  <julien@danjou.info>
19370         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19371         than `boundp' to check if face is set.
19373 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
19375         * register.el (registerv-make):
19376         * window.el (window-min-height): Fix typos in docstrings.
19378 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
19380         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19381         Update doc string.
19383 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
19385         * server.el (server-execute): Catch quit and call
19386         `server-return-error' to pass the error back to emacsclient and
19387         close the connection (bug#8942).
19389 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
19391         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19392         insecure exception for current topic.  Also note that auto-saves
19393         are handled differently.
19395         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19396         State variables for tracking auto-save inhibition situation.
19398         (allout-write-contents-hook-handler): Rename from
19399         'allout-write-file-hook-handler', and describe how it depends on
19400         write-contents-functions sensitivity to non-nil value to prevent
19401         file write.
19403         (allout-auto-save-hook-handler): Remove.  auto-save does not check
19404         this in individual buffers, only in the starting buffer, so this
19405         is not the right way for us to inhibit auto-save in a buffer
19406         according to its condition.
19408         (allout-mode): Use new allout-write-contents-hook-handler, and
19409         only with write-contents-functions.  Remove auto-save provisions -
19410         they're implemented elsewhere.
19412         (allout-before-change-handler): If undo is in progress, note that
19413         for attention of allout-post-command-business.
19415         (allout-post-command-business): If the command we're following was
19416         an undo, check for change in the status of encrypted items and
19417         adjust auto-save inhibitions accordingly.
19419         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19420         according to whether there are or aren't any plain-text topics
19421         pending encryption.
19423         (allout-inhibit-auto-save-info-for-decryption):
19424         Adjust buffer-saved-size and some allout state to inhibit auto-saves
19425         if there are plain-text topics pending encryption.
19427         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19428         buffer-saved-size and some allout state to not inhibit auto-saves
19429         if there are no longer any plain-text topics pending encryption.
19431         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19432         No longer provide for exemption of the current topic.
19434 2011-07-04  Juri Linkov  <juri@jurta.org>
19436         Add 7z operations to delete and save changed members (bug#8968).
19437         * arc-mode.el (archive-7z-expunge, archive-7z-update):
19438         New defcustoms.
19439         (archive-7z-write-file-member): New function.
19440         (archive-7z-summarize): Fix the number of dashes in the
19441         listing output.
19443 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19445         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19446         (bug#8958).
19448 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
19450         * bindings.el: Ignore next-buffer and previous-buffer in
19451         minibuffer-local-map.
19453         * font-lock.el (font-lock-builtin-face): Change light background
19454         color to dark slate blue (Bug#6693).
19456 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
19458         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19460 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19462         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19463         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19464         Add switch-to-buffer.
19466 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19468         * isearch.el (isearch-search-fun-function): Clarify further the
19469         meaning of the function returned.
19471 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
19473         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19475         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19476         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19477         Use it.
19478         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
19479         `tramp-default-remote-path' does not exist.
19480         (tramp-send-command-and-read): New optional argument NOERROR.
19481         (tramp-open-connection-setup-interactive-shell)
19482         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19483         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19484         (tramp-process-sentinel): Flush also process' connection property.
19485         (tramp-sh-handle-start-file-process): Do not set process
19486         sentinel.  It is done now ...
19487         (tramp-maybe-open-connection): ... here.  (Bug#8929)
19489 2011-07-04  MON KEY  <monkey@sandpframing.com>
19491         * play/animate.el (animate-string): Doc fixes and allow changing
19492         the buffer name (bug#5417).
19494 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19496         * play/animate.el (animation-buffer-name): Rename from *animate*.
19498 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
19500         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19501         This is simpler and helps future-proof the code.
19502         (timer-until): Use time-subtract and float-time.
19503         (timer--time-less-p): Use time-less-p.
19505 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
19507         * type-break.el (timep): Use the value of `float-time' to avoid a
19508         byte-compiler warning.
19510         * server.el (server-eval-and-print): Return any result, even nil.
19512 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
19514         * type-break.el: Accept time formats that the builtins accept.
19515         (timep, type-break-time-difference): Accept any format that
19516         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19517         This is simpler and helps future-proof the code.
19518         (type-break-time-difference): Round rather than ignoring
19519         subseconds components.
19521 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19523         * info.el (Info-apropos-matches): Make non-interactive, since it
19524         doesn't seem to do anything useful as a command (bug#8829).
19526 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
19528         * frame.el (frame-background-mode, frame-set-background-mode):
19529         Move from faces.el.
19530         (frame-default-terminal-background): New function.
19532         * custom.el (custom-push-theme): Don't record faces in `changed'
19533         theme; this doesn't work correctly for per-frame face settings.
19534         (disable-theme): Use face-set-after-frame-default to reset faces.
19535         (custom--frame-color-default): New function.
19537 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19539         * dired.el (dired-flagging-regexp): Remove unused variable
19540         (bug#8769).
19542 2011-03-29  Kevin Ryde  <user42@zip.com.au>
19544         * progmodes/compile.el (compilation-error-regexp-alist-alist):
19545         `perl-Test2' extend to match possible "fail #N" rep count
19546         (bug#8377).
19548 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19550         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19551         `smtpmail-via-smtp' now returns the error instead of nil.
19553         * isearch.el (isearch-search-fun-function): Clarify the doc string
19554         (bug#8101).
19556 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
19558         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19559         unnecessary spaces (bug#8987).
19561 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19563         * net/network-stream.el (open-network-stream): Use the
19564         :end-of-capability command thoughout.
19566 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
19568         * net/network-stream.el (open-network-stream): Add the
19569         :end-of-capability command parameter, used by pop3.el.
19571 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19573         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19575         * fringe.el (fringe-query-style): Remove redundant text " (type ?
19576         for list)" (bug#6475).
19578         * files.el (file-expand-wildcards): Ignore non-readable
19579         sub-directories while trying to find matches instead of signaling
19580         an error (bug#6297).
19582         * man.el (Man-reference-regexp): Allow matching possible
19583         word-wrapped references (bug#6289).
19585         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19586         for consistency with the other vc buffers (bug#6197).
19587         (vc-checkin): Ditto.
19589         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19591         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19593 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19595         * custom.el (defcustom): Clarify that :set is only used in the
19596         Customize user interface (bug#6089).
19598         * progmodes/flymake.el (flymake-mode): If the buffer isn't
19599         associated with a file, refuse to run instead of erroring out
19600         (bug#6084).
19602         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19603         the doc string, since it appears that using `fill-column' always
19604         controls the width (bug#7845).
19606         * simple.el (shell-command-on-region): Say where the error output
19607         went if `shell-command-default-error-buffer' is set (bug#6857).
19609 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
19611         * allout.el (allout-yank-processing): Adjust cursor position for
19612         backwards-deleted space.
19614         (allout-rebullet-heading): Register changes with
19615         allout-exposure-changed-hook, so the modified topic is properly
19616         decorated.
19618 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19620         * minibuffer.el (completion-in-region): Document PREDICATE
19621         (bug#7136).
19623         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19624         of keyword/argument pairs (bug#6904).
19626         * replace.el (multi-occur):
19627         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19629 2011-07-02  Drew Adams  <drew.adams@oracle.com>
19631         * dired.el (dired-mark-if): Make the message about whether it's
19632         marking or unmarking clearer (bug#8523).
19634 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19636         * disp-table.el (display-table-print-array): New function.
19637         (describe-display-table): Use it to print the vectors more pretty
19638         (Bug#8859).
19640 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
19642         * window.el (window-state-get-1): Don't assign clone numbers.
19643         Add clone-of item to list of window parameters.
19644         (window-state-put-2): Don't process clone numbers.
19645         (display-buffer-alist): Fix doc-string.
19647 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19649         * subr.el (remq): Don't allocate if it's not needed.
19650         (keymap--menu-item-binding, keymap--menu-item-with-binding)
19651         (keymap--merge-bindings): New functions.
19652         (keymap-canonicalize): Use them to refine the canonicalization.
19653         * minibuffer.el (minibuffer-local-completion-map)
19654         (minibuffer-local-must-match-map): Move initialization from C.
19655         (minibuffer-local-filename-completion-map): Move initialization from C;
19656         don't inherit from anything here.
19657         (minibuffer-local-filename-must-match-map): Make obsolete.
19658         (completing-read-default): Use make-composed-keymap to combine
19659         minibuffer-local-filename-completion-map with either
19660         minibuffer-local-must-match-map or
19661         minibuffer-local-filename-completion-map.
19663 2011-07-01  Glenn Morris  <rgm@gnu.org>
19665         * type-break.el (type-break-time-sum): Use dolist.
19667         * textmodes/flyspell.el (flyspell-word-search-backward):
19668         Replace CL function.
19670 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19672         * mouse.el (mouse--strip-first-event): New function.
19673         (function-key-map): Use it to map fringe clicks to normal clicks
19674         by default.
19676         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19677         (vc-bzr-revision-completion-table): Add support for annotate and date.
19679         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19680         inherit from parent.
19682 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19684         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19685         (dired-show-file-type): Doc fixup (bug#8818).
19687         * dired.el (dired-mode): Fix up the doc string as suggested by
19688         Drew Adams (bug#8817).
19690         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19691         cookie, since the manual says that it should be possible to add
19692         this function to `find-file-hook' (bug#8709).
19694 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
19696         * progmodes/cfengine.el: Moved all cfengine3.el functionality
19697         here.  Noted Ted Zlatanov as the maintainer.
19698         (cfengine-common-settings, cfengine-common-syntax): New functions
19699         to set up common things between `cfengine-mode' and
19700         `cfengine3-mode'.
19701         (cfengine3-mode): New mode.
19702         (cfengine3-defuns cfengine3-defuns-regex
19703         (cfengine3-class-selector-regex cfengine3-category-regex)
19704         (cfengine3-vartypes cfengine3-font-lock-keywords)
19705         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19706         (cfengine3-indent-line): Add from cfengine3.el.
19708 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
19710         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19712         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19714 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
19716         * window.el (same-window-buffer-names, same-window-regexps)
19717         (same-window-p, special-display-frame-alist)
19718         (special-display-popup-frame, special-display-function)
19719         (special-display-buffer-names, special-display-regexps)
19720         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19721         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19722         (split-window-preferred-function, split-height-threshold)
19723         (split-width-threshold, even-window-heights)
19724         (display-buffer-mark-dedicated, window-splittable-p)
19725         (split-window-sensibly, window-safely-shrinkable-p):
19726         Un-obsolete.
19727         (display-buffer): Don't spread args with function specifier
19728         because special-display-popup-frame won't like it.
19730 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
19732         Time-stamp simplifications and fixes.
19733         These improve accuracy slightly, and future-proof the code
19734         against some potential changes to current-time format.
19736         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19737         by using time-since and float-time.
19739         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19740         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
19741         + NNN microseconds".
19743         * type-break.el (type-break-time-sum): Rewrite using time-add.
19745         * play/hanoi.el (hanoi-current-time-float): Remove.
19746         All uses replaced by float-time.
19748         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19749         This yields a more-accurate answer.
19750         (rng-time-to-float): Remove; no longer needed.
19752         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19754         * calendar/timeclock.el (timeclock-seconds-to-time):
19755         Defalias to seconds-to-time, since they're the same thing.
19757         * emacs-lisp/elp.el (elp-elapsed-time):
19758         * emacs-lisp/benchmark.el (benchmark-elapse):
19759         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19761 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19763         * window.el (bury-buffer): Don't iconify the only frame.
19764         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19765         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
19767 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
19769         * eshell/em-smart.el (eshell-smart-display-navigate-list):
19770         Add mouse-yank-primary.
19772 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
19774         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19776 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19778         * emacs-lisp/find-func.el (find-library--load-name): New fun.
19779         (find-library-name): Use it to find relative load names when provided
19780         absolute file name (bug#8803).
19782 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19784         * textmodes/flyspell.el (flyspell-word): Consider words that
19785         differ only in case as potential doublons (bug#5687).
19787         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19788         Remove two rather uninteresting debugging-like messages to make
19789         debbugs.el more silent.
19791         * comint.el (comint-password-prompt-regexp): Accept "Response" as
19792         a password-like phrase.
19794 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
19796         * progmodes/cc-guess.el: New file.
19798         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19800         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19801         derived from `c-basic-common-init'.
19803         * progmodes/cc-mode.el (top-level): Require cc-guess.
19804         (c-basic-common-init): Use `cc-choose-style-for-mode'.
19806 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
19808         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19810 2011-06-30  Alan Mackenzie  <acm@muc.de>
19812         * progmodes/cc-engine.el (c-guess-continued-construct):
19813         Correct the handling of template-args-cont, particularly for when font
19814         lock is disabled.  Name this case as "CASE G".
19816 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
19818         * allout.el (allout-yank-processing): Fix injection of extra space
19819         between bullet and non-whitespace character in first topic when
19820         pasting, ensuring that the actual spacing in the pasted topic
19821         following the bullet char is preserved.  This extra space was
19822         causing pasted encrypted topics to get a decrypted status even
19823         when the content was actually still encrypted.  Now the decryption
19824         status from before the paste is preserved.
19826         (allout-flag-region): Set all allout overlays so they evaporate
19827         when reduced to zero length (evanescent), to prevent overlay
19828         leakage.
19830 2011-06-30  Glenn Morris  <rgm@gnu.org>
19832         * w32-fns.el (w32-charset-info-alist): Declare.
19834         * find-dired.el (find-grep-options): Simplify.
19836         * term/ns-win.el (ns-set-resource): Declare.
19838         * ses.el (row, col): Declare dynamic variables honestly.
19840         * textmodes/reftex-parse.el (index-tags): Declare.
19842 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
19844         * cus-edit.el (customize-push-and-save): New function.
19846         * files.el (hack-local-variables-confirm): Use it.
19848         * custom.el (load-theme): New arg NO-CONFIRM.
19849         Use customize-push-and-save (Bug#8720).
19850         (custom-enabled-themes): Doc fix.
19852         * cus-theme.el (customize-create-theme)
19853         (custom-theme-merge-theme): Callers to load-theme changed.
19855 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19857         * thingatpt.el (thing-at-point-short-url-regexp): Require that
19858         short URLs have at least one dot in them (bug #7614).
19860         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19861         nil, because using a pty is apparently too slow (bug #895).
19863 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19865         * mail/sendmail.el (sendmail-query-once): New function.
19866         (sendmail-query-once-function): New variable.
19868 2011-06-29  Glenn Morris  <rgm@gnu.org>
19870         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19872         * ses.el (top-level): Require cl when compiling.
19873         (ses-set-localvars): Fix error statement.
19874         Call it at compile time to silence a storm of warnings.
19876 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
19878         * window.el (normalize-live-buffer): Rename to
19879         window-normalize-buffer.
19880         (normalize-live-frame): Rename to window-normalize-frame.
19881         (normalize-any-window): Rename to window-normalize-any-window.
19882         (normalize-live-window): Rename to window-normalize-live-window.
19883         (make-window-atom): Rename to window-make-atom.
19884         (window-resize-reset): Rename to window--resize-reset.
19885         (window-resize-reset-1): Rename to window--resize-reset-1.
19886         (resize-mini-window): Rename to window--resize-mini-window.
19887         (resize-subwindows-skip-p): Rename to
19888         window--resize-subwindows-skip-p.
19889         (resize-subwindows-normal): Rename to
19890         window--resize-subwindows-normal.
19891         (resize-subwindows): Rename to window--resize-subwindows.
19892         (resize-other-windows): Rename to window--resize-siblings.
19893         (resize-this-window): Rename to window--resize-this-window.
19894         (resize-root-window): Rename to window--resize-root-window.
19895         (resize-root-window-vertically): Rename to
19896         window--resize-root-window-vertically.
19897         (normalize-buffer-to-display): Rename to
19898         window-normalize-buffer-to-display.
19899         (normalize-buffer-to-switch-to): Rename to
19900         window-normalize-buffer-to-switch-to.
19901         Correspondingly update all callers of the functions listed
19902         above.
19903         (display-buffer-alist, display-buffer-normalize-arguments)
19904         (display-buffer-normalize-options, display-buffer)
19905         (display-buffer-alist-set): Use "function" instead of
19906         "fun-with-args".
19908 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
19910         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19911         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
19912         debbugs.gnu.org.  Mention acknowledgment email.
19914 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19916         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19917         buffer multibyteness, since it shouldn't matter.
19919 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
19921         * window.el (display-buffer-in-side-window): Handle dedicated
19922         windows as in display-buffer-reuse-window.
19923         (display-buffer-normalize-alist): Use value of override
19924         specifier.
19925         (display-buffer-normalize-specifiers): Use value of
19926         other-window-means-other-frame specifier.
19927         (display-buffer-alist): Rewrite some texts in widgets.
19928         (display-buffer): Spread arguments when calling function
19929         specified by fun-with-args.
19931 2011-06-28  Deniz Dogan  <deniz@dogan.se>
19933         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19934         Unnest `let'.
19936         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19937         selectors (Bug#5732).
19938         (css-proprietary-nmstart-re): Use `regexp-opt'.
19940 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
19942         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19943         (eshell-ls-date-format): New defcustom.
19944         (eshell-ls-file): Use it.
19946 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19948         * help-fns.el (describe-variable): Fix message for terminal-local vars.
19950 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
19952         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19953         (ange-ftp-make-tmp-name): New arg.
19954         (ange-ftp-file-local-copy): Use it.
19956 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
19958         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19959         no-conversion (Bug#8870).
19961 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
19963         * window.el (window-right, window-left, window-child)
19964         (window-child-count, window-last-child)
19965         (window-iso-combination-p, walk-window-tree-1)
19966         (window-atom-check-1, window-tree-1, delete-window)
19967         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19968         new naming conventions - window-vchild, window-hchild,
19969         window-next and window-prev are now called window-top-child,
19970         window-left-child, window-next-sibling and window-prev-sibling
19971         respectively.
19972         (resize-window-reset): Rename to window-resize-reset.
19973         (resize-window-reset-1): Rename to window-resize-reset-1.
19974         (resize-window): Rename to window-resize.
19975         (window-min-height, window-min-width)
19976         (resize-mini-window, resize-this-window, resize-root-window)
19977         (resize-root-window-vertically, adjust-window-trailing-edge)
19978         (enlarge-window, shrink-window, maximize-window)
19979         (minimize-window, delete-window, quit-restore-window)
19980         (split-window, balance-windows, balance-windows-area-adjust)
19981         (balance-windows-area, window-state-put-2)
19982         (display-buffer-even-window-sizes, display-buffer-set-height)
19983         (display-buffer-set-width, set-window-text-height)
19984         (fit-window-to-buffer): Rename all "resize-window" prefixed
19985         calls to use the "window-resize" prefix convention.
19986         (display-buffer-alist): Fix symbol for label specifier.
19987         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19988         corresponding specifier.
19989         Reported by Juanma Barranquero <lekktu@gmail.com>.
19991 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19993         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19994         convention.
19995         (ses-call-printer): Does not pass an empty string to formatter when the
19996         cell is empty to keep from barking printer Calc math-format-value.
19998 2011-06-27  Richard Stallman  <rms@gnu.org>
20000         * battery.el (battery-mode-line-limit): New variable.
20001         (battery-update): Handle it.
20003         * mail/rmailmm.el (rmail-mime-process-multipart):
20004         Handle truncated messages.
20006 2011-06-27  Glenn Morris  <rgm@gnu.org>
20008         * progmodes/flymake.el (flymake-err-line-patterns):
20009         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
20011 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
20013         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20014         (ses--clean-!, ses--clean-_): New functions.
20015         (ses-range): Add configurability of readout order, and conversion
20016         to Calc vector.
20018         * ses.el (ses-repair-cell-reference-all): New function.
20019         (ses-cell-symbol): Set macro as safe, so that it can be used in
20020         formulas.
20022         * ses.el: Update cycle detection algorithm.
20023         (ses-localvars): Add ses--Dijkstra-attempt-nb and
20024         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20025         (ses-set-localvars): New function.
20026         (ses-make-cell): Add property-list as a cell element.
20027         (ses-cell-property-get-fun, ses-cell-property-get)
20028         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20029         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20030         New functions.
20031         (ses-cell-property-set, ses-cell-property-pop)
20032         (ses-cell-property-get-handle): New macro.
20033         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20034         New aliases, used for code readability.
20035         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20036         cycle detection.
20037         (ses-self-reference-early-detection): New defcustom.
20038         (ses-formula-references): Robustify against self-referring cells.
20039         (ses-mode): Use ses-set-localvars.
20040         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20041         before lauching the update processing.
20042         (ses-initialize-Dijkstra-attempt): New function.
20043         (ses-recalculate-cell): Update for cycle detection based on
20044         Dijkstra algorithm.
20046         * ses.el: Fix commenting and indenting convention.
20048 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20050         * bs.el (bs-cycle-next): Complete last change.
20052 2011-06-27  Drew Adams  <drew.adams@oracle.com>
20054         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20056 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20058         * net/network-stream.el (network-stream-open-starttls):
20059         Don't re-get capabilities unless we've reestablished connection.
20060         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20062         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20063         to binary to possibly avoid line encoding issues on Windows (among
20064         other things).
20066 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20068         * net/network-stream.el (open-network-stream): Return an :error
20069         saying what the problem was, if possible.
20071         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20072         server.
20074         * net/network-stream.el (network-stream-open-starttls): If we
20075         wanted to use STARTTLS, and the server offered it, but we weren't
20076         able to because we had no STARTTLS support, then close the connection.
20077         (open-network-stream): Return an :error element, if present.
20079 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
20081         * hl-line.el (hl-line-sticky-flag): Doc fix.
20082         (global-hl-line-sticky-flag): New option (Bug#8323).
20083         (global-hl-line-highlight): Obey it.
20085         * vc/vc.el (vc-revert-show-diff): Default to t.
20087 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
20089         * allout-widgets.el (allout-widgets-post-command-business):
20090         Stop decorating intermediate isearch matches.  They're not being
20091         undecorated when an isearch is continued past, and isearch
20092         automatically collapses them.  This leads to "widget leaks", where
20093         decorated items accumulate in collapsed areas.  Lines with lots of
20094         hidden widgets can slow down cursor travel, substantially.
20095         Too much complicated machinery would be needed to ensure undecoration,
20096         so we're doing without this nicety.
20098         (allout-widgets-tally-string): Don't try to do a hash-table-count
20099         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
20100         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20101         *Messages* when allout-widgets-maintain-tally is t.
20103 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
20105         * window.el (display-buffer-normalize-argument): Rename to
20106         display-buffer-normalize-arguments.  Handle special meaning of
20107         LABEL argument.  Respect special-display-function when popping up
20108         a new frame.  Fix code searching for a window showing the buffer
20109         on another frame.
20110         (display-buffer-normalize-specifiers):
20111         Call display-buffer-normalize-arguments.
20112         (display-buffer-in-window): Don't undedicate the window if its
20113         buffer remains the same.
20114         Reported by Drew Adams <drew.adams@oracle.com>.
20115         (display-buffer-alist): Add choice for same-window macro
20116         specfier.
20117         (display-buffer): Mention special meaning of LABEL argument in
20118         doc-string.  Fix quoting.  Don't pop up a new frame even as
20119         fallback.
20121 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
20123         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20124         avoid deleting the current window in some cases (bug#8911).
20126 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
20128         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20129         (Bug#8934)
20131 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20133         * net/network-stream.el (network-stream-open-starttls):
20134         Use built-in TLS support if `gnutls-available-p' is true.
20135         (network-stream-open-tls): Ditto.
20137 2011-06-26  Leo Liu  <sdl.web@gmail.com>
20139         * register.el (registerv): New struct.
20140         (registerv-make): New function.
20141         (jump-to-register, describe-register-1, insert-register):
20142         Support the jump-func, print-func and insert-func slot of a registerv
20143         struct.  (Bug#8415)
20145 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
20147         * vc/vc.el (vc-revert-show-diff): New defcustom.
20148         (vc-diff-internal): New arg specifying diff buffer.
20149         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
20150         reuse an existing *vc-diff* buffer (Bug#8927).
20152         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20154 2011-06-26  Glenn Morris  <rgm@gnu.org>
20156         * progmodes/f90.el (f90-critical-indent): New option.
20157         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20158         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20159         (f90-mode): Doc fix.
20160         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20161         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20162         (f90-beginning-of-block, f90-next-block, f90-indent-region)
20163         (f90-match-end): Handle block, critical.
20165 2011-06-25  Glenn Morris  <rgm@gnu.org>
20167         * calendar/diary-lib.el (diary-included-files): Doc fix.
20168         (diary-include-files): New function, extracted from
20169         diary-include-other-diary-files and diary-mark-included-diary-files.
20170         (diary-include-other-diary-files, diary-mark-included-diary-files):
20171         Just call diary-include-files.
20172         (diary-mark-entries): Reset diary-included-files on first call.
20174         * calendar/diary-lib.el (diary-mark-entries)
20175         (diary-mark-included-diary-files):
20176         Visit included diary-files in temp buffers.
20178         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20179         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20180         (f90-start-block-re, f90-imenu-generic-expression)
20181         (f90-looking-at-program-block-start, f90-no-block-limit):
20182         Add support for submodules.
20184         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20185         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20187 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
20189         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20190         buffer-file-type before setting its value, to avoid disastrous
20191         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
20193 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
20195         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20197         * ses.el (ses-unload-function):
20198         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20200         * proced.el (proced-unload-function):
20201         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20203 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
20205         * server.el (server-create-window-system-frame): Add parameters arg.
20206         (server-process-filter): Doc fix.  Handle frame-parameters.
20208 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
20210         Fix bug#8730, bug#8781.
20212         * loadhist.el (unload--set-major-mode): New function.
20213         (unload-feature): Use it.
20215         * progmodes/python.el (python-after-info-look): Add autoload cookie.
20216         (python-unload-function): New function.
20218 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20220         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20222 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
20224         * net/browse-url.el (browse-url-firefox-program): Add icecat to
20225         the candidates list.
20227 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
20229         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20231 2011-06-23  Richard Stallman  <rms@gnu.org>
20233         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20234         (rmail-variables): Set next-error-move-function.
20235         (rmail-what-message): Take argument POS.
20236         (rmail-next-error-move): New function.
20238 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20240         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20241         messages for adjacent non-terminals.
20243 2011-06-23  Richard Stallman  <rms@gnu.org>
20245         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20246         (rmail-show-message-1): Preserve buffer modified flag.
20247         (rmail-start-mail): Don't specify use of rmail-mail-return;
20248         that's done by mail-bury now.
20249         (rmail-mail-return): Handle arg NEWBUF.
20251 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
20253         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20254         SIZE is a number.
20256 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
20258         * window.el (get-lru-window, get-mru-window)
20259         (get-largest-window): Never return a minibuffer window.
20260         (display-buffer-pop-up-window): Fix a bug that could lead to
20261         reusing the minibuffer window.
20262         (display-buffer): Pass original specifier argument to
20263         display-buffer-function instead of the normalized one.
20264         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20266 2011-06-22  Leo Liu  <sdl.web@gmail.com>
20268         * minibuffer.el (completing-read-function)
20269         (completing-read-default): Move from minibuf.c.
20271 2011-06-22  Richard Stallman  <rms@gnu.org>
20273         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20274         to Rmail even if not started by a special Rmail command.
20276         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20277         Copy the buffer currently showing just one message.
20279 2011-06-22  Roland Winkler  <winkler@gnu.org>
20281         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20282         (bibtex-clean-entry): First delete the old key so that a
20283         customized algorithm for generating the new key does not get
20284         confused by the old key.
20285         (bibtex-url): Obey regexp of first step.
20286         (bibtex-search-entries): Do not use add-to-list with local
20287         list-var.
20289 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20291         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20292         stored a user name, then query for the password first, instead of
20293         waiting for SMTP to give an error message and the trying again.
20295 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
20297         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20298         BUFFER in call-process.
20300 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20302         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20303         QUIT twice.
20304         (smtpmail-try-auth-methods): Require user name and password from
20305         auth-source.
20307 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
20309         * window.el (display-buffer-default-specifiers)
20310         (display-buffer-alist): Remove entries for pop-up-frame-alist.
20311         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20312         (split-window): Normalize SIDE argument (Bug#8916).
20314         * frame.el (pop-up-frame-alist, pop-up-frame-function)
20315         (special-display-frame-alist, special-display-popup-frame):
20316         Remove duplicate declarations.  These are now in window.el.
20318 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20320         * mail/smtpmail.el (smtpmail-via-smtp):
20321         Set :use-starttls-if-possible so that we always use STARTTLS if the
20322         server supports it.  SMTP servers that support STARTTLS commonly
20323         require it.
20325         * net/network-stream.el (network-stream-open-starttls): Support
20326         upgrading to STARTTLS always, even if we don't have built-in support.
20327         (open-network-stream): Add the :always-query-capabilities keyword.
20329         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20330         upgrades with `open-network-stream', and rely solely on
20331         auth-source for all credentials.  Big changes throughout the file,
20332         but in particular:
20333         (smtpmail-auth-credentials): Remove.
20334         (smtpmail-starttls-credentials): Remove.
20335         (smtpmail-via-smtp): Check for servers saying they want AUTH after
20336         MAIL FROM, too.
20338         * net/network-stream.el (network-stream-open-starttls):
20339         Provide support for client certificates both for external and built-in
20340         STARTTLS.
20341         (auth-source): Require.
20342         (open-network-stream): Document the :client-certificate keyword.
20343         (network-stream-certificate): Change cert-cert to cert and
20344         cert-key to key.
20346 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
20348         * net/tramp-cache.el (top): Don't load the persistency file when
20349         "emacs -Q" has been called.
20351 2011-06-21  Tim Harper  <timcharper@gmail.com>
20353         * term/ns-win.el (ns-initialize-window-system):
20354         Set application-specific `ApplePressAndHoldEnabled' system
20355         resource to NO as it is not yet supported by the NS port.
20357 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
20359         * misc.el (list-dynamic-libraries--refresh): Compute header here...
20360         (list-dynamic-libraries): ...not here.
20362 2011-06-21  Leo Liu  <sdl.web@gmail.com>
20364         * subr.el (sha1): Implement sha1 using secure-hash.
20366 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
20368         * window.el (display-buffer-alist): In default value do not
20369         enforce searching a window on any but the selected frame.
20370         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20371         (display-buffer-select-window): Remove function.
20372         (display-buffer-in-window): When a window on another frame gets
20373         reused, do not select it any more but just raise its frame if
20374         necessary (Bug#8851) and (Bug#8856).
20375         (display-buffer-normalize-options): Handle pop-up-frames related
20376         options more faithfully.
20377         (pop-to-buffer): Don't rely on `display-buffer' selecting the
20378         window if it is on another frame.
20379         (display-buffer-alist, display-buffer-default-specifiers):
20380         Don't make new frame unsplittable by default.
20381         (display-buffer-normalize-argument): Fix doc-string typo and use
20382         'same-frame-other-window instead of 'other-window when associating
20383         with display-buffer-macro-specifiers.
20385 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
20387         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20388         New functions.
20389         (5x5-mode-map, 5x5-mode-menu): Bind them.
20390         (5x5-draw-grid): Tweak the solver's rendering.
20392 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20394         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20395         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20397 2011-06-21  Drew Adams  <drew.adams@oracle.com>
20399         * menu-bar.el: Use function variable instead of switch-to-buffer.
20400         (menu-bar-select-buffer-function): New variable.
20401         (menu-bar-update-buffers): Use it (bug#8876).
20403 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20405         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20406         variable's status.
20408 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
20410         * x-dnd.el (x-dnd-version-from-flags)
20411         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20412         and long as number (Bug#8899).
20413         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20415 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20417         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20418         (completion-try-completion, completion-all-completions): Compute the
20419         metadata argument if it's missing; make it optional (bug#8795).
20421         * wid-edit.el: Use lex-bind and move towards completion-at-point.
20422         (widget-complete): Use new :completion-function property.
20423         (widget-completions-at-point): New function.
20424         (default): Use :completion-function instead of :complete.
20425         (widget-default-completions): Rename from widget-default-complete;
20426         Rewrite.
20427         (widget-string-complete, widget-file-complete, widget-color-complete):
20428         Remove functions.
20429         (file, symbol, function, variable, coding-system, color):
20430         * international/mule-cmds.el (default-input-method, charset)
20431         (language-info-custom-alist):
20432         * cus-edit.el (face): Use new property :completions.
20434         * progmodes/pascal.el (pascal-completions-at-point): New function.
20435         (pascal-mode): Use it.
20436         (pascal-mode-map): Use completion-at-point.
20437         (pascal-toggle-completions): Make obsolete.
20438         (pascal-complete-word, pascal-show-completions):
20439         * progmodes/octave-mod.el (octave-complete-symbol):
20440         Redefine as obsolete alias.
20441         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20442         Signal absence of completion info for old Octave,
20443         (inferior-octave-complete): Redefine as obsolete alias.
20444         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20445         (meta-completions-at-point): Rename from meta-complete-symbol and
20446         adapt it for use on completion-at-point-functions.
20447         (meta-common-mode): Use it.
20448         (meta-looking-at-backward, meta-match-buffer): Remove.
20449         (meta-complete-symbol): Redefine as obsolete alias.
20450         (meta-common-mode-map): Use completion-at-point.
20451         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20452         (makefile-mode-map): Use completion-at-point.
20453         (makefile-completions-at-point): Rename from makefile-complete and
20454         adapt it for use on completion-at-point-functions.
20455         (makefile-mode): Use it.
20456         (makefile-complete): Redefine as obsolete alias.
20458 2011-06-20  Deniz Dogan  <deniz@dogan.se>
20460         * net/rcirc.el: Delete trailing whitespaces once and for all.
20462 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
20464         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20466 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
20468         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20470         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20472 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
20474         * window.el (display-buffer-other-window-means-other-frame):
20475         Call display-buffer-normalize-alist.
20476         (display-buffer-normalize-specifiers-1): Rename to
20477         display-buffer-normalize-argument.  New argument other-frame.
20478         Rewrite.
20479         (display-buffer-normalize-specifiers-2): Rename to
20480         display-buffer-normalize-options.
20481         (display-buffer-normalize-alist-1): New function.
20482         (display-buffer-normalize-specifiers-3): Rename to
20483         display-buffer-normalize-alist.
20484         Call display-buffer-normalize-alist-1.
20485         (display-buffer-normalize-options-inhibit): New variable.
20486         (display-buffer-normalize-specifiers): Rewrite calling
20487         display-buffer-normalize-alist,
20488         display-buffer-normalize-argument, and
20489         display-buffer-normalize-options.  Don't call the latter if
20490         display-buffer-normalize-options-inhibit is non-nil.
20491         (frame-auto-delete): New option.
20492         (window-deletable-p): Use frame-auto-delete.
20493         (window-list-no-nils, window-state-ignored-parameters)
20494         (window-state-get-1, window-state-get, window-state-put-list)
20495         (window-state-put-1, window-state-put-2, window-state-put):
20496         New functions.
20497         (display-buffer-normalize-options): Move special-display-p group
20498         after pop-up-frame group (Bug#8851) and (Bug#8856).
20500 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
20502         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20503         groups (Bug#8776).
20504         (rx-submatch-n): New function.
20505         (rx): Document it.
20507         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20508         (Bug#8768).
20510         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20512         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20514         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20515         anytime existing face settings are present (Bug#8889).
20517         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20518         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20519         Remove unused argument.
20521 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
20523         * window.el (display-buffer-default-specifiers):
20524         Remove pop-up-frame.  Add pop-up-window-min-height,
20525         pop-up-window-min-width, and another reuse-window specifier
20526         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
20527         (display-buffer-normalize-specifiers-2):
20528         Handle split-height-threshold and split-width-threshold also when
20529         pop-up-windows is unset.  Add a reuse-window specifier for the
20530         case popping up a new window fails.
20531         (special-display-popup-frame): Remove double quoting.
20532         (display-buffer-normalize-specifiers-1): Fix thinko.
20534 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20536         * shell.el (shell-completion-vars): Set pcomplete-termination-string
20537         according to comint-completion-addsuffix.
20539         * pcomplete.el: Convert to lexical binding and fix bug#8819.
20540         (pcomplete-suffix-list): Mark as obsolete.
20541         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20542         pcomplete-seen in the closure.
20543         (pcomplete-comint-setup): Setup completion-at-point as well.
20544         (pcomplete--entries): New function.
20545         (pcomplete--env-regexp): New var.
20546         (pcomplete-entries): Rewrite to work with partial-completion and
20547         without relying on pcomplete-suffix-list.
20548         (pcomplete-pare-list): Remove, unused.
20550 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
20552         * window.el (display-buffer-alist): Set pop-up-window-min-height
20553         and pop-up-window-min-width in default value.  Reported by
20554         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
20555         other-window-means-other-frame.
20556         (display-buffer-macro-specifiers): Comment out entry for
20557         other-window specifier.
20558         (display-buffer-other-window-means-other-frame): New function.
20559         (display-buffer-normalize-specifiers-1): New arguments
20560         buffer-name and label.  Treat other-window case specially.
20561         (display-buffer-normalize-specifiers-2): Treat other-window case
20562         specially.
20563         (display-buffer-normalize-specifiers-3): New function.
20564         (display-buffer-normalize-specifiers):
20565         Call display-buffer-normalize-specifiers-3.
20567 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
20569         * window.el (same-window-p): Fix two typos introduced when
20570         adding with-no-warnings.
20571         (display-buffer-normalize-specifiers-1): Don't check
20572         pop-up-frames for 'unset initialization.
20573         (display-buffer-normalize-specifiers-2): Major rewrite using
20574         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20575         (pop-up-frames, display-buffer-reuse-frames)
20576         (display-buffer-mark-dedicated): Don't initialize to 'unset.
20577         Suggested by David Engster <deng@randomsample.de>.
20578         (even-window-heights): Initialize to 'unset.
20579         (display-buffer-alist-set): Handle new 'unset initializations.
20580         (display-buffer-macro-specifiers): Don't pop up a new frame in the
20581         other window case.
20583 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
20585         * window.el (display-buffer-normalize-specifiers-1):
20586         Respect current value of pop-up-frames for most reasonable values of
20587         second argument of display-buffer (Bug#8865).
20588         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20589         (switch-to-buffer-other-window-same-frame)
20590         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
20591         Adams (Bug#8875).
20592         (display-buffer): Don't check noninteractive when calling
20593         display-buffer-pop-up-frame.
20594         (display-buffer-pop-up-frame): Never pop up a frame in
20595         noninteractive mode (Bug#8857).
20596         (enlarge-window, shrink-window): Don't report an error when the
20597         window can't be resized as requested (Bug#8862).
20599 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20601         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20603         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20605         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20607 2011-06-15  Alan Mackenzie  <acm@muc.de>
20609         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20610         for declarators, disable knr checking to speed up for normal files.
20611         2: Refactor, replacing a sequence of nested if forms by a cond form.
20613 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20615         * net/network-stream.el (open-network-stream): Add the keyword
20616         :always-query-capabilities for the case where you want to force a
20617         `plain' network connection, but the protocol still requires the
20618         capabilitiy command (i.e., SMTP and EHLO).
20620         * subr.el (process-live-p): Rename from `process-alive-p' for
20621         consistency with other `-live-p' functions.
20623 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20625         * window.el (same-window-buffer-names, same-window-regexps)
20626         (special-display-frame-alist, special-display-popup-frame)
20627         (special-display-function, special-display-buffer-names)
20628         (special-display-regexps, pop-up-frame-alist)
20629         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20630         (pop-up-windows, split-window-preferred-function)
20631         (split-height-threshold, split-width-threshold, even-window-heights)
20632         (display-buffer-mark-dedicated): Don't encourage the use of
20633         display-buffer-alist from Elisp code.
20635 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
20637         * progmodes/python.el (python-mode): Derive from prog-mode.
20638         * progmodes/ps-mode.el (ps-mode):
20639         * progmodes/mixal-mode.el (mixal-mode):
20640         * progmodes/cfengine.el (cfengine-mode):
20641         * progmodes/ld-script.el (ld-script-mode): Likewise.
20643 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
20645         * window.el (display-buffer-alist): Trim default value to avoid
20646         popping up a new frame (Bug#8857) or reusing an arbitrary window
20647         on another frame.
20648         (display-buffer): Do not fall back on popping up a new frame in
20649         batch mode (Bug#8857).
20651 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
20653         * cus-theme.el (describe-theme-1): Use custom-theme-p.
20654         (custom-theme-summary): New function.
20655         (customize-themes): Use it.
20657 2011-06-13  Glenn Morris  <rgm@gnu.org>
20659         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20661 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
20663         * help.el (help-window): Remove variable.
20664         (help-window-point-marker, temp-buffer-max-height)
20665         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20666         (help-print-return-message): Don't set help-window.
20667         (resize-temp-buffer-window): Rewrite cod eand doc-string.
20668         (help-window-setup-finish): Remove.
20669         (help-window-display-message, help-window-setup)
20670         (with-help-window): Major rewrite based on new
20671         display-buffer-window variable.
20673         * help-mode.el (help-mode-finish): Remove help-window related
20674         code.
20676         * view.el (view-exits-all-viewing-windows): Remove reference to
20677         view-return-to-alist in doc-string.
20678         (view-return-to-alist): Make obsolete.
20679         (view-buffer): Call pop-to-buffer-same-window and remove
20680         undo-window code.
20681         (view-buffer-other-window): Call pop-to-buffer-other-window and
20682         simplify code.  Ignore second argument.
20683         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20684         simplify code.  Ignore second argument.
20685         (view-return-to-alist-update): Make obsolete.
20686         (view-mode-enter): Rename second argument to QUIT-RESTORE.
20687         Rewrite using quit-restore window parameters.
20688         (view-mode-exit): Rename second argument to EXIT-ONLY.
20689         Rewrite using quit-restore-window.
20690         (View-exit, View-exit-and-edit, View-leave, View-quit)
20691         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20692         appropriate arguments.
20693         (view-end-message): Use quit-restore window parameter.
20695         * window.el (display-buffer-function): Rewrite doc-string.
20696         (display-buffer-window, display-buffer-alist): New variables.
20697         (display-buffer-split-specifiers)
20698         (display-buffer-side-specifiers)
20699         (display-buffer-macro-specifiers): New constants.
20700         (display-buffer-even-window-sizes, display-buffer-set-height)
20701         (display-buffer-set-width, display-buffer-select-window)
20702         (display-buffer-in-window, display-buffer-reuse-window)
20703         (display-buffer-split-window-1, display-buffer-split-window)
20704         (display-buffer-split-atom-window, display-buffer-pop-up-window)
20705         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20706         (display-buffer-in-side-window, normalize-buffer-to-display)
20707         (display-buffer-normalize-specifiers-1)
20708         (display-buffer-normalize-specifiers-2)
20709         (display-buffer-normalize-specifiers, display-buffer-frame):
20710         New functions.
20711         (display-buffer): Major rewrite.
20712         (display-buffer-other-window, display-buffer-other-frame)
20713         (pop-to-buffer, switch-to-buffer-other-window)
20714         (switch-to-buffer-other-frame): Rewrite.
20715         (display-buffer-same-window, display-buffer-same-frame)
20716         (display-buffer-same-frame-other-window)
20717         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20718         (pop-to-buffer-other-window)
20719         (pop-to-buffer-same-frame-other-window)
20720         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20721         (switch-to-buffer-other-window-same-frame): New functions.
20722         (same-window-p, special-display-p): Rewrite disabling warnings.
20723         Make obsolete.
20724         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20725         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20726         Make obsolete
20727         (same-window-buffer-names, same-window-regexps)
20728         (special-display-frame-alist, special-display-popup-frame)
20729         (special-display-function, special-display-buffer-names)
20730         (special-display-regexps, pop-up-frame-alist)
20731         (pop-up-frame-function, split-window-preferred-function)
20732         (split-height-threshold, split-width-threshold)
20733         (even-window-heights): Make obsolete.
20735 2011-06-12  Glenn Morris  <rgm@gnu.org>
20737         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
20738         Misc simplifications.
20740 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
20742         * window.el (window-safely-shrinkable-p): Restore function which
20743         was inadvertently removed in change from 2011-06-11.  Declare as
20744         obsolete.
20746         * calendar/calendar.el (calendar-generate-window):
20747         Use window-iso-combined-p instead of combination of one-window-p and
20748         window-safely-shrinkable-p.
20750 2011-06-12  Glenn Morris  <rgm@gnu.org>
20752         * progmodes/fortran.el (fortran-mode-syntax-table):
20753         * progmodes/f90.el (f90-mode-syntax-table):
20754         Set % to punctuation.  (Bug#8820)
20755         (f90-find-tag-default): Remove, no longer needed.
20757 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
20759         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20761 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
20763         * image.el (image-animated-p): Return animation delay in seconds.
20764         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20765         (image-animate-timeout): Remove DELAY argument.  Don't assume
20766         every subimage has the same delay; get it from image-animated-p.
20767         (image-animate): Caller changed.
20769 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
20771         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20772         to ignored backtrace functions.
20774 2011-06-11  Glenn Morris  <rgm@gnu.org>
20776         * calendar/appt.el (appt-disp-window-function): Doc fix.
20777         (appt-check): Handle overlapping appointments.  (Bug#8337)
20779 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
20781         * window.el (window-tree-1, window-tree): New functions, moving
20782         the latter to window.el.
20783         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20784         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20785         (bw-refresh-edges): Remove.
20786         (balance-windows-1, balance-windows-2): New functions.
20787         (balance-windows): Rewrite in terms of window tree functions,
20788         balance-windows-1 and balance-windows-2.
20789         (bw-adjust-window): Remove.
20790         (balance-windows-area-adjust): New function with functionality of
20791         bw-adjust-window but using resize-window.
20792         (set-window-text-height): Rewrite doc-string.
20793         Use normalize-live-window and resize-window.
20794         (enlarge-window-horizontally, shrink-window-horizontally):
20795         Rename argument to DELTA.
20796         (window-buffer-height): New function.
20797         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20798         Rewrite using new window resize routines.
20799         (kill-buffer-and-window, mouse-autoselect-window-select):
20800         Use ignore-errors instead of condition-case.
20801         (quit-window): Call delete-frame instead of delete-windows-on
20802         for the only buffer on frame.
20804 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
20806         * loadup.el (top-level): Load window before files for the sake
20807         of replace-buffer-in-windows.
20809         * files.el (read-buffer-to-switch)
20810         (switch-to-buffer-other-window)
20811         (switch-to-buffer-other-frame, display-buffer-other-frame):
20812         Move to window.el.
20814         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20815         (previous-buffer): Move to window.el.
20817         * bindings.el (unbury-buffer): Move to window.el.
20819         * window.el (delete-other-windows-vertically): Move after
20820         definition of delete-other-windows.
20821         (other-window, delete-windows-on, replace-buffer-in-windows):
20822         Move here from window.c.
20823         (record-window-buffer, unrecord-window-buffer)
20824         (set-window-buffer-start-and-point, switch-to-prev-buffer)
20825         (switch-to-next-buffer): New functions.
20826         (get-next-valid-buffer, last-buffer, next-buffer): Move here
20827         from simple.el.  Call switch-to-next-buffer.
20828         (previous-buffer): Move here from simple.el.
20829         Call switch-to-prev-buffer.
20830         (bury-buffer): Move here from buffer.c.  Switch to previous
20831         buffer when window cannot be deleted.
20832         (unbury-buffer): Move here from bindings.el.
20833         (ctl-x-map): Move binding for other-window from window.c to
20834         here.
20835         (read-buffer-to-switch, switch-to-buffer-other-window)
20836         (switch-to-buffer-other-frame): Move here from files.el.
20837         (normalize-buffer-to-switch-to): New functions.
20838         (switch-to-buffer): Move here from buffer.c.
20839         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20841 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
20843         * window.el (window-min-height, window-min-width): Move here
20844         from window.c.  Add defcustoms and rewrite doc-strings.
20845         (resize-mini-window, resize-window): New functions.
20846         (adjust-window-trailing-edge, enlarge-window, shrink-window):
20847         Move here from window.c.
20848         (maximize-window, minimize-window): New functions.
20849         (delete-window, delete-other-windows, split-window): Move here
20850         from window.c.
20851         (window-split-min-size): New function.
20852         (split-window-keep-point): Mention split-window-above-each-other
20853         instead of split-window-vertically.
20854         (split-window-above-each-other, split-window-vertically):
20855         Rename split-window-vertically to split-window-above-each-other
20856         and provide defalias for old definition.
20857         (split-window-side-by-side, split-window-horizontally):
20858         Rename split-window-horizontally to split-window-side-by-side
20859         and provide defalias for the old definition.
20860         (ctl-x-map): Move bindings for delete-window,
20861         delete-other-windows and enlarge-window here from window.c.
20862         Replace bindings for split-window-vertically and
20863         split-window-horizontally by bindings for
20864         split-window-above-each-other and split-window-side-by-side.
20866         * cus-start.el (all): Remove entries for window-min-height and
20867         window-min-width.  Add entries for window-splits and
20868         window-nest.
20870 2011-06-09  Glenn Morris  <rgm@gnu.org>
20872         * calendar/appt.el (appt-mode-line): New function.
20873         (appt-check, appt-disp-window): Use it.
20875         * files.el (hack-one-local-variable-eval-safep):
20876         Allow minor-modes with explicit +/-1 arguments.
20878 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
20880         * term/xterm.el (xterm): Add defgroup.
20881         (xterm-extra-capabilities): Add defcustom to supply known xterm
20882         capabilities, skip querying them, or query them (default).
20883         (terminal-init-xterm): Use it.
20884         (terminal-init-xterm-modify-other-keys): New function to set up
20885         modifyOtherKeys support to simplify `terminal-init-xterm'.
20887 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
20889         * window.el (resize-window-reset, resize-window-reset-1)
20890         (resize-subwindows-skip-p, resize-subwindows-normal)
20891         (resize-subwindows, resize-other-windows, resize-this-window)
20892         (resize-root-window, resize-root-window-vertically)
20893         (window-deletable-p, window-or-subwindow-p)
20894         (frame-root-window-p): New functions.
20896 2011-06-09  Glenn Morris  <rgm@gnu.org>
20898         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20899         (ange-ftp-get-files): Use it.
20901 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
20903         * mail/sendmail.el (mail-recover-1, mail-recover):
20904         * files.el (recover-file, recover-session):
20905         Handle dired-listing-switches not being just a single short option.
20907 2011-06-09  Glenn Morris  <rgm@gnu.org>
20909         * calendar/appt.el (appt-display-message, appt-disp-window):
20910         Handle lists of appointments.
20912 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
20914         * window.el (one-window-p): Move down in code.
20915         Rewrite doc-string.
20916         (window-current-scroll-bars): Rewrite doc-string.
20917         Normalize live window argument.
20918         (walk-windows, get-window-with-predicate, count-windows):
20919         Rewrite doc-string.  Use window-list-1.
20920         (window-in-direction-2, window-in-direction, get-mru-window):
20921         New functions.
20923 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
20925         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20926         Doc fix (Bug#8713).
20928 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
20930         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20932 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
20934         * loadhist.el (unload-feature-special-hooks):
20935         Add `comint-output-filter-functions'.
20937 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
20939         * calendar/appt.el (appt-check): Move some initializations into the let.
20941 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
20943         * window.el (window-height): Defalias to window-total-height.
20944         (window-width): Defalias to window-body-width.
20946 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
20948         * image-mode.el (image-toggle-animation): New command.
20949         (image-mode-map): Bind it to RET.
20950         (image-mode): Update message.
20951         (image-toggle-display-image): Avoid a spurious cache flush.
20952         (image-transform-rotation): Doc fix.
20953         (image-transform-properties): Return quickly in the normal case.
20954         (image-animate-loop): Rename from image-animate-max-time.
20956         * image.el (image-animate-max-time): Move to image-mode.el.
20957         (create-animated-image): Remove unnecessary function.
20958         (image-animate): Rename from image-animate-start.  New arg.
20959         (image-animate-stop): Remove; just use image-animate-timer.
20960         (image-animate-timer): Use car-safe.
20961         (image-animate-timeout): Rename argument.
20963 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
20965         * window.el (get-lru-window, get-largest-window): Move here from
20966         window.c.  Rename first argument to ALL-FRAMES.
20967         Rephrase doc-strings.
20968         (get-buffer-window-list): Rewrite using window-list-1.
20969         Rephrase doc-string.
20970         (window-safe-min-height, window-safe-min-width): New constants.
20971         (window-size-ignore, window-min-size, window-min-size-1)
20972         (window-sizable, window-sizable-p, window-size-fixed-1)
20973         (window-size-fixed-p, window-min-delta-1, window-min-delta)
20974         (window-max-delta-1, window-max-delta, window-resizable)
20975         (window-resizable-p, window-total-height, window-total-width)
20976         (window-body-width): New functions.
20977         (window-full-height-p, window-full-width-p): Rewrite using
20978         window-total-size.
20979         (window-body-height): Rewrite using window-body-size.
20981 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
20983         * window.el (window-right, window-left, window-child)
20984         (window-child-count, window-last-child, window-any-p)
20985         (normalize-live-buffer, normalize-live-frame)
20986         (normalize-any-window, normalize-live-window)
20987         (window-iso-combination-p, window-iso-combined-p)
20988         (window-iso-combinations)
20989         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20990         (windows-with-parameter, window-with-parameter)
20991         (window-atom-root, make-window-atom, window-atom-check-1)
20992         (window-atom-check, window-side-check, window-check):
20993         New functions.
20994         (ignore-window-parameters, window-sides, window-sides-vertical)
20995         (window-sides-slots): New variables.
20996         (window-size-fixed): Move down in code.  Minor doc-string fix.
20998 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
21000         * comint.el (comint-dynamic-complete-as-filename)
21001         (comint-dynamic-complete-filename): Correctly call
21002         completion-in-region.
21004 2011-06-05  Deniz Dogan  <deniz@dogan.se>
21006         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21007         in last change.
21009 2011-06-05  Deniz Dogan  <deniz@dogan.se>
21011         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21012         (rcirc): Use it to prompt for encryption.
21014 2011-06-05  Roland Winkler  <winkler@gnu.org>
21016         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21017         (bibtex-search-entries): New command bound to C-c C-a.
21018         (bibtex-display-entries): New function.
21020 2011-06-05  Roland Winkler  <winkler@gnu.org>
21022         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21023         (bibtex-insert-kill): After yanking insert newline if necessary.
21024         (bibtex-initialize): Call bibtex-string-files-init only once.
21025         (bibtex-mode): Do not call easy-menu-add.
21026         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21027         (bibtex-yank): Set arg properly if nil.
21029 2011-06-05  Roland Winkler  <winkler@gnu.org>
21031         * textmodes/bibtex.el (bibtex-search-entry-globally):
21032         New variable.
21033         (bibtex-search-entry): Use it.
21035 2011-06-05  Roland Winkler  <winkler@gnu.org>
21037         * textmodes/bibtex.el (bibtex-entry-format): New option
21038         sort-fields.
21039         (bibtex-format-entry, bibtex-reformat): Honor this option.
21040         (bibtex-parse-entry): Return fields in proper order.
21042 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
21044         * doc-view.el (doc-view-remove-if): Move computation of result out
21045         of `dolist' to silence misleading lexical-binding warning.
21047 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
21049         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21050         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21052 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
21054         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21055         "SunOS 5.10".
21057 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
21059         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21060         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21061         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21062         (tramp-parse-putty):
21063         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21064         (tramp-completion-function-alist-ssh)
21065         (tramp-completion-function-alist-telnet)
21066         (tramp-completion-function-alist-su)
21067         (tramp-completion-function-alist-putty): Set `tramp-autoload'
21068         cookie.
21070         * net/tramp-ftp.el:
21071         * net/tramp-sh.el:
21072         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21073         load "tramp.el" `tramp-set-completion-function'.
21075 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
21077         * shell.el: Require and use pcomplete.
21078         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21079         (shell-completion-vars): Set pcomplete-default-completion-function.
21081 2011-06-04  Deniz Dogan  <deniz@dogan.se>
21083         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21084         `memq' (Bug#8799).
21086 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
21088         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21090 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
21092         * bs.el (bs--mark-unmark, bs--nth-wrapper):
21093         * mpc.el (mpc-select-extend, mpc-songpointer-context):
21094         * vc/log-view.el (log-view-beginning-of-defun):
21095         * vc/smerge-mode.el (smerge-apply-resolution-patch)
21096         (smerge-refine-forward, smerge-refine-chopup-region):
21097         Silence warning for unused `dotimes' counter variables.
21099 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
21101         * net/tramp.el (tramp-with-progress-reporter): Rename from
21102         with-progress-reporter.  Use `declare'.
21103         * net/tramp-smb.el:
21104         * net/tramp-sh.el:
21105         * net/tramp-gvfs.el: Update all uses.
21107 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
21109         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21110         buffer isn't killed before making it current.
21112 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
21114         Silence various byte-compiler warnings.
21115         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21116         `access-type' and new obsolescence format.
21117         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21118         new format.
21119         (byte-compile-check-variable): New `access-type' argument.
21120         Only warn if the access-type is obsolete.
21121         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21122         (byte-compile-variable-set): Adjust callers.
21123         * help-fns.el (describe-variable): Adjust to new obsolescence format.
21124         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21125         setting it as obsolete.
21126         * simple.el (minibuffer-completing-symbol):
21127         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21128         access as obsolete.
21129         * minibuffer.el (minibuffer-completing-file-name): Don't make it
21130         obsolete yet.
21131         * international/quail.el (quail-mouse-choose-completion): Remove unused
21132         code referring to obsolete var.
21133         (quail-choose-completion-string): Remove.
21134         * server.el (server-clients-with, server-kill-buffer-query-function)
21135         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21136         * proced.el (proced-send-signal):
21137         * emacs-lisp/lisp.el (lisp-complete-symbol):
21138         Replace completion-annotate-function with completion-extra-properties.
21140 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
21142         * simple.el (goto-line): Use read-number.
21143         (overriding-map-is-bound): Remove.
21144         (saved-overriding-map): Change default.
21145         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21146         Take the map as argument.
21147         (universal-argument, negative-argument, digit-argument): Use it.
21148         (restore-overriding-map): Adjust.
21149         (do-auto-fill): Use fill-forward-paragraph.
21150         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21152         * minibuffer.el (minibuffer-inactive-mode-map): New var.
21153         (minibuffer-inactive-mode): New major mode.
21154         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21155         the *Messages* buffer" hack.
21156         (mouse-popup-menubar): Don't burp if the event is a normal key.
21158         Miscellaneous tweaks.
21159         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21160         lexical scoping as in subr.el's dolist and dotimes.
21161         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21162         Silence compiler warning.
21163         * thingatpt.el (forward-whitespace): Trivial coding style fix.
21164         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21165         * international/ccl.el (ccl-compile): Trivial simplification.
21166         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21167         * emacs-lisp/testcover.el (testcover-end): Remove spurious
21168         `printflag' argument.
21169         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21170         Purecopy the whole obsolescence data.
21172 2011-06-01  Leo Liu  <sdl.web@gmail.com>
21174         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21175         improve doc-string as suggested by Marco Pessotto
21176         <melmothx@gmail.com>.
21177         (rcirc-print): Fix last change.
21179 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
21181         * minibuffer.el (complete-with-action): Return nil for the metadata and
21182         boundaries of non-functional tables.
21183         (completion-table-dynamic): Return nil for the metadata.
21184         (completion-table-with-terminator): Add default case, using
21185         complete-with-action.
21186         (completion--metadata): New function.
21187         (completion-all-sorted-completions, minibuffer-completion-help): Use it
21188         to try and avoid pathological performance problems.
21189         (completion--embedded-envvar-table): Return `category' metadata.
21191 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21193         * subr.el (process-alive-p): New tiny convenience function.
21195 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
21197         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21198         content but also its previous major mode.
21200 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
21202         * emacs-lisp/debug.el (debug): Restore the previous content of the
21203         *Backtrace* buffer when we exit with C-M-c.
21205 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
21207         * minibuffer.el: Add metadata method to completion tables.
21208         (completion-category-overrides): New defcustom.
21209         (completion-metadata, completion--field-metadata)
21210         (completion-metadata-get, completion--styles)
21211         (completion--cycle-threshold): New functions.
21212         (completion-try-completion, completion-all-completions):
21213         Add `metadata' argument to choose completion-styles.
21214         (completion--do-completion): Use metadata to choose cycling.
21215         (completion-all-sorted-completions): Use metadata for sorting.
21216         Remove :completion-cycle-penalty which is not needed any more.
21217         (completion--try-word-completion): Add `metadata' argument.
21218         (minibuffer-completion-help): Check metadata for annotation function
21219         and sorting.
21220         (completion-file-name-table): Return `category' metadata.
21221         (minibuffer-completing-file-name): Make obsolete.
21222         * simple.el (minibuffer-completing-symbol): Make obsolete.
21223         * icomplete.el (icomplete-completions): Pass new `metadata' param to
21224         completion-try-completion.
21226 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
21228         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21230 2011-05-30  Leo Liu  <sdl.web@gmail.com>
21232         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21233         (rcirc-print): Decode all incoming messages (bug#8744).
21234         (rcirc-decode-coding-system): Allow value nil for automatic coding
21235         system detection.
21237 2011-06-01  Glenn Morris  <rgm@gnu.org>
21239         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21241 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
21243         * image.el (image-animate-max-time): Allow nil and t values.
21244         Default to nil.
21245         (create-animated-image): Doc fix.
21246         (image-animate-start): Remove second arg; just use
21247         image-animate-max-time.
21248         (image-animate-timeout): Doc fix.  Args changed.
21250         * image-mode.el (image-toggle-display-image): Ensure that the
21251         image spec passed to the animate timer is the same object as in
21252         the buffer's display property (Bug#6981).
21253         (image-transform-properties): Doc fix.
21255         * image.el (image-animate-max-time): Default to nil.
21257 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
21259         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21260         entire buffer list (Bug#8184).
21262 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
21264         * image.el (imagemagick-types-inhibit)
21265         (imagemagick-register-types): Doc fix.
21267 2011-05-29  Deniz Dogan  <deniz@dogan.se>
21269         * net/rcirc.el (rcirc): Use the user's stored encryption method by
21270         default.
21272 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
21274         * select.el: Don't perform clipboard-manager saving in hooks;
21275         leave the hooks empty.
21277 2011-05-28  Leo Liu  <sdl.web@gmail.com>
21279         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21280         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
21281         (occur-edit-mode): New major mode (Bug#8463).
21282         (occur-after-change-function): New function.
21283         (occur-engine): Give Occur tags a read-only property.
21285 2011-05-28  Kevin Ryde  <user42@zip.com.au>
21287         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21289 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
21291         * bindings.el (help-echo): Make the initial non-indicator dash
21292         empty on graphical terminals (Bug#7295).
21294         * files.el (auto-mode-alist): Move config rule after the
21295         in-stripping one (Bug#8547).
21297         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21299         * startup.el (normal-splash-screen): Remove gratuitous mode-line
21300         setting (Bug#8740).
21302 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
21304         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21305         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21306         (Bug#8539).
21308 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
21310         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21312 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
21314         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21315         (hs-hide-block-at-point, hs-find-block-beginning)
21316         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21317         (Bug#8279).
21319 2011-05-28  Glenn Morris  <rgm@gnu.org>
21321         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
21323 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
21325         * help-fns.el (describe-function-1): If the function is a derived
21326         major mode, print the parent mode.
21328         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21329         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21331 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21333         * minibuffer.el (completion--capf-wrapper): Check applicability before
21334         returning non-nil for non-exclusive completion data.
21335         * progmodes/etags.el (tags-completion-at-point-function):
21336         * info-look.el (info-lookup-completions-at-point): Mark as
21337         non-exclusive.
21338         (info-complete): Adjust accordingly.
21340         * info-look.el: Convert to lexical-binding and completion-at-point.
21341         (info-lookup-completions-at-point): New function.
21342         (info-complete): Use it and completion-in-region.
21344 2011-05-28  Drew Adams  <drew.adams@oracle.com>
21346         * isearch.el: Let M-e start with point at the first mismatched char.
21347         (isearch-fail-pos): New function.
21348         (isearch-edit-string): Use it.
21350 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
21352         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21354 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
21356         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
21357         traversal functions for avl-trees.
21358         (avl-tree--stack): New struct.
21359         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21360         (avl-tree-enter): Add optional `updatefun' arg.
21361         (avl-tree--do-enter): Add optional `updatefun' arg.
21362         Change return value.
21363         (avl-tree-delete): Add optional `test' and `nilflag' args.
21364         (avl-tree--do-delete): Add `test' and `nilflag' args.
21365         Change return value.
21366         (avl-tree-member): Add optional `nilflag'
21367         (avl-tree-member-p): New function.
21368         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21369         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21370         (avl-tree-stack-empty-p): New functions.
21372         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21373         avl-tree--del-balance1 and make it work both ways.
21374         (avl-tree--del-balance2): Remove.
21375         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21376         make it work both ways.
21377         (avl-tree--enter-balance2): Remove.
21378         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21379         New macros.
21380         (avl-tree--mapc, avl-tree-map): Add direction argument.
21382 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
21384         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21386 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
21388         * select.el: Support clipboard managers with built-in function
21389         x-clipboard-manager-save, via delete-frame-functions and
21390         kill-emacs-hook.
21391         (xselect-convert-to-targets): Add MULTIPLE target to list.
21392         (xselect-convert-to-save-targets): New function.
21394 2011-05-27  Kenichi Handa  <handa@m17n.org>
21396         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21397         let-binding rfc2047-encode-encoded-words to nil.
21399 2011-05-27  Glenn Morris  <rgm@gnu.org>
21401         * mail/emacsbug.el: Don't require url-util.
21403         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
21405         * files.el (set-auto-mode):
21406         Also respect mode: entries at the end of the file.  (Bug#8586)
21408 2011-05-26  Glenn Morris  <rgm@gnu.org>
21410         * files.el (hack-local-variables-prop-line, hack-local-variables):
21411         Downcase mode names, as seems to be traditional.
21412         (hack-local-variables, hack-local-variables-apply): Doc fixes.
21414         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21415         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
21417 2011-05-25  Julien Danjou  <julien@danjou.info>
21419         * textmodes/rst.el (rst-define-level-faces): Do not define face
21420         symbol if it is already defined.
21422 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
21424         * play/5x5.el (5x5-new-game, 5x5-randomize):
21425         Reset 5x5-solver-output to nil when a new grid is cast.
21426         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21427         these debugging traces, as defmacro breaks the compiled code.
21429 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
21431         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21433 2011-05-24  Leo Liu  <sdl.web@gmail.com>
21435         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21436         (vc-bzr-sha1): Adapt.
21438         * sha1.el: Remove.  Function `sha1' is now builtin.
21440         * bindings.el: Provide sha1 feature.
21442 2011-05-24  Kenichi Handa  <handa@m17n.org>
21444         * mail/sendmail.el: Require `rfc2047'.
21445         (mail-insert-from-field): Do not perform RFC2047 encoding.
21446         (mail-encode-header): New function.
21447         (sendmail-send-it): Set buffer-file-coding-system of the work
21448         buffer to the return value of select-message-coding-system.
21449         Call mail-encode-header.
21451         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21453 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
21455         * mail/supercite.el (sc-default-cite-frame):
21456         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21458 2011-05-24  Glenn Morris  <rgm@gnu.org>
21460         * progmodes/python.el (brm-menu): Declare.
21462         * emulation/viper.el (viper-set-hooks): Declare.
21464         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21465         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21466         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21467         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21468         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21469         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21471 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21473         Add an :exit-function for completion-at-point.
21475         * minibuffer.el (completion--done): New fun.
21476         (completion--do-completion): Use it.  New arg `expect-exact'.
21477         (minibuffer-complete, minibuffer-complete-word): Don't output message,
21478         since completion--do-completion does it for us now.
21479         (minibuffer-force-complete): Use completion--done and
21480         completion--replace.  Handle sole-completion case with more care.
21481         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21482         (completion-extra-properties): New var.
21483         (completion-annotate-function): Make obsolete.
21484         (minibuffer-completion-help): Adjust accordingly.
21485         Use completion-list-insert-choice-function.
21486         (completion-at-point, completion-help-at-point):
21487         Bind completion-extra-properties.
21488         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21489         * simple.el (completion-list-insert-choice-function): New var.
21490         (completion-setup-function): Preserve it.
21491         (choose-completion): Pay attention to it, shuffle the code a bit.
21492         (choose-completion-string): New arg `insert-function'.
21494         * textmodes/bibtex.el: Convert to lexical binding.
21495         (bibtex-mode-map): Use completion-at-point.
21496         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21497         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21498         (bibtex-complete): Define as obsolete alias.
21499         (bibtex-complete-internal): Remove.
21500         (bibtex-format-entry): Remove unused sub-group in regexp.
21501         * shell.el (shell--command-completion-data)
21502         (shell-environment-variable-completion):
21503         * pcomplete.el (pcomplete-completions-at-point):
21504         * comint.el (comint--complete-file-name-data): Use :exit-function
21505         instead of completion-table-with-terminator so it also works for
21506         choose-completion.
21508 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
21510         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21512         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21513         (bug#8710).
21515         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21517 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
21519         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21520         customization variable and implement: If non-nil, auto-fill will
21521         be inhibited while on topic's header line.
21523 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
21525         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21526         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
21527         always have a solution in grid size = 5 cases.
21528         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21529         (5x5-solver-output, 5x5-log-buffer): New vars.
21530         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21531         Make these variables buffer local to achieve 5x5 multi-session-ness.
21532         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21533         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21534         (5x5-solve-suggest): New funs.
21535         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21536         randomize a grid so that we ensure that there is always a solution.
21537         (5x5-make-random-grid): Allow other movement than flipping.
21539 2011-05-23  Kevin Ryde  <user42@zip.com.au>
21541         * emacs-lisp/advice.el (ad-read-advised-function):
21542         Use `function-called-at-point' as the default, if it has
21543         advice and passes PREDICATE.
21545 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
21547         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21548         byte-compile-lambda if it's actually a lambda.
21550         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21551         Fix function quoting.  Use backquote better.
21553 2011-05-22  Yuanle Song  <sylecn@gmail.com>
21555         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21556         matching (Bug#8516).
21558 2011-05-22  Jari Aalto  <jari.aalto@cante.net>
21560         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21561         different face (Bug#8178).
21563 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
21565         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21566         defface (Bug#8144).
21568 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
21570         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21571         funcall as well (bug#8712).  Warn when performing those conversions.
21572         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21574         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21576 2011-05-22  Glenn Morris  <rgm@gnu.org>
21578         * files.el (hack-local-variables-prop-line): Small simplifications.
21579         (hack-local-variables, hack-local-variables-prop-line):
21580         If MODE-ONLY, return the mode, rather than just `t'.
21582 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21584         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21586 2011-05-21  Glenn Morris  <rgm@gnu.org>
21588         * files.el (hack-local-variables-prop-line, hack-local-variables):
21589         If only interested in the mode, don't bother doing the other stuff.
21591         * image-mode.el (image-after-revert-hook):
21592         Redraw all frames on which the image is visible.  (Bug#8567)
21594         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
21596         * wid-edit.el (widget-checklist-match-inline):
21597         Fix 2011-04-19 change.  (Bug#8649)
21599 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21601         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21602         Also allow singlespace after single-letter capitals followed by a dot.
21604         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21605         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21607 2011-05-20  Nix  <nix@esperi.org.uk>
21609         * files.el (basic-save-buffer-2):
21610         Fix handling of break-hardlink-on-save with non-existent files.
21612 2011-05-19  Deniz Dogan  <deniz@dogan.se>
21614         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21615         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21617 2011-05-19  Glenn Morris  <rgm@gnu.org>
21619         * progmodes/f90.el (f90-type-def-re):
21620         Handle "type, bind(c)".  (Bug#8691)
21622         * emacs-lisp/autoload.el (batch-update-autoloads):
21623         Set autoload-excludes by parsing loadup.el rather than Makefiles.
21625 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
21627         * net/tramp.el (tramp-process-actions): Set "first-password-request"
21628         property for the correct connection in case of multihops.
21630 2011-05-18  Glenn Morris  <rgm@gnu.org>
21632         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21633         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21635         Rationalize calendar handling of day and month abbrev-arrays.
21636         * calendar/calendar.el (calendar-customized-p): New function.
21637         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21638         (calendar-day-name-array, calendar-month-name-array): Doc fix.
21639         Add :set function.
21640         (calendar-abbrev-length, calendar-day-abbrev-array)
21641         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21642         (calendar-day-abbrev-array, calendar-month-abbrev-array):
21643         Elements may no longer be nil.
21644         (calendar-day-name, calendar-month-name):
21645         Update for changed nature of abbrev arrays.
21646         * calendar/diary-lib.el (diary-name-pattern):
21647         Update for changed nature of abbrev arrays.
21648         (diary-mark-entries-1): Update calendar-make-alist calls.
21649         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21650         * calendar/cal-html.el (cal-html-day-abbrev-array):
21651         Simply inherit from calendar-day-abbrev-array.
21653 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21655         * progmodes/grep.el (grep-mode): Disable default
21656         compilation-directory-matcher setting (bug#8684).
21658 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
21660         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21661         instead of "head" and "tail".  There were problems with SunOS 5.9,
21662         and it performs better.
21664 2011-05-17  Glenn Morris  <rgm@gnu.org>
21666         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21668         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21669         Replace obsolete function.
21671         * shell.el (pcomplete-parse-arguments-function): Declare.
21673         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21674         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21675         (appt-check): Doc fixes.
21676         (appt-disp-window-function, appt-delete-window-function):
21677         Remove needless special case in custom :type.
21678         (appt-display-count): Default to 0, not nil.
21679         (appt-check): Reset appt-display-count to 0, not nil.
21681 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
21683         * progmodes/python.el (python-font-lock-keywords):
21684         Add the Python 3.X keyword "nonlocal" (bug#8639).
21686 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21688         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21690 2011-05-16  Kevin Ryde  <user42@zip.com.au>
21692         * info-look.el (makefile-automake-mode): New setups, looking in
21693         automake manual, then makefile-mode.
21694         (makefile-mode): Remove automake manual, have it just in
21695         makefile-automake-mode since there's various things different or
21696         not relevant to plain make.
21697         (makefile-mode): Remove "other-modes" non-existent automake-mode,
21698         believe a hypothetical automake-mode would go to makefile-mode,
21699         not the other way around.
21701 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
21703         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21704         hunk-end tags (Bug#8672).
21706         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21707         vc-annotate-show-diff-revision-at-line (Bug#8671).
21709 2011-05-14  Glenn Morris  <rgm@gnu.org>
21711         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21712         in the middle of an existing one with multiple authors.  (Bug#8645)
21713         (change-log-font-lock-keywords): Also handle multiple author lines
21714         with leading tabs.  (Bug#8644)
21716         * calendar/appt.el (appt-check): Rename some local variables.
21717         Some simplification/reordering.
21719         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21720         (feedmail-sendmail-f-doesnt-sell-me-out)
21721         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21722         (feedmail-debug-sit-for, feedmail-queue-express-hook)
21723         (feedmail-queue-runner-message-sender): Set :version.
21724         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21725         (bbdb-dwim-net-address, vm-mail): Declare.
21726         (feedmail-binmail-gnulinuxish-template):
21727         Rename from feedmail-binmail-linuxish-template.
21728         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21729         Use insert-buffer-substring.
21731 2011-05-14  Bill Carpenter  <bill@carpenter.org>
21733         * mail/feedmail.el (feedmail-patch-level): Increase.
21734         (feedmail-debug): New custom group.
21735         (feedmail-confirm-outgoing-timeout)
21736         (feedmail-sendmail-f-doesnt-sell-me-out)
21737         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21738         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21739         (feedmail-sender-line, feedmail-from-line)
21740         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21741         (feedmail-spray-this-address)
21742         (feedmail-spray-address-fiddle-plex-list)
21743         (feedmail-queue-use-send-time-for-date)
21744         (feedmail-queue-use-send-time-for-message-id)
21745         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21746         (feedmail-buffer-eating-function):
21747         Doc fixes.
21748         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21749         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21750         (feedmail-message-action-scroll-down): New functions.
21751         (feedmail-queue-directory, feedmail-queue-draft-directory):
21752         Use expand-file-name.
21753         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21754         Remove C-v help entry.
21755         (feedmail-queue-buffer-file-name): New variable.
21756         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21757         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21758         (feedmail-message-action-send-strong, feedmail-message-action-edit)
21759         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21760         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21761         (feedmail-message-action-toggle-spray)
21762         (feedmail-run-the-queue-no-prompts)
21763         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21764         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21765         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21766         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21767         (feedmail-envelope-deducer, feedmail-fiddle-from)
21768         (feedmail-fiddle-sender, feedmail-default-date-generator)
21769         (feedmail-fiddle-date, feedmail-fiddle-message-id)
21770         (feedmail-fiddle-spray-address)
21771         (feedmail-fiddle-list-of-spray-fiddle-plexes)
21772         (feedmail-fiddle-list-of-fiddle-plexes)
21773         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21774         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21775         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21776         Change default.  Doc fix.
21777         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21778         (feedmail-binmail-linuxish-template): New constant.
21779         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
21780         Respect feedmail-sendmail-f-doesnt-sell-me-out.
21781         (feedmail-send-it): Add debug call.
21782         Use feedmail-queue-buffer-file-name, and
21783         feedmail-send-it-immediately-wrapper.
21784         (feedmail-message-action-send): Add debug call.
21785         Use feedmail-send-it-immediately-wrapper.
21786         (feedmail-queue-express-to-queue): Add debug call.
21787         Run feedmail-queue-express-hook.
21788         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
21789         (feedmail-message-action-help-blat):
21790         Rename from feedmail-queue-send-edit-prompt-help-first.
21791         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
21792         Check line-endings.  Handle errors better.
21793         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21794         Doc fix.  Add debug call.
21795         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
21796         Use feedmail-queue-send-edit-prompt-inner.
21797         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21798         (feedmail-queue-send-edit-prompt-inner): New function, extracted
21799         from feedmail-queue-send-edit-prompt.
21800         (feedmail-queue-send-edit-prompt-help)
21801         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21802         (feedmail-tidy-up-slug): Add debug call.
21803         Respect feedmail-queue-slug-suspect-regexp.
21804         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21805         (feedmail-dump-message-to-queue): Add debug call.
21806         Expand queue-directory.
21807         (feedmail-dump-message-to-queue): Change message slightly.
21808         Use feedmail-say-chatter.
21809         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
21810         (feedmail-send-it-immediately-wrapper): New function.
21811         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
21812         Insert empty string rather than newline.  Handle full-frame case.
21813         Use catch/throw.  Use feedmail-say-chatter.
21814         (feedmail-fiddle-from): Try mail-host-address.
21815         (feedmail-default-message-id-generator): Doc fix.
21816         Bind system-time-locale.  Handle missing end.
21817         (feedmail-fiddle-x-mailer): Add debug call.
21818         Handle feedmail-x-mailer-line being nil.
21819         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21820         Add debug call.  Use buffer-substring-no-properties.
21821         (feedmail-say-debug, feedmail-say-chatter): New functions.
21822         (feedmail-find-eoh): Give an explicit error.
21824 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
21826         * net/newst-treeview.el (newsticker-treeview-face): Change default
21827         family from helvetica to sans.
21828         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21829         etc/images/newsticker.
21831         * net/newst-reader.el (newsticker-feed-face): Change default
21832         family from helvetica to sans.
21834         * net/newst-plainview.el (newsticker-new-item-face)
21835         (newsticker-old-item-face, newsticker-immortal-item-face)
21836         (newsticker-obsolete-item-face, newsticker-date-face)
21837         (newsticker-statistics-face): Change default family from
21838         helvetica to sans.
21839         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21840         etc/images/newsticker.
21842         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21843         (newsticker--process-auto-mark-filter-match): Tell user about
21844         auto-marking.
21846 2011-05-13  Didier Verna  <didier@xemacs.org>
21848         Common Lisp indentation improvements on defmethod and lambda-lists.
21849         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21850         TODO entries.
21851         (lisp-lambda-list-keyword-parameter-indentation)
21852         (lisp-lambda-list-keyword-parameter-alignment)
21853         (lisp-lambda-list-keyword-alignment): New customizable user options.
21854         (lisp-indent-defun-method): Improve docstring.
21855         (extended-loop-p): Fix comment.
21856         (lisp-indent-lambda-list-keywords-regexp): New variable.
21857         (lisp-indent-lambda-list): New function.
21858         (lisp-indent-259): Use it.
21859         (lisp-indent-defmethod): Support for more than one
21860         method qualifier and properly indent methods lambda-lists.
21861         (defgeneric): Provide a missing common-lisp-indent-function property.
21863 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
21865         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21866         bounds for the empty string (bug#8667).
21868 2011-05-13  Glenn Morris  <rgm@gnu.org>
21870         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21872         * mail/sendmail.el (sendmail-program): Try executable-find first.
21873         (sendmail-send-it): `sendmail-program' cannot be unbound.
21875         * calendar/appt.el (appt-make-list): Simplify.
21876         (appt-time-msg-list): Doc fix.
21877         (appt-check): Change mode-line message at the time of the appointment.
21879 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
21881         * progmodes/ld-script.el (ld-script-keywords)
21882         (ld-script-builtins): Update keywords list.
21884 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21886         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21888         * shell.el (shell-completion-vars): New function.
21889         (shell-mode):
21890         * simple.el (read-shell-command): Use it.
21891         (blink-matching-open): No need for " [...]" in minibuffer-message.
21893 2011-05-12  Glenn Morris  <rgm@gnu.org>
21895         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21896         (appt-check): Simplify.
21898 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
21900         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
21901         literal "/dev/null".
21903 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21905         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21906         Fix typo.
21908 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
21910         * progmodes/which-func.el (which-function):
21911         Use add-log-current-defun instead of add-log-current-defun-function,
21912         which might not be defined (Bug#8260).
21914 2011-05-12  Glenn Morris  <rgm@gnu.org>
21916         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21917         Let byte-compile-initial-macro-environment always take precedence.
21919 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21921         * net/rcirc.el: Add support for SSL/TLS connections.
21922         (rcirc-server-alist): New field `encryption'.
21923         (rcirc): Check `encryption' settings.
21924         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
21925         Merge make-local-variable into `set'.
21926         (rcirc--connection-open-p): New function.
21927         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21928         the process is not a network process (e.g. running gnutls-cli).
21929         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21930         Make rcirc-(en|de)code-coding-system local here.
21931         (rcirc-mode): Merge make-local-variable into `set'.
21932         (rcirc-parent-buffer): Make permanent buffer-local.
21933         (rcirc-multiline-minor-mode): Don't do it here.
21934         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21935         there's no server buffer.
21937 2011-05-11  Glenn Morris  <rgm@gnu.org>
21939         * newcomment.el (comment-kill): Prefix "unused" local.
21941         * term/w32console.el (get-screen-color): Declare.
21943         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21944         Handle symbol elements of byte-compile-initial-macro-environment.
21946 2011-05-10  Leo Liu  <sdl.web@gmail.com>
21948         * bookmark.el (bookmark-bmenu-mode-map):
21949         Bind bookmark-bmenu-search to `/'.
21951         * mail/footnote.el: Convert to utf-8 encoding.
21952         (footnote-unicode-string, footnote-unicode-regexp): New variable.
21953         (Footnote-unicode): New function.
21954         (footnote-style-alist): Add unicode style to the list.
21955         (footnote-style): Doc fix.
21957 2011-05-10  Jim Meyering  <meyering@redhat.com>
21959         Fix doubled-word typos.
21960         * international/quail.el (quail-insert-kbd-layout): and and -> and
21961         * kermit.el: and and -> and
21962         * net/ldap.el (ldap-search-internal): to to -> to
21963         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21964         * progmodes/js.el (js-mode): and and -> and
21965         * textmodes/artist.el (artist-move-to-xy): at at -> at
21966         (artist-draw-region-trim-line-endings): if if -> if
21967         And Safetyc -> Safety.
21968         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21970 2011-05-10  Glenn Morris  <rgm@gnu.org>
21971             Stefan Monnier  <monnier@iro.umontreal.ca>
21973         * files.el (hack-one-local-variable-eval-safep):
21974         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
21976 2011-05-10  Glenn Morris  <rgm@gnu.org>
21978         * calendar/diary-lib.el (diary-list-entries-hook)
21979         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21980         (diary-nongregorian-marking-hook, diary-list-entries)
21981         (diary-include-other-diary-files, diary-mark-entries)
21982         (diary-mark-included-diary-files): Doc fixes.
21984 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
21986         * misc.el: Require tabulated-list.el during compilation.
21988 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
21990         * progmodes/compile.el (compilation-start):
21991         Run compilation-filter-hook for the async case too.
21992         (compilation-filter-hook): Doc fix.
21994 2011-05-09  Deniz Dogan  <deniz@dogan.se>
21996         * wdired.el: Remove outdated installation comment.  Fix usage
21997         comment.
21999 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
22001         * misc.el: Implement new command `list-dynamic-libraries'.
22002         (list-dynamic-libraries--loaded-only-p): New variable.
22003         (list-dynamic-libraries--refresh): New function.
22004         (list-dynamic-libraries): New command.
22006 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
22008         * progmodes/compile.el (compilation-error-regexp-alist-alist):
22009         Fix the ant regexp to handle end-line and end-column info from jikes.
22010         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
22011         higher priority to avoid clobbering by gnu.
22013 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
22015         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22016         if the face has existing theme settings (Bug#8454).
22018 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
22020         * progmodes/perl-mode.el (perl-imenu-generic-expression):
22021         Only match variables declared via `my' or `our' (Bug#8261).
22023         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22024         special file names `.' and `..' (Bug#8259).
22026 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
22028         * progmodes/grep.el (grep-mode-font-lock-keywords):
22029         Remove buffer-changing entries.
22030         (grep-filter): New function.
22031         (grep-mode): Add it to compilation-filter-hook.
22033         * progmodes/compile.el (compilation-filter-hook)
22034         (compilation-filter-start): New defvars.
22035         (compilation-filter): Call compilation-filter-hook prior to
22036         updating the process mark.
22038 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
22040         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22042 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
22044         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22045         mailclient-send-it even if window-system is nil.  (Bug#8595)
22047         * term/w32console.el (terminal-init-w32console):
22048         Call get-screen-color and use its output to set the frame
22049         background-mode.  (Bug#8597)
22051 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
22053         Make bytecomp.el understand that defmethod defines funs (bug#8631).
22054         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22055         New functions.
22056         (defgeneric, eieio--defmethod): Use them.
22057         (eieio-defgeneric): Remove.
22058         (defmethod): Call defgeneric in a way visible to the byte-compiler.
22060 2011-05-07  Glenn Morris  <rgm@gnu.org>
22062         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22063         Use let rather than let*.
22064         (timeclock-find-discrep): Remove unused local.
22066         * calendar/diary-lib.el (diary-comment-start): Doc fix.
22068         * calendar/appt.el (appt-time-msg-list): Doc fix.
22070 2011-05-06  Noah Friedman  <friedman@splode.com>
22072         * apropos.el (apropos-print-doc): Only use
22073         emacs-lisp-docstring-fill-column when it is bound to an integer,
22074         per that variable's documentation.
22076 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
22078         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22079         and warnings are not silently discarded (e.g. use -d instead of -P).
22081 2011-05-06  Glenn Morris  <rgm@gnu.org>
22083         * calendar/appt.el (appt-message-warning-time): Doc fix.
22084         (appt-warning-time-regexp): New option.
22085         (appt-make-list): Respect appt-message-warning-time.
22087         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22088         New options.
22089         (diary-add-to-list): Strip comments from the displayed string.
22090         (diary-mode): Set comment-start and comment-end.
22092         * vc/diff-mode.el (smerge-refine-subst): Declare.
22093         (diff-refine-hunk): Don't require smerge-mode when compiling.
22095 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
22097         * simple.el (list-processes): Return nil as the docstring says.
22099 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
22101         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22102         to "".
22103         (ange-ftp-write-region, ange-ftp-insert-file-contents)
22104         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22105         determining of binary transfer.  (Bug#7383)
22107 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
22109         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22110         Fix port computation bug.  (Bug#8618)
22112 2011-05-05  Glenn Morris  <rgm@gnu.org>
22114         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22116         * simple.el (shell-dynamic-complete-functions)
22117         (comint-dynamic-complete-functions): Declare.
22119         * net/network-stream.el (gnutls-negotiate):
22120         * simple.el (tabulated-list-print): Fix declarations.
22122         * progmodes/gud.el (syntax-symbol, syntax-point):
22123         Remove unnecessary and incorrect declarations.
22125         * emacs-lisp/check-declare.el (check-declare-scan):
22126         Handle byte-compile-initial-macro-environment in bytecomp.el.
22128 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22130         Fix earlier half-done eieio-defmethod change (bug#8338).
22131         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22132         Streamline and change calling convention.
22133         (defmethod): Adjust accordingly and simplify.
22134         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22135         new eieio--defmethod.
22136         (slot-boundp): Minor CSE simplification.
22138 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
22140         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22141         (glasses-make-readable): Use glasses-separate-capital-groups.
22143 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
22145         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22146         (warning-series): Doc fix.
22147         (display-warning): Don't try to create the buffer if we just found it.
22149 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
22151         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22152         (autoload-find-generated-file): New function.
22153         (generate-file-autoloads): Bind generated-autoload-file to
22154         buffer-file-name.
22155         (update-file-autoloads, update-directory-autoloads):
22156         Use autoload-find-generated-file.  If called interactively, prompt for
22157         output file (Bug#7989).
22158         (batch-update-autoloads): Doc fix.
22160 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
22162         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22164 2011-05-04  Glenn Morris  <rgm@gnu.org>
22166         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22167         function, so it follows changes in calendar-date-style.
22168         (diary-fancy-date-matcher): New function.
22169         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22170         (diary-fancy-font-lock-fontify-region-function):
22171         Use diary-fancy-date-pattern as a function.
22173         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22174         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
22176 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
22178         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22179         instead of positional arguments.  Allow :keylist and :crlfiles
22180         arguments.
22181         (open-gnutls-stream): Call it.
22183         * net/network-stream.el (network-stream-open-starttls): Adjust to
22184         call `gnutls-negotiate' with :process and :hostname arguments.
22186 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
22188         * minibuffer.el (completion--message): New function.
22189         (completion--do-completion, minibuffer-complete)
22190         (minibuffer-force-complete, minibuffer-complete-word): Use it.
22191         (completion--do-completion): Don't ignore completion-auto-help when in
22192         icomplete-mode.
22194         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22195         internal encoding (e.g. tibetan zero is not whitespace).
22196         (global-whitespace-mode): Prefer save-current-buffer.
22197         (whitespace-trailing-regexp): Remove useless save-match-data.
22198         (whitespace-empty-at-bob-regexp): Minor simplification.
22200 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
22202         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22204 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
22206         * textmodes/ispell.el (ispell-add-per-file-word-list):
22207         Use `concat' to create string for insertion.
22209 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
22211         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22212         Avoid open-line which runs post-self-insert-hook.
22213         (bibtex-fill-entry): Remove unused `end' var.
22215 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
22217         * textmodes/ispell.el (ispell-add-per-file-word-list):
22218         Protect against `nil' value of `comment-start' (Bug#8579).
22220 2011-05-03  Leo Liu  <sdl.web@gmail.com>
22222         * isearch.el (isearch-yank-pop): New command.
22223         (isearch-mode-map): Bind it to `M-y'.
22224         (isearch-forward): Mention it.
22226 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
22228         * simple.el (minibuffer-complete-shell-command): Remove.
22229         (minibuffer-local-shell-command-map): Use completion-at-point.
22230         (read-shell-command): Setup completion vars here instead.
22231         (read-expression-map): Bind TAB to symbol completion.
22233         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22234         error directly rather via storing it into `results'.
22236 2011-05-02  Leo Liu  <sdl.web@gmail.com>
22238         * vc/diff.el: Fix description.
22240 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22242         * server.el (server-eval-at): New function.
22244 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22246         * net/network-stream.el (open-network-stream): Take a :nowait
22247         parameter and pass it on to `make-network-process'.
22248         (network-stream-open-plain): Ditto.
22250 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
22252         * faces.el (face-spec-set-match-display): Don't match toolkit
22253         options on terminal frames.
22255 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
22257         * progmodes/pascal.el: Use lexical binding.
22258         (pascal-mode-map): Remove author preferences.
22260         * pcomplete.el (pcomplete-std-complete): Don't abuse
22261         completion-at-point.
22263 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
22265         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22266         removing code that has been dead since 1991 or so.
22268         * startup.el (command-line): When warning about "_emacs", use a
22269         delayed warning to allow the user to filter it out.
22271 2011-04-28  Deniz Dogan  <deniz@dogan.se>
22273         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22274         user has not joined.
22276 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
22278         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22279         aren't any completions at point.
22281 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
22283         * subr.el (display-delayed-warnings): New function.
22284         (delayed-warnings-hook): New variable.
22286 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
22288         * minibuffer.el (completion-at-point, completion-help-at-point):
22289         Don't presume that a given completion-at-point-function will always
22290         use the same calling convention.
22292         * pcomplete.el (pcomplete-completions-at-point):
22293         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
22294         pcomplete-seen is non-nil.
22295         (pcomplete-comint-setup): Also recognize the new comint/shell
22296         completion functions.
22297         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22298         pcomplete-seen is non-nil.
22300 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
22302         * calendar/icalendar.el (diary-lib): Add require statement.
22303         (icalendar--create-uid): Read out a uid from a text-property on
22304         the first character in the entry.  This allows for code to add its
22305         own uid to the entry.
22306         (icalendar--convert-float-to-ical): Add export of
22307         `diary-float'-entries save for those with the optional DAY
22308         argument.
22310 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
22312         * subr.el (shell-quote-argument): Use alternate escaping strategy
22313         when we spot a variable reference in a string.
22315 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
22317         * cus-start.el (all): Define customization for debug-on-event.
22319 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
22321         * subr.el (shell-quote-argument): Escape correctly under Windows.
22323 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
22325         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22327 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
22329         * net/tramp.el (tramp-process-actions): Add POS argument.
22330         Delete region between POS and (pos).
22332         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22333         Use `nil' position in `tramp-process-actions' call.
22334         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22336         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22337         position in `tramp-process-actions' call.
22339         * net/trampver.el: Update release number.
22341 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
22343         * custom.el (defcustom): Obey lexical-binding.
22345         Fix octave-inf completion problems reported by Alexander Klimov.
22346         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22347         Inherit from octave-mode-syntax-table.
22348         (inferior-octave-mode): Set info-lookup-mode.
22349         (inferior-octave-completion-at-point): New function.
22350         (inferior-octave-complete): Use it and completion-in-region.
22351         (inferior-octave-dynamic-complete-functions): Use it as well, and use
22352         comint-filename-completion.
22353         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22354         symbol elements which shouldn't be word elements.
22355         (octave-font-lock-keywords, octave-beginning-of-defun)
22356         (octave-function-header-regexp): Adjust regexps accordingly.
22357         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22359 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
22361         * net/gnutls.el (gnutls-errorp): Declare before first use.
22363 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
22365         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22366         verify-error, and verify-hostname-error parameters.  Check whether
22367         default trustfile exists before going to use it.  Add missing
22368         argument to gnutls-message-maybe call.  Return value.
22369         Reported by Claudio Bley <claudio.bley@gmail.com>.
22370         (open-gnutls-stream): Add usage example.
22372         * net/network-stream.el (network-stream-open-starttls): Give host
22373         parameter to `gnutls-negotiate'.
22374         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22375         * subr.el (shell-quote-argument): Escape correctly under Windows.
22377 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
22379         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22380         Use correct match group (bug#8438).
22382 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
22384         * emacs-lisp/package.el (package-built-in-p): Fix typo.
22385         (package-menu--generate): New arg specifying packages to show.
22386         (package-menu-refresh, package-menu-execute, list-packages):
22387         Callers changed.
22388         (package-show-package-list): New function, replacing deleted
22389         package--list-packages (renamed because it is non-internal).
22391         * finder.el (finder-list-matches): Use package-show-package-list
22392         instead of deleted package--list-packages.
22394         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22395         Based on a previous implementation by Juanma Barranquero (Bug#8366).
22396         (vc-annotate-mode-map): Bind it to RET.
22398 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
22400         * progmodes/etags.el (next-file): Don't use set-buffer to change
22401         buffers (Bug#8478).
22403 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
22405         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22407         * apropos.el (apropos-label-face): Avoid variable-pitch face.
22408         (apropos-accumulator): Doc fix.
22409         (apropos-function, apropos-macro, apropos-command)
22410         (apropos-variable, apropos-face, apropos-group, apropos-widget)
22411         (apropos-plist): Add face property.
22412         (apropos-symbols-internal): Fix indentation.
22413         (apropos-print): Simplify help, and recognize apropos-multi-type.
22414         (apropos-print-doc): Use button-type-get to extract the button's
22415         face property.  Fill docstring (Bug#8352).
22417 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
22419         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22421         * play/mpuz.el (mpuz-silent): Doc fix.
22422         (mpuz-mode-map): Use mapc.
22423         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22424         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22425         Fix typos in docstrings.
22427         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22428         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22430         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22432 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
22434         * minibuffer.el (completion--do-completion): Avoid the "Next char
22435         not unique" prompt if icomplete-mode is enabled (Bug#5849).
22437         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22438         mouse-2 into unread-command-events, it is interpreted correctly.
22440         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22441         (image-toggle-display): Doc fix.
22443 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
22445         * textmodes/page.el (what-page): Use line-number-at-pos to
22446         calculate line number (Bug#6825).
22448 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
22450         * eshell/esh-mode.el (find-tag-interactive): Declare function.
22451         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22452         Pass argument NO-DEFAULT to `find-tag-interactive'.
22454 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
22456         Lexical-binding cleanup.
22458         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22459         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22460         * progmodes/ada-prj.el (ada-prj-initialize-values)
22461         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22462         (ada-prj-show-value):
22463         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22464         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22465         (antlr-invalidate-context-cache, antlr-options-menu-filter)
22466         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22467         * progmodes/bug-reference.el (bug-reference-push-button):
22468         * progmodes/fortran.el (fortran-line-length):
22469         * progmodes/glasses.el (glasses-change):
22470         * progmodes/octave-mod.el (octave-fill-paragraph):
22471         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22472         (python-pdbtrack-grub-for-buffer, python-sentinel):
22473         * progmodes/sql.el (sql-save-connection):
22474         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22475         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22476         Mark unused parameters.
22478         * progmodes/compile.el (compilation--flush-directory-cache)
22479         (compilation--flush-parse, compile-internal): Mark unused parameters.
22480         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22481         (compilation-next-error-function): Remove unused variable `timestamp'.
22483         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22484         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22486         * progmodes/dcl-mode.el (dcl-end-of-command):
22487         Remove unused variable `start'.
22488         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22489         (dcl-option-value-basic, dcl-option-value-offset)
22490         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22491         Mark unused parameters.
22492         (dcl-save-local-variable): Remove unused variable `val'.
22493         (mode): Declare.
22495         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22496         Mark unused parameters.
22497         (delphi-ignore-changes): Move before first use.
22498         (delphi-charset-token-at): Remove unused variable `start'.
22499         (delphi-else-start): Remove unused variable `if-count'.
22500         (delphi-comment-block-start, delphi-comment-block-end):
22501         Remove unused variable `kind'.
22502         (delphi-indent-line): Remove unused variable `new-point'.
22504         * progmodes/ebrowse.el (ebrowse-files-list)
22505         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22506         Mark unused parameters.  Don't quote `lambda'.
22507         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22508         Don't quote `lambda'.
22509         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22510         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22511         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22512         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22513         Use `ignore-errors'.
22514         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22515         (ebrowse-view/find-file-and-search-pattern)
22516         (ebrowse-view/find-member-declaration/definition):
22517         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22518         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22519         Rename parameter PREFIX-ARG to PREFIX.
22520         (ebrowse-tags-read-name): Remove unused variables `start' and
22521         `member-info'.
22522         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22523         to `tags-file'.
22525         * progmodes/etags.el (local-find-tag-hook): Declare.
22526         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22527         Mark unused parameters.
22529         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22530         (executable-interpret): Mark unused parameter.
22532         * progmodes/flymake.el (flymake-process-sentinel)
22533         (flymake-after-change-function)
22534         (flymake-create-temp-with-folder-structure)
22535         (flymake-get-include-dirs-dot): Mark unused parameters.
22536         (flymake-safe-delete-directory): Remove unused variable `err'.
22538         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22539         (speedbar-timer-fn, speedbar-line-text)
22540         (speedbar-change-expand-button-char, speedbar-delete-subblock)
22541         (speedbar-center-buffer-smartly): Declare functions.
22542         (gdb-find-watch-expression): Remove unused variable `array'.
22543         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22544         (gdb-starting): Mark unused parameters.
22545         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22546         (gdb-table-string): Remove unused variable `res'.
22547         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22548         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22549         (gdb-display-buffer): Remove unused variable `cur-size'.
22551         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22552         allow lexical-binding compilation.
22553         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22554         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22555         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22556         Mark unused parameters.
22557         (gud-gdb-marker-filter): Remove unused variable `match'.
22558         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22559         lambda expressions and funcall them, instead of using `fset'.
22561         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22562         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22564         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22565         variable `header-beg'; use `let'.
22567         * progmodes/icon.el (indent-icon-exp): Remove unused variables
22568         `restart', `last-sexp' and `at-do'.
22570         * progmodes/js.el (js--debug): Mark unused parameter.
22571         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22572         (js--splice-into-items): Remove unused variable `item'.
22573         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22575         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22576         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22577         (makefile-complete): Remove unused variable `try'.
22578         (makefile-fill-paragraph, makefile-match-function-end):
22579         Mark unused parameters.
22581         * progmodes/octave-inf.el (inferior-octave-complete):
22582         Remove unused variable `proc'.
22583         (inferior-octave-output-digest): Mark unused parameter.
22585         * progmodes/perl-mode.el (perl-calculate-indent):
22586         Remove unused variable `err'.
22588         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22589         (prolog-indent-line): Mark unused parameters.
22590         (prolog-indent-line): Remove unused variable `beg'.
22592         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22593         (reporter-dont-compact-list): Declare.
22595         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22596         Remove unused variable `char'.
22597         (sh-debug): Mark unused parameter.
22598         (sh-get-indent-info): Remove unused variable `start'.
22599         (sh-calculate-indent): Remove unused variable `var'.
22601         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22602         (simula-electric-keyword): Remove unused variable `null'.
22603         (simula-search-backward, simula-search-forward): Remove unused
22604         variables `begin' and `end'.
22606         * progmodes/vera-mode.el (vera-guess-basic-syntax):
22607         Remove unused variable `pos'.
22608         (vera-electric-tab, vera-comment-uncomment-region):
22609         Mark unused parameters.
22610         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22612 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
22614         * emacs-lisp/package.el (package--builtins, package-alist)
22615         (package-load-descriptor, package-built-in-p, package-activate)
22616         (define-package, package-installed-p)
22617         (package-compute-transaction, package-buffer-info)
22618         (package--push): Doc fix.  Distinguish more clearly between
22619         version strings and version lists.
22621 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
22623         Lexical-binding cleanup.
22625         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22626         (5x5-make-mutate-best):
22627         * play/fortune.el (fortune-in-buffer):
22628         * play/gomoku.el (gomoku-init-display):
22629         * play/solitaire.el (solitaire, solitaire-do-check):
22630         * play/tetris.el (tetris-default-update-speed-function):
22631         Mark unused parameters.
22633         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22634         (bubbles--shift): Remove unused variable `char-org'.
22635         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
22636         (bubbles--show-images): Remove unused variable `char'.
22638         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22639         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22640         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22641         (decipher-analyze-buffer): Use ?\s.
22642         (decipher-make-checkpoint): Remove unused variable `mapping'.
22644         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22646         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22647         Remove unused variable `result'; use `let'.
22649         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22650         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22651         (gametree-children-shown-p, gametree-compute-reduced-score):
22652         Use `ignore-errors'.
22654         * play/handwrite.el (ps-lpr-switches): Declare.
22655         (handwrite): Remove unused variables `pmin' and `lastp'.
22657         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22659         * play/landmark.el (landmark-init-display)
22660         (landmark-update-naught-weights): Mark unused parameters.
22661         (landmark-y): Remove unused variable `noise'.  Simplify.
22662         (landmark-human-plays): Remove unused variable `score'.
22664         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22665         (mpuz-try-proposal): Remove unused variable `game'.
22667         * play/zone.el (life-patterns): Declare.
22669 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
22671         * vc/vc.el (ediff-vc-internal): Declare function.
22673 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22675         * shell.el: Use lexical-binding and std completion UI.
22676         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22677         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22678         comint-preoutput-filter-functions rather than on
22679         comint-output-filter-functions.
22680         (shell-command-completion, shell--command-completion-data)
22681         (shell-filename-completion, shell-environment-variable-completion)
22682         (shell-c-a-p-replace-by-expanded-directory): New functions.
22683         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22684         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22685         (shell-dynamic-complete-environment-variable): Use them.
22686         (shell-dynamic-complete-as-environment-variable)
22687         (shell-dynamic-complete-as-command): Remove.
22688         (shell-match-partial-variable): Match past point.
22689         * comint.el: Clean up use of completion-at-point-functions.
22690         (comint-completion-at-point): New function.
22691         (comint-mode): Use it completion-at-point-functions.
22692         (comint-dynamic-complete): Make it obsolete.
22693         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22694         (comint-c-a-p-replace-by-expanded-history): New function.
22695         (comint-dynamic-complete-functions)
22696         (comint-replace-by-expanded-history): Use it.
22697         * minibuffer.el (completion-table-with-terminator): Allow dynamic
22698         termination strings.  Try harder to avoid second try-completion.
22699         (completion-in-region-mode-map): Disable bindings that don't work yet.
22701         * comint.el: Use lexical-binding.  Require CL.
22702         (comint-dynamic-complete-functions): Use comint-filename-completion.
22703         (comint-completion-addsuffix): Tweak custom type.
22704         (comint-filename-completion, comint--common-suffix)
22705         (comint--common-quoted-suffix, comint--table-subvert)
22706         (comint--complete-file-name-data): New functions.
22707         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22708         (comint-dynamic-list-filename-completions): Use them.
22709         (comint-dynamic-simple-complete): Make obsolete.
22711         * minibuffer.el (completion-in-region-mode):
22712         Keep completion-in-region-mode--predicate global.
22713         (completion-in-region--postch):
22714         Assume completion-in-region-mode--predicate is not null.
22716         * progmodes/flymake.el (flymake-start-syntax-check-process):
22717         Obey `dir'.  Simplify.
22719         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22720         we're in VC after all.
22722 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
22724         * vc/vc.el (vc-diff-build-argument-list-internal)
22725         (vc-version-ediff, vc-ediff): New commands.
22726         (vc-version-diff): Use vc-diff-build-argument-list-internal.
22728 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22730         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22731         add sanity check.
22733         * obsolete/erc-hecomplete.el: Make obsolete.
22734         * obsolete/: Standardize obsolescence info in the header.
22736 2011-04-20  Glenn Morris  <rgm@gnu.org>
22738         * calendar/solar.el (solar-horizontal-coordinates):
22739         Use the longitude argument rather than `calendar-longitude'.
22740         (solar-date-next-longitude): Remove unused locals.
22742 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
22744         * whitespace.el: New version 13.2.1.
22746 2011-04-20  felix  <EmacsWiki>  (tiny change)
22748         * whitespace.el (global-whitespace-mode): Keep highlight when
22749         switching between major modes on a file.
22751 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
22753         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22754         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22755         multi-line comments as well.
22757 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
22759         Lexical-binding cleanup.
22761         * arc-mode.el (archive-mode-revert):
22762         * cmuscheme.el (scheme-interactively-start-process):
22763         * custom.el (custom-initialize-delay):
22764         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22765         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22766         * emacs-lock.el (emacs-lock-clear-sentinel):
22767         * ezimage.el (defezimage):
22768         * follow.el (follow-avoid-tail-recenter):
22769         * fringe.el (set-fringe-mode-1):
22770         * generic-x.el (bat-generic-mode-compile):
22771         * help-mode.el (help-info-variable, help-do-xref)
22772         (help-mode-revert-buffer):
22773         * help.el (view-emacs-todo):
22774         * iswitchb.el (iswitchb-completion-help):
22775         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22776         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22777         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22778         * locate.el (locate-update):
22779         * longlines.el (longlines-encode-region)
22780         (longlines-after-change-function):
22781         * outline.el (outline-isearch-open-invisible):
22782         * ps-def.el (declare-function, charset-dimension, char-width)
22783         (encode-char):
22784         * ps-mule.el (ps-mule-plot-string):
22785         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22786         (recentf-edit-list-select, recentf-edit-list-validate)
22787         (recentf-open-files-action):
22788         * rect.el (delete-whitespace-rectangle-line)
22789         (rectangle-number-line-callback):
22790         * register.el (window-configuration-to-register)
22791         (frame-configuration-to-register):
22792         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22793         * select.el (xselect-convert-to-string, xselect-convert-to-length)
22794         (xselect-convert-to-targets, xselect-convert-to-delete)
22795         (xselect-convert-to-filename, xselect-convert-to-charpos)
22796         (xselect-convert-to-lineno, xselect-convert-to-colno)
22797         (xselect-convert-to-os, xselect-convert-to-host)
22798         (xselect-convert-to-user, xselect-convert-to-class)
22799         (xselect-convert-to-name, xselect-convert-to-integer)
22800         (xselect-convert-to-atom, xselect-convert-to-identity):
22801         * subr.el (declare, ignore, process-kill-without-query)
22802         (text-clone-maintain):
22803         * terminal.el (te-get-char, te-tic-sentinel):
22804         * tool-bar.el (tool-bar-make-keymap):
22805         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22806         * type-break.el (type-break-mode, type-break-noninteractive-query):
22807         * view.el (View-back-to-mark):
22808         * wid-browse.el (widget-browse-action, widget-browse-widget)
22809         (widget-browse-widgets, widget-browse-sexp):
22810         * widget.el (define-widget-keywords):
22811         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22812         Mark unused parameters.
22814         * align.el (align-adjust-col-for-rule): Mark unused parameter.
22815         (align-areas): Remove unused variable `look'.
22816         (align-region): Remove unused variables `real-end' and `pos-list'.
22818         * apropos.el (apropos-score-doc): Remove unused variable `i'.
22820         * bindings.el (mode-line-modified, mode-line-remote):
22821         Mark unused parameters.
22822         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22824         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22825         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22827         * comint.el (comint-history-isearch-pop-state)
22828         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22829         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22830         (comint-substitute-in-file-name): Doc fix.
22832         * completion.el (cmpl-statistics-block): Mark unused parameter.
22833         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22834         (save-completions-to-file, load-completions-from-file):
22835         Remove unused local variable `e'.
22837         * composite.el (compose-chars): Remove unused variable `len'.
22838         (lgstring-insert-glyph): Remove unused variable `g'.
22839         (compose-glyph-string): Remove unused variables `ascent',
22840         `descent', `lbearing' and `rbearing'.
22841         (compose-glyph-string-relative): Remove unused variables
22842         `lbearing', `rbearing' and `wadjust'.
22843         (compose-gstring-for-graphic): Remove unused variables `header',
22844         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
22845         (compose-gstring-for-terminal): Remove unused variables `header'
22846         and `nchars'.  Use `let', not `let*'.
22848         * cus-edit.el (Custom-set, Custom-save, custom-reset)
22849         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22850         (Custom-buffer-done, custom-buffer-create-internal)
22851         (custom-browse-visibility-action, custom-browse-group-tag-action)
22852         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22853         (widget-magic-mouse-down-action, custom-toggle-parent)
22854         (custom-add-parent-links, custom-toggle-hide-variable)
22855         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22856         (custom-toggle-hide-face, face, hook, custom-group-link-action)
22857         (custom-face-menu-create, custom-variable-menu-create, get)
22858         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22859         (custom-reset-standard-save-and-update): Remove unused variable `value'.
22860         (customize-apropos): Remove unused variable `tests'.
22861         (custom-group-value-create): Remove unused variable `hidden-p'.
22862         (sort-fold-case): Declare.
22864         * cus-theme.el (custom-reset-standard-faces-list)
22865         (custom-reset-standard-variables-list): Declare.
22866         (customize-create-theme, custom-theme-revert, custom-theme-write)
22867         (custom-theme-choose-mode, customize-themes, custom-theme-save):
22868         Mark unused parameters.
22870         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22872         * delim-col.el (delimit-columns-max): Move defvar before first use.
22874         * descr-text.el (describe-char-categories): Don't quote `lambda'.
22875         (describe-char): Don't quote `lambda'.  Mark unused parameter.
22877         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22878         (auto-insert): Declare.
22879         (desktop-restore-file-buffer): Rename desktop-* parameters;
22880         mark unused ones.
22881         (desktop-create-buffer): Rename desktop-* parameters and bind them.
22882         (desktop-buffer): Rename desktop-* parameters.
22884         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22885         (dframe-reposition-frame-xemacs, dframe-help-echo)
22886         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22887         Mark unused parameters.
22889         * dired-aux.el (backup-extract-version-start, overwrite-query)
22890         (overwrite-backup-query, rename-regexp-query)
22891         (rename-non-directory-query): Declare.
22892         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22893         (dired-add-entry): Remove unused variable `orig-file-name'.
22894         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22895         Use parameter PRESERVE-TIME instead of accessing dynamic variable
22896         `dired-copy-preserve-time' directly.
22897         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22898         (dired-insert-subdir-newpos): Rename unused variable `pos'.
22900         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22901         (dired-virtual-revert, dired-make-relative-symlink):
22902         Mark unused parameters.
22903         (manual-program): Declare.
22904         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22905         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22906         wrapped in `with-no-warnings' to avoid replacing one warning by another.
22908         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22910         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22912         * echistory.el (electric-history-in-progress, Helper-return-blurb):
22913         Declare.
22915         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22917         * electric.el (Electric-command-loop): Rename parameter
22918         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22920         * expand.el (expand-in-literal): Remove unused variable `here'.
22922         * facemenu.el (facemenu-add-new-color):
22923         Remove unused variable `docstring'.
22925         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22926         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22927         (face-attr-construct): Mark unused parameter.  Doc fix.
22928         (read-color): Remove unused variable `hex-string'.
22930         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22931         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22932         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22933         (display-buffer-other-frame): Remove unused variable `old-window'.
22934         (kill-buffer-hook): Declare.
22935         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22936         Mark unused parameters.
22937         (after-find-file): Pass 1 to `auto-save-mode', not t.
22939         * files-x.el (auto-insert): Declare.
22940         (modify-file-local-variable-prop-line): Remove unused variable `val'.
22942         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22943         variable `buf'.  Mark unused parameter.
22944         (find-lisp-insert-directory): Mark unused parameter.
22946         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22947         (format-encode-region): Remove unused variables `cur-buf' and `result'.
22948         (format-common-tail): Remove, unused.
22949         (format-deannotate-region): Remove unused variable `loc'.
22950         (format-annotate-region): Remove unused variable `p'.
22951         (format-annotate-single-property-change): Remove unused variables
22952         `default' and `tail'.
22954         * forms.el (read-file-filter): Declare.
22955         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22957         * frame.el (frame-creation-function-alist): Mark unused parameter.
22958         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22960         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22961         Remove unused parameters.
22962         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22963         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22965         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22966         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22967         (hfy-prepare-tag-map): Mark unused parameters.
22968         (htmlfontify-buffer): Use `called-interactively-p'.
22970         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22971         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22972         (ibuffer-do-occur): Mark unused parameters.
22973         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22974         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22976         * ibuffer.el: Don't quote `lambda'.
22977         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22978         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22979         Mark unused parameters.
22981         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22982         (ido-completing-read): Mark unused parameters.
22983         (ido-copy-current-word): Mark unused parameters;
22984         remove unused variable `name'.
22985         (ido-sort-merged-list): Remove unused parameter `dirs'.
22987         * ielm.el (ielm-input-sender): Mark unused parameter.
22988         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22989         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22990         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22991         `ielm-string' as a dynamic variable accessible from the IELM prompt.
22992         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
22994         * image-dired.el (image-dired-display-thumbs): Remove unused
22995         variables `curr-file' and `count'.
22996         (image-dired-remove-tag): Remove unused variable `start'.
22997         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22998         variable `curr-file'
22999         (image-dired-rotate-original): Remove unused variable `temp-file'.
23000         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23001         Remove unused variable `file'.
23002         (image-dired-gallery-generate): Remove unused variable `curr'.
23003         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23005         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23007         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23009         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23011         * isearch.el (minibuffer-history-symbol): Declare.
23012         (isearch-edit-string): Remove unused variable `err'.
23013         (isearch-message-prefix, isearch-message-suffix):
23014         Mark unused parameters.
23016         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23018         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23020         * makesum.el (double-column): Remove unused variable `cnt'.
23022         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23023         (ido-ignore-item-temp-list): Declare.
23025         * mouse-drag.el (mouse-drag-throw): Remove unused variables
23026         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23027         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23028         (mouse-drag-drag): Remove unused variables `mouse-delta' and
23029         `mouse-col-delta'.
23031         * mouse-sel.el (mouse-extend-internal):
23032         Remove unused variable `orig-window-frame'.
23034         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23035         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23036         Move declarations before first use.
23037         (pcomplete-opt): Mark unused parameters; doc fix.
23039         * proced.el (proced-revert): Mark unused parameter.
23040         (proced-send-signal): Remove unused variable `err'.
23042         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23043         Rename parameter PREFIX-ARG to ARG.
23044         (ps-basic-plot-string, ps-basic-plot-whitespace):
23045         Mark unused parameters.
23047         * replace.el (replace-count): Define.
23048         (occur-revert-function): Mark unused parameters.
23049         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23050         (isearch-case-fold-search, isearch-string): Declare.
23051         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23052         bind `case-fold-search'.  Remove unused variables `beg' and `end',
23053         and simplify.
23054         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23055         COUNT and bind `replace-count'.
23056         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23057         to COUNT.
23059         * savehist.el (print-readably, print-string-length): Declare.
23061         * shadowfile.el (shadow-expand-cluster-in-file-name):
23062         Remove unused variable `cluster'.
23063         (shadow-copy-file): Remove unused variable `i'.
23064         (shadow-noquery, shadow-clusters, shadow-site-cluster)
23065         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23066         (shadow-define-literal-group, shadow-define-regexp-group)
23067         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23069         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23070         (shell): Use `called-interactively-p'.
23071         (shell-directory-tracker): Remove unused variable `chdir-failure'.
23073         * simple.el (compilation-context-lines, comint-file-name-quote-list)
23074         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23075         (delete-backward-char): Remove unused variable `ocol'.
23076         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23077         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23078         (event-apply-hyper-modifier, event-apply-shift-modifier)
23079         (event-apply-control-modifier, event-apply-meta-modifier):
23080         Mark unused parameters.
23081         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23082         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23084         * speedbar.el (speedbar-ignored-directory-expressions)
23085         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23086         (speedbar-find-file, speedbar-dir-follow)
23087         (speedbar-directory-buttons-follow, speedbar-tag-find)
23088         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23089         (speedbar-buffers-line-directory, speedbar-buffer-click):
23090         Mark unused parameters.
23091         (speedbar-tag-file): Remove unused variable `mode'.
23092         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23094         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23096         * talk.el (talk): Remove unused variable `display'.
23098         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23099         (tar-write-region-annotate): Mark unused parameter.
23101         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23102         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23103         Declare them, wrapped in `with-no-warnings' to avoid replacing one
23104         warning by another.
23106         * time-stamp.el (time-stamp-string-preprocess):
23107         Remove unused variable `require-padding'.
23109         * tree-widget.el (widget-glyph-enable): Declare.
23110         (tree-widget-action): Mark unused parameter.
23112         * w32-fns.el (x-get-selection): Mark unused parameter.
23113         (autoload-make-program, generated-autoload-file): Declare.
23115         * wdired.el (wdired-revert): Mark unused parameters.
23116         (wdired-xcase-word): Remove unused variable `err'.
23118         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23119         (whitespace-help-scroll): Remove unused variable `data-help'.
23121         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23122         (widget-image-insert, widget-after-change, default)
23123         (widget-default-format-handler, widget-default-notify)
23124         (widget-default-prompt-value, widget-info-link-action)
23125         (widget-url-link-action, widget-function-link-action)
23126         (widget-variable-link-action, widget-file-link-action)
23127         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23128         (widget-field-prompt-internal, widget-field-action, widget-field-match)
23129         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23130         (widget-insert-button-action, widget-delete-button-action, visibility)
23131         (widget-documentation-link-action, widget-documentation-string-action)
23132         (widget-const-prompt-value, widget-regexp-match, symbol)
23133         (widget-coding-system-prompt-value)
23134         (widget-key-sequence-value-to-external, sexp)
23135         (widget-sexp-value-to-internal, character, vector, cons)
23136         (widget-choice-prompt-value, widget-boolean-prompt-value)
23137         (widget-color--choose-action): Mark unused parameters.
23138         (widget-item-match-inline, widget-choice-match-inline)
23139         (widget-checklist-match, widget-checklist-match-inline)
23140         (widget-group-match): Rename parameter VALUES to VALS.
23141         (widget-field-value-set): Remove unused variable `size'.
23142         (widget-color-action): Remove unused variables `value' and `start'.
23144         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23145         variable `dir'.  Doc fix.
23146         (windmove-find-other-window): Don't pass it.
23148         * window.el (count-windows): Mark unused parameter.
23149         (bw-adjust-window): Remove unused variable `err'.
23151         * woman.el (woman-file-name): Remove unused variable `default'.
23152         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23153         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23154         (global-font-lock-mode): Declare.
23155         (woman-decode-region): Mark unused parameter.
23156         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23158         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23159         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23160         (x-dnd-handle-moz-url): Remove unused variable `title'.
23161         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23163         * xml.el (xml-parse-tag, xml-parse-attlist):
23164         Remove unused variable `pos'.
23166 2011-04-19  Glenn Morris  <rgm@gnu.org>
23168         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23169         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23170         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23171         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23172         * calendar/cal-html.el (cal-html-insert-minical):
23173         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23174         (calendar-mark-date-pattern):
23175         Prefix "unused" locals.
23177         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23178         optional argument `style'.
23180         * calendar/appt.el (appt-make-list):
23181         * calendar/cal-china.el (calendar-chinese-date-string):
23182         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23183         (diary-hebrew-yahrzeit):
23184         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23185         * calendar/calendar.el (calendar-generate-window):
23186         * calendar/time-date.el (time-to-days):
23187         Remove unused local variables.
23189 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
23191         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23192         glyphless-char-display table.
23193         (tabulated-list-glyphless-char-display): New var.
23195 2011-04-18  Sam Steingold  <sds@gnu.org>
23197         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23198         to acknowledgments.
23200 2011-04-17  Glenn Morris  <rgm@gnu.org>
23202         * calendar/diary-lib.el (diary-sexp-entry):
23203         * calendar/holidays.el (holiday-sexp):
23204         Set debug-on-error rather than the removed stack-trace-on-error.
23206 2011-04-16  Glenn Morris  <rgm@gnu.org>
23208         * progmodes/f90.el: Use lexical-binding.
23209         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23211 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23213         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23214         (mail-mode): Setup mailalias completion here instead.
23215         * mail/mailalias.el: Use lexical-binding.
23216         (pattern, mailalias-done): Declare dynamic.
23217         (mail-completion-at-point-function): New function, from mail-complete.
23218         (mail-complete): Use it.
23219         (mail-completion-expand): New function.
23220         (mail-get-names): Use it.
23221         (mail-directory, mail-directory-process, mail-directory-stream):
23222         Don't use `pattern' for lexically bound arg.
23224         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23226         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23227         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23228         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23230         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23231         (byte-save-window-excursion, byte-temp-output-buffer-setup)
23232         (byte-interactive-p): Define them again, for use when inlining
23233         old code.
23235 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
23237         * loadup.el: Use `string-to-number', not `string-to-int'.
23239 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23241         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23242         gud-gdb-complete-command.
23243         (gud-gdb-completions): New function, from gud-gdb-complete-command.
23244         (gud-gdb-completion-at-point): New function.
23245         (gud-gdb-completions): Remove.
23247 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
23249         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23250         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
23251         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23252         whether `executable-find' is bound.
23254         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23256 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
23258         * minibuffer.el (completion-in-region-mode-predicate)
23259         (completion-in-region-mode--predicate): New vars.
23260         (completion-in-region, completion-in-region--postch)
23261         (completion-in-region-mode): Use them.
23262         (completion--capf-wrapper): Also return the hook function.
23263         (completion-at-point, completion-help-at-point):
23264         Adjust and provide a predicate.
23266         Preserve arg names for advice of subr and lexical functions (bug#8457).
23267         * help-fns.el (help-function-arglist): Consolidate the subr and
23268         new-byte-code cases.  Add argument `preserve-names' to extract names
23269         from the docstring when needed.
23270         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23271         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23272         (ad-arglist): Use help-function-arglist's new arg.
23273         (ad-definition-type): Use cond.
23275 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
23277         * autorevert.el (auto-revert-handler):
23278         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23279         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23280         Don't quote lambda.
23282         * image-mode.el (image-transform-set-scale):
23283         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23285 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23287         * net/network-stream.el (network-stream-open-starttls): Only do
23288         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23289         Upgrades via gnutls-cli are too slow to be done opportunistically.
23291 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
23293         * dframe.el (dframe-current-frame): Remove spurious quote.
23295 2011-04-12  Glenn Morris  <rgm@gnu.org>
23297         * calendar/cal-tex.el (cal-tex-end-document):
23298         Try to automatically use latin1 input if needed.
23300         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23301         Don't try to cons a mark onto an empty element.
23303 2011-04-11  Leo Liu  <sdl.web@gmail.com>
23305         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23306         buffers.
23307         (ido-kill-buffer-at-head): Support killing virtual buffers.
23309 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
23311         * minibuffer.el (completion-show-inline-help): New var.
23312         (completion--do-completion, minibuffer-complete)
23313         (minibuffer-force-complete, minibuffer-complete-word):
23314         Inhibit minibuffer messages if completion-show-inline-help is nil.
23316         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23317         to avoid interference from inline help (Bug#5849).
23319 2011-04-10  Leo Liu  <sdl.web@gmail.com>
23321         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23322         Fix typo.
23324 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
23326         * image-mode.el (image-toggle-display-image): Signal an error if
23327         not in Image mode.
23328         (image-transform-mode, image-transform-resize)
23329         (image-transform-set-rotation): Doc fix.
23330         (image-transform-set-resize): Delete.
23331         (image-transform-set-scale, image-transform-fit-to-height)
23332         (image-transform-fit-to-width): Handle image-toggle-display-image
23333         and image-transform-resize directly.
23335 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
23337         * doc-view.el (doc-view-fit-width-to-window)
23338         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23339         New functions for fitting the shown image to the Emacs window size.
23340         (doc-view-mode-map): Add bindings for the new functions.
23342 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
23344         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23345         Fix typo in docstring.
23347 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
23349         * files.el (file-size-human-readable): Produce one digit after
23350         decimal, like "ls -lh" does.
23352         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23353         the file size representation.
23355         * simple.el (list-processes): If async subprocesses are not
23356         available, error out with a clear error message.
23358 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
23360         * help.el (help-form-show): New function, to be called from C.
23361         Put help-form output in a buffer named differently than *Help*.
23363 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
23365         * files.el (file-size-human-readable): New function.
23367         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23368         computing the representation inline.  Don't require `cl'.
23370 2011-04-08  Glenn Morris  <rgm@gnu.org>
23372         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23374         * net/browse-url.el (browse-url-firefox):
23375         Test system-type, not system-configuration.
23377         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23378         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23379         Use log-edit-empty-buffer-p.  (Bug#7598)
23381         * net/rlogin.el (rlogin-process-connection-type): Simplify.
23382         (rlogin-mode-map): Initialize in the defvar.
23383         (rlogin): Use ignore-errors.
23385         * replace.el (occur-mode-map): Some fixes for menu items.
23387 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
23389         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
23391 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
23393         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23394         issuing unused warnings.
23396         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23397         macro directly.
23399         * simple.el: Lisp reimplement of list-processes.  Based on an
23400         earlier reimplementation by Leo Liu, but using tabulated-list.el.
23401         (process-menu-mode): New major mode.
23402         (list-processes--refresh, list-processes):
23403         (process-menu-visit-buffer): New functions.
23405         * files.el (save-buffers-kill-emacs): Don't assume any return
23406         value of list-processes, which is undocumented anyway.
23408 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
23410         * emacs-lisp/tabulated-list.el: New file.
23412         * emacs-lisp/package.el: Use Tabulated List mode.
23413         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23414         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
23415         table format using Tabulated List mode variables.
23416         (package--push): New macro, replacing package-list-maybe-add.
23417         (package-menu--generate): Use package--push.  Renamed from
23418         package--generate-package-list.
23419         (package-menu-refresh, list-packages): Use it.
23420         (package-menu--print-info): Rename from package-print-package.
23421         Return insertion data instead of inserting it directly.
23422         (package-menu-describe-package, package-menu-execute):
23423         Use tabulated-list-get-id.
23424         (package-menu-mark-delete, package-menu-mark-install)
23425         (package-menu-mark-unmark, package-menu-backup-unmark)
23426         (package-menu-mark-obsolete-for-deletion):
23427         Use tabulated-list-put-tag.
23428         (package--list-packages, package-menu-revert)
23429         (package-menu-get-package, package-menu-get-version)
23430         (package-menu-sort-by-column): Functions deleted.
23431         (package-menu-package-list, package-menu-sort-key): Vars deleted.
23432         (package-menu--status-predicate, package-menu--version-predicate)
23433         (package-menu--name-predicate)
23434         (package-menu--description-predicate): Handle arguments in the
23435         Tabulated List format.
23436         (package-list-packages-no-fetch): Call list-packages.
23438 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
23440         * files.el (after-find-file-from-revert-buffer): Remove variable.
23441         (after-find-file): Don't bind it.
23442         (revert-buffer-in-progress-p): New variable.
23443         (revert-buffer): Bind it.
23444         Pass nil for `after-find-file-from-revert-buffer'.
23446         * saveplace.el (save-place-find-file-hook): Use new variable
23447         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23449 2011-04-06  Glenn Morris  <rgm@gnu.org>
23451         * Makefile.in (AUTOGEN_VCS): New variable.
23452         (autoloads): Use $AUTOGEN_VCS.
23454         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23455         * calendar/calendar.el (calendar-mode-map):
23456         Check for toolkit scroll bars.  (Bug#8305)
23458 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
23460         * minibuffer.el (completion-in-region--postch)
23461         (completion-in-region-mode): Remove unnecessary messages.
23463 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
23465         * font-lock.el (font-lock-refresh-defaults):
23466         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23467         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23469         * info.el (Info-directory-list, Info-read-node-name-2)
23470         (Info-split-parameter-string): Doc fixes.
23471         (Info-virtual-nodes): Reflow docstring.
23472         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23473         (Info-apropos-toc-nodes, info-finder, Info-get-token)
23474         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23475         Fix typos in docstrings.
23476         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23477         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23478         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23479         (Info-restore-desktop-buffer): Mark unused parameters.
23480         (Info-directory-find-file, Info-directory-find-node)
23481         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23482         (Info-virtual-index-find-node, Info-apropos-find-file)
23483         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23484         Mark unused parameters; fix typos in docstrings.
23485         (Info-virtual-index): Remove unused local variable `nodename'.
23487 2011-04-05  Deniz Dogan  <deniz@dogan.se>
23489         * net/rcirc.el: Update my e-mail address.
23490         (rcirc-mode-map): Remove M-o binding.
23492 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
23494         * startup.el (command-line): Save the cursor's theme-face
23495         directly, instead of using face-override-spec.
23497         * custom.el (load-theme): Minor optimization in assigning faces.
23499 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
23501         * help-fns.el (describe-variable): Complete all variables having
23502         documentation, including keywords.
23503         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23505 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
23507         Convert to lexical-binding.
23509         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23510         (bs--get-marked-string, bs--get-modified-string)
23511         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23512         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23513         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23515         * ehelp.el (electric-help-execute-extended)
23516         (electric-help-ctrl-x-prefix):
23517         * hexl.el (hexl-revert-buffer-function):
23518         * linum.el (linum-after-change, linum-after-scroll):
23519         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23521         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23523 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
23525         * epa-dired.el:
23526         * epa-mail.el:
23527         * epa-hook.el:
23528         * epa-file.el:
23529         * epa.el:
23530         * epg.el: Use lexical binding.
23532 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
23534         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23536         * textmodes/flyspell.el (flyspell-word): Recognize default
23537         dictionary case for flyspell-mark-duplications-exceptions.
23538         Use regexp matching for languages.
23539         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23540         default dictionary (Bug#7926).
23542 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
23544         * emacs-lisp/package.el (package--with-work-buffer):
23545         Recognize https URLs.
23547         * net/network-stream.el: Move from gnus/proto-stream.el.
23548         Change prefix to network-stream throughout.
23549         (open-protocol-stream): Merge into open-network-stream, leaving
23550         open-protocol-stream as an alias.  Handle nil BUFFER args.
23552         * subr.el (open-network-stream): Move to net/network-stream.el.
23554 2011-04-02  Glenn Morris  <rgm@gnu.org>
23556         * find-dired.el (find-exec-terminator): New option.
23557         (find-ls-option): Test for -ls support.
23558         (find-ls-subdir-switches): Test for -b in find-ls-option.
23559         (find-dired, find-grep-dired): Doc fixes.
23560         (find-dired): Use find-exec-terminator.
23562         * find-dired.el (find-ls-option, find-ls-subdir-switches)
23563         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23564         (find-name-arg): Remove purecopy.
23566         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23567         (grep-compute-defaults): Check for `-exec COMMAND +' support.
23568         Set grep-find-use-xargs, grep-find-command, and grep-find-template
23569         accordingly.  Don't add the null-device if not needed.
23571         * files.el (save-some-buffers): Doc fix.
23573 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
23575         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23577 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
23579         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23580         Use `dolist' rather than `mapcar'.
23582 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
23584         Add lexical binding.
23586         * subr.el (apply-partially): Use new closures rather than CL.
23587         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23588         (dolist, dotimes): Use slightly different expansion for lexical code.
23589         (functionp): Move to C.
23590         (letrec): New macro.
23591         (with-wrapper-hook): Use it and apply-partially instead of CL.
23592         (eval-after-load): Preserve lexical-binding.
23593         (save-window-excursion, with-output-to-temp-buffer): Turn them
23594         into macros.
23596         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23598         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23599         than the arglist.
23600         (help-add-fundoc-usage): Don't add `Not documented'.
23601         (help-function-arglist): Handle closures, subroutines, and new
23602         byte-code-functions.
23603         (help-make-usage): Remove leading underscores.
23604         (describe-function-1): Handle closures.
23605         (describe-variable): Use special-variable-p for completion.
23607         * files.el (lexical-binding): Declare safe.
23609         * emacs-lisp/pcase.el: Don't use destructuring-bind.
23610         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
23611         (pcase): Add `let' pattern.
23612         Change memoization so it actually works.
23613         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23614         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23615         <let>: New case.
23617         * emacs-lisp/macroexp.el: Use lexical binding.
23618         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
23619         Don't convert ' to #' without checking that it's indeed quoting
23620         a lambda.
23622         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23623         Use eval-sexp-add-defvars.
23624         (eval-sexp-add-defvars): New fun.
23626         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23628         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23629         Don't autoload.
23630         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23631         than the internal `byte-compile-lambda'.
23632         (defmethod): Don't hide code under quotes.
23633         (eieio-defmethod): New `code' argument.
23635         * emacs-lisp/eieio-comp.el: Remove.
23637         * emacs-lisp/edebug.el (edebug-eval-defun)
23638         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23639         (edebug-toggle): Avoid `eval'.
23641         * emacs-lisp/disass.el (disassemble-internal): Handle new
23642         `closure' objects.
23643         (disassemble-1): Handle new byte codes.
23645         * emacs-lisp/cl.el (pushnew): Silence warning.
23647         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23648         (cl-byte-compile-throw): Remove.
23649         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23651         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23652         closures.
23654         * emacs-lisp/cconv.el: New file.
23656         * emacs-lisp/bytecomp.el: Use lexical binding instead of
23657         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
23658         (byte-compile-initial-macro-environment):
23659         Handle declare-function here.
23660         (byte-compile--lexical-environment): New var.
23661         (byte-stack-ref, byte-stack-set, byte-discardN)
23662         (byte-discardN-preserve-tos): New lap codes.
23663         (byte-interactive-p): Don't use any more.
23664         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23665         New macros.
23666         (byte-compile-lapcode): Use them and handle new lap codes.
23667         (byte-compile-obsolete): Remove.
23668         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23669         (byte-compile-arglist-warn): Check late def of inlinable funs.
23670         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23671         since they should have been expanded by now.
23672         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23673         (byte-compile-from-buffer): Remove unused second arg.
23674         (byte-compile-preprocess): New function.
23675         (byte-compile-toplevel-file-form): New function to distinguish
23676         file-form calls from outside from file-form calls from hunk-handlers.
23677         (byte-compile-file-form): Simplify.
23678         (byte-compile-file-form-defsubst): Remove.
23679         (byte-compile-file-form-defmumble): Simplify now that
23680         byte-compile-lambda always returns a byte-code-function.
23681         (byte-compile): Preprocess.
23682         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23683         Remove, not used any more.
23684         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23685         (byte-compile-make-args-desc): New funs.
23686         (byte-compile-lambda): Handle lexical functions.  Always return
23687         a byte-code-function.
23688         (byte-compile-reserved-constants): New var, to make up room for
23689         closed-over variables.
23690         (byte-compile-constants-vector): Obey it.
23691         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23692         (byte-compile-macroexpand-declare-function): New function.
23693         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23694         byte-code-functions.
23695         (byte-compile-form): Check obsolescence here.
23696         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23697         (byte-compile-variable-ref): Remove.
23698         (byte-compile-dynamic-variable-op): New fun.
23699         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23700         (byte-compile-variable-set): New funs.
23701         (byte-compile-discard): Add 2 args.
23702         (byte-compile-stack-ref, byte-compile-stack-set)
23703         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23704         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23705         macroexpand-all instead.
23706         (byte-compile-quote-form): Remove.
23707         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23708         (byte-compile-bind, byte-compile-unbind): New funs.
23709         (byte-compile-let): Handle let* and lexical binding.
23710         (byte-compile-let*): Remove.
23711         (byte-compile-catch, byte-compile-unwind-protect)
23712         (byte-compile-track-mouse, byte-compile-condition-case):
23713         Handle a new :fun-body form, used for lexical scoping.
23714         (byte-compile-save-window-excursion)
23715         (byte-compile-with-output-to-temp-buffer): Remove.
23716         (byte-compile-defun): Simplify.
23717         (byte-compile-stack-adjustment): New fun.
23718         (byte-compile-out): Use it.
23719         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23721         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23722         handler any more.
23724         * emacs-lisp/byte-opt.el: Use lexical binding.
23725         (byte-inline-lapcode): Remove (to bytecomp).
23726         (byte-compile-inline-expand): Pay attention to inlining to/from
23727         lexically bound code.
23728         (byte-compile-unfold-lambda): Don't handle byte-code-functions
23729         any more.
23730         (byte-optimize-form-code-walker): Don't handle save-window-excursion
23731         any more and don't call compiler-macros.
23732         (byte-compile-splice-in-already-compiled-code): Remove.
23733         (byte-code): Don't inline any more.
23734         (disassemble-offset): Receive `bytes' as argument rather than via
23735         dynamic scoping.
23736         (byte-compile-tag-number): Declare before first use.
23737         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23738         `return' even if make-spliceable.
23739         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23740         obsolete interactive-p.
23741         (byte-optimize-lapcode): Optimize new lap-codes.
23742         Don't trip up on new form of `byte-constant' lap code.
23744         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23746         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23748         * custom.el (custom-initialize-default, custom-declare-variable):
23749         Use `defvar'.
23751         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23752         New variables.
23753         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23754         (COMPILE_FIRST): Add macroexp and cconv.
23755         * makefile.w32-in: Mirror changes in Makefile.in.
23757         * vc/cvs-status.el:
23758         * vc/diff-mode.el:
23759         * vc/log-edit.el:
23760         * vc/log-view.el:
23761         * vc/smerge-mode.el:
23762         * textmodes/bibtex-style.el:
23763         * textmodes/css-mode.el:
23764         * startup.el:
23765         * uniquify.el:
23766         * minibuffer.el:
23767         * newcomment.el:
23768         * reveal.el:
23769         * server.el:
23770         * mpc.el:
23771         * emacs-lisp/smie.el:
23772         * doc-view.el:
23773         * dired.el:
23774         * abbrev.el: Use lexical binding.
23776 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
23778         * info.el (info-display-manual): New function.
23780 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
23782         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23784 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
23786         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23787         an entry for that server in rcirc-authinfo.  (Bug#8385)
23789 2011-03-31  Glenn Morris  <rgm@gnu.org>
23791         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23793         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23795 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
23797         * progmodes/python.el (python-default-interpreter)
23798         (python-python-command-args, python-jython-command-args)
23799         (python-which-shell, python-which-args, python-which-bufname)
23800         (python-file-queue, python-comint-output-filter-function)
23801         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23802         variables and functions.
23804 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
23806         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23807         (completion-in-region-mode): New minor mode.
23808         (completion-in-region): Use it.
23809         (completion-in-region--data, completion-in-region-mode-map): New vars.
23810         (completion-in-region--postch): New function.
23811         (completion--capf-misbehave-funs, completion--capf-safe-funs):
23812         New vars.
23813         (completion--capf-wrapper): New function.
23814         (completion-at-point): Use it to track well-behavedness of
23815         hook functions.
23816         (completion-help-at-point): New command.
23818 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
23820         * vc/add-log.el (add-change-log-entry): Don't use whitespace
23821         syntax class to search for whitespace on a single line
23822         (Message-ID: <4D938140.4030905@redhat.com>).
23824 2011-03-30  Leo Liu  <sdl.web@gmail.com>
23826         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23827         New commands.
23828         (edit-abbrevs-map): Bind them here.
23829         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
23831 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
23833         * allout.el (allout-hide-by-annotation, allout-flag-region):
23834         Reduce possibility of overlay leakage by making them volatile.
23836         * allout-widgets.el (allout-widgets-tally): Define as nil so the
23837         hash is not shared between buffers.  Mode initialization is
23838         responsible for giving it a useful starting value.
23839         (allout-item-span): Reduce possibility of overlay leakage by
23840         making them volatile.
23841         (allout-widgets-count-buttons-in-region): Add diagnostic function
23842         for tracking down button overlay leaks.
23844 2011-03-29  Leo Liu  <sdl.web@gmail.com>
23846         * ido.el (ido-read-internal): Use the default history var
23847         minibuffer-history if no HISTORY is specified.
23849 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
23851         * net/imap.el (imap-shell-open, imap-process-connection-type):
23852         Use imap-process-connection-type for 'shell' streams as well as
23853         Kerberos, SSL, other subprocesses.
23855 2011-03-28  Leo Liu  <sdl.web@gmail.com>
23857         * abbrev.el (abbrev-table-empty-p): New function.
23858         (prepare-abbrev-list-buffer): Place empty abbrev tables after
23859         nonempty ones.  (Bug#5937)
23861 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
23863         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23865 2011-03-27  Leo Liu  <sdl.web@gmail.com>
23867         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23868         for foreground and background colors.
23869         (ansi-color-make-color-map): Adapt.
23871 2011-03-25  Leo Liu  <sdl.web@gmail.com>
23873         * midnight.el (midnight-time-float): Remove.  Note it calculates
23874         the microsecond component incorrectly and seconds-to-time does the
23875         same job.
23876         Remove redundant (require 'timer).
23878         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23879         (ido-completions): Remove unused arguments.  (Bug#8329)
23881 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
23883         * minibuffer.el (completion--flush-all-sorted-completions):
23884         Remove itself from hook.
23885         (completion-at-point): Let the functions perform the completion
23886         immediately and return nil or t.
23887         * comint.el (comint-dynamic-complete-functions): Now identical to
23888         completion-at-point-functions.
23889         (comint-dynamic-list-input-ring): Remove unused var `index'.
23890         (comint--match-partial-filename, comint--unquote&expand-filename):
23891         New funs, split from comint-match-partial-filename.
23892         (comint-dynamic-complete): Use completion-at-point.
23893         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23895 2011-03-24  Drew Adams  <drew.adams@oracle.com>
23897         * thingatpt.el: Support `defun'.
23899 2011-03-23  Leo Liu  <sdl.web@gmail.com>
23901         * abbrevlist.el: Move to obsolete/abbrevlist.el.
23903         * help-mode.el (help-mode-finish): Tweak regexp.
23905 2011-03-23  Glenn Morris  <rgm@gnu.org>
23907         * eshell/esh-opt.el (eshell-eval-using-options):
23908         Do not bind unused local variable `eshell-option-stub'.
23910         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23912 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
23914         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23915         keymap variable in `with-no-warnings' to avoid a warning when the
23916         keymap has been already `defconst'ed.
23918 2011-03-22  Leo Liu  <sdl.web@gmail.com>
23920         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23921         encode all chars in abbrevs; otherwise use emacs-mule or
23922         utf-8-emacs.  (Bug#8308)
23924 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
23926         * simple.el (backward-delete-char-untabify):
23927         Avoid warning about using `delete-backward-char'.
23929         * image.el (image-type-file-name-regexps): Make it variable.
23930         `imagemagick-register-types' modifies it, and the user may want
23931         to add new extensions for known image types.
23932         (imagemagick-register-types): Throw error if not using ImageMagick.
23934 2011-03-22  Leo Liu  <sdl.web@gmail.com>
23936         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23937         located before rcirc-prompt-end-marker.
23938         (rcirc-complete): Error if point is not after rcirc prompt.
23939         Handle the case when table is nil.
23940         (rcirc-user-authenticated): Define to fix compiler warning.
23942 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
23944         * custom.el (custom--inhibit-theme-enable): Make it affect only
23945         custom-theme-set-variables and custom-theme-set-faces.
23946         (provide-theme): Ignore custom--inhibit-theme-enable.
23947         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23948         (custom-enabling-themes): Delete variable.
23949         (enable-theme): Accept only loaded themes as arguments.
23950         Ignore the special custom-enabled-themes variable.
23951         (custom-enabled-themes): Forbid themes from setting this.
23952         Eliminate use of custom-enabling-themes.
23953         (custom-push-theme): Quote "changed" custom var entry.
23955 2011-03-21  Leo Liu  <sdl.web@gmail.com>
23957         * ido.el (ido-read-internal): Add ido-selected to history instead
23958         of user input.
23960 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
23962         * subr.el (deferred-action-list, deferred-action-function):
23963         Mark obsolete.
23965 2011-03-21  Leo Liu  <sdl.web@gmail.com>
23967         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23968         change on 2011-02-13 (bug#8309).
23970         * minibuffer.el (read-file-name-function): Change default value.
23971         (read-file-name--defaults): Rename from read-file-name-defaults.
23972         (read-file-name-default): Rename from read-file-name.
23973         (read-file-name): Call read-file-name-function.
23975 2011-03-21  Glenn Morris  <rgm@gnu.org>
23977         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23978         Doc fixes.
23980 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
23982         * cus-theme.el: Add missing provide statement.
23983         (customize-create-theme): Extract theme value correctly.
23984         (custom-theme-visit-theme): Autoload.
23985         (customize-create-theme): Prompt before inserting default faces.
23987 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
23989         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23990         units and musical notes.
23992 2011-03-20  Leo Liu  <sdl.web@gmail.com>
23994         * ido.el (ido-read-internal): Use completing-read-default.
23995         (ido-completing-read): Fix compatibility with completing-read.
23997 2011-03-20  Christian Ohler  <ohler@gnu.org>
23999         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24000         (ert-delete-all-tests): Use `called-interactively-p' rather than
24001         `interactive-p'.
24002         (ert--make-xrefs-region): Respect END.
24004 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
24006         * dired-aux.el (dired-create-directory): Signal an error if the
24007         directory already exists (Bug#8246).
24009         * facemenu.el (list-colors-display): Call list-faces-display
24010         inside with-help-window.
24011         (list-colors-print): Use display property to align the final
24012         column, instead of checking window-width.
24014 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
24016         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24017         windows-nt systems.
24018         (emerge-protect-metachars): Quote correctly for ms-dos and
24019         windows-nt systems.
24021 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
24023         * info.el (info-initialize): Replace all uses of `:' with
24024         path-separator for compatibility with non-Unix systems.
24025         Cache quoting of path-separator.  (Bug#8258)
24027 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
24029         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24030         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24031         (mouse-avoidance-mode): Fix typos in docstrings.
24033 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
24035         * startup.el (package-subdirectory-regexp): Move from package.el.
24036         Omit \\` and \\', and let callers add them.
24038         * emacs-lisp/package.el (package-strip-version)
24039         (package-load-all-descriptors): Add \\` and \\' to
24040         package-subdirectory-regexp before using it.
24041         (package-untar-buffer): New arg DIR; ensure that file untars only
24042         into this expected directory.  Remove superfluous delete-region.
24043         (package-unpack): Caller changed.
24044         (package-tar-file-info): Use package-subdirectory-regexp.
24046 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
24048         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24049         diff-mode-shared-map (bug#8284).
24050         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24052 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
24054         * calendar/time-date.el (format-seconds): Use assoc instead of
24055         assoc-string, since assoc-string doesn't exist in XEmacs.
24057 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
24059         * custom.el (custom-known-themes): Reflow docstring.
24060         (custom-theme-load-path): Fix typo in docstring.
24061         (load-theme): Fix typo in error message.
24062         (custom-available-themes, custom-variable-theme-value):
24063         Use `let', not `let*'.
24065 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
24067         * calc/README: Mention inclusion of musical notes.
24069         * calc/calc-units.el (calc-lu-quant): Rename from
24070         `calc-logunits-quantity'.
24071         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24072         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24073         (calc-db): Rename from `calc-dblevel'.
24074         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24075         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24076         (calc-np): Rename from `calc-nplevel'.
24077         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24078         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24079         (calc-lu-plus): Rename from `calc-logunits-add'.
24080         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24081         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24082         (calc-lu-minus): Rename from `calc-logunits-sub'.
24083         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24084         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24085         (calc-lu-times): Rename from `calc-logunits-mul'.
24086         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24087         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24088         (calc-lu-divide): Rename from `calc-logunits-div'.
24089         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24090         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24092         * calc/calc-ext.el (calc-init-extensions): Update the names of the
24093         functions being autoloaded.
24095         * calc/calc.el (calc-lu-power-reference): Rename from
24096         `calc-logunits-power-reference'.
24097         (calc-lu-field-reference): Rename from
24098         `calc-logunits-field-reference'.
24100         * calc/calc-help.el (calc-l-prefix-help):
24101         Mention musical note functions.
24103 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
24105         * minibuffer.el (completion-all-sorted-completions):
24106         Use :completion-cycle-penalty text property if present.
24108 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
24110         * allout.el (allout-yank-processing): Adjust for new rebulleting
24111         regime so bullet being yanked is used without prompting the user
24112         for a choice.
24114 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
24116         * startup.el (command-line): Warn the user that _emacs is deprecated.
24118 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
24120         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24121         (delphi-verbose, delphi-comment-face, delphi-string-face)
24122         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24123         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24124         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24125         (delphi-new-comment-line, delphi-font-lock-defaults)
24126         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24127         Fix typos in docstrings.
24129 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
24131         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24132         Invert the roles of character and string values for INSTEAD, so a
24133         string is used for the more common case of a defaulting prompt.
24135 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24137         * progmodes/ruby-mode.el (ruby-backward-sexp):
24138         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24139         * play/gamegrid.el (gamegrid-make-face):
24140         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24141         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24142         * notifications.el (notifications-notify):
24143         * net/xesam.el (xesam-search-engines):
24144         * net/quickurl.el (quickurl-list-insert):
24145         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24147 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
24149         * startup.el (command-line): Update package subdirectory regexp.
24151 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24153         * allout.el (allout-abbreviate-flattened-numbering)
24154         (allout-mode-deactivate-hook): Fix up obsolescence "date".
24156         * subr.el (read-char-choice): Only show the cursor after the prompt,
24157         not after the answer.
24159 2011-03-15  Kevin Ryde  <user42@zip.com.au>
24161         * help-fns.el (variable-at-point): Skip leading quotes, if any
24162         (bug#8253).
24164 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24166         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24167         warning message.
24169 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
24171         * shell.el (shell): When called interactively, offer to change the
24172         shell file name on remote hosts.
24174 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
24176         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24177         integration for LDAP parameters.  The host, base, user or binddn,
24178         and secret tokens can be specified in a netrc file, for instance.
24179         This is optional because an `auth-source' parameter must be
24180         specified in the search attributes.
24182 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
24184         * help.el (describe-mode): Link to the mode's definition (bug#8185).
24186 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
24188         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24189         into declaration.  Remove redundant and harmful binding.
24191 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
24193         * files.el (file-ownership-preserved-p): Pass `integer' as an
24194         explicit 2nd argument to `file-attributes'.  If the file's owner
24195         is the Administrators group on Windows, and the current user is
24196         Administrator, consider that a match.
24198         * server.el (server-ensure-safe-dir): Consider server directory
24199         safe on MS-Windows if its owner is the Administrators group while
24200         the current Emacs user is Administrator.  Use `=' to compare
24201         numerical UIDs, since they could be integers or floats.
24203 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
24205         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24207 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
24209         Sync with Tramp 2.2.1.
24211         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24213         * net/trampver.el: Update release number.
24215 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
24217         * progmodes/compile.el (compilation--previous-directory): Fix up
24218         various nil/dead-marker mismatches (bug#8014).
24219         (compilation-directory-properties, compilation-error-properties):
24220         Don't call it at a position past the one we're about to change.
24222         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24223         Disable obsolescence warnings in the file that declares it.
24225 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
24227         * allout-widgets.el (allout-widgets-tally):
24228         Initialize allout-widgets-tally as a hash table rather than nil to
24229         prevent mode-line redisplay warnings.  Also, clarify the module
24230         description and fix a comment typo.
24232 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
24234         * help-fns.el (describe-variable): Don't complete keywords.
24235         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24237 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
24239         * emacs-lisp/package.el (package-version-join): Impose a standard
24240         string representation for pre/alpha/beta version lists.
24241         (package-unpack-single): Standardize the directory name by passing
24242         it through package-version-join.
24243         (package-strip-rcs-id): Accept any version string that does not
24244         signal an error in version-to-list.
24246 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
24248         * simple.el (delete-trailing-whitespace): Return nil for the
24249         benefit of `write-file-functions'.
24251 2011-03-10  Glenn Morris  <rgm@gnu.org>
24253         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24255         * vc/vc-git.el (vc-git-program): New option.
24256         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24257         (vc-git--call): Use it.
24259         * eshell/esh-util.el (eshell-condition-case): Doc fix.
24261         * cus-edit.el (Custom-newline): If no button at point, look
24262         for a subgroup button at start-of-line.  (Bug#2298)
24264         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24266 2011-03-10  Julien Danjou  <julien@danjou.info>
24268         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24269         `cursor-type' is nil.
24271 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
24273         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24275 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
24277         * allout.el: Change so yank of distinctive-bullet items
24278         preserves the existing header prefix, rebulleting it if necessary,
24279         rather than replacing it.  This is necessary for proper operation
24280         of cooperative addons like allout-widgets.
24281         (allout-make-topic-prefix, allout-rebullet-heading):
24282         Change SOLICIT arg to INSTEAD, and interpret additionally a string
24283         value as alternate bullet to be used, instead of prompting the user
24284         for a bullet character.
24286 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
24288         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24289         Do not use `tramp-file-name-port', because this returns also
24290         `tramp-default-port'.
24292 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
24294         * net/rcirc.el (rcirc-handler-001): Remove useless
24295         with-rcirc-process-buffer.
24296         (rcirc-check-auth-status): Swap arguments to string-match.
24298 2011-03-09  Glenn Morris  <rgm@gnu.org>
24300         * shell.el (shell-mode):
24301         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
24303         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24304         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
24306 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
24308         * emacs-lisp/package.el (package-refresh-contents)
24309         (package-menu-execute): Use condition-case-no-debug.
24311 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
24313         * simple.el (shell-command-to-string): Use `process-file'.
24315         * emacs-lisp/package.el (package-tar-file-info): Handle also
24316         remote files.
24318         * emacs-lisp/package-x.el (package-upload-buffer-internal):
24319         Use `equal' for upload base check.
24321 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
24323         * textmodes/texinfo.el (texinfo-environments):
24324         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
24326 2011-03-08  Glenn Morris  <rgm@gnu.org>
24328         * cus-start.el (cursor-in-non-selected-windows):
24329         Fix :set quoting oddness.  (Bug#8192)
24331         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24332         in some setf expressions.  (Bug#2159)
24334 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
24336         * custom.el (custom-available-themes): Return themes in
24337         alphabetical order.
24339 See ChangeLog.15 for earlier changes.
24341 ;; Local Variables:
24342 ;; coding: utf-8
24343 ;; End:
24345   Copyright (C) 2011-2013 Free Software Foundation, Inc.
24347   This file is part of GNU Emacs.
24349   GNU Emacs is free software: you can redistribute it and/or modify
24350   it under the terms of the GNU General Public License as published by
24351   the Free Software Foundation, either version 3 of the License, or
24352   (at your option) any later version.
24354   GNU Emacs is distributed in the hope that it will be useful,
24355   but WITHOUT ANY WARRANTY; without even the implied warranty of
24356   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24357   GNU General Public License for more details.
24359   You should have received a copy of the GNU General Public License
24360   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.