1 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3 * window.el (display-buffer): In doc-string describe
4 window-height and window-width alist entries.
6 * time.el (display-time-world): Restore fit-window-to-buffer
9 2012-10-27 Chong Yidong <cyd@gnu.org>
11 * subr.el (insert-buffer-substring-as-yank): Doc fix.
13 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
15 * minibuffer.el (completion-category-overrides): New completion
16 category `bookmark' (bug#11131).
18 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
20 * emacs-lisp/advice.el (ad-assemble-advised-definition):
21 Silence bogus compiler warnings for ad-do-it.
23 * bookmark.el (bookmark-completing-read): Set the completion category
24 to `bookmark' (bug#11131).
26 2012-10-26 Bastien <bzg@altern.org>
27 Stefan Monnier <monnier@iro.umontreal.ca>
29 * face-remap.el: Use lexical-binding.
30 (text-scale-adjust): Improve docstring. Use itself for the temporary
31 overlay-map bindings, so as to repeat the "Use..." message each time.
33 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
35 * emacs-lisp/macroexp.el (macroexp--expand-all):
36 Obey byte-compile-warning-enabled-p (bug#12486).
38 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
39 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
41 2012-10-26 Martin Rudalics <rudalics@gmx.at>
43 * mouse.el (mouse-drag-line): Move last form into preceding when
46 * help.el (resize-temp-buffer-window): Fix doc-string.
48 2012-10-25 David Engster <deng@randomsample.de>
50 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
51 Remove. This feature is already integrated in imenu.
53 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
54 always loaded. Require `speedbar' unconditionally.
56 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
58 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
60 * minibuffer.el (minibuffer-force-complete): Fix thinko.
62 * net/ldap.el (ldap-search-internal): The official ldif format starts
63 with a "version: 1" header (bug#12724).
65 * emacs-lisp/package.el (package-installed-p): Warn if not ready
68 2012-10-25 Glenn Morris <rgm@gnu.org>
70 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
72 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
74 * minibuffer.el (minibuffer-force-complete): Use one more marker
75 for the temporary-overlay-map command (bug#12619).
77 2012-10-24 Chong Yidong <cyd@gnu.org>
79 * time.el (display-time-world-mode): Derive from special-mode.
80 (display-time-world): Use display-buffer (Bug#12708).
81 (display-time-world-mode-map): Variable deleted.
82 (display-time-world-display): Wrap the final delete-char inside
85 2012-10-24 Chong Yidong <cyd@gnu.org>
87 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
90 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
92 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
94 * minibuffer.el (completion--all-sorted-completions-location): New var.
95 (completion--cache-all-sorted-completions)
96 (completion--flush-all-sorted-completions): Use it.
97 (completion-in-region, completion-in-region--postch)
98 (completion-at-point, completion-help-at-point): Use markers in
99 completion-in-region--data (bug#12619).
101 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
103 * progmodes/compile.el (compilation-start): Try to handle common
104 quoting of `cd' argument (bug#12640).
106 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
109 2012-10-23 Glenn Morris <rgm@gnu.org>
111 * progmodes/gud.el (gud-menu-map):
112 Check gdb-active-process is bound. (Bug#12358)
114 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
116 * repeat.el (repeat): Set real-this-command (bug#12232).
118 * htmlfontify.el (hfy-post-html-hook):
119 * filesets.el (filesets-cache-fill-content-hook):
120 * arc-mode.el (archive-extract-hook):
121 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
122 * net/rcirc.el (rcirc-sentinel-functions)
123 (rcirc-receive-message-functions, rcirc-activity-functions)
124 (rcirc-print-functions):
125 * net/dbus.el (dbus-event-error-functions):
126 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
127 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
128 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
129 * term/sun.el (sun-raw-prefix-hooks):
130 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
132 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
134 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
135 Set `tramp-chunksize' to 1. This improves the performance.
136 (tramp-smb-wait-for-output): Add timeout to
137 `tramp-accept-process-output' calls.
139 2012-10-23 Chong Yidong <cyd@gnu.org>
141 * faces.el (font-list-limit): Define as an obsolete variable.
143 * startup.el (command-line):
144 * cus-start.el: Don't refer to font-list-limit.
146 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
148 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
150 * subr.el (internal-temp-output-buffer-show): Rename from
151 temp-output-buffer-show, since previously compiled files expect this name.
153 2012-10-23 Glenn Morris <rgm@gnu.org>
155 * image.el (image-type-from-file-name): If multiple types match,
156 return the first one that is supported. (Bug#9045)
158 2012-10-22 Glenn Morris <rgm@gnu.org>
160 * image.el (imagemagick-enabled-types): Doc fix.
162 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
164 * progmodes/which-func.el (which-func-current): The hash-table may have
165 an explicit nil (bug#12338).
167 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
169 * electric.el (electric-pair-delete-selection-self-insert-function):
170 Rename to electric-pair-will-use-region, return a boolean.
171 (electric-pair-mode): Adjust accordingly. Don't require delsel.
173 * delsel.el (delete-selection-helper): Use a function instead of a hook.
174 (delete-selection-pre-hook): Use use-region-p.
175 (delete-selection-self-insert-function): Remove.
176 (self-insert-command): Obey self-insert-uses-region-functions.
177 (self-insert-iso): Revert to previous setting, since we don't actually
178 know what that command does.
179 (delete-selection-self-insert-hooks): Remove.
181 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
183 * delsel.el (delete-selection-helper): New function, extracted from
184 delete-selection-pre-hook.
185 (delete-selection-pre-hook): Use it.
186 (delete-selection-self-insert-function): New function.
187 (delete-selection-self-insert-hooks): New hook.
188 (self-insert-command, self-insert-iso): Use it.
189 * electric.el (electric-pair-syntax): New function, extracted from
190 electric-pair-post-self-insert-function.
191 (electric-pair-post-self-insert-function): Use it.
192 (electric-pair-delete-selection-self-insert-function): New function.
193 (electric-pair-mode): Require delsel and setup
194 delete-selection-self-insert-hooks (bug#11520).
196 2012-10-20 Chong Yidong <cyd@gnu.org>
198 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
199 no changes to show (Bug#12586).
201 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
202 list explicitly (Bug#12571).
204 2012-10-20 Arne Jørgensen <arne@arnested.dk>
206 * progmodes/flymake.el (flymake-create-temp-inplace):
209 2012-10-20 Eli Zaretskii <eliz@gnu.org>
211 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
213 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
215 * calc/calc-units.el (math-extract-units): Properly extract powers
218 2012-10-20 Daniel Colascione <dancol@dancol.org>
220 * frame.el (make-frame): Set x-display-name as we used to in order
221 to unbreak creating an X11 frame from an Emacs daemon started
224 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
226 * minibuffer.el (minibuffer-force-complete): Make the next completion use
227 the same completion-field (bug@12221).
229 2012-10-19 Martin Rudalics <rudalics@gmx.at>
231 * emacs-lisp/debug.el (debug): Record height of debugger window
232 also when debugger will be back (Bug#8789).
234 2012-10-18 Chong Yidong <cyd@gnu.org>
236 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
237 Convert to defcustom.
238 (gdb-get-source-file): Don't bind pop-up-windows.
240 * progmodes/gud.el (gud-display-line): Don't specially re-use
241 other frames for the gdb-mi case (Bug#12648).
243 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
245 * emacs-lisp/advice.el: Clean up commentary a bit.
246 (ad-do-advised-functions, ad-with-originals): Use `declare'.
247 (byte-code-function-p): Never redefine.
249 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
251 2012-10-18 Glenn Morris <rgm@gnu.org>
253 * dired.el (dired-sort-toggle): Some ls implementations only allow
254 a single option string. (Bug#12666)
256 * minibuffer.el (completion-cycle-threshold): Doc fix.
258 2012-10-17 Kenichi Handa <handa@gnu.org>
260 * international/mule.el (set-keyboard-coding-system):
261 Recover input meta mode when the new coding system doesn not use 8-bit.
262 Supply TERMINAL arg to set-input-meta-mode.
264 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
266 * wdired.el (wdired-old-marks): New variable.
267 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
268 (wdired-do-renames): Move point with renamed file and don't lose
269 mark status (Bug#11795).
271 2012-10-16 Juri Linkov <juri@jurta.org>
273 * replace.el (query-replace-help): Mention multi-buffer replacement
274 keys in the Help message. (Bug#12655)
276 2012-10-15 Chong Yidong <cyd@gnu.org>
278 * emacs-lisp/byte-run.el (defsubst): Doc fix.
280 2012-10-14 Eli Zaretskii <eliz@gnu.org>
282 * window.el (display-buffer): Doc fix.
284 * progmodes/compile.el (compilation-error-regexp-alist-alist):
285 Adjust the msft regexp to the output of Studio 2010, and move msft
286 before edg-1. See the discussion on emacs-devel,
287 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
290 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
292 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
293 (oset): Move uses of object-class-fast macro after its definition.
295 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
297 2012-10-13 Chong Yidong <cyd@gnu.org>
299 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
300 enabled, re-enable it (Bug#11963).
302 2012-10-13 Martin Rudalics <rudalics@gmx.at>
304 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
305 non-nil, restore window configuration (Bug#12623).
307 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
309 * help-fns.el (describe-variable, describe-function-1):
310 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
312 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
314 2012-10-12 Glenn Morris <rgm@gnu.org>
316 * mail/rmailsum.el (rmail-header-summary):
317 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
319 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
321 * progmodes/python.el (python-mode-map):
322 Replace subtitute-key-definition with proper command remapping.
323 (python-nav--up-list): Fix behavior for blocks on the same level.
325 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
327 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
329 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
330 changes to the format of load-history.
332 * international/mule-cmds.el (read-char-by-name): Move let-binding of
333 completion-ignore-case in case that var is buffer-local (bug#12615).
335 2012-10-11 Kenichi Handa <handa@gnu.org>
337 * international/eucjp-ms.el: Re-generated.
339 2012-10-10 Kenichi Handa <handa@gnu.org>
341 * select.el (xselect--encode-string): If a coding is specified for
342 selection, and that is compatible with COMPOUND_TEXT, use it.
344 2012-10-10 Martin Rudalics <rudalics@gmx.at>
346 * window.el (switch-to-buffer-preserve-window-point): New option.
348 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
350 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
352 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
353 Don't document nil as a useful value (bug#12583).
355 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
357 * net/tramp.el (tramp-debug-message):
358 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
359 (with-tramp-progress-reporter): Rename from
360 `tramp-with-progress-reporter'.
361 (with-tramp-file-property, with-tramp-connection-property):
362 Move from tramp-cache.el, rename from `with-file-property' and
363 `with-connection-property', respectively.
365 * net/tramp-cache.el: Remove `with-file-property' and
366 `with-connection-property'.
371 * net/tramp-smb.el: Adapt callees.
373 * net/trampver.el: Update release number.
375 2012-10-09 Glenn Morris <rgm@gnu.org>
377 * w32-fns.el (set-message-beep):
378 * term/w32-win.el (set-message-beep): Update declarations.
380 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
382 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
383 (mode-line-widen, mode-line-input-method-map)
384 (mode-line-coding-system-map, mode-line-remote)
385 (mode-line-unbury-buffer, mode-line-bury-buffer)
386 (mode-line-next-buffer, mode-line-previous-buffer):
387 Replace save-selected-window+select-window => with-selected-window.
389 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
390 * progmodes/cc-vars.el (bq-process): Remove, unused.
392 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
394 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
396 Implemented `backward-up-list'-like navigation.
397 * progmodes/python.el (python-nav-up-list)
398 (python-nav-backward-up-list): New functions.
399 (python-mode-map): Define substitute key for backward-up-list to
400 python-nav-backward-up-list.
402 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
404 * progmodes/python.el (python-fill-paragraph): Rename from
405 python-fill-paragraph-function. Fixed fill-paragraph for
406 decorators (Bug#12605).
408 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
410 * progmodes/python.el (python-shell-output-filter): Handle extra
411 carriage return in OSX (Bug#12409).
413 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
415 Fix shell handling of unbalanced quotes and parens in output.
416 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
417 (python-syntax-propertize-function): Use it.
418 (python-shell-output-syntax-table): New var.
419 (inferior-python-mode): Prevent unbalanced parens/quotes from
420 previous output mess with current input context.
422 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
424 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
425 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
427 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
429 * ffap.el (ffap-replace-file-component): Support Tramp file name
430 syntax, not only ange-ftp's one.
432 2012-10-08 Glenn Morris <rgm@gnu.org>
434 * cus-start.el (message-log-max): Set :version.
436 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
438 2012-10-08 Martin Rudalics <rudalics@gmx.at>
440 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
441 the minibuffer window (Bug#10851).
443 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
445 Enhancements on forward-sexp movement.
446 * progmodes/python.el (python-nav-beginning-of-statement)
447 (python-nav-end-of-statement): Return point-marker.
448 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
449 (python-info-current-symbol)
450 (python-info-statement-starts-block-p): Rename from
451 python-info-beginning-of-block-p.
452 (python-info-statement-ends-block-p): Rename from
453 python-info-end-of-block-p.
454 (python-info-beginning-of-statement-p)
455 (python-info-end-of-statement-p)
456 (python-info-beginning-of-block-p, python-info-end-of-block-p):
459 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
461 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
462 frame-selected-windows.
464 2012-10-08 Daniel Colascione <dancol@dancol.org>
466 * battery.el (battery-status-function): Check for
467 w32-battery-status itself, not system-time windows-nt.
469 * frame.el: Require cl-lib.
470 (display-format-alist): New variable mapping frame types to
471 functions that initialize them.
472 (window-system-for-display): New function: interprets
473 display-format-alist.
474 (make-frame-on-display): Remove existing display-selection logic
475 and just forward to make-frame, which will now DTRT.
476 (make-frame): Restructure to use window-system-for-display to
477 figure out how to create a frame on a given display.
478 (display-mouse-p): Look for frame-type w32, not a particular
481 * loadup.el: Load w32 lisp code when we have the w32 feature.
483 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
484 system-type windows-nt.
486 * server.el (server-create-window-system-frame): Look for window
488 (server-proces-filter): Only force a window system when windows-nt
489 _and_ w32. Explain why.
491 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
492 of window systems we configure for the mode.
494 * startup.el (command-line): Mark window system is initialized
497 * common-win.el (x-select-text): Look for w32, not windows-nt.
499 * ns-win.el: Require cl-lib. Add ourselves to
500 display-format-alist.
501 (ns-initialize-window-system): Assert we're not initialized twice.
503 * w32-win.el: Enable lexical binding; require cl-lib; add
504 ourselves to display-format-alist.
505 (w32-handle-dropped-file): Convert incoming dropped files from
506 Windows paths to Cygwin ones before passing them on to the rest of
508 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
509 (w32-initialize-window-system): Assert we're not initialized twice.
511 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
512 (x-initialize-window-system): Assert we're not initialized twice.
514 * w32-common-fns.el: New File.
515 (w32-version, w32-using-nt, w32-get-clipboard-data)
516 (w32-set-clipboard-data, x-set-selection, x-get-selection)
517 (w32-charset-info-alist, x-last-selected, text)
518 (x-get-selection-value, x-selection-value): Move here.
520 * w32-fns.el: Require w32-common-fns.
521 (w32-version, w32-using-nt, w32-get-clipboard-data)
522 (w32-set-clipboard-data, x-set-selection, x-get-selection)
523 (w32-charset-info-alist, x-last-selected, text)
524 (x-get-selection-value, x-selection-value): Move to
528 (w32-allow-system-shell, w32-system-shells): Define only in
531 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
533 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
534 (read-passwd): Remove a few more potential sources of leaks.
536 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
538 * progmodes/python.el (inferior-python-mode)
539 (python-shell-make-comint): Fix initialization of local
540 variables copied from parent buffer.
542 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
544 * term/ns-win.el (ns-read-file-name): Update declaration to match
546 (ns-respond-to-change-font): Change fontsize separatly so we are sure
547 it is set when font is acted upon.
549 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
551 Enhancements to indentation.
552 * progmodes/python.el (python-indent-context): Give priority to
553 inside-string context. Make comments indentation markers.
554 (python-indent-region): Do not mess with strings, unless it's the
555 enclosing set of quotes.
557 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
559 * window.el (internal--before-save-selected-window)
560 (internal--after-save-selected-window): New functions extracted from
561 save-selected-window. Make sure we return the `alist' we construct.
562 (save-selected-window): Use them.
564 * textmodes/tex-mode.el (tex-recenter-output-buffer):
565 Use with-selected-window.
567 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
568 forms that define macros (bug#12593).
570 2012-10-07 Kenichi Handa <handa@gnu.org>
572 * international/mule-conf.el (compound-text-with-extensions):
573 Add :mime-charset property as x-ctext.
575 2012-10-07 Stefan Merten <smerten@oekonux.de>
577 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
578 (rst-indent-literal-normal, rst-indent-literal-minimized)
579 (rst-indent-comment): Correct :version tag.
580 (rst-official-cvs-rev): Correct version string.
582 2012-10-07 Glenn Morris <rgm@gnu.org>
584 * mail/rmailmm.el (rmail-mime-process-multipart):
585 Do not confuse a multipart message with an epilogue
586 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
588 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
590 Fix shell output retrieval and comint-prompt-regexp init.
591 * progmodes/python.el (inferior-python-mode):
592 (python-shell-make-comint): Fix initialization of
593 comint-prompt-regexp from copied file local variables.
594 (python-shell-fetched-lines): Remove var.
595 (python-shell-output-filter-in-progress): Rename from
596 python-shell-fetch-lines-in-progress.
597 (python-shell-output-filter-buffer): Rename from
598 python-shell-fetch-lines-string.
599 (python-shell-fetch-lines-filter): Delete function.
600 (python-shell-output-filter): New function.
601 (python-shell-send-string-no-output): Use them.
603 2012-10-07 Glenn Morris <rgm@gnu.org>
605 * hi-lock.el (hi-lock-process-phrase):
606 Try to make it less fragile. (Bug#7161)
608 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
610 2012-10-06 Glenn Morris <rgm@gnu.org>
612 * ehelp.el (electric-help-mode): Use help-mode rather than
613 non-existent mode `help'.
614 (electric-help-map): Use button-buffer-map. (Bug#10917)
616 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
617 (reftex-create-bibtex-footer): Fix custom types.
619 * progmodes/sh-script.el (sh-indent-after-continuation):
622 * textmodes/rst.el (rst-preferred-decorations)
623 (rst-shift-basic-offset): Clarify obsolescence versions.
625 * profiler.el (profiler): Add missing group :version tag.
626 * avoid.el (mouse-avoidance-banish-position):
627 * proced.el (proced-renice-command):
628 * calc/calc.el (calc-ensure-consistent-units):
629 * calendar/icalendar.el (icalendar-import-format-uid):
630 * net/tramp.el (tramp-save-ad-hoc-proxies):
631 * progmodes/bug-reference.el (bug-reference-bug-regexp):
632 * progmodes/flymake.el (flymake-error-bitmap)
633 (flymake-warning-bitmap, flymake-fringe-indicator-position):
634 * progmodes/sh-script.el (sh-indent-after-continuation):
635 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
636 (verilog-before-save-font-hook, verilog-after-save-font-hook):
637 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
638 (vhdl-array-index-record-field-in-sensitivity-list)
639 (vhdl-indent-comment-like-next-code-line):
640 * textmodes/reftex-vars.el (reftex-ref-style-alist)
641 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
642 (reftex-cite-key-separator, reftex-create-bibtex-header)
643 (reftex-create-bibtex-footer):
644 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
645 (rst-indent-literal-normal, rst-indent-literal-minimized)
646 (rst-indent-comment): Add missing custom :version tags.
648 * calendar/timeclock.el (timeclock-modeline-display):
649 Add missing obsolete alias for renamed user option.
651 * strokes.el (strokes-modeline-string):
652 * emulation/crisp.el (crisp-mode-modeline-string):
653 * eshell/esh-mode.el (eshell-status-in-modeline):
654 Aliases to defcustoms must come before the defcustom.
656 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
657 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
658 (cal-tex-cursor-week-monday): Doc fixes.
659 (cal-tex-cursor-week2-summary): Doc fix.
660 Rename from cal-tex-cursor-week-at-a-glance.
662 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
663 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
665 * calendar/calendar.el (calendar-mode-map):
666 Add cal-tex-cursor-week2-summary.
668 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
670 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
672 * subr.el (read-passwd-map): New var.
673 (read-passwd): Use `read-string' again.
674 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
676 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
678 * register.el (append-to-register, prepend-to-register):
679 Deactivate mark, as does `copy-to-register' (bug#12389).
681 2012-10-06 Chong Yidong <cyd@gnu.org>
683 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
685 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
687 * international/characters.el: Fix simple mistake ((car chars) ->
688 elt), delete duplicated code.
690 2012-10-06 Glenn Morris <rgm@gnu.org>
692 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
694 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
696 * color.el (color-hsl-to-rgb): Fix incorrect results for
697 small and large hue values. (Bug#12559)
699 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
701 Enhancements to docstring formatting when filling paragraphs.
702 * progmodes/python.el (python-fill-docstring-style): Rename from
703 python-fill-string-style. Added new style.
704 (python-fill-string): Use new style. Better checks for
707 2012-10-05 Glenn Morris <rgm@gnu.org>
709 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
711 * color.el (color-name-to-rgb, color-rgb-to-hex)
712 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
713 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
714 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
715 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
717 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
719 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
721 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
722 to get the correct size across symlinks.
724 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
726 2012-10-04 Juri Linkov <juri@jurta.org>
728 * replace.el (query-replace-interactive): Declare obsolete.
729 (query-replace-read-from): Add the last incremental search string
730 to the list of default values accessible via M-n.
731 (map-query-replace-regexp): Use `read-regexp'.
732 (query-replace, query-replace-regexp, query-replace-regexp-eval)
733 (map-query-replace-regexp, replace-string, replace-regexp):
734 Fix docstrings to replace mentions of `query-replace-interactive'
735 with alternatives. (Bug#12526)
737 2012-10-04 Juri Linkov <juri@jurta.org>
739 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
740 (dired-pop-to-buffer): Declare obsolete.
741 (dired-mark-pop-up): Doc fix.
743 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
745 Allow user to set docstring style for fill-paragraph.
746 * progmodes/python.el
747 (python-fill-comment-function, python-fill-string-function)
748 (python-fill-decorator-function, python-fill-paren-function):
749 Remove :safe for defcustoms.
750 (python-fill-string-style): New defcustom
751 (python-fill-paragraph-function): Enhance context detection.
752 (python-fill-string): Honor python-fill-string-style settings.
754 2012-10-04 Martin Rudalics <rudalics@gmx.at>
756 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
757 after setting its buffer (Bug#10805).
759 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
761 Fix cornercase for string syntax.
762 * progmodes/python.el (python-syntax-propertize-function):
763 Simplify and enhance the regexp for unescaped quotes. Now it also
764 matches quotes in weird situations like the single quote in
766 (python-syntax-stringify): Simplify num-quotes detecting code.
768 2012-10-03 Glenn Morris <rgm@gnu.org>
770 * help-macro.el (three-step-help):
771 Revert 2012-09-29 change. (Bug#12567)
773 2012-10-03 Martin Rudalics <rudalics@gmx.at>
775 * menu-bar.el (kill-this-buffer): Don't do anything when
776 `menu-frame' is not alive or visible (Bug#8184).
778 * emacs-lisp/debug.el (debug): When quitting the debugger window
779 restore current buffer (Bug#12502).
781 2012-10-02 Chong Yidong <cyd@gnu.org>
783 * progmodes/hideif.el (hif-lookup, hif-defined):
784 Handle semantic-c-takeover-hideif.
786 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
788 Change sampling interval units from ms to ns.
789 * profiler.el (profiler-sampling-interval): Change units
790 from ms to ns, multiplying the default by 1000000 so that
792 (profiler-report-cpu-line-format): Give enough room for
793 the maximum counters on 64-bit hosts.
794 (profiler-report-render-calltree-1): Call them "CPU samples",
795 not "Time (ms)", since they are not milliseconds now (and
798 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
800 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
801 Fix querying BBDB for entries without a last name (Bug#11580).
803 2012-10-02 Chong Yidong <cyd@gnu.org>
805 * emacs-lisp/eieio.el: Restore Version header.
807 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
809 * vc/diff-mode.el (diff--auto-refine-data): New var.
810 (diff-hunk): Use it to delay refinement.
811 (diff-mode): Remove overlays when we turn off font-lock.
813 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
814 (table-initialize-table-fixed-width-mode)
815 (table-set-table-fixed-width-mode): Remove functions.
816 (table-command-list): Move initialization into declaration.
817 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
818 (table-with-cache-buffer): Use `declare'.
819 (table-span-cell): Simplify via CSE.
820 (table-fixed-width-mode): Use define-minor-mode.
821 (table-call-interactively, table-funcall, table-apply): Remove.
822 (table-function): New function, to replace them.
824 * bookmark.el (bookmark-search-pattern): Remove var.
825 (bookmark-read-search-input): Remove function.
826 (bookmark-bmenu-search): Reimplement using a minibuffer.
828 * faces.el (modeline): Remove obsolete face name.
830 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
831 and give a non-nil default value.
832 (add-change-log-entry): Simplify accordingly.
834 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
836 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
837 (vc-git-log-edit-toggle-amend): New function.
838 (vc-git-log-edit-toggle-signoff): New function.
839 (vc-git-log-edit-mode): New major mode.
840 (vc-git-log-edit-mode-map): Keymap for it.
841 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
843 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
845 (log-edit-toggle-header): New function.
846 (log-edit-extract-headers): Accept function values in HEADERS alist.
848 2012-10-01 David Engster <deng@randomsample.de>
850 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
851 from symbol property and change message to be more consistent with
853 (eieio-describe-generic): Add filename for each implementation.
854 Fix indices for generic and normal methods.
855 (eieio-method-def, eieio-class-def): New buttons.
856 (eieio-help-find-method-definition)
857 (eieio-help-find-class-definition): New functions.
858 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
859 class, constructor and method definitions.
861 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
862 information in symbol property.
863 (scoped-class): Remove.
864 (eieio-slot-name-index, call-next-method): Check if it is bound.
866 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
868 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
869 (eieio-custom-mode): New major mode.
870 (eieio-customize-object): Use it.
872 2012-10-01 Eric Ludlam <zappo@gnu.org>
874 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
875 specifying the expected class, and whether subclassing is allowed.
876 (eieio-persistent-convert-list-to-object):
877 (eieio-persistent-validate/fix-slot-value)
878 (eieio-persistent-slot-type-is-class-p): New functions.
879 (eieio-named::slot-missing): Doc fix.
881 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
882 Stop using unused publd variable.
884 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
885 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
886 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
887 (eieio-speedbar-handle-click): Do not specify a class for the
888 method. Fixes method invocation order problems with EDE.
890 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
892 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
893 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
895 2012-10-01 Karl Fogel <kfogel@red-bean.com>
897 * bookmark.el (bookmark-version-control): Give tags in the
898 :type choices (Bug#12309), and improve doc string.
899 (bookmark-write-file): Bind `print-circle' to `t' to allow
900 circular custom bookmark types. (Bug#12503)
902 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
904 Revert the FOLLOW-SYMLINKS change for file-attributes.
905 * files.el (remote-file-name-inhibit-cache, after-find-file):
906 * time.el (display-time-file-nonempty-p): Undo last change.
908 * profiler.el (profiler-sampling-interval): Change default back to 1.
909 See Stefan Monnier in
910 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
912 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
914 Shell output catching a la gud-gdb.
915 * progmodes/python.el (python-shell-fetch-lines-in-progress)
916 (python-shell-fetch-lines-string, python-shell-fetched-lines):
918 (python-shell-fetch-lines-filter): New function.
919 (python-shell-send-string-no-output): Use them.
921 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
923 * profiler.el (profiler-sampling-interval): Rename from
924 profiler-sample-interval.
925 (profiler-sampling-interval): Default to 10.
926 (profiler-find-profile): New command (was profiler-find-log).
927 (profiler-find-profile-other-window): New command.
928 (profiler-find-profile-other-frame): New command.
929 (profiler-profile): Introduce API-level data structure.
931 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
933 file-attributes has a new optional arg FOLLOW-SYMLINKS.
934 * files.el (remote-file-name-inhibit-cache):
935 * time.el (display-time-file-nonempty-p): Use it.
936 * files.el (after-find-file): Don't chase links before calling
937 file-exists-p, as file-exists-p already does the right thing.
939 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
941 Merge from standalone RefTeX repository.
943 The following ChangeLog entries are shortened versions of the
944 original ones with file paths adapted. A not so strongly edited
945 version of the original ChangeLog can be found in the commit log.
947 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
948 (reftex-arg-cite): Use `reftex-cite-key-separator'.
949 Correctly handle new value type returned by `reftex-citation'.
951 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
952 that entries with whitespace at various places are found.
953 Doc fix. Include entries that are cross-referenced from cited entries.
954 Include @String definitions in the resulting bib file. Add header
955 and footer defined in `reftex-create-bibtex-header' and
956 `reftex-create-bibtex-footer'.
957 (reftex-do-citation): Make it possible again to insert
958 non-existent entries. Save match data when asking for optional
959 arguments. Return all keys, not just the first one.
960 (reftex-all-used-citation-keys): Fix regexp to correctly extract
961 all citations in the same line.
962 (reftex-parse-bibtex-entry): Accept additional optional argument
963 `raw' and keep quotes or braces if it is non-nil. Match fields
964 containing hyphens besides word constituents.
965 (reftex-get-string-refs): New function.
966 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
967 and ask if it should be reread in case it did.
968 (reftex-pop-to-bibtex-entry)
969 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
970 entries with spaces or tabs in front of arguments.
971 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
972 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
973 Match entries containing numbers and symbol constituents.
974 (reftex-do-citation, reftex-figure-out-cite-format):
975 Use `reftex-cite-key-separator'.
977 * textmodes/reftex-dcr.el: Move provide statement to end of file.
978 (reftex-mouse-view-crossref): Explain why point is set.
980 * textmodes/reftex-global.el: Whitespace changes.
982 * textmodes/reftex-index.el: Move provide statement to end of
984 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
985 (reftex-index-visit-phrases-buffer): Set marker when visiting
986 buffer. This allows for returning from the phrases file to the
987 file one was just editing instead of the file where the last
988 phrases was added from.
989 (reftex-index-phrases-syntax-table): New variable. Give ?\"
990 punctuation syntax as it usually is not used as string quote in
991 TeX-related modes and may occur unmatched. The change also
992 prevents fontification of quoted content.
993 (reftex-index-phrases-mode): Use it.
995 * textmodes/reftex-parse.el (reftex-parse-from-file):
996 Move backward one char if a `\' was matched after a section macro.
997 (reftex-parse-from-file): Use beginning of match instead of end as
1000 * textmodes/reftex-ref.el: Adapt creation of
1001 `reftex-<package>-<macro>' functions to new structure of
1002 `reftex-ref-style-alist'.
1003 (reftex-reference): Use `reftex-ref-style-list' function.
1004 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1005 reference macro if `reftex-ref-macro-prompt' is non-nil.
1006 (reftex-reference): Pass refstyle to `reftex-format-special'.
1007 Determine reference macro by looking at
1008 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1009 Use only one special format function.
1010 (reftex-varioref-vref, reftex-fancyref-fref)
1011 (reftex-fancyref-Fref): Remove definitions. The functions are now
1012 generated from `reftex-ref-style-alist'.
1013 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1015 (reftex-format-special): New function.
1017 * textmodes/reftex-sel.el
1018 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1019 of `reftex-ref-style-alist'. Remove code for testing macro type.
1020 (reftex-select-toggle-varioref)
1021 (reftex-select-toggle-fancyref): Remove.
1022 (reftex-select-cycle-ref-style-internal)
1023 (reftex-select-cycle-ref-style-forward)
1024 (reftex-select-cycle-ref-style-backward): New functions.
1025 (reftex-select-label-map): Use `v' and `V' for general cycling
1026 through reference styles. Add `p' for switching between number
1027 and page reference types.
1029 * textmodes/reftex-toc.el (reftex-re-enlarge):
1030 Call `enlarge-window' only if there is something to do because in Emacs
1031 the horizontal version throws an error even if the parameter is 0.
1033 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1034 (reftex-plug-into-AUCTeX): Doc fix.
1035 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1036 string. Adapt to new name.
1037 (reftex-ref-style-alist): Change structure so that it is not
1038 possible to use multiple different package names within a style.
1039 Remove the symbols for symbols for macro type distinction.
1040 Add characters for macro selection.
1041 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1042 (reftex-create-bibtex-footer): New variables.
1043 (reftex-format-ref-function): Mention third argument of special
1045 (reftex-ref-style-alist, reftex-ref-style-default-list):
1047 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1048 to new implementation. Mark as obsolete. Add compatibility code
1049 for honoring the variable values in case they are set.
1050 (reftex-cite-format-builtin, reftex-bibliography-commands):
1051 Add support for ConTeXt.
1052 (reftex-format-ref-function, reftex-format-cite-function):
1054 (reftex-cite-key-separator): New variable.
1056 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1057 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1058 `reftex-syntax-table' because parens have to retain their paren
1059 syntax in order for parsing of BibTeX entries like @book(...) to
1061 (reftex-in-comment): Do not error out if `comment-start-skip' is
1062 not set. Deal correctly with escaped comment characters.
1063 (reftex-tie-multifile-symbols): Add doc string.
1064 Initialize `reftex-ref-style-list'.
1065 (reftex-untie-multifile-symbols): Add doc string.
1066 (reftex-add-index-macros): Doc fix.
1067 (reftex-ref-style-activate, reftex-ref-style-toggle)
1068 (reftex-ref-style-list): New functions.
1069 (reftex-mode-menu): Use them. Adapt to new structure of
1070 `reftex-ref-style-alist'.
1071 (reftex-select-with-char): Kill the RefTeX Select buffer when
1073 (reftex-remove-if): New function.
1074 (reftex-erase-all-selection-and-index-buffers)
1075 (reftex-mode-menu): Reference styles are now computed from
1076 `reftex-ref-style-alist'. Fix typo.
1077 (reftex-report-bug): New function.
1078 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1079 algorithms with O(n log n). Introduce optional argument SORT (not
1082 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1084 Enhancements for triple-quote string syntax.
1085 * progmodes/python.el (python-syntax-propertize-function):
1086 Match both quote cases in one regexp.
1087 (python-syntax-stringify): Handle matches properly.
1089 2012-09-30 Juri Linkov <juri@jurta.org>
1091 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1092 to nil around the call to `insert' to prevent
1093 directory time modification by lock_file. (Bug#2295)
1094 * tar-mode.el (tar-summarize-buffer): Idem.
1096 2012-09-30 Juri Linkov <juri@jurta.org>
1098 * facemenu.el (list-colors-sort): Add option "Luminance".
1099 (list-colors-sort-key): Implement it.
1101 * vc/diff-mode.el (diff-refine-removed):
1102 * vc/ediff-init.el (ediff-fine-diff-A):
1103 * vc/smerge-mode.el (smerge-refined-removed):
1104 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1106 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1108 * term/ns-win.el (x-file-dialog): New function.
1110 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1112 * ido.el (ido-max-directory-size): Default to nil; the current
1113 default is small for POSIX systems, and impractical on Windows 7
1114 now that lstat returns directory sizes for NTFS.
1116 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1118 In buffer display functions handle window-height/window-width
1119 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1120 * window.el (window--display-buffer): New argument ALIST.
1121 Obey window-height and window-width alist entries.
1122 (window--try-to-split-window): New argument ALIST.
1123 Bind window-combination-limit to t when the window's size shall be
1124 changed and window-combination-limit equals `window-size'.
1125 (display-buffer-in-atom-window)
1126 (display-buffer-in-major-side-window)
1127 (display-buffer-in-side-window, display-buffer-same-window)
1128 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1129 (display-buffer-pop-up-window, display-buffer-below-selected)
1130 (display-buffer-at-bottom, display-buffer-in-previous-window)
1131 (display-buffer-use-some-window): Adjust all callers of
1132 window--display-buffer and window--try-to-split-window.
1133 (fit-frame-to-buffer): New option.
1134 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1136 (display-buffer-in-major-side-window): Evaluate window-height /
1137 window-width alist entries.
1139 * help.el (temp-buffer-resize-frames)
1140 (temp-buffer-resize-regexps): Remove options.
1141 (temp-buffer-resize-mode): Adjust doc-string.
1142 (resize-temp-buffer-window): Don't consult
1143 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1144 temp-buffer-resize-frames.
1146 * dired.el (dired-mark-pop-up):
1147 Call display-buffer-below-selected with a fit-window-to-buffer alist
1150 2012-09-30 Chong Yidong <cyd@gnu.org>
1152 * server.el (server-host): Document the security implications.
1153 (server-auth-key): Doc fix.
1155 * startup.el (initial-buffer-choice): Doc fix.
1157 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1159 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1162 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1164 * help-fns.el (help-fns--obsolete): Fix last change.
1166 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1168 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1169 (minor-mode-map-alist): Remove redundant code.
1171 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1172 visited in a buffer.
1173 (cvs-insert-visited-file): New function.
1174 (find-file-hook): Use it.
1176 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1178 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1180 (log-edit-empty-buffer-p): Don't require a space after a header.
1182 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1184 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1186 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1187 a proper minor-mode.
1189 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1191 2012-09-29 Glenn Morris <rgm@gnu.org>
1193 * winner.el (winner-mode): Remove variable (let define-minor-mode
1195 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1197 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1198 (winner-mode): Use define-minor-mode.
1200 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1201 the full definition in loaddefs, rather than duplicating it.
1203 * help-macro.el (three-step-help): No need to autoload defcustom.
1205 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1206 (inferior-lisp-program, inferior-lisp-load-command)
1207 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1208 No need to autoload defcustoms.
1210 * hippie-exp.el (hippie-expand-try-functions-list)
1211 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1212 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1213 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1214 (hippie-expand-only-buffers): No need to autoload defcustoms.
1215 * progmodes/vhdl-mode.el (vhdl-line-expand):
1216 Explicitly load hippie-exp, so it does not get autoloaded
1217 while hippie-expand-try-functions-list is let-bound.
1219 2012-09-28 Glenn Morris <rgm@gnu.org>
1221 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1223 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1224 Only "cl.el" counts as cl these days.
1226 2012-09-28 Juri Linkov <juri@jurta.org>
1228 Display archive errors in the echo area instead of inserting
1231 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1232 to STDERR-TEST that can be a regexp matching a successful output.
1233 Create a temporary file and redirect stderr to it. Search for
1234 STDERR-TEST in the stderr output and display it in the echo area
1235 if no match is found.
1236 (archive-extract-by-file): New function like
1237 `archive-extract-by-stdout' but extracting archives to files
1238 and looking for successful matches in stdout. Function body is
1239 mostly copied from `archive-rar-extract'.
1240 (archive-rar-extract): Use `archive-extract-by-file'.
1241 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1243 2012-09-28 Leo Liu <sdl.web@gmail.com>
1245 * pcomplete.el (pcomplete-show-completions):
1246 Use minibuffer-message to make pcomplete usable in minibuffer.
1248 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1250 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1252 * type-break.el: Use lexical-binding.
1253 (type-break-mode): Use define-minor-mode.
1255 * emacs-lisp/pcase.el (pcase--mark-used): New.
1256 (pcase--u1): Use it (bug#12512).
1258 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1259 in load-history with the right file name.
1261 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1263 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1264 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1265 (doc-view-get-bounding-box): Make bounding box slicing work for
1266 ODF and DVI documents.
1268 2012-09-28 Glenn Morris <rgm@gnu.org>
1270 * type-break.el (type-break-mode, type-break-interval)
1271 (type-break-good-rest-interval, type-break-keystroke-threshold):
1272 No need to autoload.
1273 (type-break-good-rest-interval, type-break-keystroke-threshold):
1276 2012-09-28 Chong Yidong <cyd@gnu.org>
1278 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1281 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1283 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1285 2012-09-27 Glenn Morris <rgm@gnu.org>
1287 * faces.el (x-display-name): Declare (for without-x builds).
1289 * linum.el (linum-format): Don't autoload it. Improve :type.
1291 * progmodes/tcl.el: Don't require outline when compiling.
1292 (outline-regexp, outline-level): Declare.
1293 * textmodes/sgml-mode.el: Don't require outline when compiling.
1294 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1296 * term.el (term-ansi-reset):
1297 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1299 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1300 files for RCS and SCCS. (Bug#9781)
1302 2012-09-27 Chong Yidong <cyd@gnu.org>
1304 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1305 change; value should be t.
1307 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1309 * image-mode.el: Use lexical-binding.
1310 (image-mode-winprops): Use t to stand for the window of
1311 a buffer that's not displayed.
1312 * doc-view.el (doc-view-new-window-function): Handle the new
1314 (doc-view-enlarge): Make it a real nop if the size is not changed.
1315 (doc-view-display): Handle the case where the buffer is not (yet?)
1316 displayed in any window.
1317 (doc-view-saved-settings): New var.
1318 (doc-view-mode): Use it.
1319 (doc-view-fallback-mode): Set it.
1321 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1322 Set lexical-binding.
1323 (minibuffer-eldef-shorten-default): New var.
1324 (minibuffer-default-in-prompt-regexps): Use it for new default.
1325 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1327 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1329 * international/uni-bidi.el:
1330 * international/uni-category.el:
1331 * international/uni-name.el:
1332 * international/uni-numeric.el: Regenerate.
1334 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1335 Stefan Monnier <monnier@iro.umontreal.ca>
1337 * profiler.el: New file.
1339 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1341 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1342 (testcover-reinstrument): Simplify with CSE.
1344 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1346 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1348 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1350 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1351 (verilog-auto-input, verilog-auto-insert-lisp)
1352 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1353 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1354 (verilog-auto-unused, verilog-auto-wire)
1355 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1356 newline. Reported by Andrew Jones.
1357 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1358 Reported by Brad Dobbie.
1359 (verilog-batch-delete-trailing-whitespace):
1360 Create verilog-batch-delete-trailing-whitespace.
1361 Reported by Brad Dobbie.
1362 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1363 parameters from another module. Reported by Dan Katz.
1364 (verilog-auto, verilog-auto-assign-modport)
1365 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1366 AUTOINOUTMODPORT for UVM interface module shell generation.
1367 Reported by Brad Dobbie.
1368 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1370 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1371 Reported by Matt Martin.
1373 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1375 * window.el (window--resize-child-windows): When resizing child
1376 windows proportionally, process them in reverse order to
1377 preserve the "when splitting a window the new one gets the odd
1379 (window--resize-root-window-vertically): When resizing the
1380 minibuffer window try to affect only windows at the bottom of the
1383 2012-09-25 Chong Yidong <cyd@gnu.org>
1385 * subr.el (declare): Doc fix.
1387 * help-fns.el (help-fns--obsolete): Handle macros properly.
1389 2012-09-25 Chong Yidong <cyd@gnu.org>
1391 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1392 this function obsolete.
1394 * calendar/cal-x.el (calendar-two-frame-setup)
1395 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1396 * calendar/calendar.el (american-calendar, european-calendar)
1397 (calendar-for-loop):
1398 * comint.el (comint-dynamic-simple-complete)
1399 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1400 * desktop.el (desktop-load-default):
1401 * dired-x.el (dired-omit-here-always)
1402 (dired-hack-local-variables, dired-default-directory):
1403 * emacs-lisp/derived.el (derived-mode-class):
1404 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1405 * emacs-lock.el (toggle-emacs-lock):
1406 * epa.el (epa-display-verify-result):
1407 * epg.el (epg-sign-keys, epg-start-sign-keys)
1408 (epg-passphrase-callback-function):
1409 * eshell/esh-util.el (eshell-for):
1410 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1411 (eshell-add-to-window-buffer-names):
1412 * files.el (locate-file-completion):
1413 * imenu.el (imenu-example--create-c-index)
1414 (imenu-example--create-lisp-index)
1415 (imenu-example--lisp-extract-index-name)
1416 (imenu-example--name-and-position):
1417 * international/mule-cmds.el (princ-list):
1418 * international/mule-diag.el (decode-codepage-char):
1419 * international/mule-util.el (detect-coding-with-priority):
1420 * iswitchb.el (iswitchb-read-buffer):
1421 * mail/mailalias.el (mail-complete):
1422 * mail/sendmail.el (mail-sent-via):
1423 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1424 (mouse-major-mode-menu):
1425 * password-cache.el (password-read-and-add):
1426 * pcomplete.el (pcomplete-parse-comint-arguments):
1427 * progmodes/sh-script.el (sh-maybe-here-document):
1428 * replace.el (query-replace-regexp-eval):
1429 * savehist.el (savehist-load):
1430 * simple.el (choose-completion-delete-max-match):
1431 * term.el (term-dynamic-simple-complete):
1432 * vc/ediff-init.el (ediff-check-version):
1433 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1434 * vc/vc.el (vc-diff-switches-list):
1435 * view.el (view-return-to-alist-update): Likewise.
1437 * subr.el (eval-next-after-load, makehash, insert-string)
1438 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1440 (mode-line-inverse-video): Variable deleted.
1442 * international/mule-util.el (string-to-sequence): Remove.
1444 * calendar/calendar.el (calendar-version):
1445 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1446 (icalendar-convert-diary-to-ical):
1447 * cus-edit.el (custom-mode):
1448 * ansi-color.el (ansi-color-unfontify-region):
1449 * international/latin1-disp.el (latin1-char-displayable-p):
1450 * progmodes/cwarn.el (turn-on-cwarn-mode):
1451 * progmodes/which-func.el (which-func-update-1):
1452 Use define-obsolete-function-alias.
1454 * net/newst-backend.el (newsticker-cache-filename):
1455 * net/newst-treeview.el (newsticker-groups-filename):
1456 Fix incorrect obsolescence declaration.
1458 * allout.el (allout-passphrase-hint-string): Likewise.
1459 (allout-init): Use a declare form to mark obsolete.
1461 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1462 this applies to functions.
1464 * iswitchb.el (iswitchb-read-buffer): Move code of
1465 iswitchb-define-mode-map here, and delete that obsolete function.
1467 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1468 font-lock-reference-face.
1470 2012-09-25 Glenn Morris <rgm@gnu.org>
1472 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1475 * eshell/em-term.el (eshell-term-name):
1476 Default to term-term-name. (Bug#12485)
1478 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1480 * progmodes/python.el (python-shell-send-buffer): Better handling
1481 of "if __name__ == '__main__':" conditionals when sending the buffer.
1483 2012-09-24 Glenn Morris <rgm@gnu.org>
1485 * eshell/esh-cmd.el (eshell-find-alias-function):
1486 Tighten up file-name regexp. (Bug#12499)
1488 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1490 Enhancements for triple-quote string syntax.
1491 * progmodes/python.el (python-quote-syntax): Remove.
1492 (python-syntax-propertize-function): New value.
1493 (python-syntax-count-quotes, python-syntax-stringify):
1496 2012-09-24 Chong Yidong <cyd@gnu.org>
1498 * mail/supercite.el (sc-version): Remove obsolete function.
1499 (sc-describe): Don't mark as obsolete, since it is bound.
1500 (sc-submit-bug-report): Remove.
1502 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1503 (cvs-commit-buffer-require-final-newline): Remove.
1504 (log-edit-require-final-newline)
1505 (log-edit-changelog-full-paragraphs): Default to t.
1507 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1508 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1509 * vc/vc.el (vc-checkout-carefully): Likewise.
1511 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1512 (emerge-version): Remove.
1514 * progmodes/compile.el (compile-internal): Remove.
1515 (compilation-parse-errors-function): Fix typo.
1517 * international/mule.el (set-char-table-default): Remove.
1518 (set-coding-priority, make-coding-system, generic-char-p)
1519 (charset-list, charset-bytes, charset-id): Use declare to mark
1520 functions as obsolete.
1522 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1523 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1524 * vc/vc-hooks.el (vc-default-registered): Don't use
1525 vc-master-templates.
1527 * font-lock.el (font-lock-reference-face):
1528 Use define-obsolete-variable-alias.
1530 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1531 * calendar/calendar.el (calendar-font-lock-keywords):
1532 * calendar/diary-lib.el (diary-font-lock-keywords)
1533 (diary-fancy-font-lock-keywords):
1534 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1535 * textmodes/reftex-index.el (reftex-insert-index):
1536 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1537 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1538 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1539 * progmodes/prolog.el (prolog-font-lock-keywords):
1540 * progmodes/idlwave.el (idlwave-idl-keywords):
1541 * progmodes/ada-mode.el (ada-font-lock-keywords):
1542 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1544 2012-09-24 Glenn Morris <rgm@gnu.org>
1546 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1548 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1550 * progmodes/python.el (python-indent-line): More consistent cursor
1553 2012-09-23 Stefan Merten <smerten@oekonux.de>
1555 * textmodes/rst.el: Fix compiler warning.
1557 2012-09-23 Roland Winkler <winkler@gnu.org>
1559 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1560 Transcribe also LaTeX hyphenation.
1561 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1562 bibtex-reformat-previous-options.
1564 2012-09-23 Roland Winkler <winkler@gnu.org>
1566 * proced.el (proced-renice-command): New variable.
1567 (proced-marked-processes): New function.
1568 (proced-with-processes-buffer): New macro.
1569 (proced-send-signal): Use them.
1570 (proced-renice): New command bound to r.
1572 2012-09-23 Roland Winkler <winkler@gnu.org>
1574 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1575 ibuffer-saved-filter-groups has one element, shortcut the call of
1576 completing-read. (Bug#12331)
1578 2012-09-23 Chong Yidong <cyd@gnu.org>
1580 * bindings.el (mode-line-toggle-read-only):
1581 * bs.el (bs-toggle-readonly):
1582 * buff-menu.el (Buffer-menu-toggle-read-only):
1583 * dired.el (dired-toggle-read-only):
1584 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1586 2012-09-23 Chong Yidong <cyd@gnu.org>
1588 * image.el (image-type-available-p): Adapt to init-image-library
1591 2012-09-22 Juri Linkov <juri@jurta.org>
1593 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1594 `dired-toggle-read-only'. (Bug#12462)
1596 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1598 * subr.el (temp-output-buffer-show): New function.
1599 (with-output-to-temp-buffer): Call temp-output-buffer-show
1600 instead of internal-temp-output-buffer-show.
1602 2012-09-22 Chong Yidong <cyd@gnu.org>
1604 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1607 * repeat.el (repeat): Doc fix (Bug#12348).
1609 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1612 * simple.el (shell-command-on-region): Doc fix.
1613 (read-only-mode): Doc fix.
1615 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1617 * emacs-lisp/timer.el (run-with-idle-timer)
1618 (timer-activate-when-idle): Warn against reinvoking an idle timer
1619 from within its own timer action. (Bug#12447)
1621 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1623 * cus-start.el (window-combination-limit): Add new optional
1625 * window.el (temp-buffer-window-show)
1626 (window--try-to-split-window): Handle new values of
1627 window-combination-limit (Bug#1806).
1628 (split-window): Test window-combination-limit for t instead of
1630 (display-buffer-at-bottom): New buffer display action function.
1631 * help.el (temp-buffer-resize-regexps): New option.
1632 (temp-buffer-resize-mode): Rewrite doc-string.
1633 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1634 Don't resize reused window. Suggested by Glenn Morris.
1636 2012-09-22 Stefan Merten <smerten@oekonux.de>
1638 * textmodes/rst.el: Revamp section title faces.
1639 (rst-official-version)
1640 (rst-package-emacs-version-alist): Sync with official version
1642 (rst-faces-defaults, rst-set-level-default)
1643 (rst-level-face-max, rst-level-face-base-color)
1644 (rst-level-face-base-light, rst-level-face-format-light)
1645 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1646 (rst-adornment-faces-alist): Match new setup.
1647 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1648 (rst-level-5, rst-level-6): New faces.
1650 2012-09-22 Chong Yidong <cyd@gnu.org>
1652 * simple.el (undo): Handle indirect buffers (Bug#8207).
1654 2012-09-21 Leo Liu <sdl.web@gmail.com>
1656 IDO: Disable match re-ordering for buffer switching.
1657 * ido.el (ido-buffer-disable-smart-matches): New variable.
1658 (ido-set-matches-1): Use it. (Bug#2042)
1660 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1662 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1663 Fix 2011-05-17 change. (Bug#12418)
1665 2012-09-21 Leo Liu <sdl.web@gmail.com>
1667 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1669 2012-09-21 Glenn Morris <rgm@gnu.org>
1671 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1672 Be more robust about locating simple.el.
1674 2012-09-21 Glenn Morris <rgm@gnu.org>
1676 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1678 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1680 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1682 2012-09-20 Juri Linkov <juri@jurta.org>
1684 * replace.el (query-replace-read-from): Use `read-regexp' instead
1685 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1686 (occur-read-primary-args): Use `read-regexp' instead of
1688 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1689 `read-from-minibuffer'.
1690 * isearch.el (isearch-occur): Use `read-regexp' instead of
1692 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1693 `read-from-minibuffer'.
1694 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1695 of `read-string'. (Bug#7567)
1697 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1698 and allow accepting a list of strings prepended to a list of
1699 standard default values. Doc fix. (Bug#12321)
1701 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1703 * replace.el (read-regexp): Don't add ": " when PROMPT already
1704 ends with a colon and space. (Bug#12321)
1706 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1708 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1711 2012-09-20 Stefan Merten <smerten@oekonux.de>
1713 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1714 Fixes feature request bug#11711.
1715 (rst-mode): Create `imenu-create-index-function'.
1716 (rst-get-stripped-line): Delete after refactoring.
1717 (rst-section-tree, rst-section-tree-rec)
1718 (rst-section-tree-point): Refactor and document properly.
1719 (rst-imenu-find-adornments-for-position)
1720 (rst-imenu-convert-cell, rst-imenu-create-index):
1723 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1725 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1726 (macroexp--expand-all): Use it.
1727 (macroexp--funcall-and-return): Remove by folding it into its sole
1728 caller (macroexp--warn-and-return).
1729 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1730 Use macroexp--obsolete-warning.
1732 * calc/calc.el: Fix last change by removing the whole chunk, since it
1733 was only needed back when Calc was not bundled.
1735 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1737 * emacs-lisp/debug.el (debug): Restore assignment to
1738 debugger-old-buffer removed on 2012-09-08.
1740 2012-09-20 Juri Linkov <juri@jurta.org>
1742 * dired-aux.el (dired-diff): Remove (require 'diff) since
1743 `diff-latest-backup-file' is now autoloaded.
1745 2012-09-20 Chong Yidong <cyd@gnu.org>
1747 * vc/diff.el (diff-latest-backup-file): Autoload.
1749 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1751 * calc/calc.el: Remove redundant autoload shape check.
1752 (sel-mode): Don't defvar.
1753 (calc-get-stack-element): Add `sel-mode' arg instead.
1754 (calc-top, calc-top-list): Pass it this additional argument.
1755 * calc/calc-store.el (calc-store-map):
1756 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1757 (calc-map-equation, calc-outer-product, calc-inner-product):
1758 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1760 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1762 2012-09-19 Juri Linkov <juri@jurta.org>
1764 * dired-aux.el (dired-diff): Add (require 'diff) because
1765 `diff-latest-backup-file' is not autoloaded.
1766 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1767 of `dired-get-filename' to t to not report error when there is
1768 no default file on the current line.
1770 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1772 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1773 macroexp--eval-if-compile.
1774 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1775 (macroexp--expand-all): Use them (bug#12371).
1777 * doc-view.el (doc-view-guess-paper-size)
1778 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1780 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1782 New feature: set optimal slice from BoundingBox information.
1783 * doc-view.el (doc-view-mode-map): Add keybinding.
1784 (doc-view-menu): Add menu entry.
1785 (doc-view-set-slice): Adapt docstring.
1786 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1787 (doc-view-scale-bounding-box)
1788 (doc-view-set-slice-from-bounding-box): New functions.
1789 (doc-view-paper-sizes): New defvar.
1791 2012-09-19 Glenn Morris <rgm@gnu.org>
1793 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1794 (byte-compile-log-warning): Autoload. (Bug#12371)
1796 * calendar/calendar.el (calendar-american-month-header)
1797 (calendar-european-month-header, calendar-iso-month-header)
1798 (calendar-month-header): New options.
1799 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1800 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1802 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1804 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1806 2012-09-18 Juri Linkov <juri@jurta.org>
1808 * dired-aux.el (dired-diff): Restore original functionality of
1809 getting the default value, but keep new feature of using the
1810 latest existing backup file (`diff-latest-backup-file').
1812 2012-09-18 Juri Linkov <juri@jurta.org>
1814 * dired.el (dired-mark): If the region is active in Transient Mark
1815 mode, mark all files in the active region. Doc fix.
1816 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1817 Doc fix. (Bug#10624)
1819 2012-09-18 Juri Linkov <juri@jurta.org>
1821 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1822 attributes for M-n are pulled from the file at point.
1823 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1824 Suggested by Drew Adams. (Bug#10624)
1826 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1828 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1829 whitespace after "end".
1830 (ruby-do-end-to-brace): Collapse block to one line if it fits
1833 2012-09-18 Martin Rudalics <rudalics@gmx.at>
1835 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1837 (debug): Don't remove debugger window when debugger is expected
1840 2012-09-18 Chong Yidong <cyd@gnu.org>
1842 * custom.el (defface): Doc fix.
1844 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1846 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1848 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1849 to initialize query-on-exit; then test that instead (bug#12288).
1851 2012-09-17 Stefan Merten <smerten@oekonux.de>
1853 * textmodes/rst.el: Add support for `testcover'.
1854 (rst-defcustom-testcover, rst-testcover-add-compose)
1855 (rst-testcover-add-1value): New functions.
1856 (rst-portable-mark-active-p): Replace by `use-region-p'.
1857 (rst-update-section, rst-classify-adornment)
1858 (rst-find-title-line): Mark `1value' forms.
1859 (rst-classify-adornment): Remove superfluous form.
1860 (rst-update-section, rst-get-adornments-around)
1861 (rst-adornment-complete-p, rst-get-next-adornment)
1862 (rst-adjust, rst-promote-region)
1863 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1864 (rst-find-pfx-in-region, rst-section-tree-rec)
1865 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1866 (rst-toc-node, rst-toc, rst-forward-section)
1867 (rst-iterate-leftmost-paragraphs)
1868 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1869 (rst-bullet-list-region)
1870 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1871 (rst-compile-find-conf, rst-compile)
1872 (rst-repeat-last-character): Fix style.
1874 2012-09-17 Chong Yidong <cyd@gnu.org>
1876 * comint.el (comint--complete-file-name-data): Don't add a space
1877 if the status is `sole'; that adds a gratuitous space in the
1878 completion-cycling case (Bug#12092).
1880 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1882 2012-09-17 Richard Stallman <rms@gnu.org>
1884 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1885 only in the mime-shown mode, not in raw mode.
1886 (rmail-mime): Toggle off mime by displaying the message without
1887 mime processing. (Bug#12305)
1889 * mail/rmail.el (rmail-retry-failure):
1890 Turn off mime processing first. (Bug#12037)
1892 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1894 2012-09-17 Chong Yidong <cyd@gnu.org>
1896 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1897 (shell-dynamic-complete-functions): Convert to defcustom.
1898 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1900 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1901 * comint.el (comint-prompt-read-only):
1902 * custom.el (defcustom):
1903 * hi-lock.el (hi-lock-mode):
1904 * ibuffer.el (ibuffer-formats):
1905 * ielm.el (ielm-prompt-read-only):
1906 * novice.el (disable-command):
1907 * saveplace.el (toggle-save-place):
1908 * speedbar.el (speedbar-supported-extension-expressions):
1909 * startup.el (auto-save-list-file-prefix, init-file-user)
1910 (after-init-hook, inhibit-startup-echo-area-message):
1911 * strokes.el (strokes-help):
1912 * time-stamp.el (time-stamp):
1913 * calendar/calendar.el (calendar, diary-file):
1914 * calendar/diary-lib.el (diary-mail-entries, diary)
1915 (diary-list-entries-hook):
1916 * calendar/holidays.el (holidays, calendar-holidays):
1917 * calendar/lunar.el (lunar-phases):
1918 * calendar/solar.el (sunrise-sunset):
1919 * emulation/edt.el (edt-load-keys):
1920 * emulation/viper.el (viper-mode):
1921 * eshell/em-alias.el (eshell-command-aliases-list):
1922 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1923 * international/ogonek.el (ogonek-information):
1924 * net/tramp-cmds.el (tramp-bug):
1925 * net/quickurl.el (quickurl-reread-hook-postfix):
1926 * play/decipher.el (decipher-font-lock-keywords):
1927 * progmodes/cc-styles.el (c-set-style):
1928 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1929 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1930 * progmodes/octave-mod.el (octave-mode):
1931 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1932 * progmodes/verilog-mode.el (verilog-read-defines):
1933 * textmodes/two-column.el (2C-mode): Likewise.
1935 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1937 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1938 that holds many addresses.
1940 2012-09-16 Chong Yidong <cyd@gnu.org>
1942 * align.el (align-areas): Call the indication function with
1943 positions instead of markers for arguments (Bug#12343).
1945 * files.el (parse-colon-path): Use split-string (Bug#12351).
1947 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1948 (display-buffer-function): Mark as obsolete.
1950 * progmodes/compile.el (compilation-parse-errors): Accept list
1951 values similar to font-lock-keywords (Bug#12136).
1952 Suggested by Oleksandr Manzyuk.
1953 (compilation-error-regexp-alist): Doc fix.
1955 2012-09-15 Glenn Morris <rgm@gnu.org>
1957 * version.el (emacs-bzr-version-bzr): New function.
1958 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1960 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1961 checkouts, check the parent dirstate matches the branch.
1962 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1965 * version.el (emacs-bzr-version): Doc fix.
1966 (emacs-bzr-version-dirstate): New function.
1967 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1968 is local try and check that it matches the branch. If not, just
1969 use dirstate information. (Bug#12441)
1971 2012-09-14 Juri Linkov <juri@jurta.org>
1973 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1976 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1978 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1980 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1981 Remove obsolete byte-compiler hack that tried to silence some warnings.
1982 (edebug-submit-bug-report): Remove.
1983 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1984 Remove aliases, use the un-prefixed name instead.
1985 (edebug-pop-to-buffer): Consider other frames.
1986 (edebug-original-read):: Make it more obvious that it's always defined.
1987 (edebug--make-form-data-entry, edebug--form-data-name)
1988 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1989 single-dashed name, and implement with cl-defstruct.
1990 (edebug-set-form-data-entry): Use the standard accessors.
1991 (edebug-make-top-form-data-entry): Use push.
1992 (edebug-no-match): Drop useless `funcall'.
1993 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1995 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1996 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1997 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1998 (easy-menu-define, with-custom-print): Remove redundant specs.
1999 (edebug-outside-overriding-local-map)
2000 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2001 (edebug--display): Bind unread-command-events directly to nil rather
2002 than binding it to unread-command-events and later setting it to nil.
2003 (edebug--display): Kill edebug-eval-buffer here...
2004 (edebug--recursive-edit): ...rather than here.
2005 Bind standard-output and standard-input.
2006 (edebug-eval): Check cl-macroexpand-all is fboundp.
2007 (edebug-temp-display-freq-count): Fix last change.
2009 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2010 * subr.el (noreturn, 1value): Add `debug' spec.
2011 * emacs-lisp/advice.el: Require cl-lib.
2012 (ad-copy-tree): Remove, use copy-tree instead.
2013 (ad-dolist): Remove use dolist or cl-dolist instead.
2014 (ad-do-return): Remove, use cl-return instead.
2015 (defadvice): Add `debug' spec.
2017 2012-09-13 Juri Linkov <juri@jurta.org>
2019 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2022 2012-09-13 Glenn Morris <rgm@gnu.org>
2024 * calc/calc.el (math-compose-expr):
2025 * calc/calc-ext.el (math-compose-expr):
2026 * progmodes/cc-defs.el (cl-macroexpand-all):
2027 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2028 (cl-macroexpand-all): Update declarations.
2030 * vc/vc.el: No need to require ediff.
2031 (ediff-load-version-control): Declare.
2032 (ediff-vc-internal): Fix declaration.
2033 (vc-version-ediff): Require ediff.
2035 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2037 Use a more backwards-compatible timer format (Bug#12430).
2038 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2039 being right after USECS, as that better supports old code that
2040 inadvisedly looked directly at the timer vector.
2042 2012-09-13 Kenichi Handa <handa@gnu.org>
2044 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2045 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2046 `coding-priority' property of these language environment.
2048 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2050 Fix glitches caused by addition of psec to timers (Bug#12430).
2051 * image.el (image-animate-timer):
2052 * time.el (display-time-world-timer):
2053 Use timer--function and timer--args rather than raw access to
2056 2012-09-13 Glenn Morris <rgm@gnu.org>
2058 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2059 If not compiling a file, try using load-file-name.
2061 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2063 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2065 (edebug-update-eval-list): Use `push'.
2067 * emacs-lisp/edebug.el: Use lexical-binding.
2068 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2069 Mark unused args with underscore.
2070 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2071 (edebug-form-data): Use defvar-local.
2072 (edebug-make-before-and-after-form, edebug-make-after-form):
2074 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2075 Not dynamically scoped any more.
2076 (edebug--enter-trace): Add arguments `function' and `args'.
2077 Rename from edebug-enter-trace.
2078 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2079 (edebug--update-coverage): Add `after-index' and `value' args.
2080 Rename from edebug-update-coverage.
2081 (edebug-slow-after): Call it accordingly.
2082 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2083 edebug-recursive-edit.
2084 (edebug--display): Call it accordingly. Add args `value',
2085 `offset-index', and `arg-mode'. Rename from edebug-display.
2086 (edebug-debugger, edebug): Call it accordingly.
2087 (edebug-eval-display-list): Use dolist.
2089 2012-09-12 Juri Linkov <juri@jurta.org>
2091 * info.el (Info-search): Don't check for isearch-mode and
2092 isearch-regexp before let-binding search-spaces-regexp to
2093 Info-search-whitespace-regexp.
2094 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2095 search-whitespace-regexp if isearch-lax-whitespace or
2096 isearch-regexp-lax-whitespace is non-nil.
2097 (Info-mode): Don't set local variable search-whitespace-regexp.
2098 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2100 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2102 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2103 (debugger-env-macro): Remove support for unread-command-char.
2105 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2106 the temporary map re-appearing on emulation-mode-map-alists.
2108 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2111 * ehelp.el (with-electric-help): Accept functions in
2112 electric-help-form-to-execute.
2113 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2114 And replace unread-command-char -> unread-command-events.
2116 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2118 Sync with Tramp 2.2.6.
2120 * net/tramp.el (tramp-accept-process-output): Don't use
2121 JUST-THIS-ONE in the XEmacs case.
2123 * net/trampver.el: Update release number.
2125 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2127 * emacs-lisp/debug.el (debugger-previous-window-height):
2129 (debug): When debugger-jumping-flag is non-nil try to restore
2130 height of debugger window. (Bug#8789)
2132 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2134 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2135 overriding-local-map and pre/post-command-hook here.
2136 (edebug-recursive-edit): Do it here instead (bug#12345).
2137 (edebug-outside-unread-command-char): Remove all uses of
2138 unread-command-char.
2140 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2141 inhibit-debugger is bound instead.
2143 2012-09-11 Bastien Guerry <bzg@gnu.org>
2145 * subr.el (set-temporary-overlay-map): Add a docstring.
2148 2012-09-11 Bastien Guerry <bzg@gnu.org>
2150 * minibuffer.el (completion-table-subvert): Fix docstring.
2153 2012-09-11 Bastien Guerry <bzg@gnu.org>
2155 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2157 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2159 * progmodes/sql.el: Version 3.1
2160 (sql-db2-escape-newlines): New variable.
2161 (sql-escape-newlines-filter): Use it.
2163 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2165 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2167 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2169 * vc/diff-mode.el (diff-mode-menu):
2170 Bind diff-remove-trailing-whitespace.
2172 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2174 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2175 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2176 (emacs-lisp-byte-code-mode): New functions.
2177 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2178 (eval-defun-2): Remove bogus interactive spec.
2179 (lisp-indent-line): Remove redundant whole-exp code, now done in
2180 indent-according-to-mode.
2181 (save-match-data): Remove redundant indent data.
2183 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2186 2012-09-09 Juri Linkov <juri@jurta.org>
2188 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2189 (replace-lax-whitespace, query-replace-regexp)
2190 (query-replace-regexp-eval, replace-regexp): Doc fix.
2191 (perform-replace, replace-highlight): Let-bind
2192 isearch-lax-whitespace to replace-lax-whitespace and
2193 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2195 * isearch.el (isearch-query-replace): Let-bind
2196 replace-lax-whitespace to isearch-lax-whitespace and
2197 replace-regexp-lax-whitespace to
2198 isearch-regexp-lax-whitespace. (Bug#10885)
2200 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2202 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2204 2012-09-09 Alan Mackenzie <acm@muc.de>
2206 * progmodes/cc-engine.el (c-state-cache-init):
2207 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2208 (c-record-parse-state-state):
2209 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2211 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2213 * register.el (register-separator): Rename from
2214 separator-register. All uses changed. Doc fix.
2215 (register): Fix version.
2217 2012-09-09 Chong Yidong <cyd@gnu.org>
2219 * replace.el (query-replace-map): Bind four new symbols for
2220 requesting window scrolling.
2222 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2223 query-replace-map (Bug#8948).
2225 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2227 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2228 since they are now in query-replace-map.
2230 * window.el (scroll-other-window-down): Make the arg optional.
2232 2012-09-09 Chong Yidong <cyd@gnu.org>
2234 * files.el (hack-local-variables-confirm): Use quit-window to kill
2235 the *Local Variables* buffer.
2237 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2239 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2240 not just expect to be at its beginning. Adjust callees.
2241 Succeed when do-end block has no space before the pipe character.
2242 (ruby-brace-to-do-end): When the original block is one-liner,
2243 convert to multiline. Reindent the result.
2245 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2247 * register.el (register): New group.
2248 (separator-register): New user option.
2249 (increment-register): Route it to `append-to-register', if
2250 register contains text. Implication is that `C-x r +' can now be
2251 used for appending to a text register (bug#12217).
2252 (append-to-register, prepend-to-register): Add separator based on
2253 `separator-register'.
2255 2012-09-08 Alan Mackenzie <acm@muc.de>
2257 AWK Mode: make auto-newline work when there's "==" in the pattern.
2258 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2260 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2261 Test more rigorously for "=" token.
2263 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2265 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2266 Only fail when reached LIMIT.
2268 2012-09-08 Chong Yidong <cyd@gnu.org>
2270 * dired.el (dired-mode-map): Don't bind M-=.
2272 * dired-aux.el (dired-diff): Use backup file as default.
2274 2012-09-08 Drew Adams <drew.adams@oracle.com>
2276 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2278 2012-09-08 Chong Yidong <cyd@gnu.org>
2280 * subr.el (syntax-after, syntax-class): Doc fix.
2282 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2284 * window.el (display-buffer-in-previous-window): New buffer
2285 display action function.
2287 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2288 (debugger-previous-window): New variable.
2289 (debug): Rewrite using display-buffer-in-previous-window,
2290 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2292 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2294 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2296 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2298 * progmodes/python.el (python-shell-send-string):
2299 When default-directory is remote, create temp file on remote
2301 (python-shell-send-file): When file is remote, pass local view of
2302 file paths to remote Python interpreter. (Bug#12340)
2304 2012-09-07 Chong Yidong <cyd@gnu.org>
2306 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2308 * files.el (after-find-file): Don't fail on a read-only buffer if
2309 require-final-newline is `visit' or `visit-save' (Bug#11156).
2311 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2313 * userlock.el (ask-user-about-supersession-threat):
2314 Use read-char-choice (Bug#12093).
2316 2012-09-07 Chong Yidong <cyd@gnu.org>
2318 * subr.el (buffer-narrowed-p): New function.
2320 * ses.el (ses-widen):
2321 * simple.el (count-words--buffer-message):
2322 * net/browse-url.el (browse-url-of-buffer): Use it.
2324 * simple.el (count-words-region): Don't signal an error if there
2325 is a non-nil prefix arg and the mark is not set.
2327 * help.el (describe-key-briefly): Allow the message to be seen
2328 when invoked from the minibuffer (Bug#7014).
2330 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2332 * progmodes/ruby-mode.el (ruby-end-of-defun)
2333 (ruby-beginning-of-defun): Simplify, allow indentation before
2334 block beginning and end keywords.
2335 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2336 (ruby-end-of-defun): Expect that the point is at the beginning of
2339 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2341 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2343 (cl--make-usage-args): Strip _ from argument names.
2345 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2347 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2348 obsolete alias speedbar-key-map.
2349 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2350 (vhdl-index-menu-init): Don't use obsolete variable
2351 font-lock-maximum-size.
2353 2012-09-06 Chong Yidong <cyd@gnu.org>
2355 * frame.el (window-system-version): Mark as obsolete.
2357 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2358 of obsolete variable speedbar-key-map.
2360 2012-09-06 Juri Linkov <juri@jurta.org>
2362 * replace.el (replace-lax-whitespace): New defcustom.
2363 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2364 (replace-string, replace-regexp): Mention it in docstrings.
2365 (perform-replace, replace-highlight): Let-bind
2366 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2367 to the values of replace-lax-whitespace and regexp-flag.
2368 Don't let-bind search-whitespace-regexp. (Bug#10885)
2370 * isearch.el (isearch-query-replace): Let-bind
2371 replace-lax-whitespace instead of let-binding
2372 replace-search-function and replace-re-search-function.
2373 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2374 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2375 (isearch-toggle-symbol): Set isearch-regexp to nil
2376 in isearch-word mode (like in isearch-toggle-word).
2378 2012-09-06 Juri Linkov <juri@jurta.org>
2380 * replace.el (replace-search-function)
2381 (replace-re-search-function): Set default values to nil.
2382 (perform-replace): Let-bind isearch-related variables based on
2383 replace-related values, call `isearch-search-fun' and let-bind
2384 the result to `search-function'. Remove code that sets
2385 `search-function' and `search-string' separately for
2387 (replace-highlight): Add new argument `delimited-flag' and
2388 rename other arguments to the names used in `perform-replace'.
2389 Let-bind `isearch-word' to the argument `delimited-flag'.
2390 (Bug#10885, bug#10887)
2392 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2394 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2395 ruby-beginning-of-indent, simplify, allow all keywords to have
2396 indentation before them.
2397 (ruby-beginning-of-indent): Adjust for above. Search until the
2398 found point is not inside a string or comment.
2399 (ruby-font-lock-keywords): Allow symbols to start with "@"
2400 character, give them higher priority than variables.
2401 (ruby-syntax-propertize-function)
2402 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2403 matchers. Expression expansions are not comments when inside a
2404 string, and there comment syntax status is irrelevant.
2405 (ruby-match-expression-expansion): New function. Check that
2406 expression expansion is inside a string, and it's not escaped.
2407 (ruby-font-lock-keywords): Use it.
2409 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2411 * help.el (temp-buffer-max-height): New default value.
2412 (temp-buffer-resize-frames): New option.
2413 (resize-temp-buffer-window): Optionally resize frame.
2415 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2416 (fit-frame-to-buffer): New function.
2418 2012-09-05 Glenn Morris <rgm@gnu.org>
2420 * emulation/cua-rect.el (cua--init-rectangles):
2421 * textmodes/picture.el (picture-mode-map):
2422 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2423 like forward-char and backward-char. (Bug#12317)
2425 2012-09-05 Leo Liu <sdl.web@gmail.com>
2427 * progmodes/flymake.el (flymake-warning-re): New variable.
2428 (flymake-parse-line): Use it.
2430 2012-09-05 Glenn Morris <rgm@gnu.org>
2432 * calendar/holidays.el (holiday-christian-holidays):
2433 Rename an entry. (Bug#12289)
2435 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2437 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2440 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2442 * loadup.el: Load macroexp. Remove hack.
2443 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2444 (macroexp--expand-all): Use it to get better warnings.
2445 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2446 (internal-macroexpand-for-load): New functions.
2447 (macroexp--pending-eager-loads): New var.
2448 (emacs-startup-hook): New hack to replace one in loadup.el.
2449 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2450 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2451 (cl-psetf): Simplify.
2452 (cl-defstruct): Add indent rule.
2454 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2456 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2457 over `user-mail-address' for the SMTP MAIL FROM envelope.
2458 (smtpmail-via-smtp): Ditto.
2460 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2462 * progmodes/ruby-mode.el: Clean up keybindings.
2463 (ruby-mode-map): Don't bind ruby-electric-brace,
2464 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2465 backward-kill-word, reindent-then-newline-and-indent.
2466 (ruby-mark-defun): Remove.
2467 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2468 (ruby-mode): Set local beginning-of-defun-function and
2469 end-of-defun-function values.
2471 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2473 * window.el (temp-buffer-window-setup-hook)
2474 (temp-buffer-window-show-hook): New hooks.
2475 (temp-buffer-window-setup, temp-buffer-window-show)
2476 (with-temp-buffer-window): New functions.
2477 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2478 (special-display-popup-frame): Make sure the window used shows BUFFER.
2480 * help.el (temp-buffer-resize-mode): Fix doc-string.
2481 (resize-temp-buffer-window): New optional argument WINDOW.
2483 * files.el (recover-file, save-buffers-kill-emacs):
2484 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2486 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2488 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2489 remote definition of `default-directory', ensure we can connect.
2491 2012-09-02 Juri Linkov <juri@jurta.org>
2493 Toggle whitespace matching mode with M-s SPC.
2494 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2496 * isearch.el (search-whitespace-regexp): Doc fix.
2497 Remove cons cell customization.
2498 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2499 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2501 (isearch-forward, isearch-forward-regexp): Doc fix.
2502 (isearch-toggle-lax-whitespace): New command.
2503 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2504 (re-search-forward-lax-whitespace)
2505 (re-search-backward-lax-whitespace): New functions.
2506 (isearch-whitespace-regexp): Remove function.
2507 (isearch-query-replace): Let-bind replace-search-function and
2508 replace-re-search-function.
2509 (isearch-occur): Let-bind search-spaces-regexp according to the
2510 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2511 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2512 condition for C-q SPC.
2513 (isearch-search-fun-default): Use new functions mentioned above.
2514 (isearch-search-forward, isearch-search-backward): Remove functions.
2515 (isearch-search): Don't let-bind search-spaces-regexp.
2516 (isearch-lazy-highlight-space-regexp): Remove variable.
2517 (isearch-lazy-highlight-lax-whitespace)
2518 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2519 (isearch-lazy-highlight-new-loop): Use them.
2520 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2522 2012-09-02 Chong Yidong <cyd@gnu.org>
2524 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2526 2012-09-02 Glenn Morris <rgm@gnu.org>
2528 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2530 2012-09-01 Glenn Morris <rgm@gnu.org>
2532 * term.el: Tidy up menu definitions.
2533 (term-mode-map): Use easymenu for In/Out, Complete menus.
2534 (term-pager-break-map): Initialize in the defvar.
2535 (term-terminal-menu, term-signals-menu): Define with easymenu.
2536 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2537 (term-pager-menu): New, extracted from term-process-pager.
2538 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2539 (term-update-mode-line): Propertize line/char and page items.
2540 (term-process-pager): Move keymap initialization elsewhere.
2542 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2544 * window.el (switch-to-prev-buffer): Handle additional values of
2545 BURY-OR-KILL argument. Don't switch in minibuffer window.
2546 (switch-to-next-buffer): Don't switch in minibuffer window.
2547 (quit-restore-window): New function based on quit-window.
2548 Handle additional values of former KILL argument.
2549 (quit-window): Call quit-restore-window with appropriate
2550 interpretation of KILL argument.
2551 (display-buffer-below-selected): New buffer display action
2554 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2556 * minibuffer.el (completion-at-point-functions): Complete docstring
2559 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2561 Better seed support for (random).
2562 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2563 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2564 * play/mpuz.el, play/tetris.el, play/zone.el:
2565 * calc/calc-comb.el (math-init-random-base):
2566 * play/blackbox.el (bb-init-board):
2567 * play/life.el (life):
2568 * server.el (server-use-tcp):
2569 * type-break.el (type-break):
2570 Remove unnecessary call to (random t).
2571 * net/sasl.el (sasl-unique-id-function):
2572 Change (random t) to (random), now that the latter is more random.
2573 * play/life.el (life-initialized): Remove no-longer-needed var.
2575 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2577 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2578 Consider frame's buffer predicate when choosing the buffer.
2581 2012-08-30 Richard Stallman <rms@gnu.org>
2583 * simple.el (special-mode-map): Delete binding for `z'.
2585 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2587 * progmodes/compile.el (compilation-always-kill): Doc fix.
2589 2012-08-30 Chong Yidong <cyd@gnu.org>
2591 * window.el (display-buffer-reuse-frames): Make the obsolescence
2592 message more informative.
2594 2012-08-30 Glenn Morris <rgm@gnu.org>
2596 * paren.el (show-paren-delay):
2597 Add a :set function. Doc fix. (Bug#12297)
2599 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2601 * progmodes/compile.el (compilation-always-kill): New var.
2602 (compilation-start): Use it.
2604 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2606 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2607 * files.el (read-only-mode): Move to simple.el.
2609 * files.el (read-only-mode): New minor mode.
2610 (toggle-read-only): Use it and mark obsolete.
2611 (find-file--read-only):
2612 * vc/vc.el (vc-next-action, vc-checkout):
2613 * vc/vc-cvs.el (vc-cvs-checkout):
2614 * obsolete/vc-mcvs.el (vc-mcvs-update):
2615 * ffap.el (ffap--toggle-read-only): Update callers.
2617 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2619 * eshell/esh-ext.el (eshell-external-command): Do not examine
2620 remote shell scripts.
2621 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2623 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2626 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2628 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2630 2012-08-28 Leo Liu <sdl.web@gmail.com>
2632 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2633 completion-at-point. (Bug#12220)
2635 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2637 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2639 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2641 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2642 be buffer-local; add delete-trailing-whitespace (bug#12259).
2644 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2646 * progmodes/hideif.el (hif-compress-define-list):
2647 Fix typo. (Bug#11951)
2649 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2651 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2652 buffer local setting.
2654 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2655 rcirc-encode-coding-system.
2657 2012-08-28 Leo Liu <sdl.web@gmail.com>
2659 * net/rcirc.el (rcirc-split-message): New function.
2660 (rcirc-send-message): Use it. (Bug#12051)
2662 2012-08-28 Juri Linkov <juri@jurta.org>
2664 * info.el (Info-fontify-node): Hide empty lines at the end of
2665 the node. (Bug#12272)
2667 2012-08-27 Drew Adams <drew.adams@oracle.com>
2669 * dired.el (dired-pop-to-buffer): Make window start at beginning
2670 of buffer (Bug#12281).
2672 2012-08-26 Chong Yidong <cyd@gnu.org>
2674 * window.el (special-display-regexps, special-display-frame-alist)
2675 (special-display-buffer-names, special-display-function)
2676 (display-buffer-reuse-frames): Mark as obsolete.
2678 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2680 * help.el (help-print-return-message): Don't treat
2681 display-buffer-reuse-frames specially.
2683 2012-08-26 Chong Yidong <cyd@gnu.org>
2685 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2686 New variable, replacing gdb-frame-parameters.
2687 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2688 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2689 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2690 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2691 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2692 the functions directly with gdb-display-buffer-other-frame-action.
2693 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2694 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2695 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2696 (gdb-display-registers-buffer): Define directly.
2697 (def-gdb-display-buffer): Macro deleted.
2698 (gdb-display-buffer): Remove second and third args, callers don't
2699 use them. Defer to the default display-buffer behavior, apart
2700 from making windows dedicated.
2701 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2703 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2705 * window.el (display-buffer-pop-up-frame): Handle a
2706 pop-up-frame-parameters alist entry.
2707 (display-buffer): Document it.
2709 2012-08-26 Chong Yidong <cyd@gnu.org>
2711 * isearch.el (search-whitespace-regexp): Make string and nil
2712 values apply to both ordinary and regexp search. Allow a cons
2713 cell value to distinguish between the two.
2714 (isearch-whitespace-regexp, isearch-search-forward)
2715 (isearch-search-backward): New functions.
2716 (isearch-occur, isearch-search-fun-default, isearch-search)
2717 (isearch-lazy-highlight-new-loop): Use them.
2718 (isearch-forward, isearch-forward-regexp): Doc fix.
2720 2012-08-26 Chong Yidong <cyd@gnu.org>
2722 * faces.el (help-argument-name): Always inherit from italic
2725 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2727 * window.el (window--even-window-heights): Even heights when
2728 WINDOW and the selected window form a vertical combination.
2729 (display-buffer-use-some-window): Provide that window used gets
2730 sized back by quit-window. (Bug#11880) and (Bug#12091)
2732 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2734 Fix file time stamp problem with bzr and CVS (Bug#12001).
2735 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2736 in the file's time stamp, since the version control system loses
2739 2012-08-22 Juri Linkov <juri@jurta.org>
2741 * info.el (Info-fontify-node): Hide the suffix of the
2742 Info file name in the header line. (Bug#12187)
2744 2012-08-22 Glenn Morris <rgm@gnu.org>
2746 * calendar/cal-tex.el (cal-tex-weekly-common):
2747 Restore leading blank page.
2749 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2751 * misc.el (forward-to-word, backward-to-word): Activate or extend
2752 the region under `shift-select-mode'. (Bug#12231)
2754 2012-08-22 Bastien Guerry <bzg@gnu.org>
2756 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2757 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2758 gives details on why the space is never needed.
2760 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2762 * window.el (walk-window-tree, window-with-parameter):
2763 New optional argument MINIBUF to control whether these functions
2764 should run on the minibuffer window.
2765 (window-at-side-list): Don't operate on minibuffer window.
2766 (window-in-direction): Simplify and rewrite doc-string.
2767 (window--size-ignore): Rename to window--size-ignore-p.
2769 (display-buffer-in-atom-window, window--major-non-side-window)
2770 (window--major-side-window, display-buffer-in-major-side-window)
2771 (delete-side-window, display-buffer-in-side-window):
2773 (window--side-check, window-deletable-p, delete-window)
2774 (delete-other-windows, split-window): Handle side windows and
2775 atomic windows appropriately.
2776 (window--display-buffer): Call display-buffer-record-window also
2777 when the window buffer did not change.
2779 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2781 * help-fns.el (help-fns--key-bindings):
2782 Abbreviate non-symbol remap targets. (Bug#12174)
2784 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2786 * dired.el (dired-mark-remembered): Don't clobber point.
2789 2012-08-22 Glenn Morris <rgm@gnu.org>
2791 * progmodes/bug-reference.el (bug-reference): New custom group.
2792 (bug-reference-bug-regexp): Make it a defcustom.
2794 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2796 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2797 (js-paren-indent-offset, js-square-indent-offset)
2798 (js-curly-indent-offset): Add :safe (Bug#12257).
2800 2012-08-22 Edward O'Connor <hober0@gmail.com>
2802 * json.el (json-key-format): Add error properties.
2803 (json-encode-key): New function.
2804 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2805 Use json-encode-key.
2807 2012-08-22 Glenn Morris <rgm@gnu.org>
2809 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2810 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2811 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2812 Update for above change.
2814 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2816 * cus-face.el (custom-face-attributes): Fix customize type for the
2817 :underline attribute. (Bug#11805)
2819 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2821 * window.el (window-point-1, set-window-point-1): Remove.
2822 (window-in-direction, record-window-buffer)
2823 (set-window-buffer-start-and-point, split-window-below)
2824 (window--state-get-1, display-buffer-record-window):
2825 Replace calls to window-point-1 and set-window-point-1 by calls to
2826 window-point and set-window-point respectively.
2828 2012-08-21 Glenn Morris <rgm@gnu.org>
2830 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2831 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2834 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2835 (cal-tex-shortday): New function.
2836 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2837 (cal-tex-cursor-filofax-daily): Use the above.
2839 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2841 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2842 (cal-tex-cursor-filofax-week): Use them.
2844 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2846 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2847 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2849 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2850 (cal-tex-end-document): Don't rely on buffer name.
2852 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2854 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2855 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2856 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2859 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2860 (cal-tex-cursor-week, cal-tex-cursor-week2)
2861 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2862 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2863 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2864 (cal-tex-insert-preamble, cal-tex-b-document)
2865 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2866 Improve cal-tex-cmd usage.
2868 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2869 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2870 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2871 (cal-tex-weekly-paper): New function.
2872 (cal-tex-cursor-week, cal-tex-cursor-week2)
2873 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2874 (cal-tex-cursor-day): Use it.
2876 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2877 (cal-tex-cursor-filofax-week): Remove leading blank page.
2879 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2880 Add autoload cookie. For now at least, don't use color, since
2881 no other cal-tex function does.
2883 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2884 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2885 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2887 2012-08-21 Juri Linkov <juri@jurta.org>
2889 * info.el (Info-file-attributes): New variable.
2890 (info-insert-file-contents): Add file attributes to
2891 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2892 `Info-toc-nodes' when previous modtime of the Info file is less
2894 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2895 of info.el. (Bug#12230)
2897 2012-08-20 Glenn Morris <rgm@gnu.org>
2899 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2900 * calendar/holidays.el (calendar-holiday-list):
2901 Report errors with display-warning rather than beep'n'sleep.
2903 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2905 * net/tramp.el (tramp-accept-process-output): Accept only output
2906 from PROC. Otherwise, process filters and sentinels might be
2907 confused. (Bug#12145)
2909 2012-08-20 Chong Yidong <cyd@gnu.org>
2911 * descr-text.el (describe-text-properties-1): Use overlays-in to
2912 report on empty overlays (Bug#3322).
2914 2012-08-20 Glenn Morris <rgm@gnu.org>
2916 * mail/rmailout.el (rmail-output-read-file-name):
2917 Trap and report errors in rmail-output-file-alist elements.
2919 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2920 since most non-font-lock faces are not also variables).
2922 2012-08-20 Edward Reingold <reingold@iit.edu>
2924 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2925 New function. (Bug12160)
2927 2012-08-19 Glenn Morris <rgm@gnu.org>
2929 * mail/rmailout.el (rmail-output-read-file-name):
2930 Fix previous change (when the alist is nil or does not match).
2932 2012-08-19 Chong Yidong <cyd@gnu.org>
2934 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2937 2012-08-18 Chong Yidong <cyd@gnu.org>
2939 * simple.el (yank-handled-properties): New defcustom.
2940 (yank-excluded-properties): Add font-lock-face and category.
2943 * subr.el (remove-yank-excluded-properties):
2944 Obey yank-handled-properties. The special handling of font-lock-face
2945 and category is now done this way, instead of being hard-coded.
2946 (insert-for-yank-1): Remove font-lock-face handling.
2947 (yank-handle-font-lock-face-property)
2948 (yank-handle-category-property): New function.
2950 2012-08-17 Glenn Morris <rgm@gnu.org>
2952 * mail/rmailout.el (rmail-output-read-file-name):
2953 Check rmail-output-file-alist against the full message body
2954 in the correct rmail buffer. (Bug#12214)
2956 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2958 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2959 Eliminate superfluous prompt. (Bug#12203)
2961 2012-08-17 Chong Yidong <cyd@gnu.org>
2963 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2964 font spec, set the font directly (Bug#3228).
2966 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2968 * window.el (delete-window): Fix last fix.
2970 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2972 * window.el (window-valid-p): Move to window.c.
2973 (window-child, window-child-count, window-last-child)
2974 (window-normalize-window, window-combined-p)
2975 (window-combinations, window-atom-root, window-min-size)
2976 (window-sizable, window-sizable-p, window-size-fixed-p)
2977 (window-min-delta, window-max-delta, window--resizable)
2978 (window--resizable-p, window-resizable, window-total-size)
2979 (window-full-height-p, window-full-width-p, window-body-size)
2980 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2981 (minimize-window, window-deletable-p, delete-window)
2982 (delete-other-windows, set-window-buffer-start-and-point)
2983 (next-buffer, previous-buffer, split-window, balance-windows-2)
2984 (set-window-text-height, window-buffer-height)
2985 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2986 (truncated-partial-width-window-p): Minor code adjustments.
2987 In doc-strings state whether the argument window has to denote a
2988 live, valid or any window.
2990 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2992 * progmodes/subword.el (subword-forward-function)
2993 (subword-backward-function, subword-forward-regexp)
2994 (subword-backward-regexp): New variables.
2995 (subword-forward, subword-forward-internal, subword-backward-internal):
2996 Use new variables, eg so that different "word" definitions
2997 can be easily used. (Bug#11411)
2999 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3001 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3002 for composite selectors.
3003 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3004 operation just because we can't find a previous revision.
3006 2012-08-15 Chong Yidong <cyd@gnu.org>
3008 * frame.el (set-frame-font): Accept font objects.
3010 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3012 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3014 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3016 * man.el (Man-overstrike-face, Man-underline-face)
3017 (Man-reverse-face): Remove variables.
3018 (Man-overstrike, Man-underline, Man-reverse): New faces.
3019 (Man-fontify-manpage): Use them instead of the variables.
3020 (Man-cleanup-manpage): Comment change.
3021 (Man-ansi-color-map): New variable.
3022 (Man-fontify-manpage): Use it.
3023 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3025 Implement ANSI SGR parameters 22-27 (bug#12146).
3026 * ansi-color.el (ansi-colors): Doc fix.
3027 (ansi-color-context, ansi-color-context-region): Doc fix.
3028 (ansi-color--find-face): New function.
3029 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3030 Rename the local variable `face' to `codes' since it is now a list of
3031 ansi codes. Doc fix.
3032 (ansi-color-get-face): Remove.
3033 (ansi-color-parse-sequence): New function, derived from
3034 ansi-color-get-face.
3035 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3038 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * subr.el (read-passwd): Allow use from a minibuffer.
3042 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3044 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3045 inside comments and strings as identifiers.
3047 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3048 expression to evaluate. This allows to evaluate expressions with
3049 embedded whitespace.
3050 (gud-tooltip-tips): Add a blank before the newline in the
3051 message-box text, for the benefit of message-box emulation on
3054 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3055 messages from GDB, pop them up in a tooltip to give feedback to
3057 (gdb-tooltip-print-1): Quote the expression to evaluate.
3058 This allows to evaluate expressions with embedded whitespace.
3059 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3060 if the TTY name is nil or empty (which happens when communicating
3061 with the inferior via pipes, e.g. on MS-Windows).
3062 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3063 don't send that to the GUD buffer.
3065 2012-08-14 Glenn Morris <rgm@gnu.org>
3067 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3068 Optimize away setq-default with no args, as for setq. (Bug#12195)
3070 2012-08-14 Chong Yidong <cyd@gnu.org>
3072 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3074 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3077 2012-08-14 Glenn Morris <rgm@gnu.org>
3079 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3081 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3083 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3084 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3085 Use cached shell name.
3087 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3089 * progmodes/python.el (python-shell-send-string):
3090 (python-shell-send-setup-code): Do not use `format' with `message'.
3092 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3094 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3095 (ruby-percent-literal-beg-re): New constant.
3096 (ruby-syntax-general-delimiters-goto-beg): Rename to
3097 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3098 (ruby-syntax-propertize-general-delimiters): Rename to
3099 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3100 popular term. Adjust comments everywhere.
3101 (ruby-syntax-propertize-percent-literal): Only propertize when not
3102 inside a simple string or comment. When the literal is unclosed,
3103 leave the text after it unpropertized.
3104 (ruby-syntax-methods-before-regexp): New constant.
3105 (ruby-syntax-propertize-function): Use it to recognize regexps.
3106 Don't look at the text after regexp, just use the whitelist.
3108 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3110 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3111 non-nil always load the compiled file if it exists. (Bug#12197)
3113 2012-08-14 Chong Yidong <cyd@gnu.org>
3115 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3116 (hi-lock-set-pattern): When deciding whether to use font lock or
3117 overlays, look at font-lock-mode instead of font-lock-fontified
3119 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3120 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3122 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3124 * subr.el (internal--after-with-selected-window): Fix typo
3127 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3129 Use `completion-table-dynamic' for completion functions.
3130 * progmodes/python.el
3131 (python-shell-completion--do-completion-at-point)
3132 (python-shell-completion--get-completions):
3134 (python-shell-completion-complete-at-point): New function.
3135 (python-completion-complete-at-point): Use it.
3137 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3139 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3140 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3142 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3144 * subr.el (function-get): Refine `autoload' arg so it can also
3145 autoload functions for gv.el (bug#12191).
3146 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3149 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3150 Prefer pcase-let over destructuring-bind.
3151 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3152 Also, remove whitespace as we go, rather than after accumulating the
3155 * subr.el (internal--before-with-selected-window)
3156 (internal--after-with-selected-window): Fix typo seleted->selected.
3157 (with-selected-window): Adjust callers.
3158 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3160 2012-08-13 Bastien Guerry <bzg@gnu.org>
3162 * window.el (special-display-popup-frame): Minor docstring
3163 enhancement. (Bug#12172)
3165 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3167 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3169 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3172 * files.el (hack-local-variables-filter): Remove useless eval.
3174 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3176 * subr.el (with-selected-window): Fix last change.
3178 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3180 * subr.el (internal--before-with-seleted-window)
3181 (internal--after-with-seleted-window): New functions.
3182 (with-selected-window): Use them, to replace dependency on
3185 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3187 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3188 binding for `newline'.
3189 (ruby-move-to-block): When moving backward, stop at block opening,
3191 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3192 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3193 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3194 `ruby-toggle-block'.
3196 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3198 * ibuffer.el (ibuffer-do-toggle-read-only):
3199 * dired.el (dired-toggle-read-only):
3200 * buff-menu.el (Buffer-menu-toggle-read-only):
3201 * bindings.el (mode-line-toggle-read-only):
3202 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3204 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3206 * descr-text.el (describe-char): Put the overlays over the
3207 "displayed as" character.
3209 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3211 * calc/calc-units.el (math-default-units-table): Give an
3213 (math-put-default-units): Add options to put composite units and
3214 unit systems in the default units table.
3215 (calc-convert-units): Send composite units to
3216 `math-put-default-units' when appropriate.
3218 2012-08-11 Glenn Morris <rgm@gnu.org>
3220 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3222 * tutorial.el (help-with-tutorial):
3223 * emacs-lisp/copyright.el (copyright-update-directory):
3224 * emacs-lisp/autoload.el (autoload-find-generated-file)
3225 (autoload-find-file): Disable local eval: (for insurance).
3227 * files.el (hack-local-variables-filter): If an eval: form is not
3228 known to be safe, and enable-local-variables is :safe, then ignore
3229 the form totally, as is done for non-eval forms. (Bug#12155)
3230 This is CVE-2012-3479.
3232 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3234 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3235 (rx-form): Simplify.
3237 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3239 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3240 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3241 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3242 (ruby-syntax-propertize-function): Adjust for changes in
3243 `ruby-syntax-propertize-heredoc'.
3245 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3247 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3248 binding (use `M-;' instead).
3249 (ruby-singleton-class-p): New function.
3250 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3252 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3254 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3256 2012-08-10 Chong Yidong <cyd@gnu.org>
3258 * progmodes/python.el (python-shell-get-process-name): Don't mess
3259 with same-window-buffer-names.
3261 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3262 (eshell-remove-from-window-buffer-names): Make obsolete.
3263 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3264 (eshell): Just use pop-to-buffer-same-window instead.
3266 2012-08-10 Chong Yidong <cyd@gnu.org>
3268 * bindings.el: Bind M-= back to count-words-region.
3270 * simple.el (count-words-region): Accept a prefix arg for acting
3271 on the entire buffer.
3272 (count-words--buffer-message): New helper function.
3274 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3276 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3277 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3278 (event-start, event-end): Use posn-at-point to return a more
3280 (posnp): New function.
3281 * mouse.el (popup-menu-normalize-position): Use it.
3283 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3285 * mouse.el (popup-menu-normalize-position): New function.
3286 (popup-menu): Use `popup-menu-normalize-position' to normalize
3287 the form for POSITION argument.
3289 * term/x-win.el (x-menu-bar-open):
3290 Use the value returend from (posn-at-point) as position
3291 passed to `popup-menu'.
3293 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3295 * calc/calccomp.el (math-compose-expr): Add extra argument
3296 indicating that parentheses should be put around products in
3297 denominators. Give multiplication precedence over division during
3300 2012-08-09 Chong Yidong <cyd@gnu.org>
3302 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3303 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3304 (Man-untabify-command, manual-program): Convert to defcustom
3307 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3309 * descr-text.el (describe-char): Don't insert extra newlines
3312 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3313 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3315 * align.el (align-region): Delete temporary markers (Bug#10047).
3316 Plus some code cleanups.
3318 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3320 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3321 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3322 (python-shell-internal-last-output): Use make-local-variable
3323 instead of make-variable-buffer-local.
3325 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3327 * progmodes/python.el: Enhancements to forward-sexp.
3328 (python-nav-forward-sexp): Rename from
3329 python-nav-forward-sexp-function.
3330 (python-nav--forward-sexp, python-nav--backward-sexp):
3333 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3335 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3336 modes and simplification modes.
3338 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3340 * delsel.el (delete-selection-pre-hook): Don't propagate the
3341 file-supersession signals (bug#12161).
3343 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3346 (cl-map-extents): Add compatibility aliases (bug#12135).
3348 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3350 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3351 tests by `ignore-error'.
3352 (tramp-find-shell): Open also a new shell, when cache is already
3353 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3355 2012-08-08 Juri Linkov <juri@jurta.org>
3357 * bookmark.el: Add `defaults' property to the bookmark record.
3358 (bookmark-current-buffer): Doc fix.
3359 (bookmark-make-record): Add `defaults' property with default values
3360 to the bookmark record.
3361 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3362 with `bookmark-insert-current-bookmark'.
3363 (bookmark-set): Get `defaults' property from the bookmark record
3364 and use it in `read-from-minibuffer'.
3365 (bookmark-insert-current-bookmark): Remove function.
3367 * info.el (Info-bookmark-make-record): Add `defaults' property
3368 with values of canonical Info node name, the current Info file
3369 name and the current Info node name. (Bug#12107)
3371 2012-08-08 Juri Linkov <juri@jurta.org>
3373 * files.el (basic-save-buffer): Use `buffer-name' as the default
3374 of `read-file-name' when buffer is not visiting a file (bug#12128).
3376 2012-08-08 Juri Linkov <juri@jurta.org>
3378 * info.el (Info-isearch-search): Doc fix.
3379 (Info-search): Change search-failed message from "initial node" to
3380 "end of node" (bug#12078).
3381 (Info-isearch-search): Change `isearch-string-state' to
3382 `isearch--state-string'.
3384 2012-08-08 Glenn Morris <rgm@gnu.org>
3386 * language/persian.el: Remove file.
3387 * language/misc-lang.el: Move unique part of persian.el here.
3388 * loadup.el: Remove language/persian.
3390 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3392 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3394 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3396 * progmodes/python.el Fixed defsubst warning.
3397 (python-syntax-context) Rename from python-info-ppss-context.
3398 (python-syntax-context-type): Rename from
3399 python-info-ppss-context-type.
3400 (python-syntax-comment-or-string-p): Rename from
3401 python-info-ppss-comment-or-string-p.
3403 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3405 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3407 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3409 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3410 a defcustom that is quoted with backquote.
3412 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3413 Fix handling of interactive spec when the body uses return.
3414 (math-do-arg-check, math-define-function-body): Use backquote forms.
3415 * calc/calc-ext.el (math-defcache): Likewise.
3416 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3417 * allout.el (allout-new-exposure): Likewise.
3418 * calc/calcalg2.el (math-tracing-integral): Likewise.
3419 * info.el (Info-last-menu-item): Likewise.
3420 * emulation/vip.el (vip-loop): Likewise.
3421 * textmodes/artist.el (artist-funcall): Likewise.
3422 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3423 Construct menu-item directly.
3425 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3428 2012-08-07 Chong Yidong <cyd@gnu.org>
3430 * simple.el (deactivate-mark): Preserve text properties when
3431 saving the primary selection (Bug#8384).
3433 2012-08-07 Kevin Ryde <user42@zip.com.au>
3435 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3436 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3437 and continue processing (Bug#12110).
3439 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3441 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3442 syntax-propertize-function (bug#10095).
3444 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3446 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3447 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3448 describe-function-1.
3449 (describe-function-1): Use them. Move compiler macro after sig.
3450 (help-fns--compiler-macro): Use function-get. Assume we're already in
3451 standard-output. Adjust layout to new call order.
3453 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3454 re-binding a symbol that has a symbol-macro (bug#12119).
3456 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3458 * language/persian.el: New file. (Bug#11812)
3459 * loadup.el: Add language/persian.el.
3461 2012-08-06 Chong Yidong <cyd@gnu.org>
3463 * window.el (window--maybe-raise-frame): New function.
3464 (window--display-buffer): Split off from here.
3465 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3466 (display-buffer-pop-up-window, display-buffer-use-some-window):
3467 Obey an inhibit-switch-frame action alist entry.
3468 (display-buffer): Update doc.
3470 * replace.el (occur-after-change-function): Avoid losing focus by
3471 using the inhibit-switch-frame display parameter (Bug#12139).
3473 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3475 Make internal shell process buffer names start with space.
3476 * progmodes/python.el (python-shell-make-comint): Add optional
3478 (run-python-internal): Use it.
3479 (python-shell-internal-get-or-create-process): Check for new
3480 internal buffer names.
3482 2012-08-06 Glenn Morris <rgm@gnu.org>
3484 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3485 Do less getting and setting of environment variables.
3487 2012-08-05 Chong Yidong <cyd@gnu.org>
3489 * proced.el (proced): Add substitution string to docstring to
3490 trigger autoloading of the proced library on C-h f (Bug#1768).
3492 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3493 Don't show defvars which have no second argument (Bug#8638).
3495 * imenu.el (imenu-generic-expression): Move documentation here
3496 from imenu--generic-function.
3497 (imenu--generic-function): Refer to imenu-generic-expression.
3499 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3501 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3502 indentation declaration.
3503 (viper-loop): Add indentation declaration (Bug#7025).
3505 2012-08-05 Chong Yidong <cyd@gnu.org>
3507 * help-fns.el (describe-variable): Add hyperlink for
3508 directory-local variables files. Improve buffer-local and
3509 permanent-local reporting; suggested by MON KEY (Bug#6644).
3511 * help-mode.el (help-dir-local-var-def): New button type.
3513 * files.el (kill-buffer-hook): Provide a defvar.
3515 2012-08-05 Glenn Morris <rgm@gnu.org>
3517 * eshell/esh-ext.el (eshell/addpath):
3518 Also update eshell-path-env. (Bug#12013)
3520 2012-08-05 Chong Yidong <cyd@gnu.org>
3522 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3524 * fringe.el (fringe-styles): Add docstring.
3525 (fringe--check-mode): New function.
3526 (set-fringe-mode, set-fringe-style): Use it.
3527 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3529 * files.el (set-auto-mode): Fix invalid setq call.
3531 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3533 * isearch.el: Misc simplification; use defstruct.
3534 (isearch-mode-map): Dense maps now work like sparse ones.
3535 (isearch--state): New defstruct.
3536 (isearch-string-state, isearch-message-state, isearch-point-state)
3537 (isearch-success-state, isearch-forward-state)
3538 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3539 (isearch-wrapped-state, isearch-barrier-state)
3540 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3541 replaced by defstruct's accessors.
3542 (isearch--set-state): Rename from isearch-top-state and change
3544 (isearch-push-state): Use new isearch--get-state.
3545 (isearch-toggle-word): Disable regexp when enabling word.
3546 (isearch-message-prefix): Remove unused arg _c-q-hack.
3547 (isearch-message-suffix): Remove unused arg _ellipsis.
3549 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3551 * simple.el (list-processes--refresh): For a server use :host or
3552 :local as the address.
3553 (list-processes): Doc fix.
3555 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3557 * lisp/mpc.el: Support password in host argument.
3558 (mpc--proc-connect): Parse and use new password element.
3559 Set mpc-proc variable instead of returning process.
3560 (mpc-proc): Adjust accordingly.
3562 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3564 * whitespace.el (whitespace-display-mappings): Use Unicode
3565 codepoints, instead of emacs-mule codepoints. See
3566 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3569 * files.el (file-truename): Don't skip symlink-chasing part on
3570 windows-nt. Incorporate the resolution of 8+3 short aliases on
3571 Windows into the loop that recursively chases symlinks.
3572 Compare directory and its parent case-insensitively on MS-Windows and
3575 2012-08-03 Chong Yidong <cyd@gnu.org>
3577 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3579 * sort.el (sort-regexp-fields): Doc fix.
3581 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3583 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3584 labels regex position point at the expected place.
3586 2012-08-03 MON KEY <monkey@sandpframing.com>
3588 * net/imap.el (imap-interactive-login, imap-authenticate)
3589 (imap-mailbox-lsub, imap-mailbox-list)
3590 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3591 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3592 (imap-parse-response): Doc fix.
3594 2012-08-03 João Távora <joaotavora@gmail.com>
3596 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3597 if sexp scanning does not move point (Bug#5734).
3599 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3601 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3602 Add listings, minted, and ctable packages.
3603 (reftex-label-alist-builtin): Move listings, minted, and ctable
3604 entries before LaTeX.
3605 (reftex-label-alist): Docfix.
3607 2012-08-02 Bastien Guerry <bzg@gnu.org>
3609 * replace.el (occur): Fix docstring (bug#12122).
3611 2012-08-02 Glenn Morris <rgm@gnu.org>
3613 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3615 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3617 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3618 * international/mule-cmds.el: Create
3619 inactivate-current-input-method-function as an obsolete alias for
3620 deactivate-current-input-method-function. See Katsumi Yamaoka in
3621 <http://bugs.gnu.org/10150#46>.
3623 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3625 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3628 2012-08-01 Glenn Morris <rgm@gnu.org>
3630 * progmodes/autoconf.el (autoconf-definition-regexp):
3631 Add AH_TEMPLATE, adjust submatch numbering.
3632 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3633 (autoconf-current-defun-function): Update for above change.
3634 (autoconf-current-defun-function): First skip to end of current word.
3636 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3638 * calendar/cal-html.el (cal-html-insert-agenda-days):
3639 Fix typo. (Bug#12018)
3641 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3643 Shell processes: enhancements to startup and CEDET compatibility.
3644 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3645 (python-shell-make-comint): accept-process-output at startup.
3646 (run-python-internal): Set inferior-python-mode-hook to nil.
3647 (python-shell-internal-get-or-create-process): call sit-for.
3648 (python-preoutput-result): Add obsolete alias.
3649 (python-shell-internal-send-string): Use it.
3650 (python-shell-send-setup-code): Remove call to
3651 accept-process-output.
3653 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3655 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3658 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3660 * calc-mode.el (calc-basic-simplification-mode): Rename from
3661 `calc-limited-simplification-mode'.
3662 (calc-alg-simplification-mode): New function.
3663 (calc-set-simplify-mode): Adjust message.
3665 * calc.el (calc-set-mode-line): Adjust mode line display for
3666 basic simplification mode.
3668 * calc-help.el (calc-m-prefix-help): Update help message.
3670 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3671 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3673 2012-07-31 Bastien Guerry <bzg@gnu.org>
3675 * man.el (man): Fix comment. (bug#12101)
3677 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3679 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3680 Don't return a non-nil value when no suitable buffer was found.
3682 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3684 * progmodes/python.el (run-python-internal): Disable font lock for
3687 2012-07-30 Stefan Merten <smerten@oekonux.de>
3689 * textmodes/rst.el: Silence `checkdoc-ispell'.
3690 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3691 (rst-official-version, rst-official-cvs-rev)
3692 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3693 (rst-mode-map): New key binding.
3695 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3697 Update .PHONY listings in makefiles.
3698 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3699 autoloads, update-subdirs, updates, bzr-update, update-authors,
3700 compile-onefile, compile-calc, backup-compiled-files,
3701 compile-after-backup, compile-one-process, mh-autoloads,
3702 bootstrap-clean, distclean, maintainer-clean.
3704 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3706 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3707 (calc-set-mode-line): Don't display "AlgSimp ".
3709 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3710 (calc-lim-simplify-mode): New function.
3711 (calc-set-simplify-mode): Default to 'alg.
3712 (calc-default-simplify-mode): Make algebraic simplifications
3715 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3716 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3718 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3719 indicate new simplification modes.
3721 * calc/README: Mention new default simplification mode.
3723 * calc/calc.el (math-normalize-error): New variable.
3724 (math-normalize): Set `math-normalize-error' to t
3725 when there's an error.
3727 * calc/calc-alg.el (math-simplify): Don't simplify when
3728 `math-normalize' returns an error.
3730 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3732 * international/mule-cmds.el (set-locale-environment): Revert last
3733 change, since display-graphic-p returns nil when this function is
3734 called during startup. Instead...
3736 * term/w32console.el (terminal-init-w32console): ...setup the
3737 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3739 2012-07-29 Juri Linkov <juri@jurta.org>
3741 * simple.el (goto-line): Don't display default line number in the
3742 prompt because it should be displayed by `read-number' (bug#9952).
3743 Add the current line number to the defaults of `goto-line' to
3744 allow its easier modification by users with `M-n' (bug#9201).
3746 * subr.el (read-number): Support multiple default values like in
3747 other minibuffer reading functions. Replace `read' with
3748 `string-to-number' for consistency with `number-to-string'.
3750 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3752 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3753 * emulation/viper-init.el (viper-deactivate-input-method-action):
3754 Rename from viper-inactivate-input-method-action.
3755 (viper-deactivate-input-method):
3756 Rename from viper-inactivate-input-method.
3757 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3758 * international/mule-cmds.el (deactivate-input-method):
3759 Rename from inactivate-input-method.
3760 Also run input-method-deactivate-hook.
3761 (deactivate-current-input-method-function):
3762 Rename from inactivate-current-input-method-function.
3763 (input-method-deactivate-hook): New hook.
3764 (input-method-inactivate-hook): Mark obsolete.
3765 (inactivate-input-method): Mark obsolete.
3767 * international/quail.el (quail-activate):
3768 Also run quail-deactivate-hook.
3769 (quail-deactivate): Rename from quail-inactivate.
3770 * international/robin.el (robin-activate):
3771 Also run robin-deactivate-hook.
3772 (robin-deactivate): Rename from robin-inactivate.
3774 2012-07-29 Chong Yidong <cyd@gnu.org>
3776 * simple.el (indicate-copied-region): New function.
3777 (kill-ring-save): Split off from here.
3779 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3780 (kill-rectangle): Set deactivate-mark to t on read-only error.
3782 * register.el (copy-to-register, copy-rectangle-to-register):
3783 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3784 (append-to-register, prepend-to-register): Call indicate-copied-region.
3786 2012-07-29 Juri Linkov <juri@jurta.org>
3788 * simple.el (async-shell-command-buffer): New defcustom.
3789 (shell-command): Use it. (Bug#4719)
3791 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3793 * international/mule-cmds.el (set-locale-environment): In a
3794 console session on MS-Windows, set up keyboard and terminal
3795 encoding from the OEM codepage, not the ANSI codepage.
3798 2012-07-28 Chong Yidong <cyd@gnu.org>
3800 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3803 2012-07-28 Leo Liu <sdl.web@gmail.com>
3805 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3806 the alist (bug#12029).
3808 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3810 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3811 (compile-always, compile-first)
3812 ($(lisp)/calendar/cal-loaddefs.el)
3813 ($(lisp)/calendar/diary-loaddefs.el)
3814 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3815 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3816 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3817 instead of on update-subdirs.
3818 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3820 2012-07-28 Chong Yidong <cyd@gnu.org>
3822 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3823 directory if vc-deduce-backend returns nil (Bug#7350).
3825 * simple.el (delete-trailing-lines): New option.
3826 (delete-trailing-whitespace): Obey it (Bug#11879).
3828 2012-07-28 David Engster <deng@randomsample.de>
3830 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3831 Explanation of new 'symbol-qnames feature in doc-strings.
3832 (xml-maybe-do-ns): Return expanded names as plain symbols if
3833 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3834 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3836 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3838 Consistent completion in inferior python with emacs -nw.
3839 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3840 binding in inferior-python-mode-map with "\t".
3841 (python-shell-completion-complete-at-point)
3842 (python-completion-complete-at-point): Remove interactive spec.
3844 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3846 * calc/calccomp.el (math-compose-expr): Undo previous change.
3848 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3850 * progmodes/python.el (python-mode-map): Add keybinding for
3852 (python-shell-make-comint): Fix pop-to-buffer call.
3853 (run-python): Autoload. New arg SHOW.
3854 (python-shell-get-or-create-process): Do not pop python process
3857 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3859 * notifications.el (notifications-on-action-signal)
3860 (notifications-on-closed-signal): Use also the bus address for the map.
3861 (notifications-notify, notifications-close-notification)
3862 (notifications-get-capabilities): Add optional argument BUS.
3864 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3866 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3867 Add support for the lstlisting and minted environments, and for the
3869 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3870 labels written in keyvals syntax.
3872 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3874 * calc/calccomp.el (math-compose-expr): Use parentheses when
3875 there is a product in the denominator of a fraction.
3877 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3879 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3880 ($(lisp)/calendar/diary-loaddefs.el)
3881 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3882 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3883 Fixes failures in parallel bootstrap because subdirs.el is being
3884 rewritten while the autoload files are built at the same time,
3885 which needs to load subdirs.el.
3887 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3889 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3890 (mouse-drag-line): Don't exit tracking when a switch-frame or
3891 switch-window event occurs (Bug#12006).
3893 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3895 * mouse.el (popup-menu): Fix last change.
3897 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3899 Autoload from Lisp with more care. Follow aliases when looking for
3900 function properties.
3901 * subr.el (autoloadp): New function.
3902 (symbol-file): Use it.
3903 (function-get): New function.
3904 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3906 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3907 (lisp-indent-function):
3908 * emacs-lisp/gv.el (gv-get):
3909 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3910 * emacs-lisp/byte-opt.el (byte-optimize-form):
3911 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3912 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3914 * emacs-lisp/cl.el: Don't propagate function properties any more.
3916 * speedbar.el (speedbar-add-localized-speedbar-support):
3917 * emacs-lisp/disass.el (disassemble-internal):
3918 * desktop.el (desktop-load-file):
3919 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3920 (describe-function-1):
3921 * emacs-lisp/find-func.el (find-function-noselect):
3922 * emacs-lisp/elp.el (elp-instrument-function):
3923 * emacs-lisp/advice.el (ad-has-proper-definition):
3924 * apropos.el (apropos-safe-documentation, apropos-macrop):
3925 * emacs-lisp/debug.el (debug-on-entry):
3926 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3927 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3928 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3930 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3932 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3933 function, not an obsolete variable (Bug#12046).
3935 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3937 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3939 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3941 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3942 window only if it is still live (Bug#12034).
3944 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3946 * subr.el (redirect-frame-focus): Add advertised calling
3947 convention (Bug#12030).
3949 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3951 Prefer typical American spelling for "acknowledgment".
3952 * vc/add-log.el (change-log-acknowledgment): Rename from
3953 change-log-acknowledgement, with an alias for the old name.
3955 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3957 * calc-alg.el (math-simplify-divide): Don't cross multiply
3958 in an equation when the lhs is a variable.
3960 2012-07-24 Julien Danjou <julien@danjou.info>
3962 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3965 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3967 * startup.el (command-line): Don't display an empty user name in
3968 the error message about non-existent home directory, when
3969 init-file-user was set to an empty string. See
3970 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3971 for the details and context.
3973 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3975 * ses.el (ses-cell-formula-aset): New macro.
3976 (ses-cell-references-aset): New macro.
3977 (ses-cell-p): New function.
3978 (ses-rename-cell): Do no longer rely on complex operations like
3979 ses-cell-set-formula or ses-set-cell to change the cell and handle
3980 the undo at the same time, but rather use lower level new macros
3981 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3982 the undo directly. Refresh the mode line.
3984 2012-07-21 Leo Liu <sdl.web@gmail.com>
3986 * progmodes/cc-cmds.el (c-defun-name):
3987 Use match-string-no-properties instead for consistency.
3989 2012-07-20 Leo Liu <sdl.web@gmail.com>
3991 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3994 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3996 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3999 * progmodes/bug-reference.el, misearch.el: Provide themselves
4002 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4003 of narrowed buffer (bug#11966).
4005 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4007 * ses.el (ses-rename-cell): Set new name also in reference list of
4008 cells of which the renamed cell depends.
4010 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4012 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4013 to check whether menu-bar is shown or not. If not shown,
4014 show the menu-bar as a popup menu instead of using tmm.
4015 * mouse.el (popup-menu): Accept `point' as `position' argument.
4017 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4019 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4020 up inside string symbol literal (bug#11923).
4022 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4024 * startup.el (fancy-startup-text): Read the whole tutorial, not
4025 just its first 256 bytes. Prevents gibberish in display of the
4028 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4030 Drop idle buffer compaction due to an absence of the
4032 * compact.el: Remove.
4034 2012-07-19 Sam Steingold <sds@gnu.org>
4036 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4037 vc-bzr-pull & vc-bzr-merge-branch.
4038 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4039 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4040 for consistency with compilation-error-regexp-alist.
4041 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4042 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4043 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4044 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4046 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4048 * emacs-lisp/chart.el: Use lexical-binding.
4049 (chart-emacs-storage): Don't hardcode the list of entries.
4051 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4053 Next round of tweaks caused by Fgarbage_collect changes.
4054 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4056 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4058 Compact buffers when idle.
4059 * compact.el: New file.
4061 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4063 * subr.el (eventp): Presume that if it looks vaguely like an event,
4064 it's an event (bug#10190).
4066 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4068 Enhancements to ppss related code (thanks Stefan).
4069 * progmodes/python.el (python-indent-context)
4070 (python-indent-calculate-indentation, python-indent-dedent-line)
4071 (python-indent-electric-colon, python-nav-forward-block)
4072 (python-mode-abbrev-table)
4073 (python-info-assignment-continuation-line-p): Simplify checks
4075 (python-info-continuation-line-p): Cleanup.
4076 (python-info-ppss-context): Do not catch 'quote.
4077 (python-info-ppss-context-type)
4078 (python-info-ppss-comment-or-string-p): Simplify.
4080 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4082 * progmodes/python.el: Enhancements to eldoc support.
4083 (python-info-current-symbol): New function.
4084 (python-eldoc-at-point): Use python-info-current-symbol.
4085 (python-info-current-defun): Fix cornercase on first defun scan.
4086 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4087 and signal error when no inferior python process is available.
4089 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4091 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4092 assume it's always t.
4093 (vc-git-registered): Remove caching, the function is only called
4095 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4097 2012-07-18 Chong Yidong <cyd@gnu.org>
4099 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4101 * simple.el (count-words): Report on narrowing (Bug#9959).
4103 * bindings.el: Bind M-= to count-words.
4105 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4107 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4109 * progmodes/sh-script.el (sh-imenu-generic-expression):
4110 Capture a function with `function' keyword and without parentheses
4111 like "function FOO" (bug#11856).
4113 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4115 * window.el (split-window-sensibly): Make WINDOW argument
4118 2012-07-18 Chong Yidong <cyd@gnu.org>
4120 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4122 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4123 and make C-x 8 RET exit isearch (Bug#11439).
4125 * international/iso-transl.el: Move isearch-mode-map key
4126 definitions to isearch.el.
4128 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4130 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4131 (eieio-defclass): Use gv-define-setter when possible.
4133 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4135 Reflect recent changes in Fgarbage_collect.
4136 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4137 reflect new format of data returned by Fgarbage_collect.
4139 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4141 New utility functions + python-info-ppss-context fix (Bug#11910).
4142 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4143 (python-info-ppss-comment-or-string-p): New functions.
4144 (python-info-ppss-context): Small fix for string check.
4146 2012-07-17 Juri Linkov <juri@jurta.org>
4148 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4149 (dired-do-async-shell-command): Don't add `*' at the end of the
4150 command (Bug#11815).
4151 (dired-do-shell-command): Doc fix.
4152 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4153 Join the individual commands using either "&" or ";" as the
4154 separator depending on the values of these trailing characters.
4155 At the end re-add the trailing "&". (Bug#10598)
4157 * simple.el (async-shell-command): Sync the interactive spec with
4158 `shell-command'. Doc fix.
4159 (shell-command): Doc fix.
4161 2012-07-17 Juri Linkov <juri@jurta.org>
4163 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4165 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4167 Final renames and doc fixes for movement commands (bug#11899).
4168 * progmodes/python.el (python-nav-beginning-of-statement):
4169 Rename from python-nav-statement-start.
4170 (python-nav-end-of-statement): Rename from
4171 python-nav-statement-end.
4172 (python-nav-beginning-of-block): Rename from
4173 python-nav-block-start.
4174 (python-nav-end-of-block): Rename from python-nav-block-end.
4176 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4178 * progmodes/python.el (python-shell-send-string-no-output):
4179 Allow accept-process-output to quit, keeping shell process ready for
4180 future interactions (Bug#11868).
4182 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4184 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4186 * emacs-lisp/elint.el (elint-find-args-in-code):
4187 Use help-function-arglist, so as to handle lexical byte-code.
4189 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4192 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4194 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4195 Avoid spuriously marking the buffer as modified because of c-is-sws.
4197 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4198 as not-a-comment (bug#11946).
4200 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4201 for uninterned vars.
4203 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4204 Use read-event since we don't really want to read chars but bytes.
4206 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4207 $$..$$ but also $..$ using regexps (bug#11953).
4208 Use tex-verbatim for \url and \path.
4209 (tex-font-lock-keywords): Define as defconst like the others.
4210 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4212 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4214 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4215 alias for insert-char.
4217 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4219 * progmodes/python.el: Simplified imenu implementation.
4220 (python-nav-jump-to-defun): Remove command.
4221 (python-mode-map): Use `imenu' instead.
4222 (python-nav-list-defun-positions-cache)
4223 (python-imenu-include-defun-type, python-imenu-make-tree)
4224 (python-imenu-subtree-root-label, python-imenu-index-alist):
4226 (python-nav-list-defun-positions, python-nav-read-defun)
4227 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4228 (python-imenu-make-tree, python-imenu-create-index):
4230 (python-mode): Update to interact with imenu by setting
4231 `imenu-extract-index-name-function' only.
4233 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4235 * progmodes/python.el: Enhancements to navigation commands.
4236 (python-nav-backward-sentence)
4237 (python-nav-forward-sentence): Remove.
4238 (python-nav-backward-statement, python-nav-forward-statement)
4239 (python-nav-statement-start, python-nav-statement-end)
4240 (python-nav-backward-block, python-nav-forward-block)
4241 (python-nav-block-start, python-nav-block-end)
4242 (python-nav-forward-sexp-function)
4243 (python-info-current-line-comment-p)
4244 (python-info-current-line-empty-p): New functions.
4245 (python-indent-context): Use `python-nav-statement-start'.
4247 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4249 * eshell/em-ls.el (eshell/ls): Use `apply'.
4251 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4252 multi-hops, instead of Tramp internals.
4254 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4256 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4257 when F1 and F2 are located on different hosts.
4259 2012-07-14 Chong Yidong <cyd@gnu.org>
4261 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4262 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4263 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4264 (xterm-mouse--read-event-sequence-1000)
4265 (xterm-mouse--read-event-sequence-1006): New functions. For old
4266 mouse protocol, handle M-mouse-X events correctly.
4267 (xterm-mouse-event): New arg specifying mouse protocol.
4268 (turn-on-xterm-mouse-tracking-on-terminal)
4269 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4270 sequence to toggle extended coordinates on newer XTerms.
4271 This appears to be harmless on terminals which do not support this.
4273 2012-07-14 Leo Liu <sdl.web@gmail.com>
4275 Add fringe bitmap indicators for flymake. (Bug#11253)
4276 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4277 (flymake-make-overlay): New arg BITMAP.
4278 (flymake-error-bitmap, flymake-warning-bitmap)
4279 (flymake-fringe-indicator-position): New user variables.
4281 * fringe.el: New bitmap exclamation-mark.
4283 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4285 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4288 2012-07-14 Chong Yidong <cyd@gnu.org>
4290 * electric.el (electric-pair-post-self-insert-function): Fix pair
4291 insertion in empty-region case (Bug#11520).
4293 2012-07-14 Chong Yidong <cyd@gnu.org>
4295 * bindings.el: Consolidate ctl-x-r-map bindings.
4296 Bind copy-rectangle-as-kill to C-x r w.
4298 * rect.el, register.el: Move bindings to bindings.el.
4300 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4302 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4304 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4306 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4308 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4310 * bindings.el (top): Use `mapc' instead of `mapcar'.
4312 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4314 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4316 * progmodes/sql.el (sql-comint): Suppress the check for program on
4317 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4320 2012-07-13 Chong Yidong <cyd@gnu.org>
4322 * bindings.el: Assign a non-nil permanent-local property to
4323 per-buffer variables which lack a default value (Bug#11930).
4325 * help-fns.el (describe-variable): In the "automatically becomes
4326 local" notice, take note of permanent-local variables.
4328 2012-07-13 Chong Yidong <cyd@gnu.org>
4330 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4331 to allow printing the message when called from Lisp.
4333 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4334 Remove toggle-read-only.
4336 * bs.el (bs-toggle-readonly):
4337 * buff-menu.el (Buffer-menu-toggle-read-only):
4338 Remove with-no-warnings around toggle-read-only.
4340 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4341 Remove with-no-warnings around toggle-read-only.
4342 (ffap-read-only, ffap-read-only-other-window)
4343 (ffap-read-only-other-frame): Callers changed.
4345 * help-mode.el: Don't require view package.
4346 (help-mode-finish): Set buffer-read-only instead of calling
4349 * bindings.el (mode-line-toggle-read-only):
4350 * dired.el (dired-toggle-read-only):
4351 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4352 with non-nil second arg.
4354 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4355 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4358 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4360 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4363 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4365 More CL cleanups and reduction of use of cl.el.
4366 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4367 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4368 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4369 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4370 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4371 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4372 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4373 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4374 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4375 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4376 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4377 * eshell/em-cmpl.el, eshell/em-banner.el:
4378 * calendar/parse-time.el: Use cl-lib.
4379 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4380 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4381 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4382 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4383 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4384 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4385 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4386 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4387 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4388 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4389 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4390 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4391 `lambda' rather than with `quote'.
4392 (eshell-do-opt): Adjust accordingly.
4393 (eshell-process-option): Simplify.
4394 * eshell/esh-var.el:
4395 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4396 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4397 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4398 to `pcase--dontcare'.
4399 * emacs-lisp/cl.el (labels): Mark obsolete.
4400 (cl--letf, letf): Move to cl-lib.
4401 (cl--letf*, letf*): Remove.
4402 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4403 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4404 (cl-progv): Rewrite.
4405 (cl--letf, cl-letf): Move from cl.el.
4406 (cl-letf*): New macro.
4407 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4409 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4411 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4413 2012-07-11 Chong Yidong <cyd@gnu.org>
4415 * vc/log-edit.el (log-edit-vc-backend): New variable.
4416 (log-edit): Doc fix.
4418 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4419 argument of log-edit to set up all local variables.
4420 (vc-start-logentry): New optional arg specifying VC backend.
4422 * vc/vc.el (vc-checkin): Use it.
4423 (vc-deduce-fileset): Handle Log Edit buffers.
4424 (vc-diff): Make first argument optional too.
4426 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4428 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4430 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4431 command, just in case. The function is not needed anymore.
4432 (eshell-external-command): Do not call `eshell-remote-command'.
4434 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4436 Reduce use of (require 'cl).
4437 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4438 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4439 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4440 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4441 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4442 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4443 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4444 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4445 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4446 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4447 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4448 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4449 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4450 (byte-compile-unfold-bcf, byte-compile-check-variable):
4451 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4452 (byte-compile-nilconstp):
4453 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4454 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4456 * emacs-lisp/gv.el (cond): Make it a valid place.
4457 (if): Simplify slightly.
4459 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4460 (pcase--self-quoting-p): New function.
4461 (pcase--u1): Use it.
4463 2012-07-10 Glenn Morris <rgm@gnu.org>
4465 * emacs-lisp/authors.el (authors-fixed-entries):
4466 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4468 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4470 Rename configure.in to configure.ac (Bug#11603).
4471 * emacs-lisp/authors.el (authors-canonical-file-name):
4472 * progmodes/autoconf.el (autoconf-mode):
4473 Prefer configure.ac to configure.in.
4475 2012-07-08 Chong Yidong <cyd@gnu.org>
4477 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4478 Implement the mouse-1-click-follows-link handling properly.
4480 * info.el (Info-link-keymap): Use follow-link mechanism for
4481 header-line links (Bug#374).
4483 * simple.el (deactivate-mark): Do not set the primary selection
4484 if another program has acquired it (Bug#11772).
4486 2012-07-07 Kevin Ryde <user42@zip.com.au>
4488 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4489 (woman-decode-region): Replace escaped-escapes without destroying
4490 bold or underline (Bug#11552).
4491 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4493 2012-07-07 Chong Yidong <cyd@gnu.org>
4495 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4496 (interprogram-cut-function, interprogram-paste-function):
4497 Mention that we typically mean the clipboard.
4499 2012-07-06 Glenn Morris <rgm@gnu.org>
4501 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4503 * files.el (toggle-read-only): Restrict message to interactive use.
4505 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4507 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4509 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4511 2012-07-06 Glenn Morris <rgm@gnu.org>
4513 * Makefile.in (compile-one-process): Rename from "recompile".
4515 * Makefile.in (bzr-update): "compile" is the same as "recompile
4516 autoloads", but parallelizable, so use that instead.
4518 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4520 * window.el (quit-window): Always restore window height when
4521 it's saved in quit-restore parameter (Bug#11810).
4523 2012-07-06 Glenn Morris <rgm@gnu.org>
4525 * simple.el (kill-whole-line): Doc tweak.
4527 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4529 * files.el (file-relative-name): Compare file names
4530 case-insensitively if on MS-Windows or MS-DOS, or if
4531 read-file-name-completion-ignore-case is non-nil. Don't use
4532 case-fold-search for this purpose. (Bug#11827)
4534 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4536 * calendar/cal-dst.el (calendar-current-time-zone):
4537 Return calendar-current-time-zone-cache if non-nil.
4539 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4540 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4542 * calendar/cal-dst.el (calendar-current-time-zone):
4543 Return calendar-current-time-zone-cache if non-nil.
4545 2012-07-06 Glenn Morris <rgm@gnu.org>
4547 * Makefile.in (cvs-update): Remove old alias.
4549 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4551 Sync with Tramp 2.2.6-pre.
4553 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4554 compatible declaration.
4556 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4557 Protect `list-load-path-shadows' call.
4559 * net/tramp-compat.el (top): Require packages, which aren't
4560 autoloaded anymore for XEmacs. Protect call of
4561 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4562 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4563 it hurts at least for SXEmacs.
4564 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4565 standard-value for `temporary-file-directory'.
4567 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4568 Redirect stderr to /dev/null.
4569 (tramp-sh-handle-write-region): uid and gid can be floats.
4570 Reported by Russell Sim <russell.sim@gmail.com>.
4571 (tramp-sh-handle-vc-registered): Hide errors.
4572 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4573 and `start-file-process'.
4574 (tramp-maybe-open-connection): Check also whether `non-essential'
4577 2012-07-04 Chong Yidong <cyd@gnu.org>
4579 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4580 (xml-parse-tag): Likewise, and avoid changing entity tables.
4581 (xml-syntax-table): Define from scratch, making sure not to give
4582 x2000 and other Unicode spaces whitespace syntax, since those are
4584 (xml-parse-fragment): Delete unused function.
4585 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4586 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4587 (xml-entity-ref, xml-pe-reference-re)
4588 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4589 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4590 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4591 (xml-entity-value-re): Use syntax references in regexps where
4592 possible; no need to define inside a let-binding.
4593 (xml-parse-dtd): Use xml-pe-reference-re.
4594 (xml-entity-or-char-ref-re): New defconst.
4595 (xml-parse-string, xml-substitute-special): Use it.
4597 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4599 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4600 (find-file--read-only): New function.
4601 (find-file-read-only, find-file-read-only-other-window)
4602 (find-file-read-only-other-frame): Use it.
4603 (insert-file-contents-literally): Don't `fset'.
4604 (get-free-disk-space): Use locate-dominating-file.
4606 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4607 function is already compiled.
4609 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4611 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4613 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4614 files on the same host.
4616 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4618 * help-fns.el (describe-function-1): Only call
4619 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4621 2012-07-03 Chong Yidong <cyd@gnu.org>
4623 * xml.el: Protect parser against XML bombs.
4624 (xml-entity-expansion-limit): New variable.
4625 (xml-parse-string, xml-substitute-special): Use it.
4626 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4628 2012-07-03 Glenn Morris <rgm@gnu.org>
4630 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4631 Allow linking to specific messages in debbugs reports (eg 123#5).
4633 2012-07-02 Chong Yidong <cyd@gnu.org>
4635 * xml.el: Fix entity and character reference expansion, allowing
4636 them to expand into markup as per XML spec.
4637 (xml-default-ns): New variable.
4638 (xml-entity-alist): Use XML spec definitions for lt and amp.
4639 (xml-parse-region): Make first two arguments optional.
4640 Discard text properties.
4641 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4642 All callers changed.
4643 (xml-parse-tag): Call xml-parse-tag-1. For backward
4644 compatibility, this function should not modify buffer contents.
4645 (xml-parse-tag-1): Fix opening-tag regexp.
4646 (xml-parse-string): Rewrite, handling entity and character
4647 references properly.
4648 (xml--entity-replacement-text): Signal an error if a parameter
4649 entity is undefined.
4651 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4653 * comint.el (comint-output-filter): Filter out repeated prompts.
4655 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4656 and file-name-absolute-p.
4657 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4660 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4663 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4664 Rename from byte-compile--refiy-function. All uses changed.
4666 2012-07-01 Chong Yidong <cyd@gnu.org>
4668 * xml.el (xml--parse-buffer): New function. Move most of
4669 xml-parse-region here.
4670 (xml-parse-region): Copy region into a temporary buffer, since
4671 parameter entity substitution requires changing buffer contents.
4672 Use xml--parse-buffer.
4673 (xml-parse-file): Use xml--parse-buffer.
4674 (xml-parse-dtd): Make parameter entity substitution work right.
4675 Use proper regexps for ELEMENT declarations (Bug#7172).
4677 2012-06-30 Glenn Morris <rgm@gnu.org>
4679 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4681 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4682 Remove outdated and unnecessary dbus declarations.
4684 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4686 * emacs-lisp/timer.el (timer-until): Subtract results of
4687 float-time, instead of taking float-time of the result of
4688 time-subtract, since float-time signals an error for negative time
4691 2012-06-30 Chong Yidong <cyd@gnu.org>
4693 * xml.el (xml-*-re): Convert defvars into defconsts, and
4694 eval-and-compile them so eval-and-compile works on derivatives.
4695 (xml--entity-replacement-text): Use eval-and-comple.
4697 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4699 * vc/vc-git.el (vc-git-registered): Use cache property
4701 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4702 `vc-git-working-revision' in order to benefit from the cache.
4703 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4705 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4707 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4708 removed (likely outside Emacs). (Bug#11757)
4710 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4712 * emacs-lisp/cl-lib.el: Require macroexp.
4714 2012-06-30 Chong Yidong <cyd@gnu.org>
4716 * xml.el: Implement XML parameter entities.
4717 (xml-parameter-entity-alist): New variable.
4718 (xml-parse-region, xml-parse-fragment): Preserve previous values
4719 of xml-entity-alist and xml-parameter-entity-alist, so that
4720 repeated calls on different documents do not change them.
4721 (xml-parse-tag): Fix doctype regexp.
4722 (xml--entity-replacement-text): New function.
4723 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4724 properly requires url retrieval which is unimplemented.
4725 (xml-escape-string): Doc fix.
4727 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4729 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4731 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4733 * fringe.el (fringe-mode): Doc fix.
4735 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4737 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4739 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4740 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4742 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4744 * calendar/cal-dst.el (calendar-current-time-zone):
4745 Return calendar-current-time-zone-cache if non-nil.
4747 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4749 * progmodes/which-func.el (which-func-format):
4750 Add mouse-face. (Bug#11698)
4752 2012-06-29 Leo Liu <sdl.web@gmail.com>
4754 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4756 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4758 * minibuffer.el (minibuffer-confirm-exit-commands):
4759 Add completion-at-point (bug#11725).
4761 2012-06-29 Glenn Morris <rgm@gnu.org>
4763 * progmodes/f90.el (f90-font-lock-keywords-2):
4764 Add some preprocessor elements. (Bug#10499)
4766 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4768 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4769 Use syntax-propertize (bug#11739).
4771 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4773 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4775 2012-06-28 Julien Danjou <julien@danjou.info>
4777 * term.el (term-handle-colors-array): Use a set of new faces to
4778 color the terminal. Also uses :inverse-video property.
4779 (term-default-fg-color): Set to nil by default, deprecate in favor
4781 (term-default-bg-color): Set to nil by default, deprecate in favor
4783 (term-current-face): Use `term-face' by default.
4784 (term-bold-attribute): Variable deleted.
4786 2012-06-28 Glenn Morris <rgm@gnu.org>
4788 * simple.el (completion-list-mode-finish):
4789 Don't use toggle-read-only. (Since completion-list-mode has
4790 a special mode-class, it wasn't doing anything extra anyway.)
4792 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4794 Make inlining of other-mode interpreted functions work (bug#11799).
4795 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4796 (byte-compile): Use it to fix compilation of lexical-binding closures.
4797 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4798 function, if needed.
4800 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4802 * help-mode.el (help-make-xrefs): Don't just withstand
4803 cyclic-variable-indirection but any error in documentation-property.
4805 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4807 * bindings.el (bindings--define-key): New function.
4808 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4809 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4810 * bindings.el: Use it to purecopy define-key bindings.
4812 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4814 * emacs-lisp/cl.el (flet): Mark obsolete.
4815 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4816 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4817 * progmodes/js.el (js-c-fill-paragraph):
4818 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4819 (ebrowse-switch-member-buffer-to-derived-class):
4820 * play/5x5.el (5x5-solver): Use cl-flet.
4822 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4823 (cl--symbol-function): New macro.
4824 (cl--letf, cl--letf*): Use it.
4826 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4827 Strip "toggle-" if any.
4829 2012-06-27 Glenn Morris <rgm@gnu.org>
4831 * info.el (Info-default-directory-list): Move here from paths.el.
4832 * paths.el: Remove file, which is now empty.
4833 * loadup.el: No longer load "paths".
4835 * custom.el (custom-initialize-delay): Doc fix.
4837 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4838 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4839 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4840 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4841 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4842 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4843 * eshell/eshell.el (eshell-defgroup): Remove alias.
4845 2012-06-27 Chong Yidong <cyd@gnu.org>
4847 * help.el (help-enable-auto-load): New variable.
4849 * help-fns.el (help-fns--autoloaded-p): New function.
4850 (describe-function-1): Refer to a function as "autoloaded" if it
4851 was autoloaded at any time in the past. Perform autoloading if
4852 help-enable-auto-load is non-nil.
4854 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4856 * makefile.w32-in (compile, compile-always): Depend on
4857 update-subdirs, not on subdirs.el. Otherwise, several different
4858 sub-targets of 'bootstrap' running in parallel could
4859 simultaneously write to subdirs.el, producing a garbled file.
4861 2012-06-26 Sam Steingold <sds@gnu.org>
4863 * files.el (file-name-base): New convenience function.
4864 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4865 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4866 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4867 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4868 * textmodes/ispell.el, textmodes/reftex-ref.el:
4869 * textmodes/tex-mode.el: Use it.
4870 Did not touch cedet and org because they are maintained elsewhere.
4872 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4874 * calendar/calendar.el (calendar-exit): Don't try to delete or
4875 iconify last frame. See:
4876 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4878 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4880 * server.el (server-process-filter): Remember dir in the
4881 process's `server-client-directory' properties.
4883 2012-06-24 Chong Yidong <cyd@gnu.org>
4885 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4888 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4890 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4892 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4894 * help-fns.el (describe-variable): Don't croak when doc is not found.
4895 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4896 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4897 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4898 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4899 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4901 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4903 2012-06-23 Chong Yidong <cyd@gnu.org>
4905 * info.el (Info-mouse-follow-link): Accept symbol values of
4906 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4907 (Info-fontify-node): Use Info-link-keymap for all navigation
4908 buttons, with link-args property to perform the desired action.
4909 (Info-link-keymap): Doc fix.
4910 (Info-next-link-keymap, Info-prev-link-keymap)
4911 (Info-up-link-keymap): Delete now-unused keymaps.
4913 2012-06-23 Chong Yidong <cyd@gnu.org>
4915 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4917 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4920 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4922 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4924 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4927 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4928 the requote function doesn't work properly (bug#11714).
4930 2012-06-23 Glenn Morris <rgm@gnu.org>
4932 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4934 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4936 Further GV/CL cleanups.
4937 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4939 (gv--defun-declaration): New function.
4940 (defun-declarations-alist): Use it.
4941 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4942 (gv-place): Autoload.
4943 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4944 original definition of dotimes and dolist.
4945 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4946 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4947 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4948 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4949 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4950 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4951 to the function's definition.
4952 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4956 * env.el: Don't use CL.
4958 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4960 Support higher-resolution time stamps (Bug#9000).
4962 * calendar/time-date.el (with-decoded-time-value): New arg
4963 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4964 (encode-time-value): New optional arg PICO. New type 3.
4965 (time-to-seconds) [!float-time]: Support the new picoseconds
4966 component if it's used.
4967 (seconds-to-time, time-subtract, time-add):
4968 Support ps-resolution time stamps as well.
4970 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4971 (timerp): Timer vectors now have length 9, not 8.
4972 (timer--time): Support new-style (4-part) time stamps.
4973 (timer-next-integral-multiple-of-time): Time stamps now have
4974 picosecond resolution, so take a bit more care about rounding.
4975 (timer-relative-time, timer-inc-time): New optional arg psecs.
4976 (timer-set-time-with-usecs): Set psecs to 0.
4977 (timer--activate): Check psecs component, too.
4979 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4981 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4983 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4984 Move the non-essential binding to the post/pre-command-hook where it is
4985 more obviously correct.
4987 * subr.el (read-passwd): Don't use a history at all.
4988 * savehist.el (savehist-save): Remove password saved accidentally
4989 because of the above bug.
4991 2012-06-22 Bastien Guerry <bzg@gnu.org>
4993 * files.el (toggle-read-only): Display a message telling whether
4994 the buffer is read-only or not (bug#11726).
4996 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4998 * emacs-lisp/gv.el: New file.
4999 * subr.el (push, pop): Extend to generalized variables.
5000 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5001 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5002 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5003 gv-define-simple-setter, and gv-define-expander.
5004 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5005 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5006 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5007 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5008 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5010 (cl-defstruct): Don't define setf-method any more.
5011 * emacs-lisp/cl.el (flet): Don't autoload.
5012 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5013 (define-setf-expander, defsetf, define-modify-macro)
5014 (cl-struct-setf-expander): Move from cl-lib.el.
5015 * emacs-lisp/syntax.el:
5016 * emacs-lisp/ewoc.el:
5017 * emacs-lisp/smie.el:
5018 * emacs-lisp/cconv.el:
5019 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5020 (timer--time): Use gv-define-simple-setter.
5021 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5022 to avoid coding-system problems in subr.el. Adjust all users.
5023 (macroexp--maxsize, macroexp-small-p): New functions.
5024 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5025 * scroll-bar.el (scroll-bar-mode):
5026 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5027 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5028 * winner.el (winner-configuration, winner-make-point-alist)
5029 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5030 * files.el (locate-file-completion-table): Avoid list*.
5032 2012-06-22 Chong Yidong <cyd@gnu.org>
5034 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5035 (dired-create-files): Doc fix (Bug#11329).
5036 (dired-do-copy): Doc fix (Bug#11334).
5037 (dired-mark-read-string): Doc fix (Bug#11553).
5039 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5040 Doc fix (Bug#11326).
5041 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5042 (dired-dwim-target): Doc fix.
5044 * wdired.el (wdired-mode): Doc fix.
5046 2012-06-22 Glenn Morris <rgm@gnu.org>
5048 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5049 (pcmpl-rpm-cache-stamp-file): New constant.
5050 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5051 (pcmpl-rpm-packages): Optionally cache list of packages.
5053 * pcmpl-rpm.el (pcmpl-rpm): New group.
5054 (pcmpl-rpm-query-options): New option.
5055 (pcmpl-rpm-packages): No need to inline it.
5056 Use pcmpl-rpm-query-options.
5058 * calendar/calendar.el (calendar-in-read-only-buffer):
5059 Avoid some needless mode changes.
5061 2012-06-21 Chong Yidong <cyd@gnu.org>
5063 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5064 (desktop-path): Remove . from the default value (Bug#10977).
5065 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5067 2012-06-20 Chong Yidong <cyd@gnu.org>
5069 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5071 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5073 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5076 2012-06-20 Chong Yidong <cyd@gnu.org>
5078 * term.el (term-window-width): Handle the case of a missing right
5080 (term-check-size): Use window-text-height (Bug#5445).
5081 (term-mode): Use define-derived-mode. Minor cleanups.
5082 Set font-lock-defaults (Bug#7692).
5083 (term-move-columns, term-insert-char, term-emulate-terminal)
5084 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5086 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5088 * net/ange-ftp.el (ange-ftp-get-passwd):
5089 Bind `enable-recursive-minibuffers'.
5090 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5092 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5094 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5096 2012-06-19 Glenn Morris <rgm@gnu.org>
5098 * progmodes/python.el (python-mode): Derive from prog-mode.
5100 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5102 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5103 (edt-user-menu-bar-update-buffers): New functions.
5104 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5106 2012-06-19 Chong Yidong <cyd@gnu.org>
5108 * subr.el (with-selected-window): Preserve the selected window's
5109 terminal's top-frame (Bug#4702).
5111 * window.el (save-selected-window): Likewise.
5113 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5115 * progmodes/python.el (python-rx-constituents): Move backquote.
5116 (python-skeleton-define, python-define-auxiliary-skeleton):
5119 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5121 * minibuffer.el (read-file-name-default): Revert the patch from
5124 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5126 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5127 (pcase--u1, pcase--q1): Don't use apply-partially.
5129 2012-06-18 Glenn Morris <rgm@gnu.org>
5131 * progmodes/python.el (python-proc, python-buffer)
5132 (python-send-receive, python-send-string): Fix obsolete versions.
5134 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5136 * window.el (special-display-p): Completely remove stringp
5137 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5139 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5141 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5143 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5145 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5146 * net/tramp-sh.el (tramp-maybe-open-connection):
5147 Throw if `non-essential' is non-nil.
5149 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5151 * window.el (special-display-p): Signal an error if BUFFER-NAME
5152 is not a string (Bug#11713).
5154 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5156 * progmodes/python.el (python-info-beginning-of-backslash):
5157 Rename from python-info-beginning-of-backlash, as a spelling fix.
5159 2012-06-17 Chong Yidong <cyd@gnu.org>
5161 * term.el (term-emulate-terminal): If term-check-size is called,
5162 move point to the process mark without resetting point (Bug#4635).
5164 2012-06-17 Glenn Morris <rgm@gnu.org>
5166 * international/mule-cmds.el (mule-menu-keymap)
5167 (set-language-environment, set-locale-environment): Doc tweaks.
5169 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5171 * cus-face.el (custom-face-attributes): Add wave-style underline
5173 * faces.el (set-face-attribute): Update docstring to describe
5174 wave-style underline attribute.
5176 2012-06-16 Chong Yidong <cyd@gnu.org>
5178 * term/xterm.el (terminal-init-xterm): Discard input before
5179 querying background mode (Bug#10959).
5181 2012-06-16 Stefan Merten <smerten@oekonux.de>
5183 * textmodes/rst.el: Added and corrected some comments.
5184 (rst-re-alist-def): Improve symbol syntax.
5185 (rst-mode-syntax-table): Correct syntax entries.
5186 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5187 (rst-official-version, rst-official-cvs-rev): Update version
5190 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5192 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5193 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5195 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5197 * progmodes/python.el: New python.el merge.
5198 (python-guess-indent): Obsolete var.
5199 (python-indent-guess-indent-offset): New defcustom.
5200 (python-indent): Obsolete var.
5201 (python-indent-offset): New defcustom.
5202 (python-python-command, python-jython-command): Delete var.
5203 (python-shell-interpreter): New defcustom.
5204 (python-pdbtrack-do-tracking-p): Delete var.
5205 (python-pdbtrack-activate): New defcustom.
5206 (python-use-skeletons): Obsolete var.
5207 (python-skeleton-autoinsert): New defcustom.
5208 (inferior-python-filter-regexp, python-continuation-offset)
5209 (python-honour-comment-indentation, python-indent-string-contents)
5210 (python-jython-packages, python-mode-hook)
5211 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5212 (python-shell-prompt-alist)
5213 (python-source-modes): Delete defcustoms.
5214 (python-check-buffer-name, python-eldoc-setup-code)
5215 (python-eldoc-string-code, python-ffap-setup-code)
5216 (python-ffap-string-code, python-fill-comment-function)
5217 (python-fill-decorator-function, python-fill-paren-function)
5218 (python-fill-string-function, python-imenu-include-defun-type)
5219 (python-imenu-make-tree, python-imenu-subtree-root-label)
5220 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5221 (python-shell-compilation-regexp-alist)
5222 (python-shell-completion-module-string-code)
5223 (python-shell-completion-pdb-string-code)
5224 (python-shell-completion-setup-code)
5225 (python-shell-completion-string-code)
5226 (python-shell-enable-font-lock, python-shell-exec-path)
5227 (python-shell-extra-pythonpaths)
5228 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5229 (python-shell-process-environment)
5230 (python-shell-prompt-block-regexp)
5231 (python-shell-prompt-output-regexp)
5232 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5233 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5234 (python-shell-virtualenv-path): New defcustoms.
5235 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5236 (inferior-python-mode-syntax-table, python--prompt-regexp)
5237 (python-buffer, python-command python-python-command)
5238 (python-default-template, python-imports, python-indent-index)
5239 (python-indent-list, python-indent-list-length)
5240 (python-mode-running, python-pdbtrack-is-tracking-p)
5241 (python-preoutput-continuation, python-preoutput-leftover)
5242 (python-preoutput-result, python-preoutput-skip-next-prompt)
5243 (python-prev-dir/file, python-recursing)
5244 (python-saved-check-command, python-version-checked)
5245 (python-which-func-length-limit)
5246 (view-return-to-alist): Delete vars.
5247 (python-check-custom-command, python-dotty-syntax-table)
5248 (python-imenu-index-alist, python-indent-current-level)
5249 (python-indent-dedenters, python-indent-levels)
5250 (python-nav-beginning-of-defun-regexp)
5251 (python-nav-list-defun-positions-cache)
5252 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5253 (python-shell-internal-buffer)
5254 (python-skeleton-available): New vars.
5255 (def-python-skeleton): Delete macro.
5256 (python-skeleton-define): New macro.
5257 (python-define-auxiliary-skeleton, python-rx): New macros.
5258 (python-insert-class): Delete command.
5259 (python-skeleton-class): New command.
5260 (python-insert-def): Delete command.
5261 (python-skeleton-def): New command.
5262 (python-insert-for): Delete command.
5263 (python-skeleton-for): New command.
5264 (python-insert-if): Delete command.
5265 (python-skeleton-if): New command.
5266 (python-insert-try/except, python-insert-try/finally): Delete commands.
5267 (python-skeleton-try): New command.
5268 (python-insert-while): Delete command.
5269 (python-skeleton-while): New command.
5270 (python-backspace): Delete command.
5271 (python-indent-dedent-line-backspace): New command.
5272 (python-electric-colon): Delete command.
5273 (python-indent-electric-colon): New command.
5274 (python-guess-indent): Delete command.
5275 (python-indent-guess-indent-offset): New command.
5276 (python-shift-left): Delete command.
5277 (python-indent-shift-left): New command.
5278 (python-shift-right): Delete command.
5279 (python-indent-shift-right): New command.
5280 (python-find-function): Delete command.
5281 (python-nav-jump-to-defun): New command.
5282 (python-next-statement): Delete command.
5283 (python-nav-forward-sentence): New command.
5284 (python-previous-statement): Delete command.
5285 (python-nav-backward-sentence): New command.
5286 (python-fill-paragraph): Delete command.
5287 (python-fill-paragraph-function): New command.
5288 (python-send-buffer): Delete command.
5289 (python-shell-send-buffer): New command.
5290 (python-send-defun): Delete command.
5291 (python-shell-send-defun): New command.
5292 (python-send-region, python-send-region-and-go): Delete commands.
5293 (python-shell-send-region)
5294 (python-shell-switch-to-shell): New commands.
5295 (python-send-string): Delete command.
5296 (python-shell-send-string): New command.
5297 (python-switch-to-python): Delete command.
5298 (python-shell-switch-to-shell): New command.
5299 (python-describe-symbol): Delete command.
5300 (python-eldoc-at-point): New command.
5301 (python--set-prompt-regexp, python-args-to-list)
5302 (python-after-info-look, python-check-version)
5303 (python-check-comint-prompt, python-find-imports)
5304 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5305 (python-unload-function, python-expand-template)
5306 (python-maybe-jython, python-preoutput-filter)
5307 (python-pdbtrack-get-source-buffer)
5308 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5309 (python-pdbtrack-toggle-stack-tracking)
5310 (python-pdbtrack-track-stack-file, python-initial-text)
5311 (python-first-word, python-comment-line-p, python-send-command)
5312 (python-setup-brm, python-sentinel, python-set-proc)
5313 (python-skip-out, python-input-filter, python-outdent-p)
5314 (python-outline-level, python-backslash-continuation-line-p)
5315 (python-end-of-block, python-end-of-statement, python-mark-block)
5316 (python-beginning-of-block, python-beginning-of-statement)
5317 (python-blank-line-p, python-beginning-of-string)
5318 (python-open-block-statement-p): Delete functions.
5319 (python-indent-line, python-indent-line-1): Delete functions.
5320 (python-indent-line): New function.
5321 (python-indentation-levels): Delete function.
5322 (python-indent-calculate-levels): New function.
5323 (python-proc): Delete function.
5324 (python-shell-get-process): New function.
5325 (python-send-receive): Delete function.
5326 (python-shell-send-string-no-output): New function.
5327 (python-module-path): Delete function.
5328 (python-ffap-module-path): New function.
5329 (python-completion-at-point)
5330 (python-symbol-completions): Delete functions.
5331 (python-completion-complete-at-point): New function.
5332 (python-load-file): Delete function.
5333 (python-shell-send-file): New function.
5334 (python-calculate-indentation): Delete function.
5335 (python-indent-calculate-indentation): New function.
5336 (python-skip-comments/blanks): Delete function.
5337 (python-util-forward-comment): New function.
5338 (python-continuation-line-p): Delete function.
5339 (python-info-continuation-line-p): New function.
5340 (python-which-func, python-current-defun): Delete function.
5341 (python-info-current-defun): New function.
5342 (python-beginning-of-defun): Delete function.
5343 (python-nav-beginning-of-defun): New function.
5344 (python-close-block-statement-p)
5345 (python-block-end-p): Delete function.
5346 (python-info-closing-block): New function.
5347 (python-comint-output-filter-function)
5348 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5349 (python-fill-comment, python-fill-decorator, python-fill-paren)
5350 (python-fill-string, python-imenu-make-element-tree)
5351 (python-imenu-make-tree, python-imenu-tree-assoc)
5352 (python-indent-context, python-indent-dedent-line)
5353 (python-indent-line-function)
5354 (python-indent-post-self-insert-function)
5355 (python-indent-toggle-levels)
5356 (python-info-assignment-continuation-line-p)
5357 (python-info-beginning-of-backlash)
5358 (python-info-block-continuation-line-p)
5359 (python-info-closing-block-message)
5360 (python-info-line-ends-backslash-p)
5361 (python-info-looking-at-beginning-of-defun)
5362 (python-info-ppss-context, python-info-ppss-context-type)
5363 (python-nav-list-defun-positions, python-nav-read-defun)
5364 (python-nav-sentence-end, python-nav-sentence-start)
5365 (python-pdbtrack-comint-output-filter-function)
5366 (python-pdbtrack-set-tracked-buffer)
5367 (python-shell-calculate-exec-path)
5368 (python-shell-calculate-process-environment)
5369 (python-shell-completion--do-completion-at-point)
5370 (python-shell-completion--get-completions)
5371 (python-shell-completion-complete-at-point)
5372 (python-shell-completion-complete-or-indent)
5373 (python-shell-get-or-create-process)
5374 (python-shell-get-process-name)
5375 (python-shell-internal-get-or-create-process)
5376 (python-shell-internal-get-process-name)
5377 (python-shell-internal-send-string, python-shell-make-comint)
5378 (python-shell-parse-command, python-shell-send-setup-code)
5379 (python-skeleton-add-menu-items)
5380 (python-util-clone-local-variables, python-util-position)
5381 (run-python-internal, python-indentation-levels)
5382 (python-nav-beginning-of-defun)
5383 (python-completion-complete-at-point): New functions.
5384 (run-python): Change arguments. New API requirements.
5386 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5388 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5391 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5392 (macroexp--expand-all): Use it.
5394 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5395 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5396 Use `cl-function' instead.
5398 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5400 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5401 Suggested by Stefan Monnier while discussing bug#11657.
5403 2012-06-14 Sam Steingold <sds@gnu.org>
5405 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5407 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5409 * play/doctor.el (doctor-doc): Remove parameter and use
5410 doctor-sent instead of sent.
5411 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5413 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5415 * files.el: Require cl-lib.
5416 (file-name-non-special): Replace case -> cl-case.
5418 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5420 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5421 mapping from #' to function*.
5423 2012-06-13 Chong Yidong <cyd@gnu.org>
5425 * mouse.el (mouse-drag-track): Do not set the mark if the user
5426 releases the mouse without selecting anything (Bug#11588).
5428 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5430 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5431 as well (bug#11646).
5433 * loadup.el: Count byte-code functions as well.
5435 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5436 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5438 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5439 (bug#11649). Add cl-defun and cl-defmacro.
5441 2012-06-13 Drew Adams <drew.adams@oracle.com>
5443 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5446 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5448 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5449 Otherwise, it blocks in batch mode.
5451 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5453 * help-mode.el (bookmark-make-record-default): Declare.
5455 2012-06-13 Chong Yidong <cyd@gnu.org>
5457 * emacs-lisp/package.el (list-packages): Compute a list of
5458 packages that are newly-available since the last list-packages
5460 (package-menu--new-package-list): New var.
5461 (package-menu--generate, package-menu--print-info)
5462 (package-menu--status-predicate, package-menu-mark-install):
5463 Handle new status label "new".
5465 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5467 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5468 conversion to backquotes.
5470 2012-06-12 Chong Yidong <cyd@gnu.org>
5472 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5473 Rename from gud-inhibit-global-bindings.
5475 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5477 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5478 hook from nxml-glyph-set-hook.
5480 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5483 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5485 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5486 Convert to defcustom.
5488 2012-06-12 Drew Adams <drew.adams@oracle.com>
5490 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5492 (help-mode): Use them.
5494 2012-06-11 Glenn Morris <rgm@gnu.org>
5496 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5497 Use preprocessor face for directives.
5498 (fortran-directive-re): Doc fix.
5500 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5502 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5503 conversion to backquotes (bug#11652).
5505 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5506 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5507 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5508 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5509 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5510 (cl-ninth, cl-tenth): Mark them as inlinable.
5511 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5512 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5513 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5514 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5515 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5516 (cl-list*, cl-adjoin): Don't put an autoload manually.
5517 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5518 (cl--compiler-macro-list*): Add autoload cookie.
5519 (cl--compiler-macro-cXXr): New function.
5521 * help-fns.el (help-fns--compiler-macro): New function extracted from
5522 describe-function-1; follow aliases and use `compiler-macro' property.
5523 (describe-function-1): Use it.
5525 2012-06-11 Chong Yidong <cyd@gnu.org>
5527 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5528 is uninstalled, if imagemagick is installed.
5530 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5532 * emacs-lisp/cl-lib.el: Use lexical-binding.
5533 (cl-map-extents, cl-maclisp-member): Remove.
5534 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5535 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5536 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5537 * emacs-lisp/cl-extra.el: Use lexical-binding.
5538 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5539 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5540 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5541 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5542 * emacs-lisp/cl-seq.el: Use lexical-binding.
5543 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5544 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5545 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5546 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5547 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5550 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5552 Sync with Tramp 2.2.6-pre.
5554 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5555 `print-length' and `print-level' to nil, in order to avoid
5556 truncation. Reported by Christopher Schmidt
5557 <christopher@ristopher.com>.
5559 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5561 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5563 (tramp-compat-copy-directory): Add optional argument
5564 COPY-CONTENTS. It is not handled yet.
5566 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5567 (tramp-ftp-file-name-p): Simplify.
5569 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5570 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5573 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5574 (tramp-methods): Do not use `tramp-password-end-of-line'.
5575 (tramp-completion-function-alist-putty): Handle UNIX case.
5576 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5577 (tramp-do-file-attributes-with-stat)
5578 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5579 gid as real numbers. They could run out of integer range on cygwin.
5580 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5581 (tramp-sh-handle-expand-file-name): Handle hops.
5582 (tramp-open-connection-setup-interactive-shell):
5583 Use `tramp-cleanup'. Move check for busyboxes ...
5584 (tramp-find-shell): ... here. Simplify implementation.
5585 Set "remote-shell" property also for alternative shells.
5586 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5587 If failing, a regular file would be written otherwise.
5588 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5589 (tramp-find-inline-encoding): Cache the coding commands in the
5590 process cache. Apply test command on the remote side, if defined.
5591 (tramp-find-inline-compress): Cache the compress commands in the
5593 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5594 when requested. Handle hops.
5595 (tramp-current-connection): New defvar.
5596 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5597 Throw `suppress', if there was a failed connection shortly before.
5598 Handle user interrupt. (Bug#10187)
5599 (tramp-get-inline-compress, tramp-get-inline-coding):
5600 Read connection properties from the process cache.
5602 * net/tramp-smb.el (tramp-smb-server-version)
5603 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5605 (tramp-smb-prompt): Extend for powershell prompt.
5606 (tramp-smb-file-name-handler-alist): Add handlers for
5607 `process-file', `shell-command' and `start-file-process'.
5608 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5609 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5610 (tramp-smb-file-name-p): Simplify.
5611 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5612 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5613 (tramp-smb-shell-quote-argument): New defuns.
5614 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5615 Implement using "tar". By this, time-stamps are preserved.
5616 (tramp-smb-handle-copy-file): Handle also the case of directories.
5617 (tramp-smb-do-file-attributes-with-stat)
5618 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5619 Use `tramp-get-connection-buffer').
5620 (tramp-smb-handle-rename-file): Use "rename", when source and
5621 target are on the same share.
5622 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5623 Use `tramp-smb-server-version'.
5624 (tramp-smb-wait-for-output): Remove prompt.
5626 * net/tramp.el (top): Require 'cl.
5627 (tramp-methods, tramp-rsh-end-of-line):
5628 Remove `tramp-password-end-of-line' from docstring.
5629 (tramp-save-ad-hoc-proxies): New defcustom.
5630 (tramp-completion-function-alist): Adapt docstring.
5631 (tramp-default-password-end-of-line): Remove defcustom.
5632 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5633 (tramp-user-regexp, tramp-file-name-regexp-unified)
5634 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5635 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5636 (tramp-remote-file-name-spec-regexp): New defconst.
5637 (tramp-file-name-structure): Extend structure for hops.
5638 (tramp-get-method-parameter): Move up.
5639 (tramp-file-name-p, tramp-dissect-file-name)
5640 (with-parsed-tramp-file-name): Handle hops.
5641 (tramp-file-name-hop): New defun.
5642 (tramp-make-tramp-file-name): New optional arg HOP.
5643 (tramp-message-show-progress-reporter-message): New defvar.
5644 (tramp-with-progress-reporter): Use it. We cannot use
5645 `tramp-message-show-message' here, because this suppresses also
5647 (tramp-error-with-buffer): Suppress buffer view, if
5648 `tramp-message-show-message' is nil.
5649 Use `tramp-get-connection-buffer'.
5650 (tramp-cleanup): New defun.
5651 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5652 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5654 (tramp-completion-handle-file-name-all-completions): Handle hops.
5655 Fix an error when called from ido.
5656 (tramp-completion-dissect-file-name): Use better local variable
5657 name. Add hop to the vector.
5658 (tramp-handle-insert-file-contents): Use progress-reporter for the
5660 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5662 (tramp-check-for-regexp): Simplify search.
5663 (tramp-enter-password): Remove it. Move implementation ...
5664 (tramp-action-password): ... here.
5665 (tramp-mode-string-to-int, tramp-local-host-p)
5666 (tramp-make-tramp-temp-file, tramp-read-passwd)
5667 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5668 Set tramp-autoload cookie.
5670 * net/trampver.el: Update release number.
5672 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5673 Michael Albinus <michael.albinus@gmx.de>
5675 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5676 (tramp-parse-group, tramp-parse-file)
5677 (tramp-parse-shostkeys-sknownhosts): New defuns.
5678 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5679 (tramp-parse-shosts-group, tramp-parse-sconfig)
5680 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5681 (tramp-parse-sknownhosts, tramp-parse-hosts)
5682 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5684 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5685 (tramp-parse-putty-group): Don't narrow.
5686 (tramp-parse-putty): Make a loop.
5687 (tramp-file-name-handler): Catch the `suppress' signal.
5689 2012-06-11 Chong Yidong <cyd@gnu.org>
5691 * image.el (imagemagick-register-types): Put the ImageMagick entry
5692 at the end of image-type-file-name-regexps.
5694 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5696 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5697 (pcase, pcase-let*, pcase-dolist): Use them.
5699 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5701 * emacs-lisp/pcase.el (pcase--let*): New function.
5702 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5703 (pcase--expand): Use macroexp-let².
5705 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5707 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5708 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5709 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5710 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5711 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5712 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5714 2012-06-10 Glenn Morris <rgm@gnu.org>
5716 * mail/rmail.el (rmail-yank-current-message): Leave point at
5717 correct position. (Bug#11660)
5719 2012-06-10 Chong Yidong <cyd@gnu.org>
5721 * allout-widgets.el: Fix code header.
5723 2012-06-10 Chong Yidong <cyd@gnu.org>
5725 * cus-edit.el (customize-changed-options-previous-release):
5728 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5730 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5732 2012-06-09 Chong Yidong <cyd@gnu.org>
5734 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5736 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5738 * window.el (special-display-popup-frame): Don't use
5739 window--display-buffer (Bug#11651).
5741 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5743 Fix parallel builds: make sure loaddefs.el is not being written
5744 while Lisp files are compiled.
5745 (compile): Don't depend on 'mh-autoloads'.
5746 (compile-CMD, compile-SH): Depend on 'autoloads'.
5747 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5749 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5751 2012-06-09 Chong Yidong <cyd@gnu.org>
5753 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5754 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5755 Doc fixes (Bug#11225).
5757 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5759 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5760 a function if there's a clear indication that it has a compiler-macro.
5761 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5762 (macro-declarations-alist): Add arglist to declaration functions.
5763 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5764 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5765 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5766 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5767 Also add autoload to find the compiler macro.
5768 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5769 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5770 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5771 (cl--compiler-macro-get): New functions, replacing calls to
5772 cl-define-compiler-macro.
5773 (cl-typep) [compiler-macro]: Use macroexp-let².
5775 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5777 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5778 string properly, fixes Bug#11473.
5780 2012-06-08 Chong Yidong <cyd@gnu.org>
5782 * faces.el (set-face-attribute): Doc fix.
5783 (modify-face): Don't use :bold and :italic.
5784 (error, warning, success): Tweak definitions.
5786 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5787 (custom-modified, custom-set, custom-changed, custom-themed)
5788 (custom-saved, custom-button, custom-button-mouse)
5789 (custom-button-pressed, custom-state, custom-comment-tag)
5790 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5791 (custom-group-subtitle): Use new-style face specs.
5792 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5793 (custom-set-face, custom-changed-face, custom-saved-face)
5794 (custom-button-face, custom-button-pressed-face)
5795 (custom-documentation-face, custom-state-face)
5796 (custom-comment-face, custom-comment-tag-face)
5797 (custom-variable-tag-face, custom-variable-button-face)
5798 (custom-face-tag-face, custom-group-tag-face-1)
5799 (custom-group-tag-face): Remove obsolete face alias.
5801 * epa.el (epa-validity-high, epa-validity-medium)
5802 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5803 (epa-field-name, epa-field-body):
5804 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5805 (font-lock-keyword-face, font-lock-builtin-face)
5806 (font-lock-function-name-face, font-lock-variable-name-face)
5807 (font-lock-type-face, font-lock-constant-face):
5808 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5809 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5810 * speedbar.el (speedbar-button-face, speedbar-file-face)
5811 (speedbar-directory-face, speedbar-tag-face)
5812 (speedbar-selected-face, speedbar-highlight-face)
5813 (speedbar-separator-face):
5814 * whitespace.el (whitespace-newline, whitespace-space)
5815 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5816 (whitespace-line, whitespace-space-before-tab)
5817 (whitespace-space-after-tab, whitespace-indentation)
5819 * emulation/cua-base.el (cua-global-mark):
5820 * eshell/em-prompt.el (eshell-prompt):
5821 * net/newst-plainview.el (newsticker-new-item-face)
5822 (newsticker-old-item-face, newsticker-immortal-item-face)
5823 (newsticker-obsolete-item-face, newsticker-date-face)
5824 (newsticker-statistics-face, newsticker-default-face):
5825 * net/newst-reader.el (newsticker-feed-face)
5826 (newsticker-extra-face, newsticker-enclosure-face):
5827 * net/newst-treeview.el (newsticker-treeview-face)
5828 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5829 (newsticker-treeview-immortal-face)
5830 (newsticker-treeview-obsolete-face)
5831 (newsticker-treeview-selection-face):
5832 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5833 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5834 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5835 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5836 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5837 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5838 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5840 * progmodes/vera-mode.el (vera-font-lock-number)
5841 (vera-font-lock-function, vera-font-lock-interface):
5842 * textmodes/table.el (table-cell): Use new-style face specs, and
5843 don't use the old :bold and :italic attributes.
5845 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5846 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5847 (ebrowse-member-class, ebrowse-progress): Likewise.
5848 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5849 (ebrowse-file-name-face, ebrowse-default-face)
5850 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5851 (ebrowse-progress-face): Remove obsolete faces.
5853 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5854 Inherit from error and warning faces respectively.
5856 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5858 (flyspell-incorrect-face, flyspell-duplicate-face):
5859 Remove obsolete aliases.
5861 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5863 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5866 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5868 * startup.el (argv, argi): Make lexically scoped.
5869 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5870 * emacs-lisp/cl-macs.el: Use lexical-binding.
5871 Rename cl-bind-* to cl--bind-*.
5872 * files.el: Don't require `cl' since it doesn't use it.
5873 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5875 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5877 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5878 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5879 instead of calling external sort utility.
5880 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5882 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5884 * descr-text.el (describe-char): Mention how to insert the
5885 character, if the current input method doesn't support it.
5886 See the discussion in this thread for the details:
5887 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5889 2012-06-08 Sam Steingold <sds@gnu.org>
5891 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5892 XF86Back to previous-buffer.
5893 (minibuffer-local-map): Bind them to next-history-element and
5894 previous-history-element respectively.
5895 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5896 help-go-back respectively.
5897 * info.el (Info-mode-map): Bind them to Info-history-forward and
5898 Info-history-back respectively.
5899 These are the keys next to Up on the ThinkPad keyboard.
5901 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5903 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5904 * emacs-lisp/cl-macs.el: Provide itself.
5905 (cl--labels-convert-cache): New var.
5906 (cl--labels-convert): New function.
5907 (cl-flet, cl-labels): New implementation with new semantics, relying on
5909 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5910 (cl-closure-vars, cl--function-convert-cache)
5911 (cl--function-convert): Move from cl-macs.el.
5912 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5913 rename by removing the "cl-" prefix.
5914 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5916 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5918 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5919 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5920 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5921 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5922 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5923 (cl-hash-table-count): Add old compatibility aliases.
5925 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5926 Use macroexpand-all-environment instead.
5927 (cl--old-macroexpand): New var.
5928 (cl--sm-macroexpand): New function.
5929 (cl-symbol-macrolet): Use it during macro expansion.
5930 (cl--function-convert-cache): New var.
5931 (cl--function-convert): New function, extracted from
5933 (cl-lexical-let): Use it.
5935 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5936 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5937 (cl-member): Remove old alias.
5939 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5940 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5941 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5942 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5943 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5944 (cl-macroexpand-cmacs): Remove var.
5945 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5946 Use macroexpand-all instead.
5948 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5950 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5951 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5952 (macroexp-copyable-p): New functions and macros.
5953 * emacs-lisp/edebug.el (edebug-unwrap):
5954 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5955 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5956 (pcase--let*): Remove.
5957 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5958 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5959 macroexp-const-p instead.
5960 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5962 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5963 instead of "cl-" for internal definitions. Use macroexp-const-p.
5964 (cl-old-bc-file-form): Remove var.
5965 (cl-const-exprs-p): Remove fun.
5966 (cl-labels, cl-macrolet): Use backquote.
5967 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5968 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5969 (cl-define-setf-expander): Rename from cl-define-setf-method.
5970 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5972 * international/mule-cmds.el: Don't require CL.
5973 (view-hello-file): Don't use `letf'.
5975 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5977 * tmm.el (tmm-prompt): Use string-prefix-p.
5978 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5979 (tmm-add-prompt): Use minibuffer-completion-help.
5980 (tmm-delete-map): Remove.
5982 * subr.el (kbd): Make it its own function.
5984 2012-06-07 Stefan Merten <smerten@oekonux.de>
5986 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5987 Silence compiler warnings. Fix versions.
5988 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5989 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5990 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5991 (rst-package-emacs-version-alist): Correct Emacs version to
5992 represent major merge with upstream.
5993 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5995 2012-06-06 Glenn Morris <rgm@gnu.org>
5997 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5998 Only print environment variables if set.
6000 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6002 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6003 (macroexp--cons): Rename from maybe-cons.
6004 (macroexp--accumulate): Rename from macroexp-accumulate.
6005 (macroexp--all-forms): Rename from macroexpand-all-forms.
6006 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6007 (macroexp--expand-all): Rename from macroexpand-all-1.
6009 2012-06-06 Sam Steingold <sds@gnu.org>
6011 * calendar/calendar.el (calendar-in-read-only-buffer):
6012 Call `special-mode' to enable the standard read-only keybindings.
6014 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6016 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6017 with "loading" messages (bug#11635).
6019 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6021 * files.el (enable-remote-dir-locals): New option.
6022 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6024 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6025 Ensure, that the temp directory is local.
6027 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6028 `temporary-file-directory'.
6030 * progmodes/python.el (python-send-region): Ensure, that the
6031 temporary file is created also in the remote case.
6033 2012-06-06 Glenn Morris <rgm@gnu.org>
6035 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6036 (vc-rcs-update-changelog): Use it.
6038 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6040 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6041 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6042 (vc-sccs-diff): Replace use of the external vcdiff script.
6044 2012-06-05 Glenn Morris <rgm@gnu.org>
6046 * ledit.el: Move to obsolete/.
6048 2012-06-05 Sam Steingold <sds@gnu.org>
6050 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6053 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6055 * emacs-lisp/cust-print.el: Move to obsolete.
6057 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6058 compiler-macro expansion.
6060 Add native compiler-macro support.
6061 * emacs-lisp/macroexp.el (macroexpand-all-1):
6062 Support compiler-macros directly. Properly follow aliases and apply
6063 the compiler macros more thoroughly.
6064 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6065 macroexpand now properly follows aliases.
6066 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6067 (cl-compiler-macroexpand): Use new prop.
6068 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6070 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6072 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6074 * window.el (get-lru-window, get-mru-window, get-largest-window):
6075 New argument NOT-SELECTED to avoid picking the selected window.
6076 (window--display-buffer-1, window--display-buffer-2): Replace by
6077 new function window--display-buffer
6078 (display-buffer-same-window, display-buffer-reuse-window)
6079 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6080 Use window--display-buffer.
6081 (display-buffer-use-some-window): Remove temporary dedication
6082 hack by calling get-lru-window and get-largest-window with
6083 NOT-SELECTED argument non-nil. Call window--display-buffer.
6085 2012-06-05 Glenn Morris <rgm@gnu.org>
6087 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6088 Replace external vcdiff script.
6090 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6092 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6094 2012-06-04 Chong Yidong <cyd@gnu.org>
6096 * image.el (imagemagick-types-inhibit): Revert last change.
6098 (imagemagick-enabled-types): Remove CIN and EPS*.
6100 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6102 * emacs-lisp/cl-lib.el: Rename from cl.el.
6103 * emacs-lisp/cl.el: New compatibility file.
6104 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6105 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6106 to obey the "cl-" prefix.
6107 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6109 2012-06-03 Glenn Morris <rgm@gnu.org>
6111 * emacs-lisp/authors.el (authors-aliases): Addition.
6113 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6116 2012-06-03 Stefan Merten <smerten@oekonux.de>
6118 * textmodes/rst.el: Add comments.
6119 (rst-transition, rst-adornment): New faces.
6120 (rst-adornment-faces-alist): Make default safe to reevaluate.
6122 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6123 Improve customization tags.
6124 (rst-define-level-faces): Clarify meaning.
6126 2012-06-03 Chong Yidong <cyd@gnu.org>
6128 * progmodes/compile.el (compilation-mode-line-fail)
6129 (compilation-mode-line-run, compilation-mode-line-exit):
6131 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6133 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6135 * progmodes/which-func.el (which-func-update-ediff-windows):
6136 New function. Use it in ediff-select-hook (Bug#11478).
6138 2012-06-03 Chong Yidong <cyd@gnu.org>
6140 * bindings.el: Remove explicit help text from format-mode-line.
6141 It is now supplied by mode-line-default-help-echo.
6142 (mode-line-front-space, mode-line-end-spaces)
6143 (mode-line-misc-info): New variables.
6144 (mode-line-modes, mode-line-position): Move the default value to
6145 the variable definition.
6146 (mode-line-default-help-echo): New defcustom.
6147 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6148 (mode-line-modified-help-echo): New functions.
6149 (mode-line-mule-info, mode-line-modified): Use them.
6150 (mode-line-eol-desc, propertized-buffer-identification):
6151 Consistency fixes for help text.
6152 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6153 set-buffer-file-coding-system (Bug#289).
6154 (mode-line-mule-info-help-echo): Update help text.
6156 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6158 * simple.el (execute-extended-command): Set real-this-command
6161 2012-06-02 Chong Yidong <cyd@gnu.org>
6163 Remove incorrect uses of "modeline" in comments, docstrings, and
6164 function/variable names (Bug#10329).
6166 * cus-edit.el (mode-line):
6167 * dframe.el (dframe-mouse-hscroll):
6168 * emacs-lisp/re-builder.el:
6169 * emacs-lisp/easy-mmode.el (define-minor-mode):
6170 * frame.el (set-frame-name):
6171 * help.el (lookup-minor-mode-from-indicator):
6172 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6173 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6174 (c-toggle-hungry-state):
6175 * progmodes/antlr-mode.el (antlr-language-alist):
6176 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6177 * progmodes/vhdl-mode.el (vhdl-mode):
6178 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6179 * term/ns-win.el (ns-face-at-pos):
6180 * term/sup-mouse.el (sup-mouse-report):
6181 * textmodes/flyspell.el (flyspell-mode-line-string):
6182 * textmodes/ispell.el (ispell-highlight-face):
6183 * textmodes/reftex-global.el:
6184 * vc/vc-arch.el (vc-arch-mode-line-string):
6185 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6186 * vc/vc-git.el (vc-git-mode-line-string):
6187 * vc/vc-hooks.el (vc-display-status)
6188 (vc-default-mode-line-string):
6189 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6191 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6193 * dired.el (dired-sort-set-mode-line): Rename from
6194 dired-sort-set-modeline. All callers changed.
6196 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6197 eshell-status-in-modeline.
6199 * foldout.el (foldout-mode-line-string): Rename from
6200 foldout-modeline-string. All callers changed.
6201 (foldout-update-mode-line): Rename from foldout-update-modeline.
6203 * subr.el (redraw-modeline): Make into obsolete alias.
6205 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6206 timeclock-modeline-display. Make old name an alias.
6207 (timeclock-update-mode-line): Likewise. All callers changed.
6208 (timeclock-mode-line-display): No need to check before using
6210 (timeclock-relative, timeclock-day-over-hook)
6211 (timeclock-use-elapsed, timeclock-mode-string)
6212 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6214 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6215 crisp-mode-modeline-string.
6217 * play/solitaire.el (solitaire-build-mode-line): Rename from
6218 solitaire-build-modeline. All callers changed.
6220 * play/zone.el (zone-hiding-mode-line): Rename from
6221 zone-hiding-modeline. All callers changed.
6222 (zone): Remove unusued `modeline-hidden-level' property.
6224 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6225 xscheme-modeline-initialize. All callers changed.
6227 * strokes.el (strokes-lighter): Rename from
6228 strokes-modeline-string.
6230 * textmodes/sgml-mode.el (html-face-tag-alist)
6231 (html-tag-face-alist): Use mode-line face instead of obsolete
6234 2012-06-02 Stefan Merten <smerten@oekonux.de>
6236 * textmodes/rst.el: Always require `cl'.
6237 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6239 2012-06-02 Chong Yidong <cyd@gnu.org>
6241 * image.el (imagemagick-enabled-types): Rename from
6242 imagemagick-types-enable. Add many more types.
6243 (imagemagick-types-inhibit): Change default to nil.
6244 (imagemagick-filter-types): Caller changed.
6246 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6248 * emacs-lisp/cl-macs.el: Use backquotes.
6249 (cl-transform-function-property): Use eval-and-compile rather than
6251 (defstruct): Use declare-function instead of with-no-warnings.
6253 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6254 (byte-compile-output-docform): Re-add the print-circle bindings.
6255 (byte-compile-fix-header): Use #$ just because it's shorter.
6256 (byte-compile-output-file-form): Remove defun/defmacro.
6258 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6260 * simple.el (choose-completion): Remove now obsolete binding for
6263 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6265 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6266 in order to avoid "Stack overflow in regexp matcher".
6268 2012-05-31 Glenn Morris <rgm@gnu.org>
6270 * image.el: For clarity, call imagemagick-register-types at
6271 top-level, rather than relying on a custom :initialize.
6272 (imagemagick-types-enable): New option. (Bug#11557)
6273 (imagemagick-filter-types): New function. (Bug#7406)
6274 (imagemagick-register-types): Use imagemagick-filter-types.
6275 If disabling support, remove elements altogether rather
6276 than using an impossible regexp.
6277 (imagemagick-types-inhibit): Give it the default init function.
6279 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6281 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6282 Handle arbitrary file name lengths (Bug#11585).
6284 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6286 * desktop.el (desktop-read): Clear previous and next buffers for
6287 all windows and bury *Messages* buffer (bug#11556).
6289 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6291 Add `declare' for `defun'. Align `defmacro's with it.
6292 * emacs-lisp/easy-mmode.el (define-minor-mode)
6293 (define-globalized-minor-mode): Don't autoload the var definitions.
6294 * emacs-lisp/byte-run.el: Use lexical-binding.
6295 (defun-declarations-alist, macro-declarations-alist): New vars.
6296 (defmacro, defun): Use them.
6297 (make-obsolete, define-obsolete-function-alias)
6298 (make-obsolete-variable, define-obsolete-variable-alias):
6300 (macro-declaration-function): Mark obsolete.
6301 * emacs-lisp/autoload.el: Use lexical-binding.
6302 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6304 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6306 * textmodes/ispell.el (ispell-with-no-warnings):
6308 (ispell-kill-ispell, ispell-change-dictionary):
6309 Use `called-interactively-p' for Emacs instead of obsolete
6312 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6314 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6315 (macro-declaration-function): Move var from C code.
6316 (macro-declaration-function): Define function with defalias.
6317 * emacs-lisp/macroexp.el (macroexpand-all-1):
6318 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6319 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6320 defun/defmacro any more.
6321 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6322 Provide fallback for unknown arglist.
6323 (byte-compile-arglist-warn): Change calling convention.
6324 (byte-compile-output-file-form): Move print-vars binding.
6325 (byte-compile-output-docform): Simplify accordingly.
6326 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6327 (byte-compile-defmacro-declaration): Remove.
6328 (byte-compile-file-form-defmumble): Generalize to defalias.
6329 (byte-compile-output-as-comment): Return byte-positions.
6330 Simplify callers accordingly.
6331 (byte-compile-lambda): Use `assert'.
6332 (byte-compile-defun, byte-compile-defmacro): Remove.
6333 (byte-compile-file-form-defalias):
6334 Use byte-compile-file-form-defmumble.
6335 (byte-compile-defalias-warn): Remove.
6337 2012-05-29 Stefan Merten <smerten@oekonux.de>
6339 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6340 possible. Fix authors. Improve comments. Improve loading of `cl'.
6342 (rst-mode-abbrev-table): Merge definition.
6343 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6344 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6346 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6348 * calendar/icalendar.el
6349 (icalendar-export-region): Export UID properly.
6351 2012-05-29 Leo Liu <sdl.web@gmail.com>
6352 * calendar/icalendar.el (icalendar-import-format):
6353 Add `icalendar-import-format-uid' (Bug#11525).
6354 (icalendar-import-format-uid): New.
6355 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6358 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6360 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6361 different alternative patterns.
6362 (pcase-codegen): Be more careful to preserve identity.
6363 (pcase--u1): Don't forget to mark vars as used.
6365 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6366 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6367 (byte-compile-from-buffer): ...rather than here.
6369 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6370 functions from byte-compile-function-environment.
6372 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6374 * window.el (window-deletable-p): Avoid deleting the root window
6375 of a frame with an active minibuffer.
6377 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6379 * simple.el (choose-completion): Use quit-window (Bug#11567).
6381 2012-05-29 Chong Yidong <cyd@gnu.org>
6383 * whitespace.el (whitespace-cleanup): Fix usage of
6384 whitespace-empty-at-bob-regexp (Bug#11492).
6386 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6388 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6391 2012-05-29 Juri Linkov <juri@jurta.org>
6393 * isearch.el (isearch-mode-map): Bind `M-s _' to
6394 `isearch-toggle-symbol'. Bind `M-s c' to
6395 `isearch-toggle-case-fold'.
6396 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6397 (isearch-forward): Add `M-s _' to the docstring.
6398 (isearch-forward-symbol, isearch-toggle-case-fold)
6399 (isearch-symbol-regexp): New functions. (Bug#11381)
6401 2012-05-29 Juri Linkov <juri@jurta.org>
6403 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6404 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6405 a function, call it to get the regexp.
6406 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6407 property `isearch-message-prefix' instead of the string "word ".
6408 (isearch-search-fun-default): For the case of `isearch-word',
6409 return a lambda that calls re-search-forward/re-search-backward
6410 with a regexp returned by `word-search-regexp' or by the function
6413 2012-05-29 Juri Linkov <juri@jurta.org>
6415 * isearch.el (isearch-search-fun-default): New function.
6416 (isearch-search-fun): Move default part to the new function
6417 `isearch-search-fun-default'.
6418 (isearch-search-fun-function): Set the default value to
6419 `isearch-search-fun-default'. (Bug#11381)
6421 * comint.el (comint-history-isearch-end):
6422 Use `isearch-search-fun-default'.
6423 (comint-history-isearch-search): Use `isearch-search-fun-default'
6424 and remove spacial case for `isearch-word'.
6425 (comint-history-isearch-wrap): Remove spacial case for
6428 * hexl.el (hexl-isearch-search-function):
6429 Use `isearch-search-fun-default'.
6431 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6432 Use `word-search-regexp' for `isearch-word'.
6434 * misearch.el (multi-isearch-search-fun):
6435 Use `isearch-search-fun-default'.
6437 * simple.el (minibuffer-history-isearch-search):
6438 Use `isearch-search-fun-default' and remove spacial case for
6440 (minibuffer-history-isearch-wrap): Remove spacial case for
6443 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6444 Remove spacial case for `isearch-word'.
6445 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6447 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6449 Decrease XEmacs incompatibilities.
6450 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6452 (flyspell-delete-region-overlays): Use alternative definition for
6454 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6455 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6456 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6457 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6458 `define-obsolete-face-alias' under XEmacs, but old method.
6460 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6461 `with-no-warnings' definition or Emacs alias.
6462 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6463 (ispell-word): Do not use `region-p' if XEmacs.
6465 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6467 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6468 Check for `ispell-dictionary-base-alist' instead of full
6469 `ispell-dictionary-alist'.
6470 (ispell-init-process): Show spellchecker when starting new Ispell
6473 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6475 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6476 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6478 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6480 * version.el (motif-version-string, gtk-version-string)
6481 (ns-version-string): Declare.
6483 2012-05-27 Juri Linkov <juri@jurta.org>
6485 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6486 after the `eval-defun-1' specialcaseing
6487 like in `edebug-eval-defun' (bug#10181).
6489 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6490 like in `eval-defun-1'.
6492 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6494 * mail/sendmail.el (mail-yank-region):
6495 Recognize rmail-yank-current-message in addition to insert-buffer.
6496 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6497 a *mail* buffer created through rmail-start-mail with sendmail as
6500 2012-05-27 Chong Yidong <cyd@gnu.org>
6502 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6503 Default to 256 (Bug#11267).
6505 * help.el (describe-mode): Doc fix.
6507 2012-05-26 Glenn Morris <rgm@gnu.org>
6509 * w32-fns.el (w32-init-info): Remove.
6510 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6512 * info.el (info-initialize): For self-contained NS builds, put the
6513 included info/ directory at the front. (Bug#2791)
6515 * paths.el (Info-default-directory-list): Make it a defcustom,
6516 mainly so that we can use custom-initialize-delay.
6518 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6520 * subr.el (buffer-has-markers-at): Mark obsolete.
6522 * subr.el (lambda): Use declare.
6524 * emacs-lisp/lisp-mode.el (lambda):
6525 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6527 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6529 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6531 2012-05-26 Glenn Morris <rgm@gnu.org>
6533 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6535 2012-05-25 Glenn Morris <rgm@gnu.org>
6537 * paths.el: Remove no-byte-compile.
6538 * loadup.el: No need to load paths.el uncompiled.
6540 * image.el (imagemagick-types-inhibit): Doc fix.
6542 * version.el: Remove no-byte-compile and associated formatting.
6543 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6544 is ancient code from when there was an "inc-vers.el".
6546 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6548 * progmodes/gdb-mi.el: Minor style changes.
6549 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6550 Turn into minor modes.
6551 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6552 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6553 (gdb-shell): Remove unneeded let-binding.
6554 (gdb-get-many-fields): Eliminate O(n²) behavior.
6556 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6558 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6559 platforms that don't link in fontset.c.
6561 2012-05-25 Juri Linkov <juri@jurta.org>
6563 Use the same diff color scheme as in modern VCSes (bug#10181).
6565 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6566 to avoid confusion with `diff-added' that now uses green colors.
6567 (diff-removed): Use shades of red.
6568 (diff-added): Use shades of green.
6569 (diff-changed): Leave just the yellow color.
6570 (diff-use-changed-face): New variable.
6571 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6572 how to highlight context diff changes.
6573 (diff-refine-change): Use shades of yellow.
6574 (diff-refine-removed): New face that uses shades of red.
6575 (diff-refine-added): New face that uses shades of green.
6576 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6577 `diff-refine-removed' in the call to `smerge-refine-subst'
6578 depending on the value of `diff-use-changed-face'.
6580 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6581 (smerge-other): Use shades of green.
6582 (smerge-base): Use shades of yellow.
6583 (smerge-refined-change): Empty face.
6584 (smerge-refined-removed): New face that uses shades of red.
6585 (smerge-refined-added): New face that uses shades of green.
6586 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6587 args `props-r' and `props-a', and use them. Doc fix.
6588 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6589 on its value use different faces `smerge-refined-change',
6590 `smerge-refined-removed', `smerge-refined-added' in the call to
6591 `smerge-refine-subst'.
6593 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6594 Add face condition `min-colors 88' with shades of red.
6595 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6596 `min-colors 88' with shades of green.
6597 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6598 `min-colors 88' with shades of yellow.
6600 2012-05-24 Glenn Morris <rgm@gnu.org>
6602 * paths.el (prune-directory-list, remote-shell-program): Move to...
6603 * files.el (prune-directory-list, remote-shell-program): ...here.
6604 For the latter, delay initialization, prefer ssh, just search PATH.
6606 * paths.el (term-file-prefix): Move to faces.el (the only user).
6607 * faces.el (term-file-prefix): Move here, make it a defcustom.
6609 * paths.el (news-directory, news-path, news-inews-program):
6610 Move to gnus/nnspool.el.
6612 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6614 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6615 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6616 Make the latter a defcustom, with a delayed initialization.
6618 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6619 These were deleted from Gnus itself late 2010.
6621 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6623 * progmodes/which-func.el (which-func-ff-hook):
6624 Check against user-error, not error.
6626 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6627 cl-specs.el, which no longer exists.
6629 2012-05-22 Glenn Morris <rgm@gnu.org>
6631 * info.el (info-emacs-bug): New command.
6632 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6633 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6635 2012-05-21 Glenn Morris <rgm@gnu.org>
6637 * makefile.w32-in (update-subdirs-SH):
6638 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6640 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6642 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6644 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6645 Simplify Maven regexp, and make sure the file can't start with a space
6648 2012-05-21 Glenn Morris <rgm@gnu.org>
6650 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6651 Scrap superfluous subshells.
6653 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6655 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6656 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6658 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6660 * calc/calc.el (calc-ensure-consistent-units): New variable.
6662 * calc/calc-units.el (math-consistent-units-p)
6663 (math-check-unit-consistency): New functions.
6664 (calc-quick-units, calc-convert-units):
6665 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6667 (calc-extract-units): Fix typo.
6669 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6671 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6673 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6674 (flyspell-default-deplacement-commands): Don't spell check after
6675 repeated window/frame switches (e.g. triggered by mouse-movement).
6676 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6677 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6678 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6679 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6681 (flyspell-get-casechars, flyspell-get-not-casechars):
6682 Simplify; Don't bother removing a ] just to add it back.
6683 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6685 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6687 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6689 (math-function-table): Add support for more C functions.
6691 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6693 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6694 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6695 Protect delay handling for otherchars against empty otherchars.
6697 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6699 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6700 their respective macro declarations.
6701 * skeleton.el (define-skeleton):
6702 * progmodes/compile.el (define-compilation-mode):
6703 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6704 (define-ibuffer-filter):
6705 * emacs-lisp/generic.el (define-generic-mode):
6706 * emacs-lisp/easy-mmode.el (define-minor-mode)
6707 (define-globalized-minor-mode):
6708 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6709 * emacs-lisp/byte-run.el (defsubst):
6710 * custom.el (deftheme): Add doc-string metadata.
6712 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6714 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6716 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6718 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6720 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6721 * emacs-lisp/cl-macs.el: Idem.
6722 * emacs-lisp/cl-specs.el: Remove.
6724 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6726 Minor renaming of internal CL functions and variables.
6727 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6728 (cl--position): Rename from cl-position.
6729 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6730 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6731 (cl--random-state): Rename from *random-state*.
6733 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6735 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6736 parens around the arg list (bug#11499).
6738 2012-05-17 Juri Linkov <juri@jurta.org>
6740 * isearch.el (word-search-regexp, word-search-backward)
6741 (word-search-forward, word-search-backward-lax)
6742 (word-search-forward-lax): Move functions from search.c
6743 (bug#10145, bug#11381).
6745 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6747 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6748 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6749 Delay for otherchars as for normal word components.
6751 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6753 * minibuffer.el (completion--sifn-requote): Fix last change.
6754 (minibuffer-local-must-match-filename-map):
6755 Move define-obsolete-variable-alias before its var.
6757 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6759 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6761 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6763 (completion--string-equal-p): New function.
6764 (completion--twq-all): Use it to get better assertion failure data.
6766 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6767 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6768 (shell--requote-argument): New functions.
6769 (shell-completion-vars): Use them.
6770 (shell--parse-pcomplete-arguments): Rename from
6771 shell-parse-pcomplete-arguments.
6772 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6773 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6774 Obey comint-file-name-quote-list.
6776 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6777 (smie-indent-keyword): Use it.
6779 2012-05-14 Stefan Merten <smerten@oekonux.de>
6781 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6783 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6785 * net/rlogin.el (rlogin-mode-map): Fix last change.
6787 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6789 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6790 the following \r\n using a single `process-send-string', since the
6791 Lotus SMTP server refuses to accept any commands if they are sent
6792 with two `process-send-string's (Bug#11444).
6794 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6796 * shell.el (shell-parse-pcomplete-arguments):
6797 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6799 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6801 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6802 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6803 (image-transform-width, image-transform-fit-width): New functions.
6804 (image-transform-properties): Use them.
6805 (image-transform-check-size): New function.
6806 (image-toggle-display-image): Use it (for testing).
6807 (image-transform-set-rotation): Reduce angle mod 360.
6808 Delete obsolete comment.
6810 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6812 * image-mode.el: Fix scaling (bug#11399).
6813 (image-transform-resize): Doc fix.
6814 (image-transform-properties): Default scale is 1 and height should
6817 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6819 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6820 than hard-coding `car', to fix misbehavior when moving forward.
6822 2012-05-13 Chong Yidong <cyd@gnu.org>
6824 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6825 (tabulated-list-entries, tabulated-list-padding)
6826 (tabulated-list-sort-key): Make permanent-local.
6828 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6829 (electric-buffer-list): Put electric buffer menu
6830 command descriptions in this docstring, instead of the docstring
6831 of electric-buffer-menu-mode. Code cleanups.
6832 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6833 Electric-buffer-menu-mode.
6834 (electric-buffer-update-highlight): Minor code cleanup.
6836 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6838 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6841 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6843 Move define-obsolete-variable-alias before the var's definition.
6844 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6845 * tooltip.el (tooltip-hook):
6846 * textmodes/reftex-toc.el (reftex-toc-map):
6847 * textmodes/reftex-sel.el (reftex-select-label-map)
6848 (reftex-select-bib-map):
6849 * textmodes/reftex-index.el (reftex-index-map)
6850 (reftex-index-phrases-map):
6851 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6852 * progmodes/meta-mode.el (meta-mode-map):
6853 * novice.el (disabled-command-hook):
6854 * loadhist.el (unload-hook-features-list):
6855 * frame.el (blink-cursor):
6856 * files.el (find-file-not-found-hooks, write-file-hooks)
6857 (write-contents-hooks):
6858 * emulation/tpu-edt.el (GOLD-map):
6859 * emacs-lock.el (emacs-lock-from-exiting):
6860 * emacs-lisp/generic.el (generic-font-lock-defaults):
6861 * emacs-lisp/chart.el (chart-map):
6862 * dos-fns.el (register-name-alist):
6863 * dired-x.el (dired-omit-files-p):
6864 * desktop.el (desktop-enable):
6865 * cus-edit.el (custom-mode-hook):
6866 * buff-menu.el (buffer-menu-mode-hook):
6867 * bookmark.el (bookmark-read-annotation-text-func)
6868 (bookmark-exit-hooks):
6869 * allout.el (allout-mode-deactivate-hook)
6870 (allout-exposure-change-hook, allout-structure-added-hook)
6871 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6872 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6873 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6874 comes before the corresponding variable's definition.
6876 2012-05-12 Chong Yidong <cyd@gnu.org>
6878 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6879 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6880 (Buffer-menu-mode-map): Bind it.
6881 (Buffer-menu--pretty-name): Add a mouse-face property.
6883 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6885 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6886 (prolog-upper-case-string, prolog-lower-case-string)
6887 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6888 (prolog-use-smie, prolog-smie-grammar): New vars.
6889 (prolog-smie-forward-token, prolog-smie-backward-token)
6890 (prolog-smie-rules): New funs.
6891 (prolog-comment-indent): Remove.
6892 (prolog-mode-variables): Use default comment indentation instead.
6894 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6895 (prolog-mode): Don't call them any more.
6896 (prolog-electric-colon, prolog-electric-dash)
6897 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6899 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6901 * minibuffer.el (completion--twq-all): Again, allow case differences.
6903 * term.el: Move keymap initialization code to be more idiomatic.
6904 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6905 (term-terminal-menu): Move initialization into declaration.
6906 (term-escape-char): Let the user set it in her .emacs.
6908 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6909 Provide SMIE-based indentation (not enabled by default yet).
6910 (sh-mode-map): Don't bind electric keys.
6911 Use electric-pair-mode instead of skeleton-pair.
6912 (sh-assignment-regexp): Fit within 80 columns.
6913 (sh-indent-supported): Specify actual shell name instead of boolean.
6914 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6915 (sh-maybe-here-document): Use it. Make obsolete.
6916 (sh-electric-here-document-mode) New minor mode.
6917 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6918 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6919 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6920 (sh-smie-rc-grammar, sh-use-smie): New vars.
6921 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6922 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6923 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6924 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6925 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6926 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6927 (sh-set-shell): Use smie-setup if requested.
6929 * term.el (term-set-escape-char): Properly set term-escape-char.
6930 See http://stackoverflow.com/questions/10524656.
6932 2012-05-10 Chong Yidong <cyd@gnu.org>
6934 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6935 Use url-generic-parse-url, and handle host names and Windows
6937 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6938 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6939 URL schemes to work on.
6940 (ffap--toggle-read-only): New function.
6941 (ffap-read-only, ffap-read-only-other-window)
6942 (ffap-read-only-other-frame): Use it.
6943 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6944 necessary for ffap-url-unwrap-remote.
6946 2012-05-10 Dave Abrahams <dave@boostpro.com>
6948 * cus-start.el (create-lockfiles): Add it.
6950 2012-05-09 Chong Yidong <cyd@gnu.org>
6952 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6953 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6955 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6957 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6959 2012-05-09 Chong Yidong <cyd@gnu.org>
6961 * ansi-color.el (ansi-color-process-output): Check for validity of
6962 comint-last-output-start before using it. This avoids a bad
6963 interaction with gdb-mi's input/output buffer.
6965 2012-05-09 Glenn Morris <rgm@gnu.org>
6967 * files.el (dir-locals-read-from-file):
6968 Mention dir-locals in any error message.
6970 2012-05-09 Chong Yidong <cyd@gnu.org>
6972 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6973 package (Bug#11410).
6975 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6976 variables into description.
6978 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6980 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6981 shell-delimiter-argument-list (bug#11348).
6982 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6984 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6986 * textmodes/rst.el: Silence byte-compiler warnings.
6987 (rst-re-alist, rst-reset-section-caches): Move around.
6988 (rst-re): Use `characterp', not `char-valid-p'.
6989 (font-lock-beg, font-lock-end): Declare.
6991 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6992 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6994 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6996 2012-05-08 Glenn Morris <rgm@gnu.org>
6998 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7000 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7002 * vc/log-edit.el: Add GNU coding standards highlighting.
7003 (log-edit-font-lock-gnu-style)
7004 (log-edit-font-lock-gnu-keywords): New vars.
7005 (log-edit-font-lock-keywords): New fun.
7006 (log-edit-mode): Don't fold case in font-lock.
7007 (log-edit-font-lock-keywords): Do not assume case-folding.
7009 * imenu.el: Misc cleanup. Make docstrings out of comments.
7010 Use lexical-binding.
7011 (imenu--index-alist, imenu--last-menubar-index-alist)
7012 (imenu-menubar-modified-tick): Use defvar-local.
7013 (imenu--split-menu): Remove unused var.
7014 (imenu--cleanup-seen): Declare as global.
7015 (imenu--cleanup): Use dolist.
7017 * subr.el (defvar-local): Add debug spec and doc-string position.
7019 2012-05-08 Glenn Morris <rgm@gnu.org>
7021 * language/burmese.el, language/cham.el, language/czech.el:
7022 * language/english.el, language/georgian.el, language/greek.el:
7023 * language/japanese.el, language/khmer.el, language/korean.el:
7024 * language/lao.el, language/misc-lang.el, language/romanian.el:
7025 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7026 * language/thai.el, language/utf-8-lang.el:
7027 Remove no-byte-compile setting.
7029 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7031 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7033 * progmodes/make-mode.el (makefile-browse):
7034 Remove unnecessary interactive. (Bug#11324)
7036 2012-05-07 Glenn Morris <rgm@gnu.org>
7038 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7040 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7042 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7044 * loadup.el: Preload newcomment.el.
7045 * newcomment.el: Move autoload-only code to toplevel.
7047 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7048 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7049 Handle new :right-align column property.
7050 (tabulated-list-print-col): Idem, plus use `display' text-property to
7051 try and preserve alignment for variable pitch fonts.
7053 2012-05-07 Chong Yidong <cyd@gnu.org>
7055 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7056 (tabulated-list-use-header-line): New var.
7057 (tabulated-list-init-header): Use it.
7058 (tabulated-list-print-fake-header): New function.
7059 (tabulated-list-print): Use it.
7060 (tabulated-list-sort-button-map): Add non-header-line commands.
7061 (tabulated-list-init-header): Add column name property to basic
7063 (tabulated-list-col-sort): Handle non-header-line button case.
7064 (tabulated-list--sort-by-column-name): Fix a corner case.
7066 * buff-menu.el (list-buffers--refresh):
7067 Handle Buffer-menu-use-header-line.
7069 2012-05-06 Chong Yidong <cyd@gnu.org>
7071 * buff-menu.el: Convert to Tabulated List mode.
7072 (Buffer-menu-buffer+size-width): Make obsolete.
7073 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7074 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7075 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7076 documentation into docstring of buffer-menu.
7077 (Buffer-menu-toggle-files-only): Add an informative message.
7078 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7079 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7080 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7081 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7082 (Buffer-menu-execute, Buffer-menu-select)
7083 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7084 (Buffer-menu-bury): Use Tabulated List machinery.
7085 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7086 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7088 (list-buffers--refresh): New function.
7089 (list-buffers-noselect): Use it.
7090 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7091 (Buffer-menu--pretty-file-name): New helper functions.
7093 * loadup.el: Preload tabulated-list.
7095 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7096 tabulated-list-sort-column.
7097 (tabulated-list-init-header): Add the initial aligning space even
7098 if tabulated-list-padding is zero.
7100 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7102 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7103 whose cdr is not a cons cell correctly (bug#11038).
7105 2012-05-06 Chong Yidong <cyd@gnu.org>
7107 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7108 Accept additional plist in column descriptors.
7109 (tabulated-list-init-header): Obey it.
7110 (tabulated-list-get-entry): New function.
7111 (tabulated-list-put-tag): Use it. Use string-width instead of
7113 (tabulated-list--column-number): New function.
7114 (tabulated-list-print): Use it.
7115 (tabulated-list-print-col): New function.
7116 Set `tabulated-list-column-name' property on each column's text.
7117 (tabulated-list-print-entry): Use it.
7118 (tabulated-list-delete-entry, tabulated-list-set-col):
7120 (tabulated-list-sort-column): New command (Bug#11337).
7122 * buff-menu.el (list-buffers): Move C-x C-b binding from
7123 buff-menu.el to bindings.el.
7125 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7126 :advertised-binding feature.
7128 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7130 * progmodes/compile.el (compilation-internal-error-properties):
7131 Calculate start position correctly when end-col is set but
7132 end-line is not (Bug#11382).
7134 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7136 * man.el (Man-unindent): Use text-property-default-nonsticky to
7137 prevent untabify from inheriting face properties (Bug#11408).
7139 2012-05-05 Stefan Merten <smerten@oekonux.de>
7141 * textmodes/rst.el: Major merge with upstream development up to
7142 Docutils SVN r7399 / rst.el V1.2.1.
7144 Clarify maintainership and authors.
7146 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7147 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7148 (rst-official-version, rst-official-cvs-rev, rst-version)
7149 (rst-package-emacs-version-alist): New functions and variables
7150 for version information.
7152 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7153 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7154 (rst-mode-syntax-table, rst-mode): New and corrected functions
7155 and variables representing reStructuredText features.
7157 (rst-re): New function for reStructuredText regexes. Use in
7160 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7161 (rst-mode-map): Rebind keys.
7163 (rst-mode-lazy, rst-font-lock-keywords)
7164 (rst-font-lock-extend-region)
7165 (rst-font-lock-extend-region-internal)
7166 (rst-font-lock-extend-region-extend)
7167 (rst-font-lock-find-unindented-line-limit)
7168 (rst-font-lock-find-unindented-line-match)
7169 (rst-adornment-level, rst-font-lock-adornment-level)
7170 (rst-font-lock-adornment-match)
7171 (rst-font-lock-handle-adornment-pre-match-form)
7172 (rst-font-lock-handle-adornment-matcher): Major revision of
7173 font-locking. Integrate with other code. Use `jit-lock-mode'.
7175 (rst-preferred-adornments, rst-adjust-hook)
7176 (rst-new-adornment-down, rst-preferred-bullets)
7177 (rst-preferred-bullets, rst-indent, rst-indent-width)
7178 (rst-indent-field, rst-indent-literal-normal)
7179 (rst-indent-literal-minimized, rst-indent-comment): Change,
7180 extend and improve customization.
7182 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7183 (rst-normalize-cursor-position, rst-get-decoration)
7184 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7185 (rst-rstrip, rst-toc-insert-find-delete-contents)
7186 (rst-shift-fill-region, rst-compute-bullet-tabs)
7187 (rst-debug-print-tabs, rst-debug-mark-found)
7188 (rst-shift-region-guts, rst-shift-region-right)
7189 (rst-shift-region-left, rst-use-char-classes)
7190 (rst-font-lock-keywords-function)
7191 (rst-font-lock-indentation-point)
7192 (rst-font-lock-find-unindented-line-begin)
7193 (rst-font-lock-find-unindented-line-end)
7194 (rst-font-lock-find-unindented-line)
7195 (rst-font-lock-adornment-point, rst-font-lock-level)
7196 (rst-adornment-level-alist): Remove functions and variables.
7198 (rst-compare-adornments, rst-get-adornment-match)
7199 (rst-suggest-new-adornment, rst-get-adornments-around)
7200 (rst-adornment-complete-p, rst-get-next-adornment)
7201 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7202 (rst-straighten-adornments): Standardize function names to
7203 use "adornment" instead of "decoration". Correct callers.
7204 Similar standardizing in many places.
7206 (rst-update-section, rst-adjust, rst-promote-region)
7207 (rst-enumerate-region, rst-bullet-list-region)
7208 (rst-repeat-last-character): Correct use of `interactive'.
7210 (rst-classify-adornment, rst-find-all-adornments)
7211 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7212 (rst-find-leftmost-column, rst-repeat-last-character):
7215 (rst-find-title-line, rst-reset-section-caches)
7216 (rst-get-adornments-around, rst-adjust-adornment-work)
7217 (rst-arabic-to-roman, rst-roman-to-arabic)
7218 (rst-insert-list-pos, rst-insert-list-new-item)
7219 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7222 (rst-all-sections, rst-section-hierarchy)
7223 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7226 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7227 configuration instead of only buffer. Change where necessary.
7229 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7230 (rst-shift-region, rst-adaptive-fill): New functions for
7231 indentation and filling.
7233 (rst-comment-line-break, rst-comment-indent)
7234 (rst-comment-insert-comment, rst-comment-region)
7235 (rst-uncomment-region): New functions for handling comments.
7237 (rst-compile): Quote shell arguments.
7239 (rst-compile-pdf-preview, rst-compile-slides-preview):
7240 Delete temporary files after use.
7242 2012-05-05 Glenn Morris <rgm@gnu.org>
7244 * calendar/cal-html.el: Optionally include holidays in the output.
7245 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7246 (cal-html-holidays): New option.
7247 (cal-html-css-default): Add holiday entry.
7248 (holiday-in-range): Autoload it.
7249 (cal-html-htmlify-entry): Add optional class argument.
7250 (cal-html-htmlify-list): Add optional holidays argument.
7251 (cal-html-insert-agenda-days): Include holidays in the output.
7252 (cal-html-one-month): Maybe include holidays.
7254 * calendar/holidays.el (holiday-in-range):
7255 Move here from cal-tex-list-holidays.
7256 * calendar/cal-tex.el (cal-tex-list-holidays):
7257 Make it an obsolete alias for holiday-in-range. Update all callers.
7259 2012-05-05 Chong Yidong <cyd@gnu.org>
7261 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7264 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7266 * files.el (file-auto-mode-skip): New var.
7267 (set-auto-mode-1): Use it.
7269 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7271 * repeat.el: Use lexical-binding.
7272 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7273 (repeat-undo-count): Remove.
7275 * progmodes/octave-mod.el (octave-abbrev-start):
7276 * progmodes/f90.el (f90-abbrev-start):
7277 * face-remap.el (text-scale-adjust):
7278 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7280 * emacs-lisp/pcase.el (pcase--let*): New function.
7281 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7283 (pcase--split-pred): Be more clever about ruling out overlap between
7284 a predicate and some constant pattern.
7285 (pcase--q1): Use `null' instead of (eq foo nil).
7287 * subr.el (setq-local, defvar-local): New macros.
7288 (kbd): Redefine as an alias.
7289 (with-selected-window): Leave unrelated frames alone.
7290 (set-temporary-overlay-map): New function.
7292 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7294 * subr.el (user-error): New function.
7295 * window.el (switch-to-buffer):
7296 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7297 (smerge-match-conflict):
7298 * simple.el (previous-matching-history-element)
7299 (next-matching-history-element, goto-history-element, undo-more)
7301 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7302 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7303 (next-file, tags-loop-scan, list-tags, complete-tag):
7304 * progmodes/compile.el (compilation-loop):
7305 * mouse.el (mouse-minibuffer-check):
7306 * man.el (Man-bgproc-sentinel, Man-goto-page):
7307 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7308 (Info-history-forward, Info-follow-reference, Info-menu)
7309 (Info-extract-menu-item, Info-extract-menu-counting)
7310 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7311 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7312 (Info-next-reference, Info-prev-reference, Info-index)
7313 (Info-index-next, Info-follow-nearest-node)
7314 (Info-copy-current-node-name):
7315 * imenu.el (imenu--make-index-alist)
7316 (imenu-default-create-index-function, imenu-add-to-menubar):
7317 * files.el (basic-save-buffer, recover-file):
7318 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7319 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7320 (checkdoc-message-text, checkdoc-defun):
7321 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7322 * cus-edit.el (customize-changed-options, customize-rogue)
7323 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7324 (custom-variable-mark-to-reset-standard)
7325 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7327 * completion.el (check-completion-length):
7328 * comint.el (comint-search-arg)
7329 (comint-previous-matching-input-string-position)
7330 (comint-previous-matching-input)
7331 (comint-replace-by-expanded-history-before-point, comint-send-input)
7332 (comint-copy-old-input, comint-backward-matching-input)
7333 (comint-goto-process-mark, comint-set-process-mark):
7334 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7335 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7337 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7339 * dabbrev.el (dabbrev--ignore-case-p): New function.
7340 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7343 * files.el (automount-dir-prefix): Mark as obsolete.
7345 2012-05-04 Glenn Morris <rgm@gnu.org>
7347 * patcomp.el, play/bruce.el: Move to obsolete/.
7349 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7351 Fix minor Y10k bugs.
7352 * arc-mode.el (archive-unixdate):
7353 * autoinsert.el (auto-insert-alist):
7354 * calc/calc-forms.el (math-this-year):
7355 * emacs-lisp/copyright.el (copyright-current-year)
7356 (copyright-update-year, copyright):
7357 * tar-mode.el (tar-clip-time-string):
7358 * time.el (display-time-update):
7359 Don't assume years have 4 digits.
7361 2012-05-04 Chong Yidong <cyd@gnu.org>
7363 * dos-w32.el (file-name-buffer-file-type-alist)
7364 (direct-print-region-use-command-dot-com):
7365 * ffap.el (ffap-menu-regexp):
7366 * find-file.el (ff-special-constructs):
7367 * follow.el (follow-debug):
7368 * forms.el (forms--debug):
7369 * iswitchb.el (iswitchb-all-frames):
7370 * ido.el (ido-all-frames):
7371 * emacs-lisp/timer.el (timer-max-repeats):
7372 * mail/feedmail.el (feedmail-mail-send-hook)
7373 (feedmail-mail-send-hook-queued):
7374 * mail/footnote.el (footnote-signature-separator):
7375 * mail/mailabbrev.el (mail-alias-separator-string)
7376 (mail-abbrev-mode-regexp):
7377 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7378 * progmodes/idlwave.el (idlwave-libinfo-file)
7379 (idlwave-default-completion-case-is-down)
7380 (idlwave-library-routines): Convert defvars to defcustoms.
7382 * mail/rmail.el (rmail-decode-mime-charset):
7383 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7384 (idlwave-shell-fix-inserted-breaks)
7385 (idlwave-shell-activate-alt-keybindings)
7386 (idlwave-shell-use-breakpoint-glyph):
7387 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7389 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7391 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7393 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7395 * progmodes/verilog-mode.el (font-lock-keywords):
7396 Fix mis-highligting auto. Reported by Craig Barner.
7397 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7398 defines from global name space. Reported by Dan Dever.
7399 (verilog-auto-reset, verilog-auto-reset-widths)
7400 (verilog-auto-tieoff): Support using unbased numbers for
7401 AUTORESET and AUTOTIEOFF.
7402 (verilog-submit-bug-report): Update variable list.
7403 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7404 parenthesis from not matching. Reported by Michael Rytting.
7405 (verilog-auto-template-lint): Fix hash error when linting modules
7406 with no used templates.
7407 (verilog-warn, verilog-warn-error)
7408 (verilog-warn-fatal): When non-interactive report multiple
7409 warnings before exiting. Suggested by Brad Dobbie.
7410 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7411 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7412 to report unused template errors. Reported by Brad Dobbie.
7413 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7414 nets, bug438. Reported by Vns Blore.
7415 (verilog-auto-inout-module, verilog-auto-reg)
7416 (verilog-read-decls, verilog-read-sub-decls-sig)
7417 (verilog-signals-edit-wire-reg, verilog-signals-with):
7418 Fix passing of Verilog data types in ANSI input/output ports
7419 such as "output logic" into the AUTOs. Special case "wire" and
7420 "reg" for backwards compatibility presuming Verilog 2001.
7421 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7422 (verilog-preprocess): Fix replication of preprocess output.
7423 Reported by Brad Dobbie.
7424 (verilog-auto-inst-interfaced-ports):
7425 Create verilog-auto-inst-interfaced-ports, bug429.
7426 Reported by Julian Gorfajn.
7427 (verilog-after-save-font-hook)
7428 (verilog-before-save-font-hook): New variable.
7429 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7430 (verilog-save-font-mods): Wrap disabling fontification, reported
7432 (verilog-do-indent, verilog-pretty-declarations-auto)
7433 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7434 Reported by Pierre-David Pfister.
7435 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7436 of class declarations, bug292. Reported by Kevin Heilman.
7437 (verilog-read-decls): Fix 'parameter type' not appearing in
7438 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7439 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7440 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7441 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7442 Reported by David Kravitz.
7444 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7446 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7447 assignment with tests in ifs and for loops.
7448 (verilog-extended-complete-re, verilog-complete-reg): Change so
7449 that DPI inport functions don't look like fuction declarations.
7450 (verilog-pretty-expr): Don't line up assignment
7451 operations to the test and increment in if and for loops
7452 (verilog-extended-complete-re, verilog-complete-reg): Change so
7453 that DPI inport functions don't look like fuction declarations.
7455 2012-05-03 Kenichi Handa <handa@m17n.org>
7457 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7458 decoding, and show a warning message without signaling an error
7461 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7463 * emacs-lisp/bytecomp.el
7464 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7465 since cconv.el might have introduced :fun-body, internal-make-closure,
7466 and friends for bytecomp to handle (bug#11391).
7467 * custom.el (defcustom): Avoid ((λ ..) ..).
7469 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7471 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7473 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7475 * notifications.el (dbus-debug):
7476 * term/linux.el (gpm-mouse-enable):
7477 * term/screen.el (xterm-register-default-colors): Declare.
7479 2012-05-02 Chong Yidong <cyd@gnu.org>
7481 * cus-start.el (gc-cons-percentage, exec-suffixes)
7482 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7483 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7484 (make-cursor-line-fully-visible, void-text-area-pointer)
7485 (font-list-limit): Add customization data.
7487 * allout.el (allout-exposure-change-functions)
7488 (allout-structure-added-functions)
7489 (allout-structure-deleted-functions)
7490 (allout-structure-shifted-functions): Rename abnormal hooks from
7491 *-hook, and convert to defcustoms.
7492 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7493 Convert to defcustoms.
7494 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7496 * allout-widgets.el: Hook callers changed.
7498 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7500 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7501 the yanked message in preference to the default value of
7502 buffer-file-coding-system.
7504 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7506 * window.el (display-buffer--action-function-custom-type):
7509 2012-05-02 Alan Mackenzie <acm@muc.de>
7511 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7513 2012-05-01 Glenn Morris <rgm@gnu.org>
7515 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7517 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7519 * cus-edit.el (custom-variable-documentation): Simplify with format.
7521 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7522 Stefan Monnier <monnier@iro.umontreal.ca>
7524 * simple.el (suggest-key-bindings, execute-extended-command):
7525 Move from keyboard.c.
7527 2012-05-01 Chong Yidong <cyd@gnu.org>
7529 * follow.el: Eliminate advice.
7530 (set-process-filter, process-filter, sit-for): Advice deleted.
7531 (follow-mode-off-hook): Obsolete hook removed.
7532 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7534 (follow-auto): Use a :set function.
7535 (follow-mode): Rewritten. Don't advise process filters.
7536 (follow-switch-to-current-buffer-all, follow-scroll-up)
7537 (follow-scroll-down): Assume follow-mode is bound.
7538 (follow-comint-scroll-to-bottom)
7539 (follow-align-compilation-windows): New functions.
7540 (follow--window-sorter): New function.
7541 (follow-all-followers): Use it to explicitly sort windows by their
7542 positions; don't make assumptions about next-window order.
7543 (follow-windows-start-end, follow-delete-other-windows-and-split)
7544 (follow-calc-win-start): Doc fix.
7545 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7546 vertical-motion unnecessarily.
7547 (follow-adjust-window): New function.
7548 (follow-post-command-hook): Use it.
7549 (follow-call-set-process-filter, follow-call-process-filter)
7550 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7551 (follow-stop-intercept-process-output, follow-generic-filter):
7553 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7554 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7555 New functions, replacing advice on scroll-bar-* commands.
7556 (follow-mwheel-scroll): New function (Bug#4112).
7558 * comint.el (comint-adjust-point): New function.
7559 (comint-postoutput-scroll-to-bottom): Use it.
7560 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7562 2012-05-01 Glenn Morris <rgm@gnu.org>
7564 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7565 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7566 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7567 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7568 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7569 Remove no-byte-compile setting.
7571 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7573 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7574 all-completions code to not return a number in the last cdr.
7576 2012-04-30 Leo Liu <sdl.web@gmail.com>
7578 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7581 2012-04-29 Chong Yidong <cyd@gnu.org>
7583 * follow.el (follow-calc-win-end): Rewrite to handle partial
7584 screen lines correctly (Bug#8390).
7585 (follow-avoid-tail-recenter): Minor cleanup.
7587 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7589 Avoid the obsolete `assoc' package.
7590 * speedbar.el (speedbar-refresh): Avoid adelete.
7591 (speedbar-file-lists): Simplify and avoid aput.
7592 * man.el (Man--sections, Man--refpages): New vars, replacing
7593 Man-sections-alist and Man-refpages-alist.
7594 (Man-build-section-alist, Man-build-references-alist):
7595 Use them; avoid aput.
7596 (Man--last-section, Man--last-refpage): New vars.
7597 (Man-follow-manual-reference): Use them.
7598 Use the `default' arg of completing-read.
7599 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7601 2012-04-27 Chong Yidong <cyd@gnu.org>
7603 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7605 * startup.el (x-apply-session-resources): New function.
7607 * term/ns-win.el (ns-initialize-window-system):
7608 * term/w32-win.el (w32-initialize-window-system):
7609 * term/x-win.el (x-initialize-window-system): Use it to properly
7610 set menu-bar-mode and other vars from X resources, even if the
7611 initial frame is not a window-system frame (Bug#2299).
7613 * subr.el (read-key): Avoid running filter function when setting
7614 up temporary tool bar entries (Bug#9922).
7616 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7618 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7621 2012-04-27 Chong Yidong <cyd@gnu.org>
7623 * select.el (xselect--encode-string): New function, split from
7624 xselect-convert-to-string.
7625 (xselect-convert-to-string): Use it.
7626 (xselect-convert-to-filename, xselect-convert-to-os)
7627 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7628 returned strings are properly encoded (Bug#11315).
7630 2012-04-27 Chong Yidong <cyd@gnu.org>
7632 * simple.el (delete-active-region): Move to killing custom group.
7634 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7636 * progmodes/which-func.el (which-func-current): Quote %
7637 characters for mode-line processing.
7639 2012-04-27 Chong Yidong <cyd@gnu.org>
7641 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7642 reaching eob (Bug#11286).
7644 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7646 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7647 (gdb): Make it buffer-local and init to zero.
7648 (gdb-control-commands-regexp): New variable.
7649 (gdb-send): Don't wrap in "-interpreter-exec console" if
7650 gdb-control-level is positive. Increment gdb-control-level
7651 whenever the command matches gdb-control-commands-regexp, and
7652 decrement it each time the command is "end". (Bug#11279)
7654 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7656 * window.el (adjust-window-trailing-edge, enlarge-window)
7657 (shrink-window, window-resize):
7658 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7659 windows (Bug#11276).
7661 2012-04-27 Chong Yidong <cyd@gnu.org>
7663 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7664 fix "missing prefix" warning. All callers changed.
7666 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7668 * emacs-lisp/assoc.el: Move to obsolete/.
7670 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7672 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7674 * term/ns-win.el (ns-define-service):
7675 * progmodes/pascal.el (pascal-goto-defun):
7676 * progmodes/js.el (js--read-tab):
7677 * progmodes/etags.el (tags-lazy-completion-table):
7678 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7679 * emacs-lisp/ewoc.el (ewoc--wrap):
7680 * emacs-lisp/assoc.el (aput, adelete, amake):
7681 * doc-view.el (doc-view-convert-current-doc):
7682 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7684 2012-04-26 Chong Yidong <cyd@gnu.org>
7686 * image.el (image-type-from-buffer): Only return supported image
7689 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7690 value, for symmetry with diff-end-of-hunk.
7691 (diff-split-hunk, diff-find-source-location)
7692 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7693 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7694 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7695 compute the relevant hunk or file properly (Bug#6005).
7696 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7698 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * vc/vc.el: Replace lexical-let by lexical-binding.
7708 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7709 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7710 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7712 2012-04-26 Chong Yidong <cyd@gnu.org>
7714 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7715 (diff-mode-shared-map): Bind it to / and [remap undo].
7717 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7718 (ediff-window-setup-function): Use it as the default, to set up
7719 windows based on whether the current frame is graphical (Bug#2138).
7720 (ediff-choose-window-setup-function-automatically): Make obsolete.
7722 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7724 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7726 * ffap.el: Remove old code for obsolete package.
7727 (ffap-complete-as-file-p): Remove.
7729 Use completion-table-with-quoting for comint and pcomplete.
7730 * comint.el (comint--unquote&requote-argument)
7731 (comint--unquote-argument, comint--requote-argument): New functions.
7732 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7733 (comint-quote-filename): Use regexp-opt-charset.
7734 (comint--common-suffix, comint--common-quoted-suffix)
7735 (comint--table-subvert): Remove.
7736 (comint-unquote-function, comint-requote-function): New vars.
7737 (comint--complete-file-name-data): Use them with
7738 completion-table-with-quoting.
7739 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7740 * pcomplete.el (pcomplete-arg-quote-list)
7741 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7742 (pcomplete-unquote-argument-function): Default to non-nil.
7743 (pcomplete-unquote-argument): Simplify.
7744 (pcomplete--common-quoted-suffix): Remove.
7745 (pcomplete-requote-argument-function): New var.
7746 (pcomplete--common-suffix): New function.
7747 (pcomplete-completions-at-point): Use completion-table-with-quoting
7748 and completion-table-subvert.
7750 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7751 (minibuffer--double-dollars): Preserve properties.
7752 (completion--sifn-requote): New function.
7753 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7755 * minibuffer.el: Add support for completion of quoted/escaped data.
7756 (completion-table-with-quoting, completion-table-subvert): New funs.
7757 (completion--twq-try, completion--twq-all): New functions.
7758 (completion--nth-completion): New function.
7759 (completion-try-completion, completion-all-completions): Use it.
7761 2012-04-25 Leo Liu <sdl.web@gmail.com>
7763 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7764 Use compilation-message if available to find real filename.
7766 2012-04-25 Chong Yidong <cyd@gnu.org>
7768 * vc/diff-mode.el (diff-setup-whitespace): New function.
7769 (diff-mode): Use it.
7771 * vc/diff.el (diff-sentinel):
7772 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7773 Whitespace mode variables based on diff style (Bug#8612).
7775 2012-04-25 Leo Liu <sdl.web@gmail.com>
7777 * progmodes/python.el (python-send-region): Add suffix .py to the
7780 * files.el (auto-mode-alist): Use javascript-mode instead.
7782 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7784 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7786 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7787 (soap-resolve-references-for-array-type): Hack to prevent self
7788 references, see Bug#9.
7789 (soap-parse-envelope): Report the contents of the 'detail' node
7790 when receiving a fault reply.
7791 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7793 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7794 (soap-inspect-simple-type): New function.
7796 * net/soap-client.el (soap-simple-type): New struct.
7797 (soap-default-xsd-types, soap-default-soapenc-types)
7798 (soap-decode-basic-type, soap-encode-basic-type):
7799 support unsignedInt and double basic types.
7800 (soap-resolve-references-for-simple-type)
7801 (soap-parse-simple-type, soap-encode-simple-type): New function.
7802 (soap-parse-schema): Parse xsd:simpleType declarations.
7804 * net/soap-client.el (soap-default-xsd-types)
7805 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7806 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7807 the local name of "soapenc:Array".
7808 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7809 decoding integer, byte and anyURI xsd types.
7811 2012-04-25 Chong Yidong <cyd@gnu.org>
7813 * cus-edit.el (custom-buffer-create-internal): Update header text.
7815 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7817 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7818 settings on 'system-type', not on 'window-system'. On MS-Windows,
7819 set interactive-mode on in GDB.
7821 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7823 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7824 (ruby-syntax-propertize-regexp): Remove.
7825 (ruby-syntax-propertize-function): Split regexp into chunks.
7826 Match following code directly.
7828 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7830 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7831 (ruby-syntax-propertize-regexp): New function.
7832 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7833 by a special keyword.
7835 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7836 (ruby-syntax-general-delimiters-goto-beg)
7837 (ruby-syntax-propertize-general-delimiters): New functions.
7838 (ruby-syntax-propertize-function): Use them to handle GDL.
7839 (ruby-font-lock-keywords): Move old handling of GDL...
7840 (ruby-font-lock-syntactic-keywords): .. to here.
7841 (ruby-calculate-indent): Adjust indentation for GDL.
7843 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7845 * notifications.el (top): Remove unneeded declarations.
7846 (notifications-specification-version): Change to "1.2".
7847 (notifications-interface, notifications-notify-method)
7848 (notifications-close-notification-method): Fix docstring.
7849 (notifications-get-capabilities-method): New defconst.
7850 (notifications-notify): Add :action-items, :resident and
7851 :transient hints. Change "image_data" to "image-data" and
7852 "image_path" to "image-path".
7853 (notifications-get-capabilities): New defun.
7855 2012-04-24 Leo Liu <sdl.web@gmail.com>
7857 * progmodes/python.el: Move hideshow setup to the end.
7859 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7861 * window.el (handle-select-window): Clear echo area since this is
7862 no more done by read_char (Bug#11304).
7864 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7866 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7867 and `/ M' to filter-derived-mode.
7868 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7869 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7870 (ibuffer-mark-by-mode): Use default rather than initial-input.
7871 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7873 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7875 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7876 (ibuffer-filter-by-derived-mode): New filter.
7877 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7879 2012-04-23 Andreas Politz <politza@fh-trier.de>
7881 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7883 2012-04-23 Chong Yidong <cyd@gnu.org>
7885 * cus-edit.el (customize-apropos, customize-apropos-options):
7886 Disable matching of non-option variables (Bug#11176).
7887 (customize-option, customize-option-other-window)
7888 (customize-changed-options): Doc fix.
7889 (customize-apropos-options, customize-apropos-faces)
7890 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7892 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7893 Fix word list splitting (Bug#11132).
7894 (apropos-symbol, apropos-keybinding, apropos-label)
7895 (apropos-property, apropos-function-button)
7896 (apropos-variable-button, apropos-misc-button): New faces.
7897 (apropos-symbol-face, apropos-keybinding-face)
7898 (apropos-label-face, apropos-property-face, apropos-match-face):
7899 Variables removed (Bug#8396).
7900 (apropos-library-button, apropos-format-plist, apropos-print)
7901 (apropos-print-doc, apropos-describe-plist): Callers changed.
7903 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7905 * net/xesam.el (xesam-mode-map): Use let-bound map in
7906 initialization. (Bug#11292)
7908 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7910 Preserve ispell session localwords when switching back to
7913 * textmodes/ispell.el (ispell-buffer-session-localwords):
7914 New buffer-local variable to hold buffer session localwords.
7915 (ispell-kill-ispell): Add option 'clear to delete session
7917 (ispell-command-loop, ispell-change-dictionary)
7918 (ispell-buffer-local-words): Preserve session localwords when
7921 * textmodes/flyspell.el (flyspell-process-localwords)
7922 (flyspell-do-correct): Preserve session localwords when needed.
7924 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7926 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7927 using obsolete `translation-table-for-input'.
7928 (ispell-word, ispell-process-line, ispell-complete-word):
7929 Use plain `insert' instead of removed `ispell-insert-word'.
7931 2012-04-22 Chong Yidong <cyd@gnu.org>
7933 * cus-edit.el (custom-variable-menu)
7934 (custom-variable-reset-saved, custom-face-menu)
7935 (custom-face-reset-saved): If there is no saved value, make the
7936 "reset-saved" operation bring back the default (Bug#9509).
7937 (custom-face-state): Properly detect themed faces.
7939 * faces.el (face-spec-set): Stop supporting deprecated form of
7942 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7944 Move functions from C to Lisp. Make non-blocking method calls
7945 the default. Implement further D-Bus standard interfaces.
7947 * net/dbus.el (dbus-message-internal): Declare function.
7948 Remove unneeded function declarations.
7949 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7950 (dbus-message-type-method-return, dbus-message-type-error)
7951 (dbus-message-type-signal): Declare variables. Remove local
7953 (dbus-interface-dbus, dbus-interface-peer)
7954 (dbus-interface-introspectable, dbus-interface-properties)
7955 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7957 (dbus-interface-objectmanager): New defconst.
7958 (dbus-call-method, dbus-call-method-asynchronously)
7959 (dbus-send-signal, dbus-method-return-internal)
7960 (dbus-method-error-internal, dbus-register-service)
7961 (dbus-register-signal, dbus-register-method): New defuns, moved
7963 (dbus-call-method-handler, dbus-setenv)
7964 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7966 (dbus-call-method-non-blocking): Make it an obsolete function.
7967 (dbus-unregister-object, dbus-unregister-service)
7968 (dbus-handle-event, dbus-register-property)
7969 (dbus-property-handler): Obey the new structure of
7970 `bus-registered-objects'.
7971 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7972 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7973 Use `dbus-call-method'.
7975 2012-04-22 Chong Yidong <cyd@gnu.org>
7977 * cus-edit.el (custom-commands, custom-reset-menu)
7978 (Custom-reset-standard): Tweak labels.
7979 (custom-reset-button-menu): Change default to t.
7980 (custom-buffer-create-internal): For the custom-reset-button-menu
7981 case, put the revert button first.
7982 (custom-group-subtitle): New face.
7983 (custom-group-value-create): Align docstring to a specific column.
7985 * wid-edit.el (widget-documentation-link-add): Don't handle
7986 indentation in this function.
7987 (widget-documentation-string-indent-to): New function.
7988 (widget-documentation-string-value-create): Use it.
7990 * autorevert.el (auto-revert):
7991 * epg-config.el (epg):
7992 * ibuffer.el (ibuffer):
7995 * eshell/eshell.el (eshell):
7996 * net/ange-ftp.el (ange-ftp):
7997 * progmodes/ebnf2ps.el (postscript):
7998 * progmodes/flymake.el (flymake):
7999 * progmodes/prolog.el (prolog):
8000 * progmodes/verilog-mode.el (verilog-mode):
8001 * progmodes/which-func.el (which-func):
8002 * term/xterm.el (xterm):
8003 * textmodes/picture.el (picture):
8004 * textmodes/tildify.el (tildify):
8005 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8006 customization buffers.
8008 2012-04-22 Alan Mackenzie <acm@muc.de>
8010 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8011 Adding a ) can hide the resulting (..) from searches. Fix it.
8012 Bound the backward search to the position of the existing (.
8014 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8016 * progmodes/verilog-mode.el (verilog-mode): Check whether
8017 which-func-modes is t before adding verilog-mode.
8018 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8020 2012-04-21 Leo Liu <sdl.web@gmail.com>
8022 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8024 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8026 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8027 filling of the last column of a table (Bug#5635).
8028 (woman-find-next-control-line): New arg, specifying an additional
8029 regexp component for the control line.
8030 (woman2-roff-buffer): Use it.
8031 (woman-break-table): New function.
8032 (woman2-TS): Use it.
8034 2012-04-21 Chong Yidong <cyd@gnu.org>
8036 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8037 (woman-horizontal-escapes, woman-negative-vertical-space)
8038 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8039 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8041 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8043 * minibuffer.el (completion-file-name-table): Complete user names.
8045 2012-04-20 Leo Liu <sdl.web@gmail.com>
8047 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8050 2012-04-20 Chong Yidong <cyd@gnu.org>
8052 * server.el (server-execute): Respect initial-buffer-choice if it
8053 is a string and there are no files to open (Bug#2825).
8054 (server-create-window-system-frame, server-create-tty-frame):
8055 Don't switch buffers here.
8056 (server-process-filter): Only try to open a window system frame if
8057 compiled with graphical support (Bug#8314).
8059 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8061 * battery.el (battery-echo-area-format): Display remaining time
8062 for sysfs backend too (Bug#11269).
8063 (battery-linux-sysfs): Fix conditional for the charge.
8065 2012-04-20 Chong Yidong <cyd@gnu.org>
8067 * progmodes/gdb-mi.el (gdb): Revert previous change.
8068 (gdb-inferior-io--init-proc): New function.
8069 (gdb-init-1): Use it.
8070 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8071 responsible for allocating a new pty and hooking it to gdb when
8072 the old pty gets an EIO due to process exit.
8073 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8074 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8075 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8077 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8079 * window.el (window-min-size, window-sizable, window-min-delta)
8080 (window-max-delta, window--resizable, window-resizable)
8081 (window-total-size, window-full-height-p, window-full-width-p)
8082 (window-in-direction, window--resize-mini-window, window-resize)
8083 (window--resize-child-windows-normal)
8084 (window--resize-child-windows, window--resize-siblings)
8085 (window--resize-this-window, adjust-window-trailing-edge)
8086 (enlarge-window, shrink-window): Doc fixes.
8088 2012-04-20 Chong Yidong <cyd@gnu.org>
8090 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8091 New function to call delete-process on the gdb-inferior buffer's pty.
8092 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8093 pty process (Bug#11273).
8094 (gdb-update): New arg to suppress talking to the gdb process.
8095 (gdb-done-or-error): Use it.
8096 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8097 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8098 sentinel not being called.
8100 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8102 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8104 2012-04-20 Glenn Morris <rgm@gnu.org>
8106 * net/network-stream.el (open-network-stream): Doc fix.
8108 2012-04-20 Chong Yidong <cyd@gnu.org>
8110 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8112 2012-04-20 Alan Mackenzie <acm@muc.de>
8114 Ensure searching for keywords is case sensitive.
8116 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8117 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8118 (c-defun-name, c-mark-function, c-cpp-define-name)
8119 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8120 (c-context-line-break): Bind case-fold-search to nil.
8122 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8123 Bind case-fold-search to nil.
8125 2012-04-20 Chong Yidong <cyd@gnu.org>
8127 * mail/sendmail.el (mail-bury): Call return action with the right
8128 Rmail buffer (Bug#11242).
8130 * server.el (server-process-filter): Handle corner case where both
8131 tty and nowait options are present (Bug#11102).
8133 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8135 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8136 (top level): Put into the executable the ident-style '$Id:' tag on
8139 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8141 * electric.el (electric-indent-post-self-insert-function): Check that
8142 electric-indent-mode is enabled in current buffer.
8144 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8146 * imenu.el (imenu-progress-message): Restore; it is "used" in
8147 erc/erc-imenu.el and net/snmp-mode.el.
8149 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8151 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8152 (mouse-avoidance-nudge-mouse): Remove unused binding.
8154 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8156 * descr-text.el (describe-char):
8157 * progmodes/python.el (python-describe-symbol):
8158 Don't call `toggle-read-only', set `buffer-read-only'.
8160 * imenu.el (imenu-default-goto-function): Mark unused args.
8161 (imenu-progress-message): Remove obsolete macro; all callers changed.
8163 * subr.el (keymap-canonicalize): Remove unused binding.
8164 (read-passwd): Mark unused arg.
8166 * tutorial.el (tutorial--display-changes): Remove unused binding.
8167 (tutorial--save-tutorial-to): Remove unused variable.
8169 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8170 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8171 (package-generate-autoloads, package-menu--generate)
8172 (package-menu--find-upgrades): Remove unused bindings.
8174 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8175 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8176 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8177 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8178 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8179 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8180 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8181 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8182 (cua-delete-char-rectangle): Mark unused args.
8183 (cua-align-rectangle): Remove unused binding.
8185 * mail/rmail.el (compilation--message->loc)
8186 (epa--find-coding-system-for-mime-charset): Declare.
8188 * net/dbus.el (dbus-register-service): Declare.
8189 (dbus-name-owner-changed-handler): Remove unused binding.
8191 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8192 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8193 (nxml-scan-backward-within): Mark unused arg.
8194 (nxml-dynamic-markup-word): Remove unused binding.
8196 * mouse.el (mouse-menu-major-mode-map):
8197 * emacs-lisp/authors.el (authors-scan-change-log)
8198 (authors-add-to-author-list):
8199 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8200 * emacs-lisp/smie.el (smie-auto-fill):
8201 * mail/sendmail.el (mail-bury):
8202 * mail/unrmail.el (unrmail):
8203 * net/tls.el (open-tls-stream):
8204 * textmodes/picture.el (picture-mouse-set-point):
8205 Remove unused bindings.
8207 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8209 * net/tramp.el (tramp-action-password): Let-bind
8210 `enable-recursive-minibuffers' to t.
8212 2012-04-18 Sam Steingold <sds@gnu.org>
8214 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8215 instead of 'string to accommodate values like [f11].
8216 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8217 * progmodes/gdb-mi.el: Likewise.
8219 2012-04-18 Leo Liu <sdl.web@gmail.com>
8221 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8223 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8226 2012-04-18 Chong Yidong <cyd@gnu.org>
8228 * simple.el (line-move): Use forward-line if in batch mode
8231 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8233 * files.el (after-find-file): Do not try to add a final newline if
8234 the buffer is read-only (Bug#11156).
8236 2012-04-17 Richard Stallman <rms@gnu.org>
8238 * mail/rmail.el (rmail-start-mail):
8239 Pass (rmail-mail-return...) for the return-action.
8240 Pass (rmail-yank-current-message...) for the yank-action.
8241 (rmail-yank-current-message): New function.
8242 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8243 (rmail-reply): Likewise.
8244 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8246 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8247 buffer, not the last. Reject temp buffers. Use the rmail-mode
8250 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8252 * server.el (server-ensure-safe-dir): Simplify.
8254 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8256 * emacs-lisp/smie.el: Provide smarter auto-filling.
8257 (smie-auto-fill): New function.
8258 (smie-setup): Use it.
8260 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8262 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8264 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8265 (comment-indent): Use it.
8267 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8269 * ses.el: The overall change is to add cell renaming, that is
8270 setting fancy names for cell symbols other than name matching
8271 "\\`[A-Z]+[0-9]+\\'" regexp .
8272 (ses-localvars): Add ses--renamed-cell-symb-list.
8273 (ses-create-cell-variable): New defun.
8274 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8275 (ses-relocate-formula): Relocate formulas only for cells the
8276 symbols of which are not renamed, i.e. symbols whose names do not
8277 match regexp "\\`[A-Z]+[0-9]+\\'".
8278 (ses-relocate-all): Relocate values only for cells the symbols of
8279 which are not renamed.
8280 (ses-load): Create cells variables as the (ses-cell ...) are read,
8281 in order to check row col consistency with cell symbol name only
8282 for cells that are not renamed.
8283 (ses-replace-name-in-formula): New defun.
8284 (ses-rename-cell): New defun.
8286 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8288 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8289 New option (bug#11118).
8290 (perl-calculate-indent): Respect it.
8292 2012-04-17 Glenn Morris <rgm@gnu.org>
8294 * dired-aux.el (dired-mark-read-string): Doc fix.
8296 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8298 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8299 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8301 2012-04-17 Glenn Morris <rgm@gnu.org>
8303 * mouse.el (mouse-drag-track):
8304 * speedbar.el (speedbar-frame-mode):
8305 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8307 2012-04-16 Leo Liu <sdl.web@gmail.com>
8309 * progmodes/python.el: Trivial cleanup.
8311 2012-04-16 Glenn Morris <rgm@gnu.org>
8313 * vc/vc.el (vc-string-prefix-p):
8314 * vc/pcvs-util.el (cvs-string-prefix-p):
8315 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8316 * mpc.el (mpc-string-prefix-p):
8317 Make all of these into obsolete aliases for string-prefix-p.
8319 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8321 * textmodes/two-column.el: Move custom options to the start.
8322 (frame-width): Remove compat definition.
8323 (2C-associate-buffer, 2C-dissociate):
8324 Use with-current-buffer rather than save-excursion.
8325 (2C-dissociate): Force a mode-line update.
8326 (2C-autoscroll): Use ignore-errors.
8328 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8331 * emacs-lisp/cl-extra.el (*random-state*):
8332 Remove unnecessary declaration.
8334 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8336 * play/cookie1.el (cookie-snarf):
8337 Give an explicit error if input file cannot be read.
8339 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8341 * progmodes/perl-mode.el (c-macro-expand):
8342 Remove unnecessary autoload (it is in loaddefs.el).
8344 * textmodes/picture.el (picture-desired-column)
8345 (picture-update-desired-column): Convert comments to doc-strings.
8346 (picture-substitute): Remove function.
8347 (picture-mode-map): Initialize in the defvar.
8349 * woman.el: Remove eval-after-load for tar-mode.
8350 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8351 (woman-tar-extract-file): Autoload it.
8353 * frame.el (automatic-hscrolling): Make this alias obsolete.
8355 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8357 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8358 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8359 (ispell-dictionary-base-alist): Revert to original XEmacs
8360 friendly version for default. [:alpha:] will be added in
8361 `ispell-set-spellchecker-params' if needed.
8363 2012-04-16 Chong Yidong <cyd@gnu.org>
8365 * image.el (imagemagick--file-regexp): New variable.
8366 (imagemagick-register-types): Use it.
8367 (imagemagick-types-inhibit): Add :set function. Allow new value
8368 of t to inhibit all types.
8370 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8371 so we can preload it.
8373 * loadup.el (fboundp): Preload regexp-opt, needed by
8374 imagemagick-register-types.
8376 2012-04-15 Chong Yidong <cyd@gnu.org>
8378 * frame.el (scrolling): Remove nearly unused customization group.
8380 * scroll-all.el (scroll-all-mode): Move to windows group.
8382 2012-04-15 Chong Yidong <cyd@gnu.org>
8384 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8386 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8388 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8389 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8391 2012-04-15 Glenn Morris <rgm@gnu.org>
8393 * simple.el (process-file-side-effects): Doc fix.
8395 2012-04-15 Glenn Morris <rgm@gnu.org>
8397 * international/mule-cmds.el (set-language-environment): Doc fix.
8399 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8401 * server.el (server-auth-key, server-generate-key): Doc fixes.
8402 (server-get-auth-key): Doc fix. Use `string-match-p'.
8403 (server-start): Reflow docstring.
8405 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8407 * server.el (server-generate-key): `called-interactively-p'
8408 requires a parameter.
8410 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8412 * server.el (server-auth-key): New variable.
8413 (server-generate-key, server-get-auth-key): New function.
8414 (server-start): Use the new variable and functions to allow
8415 setting a permanent server key (bug#9423).
8417 2012-04-14 Leo Liu <sdl.web@gmail.com>
8419 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8421 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8424 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8425 Emacs uses American spelling.
8427 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8429 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8430 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8431 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8432 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8434 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8436 * progmodes/which-func.el (which-func-modes): Change default.
8438 2012-04-14 Kim F. Storm <storm@cua.dk>
8440 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8441 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8443 2012-04-14 Chong Yidong <cyd@gnu.org>
8445 * custom.el (custom-theme-set-variables): Doc fix.
8447 2012-04-14 Glenn Morris <rgm@gnu.org>
8449 * international/mule.el (set-auto-coding-for-load): Doc fix.
8451 2012-04-14 Alan Mackenzie <acm@muc.de>
8453 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8454 imenu work again for Objective C Mode. Correct the *-index values,
8455 these having been disturbed by a previous change in 2011-08.
8457 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8458 Correct two search limits.
8460 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8462 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8464 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8466 * international/characters.el: Fix sorting.
8468 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8470 * international/characters.el: Add more missing Latin case pairs.
8472 2012-04-14 Glenn Morris <rgm@gnu.org>
8474 * files.el (dir-locals-set-class-variables): Doc fix.
8476 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8478 * international/characters.el: Add set-case-syntax-pair call for
8479 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8480 counterpart. (Bug#11209)
8482 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8484 2012-04-14 Glenn Morris <rgm@gnu.org>
8486 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8488 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8490 * textmodes/ispell.el (ispell-dictionary-base-alist):
8491 Add data for Hebrew.
8493 2012-04-14 Chong Yidong <cyd@gnu.org>
8495 * net/rcirc.el (rcirc-cmd-quit):
8496 Revert 2012-03-18 change (Bug#11192).
8498 2012-04-14 Glenn Morris <rgm@gnu.org>
8500 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8502 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8504 * minibuffer.el (completion-in-region-mode-map):
8505 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8507 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8509 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8511 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8513 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8514 to allow `C-M-f' and `C-M-b' to move to the nearest path
8515 separator (bug#9511).
8517 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8519 * avoid.el: Require cl when compiling. And also move the
8520 `provide' to the end.
8522 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8524 * avoid.el (mouse-avoidance-banish-position): New variable.
8525 (mouse-avoidance-banish-destination): Use it (bug#10165).
8527 2012-04-13 Leo Liu <sdl.web@gmail.com>
8529 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8531 2012-04-13 Ken Brown <kbrown@cornell.edu>
8533 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8534 this is no longer needed now that cygstart understands file:// URLs.
8535 (browse-url-filename-alist): For the same reason, don't modify
8536 file:// URLs on Cygwin.
8538 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8540 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8541 the region on shift if the binding is already shifted (bug#11221).
8543 2012-04-12 Glenn Morris <rgm@gnu.org>
8545 * mail/mailpost.el: Move to obsolete/.
8547 2012-04-12 Drew Adams <drew.adams@oracle.com>
8549 * imenu.el (imenu--generic-function): Ignore invisible definitions
8552 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8554 * hexl.el (hexl-bits): New variable.
8555 (hexl-options): Mention the variable in the doc string.
8556 (hexl-rulerise, hexl-line-displen): New functions.
8557 (hexl-mode): Mention the new variable.
8558 (hexl-mode, hexl-current-address, hexl-current-address):
8560 (hexl-ascii-start-column): New function.
8561 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8562 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8564 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8566 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8567 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8568 the encoding, as expected by hunspell.
8570 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8572 * battery.el (battery--linux-sysfs-regexp): New const.
8573 (battery-status-function): Use it. Remove yeeloong special case.
8574 (battery-yeeloong-sysfs): Remove.
8575 (battery-echo-area-format): Remove yeeloong special case.
8577 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8579 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8580 Reported by Noah Friedman.
8582 * subr.el (read-passwd): Use read-string.
8584 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8586 * vcursor.el (vcursor-move): Increase the priority of the overlay
8589 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8591 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8592 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8594 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8596 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8597 define-minor-mode (bug#10760).
8599 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8601 * progmodes/grep.el (rgrep): Tweak the find command line so
8602 that directories matching `grep-find-ignored-files' won't be
8605 2012-04-11 Chong Yidong <cyd@gnu.org>
8607 * startup.el (command-line): Remove support for long-obsolete
8608 variable font-lock-face-attributes.
8610 2012-04-11 Glenn Morris <rgm@gnu.org>
8612 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8614 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8616 * window.el (window--state-get-1): Obey window-point-insertion-type.
8618 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8620 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8621 to previous function when point is on the first character of a
8622 function. Take care of that in `narrow-to-defun' (bug#6157).
8624 2012-04-11 Glenn Morris <rgm@gnu.org>
8626 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8627 not just file-errors.
8629 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8630 (vc-bzr-sha1): Use internal sha1.
8632 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8634 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8636 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8638 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8639 that start in the middle of the line (bug#10496).
8641 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8643 * battery.el (battery-linux-proc-acpi): Only one battery is
8644 discharged at a time, but that seems to confuse battery.el when
8645 computing `rate-type' for the battery not being discharged
8648 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8650 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8652 * international/quail.el: Use dolist and simplify.
8653 (quail-define-package, quail-update-keyboard-layout)
8654 (quail-define-rules): Use dolist.
8655 (quail-insert-kbd-layout, quail-get-translation): CSE.
8657 * tmm.el: Use dolist, remove left over hook.
8658 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8660 (calendar-load-hook): Don't mess with it.
8662 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8663 Use derived-mode-p. Run the diff asynchronously.
8665 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8667 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8669 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8671 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8672 (list-dynamic-libraries--loaded): New function.
8673 (list-dynamic-libraries--refresh): Use it.
8675 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8677 * progmodes/python.el (python-fill-paragraph):
8678 Make python-fill-region in a multiline string work when font-lock is
8679 disabled (bug#7018).
8681 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8683 * language/european.el (cp775): Add oem/legacy (en)coding on
8684 DOS/MS Windows for the Baltic languages. There are still plenty
8685 of texts written in this encoding/codepage (bug#6519).
8687 2012-04-10 Glenn Morris <rgm@gnu.org>
8689 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8690 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8692 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8694 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8695 next-line "n" and previous-line "p" in order to make recentf more
8696 consistent with ibuffer, dired or org-mode (bug#9387).
8698 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8700 * image.el (put-image): Return the overlay created instead of the
8701 optional input string (bug#7834). Note that this may break code
8702 that is (for some reason or other) depending on `put-image'
8703 returning the string.
8705 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8707 * simple.el (zap-to-char): Allow zapping using input methods
8710 * textmodes/fill.el (fill-region): Leave point and mark where they
8711 were before filling (bug#5399).
8713 2012-04-09 Glenn Morris <rgm@gnu.org>
8715 * version.el (emacs-bzr-get-version):
8716 Handle lightweight checkouts of local branches.
8718 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8720 * international/characters.el: Recover lost case pairs. (Bug#11209)
8722 2012-04-09 Chong Yidong <cyd@gnu.org>
8724 * custom.el (custom-variable-p): Return nil for non-symbol
8725 arguments instead of signaling an error.
8726 (user-variable-p): Obsolete alias for custom-variable-p.
8728 * apropos.el (apropos-variable):
8729 * files-x.el (read-file-local-variable):
8730 * simple.el (set-variable):
8731 * woman.el (woman-mini-help):
8732 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8734 2012-04-09 Glenn Morris <rgm@gnu.org>
8736 * startup.el (normal-top-level): Don't look for leim-list.el
8737 in places where it will not be found. (Bug#910)
8739 * international/mule-cmds.el (set-default-coding-systems):
8740 * files.el (normal-mode):
8741 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8742 This function was removed with ucs-tables.el in 2008.
8744 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8746 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8747 ispell-encoding8-command to "-i", without a trailing space.
8748 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8749 separate command-line arguments, to specify the encoding, since
8750 that's how hunspell expects it.
8752 2012-04-08 Glenn Morris <rgm@gnu.org>
8754 * loadup.el: Load bindings before cus-start.
8755 This reduces somewhat the number of "rogue" settings in emacs -Q.
8757 2012-04-07 Glenn Morris <rgm@gnu.org>
8759 * version.el (emacs-bzr-get-version): New function.
8760 (emacs-bzr-version): New variable.
8761 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8762 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8764 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8766 * international/uni-bidi.el, international/uni-category.el:
8767 * international/uni-combining.el, international/uni-decimal.el:
8768 * international/uni-decomposition.el, international/uni-digit.el:
8769 * international/uni-lowercase.el, international/uni-mirrored.el:
8770 * international/uni-name.el, international/uni-numeric.el:
8771 * international/uni-titlecase.el, international/uni-uppercase.el:
8772 Update for Unicode 6.1.
8774 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8776 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8778 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8780 * window.el (shrink-window): Mention the `window-min-height'
8781 variable in the doc string.
8783 2012-04-05 Bastien Guerry <bzg@altern.org>
8785 * color.el (color-lighten-name): Fix typo.
8787 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8789 * server.el (server--on-display-p): New function.
8790 (server--on-display-p): Use it.
8792 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8794 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8797 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8799 * comint.el (comint--common-quoted-suffix): Check string boundary
8800 before comparing (bug#11158).
8801 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8803 2012-04-04 Chong Yidong <cyd@gnu.org>
8805 * minibuffer.el (completion-extra-properties): Doc fix.
8807 * subr.el (delayed-warnings-hook): Doc fix.
8809 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8811 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8812 selection (Bug#11159).
8813 (epa-insert-keys): Inform that the default public key will be
8814 exported if no key is selected.
8816 2012-04-04 Richard Stallman <rms@gnu.org>
8818 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8820 2012-04-03 Chong Yidong <cyd@gnu.org>
8822 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8823 mail-insert-file, not its obsolete alias mail-attach-file.
8825 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8827 * notifications.el (notifications-notify): Fix docstring.
8829 2012-04-02 Glenn Morris <rgm@gnu.org>
8831 * emacs-lisp/authors.el (authors-aliases): Another addition.
8833 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8835 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8836 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8837 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8839 2012-04-01 Chong Yidong <cyd@gnu.org>
8841 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8842 Handle root directory properly.
8843 (copy-directory): Caller changed.
8845 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8846 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8848 2012-03-31 Glenn Morris <rgm@gnu.org>
8850 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8852 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8854 * calendar/calendar.el (calendar-window-list)
8855 (calendar-hide-window): Restore. (Bug#11140)
8856 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8858 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8860 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8862 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8863 Check if file is a symlink (Bug#10489).
8865 * files.el (copy-directory): Likewise.
8867 2012-03-30 Chong Yidong <cyd@gnu.org>
8869 * image.el (imagemagick-types-inhibit)
8870 (imagemagick-register-types): Doc fix.
8872 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8874 * textmodes/ispell.el (ispell-get-extended-character-mode):
8875 Disable extended-char-mode for hunspell. hunspell does not support it
8876 and treats ~word as ordinary words in pipe mode.
8878 2012-03-30 Glenn Morris <rgm@gnu.org>
8880 * tutorial.el (help-with-tutorial): Ensure local variables don't
8881 happen to make the buffer read-only. (Bug#11127)
8883 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8885 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8886 (perl-calculate-indent): Return `noindent' in strings.
8888 2012-03-28 Sam Steingold <sds@gnu.org>
8890 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8891 instead of the broken adhockery which does not prevent calendar
8892 buffers from being displayed at random after exit.
8893 (calendar-window-list, calendar-hide-window): Remove the broken
8896 2012-03-28 Glenn Morris <rgm@gnu.org>
8898 * replace.el (query-replace-map): Doc fix.
8900 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8902 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8903 contents. (Bug#11109)
8905 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8907 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8909 (avl-tree--check, avl-tree--check-node): New funs.
8911 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8913 * window.el (switch-to-visible-buffer): New option.
8914 (switch-to-prev-buffer, switch-to-next-buffer):
8915 Observe switch-to-visible-buffer. Make sure that checking for a window
8916 showing a buffer already is done on the same frame.
8918 2012-03-27 Glenn Morris <rgm@gnu.org>
8920 * startup.el (mail-host-address): Doc fix.
8922 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8924 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8927 2012-03-26 Ami Fischman <ami@fischman.org>
8929 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8931 2012-03-26 Glenn Morris <rgm@gnu.org>
8933 * files.el (save-buffers-kill-emacs): Doc fix.
8935 * startup.el (normal-top-level, command-line, command-line-1):
8936 Give them doc strings.
8938 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8940 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8941 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8943 2012-03-25 Chong Yidong <cyd@gnu.org>
8945 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8946 theme if it was previously enabled before (Bug#11031).
8948 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8949 spec with custom-face-get-current-spec if its :shown-value is not
8950 determined yet (Bug#9337).
8951 (customize-create-theme, custom-theme-revert): Doc fixes.
8953 * button.el (button-at): Minor addition to docstring.
8955 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8957 * vc/vc.el (vc-merge): Fix a prompt.
8959 2012-03-24 Chong Yidong <cyd@gnu.org>
8961 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8964 * button.el (button-at): Minor addition to docstring.
8966 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8968 * newcomment.el (comment-choose-indent): No space after BOL.
8970 2012-03-22 Sam Steingold <sds@gnu.org>
8972 * window.el (switch-to-prev-buffer): Revert last patch because the
8973 bug turned out to be an advertised feature (Elisp manual 28.14).
8975 2012-03-22 Glenn Morris <rgm@gnu.org>
8977 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8978 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8980 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8982 * net/network-stream.el (network-stream-open-starttls): Make error
8983 message under Windows be less misleading.
8985 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8987 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8988 understands (bug#9942).
8990 2012-03-22 Chong Yidong <cyd@gnu.org>
8992 * simple.el (end-of-visible-line): Handle return value of
8993 next-single-property-change properly (Bug#9371).
8995 2012-03-22 Kenichi Handa <handa@m17n.org>
8997 * international/quail.el (quail-insert-kbd-layout): Fix previous
8998 change. To avoid unwanted bidi reordering, use
8999 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9001 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9003 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9004 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9005 (ruby-beginning-of-indent): Be more careful with the difference
9006 between word-boundary and symbol boundary.
9007 (ruby-mode-syntax-table): Make : a symbol constituent.
9009 2012-03-21 Andreas Politz <politza@fh-trier.de>
9011 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9013 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9015 * progmodes/etags.el (tags-completion-at-point-function):
9018 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9020 2012-03-21 Sam Steingold <sds@gnu.org>
9022 * progmodes/etags.el (tags-completion-at-point-function):
9023 Avoid the error when point is inside the pattern.
9025 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9027 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9030 2012-03-21 Drew Adams <drew.adams@oracle.com>
9032 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9034 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9036 * ido.el (ido-set-current-directory, ido-read-internal)
9037 (ido-choose-completion-string, ido-completion-help): Handle nil
9038 value of ido-completion-buffer (Bug#11008).
9040 2012-03-21 Sam Steingold <sds@gnu.org>
9042 * window.el (switch-to-prev-buffer): Do not switch to a visible
9043 window previous buffer, just like with the frame previous buffers.
9045 2012-03-21 Chong Yidong <cyd@gnu.org>
9047 * faces.el (make-face, make-empty-face, copy-face):
9048 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9051 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9053 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9054 (widget-complete): Remove broken use of it.
9056 2012-03-20 Chong Yidong <cyd@gnu.org>
9058 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9059 Use string-width and truncate-string-width to handle arbitrary
9062 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9064 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9065 to draw rectangles, not squares. (Regression introduced by revno
9066 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9068 2012-03-18 Chong Yidong <cyd@gnu.org>
9070 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9071 it is not yet defined (for temacs).
9073 2012-03-18 Leo Liu <sdl.web@gmail.com>
9075 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9078 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9080 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9081 (ispell-choices-win-default-height, ispell-silently-savep)
9082 (ispell-dictionary-alist, ispell-encoding8-command)
9083 (ispell-check-version, ispell-aspell-find-dictionary)
9084 (ispell-valid-dictionary-list, ispell-words-keyword)
9085 (ispell-get-word, ispell-internal-change-dictionary)
9086 (ispell-region, ispell-skip-region-list)
9087 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9088 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9089 (ispell-message-text-end, ispell-message)
9090 (ispell-buffer-local-parsing): Doc fix.
9092 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9094 * htmlfontify.el: Add support for code block fontification for ODT
9096 (hfy-optimisations): Define new option
9098 (hfy-fontify-buffer): Honor above setting.
9099 (hfy-begin-span, hfy-end-span): New routines factored out form
9100 `hfy-fontify-buffer'.
9101 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9102 that permit insertion of custom tags.
9103 (hfy-fontify-buffer): Use above handlers.
9104 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9105 (hfy-face-to-css): Re-defined to be a variable.
9106 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9107 over multiple runs. This is made possible by having the caller let
9108 bind a special variable `hfy-user-sheet-assoc'.
9109 (htmlfontify-string): New defun.
9110 (hfy-compile-face-map): Make sure that the last char in the
9111 buffer is correctly fontified.
9112 (hfy-face-resolve-face): Whitespace only change.
9114 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9116 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9119 2012-03-16 Leo Liu <sdl.web@gmail.com>
9121 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9123 2012-03-16 Alan Mackenzie <acm@muc.de>
9125 Further optimise the handling of large macros.
9127 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9128 limit to a call of `c-literal-limits'.
9129 (c-determine-+ve-limit): New function.
9130 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9131 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9132 In CASE 5B, restrict a search limit to 500.
9133 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9135 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9136 Restrict macro bounds to +-500 from after-change's BEG END.
9138 2012-03-16 Leo Liu <sdl.web@gmail.com>
9140 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9142 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9144 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9145 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9147 2012-03-16 Glenn Morris <rgm@gnu.org>
9149 * view.el (view-buffer, view-buffer-other-window)
9150 (view-buffer-other-frame): Doc fixes re special mode-class.
9152 * subr.el (eval-after-load): If named feature is provided not from
9153 a file, run after-load forms. (Bug#10946)
9155 * calendar/calendar.el (calendar-insert-at-column):
9156 Handle non-unit-width characters a bit better. (Bug#10978)
9158 2012-03-15 Chong Yidong <cyd@gnu.org>
9160 * emacs-lisp/ring.el (ring-extend): New function.
9161 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9163 * comint.el (comint-read-input-ring)
9164 (comint-add-to-input-history): Grow comint-input-ring lazily.
9166 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9168 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9169 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9171 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9172 (imenu-add-to-menubar): Don't add a redundant index.
9173 (imenu-update-menubar): Handle a dynamically composed keymap.
9175 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9177 * mail/sendmail.el (mail-encode-header):
9178 Bind rfc2047-encode-encoded-words to nil.
9180 2012-03-13 Glenn Morris <rgm@gnu.org>
9182 * calendar/calendar.el (calendar-string-spread):
9183 Handle non-unit-width characters a bit better. (Bug#10978)
9185 2012-03-13 Leo Liu <sdl.web@gmail.com>
9187 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9188 directory and file as argument (Bug#10822).
9190 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9192 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9193 For dynamically generated code, follow $PC.
9194 (gdb-disassembly-handler-custom): Handle no function name case.
9196 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9198 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9199 * emulation/ws-mode.el (ws-query-replace):
9200 * sort.el (sort-regexp-fields):
9201 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9203 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9205 * dabbrev.el: Fix cycle completion order (bug#10963).
9206 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9207 (dabbrev-completion): Don't use an obarray; provide
9208 a cycle-sort-function.
9210 2012-03-12 Leo Liu <sdl.web@gmail.com>
9212 * simple.el (kill-new): Use equal-including-properties for comparison.
9213 (kill-do-not-save-duplicates): Doc fix.
9215 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9217 * dabbrev.el: Fix cycle completion (bug#10963).
9218 Use lexical binding and wrap to 80 columns.
9219 (dabbrev-completion): Delay computing the list of completions.
9221 2012-03-12 Kenichi Handa <handa@m17n.org>
9223 * international/quail.el (quail-insert-kbd-layout): Surround each
9224 row by LRO and PDF instead of inserting many LRMs. Pad the left
9225 and right of each non-spacing marks. Insert invisible space
9226 between lower and upper characters to prevent composition.
9228 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9230 * minibuffer.el (minibuffer-complete): Don't get confused when the
9231 function is run twice via different commands (bug#10958).
9232 (complete-with-action): Fix docstring.
9234 2012-03-12 Chong Yidong <cyd@gnu.org>
9236 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9237 (nxml-completion-at-point-function): New function.
9238 (nxml-mode): Use it.
9239 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9241 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9242 Load generated autoloads file before byte compiling (Bug#10970).
9243 (package--make-autoloads-and-compile): New helper fun.
9245 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9247 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9249 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9251 * autorevert.el (auto-revert-handler): Ensure, that
9252 file-readable-p is applied only for local files or in
9253 auto-revert-tail-mode.
9255 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9257 * server.el (server-eval-at): Handle non-tcp connections.
9258 Decode result string.
9260 * server.el (server-msg-size): New constant.
9261 (server-reply-print): New function.
9262 (server-eval-and-print): Use it.
9263 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9266 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9268 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9271 2012-03-11 Chong Yidong <cyd@gnu.org>
9273 * simple.el (goto-line): Doc fix (Bug#9938).
9275 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9277 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9278 when finished (Bug#10963).
9280 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9282 * window.el (split-window-below): Fix bug in case where
9283 split-window-keep-point is nil (Bug#10971).
9285 2012-03-11 Juri Linkov <juri@jurta.org>
9287 * replace.el (replace-highlight): Set isearch-word to nil
9288 unconditionally. (Bug#10887)
9290 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9292 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9293 mairix-replace-illegal-chars; all callers changed. Don't remove
9294 ^, ~, and = characters: they are meaningful in mairix search specs.
9295 (mairix-widget-create-query): Add usage information about mairix
9296 search forms: negating words, searching for substrings, etc.
9298 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9300 * international/fontset.el (font-encoding-alist): Add an entry for
9303 2012-03-10 Richard Stallman <rms@gnu.org>
9305 * mail/sendmail.el (mail-encode-header):
9306 Set rfc2047-encode-encoded-words.
9308 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9310 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9311 view buffer means not swapped.
9312 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9313 (rmail-write-region-annotate): Error if real text has disappeared.
9315 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9317 2012-03-10 Chong Yidong <cyd@gnu.org>
9319 * emulation/cua-rect.el (cua--init-rectangles):
9320 * emulation/cua-base.el (cua--init-keymaps):
9321 Add delete-forward-char to remappings (Bug#9666).
9323 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9325 * speedbar.el (speedbar-unhighlight-one-tag-line):
9326 Avoid unhighlighting due to frame switching (Bug#10275).
9328 2012-03-10 Chong Yidong <cyd@gnu.org>
9330 * minibuffer.el (completion-in-region, completion-help-at-point):
9331 Give the completion field overlay a high priority (Bug#6830).
9333 * dired.el (dired-goto-file): Recognize absolute file name
9334 listings (Bug#7126).
9335 (dired-goto-file-1): New helper function.
9336 (dired-toggle-read-only): Inhibit warnings.
9338 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9340 * net/dbus.el (dbus-property-handler): Return empty array if
9341 there are no properties.
9343 2012-03-09 Leo Liu <sdl.web@gmail.com>
9345 * savehist.el (savehist-printable): Stricter check for string
9348 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9350 * mail/smtpmail.el (smtpmail-send-it):
9351 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9354 2012-03-09 Glenn Morris <rgm@gnu.org>
9356 * files.el (dir-locals-find-file):
9357 Don't check result is regular, readable.
9358 (dir-locals-read-from-file): Demote errors.
9360 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9362 * international/quail.el (quail-insert-kbd-layout):
9363 Insert invisible LRM characters before each character in a keyboard
9364 layout cell, to prevent their reordering by bidi display engine.
9365 For details, see the discussion in
9366 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9368 2012-03-08 Alan Mackenzie <acm@muc.de>
9370 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9371 the starting position; make it extend the marked region when
9372 invoked repeatedly - all under appropriate circumstances.
9373 Fixes bugs #5525, #10906.
9375 2012-03-08 Glenn Morris <rgm@gnu.org>
9377 * files.el (locate-dominating-file, dir-locals-find-file):
9378 Undo 2012-03-06 change.
9380 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9382 * international/quail.el (quail-help):
9383 Force bidi-paragraph-direction be left-to-right. See discussion in
9384 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9387 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9389 Avoid superfluous registering of signals. (Bug#10807)
9391 * notifications.el (notifications-on-action-object)
9392 (notifications-on-close-object): New defvars.
9393 (notifications-on-action-signal, notifications-on-closed-signal):
9394 Unregister the signal if not needed any longer.
9395 (notifications-notify): Register `notifications-action-signal' or
9396 `notifications-closed-signal', if :on-action or :on-close has been
9399 2012-03-07 Chong Yidong <cyd@gnu.org>
9401 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9404 2012-03-06 Glenn Morris <rgm@gnu.org>
9406 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9407 (x-disown-selection-internal, x-get-selection-internal):
9408 Doc fix (add arglist signatures). (Bug#10783)
9410 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9412 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9413 Handle breakpoints with no "type".
9415 2012-03-06 Glenn Morris <rgm@gnu.org>
9417 * files.el (locate-dominating-file): Add optional predicate argument.
9418 (dir-locals-find-file): Make use of above change.
9420 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9422 * info.el (Info-insert-dir): Also try "dir.gz".
9424 2012-03-06 Glenn Morris <rgm@gnu.org>
9426 * files.el (dir-locals-find-file):
9427 Ignore non-readable or non-regular files. (Bug#10928)
9429 * files.el (locate-dominating-file): Doc fix.
9431 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9433 * calendar/calendar.el (calendar-set-mode-line):
9434 `getenv' returns a string. (Bug#10951)
9436 2012-03-05 Leo Liu <sdl.web@gmail.com>
9438 * simple.el (backward-delete-char-untabify): Constrain point to
9441 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9443 2012-03-05 Chong Yidong <cyd@gnu.org>
9445 * simple.el (count-words): If called from Lisp, return the word
9446 count, for symmetry with `count-lines'. Arglist changed.
9447 (count-words--message): Args changed. Consolidate counting code
9448 from count-words and count-words-region.
9449 (count-words-region): Caller changed.
9450 (count-lines-region): Make it an obsolete alias.
9452 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9454 * saveplace.el (save-place-to-alist)
9455 (save-place-ignore-files-regexp): Allow value nil to disable this
9458 2012-03-04 Chong Yidong <cyd@gnu.org>
9460 * faces.el (face-spec-reset-face): For the default face, reset the
9461 attributes to default values (Bug#10748).
9463 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9465 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9466 previous patch: Check `message-send-mail-function', and not the
9467 default function (bug#10897).
9469 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9471 * notifications.el (notifications-on-action-signal)
9472 (notifications-on-closed-signal): Check for unique service name of
9473 incoming event. Fix error in removing entry.
9474 (top): Register for signals with wildcard service name.
9475 (notifications-notify): Use daemon unique service name for map entries.
9477 2012-03-04 Chong Yidong <cyd@gnu.org>
9479 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9481 2012-03-04 Glenn Morris <rgm@gnu.org>
9483 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9484 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9485 (expand-abbrev, define-abbrev-table): Doc fixes.
9487 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9489 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9490 `message-default-send-mail-function' and not `send-mail-function'
9491 when doing the prompting for `sendmail-query-once' before sending
9492 in Message buffers (bug#10897).
9494 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9495 This is inconsistent with all the other stream functions, which leave
9496 the setting up to the higher levels (if so wanted) (bug#10931).
9498 2012-03-02 Alan Mackenzie <acm@muc.de>
9500 Depessimize the handling of very large macros.
9502 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9503 (c-macro-cache-syntactic): New variables to implement a one
9504 element macro cache.
9505 (c-invalidate-macro-cache): New function.
9506 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9507 Adapt to use the new cache.
9508 (c-state-safe-place): Use better the cache of safe positions.
9509 (c-state-semi-nonlit-pos-cache)
9510 (c-state-semi-nonlit-pos-cache-limit):
9511 New variables for...
9512 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9513 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9514 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9515 Use c-state-semi-safe-place.
9517 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9518 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9520 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9522 * jka-compr.el (jka-compr-call-process):
9523 Apply `file-accessible-directory-p' only when the default directory is
9526 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9528 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9529 access of FILE2, if FILE1 does not exist.
9531 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9532 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9534 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9535 Add "PAGER=" to `process-environment'.
9537 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9539 * progmodes/sql.el: Bug fix
9540 (sql-get-login-ext): Save login values in globals.
9541 (sql-get-login): Use new version of `sql-get-login-ext'.
9542 (sql-interactive-mode): Set global `sql-connection' to nil.
9543 (sql-connect): Set global values for connection.
9544 (sql-product-interactive): Save global values as buffer local.
9546 2012-02-29 Leo Liu <sdl.web@gmail.com>
9548 * abbrev.el (define-abbrevs): Reset sys to nil.
9550 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9552 * files.el (file-equal-p): Rename from `files-equal-p'.
9553 Return nil when one or both files don't exist.
9554 (file-subdir-of-p): Now only top directory must exists,
9555 return nil if it doesn't.
9556 (copy-directory): No need to test with `file-subdir-of-p' after
9558 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9561 2012-02-28 Glenn Morris <rgm@gnu.org>
9563 * shell.el (shell-mode):
9564 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9565 * play/landmark.el (landmark-font-lock-face-O):
9566 * play/handwrite.el (handwrite):
9567 * play/gomoku.el (gomoku-O):
9568 * net/browse-url.el (browse-url-browser-display):
9569 * international/mule.el (define-charset):
9570 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9571 * filesets.el (filesets-find-file-delay):
9572 * eshell/em-xtra.el (eshell-xtra):
9573 * eshell/em-unix.el (eshell-grep):
9574 * emulation/viper.el (viper-mode):
9575 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9576 * emacs-lisp/easymenu.el (easy-menu-define):
9577 * calendar/timeclock.el (timeclock-use-display-time):
9579 * bookmark.el (bookmark-save-flag):
9580 Doc fix (standardize possessive apostrophe usage).
9582 2012-02-27 Chong Yidong <cyd@gnu.org>
9584 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9585 Fix key-binding lookup for ESC key (Bug#9146).
9587 * font-lock.el (font-lock-specified-p): Rename from
9588 font-lock-spec-present. Callers changed.
9590 2012-02-27 Daniel Hackney <dan@haxney.org>
9592 * emacs-lisp/package.el (package-compute-transaction):
9593 Handle holding a package version to t in package-load-list.
9595 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9597 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9598 (tramp-get-inode, tramp-get-device): Use cached values.
9600 2012-02-26 Alan Mackenzie <acm@muc.de>
9602 Check there is a font-lock specification before doing initial
9605 * font-core.el (font-lock-mode): Move the conditional from
9606 :after-hook to font-lock-initial-fontify.
9607 (font-lock-default-function): Move the check for a specification
9608 to font-lock-spec-present.
9610 * font-lock.el (font-lock-initial-fontify): Call ...
9611 (font-lock-spec-present): New function.
9613 2012-02-26 Jim Blandy <jimb@red-bean.com>
9615 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9616 (gdb-send): Apply it to the operand of the '-interpreter-exec
9617 console' command, so that we can pass arguments with (say) quotes
9618 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9620 2012-02-26 Chong Yidong <cyd@gnu.org>
9622 * help-fns.el (describe-function-1): Clarify description of
9623 remapping (Bug#10844).
9625 * files.el (files-equal-p): Doc fix.
9626 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9627 and quit the loop once a mismatch is found.
9629 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9631 * bs.el (bs--show-with-configuration): Don't throw an error
9632 if the window cannot be split; otherwise, subsequent calls to
9633 bs-show fail, restoring a stale window config. (Bug#10882)
9635 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9637 * term/ns-win.el (global-map): Bind ns-drag-file to
9638 ns-find-file (Bug#5855, Bug#10050).
9640 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9642 * calendar/parse-time.el (parse-time-string): Allow extractor to
9645 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9647 * net/tramp.el (tramp-file-name-for-operation):
9648 Add `files-equal-p' and `file-subdir-of-p'.
9650 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9651 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9652 Add COPY-CONTENTS argument.
9654 2012-02-25 Chong Yidong <cyd@gnu.org>
9656 Add custom groups for VC backends, for consistency with vc-bzr.
9658 * vc/vc-arch.el (vc-arch):
9659 * vc/vc-cvs.el (vc-cvs):
9660 * vc/vc-git.el (vc-git):
9661 * vc/vc-hg.el (vc-hg):
9662 * vc/vc-mtn.el (vc-mtn):
9663 * vc/vc-rcs.el (vc-rcs):
9664 * vc/vc-sccs.el (vc-sccs):
9665 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9666 All relevant defcustoms reassigned.
9668 2012-02-25 Chong Yidong <cyd@gnu.org>
9670 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9672 * term/x-win.el (x-initialize-window-system): Reduce default for
9673 x-selection-timeout to 5 seconds (Bug#8869).
9675 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9677 * files.el (files-equal-p, file-subdir-of-p): New functions.
9678 (copy-directory): Error when trying to copy a directory on itself.
9679 Add missing copy-contents arg to tramp handler.
9680 * dired-aux.el (dired-copy-file-recursive): Same.
9681 (dired-create-files): Modify destination when source is equal to
9682 dest when copying files.
9683 Return also when dest is a subdir of source. (Bug#10489)
9685 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9687 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9690 2012-02-23 Alan Mackenzie <acm@muc.de>
9692 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9693 parameter "after-hook:" to allow the expansion to run code after
9694 the execution of the mode hooks.
9696 * font-lock.el (font-lock-initial-fontify): New function extracted
9697 from font-lock-mode-internal.
9699 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9702 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9704 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9705 (completion--cache-all-sorted-completions): New function.
9706 (completion-all-sorted-completions): Use it.
9707 (completion--do-completion, minibuffer-force-complete):
9708 Use it to re-instate the flush hook.
9710 * icomplete.el (icomplete-completions): Replace last fix with a better
9713 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9715 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9716 when it might call us back infinitely (bug#10797).
9718 2012-02-23 Glenn Morris <rgm@gnu.org>
9720 * minibuffer.el (completion-category-overrides): Doc fix.
9722 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9724 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9725 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9727 2012-02-23 Glenn Morris <rgm@gnu.org>
9729 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9730 (authors-obsolete-files-regexps, authors-ignored-files)
9731 (authors-ambiguous-files, authors-renamed-files-alist):
9734 2012-02-23 Juri Linkov <juri@jurta.org>
9736 * isearch.el (isearch-occur): Sync interactive spec with occur's
9737 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9739 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9741 2012-02-22 Juri Linkov <juri@jurta.org>
9743 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9744 (ucs-insert): Doc fix. Check for hex digits in the string.
9745 Don't display `nil' in the error message. (Bug#10857)
9747 2012-02-22 Alan Mackenzie <acm@muc.de>
9749 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9751 2012-02-22 Glenn Morris <rgm@gnu.org>
9753 * ffap.el (ffap-c-path):
9754 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9756 2012-02-22 Chong Yidong <cyd@gnu.org>
9758 * custom.el (load-theme): Doc fix.
9760 2012-02-22 Glenn Morris <rgm@gnu.org>
9762 * dired-x.el (dired-guess-shell-alist-default):
9763 Remove escape sequences from nroff output. (Bug#172)
9765 2012-02-21 Glenn Morris <rgm@gnu.org>
9767 * vc/emerge.el (emerge-defvar-local):
9768 Set `permanent-local' property rather than unused `preserved'.
9770 * textmodes/picture.el (picture-delete-char): New alias.
9771 (picture-mode-map): Use it. (Bug#10860)
9772 (picture-mode): Doc fix.
9774 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9776 * newcomment.el (uncomment-region-default): Remove unused binding.
9778 2012-02-21 Glenn Morris <rgm@gnu.org>
9780 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9781 (picture-self-insert, picture-tab-chars): Doc fix.
9782 (picture-mode-map): Fix C-a, C-e.
9784 2012-02-20 Glenn Morris <rgm@gnu.org>
9786 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9788 2012-02-20 Leo Liu <sdl.web@gmail.com>
9790 * icomplete.el (icomplete-completions): Check FROM arg before
9791 passing to substring (Bug#10850).
9793 2012-02-19 Chong Yidong <cyd@gnu.org>
9795 * comint.el: Require ansi-color.
9796 (comint-output-filter-functions): Add ansi-color-process-output.
9798 * ansi-color.el: Don't set comint-output-filter-functions; it is
9799 now in the initial value defined in comint.el.
9800 (ansi-color-apply-face-function): New variable.
9801 (ansi-color-apply-on-region): Use it.
9802 (ansi-color-apply-overlay-face): New function.
9804 * shell.el (shell): No need to require ansi-color.
9805 (shell-mode): Use ansi-color-apply-face-function to highlight
9806 color escapes using font-lock-face property (Bug#10835).
9808 2012-02-19 Chong Yidong <cyd@gnu.org>
9810 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9811 mode-line formats (Bug#10839).
9813 2012-02-18 Glenn Morris <rgm@gnu.org>
9815 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9817 * mail/undigest.el (unforward-rmail-message): Doc fix.
9819 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9821 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9823 * international/characters.el (script-list): Sync with the latest
9824 Unicode Character Database.
9826 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9828 * international/titdic-cnv.el: Remove duplicate coding tag.
9829 * language/cham.el: Likewise.
9830 * language/tai-viet.el: Likewise.
9832 2012-02-18 Glenn Morris <rgm@gnu.org>
9834 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9835 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9836 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9837 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9838 * calendar/holidays.el (holiday-bahai-holidays)
9839 (calendar-holidays, list-holidays):
9840 Use utf-8 Bahá'í in doc-strings, menus, etc.
9842 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9844 * saveplace.el (save-place-ignore-files-regexp): New variable
9845 allowing for excluding files from saving their location of point.
9846 The default value matches the temporary commit message editing
9847 files from Git, SVN, Bazaar, and Mercurial.
9848 (save-place-to-alist): Use it.
9850 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9851 Stefan Monnier <monnier@iro.umontreal.ca>
9853 * newcomment.el (uncomment-region-default): Don't leave extra space
9854 when an arg is provided (bug#8150).
9856 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9858 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9860 2012-02-17 Glenn Morris <rgm@gnu.org>
9862 * net/socks.el: Require network-stream. (Bug#10599)
9864 2012-02-17 Kenichi Handa <handa@m17n.org>
9866 * international/charprop.el:
9867 * international/uni-name.el:
9868 * international/uni-old-name.el:
9869 * international/uni-comment.el: Regenerate.
9871 2012-02-16 Glenn Morris <rgm@gnu.org>
9873 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9874 Interactively in calendar buffer, give an error if not on a date.
9876 2012-02-15 Glenn Morris <rgm@gnu.org>
9878 * shell.el (shell-delimiter-argument-list):
9879 Revert 2011-02-17 change. (Bug#8027)
9881 2012-02-15 Chong Yidong <cyd@gnu.org>
9883 * minibuffer.el (completion-at-point-functions): Doc fix.
9885 * custom.el (defcustom): Doc fix; note use of defvar.
9887 2012-02-15 Glenn Morris <rgm@gnu.org>
9889 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9892 2012-02-14 Glenn Morris <rgm@gnu.org>
9894 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9896 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9898 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9899 way the ports list is computed.
9900 (smtpmail-query-smtp-server): Prompt the user for a port number if
9901 we can't connect to any of the standard ports (bug#10810).
9903 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9905 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9907 2012-02-13 Glenn Morris <rgm@gnu.org>
9909 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9911 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9913 * net/gnutls.el (gnutls-trustfiles): New variable.
9914 (gnutls-negotiate): Use it.
9916 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9918 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9919 does its stuff if Gnus is running.
9921 2012-02-13 Alan Mackenzie <acm@muc.de>
9923 Fix a loop in c-set-fl-decl-start.
9925 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9926 c-backward-syntactic-ws actually moves backwards.
9928 2012-02-13 Leo Liu <sdl.web@gmail.com>
9930 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9931 beginning so that all \C-o chars are removed.
9933 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9935 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9937 2012-02-12 Alan Mackenzie <acm@muc.de>
9939 Fix infinite loop with long macros.
9940 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9942 2012-02-12 Chong Yidong <cyd@gnu.org>
9944 * window.el (display-buffer): Doc fix (Bug#10785).
9946 2012-02-12 Glenn Morris <rgm@gnu.org>
9948 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9949 (x-disown-selection-internal, x-get-selection-internal):
9950 Sync docs with the xselect.c versions.
9952 * allout-widgets.el: Add missing license notice.
9954 2012-02-11 Glenn Morris <rgm@gnu.org>
9956 * select.el (x-get-selection-internal, x-own-selection-internal)
9957 (x-disown-selection-internal):
9958 * x-dnd.el (x-get-selection-internal): Update declarations.
9960 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9962 * window.el (window-sides-slots):
9963 * tool-bar.el (tool-bar-position):
9964 * term/xterm.el (xterm-extra-capabilities):
9965 * ses.el (ses-self-reference-early-detection):
9966 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9967 (verilog-auto-wire-type)
9968 (verilog-auto-delete-trailing-whitespace)
9969 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9970 (verilog-auto-tieoff-declaration):
9971 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9972 (sql-oracle-statement-starters, sql-oracle-scan-on):
9973 * progmodes/prolog.el (prolog-align-comments-flag)
9974 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9975 (prolog-left-indent-regexp, prolog-paren-indent-p)
9976 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9977 (prolog-types, prolog-mode-specificators)
9978 (prolog-determinism-specificators, prolog-directives)
9979 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9980 (prolog-electric-dot-flag)
9981 (prolog-electric-dot-full-predicate-template)
9982 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9983 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9984 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9985 (prolog-program-switches, prolog-prompt-regexp)
9986 (prolog-debug-on-string, prolog-debug-off-string)
9987 (prolog-trace-on-string, prolog-trace-off-string)
9988 (prolog-zip-on-string, prolog-zip-off-string)
9989 (prolog-use-standard-consult-compile-method-flag)
9990 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9991 (prolog-imenu-max-lines, prolog-info-predicate-index)
9992 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9993 (prolog-char-quote-workaround):
9994 * progmodes/cc-vars.el (c-defun-tactic):
9995 * net/tramp.el (tramp-encoding-command-interactive)
9996 (tramp-local-end-of-line):
9997 * net/soap-client.el (soap-client):
9998 * net/netrc.el (netrc-file):
9999 * net/gnutls.el (gnutls):
10000 * minibuffer.el (completion-category-overrides)
10001 (completion-cycle-threshold)
10002 (completion-pcm-complete-word-inserts-delimiters):
10003 * man.el (Man-name-local-regexp):
10004 * mail/feedmail.el (feedmail-display-full-frame):
10005 * international/characters.el (glyphless-char-display-control):
10006 * eshell/em-ls.el (eshell-ls-date-format):
10007 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10008 (lisp-lambda-list-keyword-parameter-indentation)
10009 (lisp-lambda-list-keyword-parameter-alignment):
10010 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10011 * dired-x.el (dired-omit-verbose):
10012 * cus-theme.el (custom-theme-allow-multiple-selections):
10013 * calc/calc.el (calc-highlight-selections-with-faces)
10014 (calc-lu-field-reference, calc-lu-power-reference)
10015 (calc-note-threshold):
10016 * battery.el (battery-mode-line-limit):
10017 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10018 (archive-7z-update):
10019 * allout.el (allout-prefixed-keybindings)
10020 (allout-unprefixed-keybindings)
10021 (allout-inhibit-auto-fill-on-headline)
10022 (allout-flattened-numbering-abbreviation):
10023 * allout-widgets.el (allout-widgets-auto-activation)
10024 (allout-widgets-icons-dark-subdir)
10025 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10026 (allout-widgets-theme-dark-background)
10027 (allout-widgets-theme-light-background)
10028 (allout-widgets-item-image-properties-emacs)
10029 (allout-widgets-item-image-properties-xemacs)
10030 (allout-widgets-run-unit-tests-on-load)
10031 (allout-widgets-time-decoration-activity)
10032 (allout-widgets-hook-error-post-time)
10033 (allout-widgets-track-decoration):
10034 Add missing :version tags to new defcustoms and defgroups.
10036 * progmodes/sql.el (sql-ansi-statement-starters)
10037 (sql-oracle-statement-starters): Add custom type.
10039 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10040 (prolog-system-version): Give it a type.
10042 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10044 * term/pc-win.el (x-select-text, x-selection-owner-p)
10045 (x-own-selection-internal, x-disown-selection-internal)
10046 (x-get-selection-internal): Sync doc strings and argument lists
10047 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10049 2012-02-11 Leo Liu <sdl.web@gmail.com>
10051 * progmodes/python.el (python-end-of-statement): Fix infinite
10054 2012-02-10 Glenn Morris <rgm@gnu.org>
10056 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10057 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10059 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10061 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10062 about SMTP before checking the From header.
10064 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10065 into own function for reuse by emacsbug.el.
10067 2012-02-10 Leo Liu <sdl.web@gmail.com>
10069 * subr.el (condition-case-unless-debug): Rename from
10070 condition-case-no-debug. All callers changed.
10071 (with-demoted-errors): Fix caller.
10073 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10074 * nxml/rng-valid.el (rng-do-some-validation):
10075 * emacs-lisp/package.el (package-refresh-contents)
10076 (package-menu-execute):
10077 * desktop.el (desktop-create-buffer):
10078 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10080 2012-02-10 Glenn Morris <rgm@gnu.org>
10082 * textmodes/bibtex.el:
10083 Add missing :version tags for new/changed defcustoms.
10085 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10087 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10089 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10090 (smtpmail-via-smtp): Use it, or fall back on the From address.
10091 (smtpmail-send-it): Ditto.
10093 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10095 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10096 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10097 (byte-compile-tmp-var): New const.
10098 (byte-compile-defvar): Use it to minimize .elc size.
10099 Just use `defvar' rather than simulate it (bug#10761).
10101 2012-02-09 Glenn Morris <rgm@gnu.org>
10103 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10105 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10108 * progmodes/compile.el (compilation-error-screen-columns)
10109 (compilation-first-column, compilation-filter-start): Doc fixes.
10111 * vc/log-view.el (log-view-toggle-entry-display):
10112 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10114 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10115 (report-emacs-bug-can-use-xdg-email):
10116 (report-emacs-bug-insert-to-mailer): Doc fixes.
10117 (report-emacs-bug): Message fix.
10119 * net/browse-url.el (browse-url-can-use-xdg-open)
10120 (browse-url-xdg-open): Doc fixes.
10122 * electric.el (electric-indent-mode, electric-pair-mode)
10123 (electric-layout-rules, electric-layout-mode): Doc fixes.
10124 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10126 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10128 * server.el (server-unselect-display): Don't inadvertently kill
10129 the current buffer. (Bug#10729)
10131 2012-02-08 Glenn Morris <rgm@gnu.org>
10133 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10134 (sql-list-table): Doc fixes.
10136 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10137 Comment out (does nothing).
10139 * completion.el (dynamic-completion-mode):
10140 * dirtrack.el (dirtrack-debug-mode):
10141 * electric.el (electric-layout-mode):
10142 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10143 * face-remap.el (text-scale-mode, buffer-face-mode):
10144 * iimage.el (iimage-mode):
10145 * image-mode.el (image-transform-mode):
10146 * minibuffer.el (completion-in-region-mode):
10147 * scroll-lock.el (scroll-lock-mode):
10148 * simple.el (next-error-follow-minor-mode):
10149 * tar-mode.el (tar-subfile-mode):
10150 * tooltip.el (tooltip-mode):
10151 * vcursor.el (vcursor-use-vcursor-map):
10152 * wid-browse.el (widget-minor-mode):
10153 * emulation/tpu-edt.el (tpu-edt-mode):
10154 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10155 * international/iso-ascii.el (iso-ascii-mode):
10156 * language/thai-util.el (thai-word-mode):
10157 * mail/supercite.el (sc-minor-mode):
10158 * net/goto-addr.el (goto-address-mode):
10159 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10160 * progmodes/cwarn.el (cwarn-mode):
10161 * progmodes/flymake.el (flymake-mode):
10162 * progmodes/glasses.el (glasses-mode):
10163 * progmodes/hideshow.el (hs-minor-mode):
10164 * progmodes/pascal.el (pascal-outline-mode):
10165 * textmodes/enriched.el (enriched-mode):
10166 * vc/smerge-mode.el (smerge-mode):
10167 Doc fixes (minor mode argument).
10169 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10171 * ls-lisp.el (ls-lisp-sanitize): New function.
10172 (ls-lisp-insert-directory): Use it to fix or remove any elements
10173 in file-alist with missing attributes. (Bug#4673)
10175 2012-02-07 Alan Mackenzie <acm@muc.de>
10177 Fix spurious recognition of c-in-knr-argdecl.
10179 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10180 putative K&R region.
10182 2012-02-07 Alan Mackenzie <acm@muc.de>
10184 * progmodes/cc-engine.el (c-forward-objc-directive):
10185 Prevent looping in "#pragma mark @implementation".
10187 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10189 * notifications.el (notifications-on-closed-signal): Make `reason'
10190 optional. (Bug#10744)
10192 2012-02-07 Glenn Morris <rgm@gnu.org>
10194 * emacs-lisp/easy-mmode.el (define-minor-mode):
10195 Doc fixes for the macro and the mode it defines.
10197 * image.el (imagemagick-types-inhibit): Doc fix.
10199 * cus-start.el (imagemagick-render-type): Add it.
10201 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10203 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10204 Set the default at load time, too, so that `font-lock-fontify-buffer'
10205 can be called without setting up the entire mode first. This fixes
10206 a bug in `mm-inline-text' with C MIME parts.
10208 2012-02-06 Chong Yidong <cyd@gnu.org>
10210 * simple.el (list-processes--refresh): Delete exited processes
10213 * comint.el (comint-next-prompt): next-single-char-property-change
10214 and prev-single-char-property-change never return nil (Bug#8657).
10216 * custom.el (defcustom): Doc fix (Bug#9711).
10218 2012-02-05 Chong Yidong <cyd@gnu.org>
10220 * cus-edit.el (custom-variable-reset-backup): Quote the value
10221 before storing it in the customized-value property (Bug#6712).
10222 (custom-display): Add a customization type tag.
10223 (custom-buffer-create-internal): Improve tooltip message.
10225 * wid-edit.el (widget-field-value-get): New optional arg to
10226 suppress trailing whitespace truncation.
10227 (character): Use it (Bug#2689).
10229 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10231 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10232 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10234 2012-02-05 Chong Yidong <cyd@gnu.org>
10236 * cus-edit.el (custom-variable-value-create): For mismatched
10237 types, show the current value (Bug#7600).
10239 * custom.el (defcustom): Doc fix.
10241 2012-02-05 Glenn Morris <rgm@gnu.org>
10243 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10245 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10247 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10248 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10249 (pp-last-sexp): Use `looking-at-p'.
10251 2012-02-04 Glenn Morris <rgm@gnu.org>
10253 * files.el (revert-buffer):
10254 Doc fix (mention revert-buffer-in-progress-p).
10256 * emacs-lisp/ert-x.el (ert-simulate-command):
10257 Check deferred-action-list (which is obsolete) is bound.
10259 * subr.el (with-wrapper-hook): Doc fixes.
10261 * simple.el (filter-buffer-substring-functions)
10262 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10264 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10266 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10267 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10269 2012-02-04 Leo Liu <sdl.web@gmail.com>
10271 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10273 2012-02-04 Glenn Morris <rgm@gnu.org>
10275 * image.el (image-extension-data): Add obsolete alias.
10277 * isearch.el (isearch-update): Doc fix.
10279 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10281 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10283 2012-02-03 Glenn Morris <rgm@gnu.org>
10285 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10286 (image-animate-timeout): Doc fix.
10288 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10290 2012-02-02 Glenn Morris <rgm@gnu.org>
10292 * server.el (server-auth-dir): Doc fix.
10293 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10295 * subr.el (run-mode-hooks): Doc fix.
10297 2012-02-02 Juri Linkov <juri@jurta.org>
10299 * image-mode.el (image-toggle-display-image): Remove tautological
10300 `major-mode' from the `derived-mode-p' test.
10302 2012-02-02 Kenichi Handa <handa@m17n.org>
10304 * composite.el (compose-region): Cancel previous change.
10306 2012-02-02 Kenichi Handa <handa@m17n.org>
10308 * composite.el (compose-region, compose-string): Signal error for
10309 a null string component (Bug#6988).
10311 2012-02-01 Chong Yidong <cyd@gnu.org>
10313 * view.el (view-buffer-other-window, view-buffer-other-frame):
10314 Handle special modes like view-buffer (Bug#10650).
10315 (view-buffer): Simplify.
10317 * frame.el (set-frame-font): Tweak meaning of third argument.
10319 * dynamic-setting.el (font-setting-change-default-font):
10320 Use set-frame-font (Bug#9982).
10322 2012-02-01 Glenn Morris <rgm@gnu.org>
10324 * progmodes/compile.el (compilation-internal-error-properties):
10325 Respect compilation-first-column in the "*compilation*" buffer.
10327 * emacs-lisp/easy-mmode.el (define-minor-mode):
10328 Relax :variable's test for a named function.
10330 2012-01-31 Alan Mackenzie <acm@muc.de>
10332 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10335 2012-01-31 Chong Yidong <cyd@gnu.org>
10337 * frame.el (set-frame-font): New arg ALL-FRAMES.
10339 * menu-bar.el (menu-set-font): Use set-frame-font.
10341 * faces.el (face-spec-reset-face): Don't apply unspecified
10342 attribute values to the default face.
10344 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10346 * progmodes/cwarn.el (cwarn): Remove dead link.
10347 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10348 Remove * from defcustom docstrings.
10349 (turn-on-cwarn-mode): Make obsolete.
10350 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10351 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10353 2012-01-31 Glenn Morris <rgm@gnu.org>
10355 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10356 Fix :variable handling of mode a symbol not equal to modefun.
10357 Allow named functions to be used as the cdr of :variable.
10359 2012-01-30 Glenn Morris <rgm@gnu.org>
10361 * emacs-lisp/authors.el (authors-fixed-entries):
10362 Remove reference to deleted file rnewspost.el.
10364 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10366 * window.el (window-with-parameter): Remove unused variable `windows'.
10367 (window--side-check): Remove unused variable `code'.
10368 (window--resize-siblings): Remove unused variable `first'.
10369 (adjust-window-trailing-edge): Remove unused variable `failed'.
10370 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10371 Use `let', not `let*'.
10372 (balance-windows-2): Remove unused variable `found'.
10373 (window--state-put-2): Remove unused variable `splits'.
10374 (window-state-put): Remove unused variable `selected'.
10375 (same-window-p): Use `string-match-p'.
10376 (display-buffer-assq-regexp): Remove unused variable `value'.
10377 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10378 Mark argument ALIST as ignored.
10379 (pop-to-buffer): Remove unused variable `old-window'.
10381 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10383 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10384 and .lzma compressed files.
10386 2012-01-29 Chong Yidong <cyd@gnu.org>
10388 * frame.el (window-system-default-frame-alist): Doc fix.
10390 * dynamic-setting.el (font-setting-change-default-font): Don't
10391 change the default face if SET-FONT argument is non-nil (Bug#9982).
10393 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10395 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10397 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10399 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10400 breakpoints in files outside current directory (Bug#6098).
10402 2012-01-29 Chong Yidong <cyd@gnu.org>
10404 * progmodes/python.el: Require ansi-color at top-level.
10406 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10407 Define and use in Emacs Lisp mode (Bug#9360).
10408 (lisp-mode-abbrev-table): Add doc.
10409 (lisp-mode-variables): Don't set local-abbrev-table.
10410 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10412 2012-01-28 Roland Winkler <winkler@gnu.org>
10414 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10416 2012-01-28 Roland Winkler <winkler@gnu.org>
10418 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10419 (bibtex-set-dialect): Use it. Either set global values of
10420 dialect-dependent variables or bind these variables buffer-locally
10422 (bibtex-mode): Call bibtex-set-dialect via
10423 hack-local-variables-hook.
10424 (bibtex-dialect): Update docstring.
10425 Add safe-local-variable predicate.
10426 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10427 bibtex-set-dialect.
10428 (bibtex-mode-map): Define menu for each dialect.
10429 (bibtex-entry): Fix docstring.
10431 2012-01-28 Chong Yidong <cyd@gnu.org>
10433 * eshell/esh-arg.el (eshell-quote-argument): New function.
10435 * eshell/esh-ext.el (eshell-invoke-batch-file):
10436 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10437 first arg to eshell-parse-command (Bug#10523).
10439 2012-01-28 Drew Adams <drew.adams@oracle.com>
10441 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10442 `default-directory' is non-nil.
10444 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10446 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10447 line that displays system-configuration-options. (Bug#9924)
10449 2012-01-28 Drew Adams <drew.adams@oracle.com>
10451 * descr-text.el (describe-char): Show information about POS, in
10452 addition to information about the character at POS. Improve and
10453 update the doc string. Change "code point" to "code point in
10454 charset", to avoid confusion with the character's Unicode code
10455 point shown above that. (Bug#10129)
10457 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10459 * descr-text.el (describe-char): Show the raw character, not only
10460 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10461 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10464 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10466 * emacs-lisp/package.el (package-install):
10467 Run package-refresh-contents if there is no archive yet (Bug#9798).
10469 2012-01-28 Chong Yidong <cyd@gnu.org>
10471 * emacs-lisp/package.el (package-maybe-load-descriptor):
10472 New function, split from package-maybe-load-descriptor.
10473 (package-maybe-load-descriptor): Use it.
10474 (package-download-transaction): Fully load required packages
10475 inside the loop, so that `require' calls work (Bug#10593).
10476 (package-install): No need to call package-initialize now.
10478 2012-01-28 Chong Yidong <cyd@gnu.org>
10480 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10482 * tooltip.el (tooltip-mode): Doc fix.
10483 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10485 * frame.el (set-cursor-color): Doc fix (Bug#352).
10487 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10488 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10490 * cus-edit.el (custom-buffer-create-internal): Fix search button
10491 action (Bug#10542).
10492 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10494 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10496 * dired.el (dired-mark-files-regexp):
10497 Include any subdirectory components. (Bug#10445)
10499 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10501 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10502 Handle [host]:port syntax. (Bug#10533)
10504 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10506 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10508 2012-01-26 Glenn Morris <rgm@gnu.org>
10510 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10511 * term.el (term-raw-escape-map): Use Control-X-prefix.
10512 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10514 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10516 * window.el (window-state-get, window--state-get-1): Don't deal
10517 with fixed-sizeness of windows. Simplify code.
10519 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10521 * window.el (window--state-get-1, window--state-put-2):
10522 Don't save and restore the mark.
10524 2012-01-25 Chong Yidong <cyd@gnu.org>
10526 * custom.el (custom-variable-p): Doc fix.
10528 2012-01-25 Glenn Morris <rgm@gnu.org>
10530 * dired.el (dired-goto-file): Handle some of the more common
10531 characters that `ls -b' escapes. (Bug#10596)
10533 * progmodes/compile.el (compilation-next-error-function):
10534 Respect compilation-first-column in the "*compilation*" buffer.
10535 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10537 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10539 2012-01-24 Glenn Morris <rgm@gnu.org>
10541 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10543 2012-01-24 Julien Danjou <julien@danjou.info>
10545 * color.el (color-rgb-to-hsl): Fix value computing.
10546 (color-hue-to-rgb): New function.
10547 (color-hsl-to-rgb): New function.
10548 (color-clamp, color-saturate-hsl, color-saturate-name)
10549 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10550 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10552 2012-01-24 Glenn Morris <rgm@gnu.org>
10554 * vc/vc-rcs.el (vc-rcs-create-tag):
10555 * vc/vc-sccs.el (vc-sccs-create-tag):
10556 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10558 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10560 * eshell/esh-util.el (eshell-read-hosts-file):
10561 Skip comment lines. (Bug#10549)
10563 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10565 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10567 * subr.el (display-delayed-warnings): Doc fix.
10568 (collapse-delayed-warnings): New function to collapse identical
10570 (delayed-warnings-hook): Add it.
10572 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10574 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10576 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10577 (tramp-default-user-alist): Don't add "pscp".
10578 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10579 property "login-as", if set. (Bug#10530)
10581 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10583 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10584 "plink1" and "psftp". (Bug#10530)
10586 2012-01-21 Kenichi Handa <handa@m17n.org>
10588 * international/mule-cmds.el (prefer-coding-system): Show a
10589 warning message if the default value of file-name-coding-system
10592 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10594 * windmove.el (windmove-reference-loc):
10595 Fix windmove-reference-loc miscalculation.
10597 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10599 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10602 2012-01-21 Glenn Morris <rgm@gnu.org>
10604 * international/mule.el (auto-coding-alist): Add .tbz.
10606 * files.el (local-enable-local-variables): Doc fix.
10607 (inhibit-local-variables-regexps): Rename from
10608 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10609 Doc fix. Add some extensions from auto-coding-alist.
10610 (inhibit-local-variables-suffixes):
10611 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10612 (inhibit-local-variables-p):
10613 New function, extracted from set-auto-mode-1.
10614 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10615 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10616 (hack-local-variables): Doc fix. Make the mode-only case
10617 respect enable-local-variables and friends.
10618 Respect inhibit-local-variables-regexps for file-locals, but
10619 not for directory-locals.
10620 (set-visited-file-name):
10621 Take account of inhibit-local-variables-regexps.
10622 Whether it applies may change as the file name is changed.
10623 * jka-cmpr-hook.el (jka-compr-install):
10624 * jka-compr.el (jka-compr-uninstall):
10625 Update for inhibit-first-line-modes-suffixes name change.
10627 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10629 * help-macro.el (make-help-screen): Temporarily restore original
10630 binding for minor-mode-map-alist (Bug#10454).
10632 2012-01-19 Julien Danjou <julien@danjou.info>
10634 * color.el (color-name-to-rgb): Use the white color to find the max
10635 color component value and return correctly computed values.
10636 (color-name-to-rgb): Add missing float conversion for max value.
10638 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10640 * window.el (window--state-get-1, window-state-get): Do not use
10641 special state value for window-persistent-parameters.
10642 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10643 (window--state-put-2): Reset all window parameters to nil before
10644 assigning values of persistent parameters.
10646 2012-01-18 Alan Mackenzie <acm@muc.de>
10648 Eliminate sluggishness and hangs in fontification of "semicolon
10651 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10652 Change value 10000 -> 3000.
10653 (c-state-safe-place): Reformulate so it doesn't stack up an
10654 infinite number of wrong entries in c-state-nonlit-pos-cache.
10655 (c-determine-limit-get-base, c-determine-limit): New functions to
10656 determine backward search limits disregarding literals.
10657 (c-find-decl-spots): Amend commenting.
10658 (c-cheap-inside-bracelist-p): New function which detects "={".
10660 * progmodes/cc-fonts.el
10661 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10663 (c-font-lock-declarations): Fix an occurrence of point being
10664 undefined. Check additionally for point being in a bracelist or
10665 near a macro invocation without a semicolon so as to avoid a
10666 fruitless time consuming search for a declarator. Give a more
10667 precise search limit for declarators using the new
10670 2012-01-18 Glenn Morris <rgm@gnu.org>
10672 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10673 (set-auto-mode): Doc fixes.
10675 2012-01-17 Glenn Morris <rgm@gnu.org>
10677 * isearch.el (search-nonincremental-instead): Fix doc typo.
10679 * dired.el (dired-insert-directory): Handle newlines in directory name.
10680 (dired-build-subdir-alist): Unescape newlines in directory name.
10682 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10684 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10685 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10686 (tramp-action-terminal): Use it. (Bug#10530)
10688 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10690 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10692 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10694 * window.el (window-state-ignored-parameters): Remove variable.
10695 (window--state-get-1): Rename argument MARKERS to IGNORE.
10696 Handle persistent window parameters. Make copy of clone-of
10697 parameter only if requested. (Bug#10348)
10698 (window--state-put-2): Install a window parameter only if it has
10699 a non-nil value or an existing parameter shall be overwritten.
10701 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10703 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10705 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10707 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10708 don't pass the (nil) value of `upnode' to string-match.
10710 2012-01-14 Chong Yidong <cyd@gnu.org>
10712 * startup.el (command-line): Fix X resource class for cursorColor.
10713 Fix values recognized by the cursorBlink resource.
10715 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10717 * epg.el (epg--make-temp-file): Avoid permission race condition
10718 when running on old Emacs versions (bug#10403).
10720 2012-01-14 Glenn Morris <rgm@gnu.org>
10722 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10724 2012-01-13 Alan Mackenzie <acm@muc.de>
10726 Fix filling for when filladapt mode is enabled.
10728 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10729 c-mask-paragraph, pass in `fill-paragraph' rather than
10730 `fill-region-as-paragraph'. (This is a reversion of a previous
10732 * progmodes/cc-mode.el (c-basic-common-init):
10733 Make fill-paragraph-handle-comment buffer local and set it to nil.
10735 2012-01-13 Glenn Morris <rgm@gnu.org>
10737 * dired.el (dired-switches-escape-p): New function.
10738 (dired-insert-directory): Use dired-switches-escape-p.
10739 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10741 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10743 2012-01-12 Glenn Morris <rgm@gnu.org>
10745 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10746 changes in adaptive-fill-regexp. (Bug#10276)
10748 2012-01-11 Alan Mackenzie <acm@muc.de>
10750 Fix Emacs bug #10463 - put `widen's around the critical spots.
10752 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10753 widen around each invocation of c-state-pp-to-literal. Remove an
10754 unused let variable.
10756 2012-01-11 Glenn Morris <rgm@gnu.org>
10758 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10761 2012-01-10 Chong Yidong <cyd@gnu.org>
10763 * net/network-stream.el (network-stream-open-starttls):
10764 Avoid emitting a confusing error message when the server gives a bad
10765 response to the capability command.
10767 2012-01-10 Glenn Morris <rgm@gnu.org>
10769 * mail/unrmail.el (unrmail): Tweak previous change.
10771 2012-01-09 Chong Yidong <cyd@gnu.org>
10773 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10775 2012-01-08 Alan Mackenzie <acm@muc.de>
10777 Optimise font locking in long enum definitions.
10779 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10780 arm to a cond form to handle enums.
10781 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10782 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10784 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10786 * files.el (move-file-to-trash): Preserve default file modes on error.
10789 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10791 * faces.el (set-face-attribute): Clarify the meaning of the nil
10794 * subr.el (with-selected-frame): Mention that the selected frame
10795 is restored (bug#9980).
10797 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10800 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10801 (password-read): Don't autoload unused function.
10803 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10805 * progmodes/which-func.el (which-func-mode): Turn into a
10806 non-interactive function and mark as obsolete (bug#10428).
10808 2012-01-06 Chong Yidong <cyd@gnu.org>
10810 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10811 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10812 functions, along with 1 and -1.
10814 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10816 * time.el (display-time-load-average)
10817 (display-time-default-load-average): Doc fixes. See the thread
10819 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10822 2012-01-06 Glenn Morris <rgm@gnu.org>
10824 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10825 has no messages. (Bug#10377)
10827 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10828 than Info-edit. (Bug#10385)
10830 * time.el (display-time-load-average, display-time-next-load-average):
10833 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10834 local setting of buffer-read-only to the input buffer. (Bug#10419)
10836 * calendar/calendar.el (calendar-mode):
10837 Locally set scroll-margin to 0. (Bug#10379)
10839 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10841 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10843 2012-01-05 Glenn Morris <rgm@gnu.org>
10845 * eshell/em-unix.el (diff-no-select): Autoload it.
10846 (eshell/diff): Use diff-no-select. (Bug#10420)
10848 2012-01-05 Chong Yidong <cyd@gnu.org>
10850 * shell.el (shell-dynamic-complete-functions): Revert last change.
10851 (shell-command-completion-function): New function.
10852 (shell-completion-vars): Use it to implement
10853 shell-completion-execonly (Bug#10417).
10855 * custom.el (enable-theme): Don't set custom-safe-themes.
10857 * cus-theme.el (custom-theme-merge-theme):
10858 Ignore custom-enabled-themes and custom-safe-themes.
10860 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10862 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10863 first prompt in `sql-interacive-mode'.
10864 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10866 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10867 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10868 context of original buffer. Invoke `sql-login-hook'.
10870 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10872 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10873 letters in cite-prefix.
10875 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10877 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10879 2012-01-03 Chong Yidong <cyd@gnu.org>
10881 * shell.el (shell-dynamic-complete-functions):
10882 Put pcomplete-completions-at-point, so as to try
10883 comint-filename-completion first (Bug#10417).
10885 2012-01-02 Richard Stallman <rms@gnu.org>
10887 * battery.el (battery-status-function):
10888 Detect when to use battery-yeeloong-sysfs.
10889 (battery-echo-area-format): Add string for Yeeloong.
10890 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10891 (battery-yeeloong-sysfs): New function.
10893 2012-01-02 Chong Yidong <cyd@gnu.org>
10895 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10896 (dirtrack): Merge code for handling relative filenames in prompt
10897 from shell-dir-cookie-watcher.
10898 (dirtrack-debug-message): New arg to avoid excess format calls.
10900 * shell.el (shell-dir-cookie-re): Variable deleted.
10901 (shell-dir-cookie-watcher): Function deleted.
10902 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10903 with dirtrack-mode.
10905 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10907 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10908 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10911 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10913 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10915 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10917 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10918 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10920 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10922 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10923 also for alternative shells.
10924 (tramp-open-connection-setup-interactive-shell): Check, whether
10925 the shell is a busybox.
10926 (tramp-send-command): Don't suppress multiple prompts for
10927 busyboxes, it hurts.
10929 2011-12-28 Chong Yidong <cyd@gnu.org>
10931 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10932 (gdb-get-source-file): Move mode line update to
10933 gdb-get-source-file (Bug#10087).
10935 2011-12-25 Chong Yidong <cyd@gnu.org>
10937 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10938 gud-gdb-marker-filter without taking it as an argument.
10939 (gud-gdb-run-command-fetch-lines): Caller changed.
10940 (gud-gdb-completion-function): New variable.
10941 (gud-gdb-completion-at-point): Use it.
10942 (gud-gdb-completions-1): Split from gud-gdb-completions.
10944 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10945 function as separate arguments.
10946 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10947 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10948 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10949 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10950 (gdb-stopped, def-gdb-auto-update-trigger)
10951 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10952 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10954 (gud-gdbmi-completions): New function.
10955 (gdb): Use it for generating the completion table.
10957 2011-12-24 Alan Mackenzie <acm@muc.de>
10959 Introduce a mechanism to widen the region used in context font
10960 locking. Use this to protect declarations from losing their contexts.
10962 * progmodes/cc-langs.el (c-before-font-lock-functions):
10963 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10964 (c-before-context-fontification-functions): New defvar, a list of
10965 functions to be run just before context (etc.) font locking.
10967 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10968 New, functionality extracted from
10969 c-neutralize-syntax-in-and-mark-CPP.
10970 (c-in-after-change-fontification): New variable.
10971 (c-after-change): Set c-in-after-change-fontification.
10972 (c-set-fl-decl-start): Rejig its interface, so it can be called
10973 from both after-change and context fontifying.
10974 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10976 (c-standard-font-lock-fontify-region-function): New variable.
10977 (c-font-lock-fontify-region): New function.
10979 2011-12-24 Juri Linkov <juri@jurta.org>
10981 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10984 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10986 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10987 existence of source file. (Bug#10325)
10989 2011-12-23 Alan Mackenzie <acm@muc.de>
10991 Fix unstable fontification inside templates.
10993 * progmodes/cc-langs.el (c-before-font-lock-functions):
10994 Newly created from the singular version. The (c c++ objc) entry now
10995 additionally has c-set-fl-decl-start. The other languages (apart
10996 from AWK) have that as a single entry.
10998 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10999 The functionality for "local" declarations has been extracted to
11000 c-set-fl-decl-start.
11002 * progmodes/cc-mode.el (c-common-init, c-after-change):
11003 Changes due to pluralisation of c-before-font-lock-functions.
11004 (c-set-fl-decl-start): New function, extracted from
11005 c-font-lock-enclosing-decls and enhanced.
11007 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11009 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11011 2011-12-22 Juri Linkov <juri@jurta.org>
11013 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11015 2011-12-22 Chong Yidong <cyd@gnu.org>
11017 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11019 2011-12-21 Drew Adams <drew.adams@oracle.com>
11021 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11023 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11025 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11027 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11029 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11030 highlighting and support. Fix up comments for capitalization.
11031 (cfengine-mode-debug): New var.
11032 (cfengine3-mode): Change the modeline indicator to "CFE3".
11033 (cfengine3-font-lock-keywords): Improve defun highlighting.
11034 (cfengine2-actions): Rename from `cfengine-actions'.
11035 (cfengine2-font-lock-keywords): Rename from
11036 `cfengine-font-lock-keywords'.
11037 (cfengine2-imenu-expression): Rename from
11038 `cfengine-imenu-expression'.
11039 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11040 (cfengine2-beginning-of-defun): Rename from
11041 `cfengine-beginning-of-defun'.
11042 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11043 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11044 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11045 modeline indicator to "CFE2".
11046 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11047 (cfengine-mode-abbrevs): Mark obsolete.
11049 2011-12-21 Chong Yidong <cyd@gnu.org>
11051 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11054 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11056 * window.el (window-normalize-buffer-to-display): Remove.
11057 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11059 2011-12-19 Chong Yidong <cyd@gnu.org>
11061 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11062 Don't signal an error in a predicate function; return non-nil.
11063 (vc-dir-mark-file): Move the error here.
11064 (vc-dir-mark-unmark): If acting on the region, keep going if one
11065 of the entries cannot be marked/unmarked.
11066 (vc-dir-mark-all-files): If current entry is a directory, mark
11067 only child files, as documented.
11069 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11071 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11072 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11075 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11077 * term/ns-win.el (ns-get-selection-internal)
11078 (ns-store-selection-internal): Declare.
11079 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11080 Declare as obsolete.
11081 (ns-get-pasteboard, ns-paste-secondary):
11082 Use ns-get-selection-internal.
11083 (ns-set-pasteboard, ns-copy-including-secondary):
11084 Use ns-store-selection-internal.
11086 2011-12-17 Chong Yidong <cyd@gnu.org>
11088 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11089 (vc-deduce-fileset): Doc fix.
11091 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11093 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11095 2011-12-13 Sam Steingold <sds@gnu.org>
11097 * man.el (Man-getpage-in-background): When running under a
11098 window-system, ignore $MANWIDTH and $COLUMNS.
11100 2011-12-15 Kenichi Handa <handa@m17n.org>
11102 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11103 (setup-ethiopic-environment-internal): Comment out key-binding for
11104 ethio-toggle-punctuation.
11106 2011-12-13 Alan Mackenzie <acm@muc.de>
11108 Add the switch statement to AWK Mode.
11110 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11111 "default" to the keywords regexp.
11113 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11114 expression as the rest.
11115 (c-nonlabel-token-key): Allow string literals for AWK.
11116 Refactor for the other modes.
11118 Large brace-block initialisation makes CC Mode slow: Fix.
11119 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11120 routines. Limit backward searching in c-font-lock-enclosing.decl.
11122 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11123 pp-state and literal type in addition to the limits.
11124 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11125 (c-state-literal-at): Use the above new defun.
11126 (c-slow-in-literal, c-fast-in-literal): Remove.
11127 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11129 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11130 being in a literal. Add a limit for backward searching.
11132 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11135 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11137 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11139 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11141 * window.el (delete-other-windows): Use correct frame in call to
11142 window-with-parameter.
11144 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11146 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11147 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11148 (makefile-gmake-statements, makefile-makepp-statements):
11149 Use it and add new makepp keywords.
11150 (makefile-makepp-font-lock-keywords): Add new patterns.
11151 (makefile-match-function-end): Match new [...] and [[...]].
11153 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11155 * ses.el (ses-call-printer-return, ses-cell-property-get)
11156 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11157 (ses-create-cell-variable, ses-reset-header-string)
11158 (ses-cell-set-formula, ses-repair-cell-reference-all)
11159 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11160 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11161 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11162 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11163 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11164 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11165 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11166 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11167 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11168 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11169 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11170 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11172 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11174 * ses.el: The overall change is to add cell renaming, that is
11175 setting fancy names for cell symbols other than name matching
11176 "\\`[A-Z]+[0-9]+\\'" regexp .
11177 (ses-create-cell-variable): New defun.
11178 (ses-relocate-formula): Relocate formulas only for cells the
11179 symbols of which are not renamed, i.e. symbols whose names do not
11180 match regexp "\\`[A-Z]+[0-9]+\\'".
11181 (ses-relocate-all): Relocate values only for cells the symbols of
11182 which are not renamed.
11183 (ses-load): Create cells variables as the (ses-cell ...) are read,
11184 in order to check row col consistency with cell symbol name only
11185 for cells that are not renamed.
11186 (ses-replace-name-in-formula): New defun.
11187 (ses-rename-cell): New defun.
11189 2011-12-11 Chong Yidong <cyd@gnu.org>
11191 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11192 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11194 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11196 * window.el (other-window): Fix docstring.
11198 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11200 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11201 `from' or `to' address before taking its substring.
11202 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11203 encoded name is chopped in the middle of the encoded string, and
11204 thus displayed encoded.
11206 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11208 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11210 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11212 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11213 to use texinfo-update-node and commands that call it if the
11214 Texinfo file uses @node lines without next/prev/up pointers.
11215 Correct outdated description about texinfo-master-menu.
11216 (texinfo-all-menus-update, texinfo-master-menu)
11217 (texinfo-update-node, texinfo-every-node-update)
11218 (texinfo-multiple-files-update): Doc fix. Warn against updating
11219 all the @node lines.
11220 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11221 argument is numeric. Explain better in the doc string what the
11222 function really does.
11223 (texinfo-insert-master-menu-list): Improve the error message
11224 displayed if there's no menu in the Top node.
11225 (Bug#2975) See also this thread:
11226 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11228 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11230 * speedbar.el (speedbar-supported-extension-expressions):
11231 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11233 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11235 * printing.el (pr-mode-alist):
11236 * simple.el (filter-buffer-substring-functions)
11237 (completion-list-insert-choice-function):
11238 * window.el (window-with-parameter, window-atom-root)
11239 (window-sides-slots, window-size-fixed, window-min-delta)
11240 (window-max-delta, window--resize-mini-window)
11241 (window--resize-child-windows-normal, window-tree)
11242 (delete-other-windows, quit-window, split-window)
11243 (display-buffer-record-window, special-display-buffer-names)
11244 (special-display-regexps, special-display-popup-frame)
11245 (same-window-p, split-window-sensibly)
11246 (display-buffer-overriding-action, display-buffer-alist)
11247 (display-buffer-base-action, display-buffer, switch-to-buffer)
11248 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11249 (fit-window-to-buffer, recenter-positions)
11250 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11251 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11252 and remove unneeded backslashes in docstrings.
11254 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11256 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11258 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11259 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11261 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11262 when reading the makefile (bug#10116).
11264 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11266 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11269 2011-12-06 Glenn Morris <rgm@gnu.org>
11271 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11273 2011-12-06 Chong Yidong <cyd@gnu.org>
11275 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11277 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11279 * textmodes/table.el (table-shorten-cell): Fix typo.
11281 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11283 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11285 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11287 * descr-text.el (describe-char): Fix display of strong
11288 right-to-left characters and directional embeddings and overrides.
11290 * simple.el (what-cursor-position): Fix display of codepoints of
11291 strong right-to-left characters.
11293 2011-12-05 Chong Yidong <cyd@gnu.org>
11295 * faces.el (read-color): Doc fix.
11297 2011-12-05 Glenn Morris <rgm@gnu.org>
11299 * align.el (align--set-marker): Add doc-string.
11300 Don't try to move something that is not a marker. (Bug#10216)
11302 2011-12-04 Glenn Morris <rgm@gnu.org>
11304 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11305 overly zealous deletion of trailing whitespace.
11307 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11309 * server.el (server-delete-client): On Windows, do not try to delete
11311 (server-process-filter): On Windows, treat requests for a tty frame as
11312 if they were for a GUI frame if the running server is in GUI mode.
11314 2011-12-03 Glenn Morris <rgm@gnu.org>
11316 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11318 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11320 * electric.el: Streamline electric-indent's hook.
11321 (electric-indent-chars): Revert to simple list.
11322 (electric-indent-functions): New var.
11323 (electric-indent-post-self-insert-function): Use it.
11325 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11326 there's no inferior buffer (bug#10196).
11327 (prolog-consult-compile): Don't use toggle-read-only.
11329 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11331 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11332 interrupt. (Bug#10187)
11334 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11336 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11339 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11342 2011-12-02 Juri Linkov <juri@jurta.org>
11344 * info.el (Info-search): Display "end of manual" when Isearch
11345 reaches the end of single-file Info manual. (Bug#9918)
11347 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11349 * isearch.el (isearch-message-prefix): Run the input method part
11350 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11352 2011-12-02 Juri Linkov <juri@jurta.org>
11354 * isearch.el (isearch-occur): Use `word-search-regexp' for
11356 (isearch-search-and-update): Add condition for `isearch-word' and
11357 call `word-search-regexp'. (Bug#10145)
11359 2011-12-01 Glenn Morris <rgm@gnu.org>
11361 * eshell/em-hist.el (eshell-hist-initialize):
11362 Handle eshell-history-size nil and HISTSIZE set or unset.
11363 (eshell-history-file-name, eshell-history-size): Fix custom type.
11365 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11367 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11369 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11371 * progmodes/verilog-mode.el (verilog-pretty-expr):
11372 Rework verilog-pretty-expr to handle new assignment operators in system
11373 verilog, such as += *= and the like.
11374 (verilog-assignment-operator-re): Regular expression to find the
11375 assigment operator in a verilog assignment.
11376 (verilog-assignment-operation-re): Regular expression to find an
11377 assignment statement for pretty-expr.
11378 (verilog-in-attribute-p): Query returns true if point is in an
11379 attribute context; used to skip these for expression line up from
11381 (verilog-in-parameter-p): Query returns true if point is in an
11382 parameter definition context; used to skip these for expression
11383 line up from pretty-expr.
11384 (verilog-in-parenthesis-p): Query returns true if point is in a
11385 parenthetical expression, specifically ( ) but not [ ] or { };
11386 used by pretty-expr.
11387 (verilog-just-one-space): If there is no space, don't add one.
11388 (verilog-get-lineup-indent-2): Specifically skip just attribute
11389 contexts for expression lineup, rather than skipping all
11390 parenthetical expressions.
11391 (verilog-calculate-indent): Fix comment, and fix indent.
11392 (verilog-do-indent): Indent declarations in lists (suggested by
11394 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11396 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11399 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11401 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11402 parameters with embedded comments. Reported by Ray Stevens.
11403 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11404 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11405 Reported by Tim Holt.
11406 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11407 instantiated by upper module causing wrong expansion until AUTOed a
11408 second time. Reported by K C Buckenmaier.
11409 (verilog-diff-auto): Fix showing .* as a difference when
11410 `verilog-auto-star-save' off. Reported by Dan Dever.
11411 (verilog-auto-reset, verilog-read-always-signals)
11412 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11413 temporary signals in reset list if
11414 verilog-auto-reset-blocking-in-non is nil, and match assignment
11415 style to each signal's assignment type, bug381.
11416 Reported by Thomas Esposito.
11417 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11418 (verilog-uvm-statement-re): Support UVM indentation and
11419 highlighting, with old OVM keywords only.
11420 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11421 Support AUTOTIEOFF creating non-wire data types.
11422 Suggested by Jonathan Greenlaw.
11423 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11424 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11425 (verilog-inject-sense, verilog-read-inst-pins)
11426 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11427 Fix mismatching parenthesis inside commented out code when deleting
11428 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11429 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11430 non-numeric vector width. Reported by Alex Reed.
11431 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11432 detecting signals with parameter widths. Reported by Alex Reed.
11433 (verilog-auto-delete-trailing-whitespace):
11434 With `verilog-auto-delete-trailing-whitespace' remove trailing
11435 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11436 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11437 Fix verilog-scan-cache corruption when running user AUTO expansion
11438 hooks that call indentation routines.
11439 (verilog-simplify-range-expression): Fix typo ignoring lower case
11441 (verilog-delete-auto): Fix delete-autos to also remove user created
11442 automatics, as long as they start with AUTO.
11443 (verilog-batch-diff-auto, verilog-diff-auto)
11444 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11445 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11446 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11447 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11448 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11449 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11450 is disabled and its cache will get corrupt, causing AUTOS not to
11451 expand. Instead use only -quick functions.
11452 (verilog-scan-region): Fix scanning over escaped quotes.
11453 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11454 (verilog-re-search-backward-quick)
11455 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11456 related functions now ignore strings, to fix misparsing of strings
11457 with magic comments embedded in them.
11458 (verilog-read-auto-template):
11459 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11460 Reported by Brad Dobbie.
11461 (verilog-read-auto-template):
11462 Fix 'verilog-auto-inst-template-numbers' with comments.
11463 Reported by Brad Dobbie.
11464 (verilog-auto-inst, verilog-auto-inst-param)
11465 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11466 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11467 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11468 debugging templates without merge conflicts, bug357.
11469 Reported by Brad Dobbie.
11470 (verilog-read-auto-template):
11471 Fix verilog-auto-inst-template-numbers with multiple templates.
11472 Reported by Brad Dobbie.
11473 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11474 abbrevs so user won't be asked to save.
11475 (verilog-read-auto-lisp-present): Fix to start at beginning of
11476 buffer in case called outside of verilog-auto.
11477 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11478 to "X-2". Reported by Matthew Myers.
11479 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11480 all inputs from module templates. Reported by Leith Johnson.
11481 (verilog-module-inside-filename-p): Fix locating programs as with
11483 (verilog-auto-inst-port): Fix vl-width expressions when using
11484 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11485 (verilog-decls-get-regs, verilog-decls-get-signals,
11486 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11487 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11488 verilog-read-decls): Combine reg and wire structures into one var
11489 structure to represent SystemVerilog concepts.
11490 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11491 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11492 (verilog-auto-wire-type, verilog-insert-definition):
11493 Add verilog-auto-wire-type and AUTOLOGIC to support using
11494 SystemVerilog "logic" keyword instead of "wire"/"reg".
11495 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11496 to declares outputs that also have assignments (presumably in an
11497 ifdef or generate if so there's not a driver conflict).
11498 Reported by Matthew Myers.
11499 (verilog-auto-declare-nettype, verilog-insert-definition):
11500 Add verilog-auto-declare-nettype to fix declarations using
11501 `default_nettype none. Reported by Julian Gorfajn.
11502 (verilog-read-always-signals-recurse, verilog-read-decls)
11503 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11504 malformed end statement, bug325. Reported by Joshua Wise and
11506 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11507 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11508 when expanding .* in interfaces, bug320.
11509 Reported by Pierre-David Pfister.
11510 (verilog-read-module-name): Fix import statements between module
11511 name and open parenthesis, bug317.
11512 Reported by Pierre-David Pfister.
11513 (verilog-simplify-range-expression): Fix simplification of
11514 multiplications inside AUTOWIRE connections, bug303.
11515 (verilog-auto-inst-port): Support parameter expansion in
11516 multidimensional arrays.
11517 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11518 after "assert property". Reported by Julian Gorfajn.
11519 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11520 with multiplication, bug303.
11521 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11522 Reported by Jan Frode Lonnum.
11524 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11526 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11527 (hfy-shell-file-name, hfy-shell):
11528 * international/fontset.el (x-decompose-font-name): Fix typos.
11530 2011-11-29 Ken Brown <kbrown@cornell.edu>
11532 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11533 (gdb-version): Remove defvar.
11534 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11535 (gdb-gud-context-command, gdb-non-stop-handler)
11536 (gdb-current-context-command, gdb-stopped): Use it.
11537 (gdb-init-1): Enable pretty printing here.
11538 (gdb-non-stop-handler): Don't enable pretty-printing here.
11539 Check to see if the target supports non-stop mode; if not, turn off
11540 non-stop mode. Use the following.
11541 (gdb-check-target-async): New defun.
11542 (gud-watch, gdb-stopped): Fix whitespace.
11543 (gdb-get-source-file): Don't try to display the source file if
11544 `gdb-main-file' is nil.
11546 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11548 * align.el: Try to generate fewer markers (bug#10047).
11549 (align--set-marker): New macro.
11550 (align-region): Use it.
11552 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11554 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11556 2011-11-29 Chong Yidong <cyd@gnu.org>
11558 * indent.el (indent-for-tab-command, indent-according-to-mode):
11560 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11562 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11564 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11565 aware of remote file names. (Bug#10124)
11567 2011-11-29 Chong Yidong <cyd@gnu.org>
11569 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11571 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11573 * files.el (find-file): Don't use force-same-window (bug#10144).
11574 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11575 use pop-to-buffer if the selected window can't be used.
11576 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11578 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11580 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11583 2011-11-28 Chong Yidong <cyd@gnu.org>
11585 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11587 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11589 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11590 gdb-get-source-file-list on gdb-create-source-file-list.
11592 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11594 * whitespace.el (whitespace-newline): Use a different foreground
11595 color for 16-color light-background displays.
11597 2011-11-24 Chong Yidong <cyd@gnu.org>
11599 * window.el (display-buffer--special-action): Doc fix.
11601 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11603 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11604 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11605 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11606 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11607 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11608 (avl-tree-stack-first):
11609 * emacs-lisp/cconv.el (cconv--analyse-use):
11610 * net/gnutls.el (gnutls-negotiate): Fix typos.
11612 2011-11-24 Glenn Morris <rgm@gnu.org>
11614 * lpr.el (lpr-windows-system, lpr-lp-system):
11615 * mail/binhex.el (binhex-begin-line):
11616 * progmodes/grep.el (grep-history, grep-find-history):
11617 * textmodes/flyspell.el:
11618 * vc/pcvs-defs.el (cvs-global-menu):
11619 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11620 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11621 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11623 * net/tls.el: Fix case of "GnuTLS".
11625 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11627 * version.el (emacs-build-system): Give it a doc-string.
11629 2011-11-24 Juri Linkov <juri@jurta.org>
11631 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11633 2011-11-24 Glenn Morris <rgm@gnu.org>
11635 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11636 if called on a non-mime message just toggle the headers. (Bug#8006)
11638 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11640 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11641 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11642 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11643 (allout-rebullet-heading, allout-open-sibtopic)
11644 (allout-toggle-current-subtree-encryption)
11645 (allout-toggle-subtree-encryption, allout-encrypt-string)
11646 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11647 (allout-distinctive-bullets-string, allout-auto-activation):
11648 * window.el (window-normalize-buffer-to-display):
11649 * progmodes/verilog-mode.el (verilog-batch-indent):
11650 * textmodes/bibtex.el (bibtex-field-braces-opt)
11651 (bibtex-field-strings-opt):
11652 * vc/cvs-status.el (cvs-tree-merge):
11655 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11657 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11658 `non-essential' to t, in order to avoid remote connections.
11660 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11662 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11663 On MS-DOS and MS-Windows, compare with loaddefs.el
11664 case-insensitively.
11666 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11668 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11670 2011-11-23 Glenn Morris <rgm@gnu.org>
11672 * paths.el (rmail-file-name): Reformat the doc-string so that it
11675 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11676 (rmail-auto-file): Ignore case in the "special" field names,
11677 as mail-fetch-field does for all others.
11679 * mail/rmail.el (rmail-forward):
11680 * mail/rmailkwd.el (rmail-set-label):
11681 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11682 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11684 * mail/rmail.el (rmail-current-message): Doc fix.
11686 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11688 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11690 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11692 2011-11-22 Glenn Morris <rgm@gnu.org>
11694 * mail/rmailmm.el (test-rmail-mime-handler)
11695 (test-rmail-mime-bulk-handler)
11696 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11698 2011-11-21 Juri Linkov <juri@jurta.org>
11700 * calc/calc.el (calc-read-key-sequence):
11701 Let-bind `input-method-function' to nil. (Bug#10018)
11703 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11705 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11706 Tell the caller that the next line needs recomputation, even
11707 though it doesn't start a sexp (bug#10094).
11709 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11711 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11713 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11715 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11716 Use force-same-window.
11718 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11720 * descr-text.el (describe-char-unicode-data):
11721 * json.el (json-string-escape):
11722 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11723 (Footnote-unicode, Footnote-style-p):
11724 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11726 2011-11-20 Chong Yidong <cyd@gnu.org>
11728 * window.el (replace-buffer-in-windows): Restore interactive spec.
11730 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11732 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11734 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11735 (byte-compile-global-not-obsolete-vars): New var.
11736 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11738 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11740 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11742 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11743 * progmodes/pascal.el (electric-pascal-equal):
11744 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11745 * xml.el (xml-substitute-special): Fix typos.
11747 2011-11-20 Glenn Morris <rgm@gnu.org>
11749 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11750 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11752 (rmail-decode-mime-charset): Mark as obsolete.
11754 * mail/rmailsum.el (rmail-message-regexp-p-1):
11755 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11756 Before using mime functions, check they are set. (Bug#10077)
11758 2011-11-19 Juri Linkov <juri@jurta.org>
11760 * info.el (Info-finder-find-node): Use `package--builtins' instead
11761 of `package-alist'. Use node names formed by the pattern "Keyword "
11762 and the keyword name.
11764 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11766 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11768 2011-11-19 Juri Linkov <juri@jurta.org>
11770 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11771 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11772 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11773 `old-history', `old-history-forward'. Add let-binding
11774 `window-selected'. Remove calls to `kill-buffer',
11775 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11776 before calling `Info-find-node', so `Info-find-node-2' will reread
11777 the Info file. Restore window positions only when `window-selected'
11780 2011-11-19 Juri Linkov <juri@jurta.org>
11782 * isearch.el (isearch-lazy-highlight-new-loop):
11783 Remove condition `(not isearch-error)'. (Bug#9918)
11785 * misearch.el (multi-isearch-search-fun): Add condition
11786 `(not bound)' to ignore lazy-highlighting search.
11787 Add the search-failed message "end of multi" when the end of
11788 multi-sequence is reached. Uncapitalize the search-failed
11789 message "Repeat for next buffer".
11791 * info.el (Info-search): Add the search-failed message
11792 "end of the manual" when the end of the manual is reached
11795 2011-11-19 Juri Linkov <juri@jurta.org>
11797 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11798 Use non-destructive `remove' instead of `delete' because
11799 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11800 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11802 2011-11-19 Juri Linkov <juri@jurta.org>
11804 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11805 to nil instead of binding `search-ring' and `regexp-search-ring'.
11808 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11810 * simple.el (line-move): Force movement by logical lines for any
11811 hscrolled window, not only when auto-hscroll-mode is on.
11812 (line-move-visual): Update doc string to that effect. (Bug#10076)
11814 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11816 * language/european.el (macintosh): Define as alias for mac-roman.
11818 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11820 * mail/rmailmm.el (rmail-mime-display-header)
11821 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11822 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11823 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11824 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11825 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11827 (rmail-mime-entity-segment): To get past the tagline, move forward
11828 2 more lines, to account for the 2 empty lines that precede and
11829 follow the line with the buttons.
11830 (rmail-mime-update-tagline): Move one more line, to get past the
11831 empty line that follows the buttons in the tagline. (Bug#9520)
11833 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11835 * window.el (window-max-delta-1, window-min-delta-1)
11836 (window-min-size-1, window-state-get-1, window-state-put-1)
11837 (window-state-put-2): Use "window--" prefix.
11839 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11841 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11842 (smie-warning-count): New var.
11843 (smie-set-prec2tab): Use it.
11844 (smie-bnf->prec2): Improve warnings. Add docstring.
11845 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11846 (smie-bnf--set-class): New function.
11847 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11850 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11851 (compilation-error-properties, compilation-move-to-column):
11852 Handle compilation-first-column while in the target buffer.
11854 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11855 Don't hardcode point-min==1.
11857 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11858 (eshell-rewrite-for-command): Remove workaround.
11859 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11860 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11861 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11863 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11865 2011-11-17 Glenn Morris <rgm@gnu.org>
11867 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11868 Ignore buffer-local generated-autoload-file if it is the same
11869 as the global value. (Bug#10049)
11871 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11873 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11874 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11875 (reftex-toc-previous-heading, reftex-toc-max-level)
11876 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11877 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11878 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11879 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11880 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11881 (reftex-toc-rename-label, reftex-toc-visit-location)
11882 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11883 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11884 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11885 leaving "*toc*" only for references to the buffer.
11887 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11889 * window.el (window-resize, delete-window, split-window):
11890 Replace window-splits by window-combination-resize.
11891 * cus-start.el (window-splits): Replace by window-combination-resize.
11893 2011-11-17 Glenn Morris <rgm@gnu.org>
11895 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11896 Make bash entry derive from sh entry, not shell entry.
11898 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11900 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11903 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11905 * menu-bar.el (menu-bar-file-menu):
11906 * printing.el (pr-ps-utility):
11907 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11908 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11909 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11910 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11911 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11912 (icalendar--convert-cyclic-to-ical)
11913 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11914 (icalendar--convert-ical-to-diary)
11915 (icalendar--convert-recurring-to-diary)
11916 (icalendar--convert-non-recurring-all-day-to-diary)
11917 (icalendar-import-format-sample):
11918 * progmodes/idlw-shell.el (idlwave-shell-mode):
11919 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11920 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11921 (vhdl-ps-print-init): Fix typos.
11923 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11925 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11926 FSF and collapse date sequence, obscure author/maintainer email address
11927 better, remove extra version line, track relocation of author's webpage.
11929 * progmodes/python.el (python-pdbtrack-input-prompt)
11930 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11931 regular python pdb prompts. Adjustments shamelessly taken exactly as
11932 suggested in EmacsWiki page (tiny change):
11933 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11935 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11937 * expand.el (expand-pos, expand-index, expand-point):
11938 Remove redundant info from docstring.
11939 (expand-add-abbrevs): Doc fix.
11940 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11941 (expand-sample-perl-mode-expand-list): Fix typos.
11943 * net/dbus.el (dbus-event-member-name):
11944 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11945 * term/pc-win.el (msdos-create-frame-with-faces):
11946 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11948 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11950 * window.el (split-window, window-state-get-1)
11951 (window-state-put-1, window-state-put-2): Rename occurrences of
11952 window-nest to window-combination-limit.
11953 * cus-start.el (window-nest): Rename to window-combination-limit.
11955 2011-11-16 Chong Yidong <cyd@gnu.org>
11957 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11958 regexp (Bug#10033).
11960 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11962 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11963 `completing-read' will remove *Completions* and will preserve
11964 current-buffer for us.
11965 (tmm-add-prompt): Users of *Completions* will always (re)set its
11967 (tmm-old-comp-map): Remove.
11969 2011-11-16 Glenn Morris <rgm@gnu.org>
11971 * mail/rmailedit.el: Require rmailmm when compiling.
11972 (rmail-old-mime-state): New declaration.
11973 (rmail-edit-current-message): If editing a mime message,
11974 edit the "raw" message from the mbox buffer.
11975 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11977 2011-11-15 Glenn Morris <rgm@gnu.org>
11979 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11980 which wasn't being used. Add optional arg to force given state.
11981 (rmail-mime): Add optional arg to force given state.
11983 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11985 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11986 * frame.el (display-mm-dimensions-alist):
11987 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11988 (outline-move-subtree-down):
11989 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11990 (newsticker--treeview-do-get-node):
11991 * net/quickurl.el (quickurl-list-buffer-name):
11992 * progmodes/dcl-mode.el (dcl-mode):
11993 * progmodes/gdb-mi.el (gdb-mapcar*):
11994 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11996 2011-11-15 Glenn Morris <rgm@gnu.org>
11998 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11999 in a boolean sense, so just make it a boolean, and fix the doc.
12000 (rmail-show-mime-function, rmail-mime-feature)
12001 (rmail-require-mime-maybe): Doc fixes.
12002 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12004 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12006 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12008 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12009 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12010 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12011 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12013 2011-11-15 Glenn Morris <rgm@gnu.org>
12015 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12016 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12017 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12018 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12019 (rmail-mime, rmail-show-mime): Doc fixes.
12021 * term/ns-win.el (mode-line-frame-identification):
12022 Leave it alone. (Bug#10051)
12024 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12026 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12027 Handle empty buffers. (Bug#9978)
12029 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12031 * international/mule.el (define-charset):
12032 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12033 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12034 * progmodes/verilog-mode.el (verilog-backward-token):
12035 * textmodes/ispell.el (lookup-words):
12036 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12038 2011-11-14 Glenn Morris <rgm@gnu.org>
12040 * progmodes/executable.el
12041 (executable-make-buffer-file-executable-if-script-p):
12042 Handle file-modes returning nil.
12044 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12045 message - not necessary, and causes problems. (Bug#9831)
12047 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12049 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12051 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12052 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12053 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12055 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12057 * window.el (window-resize, delete-window): Use window-splits
12058 variable instead of function.
12059 (window-state-get-1, window-state-put-2, window-state-put):
12060 Don't deal with windows' splits status.
12062 2011-11-12 Glenn Morris <rgm@gnu.org>
12064 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12065 (apropos-documentation): Doc fixes.
12067 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12069 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12070 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12072 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12074 * electric.el (electric-indent-post-self-insert-function): Make it
12075 possible for a char to only indent in some circumstances.
12076 (electric-indent-mode): Simplify.
12078 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12080 * window.el (windows-with-parameter): Remove unused function.
12081 (windows-at-side): Rename to window-at-side-list.
12082 (window-check, window-atom-check, window-atom-check-1)
12083 (window-side-check, window-size-ignore, window-size-fixed-1)
12084 (window-in-direction-2): Prefix with "window--".
12085 (window-tree-1): Rename to window--subtree, fix doc-string.
12087 2011-11-11 Glenn Morris <rgm@gnu.org>
12089 * subr.el (eval-after-load): If FILE is already loaded,
12090 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12092 2011-11-10 Glenn Morris <rgm@gnu.org>
12094 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12095 Call svn via vc-svn-command rather than vc-do-command.
12096 (vc-svn-command): Add --non-interactive. (Bug#9993)
12097 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12099 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12100 Add toggle-read-only. (Bug#7292)
12101 * files.el (toggle-read-only): Mention that it should only
12102 be used interactively. (Bug#10006)
12104 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12106 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12107 Adjust regexp for OCaml warnings.
12109 * electric.el (electric-pair-post-self-insert-function): Let user
12110 turn it off buffer-locally (bug#9932).
12112 * progmodes/python.el (python-beginning-of-statement):
12113 Rewrite (bug#2703).
12115 * progmodes/compile.el: Better handle TABs (bug#9749).
12116 (compilation-internal-error-properties)
12117 (compilation-next-error-function): Obey the target buffer's
12118 compilation-error-screen-columns.
12120 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12122 * progmodes/meta-mode.el: Remove obsolete comments.
12123 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12124 Fix typos in docstrings.
12126 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12128 * window.el (window-size-fixed-p): Rewrite doc-string.
12129 (window-resizable-p): Rename to window--resizable-p. Update callers.
12130 (window--resizable): New function. Make all callers of
12131 window-resizable call window--resizable instead.
12132 (window-resizable): Rewrite in terms of window--resizable.
12134 2011-11-08 Glenn Morris <rgm@gnu.org>
12136 * progmodes/delphi.el (delphi-mode-syntax-table):
12137 Let define-derived-mode define a proper syntax table. (Bug#9994)
12139 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12141 * window.el: Stay away from defsubst.
12142 (window-list-no-nils): Remove.
12143 (window-state-get-1, window-state-get): Use backquote instead.
12145 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12147 * emacs-lisp/find-func.el (find-function-read):
12148 Fix incorrect use of default argument in `completing-read'.
12150 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12152 * window.el (display-buffer-function, special-display-function):
12153 Mention display-buffer-record-window but do not mention
12154 help-setup parameter in doc-strings.
12155 (window-min-delta): Fix doc-string typo.
12157 2011-11-08 Chong Yidong <cyd@gnu.org>
12159 * window.el (window-total-height, window-total-width): Doc fix.
12160 (window-body-size): Move from C.
12161 (window-body-height, window-body-width): Move to C.
12163 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12165 * window.el: Make special-display like display-buffer-alist (bug#9532).
12166 (display-buffer--special-action): New function, morphed
12167 from display-buffer--special.
12168 (display-buffer): Use it to handle special-display-buffers at higher
12169 priority (just after display-buffer-alist).
12170 (display-buffer-fallback-action, display-buffer--other-frame-action)
12171 (pop-to-buffer-same-window): Remove display-buffer--special.
12173 2011-11-07 Glenn Morris <rgm@gnu.org>
12175 * calendar/cal-menu.el (cal-menu-set-date-title):
12176 Do nothing if not in a calendar. (Bug#9976)
12178 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12180 * files.el (find-file): Always use selected-window.
12182 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12184 * window.el (window-combinations): Make WINDOW argument
12185 mandatory. Rewrite doc-string.
12186 (walk-window-subtree, window-atom-check, window-min-delta)
12187 (window-max-delta, window--resize-this-window)
12188 (window--resize-root-window-vertically, window-tree)
12189 (balance-windows, window-state-put): Rewrite doc-strings as to
12190 not mention the term "subwindow".
12191 (window--resize-subwindows-skip-p): Rename to
12192 window--resize-child-windows-skip-p.
12193 (window--resize-subwindows-normal): Rename to
12194 window--resize-child-windows-normal.
12195 (window--resize-subwindows): Rename to
12196 window--resize-child-windows.
12197 (window-or-subwindow-p): Rename to window--in-subtree-p.
12199 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12201 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12202 Ensure that mbox format messages end in two newlines (Bug#9974).
12204 2011-11-06 Chong Yidong <cyd@gnu.org>
12206 * window.el (window-combination-p): Function deleted; its
12207 side-effect is not used in any existing code.
12208 (window-combinations, window-combined-p): Call window-*-child
12211 2011-11-05 Chong Yidong <cyd@gnu.org>
12213 * window.el (window-valid-p): Rename from window-any-p.
12214 (window-size-ignore, window-state-get): Callers changed.
12215 (window-normalize-window): Rename from window-normalize-any-window.
12216 New arg LIVE-ONLY, replacing window-normalize-live-window.
12217 (window-normalize-live-window): Delete.
12218 (window-combination-p, window-combined-p, window-combinations)
12219 (walk-window-subtree, window-atom-root, window-min-size)
12220 (window-sizable, window-sizable-p, window-size-fixed-p)
12221 (window-min-delta, window-max-delta, window-resizable)
12222 (window-resizable-p, window-full-height-p, window-full-width-p)
12223 (window-current-scroll-bars, window-point-1, set-window-point-1)
12224 (window-at-side-p, window-in-direction, window-resize)
12225 (adjust-window-trailing-edge, maximize-window, minimize-window)
12226 (window-deletable-p, delete-window, delete-other-windows)
12227 (record-window-buffer, unrecord-window-buffer)
12228 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12229 (quit-window, split-window, window-state-put)
12230 (set-window-text-height, fit-window-to-buffer)
12231 (shrink-window-if-larger-than-buffer): Callers changed.
12233 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12235 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12236 rfc2047-decode-string.
12237 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12240 * window.el (window-body-height, window-body-width): Mention in
12241 the doc string that the return values are in frame's canonical
12244 2011-11-03 Alan Mackenzie <acm@muc.de>
12246 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12247 change in cc-engine.el.
12249 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12251 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12253 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12255 * window.el (quit-window): Call unrecord-window-buffer after
12256 showing another buffer in the window. (Bug#9937)
12257 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12259 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12261 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12262 Accept status with more than 9 shelves. (Bug#9935)
12263 Reported by Colin D Bennett <colin@gibibit.com>.
12265 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12267 * help.el (with-help-window): Don't reference
12268 temp-buffer-show-specifiers in doc-string.
12270 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12272 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12275 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12277 * whitespace.el: New version 13.2.2.
12278 (whitespace-newline-mode): Disable properly. Reported by Sarah
12281 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12283 * net/newst-treeview.el: Remove "Time-stamp".
12284 (newsticker--group-manage-orphan-feeds): Do not call
12285 newsticker--treeview-tree-update.
12286 (newsticker-treeview-update, newsticker-treeview):
12287 Call newsticker--treeview-tree-update if necessary.
12289 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12291 * window.el (window-iso-combination-p, window-iso-combined-p)
12292 (window-iso-combinations): Remove "iso-" infix.
12293 Suggested by Chong Yidong.
12294 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12295 (window-max-delta-1, window-resize, window--resize-siblings)
12296 (window--resize-this-window, adjust-window-trailing-edge)
12297 (split-window, balance-windows-1)
12298 (shrink-window-if-larger-than-buffer):
12299 * calendar/calendar.el (calendar-generate-window):
12300 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12302 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12304 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12305 in place (bug#9907).
12306 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12307 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12308 (eshell-structure-basic-command, eshell-rewrite-while-command)
12309 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12310 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12311 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12312 (eshell-do-pipelines-synchronously, eshell-eval-command):
12313 Use backquotes and prefer setq to set.
12314 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12315 (eshell-macrop): Use functionp.
12316 (eshell-do-eval): Handle multiple expressions in `while' body.
12318 2011-10-30 Chong Yidong <cyd@gnu.org>
12320 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12321 instead of set-mark (Bug#9810).
12323 2011-10-30 Chong Yidong <cyd@gnu.org>
12325 * window.el (split-window-below, split-window-right): Rename from
12326 split-window-above-each-other and split-window-side-by-side
12327 respectively. All callers changed.
12328 (split-window-sensibly, split-window-sensibly): Use them.
12329 (split-window-keep-point): Doc fix.
12331 * isearch.el: Add isearch-scroll property to split-window-below
12332 and split-window-right.
12334 * follow.el (follow-mode):
12335 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12336 * progmodes/ada-xref.el (ada-gdb-application):
12337 * emulation/vip.el (vip-buffer-in-two-windows):
12338 * image-dired.el (image-dired-dired-with-window-configuration):
12339 * dired-x.el (dired-do-find-marked-files):
12340 * dired.el (dired-pop-to-buffer):
12341 * bs.el (bs--show-with-configuration):
12342 * vc/emerge.el (emerge-setup-windows):
12343 * textmodes/two-column.el (2C-two-columns):
12344 * textmodes/reftex-toc.el (reftex-toc):
12345 * progmodes/gdb-mi.el (gdb-setup-windows):
12346 * progmodes/fortran.el (fortran-window-create):
12347 * net/newst-treeview.el (newsticker--treeview-window-init):
12348 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12349 * emulation/tpu-edt.el (tpu-gold-map):
12350 * emulation/crisp.el (crisp-mode-map):
12351 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12353 2011-10-29 Chong Yidong <cyd@gnu.org>
12355 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12357 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12359 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12360 forged Ispell output (Bug#7904).
12362 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12364 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12366 * doc-view.el: Avoid ugly errors about not finding nil.
12367 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12368 (doc-view-dvipdf-program, doc-view-unoconv-program)
12369 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12370 Avoid nil or absolute file name as default value.
12371 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12373 2011-10-28 Alan Mackenzie <acm@muc.de>
12375 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12377 2011-10-28 Alan Mackenzie <acm@muc.de>
12379 Amend the handling of c-beginning/end-of-defun in nested declaration
12382 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12383 cc-langs.el. Change it to a defcustom.
12385 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12388 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12389 Prevent "class foo : bar" being spuriously recognized as a label.
12391 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12392 Add parameter `inclusive' (to include enclosing braces in the region).
12393 (c-widen-to-enclosing-decl-scope): New function.
12394 (c-while-widening-to-decl-block): New macro.
12395 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12396 outward for defun boundaries, and correspondingly change symbol
12397 `respect-enclosure' to `go-outward'.
12398 (c-declaration-limits): Change algorithm to report only the "innermost"
12399 defun's boundaries.
12401 2011-10-28 Deniz Dogan <deniz@dogan.se>
12403 * net/rcirc.el (rcirc-mode): Use hard newlines.
12405 2011-10-28 Alan Mackenzie <acm@muc.de>
12407 Amend to indent and fontify macros "which include their own semicolon"
12408 correctly, using the "virtual semicolon" mechanism.
12410 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12412 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12413 Recode to scan one line at a time rather than having \n and \r
12414 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12415 (c-forward-label): Amend for virtual semicolons.
12416 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12418 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12419 of the new C macros.
12421 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12422 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12423 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12424 (c-opt-cpp-macro-define): Make into a full language variable.
12425 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12426 AWK Mode (including \n, \r) removed, no longer needed.
12428 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12429 Invoke c-make-macro-with-semi-re.
12431 * progmodes/cc-vars.el (c-macro-with-semi-re):
12432 (c-macro-names-with-semicolon): New variables.
12433 (c-make-macro-with-semi-re): New function.
12435 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12437 * vc/log-edit.el: Fill empty field rather than adding new one.
12438 (log-edit-add-field): New function.
12439 (log-edit-insert-changelog): Use it.
12441 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12443 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12445 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12447 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12448 (gdb--check-interpreter): New function.
12451 2011-10-27 Glenn Morris <rgm@gnu.org>
12453 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12454 (least-positive-float, least-negative-float)
12455 (least-positive-normalized-float, least-negative-normalized-float)
12456 (float-epsilon, float-negative-epsilon):
12457 Remove unnecessary declarations.
12459 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12460 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12461 (least-positive-float, least-negative-float)
12462 (least-positive-normalized-float, least-negative-normalized-float)
12463 (float-epsilon, float-negative-epsilon): Add doc-strings,
12464 based on those in cl.texi.
12466 * files.el (set-visited-file-name): If the major-mode changed,
12467 reload the local variables. (Bug#9796)
12469 2011-10-27 Chong Yidong <cyd@gnu.org>
12471 * subr.el (change-major-mode-after-body-hook): New hook.
12472 (run-mode-hooks): Run it.
12474 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12475 Use change-major-mode-before-body-hook.
12477 * simple.el (fundamental-mode):
12478 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12479 change introducing fundamental-mode-hook.
12481 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12483 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12485 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12487 * ido.el (ido-file-name-all-completions-1): Do not require
12488 tramp.el explicitly. (Bug#7583)
12490 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12492 * progmodes/octave-mod.el:
12493 * progmodes/octave-inf.el: Update maintainer.
12495 2011-10-26 Chong Yidong <cyd@gnu.org>
12497 * subr.el (with-wrapper-hook): Rewrite doc.
12499 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12501 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12502 filenames "/method:foo:". (Bug#9793)
12504 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12506 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12509 2011-10-24 Glenn Morris <rgm@gnu.org>
12511 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12513 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12515 * notifications.el: Add the requirement of a running D-Bus session
12516 bus to the Commentary.
12518 2011-10-24 Juri Linkov <juri@jurta.org>
12520 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12521 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12524 2011-10-24 Juri Linkov <juri@jurta.org>
12526 * info.el (Info-following-node-name-re): Add newline to the list
12527 of allowed characters for leading space. (Bug#9824)
12529 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12531 * progmodes/octave-inf.el (inferior-octave-mode-map):
12532 Fix C-c C-h binding.
12533 * progmodes/octave-mod.el (octave-help): Remove.
12535 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12537 Sync with Tramp 2.2.3.
12539 * net/tramp-cache.el (top): Pacify byte-compiler using
12540 `init-file-user' and `site-run-file'.
12542 * net/trampver.el: Update release number.
12544 2011-10-23 Chong Yidong <cyd@gnu.org>
12546 * files.el (toggle-read-only): Remove obsolete comment about
12549 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12550 for toggle-read-only. Note that this hasn't called vc-next-action
12551 since 2008-05-02, though it wasn't documented at the time.
12553 * vc/ediff-init.el (ediff-toggle-read-only-function):
12554 Use toggle-read-only.
12556 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12558 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12561 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12562 correct faulty logical expression.
12563 (c-parse-state-state, c-record-parse-state-state):
12564 (c-replay-parse-state-state): New defvar/defuns.
12565 (c-debug-parse-state): Use new functions.
12567 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12569 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12570 last fix. Use window-in-direction correctly.
12572 2011-10-21 Chong Yidong <cyd@gnu.org>
12574 * progmodes/idlwave.el (idlwave-mode):
12575 * progmodes/vera-mode.el (vera-mode): No need to set
12576 require-final-newline; that's done in prog-mode.
12577 Suggested by Stefan Monnier.
12579 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12581 * mouse.el (mouse-drag-window-above)
12582 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12583 (mouse-drag-mode-line-1, mouse-drag-header-line)
12584 (mouse-drag-vertical-line-rightward-window): Remove.
12585 (mouse-drag-line): New function.
12586 (mouse-drag-mode-line, mouse-drag-header-line)
12587 (mouse-drag-vertical-line): Call mouse-drag-line.
12588 * window.el (window-at-side-p, windows-at-side): New functions.
12590 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12592 * tar-mode.el (tar-grind-file-mode):
12593 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12595 2011-10-21 Chong Yidong <cyd@gnu.org>
12597 * progmodes/idlwave.el (idlwave-mode):
12598 * progmodes/vera-mode.el (vera-mode):
12599 Use mode-require-final-newline.
12601 2011-10-20 Glenn Morris <rgm@gnu.org>
12603 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12605 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12607 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12609 2011-10-20 Chong Yidong <cyd@gnu.org>
12611 * emulation/cua-base.el (cua-mode):
12612 * mail/footnote.el (footnote-mode):
12613 * mail/mailabbrev.el (mail-abbrevs-mode):
12614 * net/xesam.el (xesam-minor-mode):
12615 * progmodes/bug-reference.el (bug-reference-mode):
12616 * progmodes/cap-words.el (capitalized-words-mode):
12617 * progmodes/compile.el (compilation-minor-mode)
12618 (compilation-shell-minor-mode):
12619 * progmodes/gud.el (gud-tooltip-mode):
12620 * progmodes/hideif.el (hide-ifdef-mode):
12621 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12622 * progmodes/subword.el (subword-mode):
12623 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12624 * progmodes/which-func.el (which-function-mode):
12625 * term/tvi970.el (tvi970-set-keypad-mode):
12626 * term/vt100.el (vt100-wide-mode):
12627 * textmodes/flyspell.el (flyspell-mode):
12628 * textmodes/ispell.el (ispell-minor-mode):
12629 * textmodes/nroff-mode.el (nroff-electric-mode):
12630 * textmodes/paragraphs.el (use-hard-newlines):
12631 * textmodes/refill.el (refill-mode):
12632 * textmodes/reftex.el (reftex-mode):
12633 * textmodes/rst.el (rst-minor-mode):
12634 * textmodes/sgml-mode.el (html-autoview-mode)
12635 (sgml-electric-tag-pair-mode):
12636 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12637 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12638 * emulation/crisp.el (crisp-mode):
12639 * emacs-lisp/eldoc.el (eldoc-mode):
12640 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12641 minor mode behavior.
12643 2011-10-19 Juri Linkov <juri@jurta.org>
12645 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12646 the list of hard-coded chars with escape-glyph face.
12648 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12650 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12652 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12654 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12657 2011-10-19 Glenn Morris <rgm@gnu.org>
12659 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12660 Ignore ignored files. (Bug#9726)
12662 2011-10-19 Chong Yidong <cyd@gnu.org>
12664 Doc fix for minor modes, stating that an omitted argument enables
12665 the mode unconditionally when called from Lisp.
12667 * abbrev.el (abbrev-mode):
12668 * allout.el (allout-mode):
12669 * autoinsert.el (auto-insert-mode):
12670 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12671 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12672 (global-auto-revert-mode):
12673 * battery.el (display-battery-mode):
12674 * composite.el (global-auto-composition-mode)
12675 (auto-composition-mode):
12676 * delsel.el (delete-selection-mode):
12677 * desktop.el (desktop-save-mode):
12678 * dired-x.el (dired-omit-mode):
12679 * dirtrack.el (dirtrack-mode):
12680 * doc-view.el (doc-view-minor-mode):
12681 * double.el (double-mode):
12682 * electric.el (electric-indent-mode, electric-pair-mode):
12683 * emacs-lock.el (emacs-lock-mode):
12684 * epa-hook.el (auto-encryption-mode):
12685 * follow.el (follow-mode):
12686 * font-core.el (font-lock-mode):
12687 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12688 * help.el (temp-buffer-resize-mode):
12689 * hilit-chg.el (highlight-changes-mode)
12690 (highlight-changes-visible-mode):
12691 * hi-lock.el (hi-lock-mode):
12692 * hl-line.el (hl-line-mode, global-hl-line-mode):
12693 * icomplete.el (icomplete-mode):
12694 * ido.el (ido-everywhere):
12695 * image-file.el (auto-image-file-mode):
12696 * image-mode.el (image-minor-mode):
12697 * iswitchb.el (iswitchb-mode):
12698 * jka-cmpr-hook.el (auto-compression-mode):
12699 * linum.el (linum-mode):
12700 * longlines.el (longlines-mode):
12701 * master.el (master-mode):
12702 * mb-depth.el (minibuffer-depth-indicate-mode):
12703 * menu-bar.el (menu-bar-mode):
12704 * minibuf-eldef.el (minibuffer-electric-default-mode):
12705 * mouse-sel.el (mouse-sel-mode):
12706 * msb.el (msb-mode):
12707 * mwheel.el (mouse-wheel-mode):
12708 * outline.el (outline-minor-mode):
12709 * paren.el (show-paren-mode):
12710 * recentf.el (recentf-mode):
12711 * reveal.el (reveal-mode, global-reveal-mode):
12712 * rfn-eshadow.el (file-name-shadow-mode):
12713 * ruler-mode.el (ruler-mode):
12714 * savehist.el (savehist-mode):
12715 * scroll-all.el (scroll-all-mode):
12716 * scroll-bar.el (scroll-bar-mode):
12717 * server.el (server-mode):
12718 * shell.el (shell-dirtrack-mode):
12719 * simple.el (auto-fill-mode, transient-mark-mode)
12720 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12721 (line-number-mode, column-number-mode, size-indication-mode)
12722 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12723 * strokes.el (strokes-mode):
12724 * time.el (display-time-mode):
12725 * t-mouse.el (gpm-mouse-mode):
12726 * tool-bar.el (tool-bar-mode):
12727 * tooltip.el (tooltip-mode):
12728 * type-break.el (type-break-mode-line-message-mode)
12729 (type-break-query-mode):
12730 * view.el (view-mode):
12731 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12732 (global-whitespace-mode, global-whitespace-newline-mode):
12733 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12735 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12736 Fix autogenerated docstring.
12738 2011-10-19 Juri Linkov <juri@jurta.org>
12740 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12741 by checking environment variables "DESKTOP_SESSION" and
12742 "XDG_CURRENT_DESKTOP". (Bug#9779)
12744 2011-10-19 Juri Linkov <juri@jurta.org>
12746 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12747 (browse-url-chromium-program, browse-url-chromium-arguments):
12749 (browse-url-default-browser): Check for `browse-url-chromium' and
12750 call `browse-url-chromium-program'.
12751 (browse-url-chromium): New command. (Bug#9779)
12753 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12755 * facemenu.el (list-colors-duplicates): On Windows, detect more
12756 duplicates by assuming that only colors matching "^System" are
12757 special "system colors". (Bug#9722)
12759 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12761 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12762 to distinguish the author from the committer.
12764 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12766 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12768 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12770 * international/mule.el (sgml-html-meta-auto-coding-function):
12771 Add support for detecting encoding in HTML5 specified only as
12772 <meta charset="UTF-8">. Implementation just makes http-equiv and
12773 content-type parts from HTML4 encoding string optional. (Bug#9716)
12775 2011-10-18 Glenn Morris <rgm@gnu.org>
12777 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12779 2011-10-18 Chong Yidong <cyd@gnu.org>
12781 * faces.el (cursor): Doc fix.
12783 2011-10-17 Chong Yidong <cyd@gnu.org>
12785 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12787 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12789 * dirtrack.el (dirtrack): Support shell buffers with path
12790 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12792 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12794 * json.el: Bump version to 1.3 and note change in History.
12795 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12797 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12799 * comint.el (comint-insert-input, comint-send-input)
12800 (comint-get-old-input-default, comint-backward-matching-input)
12801 (comint-next-prompt): Use nil instead of `input' for field property of
12802 past user input (bug#114).
12804 * minibuffer.el (completion--replace): Inherit surrounding properties
12806 (minibuffer-complete-and-exit): Use it.
12808 * comint.el (comint--table-subvert): Quote the all-completions output
12811 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12813 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12815 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12816 window on right of selected. (Bug#9350) Reword other window
12817 entries and separate them from frame entries.
12819 2011-10-15 Glenn Morris <rgm@gnu.org>
12821 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12824 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12826 * net/network-stream.el (network-stream-open-starttls):
12827 Improve detection of failure due to lack of TLS support.
12829 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12830 putting the input text in front and in bold.
12832 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12834 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12836 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12839 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12840 unread-command-events rather than pushing yet-another event.
12842 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12844 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12845 the explanation of the possible choices. Make the options passed
12846 to completing-read shorter.
12848 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12850 * textmodes/flyspell.el (flyspell-large-region): Make sure
12851 extended character mode is used if defined (Bug#1339).
12853 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12855 * simple.el (what-cursor-position): Fix the display of the
12856 character info for LRE, LRO, RLE, and RLO characters by appending
12859 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12861 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12862 even in case of error; add debug spec; simplify data flow.
12863 (with-timeout-handler): Remove.
12865 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12867 Fix Bug#6019, Bug#9315.
12869 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12870 complete `buffer-file-name', the local file name part could look
12871 remotely (for example on VMS).
12873 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12874 `tramp-run-real-handler'.
12875 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12876 already quoted by '"'.
12878 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12879 Let `file-name-handler-alist' be nil, the local file name part
12880 could look remotely (for example on VMS).
12882 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12884 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12886 (flyspell-post-command-hook): ...to here.
12888 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12890 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12892 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12893 using completion. Protect against "slow" callers.
12894 Remove the "message hack".
12896 2011-10-11 Juri Linkov <juri@jurta.org>
12898 * isearch.el (isearch-lazy-highlight-word): New variable.
12899 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12902 2011-10-11 Glenn Morris <rgm@gnu.org>
12904 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12905 like f90-previous-statement does.
12907 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12909 * eshell/eshell.el (eshell-command): History should be saved
12910 only in interactive use, to avoid error.
12912 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12914 * minibuffer.el (completion-file-name-table): Fix last change,
12915 i.e. ignore normal errors but not the other ones.
12917 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12919 * window.el (special-display-buffer-names)
12920 (special-display-regexps): Remove some remnants of earlier
12921 changes from doc-strings.
12922 (quit-windows-on): New function.
12924 * vc/vc.el (vc-revert, vc-rollback):
12925 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12926 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12927 (Bug#6183) (Bug#7074) (Bug#7447)
12929 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12931 * window.el (frame-auto-hide-function): Add version tag.
12934 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12936 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12939 2011-10-09 Leo Liu <sdl.web@gmail.com>
12941 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12944 2011-10-08 Glenn Morris <rgm@gnu.org>
12946 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12947 before the first code statement zero indent. (Bug#9690)
12949 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12951 * simple.el (count-words-region): Always count in the region.
12952 Report the number of lines and characters too.
12953 (count-words): New command, which counts in the buffer if the
12954 region is inactive, as count-words-region used to.
12955 (count-words--message): New function. Handle plurals.
12956 (count-lines-region): Make it an alias for count-words-region.
12958 * bindings.el (esc-map): Replace count-lines-region with
12959 count-words-region.
12961 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12963 * window.el (window--delete): Delete dedicated frame
12964 unconditionally when argument KILL is non-nil. (Bug#9699)
12965 (switch-to-buffer): Fix doc-string typo.
12967 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12969 * eshell/eshell.el (eshell-command): Avoid using hooks.
12971 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12973 * bindings.el ([M-left],[M-right]): Bind to left-word and
12974 right-word respectively.
12976 2011-10-07 Glenn Morris <rgm@gnu.org>
12978 * cus-start.el (debug-on-quit): Fix custom type.
12980 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12982 * subr.el (define-key-after): Clarify that the function is not
12983 useful for non-menu keymaps.
12985 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12987 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12989 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12990 in current minibuffer (Fix bug with recursive minibuffers).
12992 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12994 * progmodes/gdb-mi.el (gdb): Doc fix.
12996 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12998 * window.el (frame-auto-hide-function): New option replacing
12999 frame-auto-delete. Suggested by Stefan Monnier.
13000 (window--delete): Call frame-auto-hide-function instead of
13001 investigating frame-auto-delete.
13002 (window-point-1, set-window-point-1): New functions.
13003 (window-in-direction, record-window-buffer, window-state-get-1)
13004 (display-buffer-record-window): Use window-point-1 instead of
13006 (set-window-buffer-start-and-point): Use set-window-point-1.
13008 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13010 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13012 2011-10-05 Glenn Morris <rgm@gnu.org>
13014 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13015 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13017 2011-10-05 Leo Liu <sdl.web@gmail.com>
13019 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13020 works with buffer object.
13022 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13024 * mpc.el (mpc-tool-bar-map): Add labels.
13026 2011-10-04 Glenn Morris <rgm@gnu.org>
13028 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13030 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13032 * window.el (window--delete): New function.
13033 (frame-auto-delete): Resuscitate option.
13034 (bury-buffer, replace-buffer-in-windows)
13035 (quit-window): Rewrite using window--delete.
13036 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13037 Pass display-buffer-mark-dedicated to window--display-buffer-2
13040 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13042 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13043 returns a list (bug#9554). Add remote file name completion.
13044 * comint.el (comint--table-subvert): Curry and get quote&unquote
13045 functions as arguments.
13046 (comint--complete-file-name-data): Adjust call accordingly.
13047 * pcomplete.el (pcomplete--table-subvert): Remove.
13048 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13050 * minibuffer.el (completion-table-case-fold): Use currying.
13051 (completion--styles-type, completion--cycling-threshold-type):
13053 (completion-styles, completion-category-overrides)
13054 (completion-cycle-threshold): Use them.
13055 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13056 completion-table-case-fold.
13058 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13060 * minibuffer.el (completion-category-overrides): Fix type of styles
13061 and add more user friendly tags (bug#9660).
13063 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13065 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13066 (mule-input-method-string): New widget.
13067 (default-input-method, language-info-custom-alist): Use it.
13069 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13071 * pcomplete.el: Require comint.
13072 (pcomplete--common-suffix): Remove.
13073 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13074 (pcomplete--table-subvert): Sync with comint--table-subvert.
13075 (pcomplete--entries): Use comint-completion-file-name-table.
13076 * comint.el (comint-unquote-filename): Simplify.
13077 (comint-completion-file-name-table): New function (bug#9616).
13078 (comint--complete-file-name-data): Use it.
13080 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13081 (pcmpl-gnu-tar-buffer): Remove.
13082 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13083 around. Make sure pcomplete-suffix-list is only changed temporarily.
13084 Don't look inside the tar's file if it's too large.
13086 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13088 * cus-edit.el (custom-mode-map):
13089 * epa.el (epa-key-list-mode-map):
13090 * man.el (Man-mode-map):
13091 * startup.el (splash-screen-keymap):
13092 * simple.el (special-mode-map): Use scroll-up-command and
13093 scroll-down-command.
13095 * progmodes/idlw-help.el (idlwave-help-mode-map):
13096 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13097 * net/newst-plainview.el (newsticker-mode-map):
13098 * emulation/ws-mode.el (wordstar-mode-map):
13099 * emulation/vi.el (vi-com-map):
13100 * calc/calc-graph.el (calc-graph-show-dumb):
13101 * term/sun.el (terminal-init-sun):
13102 * term/ns-win.el (global-map):
13103 * progmodes/grep.el (grep-mode-map):
13104 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13105 * mail/rmail.el (rmail-mode-map):
13106 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13108 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13109 custom-safe-themes as special.
13111 2011-10-01 Julien Danjou <julien@danjou.info>
13113 * notifications.el (notifications-notify): Fix docstring.
13115 2011-10-01 Per Starbäck <per@starback.se>
13117 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13119 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13121 * startup.el (command-line-1): Fix last fix by inserting
13122 initial-scratch-message into *scratch* before displaying it.
13123 (Bug#9605) and (Bug#9636)
13125 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13127 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13128 window is hscrolled, move by logical lines. (Bug#9607)
13129 (line-move-visual): Update the doc string to the above effect.
13131 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13133 * window.el (display-buffer-record-window): When WINDOW is the
13134 selected window use `point' instead of `window-point'. (Bug#9626)
13136 * startup.el (command-line-1): Use insert-before-markers when
13137 inserting initial-scratch-message. (Bug#9605)
13139 * help.el (help-window): Remove variable.
13141 2011-09-29 Glenn Morris <rgm@gnu.org>
13143 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13145 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13147 * descr-text.el (describe-char-categories): Accept category
13148 descriptions more than one line long.
13150 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13152 * simple.el (delete-trailing-whitespace): Fix last change.
13154 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13155 Don't confuse "y => 3" as the beginning of a `y' operation.
13157 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13158 object has more than 4 slots (bug#9613).
13160 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13162 * subr.el (with-output-to-temp-buffer):
13163 * net/quickurl.el (quickurl, quickurl-browse-url):
13164 Fix typos in docstrings.
13166 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13168 * minibuffer.el (completion-styles)
13169 (completion-category-overrides): Cross reference each other in doc
13172 2011-09-27 Glenn Morris <rgm@gnu.org>
13174 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13175 to split-string. (Bug#9606)
13177 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13179 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13182 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13184 * emacs-lisp/package.el (list-packages): Fix echo area message.
13186 2011-09-27 Leo Liu <sdl.web@gmail.com>
13188 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13190 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13192 * net/dbus.el (dbus-unregister-object): Don't release services for
13193 registered signals. (Bug#9581)
13195 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13197 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13198 function that picks between cfengine 2 and 3 support
13199 automatically. Update docs accordingly.
13201 2011-09-22 Kenichi Handa <handa@m17n.org>
13203 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13205 (indian-itrans-v5-table-for-tamil): New variable.
13206 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13208 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13210 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13211 that's true if the current command involved collapsing of text.
13212 It's reset to false at the beginning of the next command.
13213 (allout-post-command-business): Move the cursor to the beginning
13214 of entry if the cursor is hidden and collapsing activity just
13217 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13219 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13220 tracking (Bug#9541).
13222 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13224 * net/newst-reader.el (newsticker-html-renderer)
13225 (newsticker-show-news): Automatically load html rendering package
13226 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13227 because w3m-fill-column is let-bound" and the error "Symbol's value
13228 as variable is void: w3m-fill-column".
13230 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13232 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13233 Release services only if they are defined. (Bug#9581)
13235 2011-09-23 Richard Stallman <rms@gnu.org>
13237 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13238 distinguish start of paragraph from start of its text.
13240 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13242 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13243 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13244 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13246 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13248 * international/mule-diag.el (mule-diag): Insert a newline after
13249 each fontset description.
13251 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13253 * simple.el (delete-trailing-whitespace):
13254 Document last change; simplify.
13256 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13258 * simple.el (delete-trailing-whitespace): Also delete
13259 extra newlines at the end of the buffer.
13261 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13262 (picture-newline): Use forward-line so as to ignore fields.
13264 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13266 * subr.el (with-wrapper-hook): Fix edebug spec.
13268 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13270 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13273 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13275 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13276 Fix nasty bug using wrong cached values.
13278 2011-09-23 Alan Mackenzie <acm@muc.de>
13280 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13282 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13284 * window.el (pop-to-buffer): Ensure right window is selected if we
13285 chose another frame.
13287 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13289 * simple.el (what-cursor-position): Use get-char-property-change
13290 and next-single-char-property-change, to be able to show display
13291 properties that come from overlays as well as text properties.
13293 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13295 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13297 * cmuscheme.el (run-scheme, switch-to-scheme):
13298 * cus-edit.el (customize-group, custom-buffer-create)
13299 (customize-browse):
13301 * shell.el (shell):
13302 * mail/sendmail.el (mail):
13303 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13305 2011-09-22 Richard Stallman <rms@gnu.org>
13307 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13308 move back only to line beg, don't move back over blank lines.
13310 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13312 * files.el (copy-directory): Set directory attributes only in case
13313 they could be retrieved from the source directory. (Bug#9565)
13315 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13317 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13318 (hs-find-block-beginning, hs-hide-level-recursive):
13319 Ignore strings as well as comments. (Bug#9502)
13321 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13323 * progmodes/sql.el (sql-comint-postgres):
13324 Convert port number to a string. (Bug#9566)
13326 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13328 * window.el (quit-window): Undedicate window when switching to
13329 previous buffer. Reported by Thierry Volpiatto
13330 <thierry.volpiatto@gmail.com>.
13331 (special-display-popup-frame): When popping up a new frame reset
13332 its previous buffers to nil. Simplify code.
13334 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13336 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13337 and process filter, as done also in `shell-command'.
13339 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13341 * window.el (set-window-buffer-start-and-point):
13342 Call set-window-start with NOFORCE argument t.
13343 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13344 (quit-window): Reword doc-string. Handle new format of
13345 quit-restore parameter. Don't delete window if it has a
13346 previous buffer we can show instead of the present one.
13347 (display-buffer-record-window): Rewrite using a new format for
13348 the quit-restore window parameter
13349 (special-display-popup-frame, display-buffer-same-window)
13350 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13351 (display-buffer-pop-up-window, display-buffer-use-some-window):
13352 Adapt symbol passed to display-buffer-record-window.
13353 * help.el (help-window-setup): Handle new format of quit-restore
13356 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13358 * faces.el (face-list): Fix docstring (bug#9564).
13360 * window.el (display-buffer--action-function-custom-type):
13361 Don't include internal functions in the Custom interface.
13363 2011-09-20 Juri Linkov <juri@jurta.org>
13365 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13366 (Info-forward-node, Info-backward-node, Info-next-preorder)
13367 (Info-last-preorder): Use it. (Bug#9528)
13369 2011-09-20 Juri Linkov <juri@jurta.org>
13371 * info.el (Info-last-preorder): Visit last menu item only when
13372 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13374 2011-09-20 Julien Danjou <julien@danjou.info>
13376 * password-cache.el (password-cache-remove): Remove entries even if the
13377 value is nil, so that password with a nil value (negative caching) is
13378 possible to invalidate.
13380 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13382 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13383 all whitespace around breakpoint. (Bug#9553)
13384 (f90-find-breakpoint): Only break at whitespace inside a comment.
13386 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13388 * minibuffer.el (completion-file-name-table): Keep track of errors.
13389 (completion-table-with-predicate): Handle the case where pred1 is nil.
13390 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13392 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13394 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13395 (debugger-return-value): Signal an error if the debugging context does
13396 not await any return value.
13398 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13399 * image-mode.el (image-toggle-display-text)
13400 (image-toggle-display-image): Stay away from evil `intangible'.
13402 2011-09-19 Leo Liu <sdl.web@gmail.com>
13404 * replace.el (occur-revert-arguments): Make it permanent-local.
13405 (occur-mode): Don't call font-lock-defontify.
13407 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13409 * net/ldap.el (ldap-search-internal): Don't push empty search
13412 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13414 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13416 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13418 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13419 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13421 2011-09-18 Juri Linkov <juri@jurta.org>
13423 * buff-menu.el (Buffer-menu-mode-map):
13424 * dired.el (dired-mode-map):
13425 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13426 (lisp-interaction-mode-map):
13427 * emacs-lisp/package.el (package-menu-mode-map):
13428 * epa.el (epa-key-list-mode-map):
13429 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13430 (menu-bar-options-menu):
13431 * outline.el (outline-mode-menu-bar-map):
13432 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13433 * vc/vc-dir.el (vc-dir-menu-map):
13434 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13435 Capitalize non-function content words in menu item strings.
13437 * dired.el (dired-mode-map): Add menu item for
13438 `image-dired-dired-toggle-marked-thumbs'.
13440 2011-09-18 Juri Linkov <juri@jurta.org>
13442 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13443 to `isearch-case-fold-search' and restore its original value
13444 after the `isearch-mode' call.
13446 2011-09-18 Juri Linkov <juri@jurta.org>
13448 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13449 because `zgrep' returns 1 for successful matches (bug#9226).
13451 2011-09-18 Juri Linkov <juri@jurta.org>
13453 * info.el (Info-extract-menu-node-name): Check the second match
13454 for empty string (second test-case of bug#9528).
13455 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13456 intermediate nodes to the history (first test-case of bug#9528).
13458 2011-09-18 Juri Linkov <juri@jurta.org>
13460 * info.el (Info-mode-syntax-table): New variable.
13461 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13463 2011-09-18 Juri Linkov <juri@jurta.org>
13465 * info.el (Info-file-supports-index-cookies):
13466 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13467 outputs one more line for long file names (bug#4142).
13469 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13471 * newcomment.el (comment-normalize-vars): If prompting for
13472 comment-start, set comment-start-skip too (Bug#8424).
13474 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13476 * icomplete.el: Fix previous fix of Bug#5849.
13477 (icomplete-mode): Don't set completion-show-inline-help.
13478 (icomplete-minibuffer-setup): Set completion-show-inline-help
13479 locally during icompletion.
13481 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13483 * woman.el (woman2-process-escapes): Don't delete unrecognized
13484 escapes (Bug#7843).
13486 * files.el (inhibit-first-line-modes-regexps): Add image files.
13487 (hack-local-variables-prop-line): Return nil for malformed
13488 prop-lines (Bug#9044).
13490 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13492 * net/tramp.el (top): Don't require 'shell.
13493 (tramp-methods): Fix docstring.
13494 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13495 Return complete remote file name. Handle "smb" case.
13496 Use `tramp-tmpdir', if defined for the respective method.
13497 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13499 * net/tramp-compat.el (top): Require 'shell.
13501 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13502 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13503 `tramp-current-host'.
13504 (tramp-get-remote-tmpdir): Remove.
13506 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13507 `tramp-tmpdir' entries.
13508 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13509 (tramp-smb-handle-file-attributes): Ignore errors.
13510 (tramp-smb-wait-for-output): Check also for process end.
13512 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13514 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13515 when sending QUIT (bug#9312).
13517 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13519 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13520 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13521 occur-mode-display-occurrence.
13522 (occur-edit-mode): Add usage message.
13523 (occur-cease-edit): New command.
13524 (occur-after-change-function): Use text properties to find the
13525 position of the prefix text.
13526 (occur-engine): Set stickiness of prefix text properties.
13528 2011-09-17 Glenn Morris <rgm@gnu.org>
13530 * progmodes/etags.el (complete-tag):
13531 Fix call to completion-in-region. (Bug#9526)
13533 2011-09-17 Juri Linkov <juri@jurta.org>
13535 * textmodes/ispell.el (ispell-word): Add to the error message
13536 the word, ispell program name and current dictionary (bug#9121).
13537 (ispell-tex-arg-end): Capitalize "error" in the error message.
13539 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13541 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13544 2011-09-17 Juri Linkov <juri@jurta.org>
13546 * window.el (window-safe-min-height, window-safe-min-width):
13547 Fix typos (followup to bug#9522).
13549 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13551 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13553 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13555 * simple.el (line-move): If goal-column is set, move by logical
13556 lines, not by display lines. (Bug#971)
13557 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13558 to reflect the above change.
13560 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13562 * image.el (imagemagick-register-types): Use regexp-opt.
13564 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13566 * window.el (display-buffer-base-action): Rename from
13567 display-buffer-default-action. Make default value empty.
13568 (display-buffer-overriding-action): Convert to defvar.
13569 (display-buffer-fallback-action): New var.
13571 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13573 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13575 (package--add-to-archive-contents): If there is a duplicate entry
13576 with an older version, remove it.
13577 (package-menu-mark-delete, package-menu-mark-install)
13578 (package-menu-mark-unmark): Make unused args optional.
13579 (package-menu-mark-obsolete-for-deletion):
13580 Use package-menu-get-status instead of a regexp search.
13581 (package-menu-get-status): Use tabulated-list-entry.
13582 (package-menu-mark-upgrades): New command.
13583 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13584 (package-menu-execute): Do installation before deletion.
13585 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13586 instead of checking major-mode.
13587 (package-menu--find-upgrades): New function.
13589 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13591 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13592 passwords in the log buffer.
13593 (smtpmail-process-filter): Update the process marker so that the
13594 "broken by peer" status message is inserted in the right place.
13596 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13598 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13599 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13600 bibtex-completion-at-point-function.
13601 (bibtex-completion-at-point-function): Use them.
13603 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13605 * mpc.el (mpc-constraints-tag-lookup): New function.
13606 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13607 also to browser "album|playlist".
13609 2011-09-14 Juri Linkov <juri@jurta.org>
13611 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13612 (isearch-edit-string): Use length of `isearch-string' when
13613 `isearch-fail-pos' returns nil.
13614 (isearch-message): Remove duplicate code and call
13615 `isearch-fail-pos' with arg `t'.
13617 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13619 * replace.el (occur-mode-goto-occurrence): Don't force using other
13622 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13624 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13626 * window.el (display-buffer-window): Remove.
13627 (display-buffer-record-window): Use help-setup window parameter
13628 instead of variable display-buffer-window.
13629 (display-buffer-function, special-display-buffer-names)
13630 (special-display-function): Mention help-setup parameter instead
13631 of display-buffer-window in doc-string.
13632 * help.el (help-window-setup): New argument help-window.
13633 Use help-window-setup parameter instead of display-buffer-window.
13634 Reword some messages.
13635 (with-help-window): Pass window used for displaying the buffer
13636 to help-window-setup. Don't set display-buffer-window.
13638 2011-09-13 Glenn Morris <rgm@gnu.org>
13640 * emacs-lisp/debug.el (debugger-make-xrefs):
13641 Preserve point. (Bug#9462)
13643 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13645 * window.el (window-deletable-p): Use next-frame.
13647 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13649 * window.el (window-auto-delete): Remove.
13650 (window-deletable-p): Remove argument FORCE. Don't deal with
13651 dedication and previous buffers.
13652 (switch-to-prev-buffer): Don't delete window.
13653 (delete-windows-on): Delete a window's frame if and only if the
13654 window is dedicated.
13655 (replace-buffer-in-windows): Delete buffer's window or frame if
13656 and only if window is dedicated.
13657 (quit-window): Handle quit-restore as before last change.
13658 (bury-buffer): Delete window only if window-deletable-p returns t.
13660 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13662 * window.el (window-deletable-p): Never delete the last frame on a
13665 2011-09-13 Glenn Morris <rgm@gnu.org>
13667 * help.el (describe-key-briefly): Copy previous standard-output change.
13669 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13671 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13673 2011-09-13 Glenn Morris <rgm@gnu.org>
13675 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13676 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13678 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13680 * dired-aux.el (dired-mark-read-string): Don't return default
13681 value on empty input (Bug#9361).
13682 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13683 Omit initial minibuffer contents.
13684 (dired-do-chmod): Signal an error on empty input.
13685 (dired-mark-read-string): Don't return default on empty input.
13687 * files.el (file-modes-symbolic-to-number): Doc fix.
13689 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13691 * international/mule-cmds.el (ucs-completions): Remove.
13692 (read-char-by-name): Use complete-with-action instead; add metadata.
13694 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13696 * window.el (display-buffer--action-function-custom-type)
13697 (display-buffer--action-custom-type): New vars.
13698 (display-buffer-alist, display-buffer-default-action)
13699 (display-buffer-overriding-action): Add defcustom types.
13701 * frame.el (delete-other-frames): Doc fix (Bug#276).
13703 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13705 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13707 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13709 Change modes that used same-window-* vars to use switch-to-buffer.
13711 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13712 Use switch-to-buffer.
13714 * cus-edit.el (customize-group, custom-buffer-create)
13715 (customize-browse, custom-buffer-create-other-window):
13716 Use switch-to-buffer or switch-to-buffer-other-window.
13718 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13719 (Info-prev, Info-up, Info-speedbar-goto-node)
13720 (info-display-manual): Use switch-to-buffer.
13721 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13723 * mail/sendmail.el (mail): Use switch-to-buffer.
13724 (mail-recover): Use switch-to-buffer-other-window.
13726 * cmuscheme.el (run-scheme, switch-to-scheme):
13728 * shell.el (shell):
13729 * net/rlogin.el (rlogin):
13730 * net/telnet.el (telnet, rsh):
13731 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13733 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13735 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13737 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13739 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13740 so don't mention it (bug#9301).
13741 (dired-sort-toggle-or-edit): Clarify string further.
13743 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13744 match `x', `w32' and `ns', like the manual says (bug#9029).
13746 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13747 (process-kill-buffer-query-function): Mention the buffer name in
13750 * image-mode.el (image-next-line): The line parameter is mandatory
13753 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13754 which can be useful (bug#9301).
13756 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13758 * subr.el (match-string): Mention that the current buffer should
13759 be the same as the search was done in (bug#9282).
13761 * facemenu.el: Disable the remove-* commands if the mark isn't
13764 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13766 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13768 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13770 * replace.el (occur-mode-goto-occurrence)
13771 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13772 and display-buffer.
13774 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13777 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13778 special-display and same-window variables.
13779 (mail-other-window): Use switch-to-buffer-other-window.
13780 (mail-other-frame): USe switch-to-buffer-other-frame.
13782 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13783 Use display-buffer-other-frame.
13784 (gdb-display-gdb-buffer): Use pop-to-buffer.
13786 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13788 * progmodes/python.el: Don't set same-window-buffer-names.
13790 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13792 * window.el (display-buffer-alist): Add *Python*.
13794 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13796 * window.el (display-buffer-alist): Add entry for buffers
13797 previously handled same-window-*.
13798 (display-buffer-alist, display-buffer-default-action)
13799 (display-buffer-overriding-action): Mark as risky.
13800 (display-buffer-alist): Document action function changes.
13801 (display-buffer--same-window-action)
13802 (display-buffer--other-frame-action): New variables.
13803 (switch-to-buffer, display-buffer-other-frame): Use them.
13804 (display-buffer): Rename reuse-frame entry to reusable-frames.
13805 (display-buffer-reuse-selected-window): Function deleted.
13806 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13807 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13808 (display-buffer-special): New function.
13809 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13810 display-buffer-reuse-or-pop-window. Split off special-display
13811 part into display-buffer-special.
13812 (display-buffer-use-some-window): Don't perform any special
13813 pop-up-frames handling.
13814 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13815 (display-buffer--maybe-same-window): Rename from
13816 display-buffer-maybe-same-window.
13818 * info.el: Don't set same-window-regexps.
13819 (info-setup): New function.
13820 (info-other-window, info): Call it.
13822 * cus-edit.el: Don't set same-window-regexps.
13823 (customize-group): New argument.
13824 (customize-group-other-window): Use it.
13825 (customize-face, customize-face-other-window): Likewise.
13826 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13830 * progmodes/gud.el: Don't set same-window-regexps.
13835 * mail/sendmail.el:
13836 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13838 2011-09-10 Juri Linkov <juri@jurta.org>
13840 * isearch.el (isearch-edit-string): Remove obsolete mention of
13841 `C-w' (`isearch-yank-word-or-char') from docstring.
13842 (isearch-query-replace): Fix typo in docstring (bug#9466).
13844 2011-09-10 Juri Linkov <juri@jurta.org>
13846 * paren.el (show-paren-function): Don't show escaped parens.
13847 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13849 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13851 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13852 (mm-default-file-encoding): Remove autoload forms, they are
13853 replaced with autoload cookies in mml.el and mm-encode.el.
13854 (mail-add-attachment): New command.
13855 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13856 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13858 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13860 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13862 * simple.el (count-words-region): Use buffer if there's no region
13865 2011-09-09 Juri Linkov <juri@jurta.org>
13867 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13868 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13869 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13871 2011-09-09 Alan Mackenzie <acm@muc.de>
13873 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13874 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13876 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13878 Fix for Savannah bug#9392.
13879 * simple.el (mail-encode-mml): New defvar.
13881 * mail/rmail.el (mail-encode-mml): Add a defvar.
13882 (rmail-enable-mime-composing): Default to t.
13883 (rmail-forward): Use MIME method of forwarding only if both
13884 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13885 Set mail-encode-mml non-nil if the MIME method was used.
13887 * mail/sendmail.el (mml-to-mime): Add autoload form.
13888 (mail-encode-mml): Add a defvar.
13889 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13891 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13892 message through mml-to-mime, and reset mail-encode-mml to nil.
13894 2011-09-09 Glenn Morris <rgm@gnu.org>
13896 * woman.el (woman-if-body): When processing an .el block,
13897 do not delete the next .el block as well. (Bug#9447)
13898 (woman-special-characters): Add oq, cq, and hy characters.
13900 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13902 * window.el (window-deletable-p): Make sure window is live before
13903 invoking window-prev-buffers.
13905 2011-09-08 Leo Liu <sdl.web@gmail.com>
13907 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13909 2011-09-08 Juri Linkov <juri@jurta.org>
13911 * progmodes/compile.el (compilation-environment): Make it
13912 a defcustom (bug#8340).
13914 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13916 * window.el (frame-auto-delete): Rename to window-auto-delete.
13917 Make it control auto-deletion of windows and/or frames.
13918 (window-deletable-p): New argument FORCE. Rewrite conditions
13919 for deleting window/frame. (Bug#9419)
13920 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13921 Rewrite handling of case when window/frame can be deleted.
13922 (delete-windows-on): Call window-deletable-p with new FORCE
13923 argument t. (Bug#9456)
13925 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13927 * help-mode.el (help-mode): Restore autoload.
13929 2011-09-07 Juri Linkov <juri@jurta.org>
13931 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13932 `compilation-environment'. Set buffer-local
13933 `compilation-environment' to `thisenv' later after (funcall mode).
13936 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13937 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13938 instead of replacing its value. (Bug#8340)
13940 2011-09-07 Juri Linkov <juri@jurta.org>
13942 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13943 based on text properties put by `grep-filter' instead of matching
13945 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13946 to the value of `grep-error-screen-columns' (bug#9438).
13948 2011-09-07 Juri Linkov <juri@jurta.org>
13950 * simple.el (next-error-highlight, next-error-highlight-no-select):
13951 Doc fix (bug#9432).
13953 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13955 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13956 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13958 2011-09-07 Leo Liu <sdl.web@gmail.com>
13960 * net/rcirc.el (rcirc-mode): Conditionally initialize
13963 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13965 * emacs-lisp/find-func.el (find-function-C-source): Only set
13966 find-function-C-source-directory after checking that we found a source
13967 file there (bug#9440).
13969 2011-09-06 Alan Mackenzie <acm@muc.de>
13971 * isearch.el (isearch-other-meta-char): Wherever a key list is
13972 unread, "unread" the prefix arg, too. This fixes bug #8901.
13974 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13976 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13978 2011-09-05 Juri Linkov <juri@jurta.org>
13980 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13982 2011-09-05 Juri Linkov <juri@jurta.org>
13984 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13985 keeping point where processing of grep matches begins, and
13986 continue to delete remaining escape sequences from the same point.
13987 (grep-filter): Make leading zero optional in "0?1;31m" because
13988 git-grep emits "\033[1;31m" escape sequences unlike expected
13989 "\033[01;31m" as GNU Grep does (bug#9408).
13990 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13992 2011-09-05 Juri Linkov <juri@jurta.org>
13994 * subr.el (y-or-n-p): Capitalize "yes".
13996 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13998 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13999 `tramp-cache-unload-hook' where appropriate.
14000 (tramp-methods): Rename `tramp-remote-sh' to
14001 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14002 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14004 * net/tramp-sh.el (top): Don't require 'shell.
14005 (tramp-methods): Add `tramp-remote-shell' and
14006 `tramp-remote-shell-args' entries.
14007 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14008 (tramp-sh-handle-shell-command): Remove.
14009 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14010 Use `tramp-remote-shell'.
14012 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14014 * mail/sendmail.el (sendmail-query-once-function): Delete.
14015 (sendmail-query-once): Save directly to send-mail-function.
14016 Update message-send-mail-function too.
14018 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14020 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14022 * progmodes/python.el (python-mode-map): Use correct function to
14023 start python interpreter from menu-bar (as reported by Geert
14025 (inferior-python-mode-map): Fix typo.
14026 (python-shell-map): Remove.
14028 2011-09-03 Deniz Dogan <deniz@dogan.se>
14030 * net/rcirc.el (rcirc-print): Simplify code for
14031 rcirc-scroll-show-maximum-output. There is no need to walk
14032 through all windows to find the right one.
14034 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14036 * help.el (help-return-method): Doc fix.
14038 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14040 * window.el (window-deletable-p): Don't return a non-nil value
14041 when there's a buffer that was shown in the window before.
14043 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14044 Set window's previous buffers to nil.
14046 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14048 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14049 newline before and after the tag line, so it doesn't interfere
14050 with determining the paragraph direction of bidirectional text.
14052 2011-09-03 Leo Liu <sdl.web@gmail.com>
14054 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14056 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14058 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14059 (pop-to-buffer): Change interactive spec. Pass second argument
14060 directly to display-buffer.
14061 (display-buffer): Fix interactive spec. Use functionp to
14062 distinguish between a function and a list of functions.
14064 * abbrev.el (edit-abbrevs):
14065 * arc-mode.el (archive-extract):
14066 * autoinsert.el (auto-insert):
14067 * bookmark.el (bookmark-bmenu-list):
14068 * files.el (find-file):
14069 * view.el (view-buffer):
14070 * progmodes/compile.el (compilation-goto-locus):
14071 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14073 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14075 * window.el (display-buffer-alist): Doc fix.
14076 (display-buffer): Add docstring. Don't treat
14077 display-buffer-default specially.
14078 (display-buffer-reuse-selected-window)
14079 (display-buffer-same-window, display-buffer-maybe-same-window)
14080 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14081 (display-buffer-pop-up-window)
14082 (display-buffer-reuse-or-pop-window)
14083 (display-buffer-use-some-window): New functions.
14084 (display-buffer-default-action): Use them.
14085 (display-buffer-default): Delete.
14086 (pop-to-buffer-1): Fix choice of actions.
14088 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14090 * minibuffer.el (completion--insert-strings): Don't get confused by
14091 completion entries that end with an LF char.
14093 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14095 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14097 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14099 * window.el (display-buffer): Restore interactive spec.
14100 (display-buffer-same-window, display-buffer-other-window):
14102 (pop-to-buffer-1): New function. Use the above.
14103 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14104 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14106 * view.el (view-buffer-other-window, view-buffer-other-frame):
14107 Just use pop-to-buffer.
14109 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14111 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14113 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14115 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14117 2011-08-31 Richard Stallman <rms@gnu.org>
14119 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14120 of the separation of rmail-view-buffer from rmail-buffer.
14121 If you say no to "replace original", the decrypt is in the
14122 view buffer. If you say yes, the decrypt goes into the
14125 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14127 * window.el (display-buffer-window): Rewrite doc-string.
14128 (display-buffer-record-window): New function.
14129 (display-buffer-macro-specifiers)
14130 (display-buffer-even-window-sizes, display-buffer-set-height)
14131 (display-buffer-set-width, display-buffer-in-window)
14132 (display-buffer-reuse-window, display-buffer-split-specifiers)
14133 (display-buffer-side-specifiers, display-buffer-split-window-1)
14134 (display-buffer-split-window, display-buffer-split-atom-window)
14135 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14136 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14137 (display-buffer-other-window-means-other-frame)
14138 (display-buffer-normalize-special)
14139 (display-buffer-normalize-default)
14140 (display-buffer-normalize-argument)
14141 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14142 (display-buffer-normalize-specifiers, display-buffer-frame)
14143 (display-buffer-same-window, display-buffer-same-frame)
14144 (display-buffer-other-window)
14145 (display-buffer-same-frame-other-window)
14146 (display-buffer-other-frame, pop-to-buffer-same-window)
14147 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14148 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14149 (switch-to-buffer-same-frame)
14150 (switch-to-buffer-other-window-same-frame)
14151 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14152 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14153 (display-buffer-alist-set): Remove.
14154 (display-buffer-function, special-display-buffer-names)
14155 (special-display-regexps, special-display-function):
14156 In doc-string refer to display-buffer-window and quit-restore
14158 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14159 (special-display-frame-alist, special-display-popup-frame)
14160 (same-window-buffer-names, same-window-regexps, same-window-p)
14161 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14162 (split-window-preferred-function, split-height-threshold)
14163 (split-width-threshold, window-splittable-p)
14164 (split-window-sensibly, window--try-to-split-window)
14165 (window--frame-usable-p, even-window-heights)
14166 (window--even-window-heights, window--display-buffer-1)
14167 (window--display-buffer-2, display-buffer-other-frame):
14168 Restore old Emacs 23 code, order and doc-strings where applicable.
14169 (display-buffer-default, display-buffer-assq-regexp): New functions.
14170 (display-buffer-alist): Rewrite doc-string.
14171 (display-buffer-default-action)
14172 (display-buffer-overriding-action): New variables.
14173 (display-buffer, switch-to-buffer): Rewrite.
14174 (pop-to-buffer): Restore Emacs 23 behavior but use
14175 window-normalize-buffer-to-display.
14176 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14177 Restore Emacs 23 behavior but use
14178 window-normalize-buffer-to-switch-to.
14179 (pop-to-buffer-same-window): Rewrite.
14180 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14181 Rewrite using Emacs 23 options.
14183 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14185 * net/tramp.el (tramp-root-regexp): Remove.
14186 (tramp-completion-file-name-regexp-unified)
14187 (tramp-completion-file-name-regexp-separate)
14188 (tramp-completion-file-name-regexp-url): Don't use leading volume
14189 letter on w32 systems. (Bug#5303, Bug#9311)
14190 (tramp-drop-volume-letter): Simplify definition.
14191 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14193 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14195 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14198 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14200 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14202 2011-08-29 Juri Linkov <juri@jurta.org>
14204 * isearch.el (isearch-done): Don't display message "Mark saved"
14205 when arg `edit' is non-nil to prevent its flicker in the echo area.
14207 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14209 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14210 obsolete packages for deletion.
14212 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14214 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14215 (help-mode): Derive help-mode from special-mode. Don't invoke
14216 view-mode from help-mode.
14217 (help-xref-override-view-map): Remove.
14218 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14219 view-mode is not used anymore.
14221 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14223 * server.el (server-port): Doc fix.
14225 * cus-theme.el (custom-theme-choose-mode): Inherit from
14226 special-mode (Bug#9124).
14227 (custom-theme-choose-mode-map): Add special-mode to parent.
14229 2011-08-28 Alan Mackenzie <acm@muc.de>
14231 * progmodes/cc-fonts.el
14232 (c-make-font-lock-BO-decl-search-function): New function.
14233 (c-basic-matchers-after - "Fontify the clauses after various
14234 keywords"): Extract the three keyword lists for the 3 erroneous
14235 constructs from the list of four, and use the new function above
14236 in place of an old one.
14238 2011-08-28 Deniz Dogan <deniz@dogan.se>
14240 * net/rcirc.el (rcirc-insert-prev-input)
14241 (rcirc-insert-next-input): Remove unused argument.
14243 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14245 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14247 2011-08-27 Alan Mackenzie <acm@muc.de>
14249 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14250 handle function pointer parameters properly.
14252 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14254 * window.el (display-buffer-reuse-window): Fix case where
14255 selected window was reused with non-nil OTHER-WINDOW argument.
14258 2011-08-27 Deniz Dogan <deniz@dogan.se>
14260 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14261 oftc's NickServ messages.
14263 2011-08-27 Glenn Morris <rgm@gnu.org>
14265 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14267 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14269 * emacs-lisp/package.el (package-install): Call package-initialize
14270 if called interactively.
14272 2011-08-26 Leo Liu <sdl.web@gmail.com>
14274 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14276 2011-08-25 Juri Linkov <juri@jurta.org>
14278 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14279 `search-whitespace-regexp' (bug#9364).
14281 2011-08-25 Juri Linkov <juri@jurta.org>
14283 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14284 `regexp-search-ring' to their global values to protect from
14285 updating by `read-from-minibuffer' (bug#9185).
14287 2011-08-25 Juri Linkov <juri@jurta.org>
14289 * textmodes/ispell.el (ispell-command-loop): Add newline
14290 at the end of the "Use option `i'..." line.
14292 2011-08-25 Juri Linkov <juri@jurta.org>
14294 * battery.el (display-battery-mode): If `battery-status-function'
14295 or `battery-mode-line-format' is nil, display the message and set
14296 `display-battery-mode' to nil (bug#9363).
14298 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14300 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14301 bidi-string-mark-left-to-right; they are unnecessary now.
14303 2011-08-25 Deniz Dogan <deniz@dogan.se>
14305 * net/quickurl.el: Documentation typo fixes.
14307 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14309 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14311 2011-08-25 Glenn Morris <rgm@gnu.org>
14313 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14315 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14316 (smtpmail-via-smtp): Handle nil response from smtp.
14318 2011-08-24 Juri Linkov <juri@jurta.org>
14320 * proced.el (proced-marked): Inherit from `error' instead of
14321 `font-lock-warning-face'.
14323 * ibuffer.el (ibuffer-marked-face): Change default face from
14324 `font-lock-warning-face' to `warning'.
14325 (ibuffer-deletion-face): Change default face from
14326 `font-lock-type-face' to `error'.
14328 * battery.el (battery-update): Use the face `error' instead of
14329 `font-lock-warning-face' (bug#6117).
14331 2011-08-24 Juri Linkov <juri@jurta.org>
14333 * faces.el (success): Change face color from "Green3" to
14334 "ForestGreen" on light background (bug#9353).
14336 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14338 * window.el (quit-window): Rename from quit-restore-window.
14339 Use same arglist as old quit-window.
14340 (frame-auto-delete): Doc fix.
14342 * view.el (view-mode-exit): Use quit-window.
14344 2011-08-24 Juri Linkov <juri@jurta.org>
14346 * isearch.el (isearch-ring-adjust1): Start visiting previous
14347 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14348 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14349 for empty search string (when the last search string is reused
14350 automatically) to adjust the isearch ring to the last element and
14351 prepare the correct index for further M-p commands (bug#9185).
14353 2011-08-24 Kenichi Handa <handa@m17n.org>
14355 * international/ucs-normalize.el: If decomposition property of
14356 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14358 (nfd, nfkd): Likewise.
14360 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14362 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14363 from process filters aren't reliably transmitted to the surrounding
14364 accept-process-output.
14365 (mpc-proc-check): New function.
14366 (mpc-proc-sync): Use it (bug#8293)
14368 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14370 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14371 Add compatibility functions (bug#9313).
14373 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14375 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14377 * international/uni-bidi.el: Regenerate.
14379 2011-08-23 Kenichi Handa <handa@m17n.org>
14381 * international/charprop.el:
14382 * international/uni-bidi.el:
14383 * international/uni-category.el:
14384 * international/uni-combining.el:
14385 * international/uni-comment.el:
14386 * international/uni-decimal.el:
14387 * international/uni-decomposition.el:
14388 * international/uni-digit.el:
14389 * international/uni-lowercase.el:
14390 * international/uni-mirrored.el:
14391 * international/uni-name.el:
14392 * international/uni-numeric.el:
14393 * international/uni-old-name.el:
14394 * international/uni-titlecase.el:
14395 * international/uni-uppercase.el: Regenerate.
14397 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14399 * help.el (help-window-setup): Fix message displayed when other
14400 window is reused. (Bug#9341)
14402 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14404 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14405 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14407 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14409 * shell.el (shell-parse-pcomplete-arguments): New function.
14410 (shell-completion-vars): Use it instead (bug#9160).
14412 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14414 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14415 strings and comments (bug#9333).
14417 * emacs-lisp/debug.el (debug-arglist): New function.
14418 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14419 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14421 2011-08-22 Juri Linkov <juri@jurta.org>
14423 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14424 Revert regexp that highlights output switches to its old
14425 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14427 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14428 to check for empty output (bug#9226).
14430 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14432 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14433 symbol-constituent as the default, as that stops font-lock from
14434 working properly (Bug#8843).
14436 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14438 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14439 `coding-system-for-*' around the process open call to avoid
14440 auth-source side effects.
14441 (smtpmail-try-auth-methods): Expand the secret password.
14442 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14445 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14447 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14449 * emacs-lisp/find-func.el (find-function-noselect): New arg
14452 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14453 signal an error for built-in functions (Bug#6664).
14455 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14457 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14458 (smtpmail-try-auth-methods): Use it.
14460 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14462 * font-lock.el (font-lock-fontify-region)
14463 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14464 (font-lock-default-unfontify-buffer)
14465 (font-lock-default-fontify-region)
14466 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14468 * progmodes/compile.el (compilation-error-properties):
14469 Fix confusion between file struct and message struct (Bug#9319).
14470 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14473 * net/browse-url.el (browse-url-firefox): Don't call
14474 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14476 2011-08-20 Glenn Morris <rgm@gnu.org>
14478 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14480 * tutorial.el (tutorial--default-keys): Update some default bindings.
14482 * files.el (hack-local-variables): Fully ignore case for "mode:".
14484 2011-08-20 Alan Mackenzie <acm@muc.de>
14486 Resolve invalid use of a regexp in regexp-opt.
14488 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14489 detection for a java annotation.
14491 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14492 detection for a java annotation.
14494 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14496 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14498 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14500 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14503 2011-08-20 Alan Mackenzie <acm@muc.de>
14505 Fontify CPP expressions correctly when starting in the middle of
14506 such a construct. Mainly for when jit-lock etc. starts a chunk
14509 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14511 (c-make-font-lock-search-form): New function, extracted from
14512 c-make-font-lock-search-function.
14513 (c-make-font-lock-search-function): Use the above function.
14514 (c-make-font-lock-context-search-function): New function.
14515 (c-cpp-matchers): Enhance the preprocessor expression case with
14517 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14518 which takes an expression.
14520 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14522 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14524 * window.el (display-buffer-reuse-window)
14525 (display-buffer-pop-up-window): Don't reuse or split a side
14528 2011-08-19 Glenn Morris <rgm@gnu.org>
14530 * files.el (hack-local-variables-prop-line, hack-local-variables):
14531 Downcase "Mode:". (Bug#9331)
14533 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14535 * international/characters.el: Add L and R categories.
14537 * subr.el (bidi-string-mark-left-to-right): Rename from
14538 string-mark-left-to-right. Use category search.
14540 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14542 2011-08-18 Juri Linkov <juri@jurta.org>
14544 * faces.el (error, warning, success): New faces with definitions
14545 copied from old default values of `font-lock-warning-face',
14546 `compilation-warning', `compilation-info' (bug#6117).
14548 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14550 * progmodes/compile.el (compilation-error): Inherit from `error'.
14551 (compilation-warning): Inherit from `warning'.
14552 (compilation-info): Inherit from `success'.
14554 * dired.el (dired-marked): Inherit from `warning'.
14555 (dired-flagged): Inherit from `error'.
14557 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14559 * mail/smtpmail.el (auth-source): Require to avoid problems with
14560 binding variables (bug#9298). Also clean up some unused
14563 * net/network-stream.el (network-stream-open-starttls):
14564 Support using starttls.el without using gnutls-cli.
14566 2011-08-17 Juri Linkov <juri@jurta.org>
14568 * progmodes/grep.el (rgrep): Handle the case when
14569 `grep-find-command' is a cons cell (bug#9278).
14571 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14573 * window.el (display-buffer-pop-up-frame): Run frame creation
14574 function with BUFFER current (as special-display-popup-frame
14575 does). Reported by Drew Adams.
14577 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14579 * epa-mail.el: Simplify GnuPG group expansion using
14581 (epa-mail-group-alist, epa-mail-group-modtime)
14582 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14583 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14584 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14587 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14589 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14591 2011-08-16 Alan Mackenzie <acm@muc.de>
14593 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14594 Correct, to avoid the inside of macros.
14596 2011-08-16 Richard Stallman <rms@gnu.org>
14598 * epa-mail.el: Handle GnuPG group definitions.
14599 (epa-mail-group-alist, epa-mail-group-modtime)
14600 (epa-mail-gnupg-conf-file): New variables.
14601 (epa-mail-parse-groups, epa-mail-sync-groups)
14602 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14603 (epa-mail-expand-recipients): New functions.
14604 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14606 * mail/rmail.el (rmail-epa-decrypt): New command.
14608 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14609 Don't bind buffer-read-only, just inhibit-read-only.
14610 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14611 (epa-decrypt-armor-in-region): Make error message clearer.
14613 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14615 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14616 and "a2b" to "ab" for `prefix'.
14618 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14620 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14622 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14623 Fourquet (Bug#8804).
14625 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14627 * startup.el (argi): Declare as global variable (bug#9275).
14629 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14631 * subr.el (string-mark-left-to-right): Search the entire string
14632 for RTL script, not just the terminating character. Doc fix.
14634 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14636 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14638 (js--regexp-literal, js-syntax-propertize-function): Remove.
14639 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14640 (js-mode-map): Don't rebind electric keys.
14641 (js-insert-and-indent): Remove.
14642 (js-mode): Setup electric-layout and electric-indent instead.
14644 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14646 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14648 * epa.el (epa-progress-callback-function): Fix the logic of
14649 displaying progress.
14650 * epa-file.el (epa-file-insert-file-contents): Make progress
14651 display more user-friendly.
14652 (epa-file-write-region): Ditto.
14654 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14656 * subr.el (string-mark-left-to-right): New function.
14658 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14659 Use string-mark-left-to-right.
14660 (list-buffers-noselect): Caller changed.
14662 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14663 Use string-mark-left-to-right.
14664 (tabulated-list-print): Recenter after moving point.
14666 2011-08-10 Juri Linkov <juri@jurta.org>
14668 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14669 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14670 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14672 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14674 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14677 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14679 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14680 character. (Bug#6594)
14682 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14684 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14685 (image-dired--with-db-file): New macro.
14686 (image-dired-write-tags, image-dired-remove-tag)
14687 (image-dired-create-gallery-lists, image-dired-write-comments)
14688 (image-dired-get-comment, image-dired-mark-tagged-files)
14689 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14690 (image-dired-gallery-generate): Use insert-file-contents.
14692 * time.el (display-time-world-list, display-time-world-display):
14693 * time-stamp.el (time-stamp-string):
14694 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14695 set-time-zone-rule (Bug#7337).
14697 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14699 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14700 (epg-error-to-string, epg-errors-to-string): New function.
14701 (epg-wait-for-completion): Reverse errors list.
14702 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14703 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14704 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14705 (epg-sign-keys, epg-generate-key-from-file)
14706 (epg-generate-key-from-string): Format errors by using
14707 epg-errors-to-string (bug#9255).
14708 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14710 2011-08-07 Juri Linkov <juri@jurta.org>
14712 * faces.el (list-faces-display): Remove extra angle bracket
14713 from `help-mode-map'.
14715 * info.el (Info-history-toc-nodes): Doc fix.
14717 * longlines.el (longlines-mode): Doc fix.
14719 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14721 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14722 of statements and in a few more cases (bug#9183).
14724 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14726 (cl-transform-lambda): Use them (bug#9239).
14728 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14730 * window.el (display-buffer-same-window)
14731 (display-buffer-same-frame, display-buffer-other-window)
14732 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14733 (pop-to-buffer-other-window)
14734 (pop-to-buffer-same-frame-other-window)
14735 (pop-to-buffer-other-frame): Make them defuns.
14736 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14738 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14740 * subr.el (make-composed-keymap): Move from C. Change calling
14741 convention, and improve docstring to bring attention to a subtle point.
14742 * minibuffer.el (completing-read-default): Adjust accordingly.
14744 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14746 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14747 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14749 * net/trampver.el: Update release number.
14751 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14753 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14756 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14758 * mail/sendmail.el (sendmail-query-once): Restore the current
14759 buffer after querying (bug#9074).
14761 * dired.el (dired-flagged): Use different faces for marked and
14762 flagged files (bug#6117).
14764 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14767 * ido.el (ido-mode): Switch off the message if called
14770 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14771 before 587, since it appears that that's more likely to work for
14774 * cus-edit.el (custom-file): When running under emacs -q, always
14775 refuse to save the customizations, even if the .emacs file doesn't
14778 * info.el: Remove the `Info-beginning-of-buffer' function
14781 * net/network-stream.el (network-stream-open-starttls):
14782 Use `starttls-available-p' to see whether starttls.el can be used.
14784 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14786 * window.el (display-buffer-in-window): Don't set dedicated status
14787 of window here (Bug#9215).
14788 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14789 (display-buffer-pop-up-side-window)
14790 (display-buffer-in-side-window): Set dedicated status of window here.
14792 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14794 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14795 before binding generated-autoload-file.
14797 2011-08-01 Deniz Dogan <deniz@dogan.se>
14799 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14801 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14803 Sync with Tramp 2.2.2.
14805 * net/trampver.el: Update release number.
14807 2011-07-30 Juri Linkov <juri@jurta.org>
14809 * dired-aux.el (dired-touch-initial): Remove function.
14810 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14811 current time, and `default' to the last modification time of the
14812 current marked file (bug#6887).
14814 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14816 * simple.el (goto-line): Use string-to-number to provide a
14817 numeric argument to read-number (bug#9163).
14819 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14821 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14822 connection process, it could be nil.
14824 2011-07-27 Leo Liu <sdl.web@gmail.com>
14826 Simplify url handling in rcirc-mode.
14828 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14829 (rcirc-browse-url-at-mouse): Remove.
14830 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14832 2011-07-26 Alan Mackenzie <acm@muc.de>
14834 Fontify bitfield declarations properly.
14836 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14837 (c-symbol-chars): Now exported as a lang variable.
14838 (c-not-primitive-type-keywords): New lang variable.
14840 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14841 QT keyword "more" to prevent "more slots: ...." being spuriously
14842 parsed as a bitfield declaration.
14844 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14845 Refactor and enhance to handle bitfield declarations.
14846 (c-punctuation-in): New function.
14847 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14848 declarations properly.
14850 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14852 * calendar/icalendar.el (icalendar--all-events): Take care of
14853 multiple vcalendars in a single file.
14854 (icalendar--convert-float-to-ical): Checkdoc fixes.
14856 2011-07-25 Deniz Dogan <deniz@dogan.se>
14858 * image.el (insert-image): Clarifying docstring.
14860 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14862 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14863 `tramp-send-command-and-check' if there is no error.
14864 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14866 2011-07-22 Alan Mackenzie <acm@muc.de>
14868 Prevent cc-langs.elc being loaded at run time.
14870 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14873 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14874 "(require 'cc-langs)". Quote a form so it will evaluate at
14875 (cc-mode's) compilation time.
14877 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14879 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14880 loading. (Bug#9114)
14882 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14884 * window.el (display-buffer-pop-up-window)
14885 (display-buffer-pop-up-side-window)
14886 (display-buffer-in-side-window): Call display-buffer-set-height
14887 and display-buffer-set-width after setting the new window's
14888 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14890 2011-07-20 Sam Steingold <sds@gnu.org>
14892 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14893 (etags-tags-included-tables): Call `convert-standard-filename' on
14894 the file names contained in TAGS so that windows Emacs can handle
14895 TAGS files created by cygwin ctags.
14897 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14899 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14900 which apparently didn't work.
14902 2011-07-19 Roland Winkler <winkler@gnu.org>
14904 * proced.el (proced-send-signal): For *Marked Processes* buffer
14905 put point at beginning of buffer.
14907 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14909 * proced.el (proced-format): Make header lines align with the text
14912 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14914 * view.el (view-buffer): Allow running in `special' modes if we're
14915 visiting a file (bug#8615).
14917 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14919 * window.el (display-buffer-alist-of-strings-p)
14920 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14922 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14925 2011-07-18 Alan Mackenzie <acm@muc.de>
14927 Fontify declarators properly when, e.g., a jit-lock chunk begins
14928 inside a declaration.
14930 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14932 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14934 (c-complex-decl-matchers): Insert reference to
14935 c-font-lock-enclosing-decls.
14937 * progmodes/cc-engine.el (c-backward-single-comment):
14938 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14939 to nil around calls to (forward-comment -1).
14941 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14943 * image.el (put-image): Doc typo fix.
14945 * progmodes/etags.el (tags-search): Doc typo fix.
14947 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14948 password if we get errors 550 to 554.
14950 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14952 * net/gnutls.el (gnutls-log-level): Remove.
14954 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14955 indentation character (bug#6380).
14957 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14959 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14960 to clarify what the problem is (bug#4291).
14962 * simple.el (current-kill): Clarify what
14963 `interprogram-paste-function' does (bug#7500).
14964 (auto-fill-mode): Document `auto-fill-function' in relation to
14965 `auto-fill-mode' (bug#2470).
14967 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14969 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14970 method if slot is read-only (bug#9035).
14972 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14974 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14975 * window.el (pop-to-buffer): Select window used even if it was
14976 selected before, see discussion of (Bug#8615), (Bug#6954).
14977 Pass argument NORECORD on to select-frame-set-input-focus.
14979 2011-07-15 Glenn Morris <rgm@gnu.org>
14981 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14984 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14986 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14987 (gnutls-negotiate): Use it.
14989 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14991 * net/gnutls.el (gnutls-negotiate):
14992 Upcase `gnutls-algorithm-priority'.
14994 2011-07-15 Glenn Morris <rgm@gnu.org>
14996 * jka-compr.el (jka-compr-verbose): Move from here...
14997 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14998 Add missing :version tag.
14999 * info.el: No need to require jka-compr when compiling.
15001 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15003 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15004 (gnutls-negotiate): Use it.
15006 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15008 * info.el (Info-beginning-of-buffer): New command.
15009 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15010 announcing `b' as the key (bug#8325).
15011 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15013 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15015 * international/mule-cmds.el
15016 (describe-specified-language-support): Make the error message
15017 clearer (bug#8905).
15019 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15021 * isearch.el (isearch-barrier): Add a doc string, since it's
15022 mentioned in a function doc string (bug#8678).
15024 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15026 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15027 buffer argument (Bug#9083) and self-identifying label argument.
15029 2011-07-15 Glenn Morris <rgm@gnu.org>
15031 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15033 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15035 * man.el (Man-fontify-manpage): Fix message when formatting the
15036 man page (bug#7929).
15038 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15040 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15041 argument LRM; if non-nil, append an invisible LRM character to the
15043 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15044 last argument non-nil, when formatting buffer names.
15045 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15046 paragraph direction.
15048 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15050 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15051 the man page name (bug#7929).
15053 * image.el (put-image): Mention the `put-image' overlay property
15056 * scroll-bar.el (set-scroll-bar-mode): Mention that
15057 `scroll-bar-mode' lists the values (bug#7772).
15059 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15060 command (bug#7729).
15062 * rect.el (apply-on-rectangle): Return the point after the last
15064 (string-rectangle): Go to the point after the last operation
15067 * printing.el (pr-toggle-region): Clarify the documentation
15068 slightly (bug#7493).
15070 * time.el (display-time-update):
15071 Allow `display-time-mail-function' to return nil (bug#7158).
15072 Fix suggested by Detlev Zundel.
15074 * vc/diff.el (diff): Clarify the order the file names are read
15077 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15078 the doc string (bug#7015).
15080 * font-lock.el (font-lock-maximum-decoration): Mention what
15081 numeric levels mean (bug#6935).
15083 * startup.el (initial-buffer-choice): Don't mention the `none'
15084 selection, which is against policy.
15086 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15088 * window.el (display-buffer-normalize-special):
15089 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15091 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15093 * subr.el (version<, version<=, version=): Mention "-CVS" and
15094 "-12345" alpha version numbers.
15096 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15098 * bindings.el: Add advertised binding for set-mark-command
15101 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15103 * bindings.el (mode-line-other-buffer):
15104 * bookmark.el (bookmark-bmenu-2-window):
15105 * bs.el (bs-cycle-next, bs-cycle-previous):
15106 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15109 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15112 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15114 * follow.el (follow-debug-message, follow-redisplay):
15115 * jka-cmpr-hook.el (with-auto-compression-mode):
15116 Fix typos in docstrings.
15118 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15120 * subr.el (with-silent-modifications): Clarify somewhat what the
15121 macro inhibits (bug#6525).
15123 * simple.el (eval-expression): Note what it does if called
15124 interactively (bug#6495).
15126 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15128 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15129 Use pop-to-buffer buffer-or-name if it is nil.
15131 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15132 Remove switch-to-buffer.
15134 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15136 * files.el (make-directory): Clarify that an error will be raised
15137 if there's an error (bug#6397).
15139 * startup.el (initial-buffer-choice): Add `none' as a choice
15142 * subr.el (add-hook): Clarify section about buffer-local hooks
15145 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15147 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15149 * tabify.el (untabify): Preserve the current column so that point
15150 doesn't move (bug#6032).
15152 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15154 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15155 Rewrite to avoid awkward possessive "s" (bug#5986).
15157 2011-07-13 Glenn Morris <rgm@gnu.org>
15159 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15160 (dired-insert-directory): Give a message the first time
15161 if ls is found not to support --dired.
15163 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15165 * simple.el (toggle-truncate-lines): Clarify what is toggled
15166 (bug#5580). Text by Drew Adams.
15168 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15170 * simple.el (blink-matching-open): Make the error message from the
15171 last change less verbose.
15173 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15175 * font-lock.el (font-lock-comment-face): Use the high contrast
15176 "yellow" color for font-lock-comment-face on low color terminals
15177 using a dark background color (bug#4221).
15179 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15181 * dired.el (dired-insert-set-properties): Make the doc string
15182 reflect what it does now (bug#5325).
15184 * simple.el (blink-matching-open): Say that we were unable to find
15185 the match within the limit, if we're limited (bug#5122).
15187 * international/mule-cmds.el (prefer-coding-system): Add an
15188 example (bug#4869).
15190 * progmodes/etags.el (tags-search): Document `file-list-form'
15193 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15195 * net/browse-url.el (browse-url-default-browser)
15196 (browse-url-browser-function): Make the default browser choice a
15197 bit more logical (bug#4300). Also clean up the doc string.
15199 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15201 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15202 binary endings (bug#4440).
15204 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15206 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15207 which can be pretty annoying (bug#8971).
15209 * jka-compr.el (jka-compr-verbose): New variable, and use
15210 throughout (bug#8971).
15212 * info.el (Info-find-file): Fall back on the installation
15213 directory if we can't find the info node anywhere else.
15215 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15217 * vc/vc.el (vc-revert-file):
15218 Don't set file time-stamp in the past. (Bug#5181)
15220 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15222 * files.el (after-find-file): Give a better error message when
15223 trying to find a symlink that points to a file that doesn't exist
15226 * progmodes/cc-vars.el: Remove (probably) misleading comment
15229 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15231 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15233 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15235 * mouse-sel.el: Hack restoring functionality, while keeping
15236 compatibility with 2010-07-03 changes to mouse selection.
15237 (mouse-sel-primary-overlay): New var.
15238 (mouse-sel-selection-alist): Use it.
15239 (mouse-sel-mode): Doc fix; remove points that are default features
15242 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15244 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15245 Fix previous fix (bug#2490).
15247 2011-07-12 Roland Winkler <winkler@gnu.org>
15249 * textmodes/bibtex.el (bibtex-initialize):
15250 Use pop-to-buffer-same-window.
15251 (bibtex-search-entries): Fix interactive call.
15253 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15255 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15256 Fontise bytecomp Error lines more correctly (bug#2490).
15257 Fix suggested by Johan Bockgård.
15259 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15261 * dired-x.el (dired-guess-default): Use `delete-dups'.
15263 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15265 * dired.el (dired-mark-prompt):
15266 * dired-aux.el (dired-read-shell-command): Doc fix.
15268 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15270 * mail/sendmail.el (sendmail-query-once):
15271 Use `customize-save-variable' unconditionally, now that it works under
15274 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15276 * cus-edit.el (custom-file): Take an optional no-error variable.
15277 (customize-save-variable): Set the variable, and give a warning if
15278 running under "emacs -q".
15280 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15282 * loadhist.el (unload-feature-special-hooks):
15283 Add `auto-coding-functions', `fill-nobreak-predicate' and
15284 `find-directory-functions' (bug#5327).
15286 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15288 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15290 * cus-edit.el (custom-guess-name-alist): -alist variables should
15291 use the `alist' type (bug#3120). Suggested by Drew Adams.
15293 * printing.el: Add documentation to all the `pr-toggle-' commands.
15295 2011-07-11 Leo Liu <sdl.web@gmail.com>
15297 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15298 backends where it makes sense (bug#2623).
15300 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15302 * dired-x.el (dired-guess-default): Remove duplicate shell command
15303 entries (bug#2028).
15304 (dired-guess-default): Fix grammar in doc string (bug#2028).
15305 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15307 * subr.el (remove-duplicates): New conveniency function.
15309 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15311 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15314 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15316 * window.el (display-buffer-normalize-default): Don't invert
15317 meaning of even-window-heights. Reported by Eli Zaretskii
15320 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15322 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15324 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15326 * window.el (display-buffer): Fix arguments to
15327 display-buffer-reuse-window in last change.
15329 * faces.el (link): Use a less saturated blue on light backgrounds.
15331 * startup.el (fancy-startup-text, fancy-about-text)
15332 (fancy-startup-tail): Use font-lock faces, for background safety.
15334 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15336 * emulation/viper-cmd.el (viper-change-state-to-vi):
15337 Limit triggering of abbrev expansion (Bug#9038).
15339 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15341 * window.el (display-buffer-default-specifiers): Remove.
15342 (display-buffer-macro-specifiers): Remove default specifiers.
15343 (display-buffer-alist): Default to nil.
15344 (display-buffer-reuse-window): New optional argument other-window.
15345 (display-buffer-pop-up-window): Allow splitting internal
15346 windows. Check whether a live window was created.
15347 (display-buffer-other-window-means-other-frame)
15348 (display-buffer-normalize-arguments): Rename to
15349 display-buffer-normalize-argument and rewrite. Set the
15350 other-window specifier.
15351 (display-buffer-normalize-special): New function.
15352 (display-buffer-normalize-options): Rename to
15353 display-buffer-normalize-default and rewrite.
15354 (display-buffer-normalize-options-inhibit): Remove.
15355 (display-buffer-normalize-specifiers): Rewrite.
15356 (display-buffer): Process other-window specifier and call
15357 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15359 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15360 (display-buffer-alist-set): Don't handle 'unset default values.
15361 (display-buffer-in-window, display-buffer-alist-set):
15362 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15363 <tassilo@member.fsf.org>.
15365 2011-07-09 Leo Liu <sdl.web@gmail.com>
15367 * register.el (insert-register): Restore accidental change on
15368 2011-06-26. (Bug#9028)
15370 2011-07-09 Glenn Morris <rgm@gnu.org>
15372 * subr.el (remq): Handle the empty list. (Bug#9024)
15374 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15376 * mail/sendmail.el (send-mail-function): No longer delay custom
15378 * custom.el (custom-initialize-delay): Doc fix.
15380 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15382 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15384 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15386 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15387 human-friendly prompt.
15389 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15391 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15392 provided by a particular plugin.
15394 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15396 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15397 save customizations (with "emacs -Q"), just set the variable
15398 instead of erroring out.
15400 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15402 2011-07-08 Juri Linkov <juri@jurta.org>
15404 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15405 (archive-zip-update-case): Use 7z if found by `executable-find'.
15406 The order of searching the available programs is the same as in
15407 `archive-zip-extract' (bug#8968).
15409 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15411 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15412 (menu-bar-options-menu): Tweak descriptions.
15414 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15416 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15417 menu items into verb phrases (bug#1421). Also refill to fit under
15420 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15422 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15423 (Info-read-node-name): Doc fix (Bug#1084).
15425 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15426 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15427 (end-of-sexp, beginning-of-sexp)
15428 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15429 (forward-symbol, forward-same-syntax, word-at-point)
15430 (sentence-at-point): Doc fix (Bug#1144).
15432 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15434 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15435 should cover it (bug#1281).
15437 * cus-edit.el (custom-show): Mark as obsolete.
15439 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15440 negotiation fails, then possibly try again with a non-encrypted
15441 connection (bug#9017).
15443 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15446 2011-07-07 Richard Stallman <rms@gnu.org>
15448 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15449 property, and handle its changed format.
15450 Look for the correct line number.
15451 Use file's line contents (but not past first =) to find
15452 correct line in message.
15454 2011-07-07 Kenichi Handa <handa@m17n.org>
15456 * international/characters.el (build-unicode-category-table):
15458 (unicode-category-table): Set it by unicode-property-table-internal.
15460 * international/mule-cmds.el (char-code-property-alist): Move to
15462 (get-char-code-property): Call unicode-property-table-internal to
15463 load a file. Call get-unicode-property-internal where necessary.
15464 (put-char-code-property): Call unicode-property-table-internal to
15465 load a file. Call put-unicode-property-internal where necessary.
15466 put-unicode-property-internal where necessary.
15467 (char-code-property-description):
15468 Call unicode-property-table-internal to load a file.
15470 * international/charprop.el:
15471 * international/uni-bidi.el:
15472 * international/uni-category.el:
15473 * international/uni-combining.el:
15474 * international/uni-comment.el:
15475 * international/uni-decimal.el:
15476 * international/uni-decomposition.el:
15477 * international/uni-digit.el:
15478 * international/uni-lowercase.el:
15479 * international/uni-mirrored.el:
15480 * international/uni-name.el:
15481 * international/uni-numeric.el:
15482 * international/uni-old-name.el:
15483 * international/uni-titlecase.el:
15484 * international/uni-uppercase.el: Regenerate.
15486 * loadup.el: Load international/charprop.el before
15487 international/characters.
15489 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15491 * window.el (next-buffer, previous-buffer): Signal an error if
15492 called from a minibuffer window.
15494 * bindings.el: Revert 2011-07-04 change.
15496 2011-07-06 Richard Stallman <rms@gnu.org>
15498 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15499 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15500 Treat markers like ints.
15501 (rmail-mime-entity): Doc fix.
15503 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15505 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15506 defcustom again for backwards compatibility.
15508 * simple.el (shell-command-on-region): Fill.
15510 * dired-aux.el (dired-kill-line): Add a doc string.
15512 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15513 to "\\sw\\|\\s_" (bug#358).
15515 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15516 (dired-unmark-backward): Ditto.
15517 (dired-flag-backup-files): Ditto.
15519 * dired-x.el (dired-mark-sexp): Ditto.
15521 2011-07-06 Richard Stallman <rms@gnu.org>
15523 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15524 (rmail-mime-entity): New arg TRUNCATED.
15525 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15527 (rmail-mime-save): Warn if entity is truncated.
15528 (rmail-mime-toggle-hidden): Likewise, for showing.
15529 (rmail-mime-process-multipart): Record when an entity is truncated.
15531 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15532 if ENTITY is a string.
15534 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15536 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15537 of faces when `M-C-x'-ing their definitions (bug#8378).
15538 Also clean up the code slightly.
15540 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15541 because that makes the colors go away.
15543 * mail/sendmail.el (send-mail-function): Change the default to
15544 `sendmail-query-once'.
15545 (sendmail-query-once): Add an autoload cookie.
15547 * net/network-stream.el (network-stream-open-starttls): Try using
15548 a plain connection even if the server offered STARTTLS, and we
15549 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15550 capability. This should make smtpmail.el work in slightly more
15553 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15555 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15557 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15559 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15561 * progmodes/sql.el: Version 3.0
15562 (sql-product-alist): Add product :completion-object,
15563 :completion-column, and :statement attributes.
15564 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15565 (sql-mode-syntax-table): Mark all punctuation.
15566 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15568 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15569 (sql-mode-oracle-font-lock-keywords): Improve.
15570 (sql-oracle-show-reserved-words): New function for development.
15571 (sql-product-font-lock): Simplify for source code buffers.
15572 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15574 (sql-highlight-product): Set product specific syntax table.
15575 (sql-mode-map): Add statement movement functions.
15576 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15578 (sql-statement-regexp, sql-beginning-of-statement)
15579 (sql-end-of-statement, sql-signum): New functions.
15580 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15581 (sql-show-sqli-buffer): Bug fix.
15582 (sql-interactive-mode): Store connection data as buffer local.
15583 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15584 with sql-interactive-mode.
15585 (sql-save-connection): Save buffer local settings.
15586 (sql-connection-menu-filter): Change menu entry name.
15587 (sql-product-interactive): Bug fix.
15588 (sql-preoutput-hold): New variable.
15589 (sql-interactive-remove-continuation-prompt): Bug fixes.
15590 (sql-debug-redirect): New variable.
15591 (sql-str-literal): New function.
15592 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15594 (sql-oracle-save-settings, sql-oracle-restore-settings)
15595 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15596 (sql-completion-object, sql-completion-column)
15597 (sql-completion-sqlbuf): New variables.
15598 (sql-build-completions-1, sql-build-completions)
15599 (sql-try-completion): New functions.
15600 (sql-read-table-name): Use them.
15601 (sql-contains-names): New buffer local variable.
15602 (sql-list-all, sql-list-table): Use it.
15603 (sql-oracle-completion-types): New variable.
15604 (sql-oracle-completion-object, sql-sqlite-completion-object)
15605 (sql-postgres-completion-object): New functions.
15607 2011-07-06 Glenn Morris <rgm@gnu.org>
15609 * window.el (pop-to-buffer): Doc fix.
15611 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15613 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15615 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15617 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15619 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15621 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15623 * button.el (button): Inherit from link face. Suggested by Dan
15626 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15628 * progmodes/gdb-mi.el: Fit in 80 columns.
15629 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15632 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15633 if imenu is simply not configured (bug#8941).
15635 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15637 * allout.el (allout-post-undo-hook): New allout outline-change
15638 event hook to signal undo activity.
15639 (allout-post-command-business): Run allout-post-undo-hook if an
15640 undo just occurred.
15641 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15642 * allout-widgets.el (allout-widgets-after-undo-function):
15643 Ensure the integrity of the current item's decoration after it has been
15644 in the vicinity of an undo.
15645 (allout-widgets-mode): Include allout-widgets-after-undo-function
15646 on the new allout-post-undo-hook.
15648 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15650 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15651 Let define-derived-mode define it.
15652 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15653 cycles of abbrev-table inheritance (bug#8998).
15655 2011-07-05 Roland Winkler <winkler@gnu.org>
15657 * textmodes/bibtex.el: Add support for biblatex.
15658 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15659 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15660 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15661 (bibtex-entry-alist, bibtex-field-alist): New variables.
15662 (bibtex-entry-field-alist): Obsolete alias for
15663 bibtex-BibTeX-entry-alist.
15664 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15665 (bibtex-set-dialect): New command.
15666 (bibtex-entry-type, bibtex-entry-head)
15667 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15668 Bind via bibtex-set-dialect.
15669 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15670 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15671 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15672 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15673 Define via bibtex-set-dialect.
15674 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15675 Obey bibtex-no-opt-remove-re.
15676 (bibtex-vec-push, bibtex-vec-incr): New functions.
15677 (bibtex-format-entry, bibtex-field-list)
15678 (bibtex-print-help-message, bibtex-validate)
15679 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15681 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15683 * progmodes/compile.el (compilation-goto-locus):
15684 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15685 * bs.el (bs-cycle-next, bs-cycle-previous):
15686 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15687 * bindings.el (mode-line-other-buffer):
15688 * autoinsert.el (auto-insert):
15689 * arc-mode.el (archive-extract):
15690 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15692 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15694 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15695 Fix check of `emacs-lock-unlockable-modes'.
15696 Coerce true values of `emacs-lock--try-unlocking' to t.
15698 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15700 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15701 * emacs-lock.el: New file.
15703 2011-07-05 Julien Danjou <julien@danjou.info>
15705 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15706 than `boundp' to check if face is set.
15708 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15710 * register.el (registerv-make):
15711 * window.el (window-min-height): Fix typos in docstrings.
15713 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15715 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15718 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15720 * server.el (server-execute): Catch quit and call
15721 `server-return-error' to pass the error back to emacsclient and
15722 close the connection (bug#8942).
15724 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15726 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15727 insecure exception for current topic. Also note that auto-saves
15728 are handled differently.
15730 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15731 State variables for tracking auto-save inhibition situation.
15733 (allout-write-contents-hook-handler): Rename from
15734 'allout-write-file-hook-handler', and describe how it depends on
15735 write-contents-functions sensitivity to non-nil value to prevent
15738 (allout-auto-save-hook-handler): Remove. auto-save does not check
15739 this in individual buffers, only in the starting buffer, so this
15740 is not the right way for us to inhibit auto-save in a buffer
15741 according to its condition.
15743 (allout-mode): Use new allout-write-contents-hook-handler, and
15744 only with write-contents-functions. Remove auto-save provisions -
15745 they're implemented elsewhere.
15747 (allout-before-change-handler): If undo is in progress, note that
15748 for attention of allout-post-command-business.
15750 (allout-post-command-business): If the command we're following was
15751 an undo, check for change in the status of encrypted items and
15752 adjust auto-save inhibitions accordingly.
15754 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15755 according to whether there are or aren't any plain-text topics
15756 pending encryption.
15758 (allout-inhibit-auto-save-info-for-decryption):
15759 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15760 if there are plain-text topics pending encryption.
15762 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15763 buffer-saved-size and some allout state to not inhibit auto-saves
15764 if there are no longer any plain-text topics pending encryption.
15766 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15767 No longer provide for exemption of the current topic.
15769 2011-07-04 Juri Linkov <juri@jurta.org>
15771 Add 7z operations to delete and save changed members (bug#8968).
15772 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15774 (archive-7z-write-file-member): New function.
15775 (archive-7z-summarize): Fix the number of dashes in the
15778 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15780 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15783 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15785 * bindings.el: Ignore next-buffer and previous-buffer in
15786 minibuffer-local-map.
15788 * font-lock.el (font-lock-builtin-face): Change light background
15789 color to dark slate blue (Bug#6693).
15791 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15793 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15795 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15797 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15798 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15799 Add switch-to-buffer.
15801 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15803 * isearch.el (isearch-search-fun-function): Clarify further the
15804 meaning of the function returned.
15806 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15808 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15810 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15811 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15813 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15814 `tramp-default-remote-path' does not exist.
15815 (tramp-send-command-and-read): New optional argument NOERROR.
15816 (tramp-open-connection-setup-interactive-shell)
15817 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15818 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15819 (tramp-process-sentinel): Flush also process' connection property.
15820 (tramp-sh-handle-start-file-process): Do not set process
15821 sentinel. It is done now ...
15822 (tramp-maybe-open-connection): ... here. (Bug#8929)
15824 2011-07-04 MON KEY <monkey@sandpframing.com>
15826 * play/animate.el (animate-string): Doc fixes and allow changing
15827 the buffer name (bug#5417).
15829 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15831 * play/animate.el (animation-buffer-name): Rename from *animate*.
15833 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15835 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15836 This is simpler and helps future-proof the code.
15837 (timer-until): Use time-subtract and float-time.
15838 (timer--time-less-p): Use time-less-p.
15840 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15842 * type-break.el (timep): Use the value of `float-time' to avoid a
15843 byte-compiler warning.
15845 * server.el (server-eval-and-print): Return any result, even nil.
15847 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15849 * type-break.el: Accept time formats that the builtins accept.
15850 (timep, type-break-time-difference): Accept any format that
15851 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15852 This is simpler and helps future-proof the code.
15853 (type-break-time-difference): Round rather than ignoring
15854 subseconds components.
15856 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15858 * info.el (Info-apropos-matches): Make non-interactive, since it
15859 doesn't seem to do anything useful as a command (bug#8829).
15861 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15863 * frame.el (frame-background-mode, frame-set-background-mode):
15864 Move from faces.el.
15865 (frame-default-terminal-background): New function.
15867 * custom.el (custom-push-theme): Don't record faces in `changed'
15868 theme; this doesn't work correctly for per-frame face settings.
15869 (disable-theme): Use face-set-after-frame-default to reset faces.
15870 (custom--frame-color-default): New function.
15872 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15874 * dired.el (dired-flagging-regexp): Remove unused variable
15877 2011-03-29 Kevin Ryde <user42@zip.com.au>
15879 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15880 `perl-Test2' extend to match possible "fail #N" rep count
15883 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15885 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15886 `smtpmail-via-smtp' now returns the error instead of nil.
15888 * isearch.el (isearch-search-fun-function): Clarify the doc string
15891 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15893 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15894 unnecessary spaces (bug#8987).
15896 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15898 * net/network-stream.el (open-network-stream): Use the
15899 :end-of-capability command thoughout.
15901 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15903 * net/network-stream.el (open-network-stream): Add the
15904 :end-of-capability command parameter, used by pop3.el.
15906 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15908 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15910 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15911 for list)" (bug#6475).
15913 * files.el (file-expand-wildcards): Ignore non-readable
15914 sub-directories while trying to find matches instead of signaling
15915 an error (bug#6297).
15917 * man.el (Man-reference-regexp): Allow matching possible
15918 word-wrapped references (bug#6289).
15920 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15921 for consistency with the other vc buffers (bug#6197).
15922 (vc-checkin): Ditto.
15924 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15926 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15928 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15930 * custom.el (defcustom): Clarify that :set is only used in the
15931 Customize user interface (bug#6089).
15933 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15934 associated with a file, refuse to run instead of erroring out
15937 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15938 the doc string, since it appears that using `fill-column' always
15939 controls the width (bug#7845).
15941 * simple.el (shell-command-on-region): Say where the error output
15942 went if `shell-command-default-error-buffer' is set (bug#6857).
15944 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15946 * allout.el (allout-yank-processing): Adjust cursor position for
15947 backwards-deleted space.
15949 (allout-rebullet-heading): Register changes with
15950 allout-exposure-changed-hook, so the modified topic is properly
15953 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15955 * minibuffer.el (completion-in-region): Document PREDICATE
15958 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15959 of keyword/argument pairs (bug#6904).
15961 * replace.el (multi-occur):
15962 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15964 2011-07-02 Drew Adams <drew.adams@oracle.com>
15966 * dired.el (dired-mark-if): Make the message about whether it's
15967 marking or unmarking clearer (bug#8523).
15969 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15971 * disp-table.el (display-table-print-array): New function.
15972 (describe-display-table): Use it to print the vectors more pretty
15975 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15977 * window.el (window-state-get-1): Don't assign clone numbers.
15978 Add clone-of item to list of window parameters.
15979 (window-state-put-2): Don't process clone numbers.
15980 (display-buffer-alist): Fix doc-string.
15982 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15984 * subr.el (remq): Don't allocate if it's not needed.
15985 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15986 (keymap--merge-bindings): New functions.
15987 (keymap-canonicalize): Use them to refine the canonicalization.
15988 * minibuffer.el (minibuffer-local-completion-map)
15989 (minibuffer-local-must-match-map): Move initialization from C.
15990 (minibuffer-local-filename-completion-map): Move initialization from C;
15991 don't inherit from anything here.
15992 (minibuffer-local-filename-must-match-map): Make obsolete.
15993 (completing-read-default): Use make-composed-keymap to combine
15994 minibuffer-local-filename-completion-map with either
15995 minibuffer-local-must-match-map or
15996 minibuffer-local-filename-completion-map.
15998 2011-07-01 Glenn Morris <rgm@gnu.org>
16000 * type-break.el (type-break-time-sum): Use dolist.
16002 * textmodes/flyspell.el (flyspell-word-search-backward):
16003 Replace CL function.
16005 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16007 * mouse.el (mouse--strip-first-event): New function.
16008 (function-key-map): Use it to map fringe clicks to normal clicks
16011 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16012 (vc-bzr-revision-completion-table): Add support for annotate and date.
16014 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16015 inherit from parent.
16017 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16019 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16020 (dired-show-file-type): Doc fixup (bug#8818).
16022 * dired.el (dired-mode): Fix up the doc string as suggested by
16023 Drew Adams (bug#8817).
16025 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16026 cookie, since the manual says that it should be possible to add
16027 this function to `find-file-hook' (bug#8709).
16029 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16031 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16032 here. Noted Ted Zlatanov as the maintainer.
16033 (cfengine-common-settings, cfengine-common-syntax): New functions
16034 to set up common things between `cfengine-mode' and
16036 (cfengine3-mode): New mode.
16037 (cfengine3-defuns cfengine3-defuns-regex
16038 (cfengine3-class-selector-regex cfengine3-category-regex)
16039 (cfengine3-vartypes cfengine3-font-lock-keywords)
16040 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16041 (cfengine3-indent-line): Add from cfengine3.el.
16043 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16045 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16047 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16049 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16051 * window.el (same-window-buffer-names, same-window-regexps)
16052 (same-window-p, special-display-frame-alist)
16053 (special-display-popup-frame, special-display-function)
16054 (special-display-buffer-names, special-display-regexps)
16055 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16056 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16057 (split-window-preferred-function, split-height-threshold)
16058 (split-width-threshold, even-window-heights)
16059 (display-buffer-mark-dedicated, window-splittable-p)
16060 (split-window-sensibly, window-safely-shrinkable-p):
16062 (display-buffer): Don't spread args with function specifier
16063 because special-display-popup-frame won't like it.
16065 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16067 Time-stamp simplifications and fixes.
16068 These improve accuracy slightly, and future-proof the code
16069 against some potential changes to current-time format.
16071 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16072 by using time-since and float-time.
16074 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16075 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16076 + NNN microseconds".
16078 * type-break.el (type-break-time-sum): Rewrite using time-add.
16080 * play/hanoi.el (hanoi-current-time-float): Remove.
16081 All uses replaced by float-time.
16083 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16084 This yields a more-accurate answer.
16085 (rng-time-to-float): Remove; no longer needed.
16087 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16089 * calendar/timeclock.el (timeclock-seconds-to-time):
16090 Defalias to seconds-to-time, since they're the same thing.
16092 * emacs-lisp/elp.el (elp-elapsed-time):
16093 * emacs-lisp/benchmark.el (benchmark-elapse):
16094 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16096 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16098 * window.el (bury-buffer): Don't iconify the only frame.
16099 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16100 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16102 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16104 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16105 Add mouse-yank-primary.
16107 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16109 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16111 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16113 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16114 (find-library-name): Use it to find relative load names when provided
16115 absolute file name (bug#8803).
16117 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16119 * textmodes/flyspell.el (flyspell-word): Consider words that
16120 differ only in case as potential doublons (bug#5687).
16122 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16123 Remove two rather uninteresting debugging-like messages to make
16124 debbugs.el more silent.
16126 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16127 a password-like phrase.
16129 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16131 * progmodes/cc-guess.el: New file.
16133 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16135 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16136 derived from `c-basic-common-init'.
16138 * progmodes/cc-mode.el (top-level): Require cc-guess.
16139 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16141 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16143 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16145 2011-06-30 Alan Mackenzie <acm@muc.de>
16147 * progmodes/cc-engine.el (c-guess-continued-construct):
16148 Correct the handling of template-args-cont, particularly for when font
16149 lock is disabled. Name this case as "CASE G".
16151 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16153 * allout.el (allout-yank-processing): Fix injection of extra space
16154 between bullet and non-whitespace character in first topic when
16155 pasting, ensuring that the actual spacing in the pasted topic
16156 following the bullet char is preserved. This extra space was
16157 causing pasted encrypted topics to get a decrypted status even
16158 when the content was actually still encrypted. Now the decryption
16159 status from before the paste is preserved.
16161 (allout-flag-region): Set all allout overlays so they evaporate
16162 when reduced to zero length (evanescent), to prevent overlay
16165 2011-06-30 Glenn Morris <rgm@gnu.org>
16167 * w32-fns.el (w32-charset-info-alist): Declare.
16169 * find-dired.el (find-grep-options): Simplify.
16171 * term/ns-win.el (ns-set-resource): Declare.
16173 * ses.el (row, col): Declare dynamic variables honestly.
16175 * textmodes/reftex-parse.el (index-tags): Declare.
16177 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16179 * cus-edit.el (customize-push-and-save): New function.
16181 * files.el (hack-local-variables-confirm): Use it.
16183 * custom.el (load-theme): New arg NO-CONFIRM.
16184 Use customize-push-and-save (Bug#8720).
16185 (custom-enabled-themes): Doc fix.
16187 * cus-theme.el (customize-create-theme)
16188 (custom-theme-merge-theme): Callers to load-theme changed.
16190 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16192 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16193 short URLs have at least one dot in them (bug #7614).
16195 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16196 nil, because using a pty is apparently too slow (bug #895).
16198 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16200 * mail/sendmail.el (sendmail-query-once): New function.
16201 (sendmail-query-once-function): New variable.
16203 2011-06-29 Glenn Morris <rgm@gnu.org>
16205 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16207 * ses.el (top-level): Require cl when compiling.
16208 (ses-set-localvars): Fix error statement.
16209 Call it at compile time to silence a storm of warnings.
16211 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16213 * window.el (normalize-live-buffer): Rename to
16214 window-normalize-buffer.
16215 (normalize-live-frame): Rename to window-normalize-frame.
16216 (normalize-any-window): Rename to window-normalize-any-window.
16217 (normalize-live-window): Rename to window-normalize-live-window.
16218 (make-window-atom): Rename to window-make-atom.
16219 (window-resize-reset): Rename to window--resize-reset.
16220 (window-resize-reset-1): Rename to window--resize-reset-1.
16221 (resize-mini-window): Rename to window--resize-mini-window.
16222 (resize-subwindows-skip-p): Rename to
16223 window--resize-subwindows-skip-p.
16224 (resize-subwindows-normal): Rename to
16225 window--resize-subwindows-normal.
16226 (resize-subwindows): Rename to window--resize-subwindows.
16227 (resize-other-windows): Rename to window--resize-siblings.
16228 (resize-this-window): Rename to window--resize-this-window.
16229 (resize-root-window): Rename to window--resize-root-window.
16230 (resize-root-window-vertically): Rename to
16231 window--resize-root-window-vertically.
16232 (normalize-buffer-to-display): Rename to
16233 window-normalize-buffer-to-display.
16234 (normalize-buffer-to-switch-to): Rename to
16235 window-normalize-buffer-to-switch-to.
16236 Correspondingly update all callers of the functions listed
16238 (display-buffer-alist, display-buffer-normalize-arguments)
16239 (display-buffer-normalize-options, display-buffer)
16240 (display-buffer-alist-set): Use "function" instead of
16243 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16245 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16246 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16247 debbugs.gnu.org. Mention acknowledgment email.
16249 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16251 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16252 buffer multibyteness, since it shouldn't matter.
16254 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16256 * window.el (display-buffer-in-side-window): Handle dedicated
16257 windows as in display-buffer-reuse-window.
16258 (display-buffer-normalize-alist): Use value of override
16260 (display-buffer-normalize-specifiers): Use value of
16261 other-window-means-other-frame specifier.
16262 (display-buffer-alist): Rewrite some texts in widgets.
16263 (display-buffer): Spread arguments when calling function
16264 specified by fun-with-args.
16266 2011-06-28 Deniz Dogan <deniz@dogan.se>
16268 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16271 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16272 selectors (Bug#5732).
16273 (css-proprietary-nmstart-re): Use `regexp-opt'.
16275 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16277 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16278 (eshell-ls-date-format): New defcustom.
16279 (eshell-ls-file): Use it.
16281 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16283 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16285 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16287 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16288 (ange-ftp-make-tmp-name): New arg.
16289 (ange-ftp-file-local-copy): Use it.
16291 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16293 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16294 no-conversion (Bug#8870).
16296 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16298 * window.el (window-right, window-left, window-child)
16299 (window-child-count, window-last-child)
16300 (window-iso-combination-p, walk-window-tree-1)
16301 (window-atom-check-1, window-tree-1, delete-window)
16302 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16303 new naming conventions - window-vchild, window-hchild,
16304 window-next and window-prev are now called window-top-child,
16305 window-left-child, window-next-sibling and window-prev-sibling
16307 (resize-window-reset): Rename to window-resize-reset.
16308 (resize-window-reset-1): Rename to window-resize-reset-1.
16309 (resize-window): Rename to window-resize.
16310 (window-min-height, window-min-width)
16311 (resize-mini-window, resize-this-window, resize-root-window)
16312 (resize-root-window-vertically, adjust-window-trailing-edge)
16313 (enlarge-window, shrink-window, maximize-window)
16314 (minimize-window, delete-window, quit-restore-window)
16315 (split-window, balance-windows, balance-windows-area-adjust)
16316 (balance-windows-area, window-state-put-2)
16317 (display-buffer-even-window-sizes, display-buffer-set-height)
16318 (display-buffer-set-width, set-window-text-height)
16319 (fit-window-to-buffer): Rename all "resize-window" prefixed
16320 calls to use the "window-resize" prefix convention.
16321 (display-buffer-alist): Fix symbol for label specifier.
16322 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16323 corresponding specifier.
16324 Reported by Juanma Barranquero <lekktu@gmail.com>.
16326 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16328 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16330 (ses-call-printer): Does not pass an empty string to formatter when the
16331 cell is empty to keep from barking printer Calc math-format-value.
16333 2011-06-27 Richard Stallman <rms@gnu.org>
16335 * battery.el (battery-mode-line-limit): New variable.
16336 (battery-update): Handle it.
16338 * mail/rmailmm.el (rmail-mime-process-multipart):
16339 Handle truncated messages.
16341 2011-06-27 Glenn Morris <rgm@gnu.org>
16343 * progmodes/flymake.el (flymake-err-line-patterns):
16344 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16346 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16348 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16349 (ses--clean-!, ses--clean-_): New functions.
16350 (ses-range): Add configurability of readout order, and conversion
16353 * ses.el (ses-repair-cell-reference-all): New function.
16354 (ses-cell-symbol): Set macro as safe, so that it can be used in
16357 * ses.el: Update cycle detection algorithm.
16358 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16359 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16360 (ses-set-localvars): New function.
16361 (ses-make-cell): Add property-list as a cell element.
16362 (ses-cell-property-get-fun, ses-cell-property-get)
16363 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16364 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16366 (ses-cell-property-set, ses-cell-property-pop)
16367 (ses-cell-property-get-handle): New macro.
16368 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16369 New aliases, used for code readability.
16370 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16372 (ses-self-reference-early-detection): New defcustom.
16373 (ses-formula-references): Robustify against self-referring cells.
16374 (ses-mode): Use ses-set-localvars.
16375 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16376 before lauching the update processing.
16377 (ses-initialize-Dijkstra-attempt): New function.
16378 (ses-recalculate-cell): Update for cycle detection based on
16379 Dijkstra algorithm.
16381 * ses.el: Fix commenting and indenting convention.
16383 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16385 * bs.el (bs-cycle-next): Complete last change.
16387 2011-06-27 Drew Adams <drew.adams@oracle.com>
16389 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16391 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16393 * net/network-stream.el (network-stream-open-starttls):
16394 Don't re-get capabilities unless we've reestablished connection.
16395 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16397 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16398 to binary to possibly avoid line encoding issues on Windows (among
16401 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16403 * net/network-stream.el (open-network-stream): Return an :error
16404 saying what the problem was, if possible.
16406 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16409 * net/network-stream.el (network-stream-open-starttls): If we
16410 wanted to use STARTTLS, and the server offered it, but we weren't
16411 able to because we had no STARTTLS support, then close the connection.
16412 (open-network-stream): Return an :error element, if present.
16414 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16416 * hl-line.el (hl-line-sticky-flag): Doc fix.
16417 (global-hl-line-sticky-flag): New option (Bug#8323).
16418 (global-hl-line-highlight): Obey it.
16420 * vc/vc.el (vc-revert-show-diff): Default to t.
16422 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16424 * allout-widgets.el (allout-widgets-post-command-business):
16425 Stop decorating intermediate isearch matches. They're not being
16426 undecorated when an isearch is continued past, and isearch
16427 automatically collapses them. This leads to "widget leaks", where
16428 decorated items accumulate in collapsed areas. Lines with lots of
16429 hidden widgets can slow down cursor travel, substantially.
16430 Too much complicated machinery would be needed to ensure undecoration,
16431 so we're doing without this nicety.
16433 (allout-widgets-tally-string): Don't try to do a hash-table-count
16434 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16435 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16436 *Messages* when allout-widgets-maintain-tally is t.
16438 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16440 * window.el (display-buffer-normalize-argument): Rename to
16441 display-buffer-normalize-arguments. Handle special meaning of
16442 LABEL argument. Respect special-display-function when popping up
16443 a new frame. Fix code searching for a window showing the buffer
16445 (display-buffer-normalize-specifiers):
16446 Call display-buffer-normalize-arguments.
16447 (display-buffer-in-window): Don't undedicate the window if its
16448 buffer remains the same.
16449 Reported by Drew Adams <drew.adams@oracle.com>.
16450 (display-buffer-alist): Add choice for same-window macro
16452 (display-buffer): Mention special meaning of LABEL argument in
16453 doc-string. Fix quoting. Don't pop up a new frame even as
16456 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16458 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16459 avoid deleting the current window in some cases (bug#8911).
16461 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16463 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16466 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16468 * net/network-stream.el (network-stream-open-starttls):
16469 Use built-in TLS support if `gnutls-available-p' is true.
16470 (network-stream-open-tls): Ditto.
16472 2011-06-26 Leo Liu <sdl.web@gmail.com>
16474 * register.el (registerv): New struct.
16475 (registerv-make): New function.
16476 (jump-to-register, describe-register-1, insert-register):
16477 Support the jump-func, print-func and insert-func slot of a registerv
16480 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16482 * vc/vc.el (vc-revert-show-diff): New defcustom.
16483 (vc-diff-internal): New arg specifying diff buffer.
16484 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16485 reuse an existing *vc-diff* buffer (Bug#8927).
16487 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16489 2011-06-26 Glenn Morris <rgm@gnu.org>
16491 * progmodes/f90.el (f90-critical-indent): New option.
16492 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16493 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16494 (f90-mode): Doc fix.
16495 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16496 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16497 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16498 (f90-match-end): Handle block, critical.
16500 2011-06-25 Glenn Morris <rgm@gnu.org>
16502 * calendar/diary-lib.el (diary-included-files): Doc fix.
16503 (diary-include-files): New function, extracted from
16504 diary-include-other-diary-files and diary-mark-included-diary-files.
16505 (diary-include-other-diary-files, diary-mark-included-diary-files):
16506 Just call diary-include-files.
16507 (diary-mark-entries): Reset diary-included-files on first call.
16509 * calendar/diary-lib.el (diary-mark-entries)
16510 (diary-mark-included-diary-files):
16511 Visit included diary-files in temp buffers.
16513 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16514 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16515 (f90-start-block-re, f90-imenu-generic-expression)
16516 (f90-looking-at-program-block-start, f90-no-block-limit):
16517 Add support for submodules.
16519 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16520 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16522 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16524 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16525 buffer-file-type before setting its value, to avoid disastrous
16526 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16528 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16530 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16532 * ses.el (ses-unload-function):
16533 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16535 * proced.el (proced-unload-function):
16536 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16538 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16540 * server.el (server-create-window-system-frame): Add parameters arg.
16541 (server-process-filter): Doc fix. Handle frame-parameters.
16543 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16545 Fix bug#8730, bug#8781.
16547 * loadhist.el (unload--set-major-mode): New function.
16548 (unload-feature): Use it.
16550 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16551 (python-unload-function): New function.
16553 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16555 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16557 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16559 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16560 the candidates list.
16562 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16564 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16566 2011-06-23 Richard Stallman <rms@gnu.org>
16568 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16569 (rmail-variables): Set next-error-move-function.
16570 (rmail-what-message): Take argument POS.
16571 (rmail-next-error-move): New function.
16573 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16575 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16576 messages for adjacent non-terminals.
16578 2011-06-23 Richard Stallman <rms@gnu.org>
16580 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16581 (rmail-show-message-1): Preserve buffer modified flag.
16582 (rmail-start-mail): Don't specify use of rmail-mail-return;
16583 that's done by mail-bury now.
16584 (rmail-mail-return): Handle arg NEWBUF.
16586 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16588 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16591 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16593 * window.el (get-lru-window, get-mru-window)
16594 (get-largest-window): Never return a minibuffer window.
16595 (display-buffer-pop-up-window): Fix a bug that could lead to
16596 reusing the minibuffer window.
16597 (display-buffer): Pass original specifier argument to
16598 display-buffer-function instead of the normalized one.
16599 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16601 2011-06-22 Leo Liu <sdl.web@gmail.com>
16603 * minibuffer.el (completing-read-function)
16604 (completing-read-default): Move from minibuf.c.
16606 2011-06-22 Richard Stallman <rms@gnu.org>
16608 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16609 to Rmail even if not started by a special Rmail command.
16611 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16612 Copy the buffer currently showing just one message.
16614 2011-06-22 Roland Winkler <winkler@gnu.org>
16616 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16617 (bibtex-clean-entry): First delete the old key so that a
16618 customized algorithm for generating the new key does not get
16619 confused by the old key.
16620 (bibtex-url): Obey regexp of first step.
16621 (bibtex-search-entries): Do not use add-to-list with local
16624 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16626 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16627 stored a user name, then query for the password first, instead of
16628 waiting for SMTP to give an error message and the trying again.
16630 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16632 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16633 BUFFER in call-process.
16635 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16637 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16639 (smtpmail-try-auth-methods): Require user name and password from
16642 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16644 * window.el (display-buffer-default-specifiers)
16645 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16646 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16647 (split-window): Normalize SIDE argument (Bug#8916).
16649 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16650 (special-display-frame-alist, special-display-popup-frame):
16651 Remove duplicate declarations. These are now in window.el.
16653 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16655 * mail/smtpmail.el (smtpmail-via-smtp):
16656 Set :use-starttls-if-possible so that we always use STARTTLS if the
16657 server supports it. SMTP servers that support STARTTLS commonly
16660 * net/network-stream.el (network-stream-open-starttls): Support
16661 upgrading to STARTTLS always, even if we don't have built-in support.
16662 (open-network-stream): Add the :always-query-capabilities keyword.
16664 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16665 upgrades with `open-network-stream', and rely solely on
16666 auth-source for all credentials. Big changes throughout the file,
16668 (smtpmail-auth-credentials): Remove.
16669 (smtpmail-starttls-credentials): Remove.
16670 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16673 * net/network-stream.el (network-stream-open-starttls):
16674 Provide support for client certificates both for external and built-in
16676 (auth-source): Require.
16677 (open-network-stream): Document the :client-certificate keyword.
16678 (network-stream-certificate): Change cert-cert to cert and
16681 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16683 * net/tramp-cache.el (top): Don't load the persistency file when
16684 "emacs -Q" has been called.
16686 2011-06-21 Tim Harper <timcharper@gmail.com>
16688 * term/ns-win.el (ns-initialize-window-system):
16689 Set application-specific `ApplePressAndHoldEnabled' system
16690 resource to NO as it is not yet supported by the NS port.
16692 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16694 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16695 (list-dynamic-libraries): ...not here.
16697 2011-06-21 Leo Liu <sdl.web@gmail.com>
16699 * subr.el (sha1): Implement sha1 using secure-hash.
16701 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16703 * window.el (display-buffer-alist): In default value do not
16704 enforce searching a window on any but the selected frame.
16705 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16706 (display-buffer-select-window): Remove function.
16707 (display-buffer-in-window): When a window on another frame gets
16708 reused, do not select it any more but just raise its frame if
16709 necessary (Bug#8851) and (Bug#8856).
16710 (display-buffer-normalize-options): Handle pop-up-frames related
16711 options more faithfully.
16712 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16713 window if it is on another frame.
16714 (display-buffer-alist, display-buffer-default-specifiers):
16715 Don't make new frame unsplittable by default.
16716 (display-buffer-normalize-argument): Fix doc-string typo and use
16717 'same-frame-other-window instead of 'other-window when associating
16718 with display-buffer-macro-specifiers.
16720 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16722 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16724 (5x5-mode-map, 5x5-mode-menu): Bind them.
16725 (5x5-draw-grid): Tweak the solver's rendering.
16727 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16729 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16730 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16732 2011-06-21 Drew Adams <drew.adams@oracle.com>
16734 * menu-bar.el: Use function variable instead of switch-to-buffer.
16735 (menu-bar-select-buffer-function): New variable.
16736 (menu-bar-update-buffers): Use it (bug#8876).
16738 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16740 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16743 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16745 * x-dnd.el (x-dnd-version-from-flags)
16746 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16747 and long as number (Bug#8899).
16748 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16750 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16752 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16753 (completion-try-completion, completion-all-completions): Compute the
16754 metadata argument if it's missing; make it optional (bug#8795).
16756 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16757 (widget-complete): Use new :completion-function property.
16758 (widget-completions-at-point): New function.
16759 (default): Use :completion-function instead of :complete.
16760 (widget-default-completions): Rename from widget-default-complete;
16762 (widget-string-complete, widget-file-complete, widget-color-complete):
16764 (file, symbol, function, variable, coding-system, color):
16765 * international/mule-cmds.el (default-input-method, charset)
16766 (language-info-custom-alist):
16767 * cus-edit.el (face): Use new property :completions.
16769 * progmodes/pascal.el (pascal-completions-at-point): New function.
16770 (pascal-mode): Use it.
16771 (pascal-mode-map): Use completion-at-point.
16772 (pascal-toggle-completions): Make obsolete.
16773 (pascal-complete-word, pascal-show-completions):
16774 * progmodes/octave-mod.el (octave-complete-symbol):
16775 Redefine as obsolete alias.
16776 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16777 Signal absence of completion info for old Octave,
16778 (inferior-octave-complete): Redefine as obsolete alias.
16779 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16780 (meta-completions-at-point): Rename from meta-complete-symbol and
16781 adapt it for use on completion-at-point-functions.
16782 (meta-common-mode): Use it.
16783 (meta-looking-at-backward, meta-match-buffer): Remove.
16784 (meta-complete-symbol): Redefine as obsolete alias.
16785 (meta-common-mode-map): Use completion-at-point.
16786 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16787 (makefile-mode-map): Use completion-at-point.
16788 (makefile-completions-at-point): Rename from makefile-complete and
16789 adapt it for use on completion-at-point-functions.
16790 (makefile-mode): Use it.
16791 (makefile-complete): Redefine as obsolete alias.
16793 2011-06-20 Deniz Dogan <deniz@dogan.se>
16795 * net/rcirc.el: Delete trailing whitespaces once and for all.
16797 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16799 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16801 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16803 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16805 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16807 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16809 * window.el (display-buffer-other-window-means-other-frame):
16810 Call display-buffer-normalize-alist.
16811 (display-buffer-normalize-specifiers-1): Rename to
16812 display-buffer-normalize-argument. New argument other-frame.
16814 (display-buffer-normalize-specifiers-2): Rename to
16815 display-buffer-normalize-options.
16816 (display-buffer-normalize-alist-1): New function.
16817 (display-buffer-normalize-specifiers-3): Rename to
16818 display-buffer-normalize-alist.
16819 Call display-buffer-normalize-alist-1.
16820 (display-buffer-normalize-options-inhibit): New variable.
16821 (display-buffer-normalize-specifiers): Rewrite calling
16822 display-buffer-normalize-alist,
16823 display-buffer-normalize-argument, and
16824 display-buffer-normalize-options. Don't call the latter if
16825 display-buffer-normalize-options-inhibit is non-nil.
16826 (frame-auto-delete): New option.
16827 (window-deletable-p): Use frame-auto-delete.
16828 (window-list-no-nils, window-state-ignored-parameters)
16829 (window-state-get-1, window-state-get, window-state-put-list)
16830 (window-state-put-1, window-state-put-2, window-state-put):
16832 (display-buffer-normalize-options): Move special-display-p group
16833 after pop-up-frame group (Bug#8851) and (Bug#8856).
16835 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16837 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16839 (rx-submatch-n): New function.
16842 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16845 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16847 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16849 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16850 anytime existing face settings are present (Bug#8889).
16852 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16853 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16854 Remove unused argument.
16856 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16858 * window.el (display-buffer-default-specifiers):
16859 Remove pop-up-frame. Add pop-up-window-min-height,
16860 pop-up-window-min-width, and another reuse-window specifier
16861 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16862 (display-buffer-normalize-specifiers-2):
16863 Handle split-height-threshold and split-width-threshold also when
16864 pop-up-windows is unset. Add a reuse-window specifier for the
16865 case popping up a new window fails.
16866 (special-display-popup-frame): Remove double quoting.
16867 (display-buffer-normalize-specifiers-1): Fix thinko.
16869 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16871 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16872 according to comint-completion-addsuffix.
16874 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16875 (pcomplete-suffix-list): Mark as obsolete.
16876 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16877 pcomplete-seen in the closure.
16878 (pcomplete-comint-setup): Setup completion-at-point as well.
16879 (pcomplete--entries): New function.
16880 (pcomplete--env-regexp): New var.
16881 (pcomplete-entries): Rewrite to work with partial-completion and
16882 without relying on pcomplete-suffix-list.
16883 (pcomplete-pare-list): Remove, unused.
16885 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16887 * window.el (display-buffer-alist): Set pop-up-window-min-height
16888 and pop-up-window-min-width in default value. Reported by
16889 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16890 other-window-means-other-frame.
16891 (display-buffer-macro-specifiers): Comment out entry for
16892 other-window specifier.
16893 (display-buffer-other-window-means-other-frame): New function.
16894 (display-buffer-normalize-specifiers-1): New arguments
16895 buffer-name and label. Treat other-window case specially.
16896 (display-buffer-normalize-specifiers-2): Treat other-window case
16898 (display-buffer-normalize-specifiers-3): New function.
16899 (display-buffer-normalize-specifiers):
16900 Call display-buffer-normalize-specifiers-3.
16902 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16904 * window.el (same-window-p): Fix two typos introduced when
16905 adding with-no-warnings.
16906 (display-buffer-normalize-specifiers-1): Don't check
16907 pop-up-frames for 'unset initialization.
16908 (display-buffer-normalize-specifiers-2): Major rewrite using
16909 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16910 (pop-up-frames, display-buffer-reuse-frames)
16911 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16912 Suggested by David Engster <deng@randomsample.de>.
16913 (even-window-heights): Initialize to 'unset.
16914 (display-buffer-alist-set): Handle new 'unset initializations.
16915 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16918 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16920 * window.el (display-buffer-normalize-specifiers-1):
16921 Respect current value of pop-up-frames for most reasonable values of
16922 second argument of display-buffer (Bug#8865).
16923 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16924 (switch-to-buffer-other-window-same-frame)
16925 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16927 (display-buffer): Don't check noninteractive when calling
16928 display-buffer-pop-up-frame.
16929 (display-buffer-pop-up-frame): Never pop up a frame in
16930 noninteractive mode (Bug#8857).
16931 (enlarge-window, shrink-window): Don't report an error when the
16932 window can't be resized as requested (Bug#8862).
16934 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16936 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16938 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16940 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16942 2011-06-15 Alan Mackenzie <acm@muc.de>
16944 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16945 for declarators, disable knr checking to speed up for normal files.
16946 2: Refactor, replacing a sequence of nested if forms by a cond form.
16948 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16950 * net/network-stream.el (open-network-stream): Add the keyword
16951 :always-query-capabilities for the case where you want to force a
16952 `plain' network connection, but the protocol still requires the
16953 capabilitiy command (i.e., SMTP and EHLO).
16955 * subr.el (process-live-p): Rename from `process-alive-p' for
16956 consistency with other `-live-p' functions.
16958 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16960 * window.el (same-window-buffer-names, same-window-regexps)
16961 (special-display-frame-alist, special-display-popup-frame)
16962 (special-display-function, special-display-buffer-names)
16963 (special-display-regexps, pop-up-frame-alist)
16964 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16965 (pop-up-windows, split-window-preferred-function)
16966 (split-height-threshold, split-width-threshold, even-window-heights)
16967 (display-buffer-mark-dedicated): Don't encourage the use of
16968 display-buffer-alist from Elisp code.
16970 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16972 * progmodes/python.el (python-mode): Derive from prog-mode.
16973 * progmodes/ps-mode.el (ps-mode):
16974 * progmodes/mixal-mode.el (mixal-mode):
16975 * progmodes/cfengine.el (cfengine-mode):
16976 * progmodes/ld-script.el (ld-script-mode): Likewise.
16978 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16980 * window.el (display-buffer-alist): Trim default value to avoid
16981 popping up a new frame (Bug#8857) or reusing an arbitrary window
16983 (display-buffer): Do not fall back on popping up a new frame in
16984 batch mode (Bug#8857).
16986 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16988 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16989 (custom-theme-summary): New function.
16990 (customize-themes): Use it.
16992 2011-06-13 Glenn Morris <rgm@gnu.org>
16994 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16996 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16998 * help.el (help-window): Remove variable.
16999 (help-window-point-marker, temp-buffer-max-height)
17000 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17001 (help-print-return-message): Don't set help-window.
17002 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17003 (help-window-setup-finish): Remove.
17004 (help-window-display-message, help-window-setup)
17005 (with-help-window): Major rewrite based on new
17006 display-buffer-window variable.
17008 * help-mode.el (help-mode-finish): Remove help-window related
17011 * view.el (view-exits-all-viewing-windows): Remove reference to
17012 view-return-to-alist in doc-string.
17013 (view-return-to-alist): Make obsolete.
17014 (view-buffer): Call pop-to-buffer-same-window and remove
17016 (view-buffer-other-window): Call pop-to-buffer-other-window and
17017 simplify code. Ignore second argument.
17018 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17019 simplify code. Ignore second argument.
17020 (view-return-to-alist-update): Make obsolete.
17021 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17022 Rewrite using quit-restore window parameters.
17023 (view-mode-exit): Rename second argument to EXIT-ONLY.
17024 Rewrite using quit-restore-window.
17025 (View-exit, View-exit-and-edit, View-leave, View-quit)
17026 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17027 appropriate arguments.
17028 (view-end-message): Use quit-restore window parameter.
17030 * window.el (display-buffer-function): Rewrite doc-string.
17031 (display-buffer-window, display-buffer-alist): New variables.
17032 (display-buffer-split-specifiers)
17033 (display-buffer-side-specifiers)
17034 (display-buffer-macro-specifiers): New constants.
17035 (display-buffer-even-window-sizes, display-buffer-set-height)
17036 (display-buffer-set-width, display-buffer-select-window)
17037 (display-buffer-in-window, display-buffer-reuse-window)
17038 (display-buffer-split-window-1, display-buffer-split-window)
17039 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17040 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17041 (display-buffer-in-side-window, normalize-buffer-to-display)
17042 (display-buffer-normalize-specifiers-1)
17043 (display-buffer-normalize-specifiers-2)
17044 (display-buffer-normalize-specifiers, display-buffer-frame):
17046 (display-buffer): Major rewrite.
17047 (display-buffer-other-window, display-buffer-other-frame)
17048 (pop-to-buffer, switch-to-buffer-other-window)
17049 (switch-to-buffer-other-frame): Rewrite.
17050 (display-buffer-same-window, display-buffer-same-frame)
17051 (display-buffer-same-frame-other-window)
17052 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17053 (pop-to-buffer-other-window)
17054 (pop-to-buffer-same-frame-other-window)
17055 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17056 (switch-to-buffer-other-window-same-frame): New functions.
17057 (same-window-p, special-display-p): Rewrite disabling warnings.
17059 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17060 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17062 (same-window-buffer-names, same-window-regexps)
17063 (special-display-frame-alist, special-display-popup-frame)
17064 (special-display-function, special-display-buffer-names)
17065 (special-display-regexps, pop-up-frame-alist)
17066 (pop-up-frame-function, split-window-preferred-function)
17067 (split-height-threshold, split-width-threshold)
17068 (even-window-heights): Make obsolete.
17070 2011-06-12 Glenn Morris <rgm@gnu.org>
17072 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17073 Misc simplifications.
17075 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17077 * window.el (window-safely-shrinkable-p): Restore function which
17078 was inadvertently removed in change from 2011-06-11. Declare as
17081 * calendar/calendar.el (calendar-generate-window):
17082 Use window-iso-combined-p instead of combination of one-window-p and
17083 window-safely-shrinkable-p.
17085 2011-06-12 Glenn Morris <rgm@gnu.org>
17087 * progmodes/fortran.el (fortran-mode-syntax-table):
17088 * progmodes/f90.el (f90-mode-syntax-table):
17089 Set % to punctuation. (Bug#8820)
17090 (f90-find-tag-default): Remove, no longer needed.
17092 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17094 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17096 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17098 * image.el (image-animated-p): Return animation delay in seconds.
17099 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17100 (image-animate-timeout): Remove DELAY argument. Don't assume
17101 every subimage has the same delay; get it from image-animated-p.
17102 (image-animate): Caller changed.
17104 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17106 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17107 to ignored backtrace functions.
17109 2011-06-11 Glenn Morris <rgm@gnu.org>
17111 * calendar/appt.el (appt-disp-window-function): Doc fix.
17112 (appt-check): Handle overlapping appointments. (Bug#8337)
17114 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17116 * window.el (window-tree-1, window-tree): New functions, moving
17117 the latter to window.el.
17118 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17119 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17120 (bw-refresh-edges): Remove.
17121 (balance-windows-1, balance-windows-2): New functions.
17122 (balance-windows): Rewrite in terms of window tree functions,
17123 balance-windows-1 and balance-windows-2.
17124 (bw-adjust-window): Remove.
17125 (balance-windows-area-adjust): New function with functionality of
17126 bw-adjust-window but using resize-window.
17127 (set-window-text-height): Rewrite doc-string.
17128 Use normalize-live-window and resize-window.
17129 (enlarge-window-horizontally, shrink-window-horizontally):
17130 Rename argument to DELTA.
17131 (window-buffer-height): New function.
17132 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17133 Rewrite using new window resize routines.
17134 (kill-buffer-and-window, mouse-autoselect-window-select):
17135 Use ignore-errors instead of condition-case.
17136 (quit-window): Call delete-frame instead of delete-windows-on
17137 for the only buffer on frame.
17139 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17141 * loadup.el (top-level): Load window before files for the sake
17142 of replace-buffer-in-windows.
17144 * files.el (read-buffer-to-switch)
17145 (switch-to-buffer-other-window)
17146 (switch-to-buffer-other-frame, display-buffer-other-frame):
17149 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17150 (previous-buffer): Move to window.el.
17152 * bindings.el (unbury-buffer): Move to window.el.
17154 * window.el (delete-other-windows-vertically): Move after
17155 definition of delete-other-windows.
17156 (other-window, delete-windows-on, replace-buffer-in-windows):
17157 Move here from window.c.
17158 (record-window-buffer, unrecord-window-buffer)
17159 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17160 (switch-to-next-buffer): New functions.
17161 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17162 from simple.el. Call switch-to-next-buffer.
17163 (previous-buffer): Move here from simple.el.
17164 Call switch-to-prev-buffer.
17165 (bury-buffer): Move here from buffer.c. Switch to previous
17166 buffer when window cannot be deleted.
17167 (unbury-buffer): Move here from bindings.el.
17168 (ctl-x-map): Move binding for other-window from window.c to
17170 (read-buffer-to-switch, switch-to-buffer-other-window)
17171 (switch-to-buffer-other-frame): Move here from files.el.
17172 (normalize-buffer-to-switch-to): New functions.
17173 (switch-to-buffer): Move here from buffer.c.
17174 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17176 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17178 * window.el (window-min-height, window-min-width): Move here
17179 from window.c. Add defcustoms and rewrite doc-strings.
17180 (resize-mini-window, resize-window): New functions.
17181 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17182 Move here from window.c.
17183 (maximize-window, minimize-window): New functions.
17184 (delete-window, delete-other-windows, split-window): Move here
17186 (window-split-min-size): New function.
17187 (split-window-keep-point): Mention split-window-above-each-other
17188 instead of split-window-vertically.
17189 (split-window-above-each-other, split-window-vertically):
17190 Rename split-window-vertically to split-window-above-each-other
17191 and provide defalias for old definition.
17192 (split-window-side-by-side, split-window-horizontally):
17193 Rename split-window-horizontally to split-window-side-by-side
17194 and provide defalias for the old definition.
17195 (ctl-x-map): Move bindings for delete-window,
17196 delete-other-windows and enlarge-window here from window.c.
17197 Replace bindings for split-window-vertically and
17198 split-window-horizontally by bindings for
17199 split-window-above-each-other and split-window-side-by-side.
17201 * cus-start.el (all): Remove entries for window-min-height and
17202 window-min-width. Add entries for window-splits and
17205 2011-06-09 Glenn Morris <rgm@gnu.org>
17207 * calendar/appt.el (appt-mode-line): New function.
17208 (appt-check, appt-disp-window): Use it.
17210 * files.el (hack-one-local-variable-eval-safep):
17211 Allow minor-modes with explicit +/-1 arguments.
17213 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17215 * term/xterm.el (xterm): Add defgroup.
17216 (xterm-extra-capabilities): Add defcustom to supply known xterm
17217 capabilities, skip querying them, or query them (default).
17218 (terminal-init-xterm): Use it.
17219 (terminal-init-xterm-modify-other-keys): New function to set up
17220 modifyOtherKeys support to simplify `terminal-init-xterm'.
17222 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17224 * window.el (resize-window-reset, resize-window-reset-1)
17225 (resize-subwindows-skip-p, resize-subwindows-normal)
17226 (resize-subwindows, resize-other-windows, resize-this-window)
17227 (resize-root-window, resize-root-window-vertically)
17228 (window-deletable-p, window-or-subwindow-p)
17229 (frame-root-window-p): New functions.
17231 2011-06-09 Glenn Morris <rgm@gnu.org>
17233 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17234 (ange-ftp-get-files): Use it.
17236 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17238 * mail/sendmail.el (mail-recover-1, mail-recover):
17239 * files.el (recover-file, recover-session):
17240 Handle dired-listing-switches not being just a single short option.
17242 2011-06-09 Glenn Morris <rgm@gnu.org>
17244 * calendar/appt.el (appt-display-message, appt-disp-window):
17245 Handle lists of appointments.
17247 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17249 * window.el (one-window-p): Move down in code.
17250 Rewrite doc-string.
17251 (window-current-scroll-bars): Rewrite doc-string.
17252 Normalize live window argument.
17253 (walk-windows, get-window-with-predicate, count-windows):
17254 Rewrite doc-string. Use window-list-1.
17255 (window-in-direction-2, window-in-direction, get-mru-window):
17258 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17260 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17261 Doc fix (Bug#8713).
17263 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17265 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17267 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17269 * loadhist.el (unload-feature-special-hooks):
17270 Add `comint-output-filter-functions'.
17272 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17274 * calendar/appt.el (appt-check): Move some initializations into the let.
17276 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17278 * window.el (window-height): Defalias to window-total-height.
17279 (window-width): Defalias to window-body-width.
17281 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17283 * image-mode.el (image-toggle-animation): New command.
17284 (image-mode-map): Bind it to RET.
17285 (image-mode): Update message.
17286 (image-toggle-display-image): Avoid a spurious cache flush.
17287 (image-transform-rotation): Doc fix.
17288 (image-transform-properties): Return quickly in the normal case.
17289 (image-animate-loop): Rename from image-animate-max-time.
17291 * image.el (image-animate-max-time): Move to image-mode.el.
17292 (create-animated-image): Remove unnecessary function.
17293 (image-animate): Rename from image-animate-start. New arg.
17294 (image-animate-stop): Remove; just use image-animate-timer.
17295 (image-animate-timer): Use car-safe.
17296 (image-animate-timeout): Rename argument.
17298 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17300 * window.el (get-lru-window, get-largest-window): Move here from
17301 window.c. Rename first argument to ALL-FRAMES.
17302 Rephrase doc-strings.
17303 (get-buffer-window-list): Rewrite using window-list-1.
17304 Rephrase doc-string.
17305 (window-safe-min-height, window-safe-min-width): New constants.
17306 (window-size-ignore, window-min-size, window-min-size-1)
17307 (window-sizable, window-sizable-p, window-size-fixed-1)
17308 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17309 (window-max-delta-1, window-max-delta, window-resizable)
17310 (window-resizable-p, window-total-height, window-total-width)
17311 (window-body-width): New functions.
17312 (window-full-height-p, window-full-width-p): Rewrite using
17314 (window-body-height): Rewrite using window-body-size.
17316 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17318 * window.el (window-right, window-left, window-child)
17319 (window-child-count, window-last-child, window-any-p)
17320 (normalize-live-buffer, normalize-live-frame)
17321 (normalize-any-window, normalize-live-window)
17322 (window-iso-combination-p, window-iso-combined-p)
17323 (window-iso-combinations)
17324 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17325 (windows-with-parameter, window-with-parameter)
17326 (window-atom-root, make-window-atom, window-atom-check-1)
17327 (window-atom-check, window-side-check, window-check):
17329 (ignore-window-parameters, window-sides, window-sides-vertical)
17330 (window-sides-slots): New variables.
17331 (window-size-fixed): Move down in code. Minor doc-string fix.
17333 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17335 * comint.el (comint-dynamic-complete-as-filename)
17336 (comint-dynamic-complete-filename): Correctly call
17337 completion-in-region.
17339 2011-06-05 Deniz Dogan <deniz@dogan.se>
17341 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17344 2011-06-05 Deniz Dogan <deniz@dogan.se>
17346 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17347 (rcirc): Use it to prompt for encryption.
17349 2011-06-05 Roland Winkler <winkler@gnu.org>
17351 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17352 (bibtex-search-entries): New command bound to C-c C-a.
17353 (bibtex-display-entries): New function.
17355 2011-06-05 Roland Winkler <winkler@gnu.org>
17357 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17358 (bibtex-insert-kill): After yanking insert newline if necessary.
17359 (bibtex-initialize): Call bibtex-string-files-init only once.
17360 (bibtex-mode): Do not call easy-menu-add.
17361 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17362 (bibtex-yank): Set arg properly if nil.
17364 2011-06-05 Roland Winkler <winkler@gnu.org>
17366 * textmodes/bibtex.el (bibtex-search-entry-globally):
17368 (bibtex-search-entry): Use it.
17370 2011-06-05 Roland Winkler <winkler@gnu.org>
17372 * textmodes/bibtex.el (bibtex-entry-format): New option
17374 (bibtex-format-entry, bibtex-reformat): Honor this option.
17375 (bibtex-parse-entry): Return fields in proper order.
17377 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17379 * doc-view.el (doc-view-remove-if): Move computation of result out
17380 of `dolist' to silence misleading lexical-binding warning.
17382 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17384 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17385 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17387 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17389 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17392 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17394 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17395 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17396 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17397 (tramp-parse-putty):
17398 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17399 (tramp-completion-function-alist-ssh)
17400 (tramp-completion-function-alist-telnet)
17401 (tramp-completion-function-alist-su)
17402 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17405 * net/tramp-ftp.el:
17407 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17408 load "tramp.el" `tramp-set-completion-function'.
17410 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17412 * shell.el: Require and use pcomplete.
17413 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17414 (shell-completion-vars): Set pcomplete-default-completion-function.
17416 2011-06-04 Deniz Dogan <deniz@dogan.se>
17418 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17421 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17423 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17425 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17427 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17428 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17429 * vc/log-view.el (log-view-beginning-of-defun):
17430 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17431 (smerge-refine-forward, smerge-refine-chopup-region):
17432 Silence warning for unused `dotimes' counter variables.
17434 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17436 * net/tramp.el (tramp-with-progress-reporter): Rename from
17437 with-progress-reporter. Use `declare'.
17438 * net/tramp-smb.el:
17440 * net/tramp-gvfs.el: Update all uses.
17442 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17444 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17445 buffer isn't killed before making it current.
17447 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17449 Silence various byte-compiler warnings.
17450 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17451 `access-type' and new obsolescence format.
17452 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17454 (byte-compile-check-variable): New `access-type' argument.
17455 Only warn if the access-type is obsolete.
17456 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17457 (byte-compile-variable-set): Adjust callers.
17458 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17459 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17460 setting it as obsolete.
17461 * simple.el (minibuffer-completing-symbol):
17462 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17463 access as obsolete.
17464 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17466 * international/quail.el (quail-mouse-choose-completion): Remove unused
17467 code referring to obsolete var.
17468 (quail-choose-completion-string): Remove.
17469 * server.el (server-clients-with, server-kill-buffer-query-function)
17470 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17471 * proced.el (proced-send-signal):
17472 * emacs-lisp/lisp.el (lisp-complete-symbol):
17473 Replace completion-annotate-function with completion-extra-properties.
17475 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17477 * simple.el (goto-line): Use read-number.
17478 (overriding-map-is-bound): Remove.
17479 (saved-overriding-map): Change default.
17480 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17481 Take the map as argument.
17482 (universal-argument, negative-argument, digit-argument): Use it.
17483 (restore-overriding-map): Adjust.
17484 (do-auto-fill): Use fill-forward-paragraph.
17485 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17487 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17488 (minibuffer-inactive-mode): New major mode.
17489 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17490 the *Messages* buffer" hack.
17491 (mouse-popup-menubar): Don't burp if the event is a normal key.
17493 Miscellaneous tweaks.
17494 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17495 lexical scoping as in subr.el's dolist and dotimes.
17496 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17497 Silence compiler warning.
17498 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17499 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17500 * international/ccl.el (ccl-compile): Trivial simplification.
17501 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17502 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17503 `printflag' argument.
17504 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17505 Purecopy the whole obsolescence data.
17507 2011-06-01 Leo Liu <sdl.web@gmail.com>
17509 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17510 improve doc-string as suggested by Marco Pessotto
17511 <melmothx@gmail.com>.
17512 (rcirc-print): Fix last change.
17514 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17516 * minibuffer.el (complete-with-action): Return nil for the metadata and
17517 boundaries of non-functional tables.
17518 (completion-table-dynamic): Return nil for the metadata.
17519 (completion-table-with-terminator): Add default case, using
17520 complete-with-action.
17521 (completion--metadata): New function.
17522 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17523 to try and avoid pathological performance problems.
17524 (completion--embedded-envvar-table): Return `category' metadata.
17526 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17528 * subr.el (process-alive-p): New tiny convenience function.
17530 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17532 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17533 content but also its previous major mode.
17535 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17537 * emacs-lisp/debug.el (debug): Restore the previous content of the
17538 *Backtrace* buffer when we exit with C-M-c.
17540 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17542 * minibuffer.el: Add metadata method to completion tables.
17543 (completion-category-overrides): New defcustom.
17544 (completion-metadata, completion--field-metadata)
17545 (completion-metadata-get, completion--styles)
17546 (completion--cycle-threshold): New functions.
17547 (completion-try-completion, completion-all-completions):
17548 Add `metadata' argument to choose completion-styles.
17549 (completion--do-completion): Use metadata to choose cycling.
17550 (completion-all-sorted-completions): Use metadata for sorting.
17551 Remove :completion-cycle-penalty which is not needed any more.
17552 (completion--try-word-completion): Add `metadata' argument.
17553 (minibuffer-completion-help): Check metadata for annotation function
17555 (completion-file-name-table): Return `category' metadata.
17556 (minibuffer-completing-file-name): Make obsolete.
17557 * simple.el (minibuffer-completing-symbol): Make obsolete.
17558 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17559 completion-try-completion.
17561 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17563 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17565 2011-05-30 Leo Liu <sdl.web@gmail.com>
17567 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17568 (rcirc-print): Decode all incoming messages (bug#8744).
17569 (rcirc-decode-coding-system): Allow value nil for automatic coding
17572 2011-06-01 Glenn Morris <rgm@gnu.org>
17574 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17576 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17578 * image.el (image-animate-max-time): Allow nil and t values.
17580 (create-animated-image): Doc fix.
17581 (image-animate-start): Remove second arg; just use
17582 image-animate-max-time.
17583 (image-animate-timeout): Doc fix. Args changed.
17585 * image-mode.el (image-toggle-display-image): Ensure that the
17586 image spec passed to the animate timer is the same object as in
17587 the buffer's display property (Bug#6981).
17588 (image-transform-properties): Doc fix.
17590 * image.el (image-animate-max-time): Default to nil.
17592 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17594 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17595 entire buffer list (Bug#8184).
17597 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17599 * image.el (imagemagick-types-inhibit)
17600 (imagemagick-register-types): Doc fix.
17602 2011-05-29 Deniz Dogan <deniz@dogan.se>
17604 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17607 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17609 * select.el: Don't perform clipboard-manager saving in hooks;
17610 leave the hooks empty.
17612 2011-05-28 Leo Liu <sdl.web@gmail.com>
17614 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17615 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17616 (occur-edit-mode): New major mode (Bug#8463).
17617 (occur-after-change-function): New function.
17618 (occur-engine): Give Occur tags a read-only property.
17620 2011-05-28 Kevin Ryde <user42@zip.com.au>
17622 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17624 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17626 * bindings.el (help-echo): Make the initial non-indicator dash
17627 empty on graphical terminals (Bug#7295).
17629 * files.el (auto-mode-alist): Move config rule after the
17630 in-stripping one (Bug#8547).
17632 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17634 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17635 setting (Bug#8740).
17637 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17639 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17640 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17643 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17645 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17647 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17649 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17650 (hs-hide-block-at-point, hs-find-block-beginning)
17651 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17654 2011-05-28 Glenn Morris <rgm@gnu.org>
17656 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17658 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17660 * help-fns.el (describe-function-1): If the function is a derived
17661 major mode, print the parent mode.
17663 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17664 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17666 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17668 * minibuffer.el (completion--capf-wrapper): Check applicability before
17669 returning non-nil for non-exclusive completion data.
17670 * progmodes/etags.el (tags-completion-at-point-function):
17671 * info-look.el (info-lookup-completions-at-point): Mark as
17673 (info-complete): Adjust accordingly.
17675 * info-look.el: Convert to lexical-binding and completion-at-point.
17676 (info-lookup-completions-at-point): New function.
17677 (info-complete): Use it and completion-in-region.
17679 2011-05-28 Drew Adams <drew.adams@oracle.com>
17681 * isearch.el: Let M-e start with point at the first mismatched char.
17682 (isearch-fail-pos): New function.
17683 (isearch-edit-string): Use it.
17685 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17687 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17689 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17691 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17692 traversal functions for avl-trees.
17693 (avl-tree--stack): New struct.
17694 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17695 (avl-tree-enter): Add optional `updatefun' arg.
17696 (avl-tree--do-enter): Add optional `updatefun' arg.
17697 Change return value.
17698 (avl-tree-delete): Add optional `test' and `nilflag' args.
17699 (avl-tree--do-delete): Add `test' and `nilflag' args.
17700 Change return value.
17701 (avl-tree-member): Add optional `nilflag'
17702 (avl-tree-member-p): New function.
17703 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17704 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17705 (avl-tree-stack-empty-p): New functions.
17707 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17708 avl-tree--del-balance1 and make it work both ways.
17709 (avl-tree--del-balance2): Remove.
17710 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17711 make it work both ways.
17712 (avl-tree--enter-balance2): Remove.
17713 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17715 (avl-tree--mapc, avl-tree-map): Add direction argument.
17717 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17719 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17721 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17723 * select.el: Support clipboard managers with built-in function
17724 x-clipboard-manager-save, via delete-frame-functions and
17726 (xselect-convert-to-targets): Add MULTIPLE target to list.
17727 (xselect-convert-to-save-targets): New function.
17729 2011-05-27 Kenichi Handa <handa@m17n.org>
17731 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17732 let-binding rfc2047-encode-encoded-words to nil.
17734 2011-05-27 Glenn Morris <rgm@gnu.org>
17736 * mail/emacsbug.el: Don't require url-util.
17738 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17740 * files.el (set-auto-mode):
17741 Also respect mode: entries at the end of the file. (Bug#8586)
17743 2011-05-26 Glenn Morris <rgm@gnu.org>
17745 * files.el (hack-local-variables-prop-line, hack-local-variables):
17746 Downcase mode names, as seems to be traditional.
17747 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17749 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17750 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17752 2011-05-25 Julien Danjou <julien@danjou.info>
17754 * textmodes/rst.el (rst-define-level-faces): Do not define face
17755 symbol if it is already defined.
17757 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17759 * play/5x5.el (5x5-new-game, 5x5-randomize):
17760 Reset 5x5-solver-output to nil when a new grid is cast.
17761 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17762 these debugging traces, as defmacro breaks the compiled code.
17764 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17766 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17768 2011-05-24 Leo Liu <sdl.web@gmail.com>
17770 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17771 (vc-bzr-sha1): Adapt.
17773 * sha1.el: Remove. Function `sha1' is now builtin.
17775 * bindings.el: Provide sha1 feature.
17777 2011-05-24 Kenichi Handa <handa@m17n.org>
17779 * mail/sendmail.el: Require `rfc2047'.
17780 (mail-insert-from-field): Do not perform RFC2047 encoding.
17781 (mail-encode-header): New function.
17782 (sendmail-send-it): Set buffer-file-coding-system of the work
17783 buffer to the return value of select-message-coding-system.
17784 Call mail-encode-header.
17786 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17788 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17790 * mail/supercite.el (sc-default-cite-frame):
17791 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17793 2011-05-24 Glenn Morris <rgm@gnu.org>
17795 * progmodes/python.el (brm-menu): Declare.
17797 * emulation/viper.el (viper-set-hooks): Declare.
17799 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17800 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17801 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17802 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17803 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17804 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17806 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17808 Add an :exit-function for completion-at-point.
17810 * minibuffer.el (completion--done): New fun.
17811 (completion--do-completion): Use it. New arg `expect-exact'.
17812 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17813 since completion--do-completion does it for us now.
17814 (minibuffer-force-complete): Use completion--done and
17815 completion--replace. Handle sole-completion case with more care.
17816 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17817 (completion-extra-properties): New var.
17818 (completion-annotate-function): Make obsolete.
17819 (minibuffer-completion-help): Adjust accordingly.
17820 Use completion-list-insert-choice-function.
17821 (completion-at-point, completion-help-at-point):
17822 Bind completion-extra-properties.
17823 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17824 * simple.el (completion-list-insert-choice-function): New var.
17825 (completion-setup-function): Preserve it.
17826 (choose-completion): Pay attention to it, shuffle the code a bit.
17827 (choose-completion-string): New arg `insert-function'.
17829 * textmodes/bibtex.el: Convert to lexical binding.
17830 (bibtex-mode-map): Use completion-at-point.
17831 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17832 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17833 (bibtex-complete): Define as obsolete alias.
17834 (bibtex-complete-internal): Remove.
17835 (bibtex-format-entry): Remove unused sub-group in regexp.
17836 * shell.el (shell--command-completion-data)
17837 (shell-environment-variable-completion):
17838 * pcomplete.el (pcomplete-completions-at-point):
17839 * comint.el (comint--complete-file-name-data): Use :exit-function
17840 instead of completion-table-with-terminator so it also works for
17843 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17845 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17847 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17850 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17852 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17854 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17855 customization variable and implement: If non-nil, auto-fill will
17856 be inhibited while on topic's header line.
17858 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17860 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17861 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17862 always have a solution in grid size = 5 cases.
17863 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17864 (5x5-solver-output, 5x5-log-buffer): New vars.
17865 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17866 Make these variables buffer local to achieve 5x5 multi-session-ness.
17867 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17868 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17869 (5x5-solve-suggest): New funs.
17870 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17871 randomize a grid so that we ensure that there is always a solution.
17872 (5x5-make-random-grid): Allow other movement than flipping.
17874 2011-05-23 Kevin Ryde <user42@zip.com.au>
17876 * emacs-lisp/advice.el (ad-read-advised-function):
17877 Use `function-called-at-point' as the default, if it has
17878 advice and passes PREDICATE.
17880 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17882 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17883 byte-compile-lambda if it's actually a lambda.
17885 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17886 Fix function quoting. Use backquote better.
17888 2011-05-22 Yuanle Song <sylecn@gmail.com>
17890 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17891 matching (Bug#8516).
17893 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17895 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17896 different face (Bug#8178).
17898 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17900 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17901 defface (Bug#8144).
17903 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17905 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17906 funcall as well (bug#8712). Warn when performing those conversions.
17907 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17909 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17911 2011-05-22 Glenn Morris <rgm@gnu.org>
17913 * files.el (hack-local-variables-prop-line): Small simplifications.
17914 (hack-local-variables, hack-local-variables-prop-line):
17915 If MODE-ONLY, return the mode, rather than just `t'.
17917 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17919 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17921 2011-05-21 Glenn Morris <rgm@gnu.org>
17923 * files.el (hack-local-variables-prop-line, hack-local-variables):
17924 If only interested in the mode, don't bother doing the other stuff.
17926 * image-mode.el (image-after-revert-hook):
17927 Redraw all frames on which the image is visible. (Bug#8567)
17929 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17931 * wid-edit.el (widget-checklist-match-inline):
17932 Fix 2011-04-19 change. (Bug#8649)
17934 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17936 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17937 Also allow singlespace after single-letter capitals followed by a dot.
17939 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17940 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17942 2011-05-20 Nix <nix@esperi.org.uk>
17944 * files.el (basic-save-buffer-2):
17945 Fix handling of break-hardlink-on-save with non-existent files.
17947 2011-05-19 Deniz Dogan <deniz@dogan.se>
17949 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17950 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17952 2011-05-19 Glenn Morris <rgm@gnu.org>
17954 * progmodes/f90.el (f90-type-def-re):
17955 Handle "type, bind(c)". (Bug#8691)
17957 * emacs-lisp/autoload.el (batch-update-autoloads):
17958 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17960 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17962 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17963 property for the correct connection in case of multihops.
17965 2011-05-18 Glenn Morris <rgm@gnu.org>
17967 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17968 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17970 Rationalize calendar handling of day and month abbrev-arrays.
17971 * calendar/calendar.el (calendar-customized-p): New function.
17972 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17973 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17975 (calendar-abbrev-length, calendar-day-abbrev-array)
17976 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17977 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17978 Elements may no longer be nil.
17979 (calendar-day-name, calendar-month-name):
17980 Update for changed nature of abbrev arrays.
17981 * calendar/diary-lib.el (diary-name-pattern):
17982 Update for changed nature of abbrev arrays.
17983 (diary-mark-entries-1): Update calendar-make-alist calls.
17984 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17985 * calendar/cal-html.el (cal-html-day-abbrev-array):
17986 Simply inherit from calendar-day-abbrev-array.
17988 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17990 * progmodes/grep.el (grep-mode): Disable default
17991 compilation-directory-matcher setting (bug#8684).
17993 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17995 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17996 instead of "head" and "tail". There were problems with SunOS 5.9,
17997 and it performs better.
17999 2011-05-17 Glenn Morris <rgm@gnu.org>
18001 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18003 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18004 Replace obsolete function.
18006 * shell.el (pcomplete-parse-arguments-function): Declare.
18008 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18009 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18010 (appt-check): Doc fixes.
18011 (appt-disp-window-function, appt-delete-window-function):
18012 Remove needless special case in custom :type.
18013 (appt-display-count): Default to 0, not nil.
18014 (appt-check): Reset appt-display-count to 0, not nil.
18016 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18018 * progmodes/python.el (python-font-lock-keywords):
18019 Add the Python 3.X keyword "nonlocal" (bug#8639).
18021 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18023 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18025 2011-05-16 Kevin Ryde <user42@zip.com.au>
18027 * info-look.el (makefile-automake-mode): New setups, looking in
18028 automake manual, then makefile-mode.
18029 (makefile-mode): Remove automake manual, have it just in
18030 makefile-automake-mode since there's various things different or
18031 not relevant to plain make.
18032 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18033 believe a hypothetical automake-mode would go to makefile-mode,
18034 not the other way around.
18036 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18038 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18039 hunk-end tags (Bug#8672).
18041 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18042 vc-annotate-show-diff-revision-at-line (Bug#8671).
18044 2011-05-14 Glenn Morris <rgm@gnu.org>
18046 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18047 in the middle of an existing one with multiple authors. (Bug#8645)
18048 (change-log-font-lock-keywords): Also handle multiple author lines
18049 with leading tabs. (Bug#8644)
18051 * calendar/appt.el (appt-check): Rename some local variables.
18052 Some simplification/reordering.
18054 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18055 (feedmail-sendmail-f-doesnt-sell-me-out)
18056 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18057 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18058 (feedmail-queue-runner-message-sender): Set :version.
18059 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18060 (bbdb-dwim-net-address, vm-mail): Declare.
18061 (feedmail-binmail-gnulinuxish-template):
18062 Rename from feedmail-binmail-linuxish-template.
18063 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18064 Use insert-buffer-substring.
18066 2011-05-14 Bill Carpenter <bill@carpenter.org>
18068 * mail/feedmail.el (feedmail-patch-level): Increase.
18069 (feedmail-debug): New custom group.
18070 (feedmail-confirm-outgoing-timeout)
18071 (feedmail-sendmail-f-doesnt-sell-me-out)
18072 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18073 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18074 (feedmail-sender-line, feedmail-from-line)
18075 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18076 (feedmail-spray-this-address)
18077 (feedmail-spray-address-fiddle-plex-list)
18078 (feedmail-queue-use-send-time-for-date)
18079 (feedmail-queue-use-send-time-for-message-id)
18080 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18081 (feedmail-buffer-eating-function):
18083 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18084 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18085 (feedmail-message-action-scroll-down): New functions.
18086 (feedmail-queue-directory, feedmail-queue-draft-directory):
18087 Use expand-file-name.
18088 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18089 Remove C-v help entry.
18090 (feedmail-queue-buffer-file-name): New variable.
18091 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18092 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18093 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18094 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18095 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18096 (feedmail-message-action-toggle-spray)
18097 (feedmail-run-the-queue-no-prompts)
18098 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18099 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18100 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18101 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18102 (feedmail-envelope-deducer, feedmail-fiddle-from)
18103 (feedmail-fiddle-sender, feedmail-default-date-generator)
18104 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18105 (feedmail-fiddle-spray-address)
18106 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18107 (feedmail-fiddle-list-of-fiddle-plexes)
18108 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18109 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18110 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18111 Change default. Doc fix.
18112 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18113 (feedmail-binmail-linuxish-template): New constant.
18114 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18115 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18116 (feedmail-send-it): Add debug call.
18117 Use feedmail-queue-buffer-file-name, and
18118 feedmail-send-it-immediately-wrapper.
18119 (feedmail-message-action-send): Add debug call.
18120 Use feedmail-send-it-immediately-wrapper.
18121 (feedmail-queue-express-to-queue): Add debug call.
18122 Run feedmail-queue-express-hook.
18123 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18124 (feedmail-message-action-help-blat):
18125 Rename from feedmail-queue-send-edit-prompt-help-first.
18126 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18127 Check line-endings. Handle errors better.
18128 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18129 Doc fix. Add debug call.
18130 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18131 Use feedmail-queue-send-edit-prompt-inner.
18132 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18133 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18134 from feedmail-queue-send-edit-prompt.
18135 (feedmail-queue-send-edit-prompt-help)
18136 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18137 (feedmail-tidy-up-slug): Add debug call.
18138 Respect feedmail-queue-slug-suspect-regexp.
18139 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18140 (feedmail-dump-message-to-queue): Add debug call.
18141 Expand queue-directory.
18142 (feedmail-dump-message-to-queue): Change message slightly.
18143 Use feedmail-say-chatter.
18144 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18145 (feedmail-send-it-immediately-wrapper): New function.
18146 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18147 Insert empty string rather than newline. Handle full-frame case.
18148 Use catch/throw. Use feedmail-say-chatter.
18149 (feedmail-fiddle-from): Try mail-host-address.
18150 (feedmail-default-message-id-generator): Doc fix.
18151 Bind system-time-locale. Handle missing end.
18152 (feedmail-fiddle-x-mailer): Add debug call.
18153 Handle feedmail-x-mailer-line being nil.
18154 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18155 Add debug call. Use buffer-substring-no-properties.
18156 (feedmail-say-debug, feedmail-say-chatter): New functions.
18157 (feedmail-find-eoh): Give an explicit error.
18159 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18161 * net/newst-treeview.el (newsticker-treeview-face): Change default
18162 family from helvetica to sans.
18163 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18164 etc/images/newsticker.
18166 * net/newst-reader.el (newsticker-feed-face): Change default
18167 family from helvetica to sans.
18169 * net/newst-plainview.el (newsticker-new-item-face)
18170 (newsticker-old-item-face, newsticker-immortal-item-face)
18171 (newsticker-obsolete-item-face, newsticker-date-face)
18172 (newsticker-statistics-face): Change default family from
18174 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18175 etc/images/newsticker.
18177 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18178 (newsticker--process-auto-mark-filter-match): Tell user about
18181 2011-05-13 Didier Verna <didier@xemacs.org>
18183 Common Lisp indentation improvements on defmethod and lambda-lists.
18184 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18186 (lisp-lambda-list-keyword-parameter-indentation)
18187 (lisp-lambda-list-keyword-parameter-alignment)
18188 (lisp-lambda-list-keyword-alignment): New customizable user options.
18189 (lisp-indent-defun-method): Improve docstring.
18190 (extended-loop-p): Fix comment.
18191 (lisp-indent-lambda-list-keywords-regexp): New variable.
18192 (lisp-indent-lambda-list): New function.
18193 (lisp-indent-259): Use it.
18194 (lisp-indent-defmethod): Support for more than one
18195 method qualifier and properly indent methods lambda-lists.
18196 (defgeneric): Provide a missing common-lisp-indent-function property.
18198 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18200 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18201 bounds for the empty string (bug#8667).
18203 2011-05-13 Glenn Morris <rgm@gnu.org>
18205 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18207 * mail/sendmail.el (sendmail-program): Try executable-find first.
18208 (sendmail-send-it): `sendmail-program' cannot be unbound.
18210 * calendar/appt.el (appt-make-list): Simplify.
18211 (appt-time-msg-list): Doc fix.
18212 (appt-check): Change mode-line message at the time of the appointment.
18214 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18216 * progmodes/ld-script.el (ld-script-keywords)
18217 (ld-script-builtins): Update keywords list.
18219 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18221 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18223 * shell.el (shell-completion-vars): New function.
18225 * simple.el (read-shell-command): Use it.
18226 (blink-matching-open): No need for " [...]" in minibuffer-message.
18228 2011-05-12 Glenn Morris <rgm@gnu.org>
18230 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18231 (appt-check): Simplify.
18233 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18235 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18236 literal "/dev/null".
18238 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18240 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18243 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18245 * progmodes/which-func.el (which-function):
18246 Use add-log-current-defun instead of add-log-current-defun-function,
18247 which might not be defined (Bug#8260).
18249 2011-05-12 Glenn Morris <rgm@gnu.org>
18251 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18252 Let byte-compile-initial-macro-environment always take precedence.
18254 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18256 * net/rcirc.el: Add support for SSL/TLS connections.
18257 (rcirc-server-alist): New field `encryption'.
18258 (rcirc): Check `encryption' settings.
18259 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18260 Merge make-local-variable into `set'.
18261 (rcirc--connection-open-p): New function.
18262 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18263 the process is not a network process (e.g. running gnutls-cli).
18264 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18265 Make rcirc-(en|de)code-coding-system local here.
18266 (rcirc-mode): Merge make-local-variable into `set'.
18267 (rcirc-parent-buffer): Make permanent buffer-local.
18268 (rcirc-multiline-minor-mode): Don't do it here.
18269 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18270 there's no server buffer.
18272 2011-05-11 Glenn Morris <rgm@gnu.org>
18274 * newcomment.el (comment-kill): Prefix "unused" local.
18276 * term/w32console.el (get-screen-color): Declare.
18278 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18279 Handle symbol elements of byte-compile-initial-macro-environment.
18281 2011-05-10 Leo Liu <sdl.web@gmail.com>
18283 * bookmark.el (bookmark-bmenu-mode-map):
18284 Bind bookmark-bmenu-search to `/'.
18286 * mail/footnote.el: Convert to utf-8 encoding.
18287 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18288 (Footnote-unicode): New function.
18289 (footnote-style-alist): Add unicode style to the list.
18290 (footnote-style): Doc fix.
18292 2011-05-10 Jim Meyering <meyering@redhat.com>
18294 Fix doubled-word typos.
18295 * international/quail.el (quail-insert-kbd-layout): and and -> and
18296 * kermit.el: and and -> and
18297 * net/ldap.el (ldap-search-internal): to to -> to
18298 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18299 * progmodes/js.el (js-mode): and and -> and
18300 * textmodes/artist.el (artist-move-to-xy): at at -> at
18301 (artist-draw-region-trim-line-endings): if if -> if
18302 And Safetyc -> Safety.
18303 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18305 2011-05-10 Glenn Morris <rgm@gnu.org>
18306 Stefan Monnier <monnier@iro.umontreal.ca>
18308 * files.el (hack-one-local-variable-eval-safep):
18309 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18311 2011-05-10 Glenn Morris <rgm@gnu.org>
18313 * calendar/diary-lib.el (diary-list-entries-hook)
18314 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18315 (diary-nongregorian-marking-hook, diary-list-entries)
18316 (diary-include-other-diary-files, diary-mark-entries)
18317 (diary-mark-included-diary-files): Doc fixes.
18319 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18321 * misc.el: Require tabulated-list.el during compilation.
18323 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18325 * progmodes/compile.el (compilation-start):
18326 Run compilation-filter-hook for the async case too.
18327 (compilation-filter-hook): Doc fix.
18329 2011-05-09 Deniz Dogan <deniz@dogan.se>
18331 * wdired.el: Remove outdated installation comment. Fix usage
18334 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18336 * misc.el: Implement new command `list-dynamic-libraries'.
18337 (list-dynamic-libraries--loaded-only-p): New variable.
18338 (list-dynamic-libraries--refresh): New function.
18339 (list-dynamic-libraries): New command.
18341 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18343 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18344 Fix the ant regexp to handle end-line and end-column info from jikes.
18345 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18346 higher priority to avoid clobbering by gnu.
18348 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18350 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18351 if the face has existing theme settings (Bug#8454).
18353 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18355 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18356 Only match variables declared via `my' or `our' (Bug#8261).
18358 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18359 special file names `.' and `..' (Bug#8259).
18361 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18363 * progmodes/grep.el (grep-mode-font-lock-keywords):
18364 Remove buffer-changing entries.
18365 (grep-filter): New function.
18366 (grep-mode): Add it to compilation-filter-hook.
18368 * progmodes/compile.el (compilation-filter-hook)
18369 (compilation-filter-start): New defvars.
18370 (compilation-filter): Call compilation-filter-hook prior to
18371 updating the process mark.
18373 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18375 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18377 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18379 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18380 mailclient-send-it even if window-system is nil. (Bug#8595)
18382 * term/w32console.el (terminal-init-w32console):
18383 Call get-screen-color and use its output to set the frame
18384 background-mode. (Bug#8597)
18386 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18388 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18389 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18391 (defgeneric, eieio--defmethod): Use them.
18392 (eieio-defgeneric): Remove.
18393 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18395 2011-05-07 Glenn Morris <rgm@gnu.org>
18397 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18398 Use let rather than let*.
18399 (timeclock-find-discrep): Remove unused local.
18401 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18403 * calendar/appt.el (appt-time-msg-list): Doc fix.
18405 2011-05-06 Noah Friedman <friedman@splode.com>
18407 * apropos.el (apropos-print-doc): Only use
18408 emacs-lisp-docstring-fill-column when it is bound to an integer,
18409 per that variable's documentation.
18411 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18413 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18414 and warnings are not silently discarded (e.g. use -d instead of -P).
18416 2011-05-06 Glenn Morris <rgm@gnu.org>
18418 * calendar/appt.el (appt-message-warning-time): Doc fix.
18419 (appt-warning-time-regexp): New option.
18420 (appt-make-list): Respect appt-message-warning-time.
18422 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18424 (diary-add-to-list): Strip comments from the displayed string.
18425 (diary-mode): Set comment-start and comment-end.
18427 * vc/diff-mode.el (smerge-refine-subst): Declare.
18428 (diff-refine-hunk): Don't require smerge-mode when compiling.
18430 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18432 * simple.el (list-processes): Return nil as the docstring says.
18434 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18436 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18438 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18439 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18440 determining of binary transfer. (Bug#7383)
18442 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18444 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18445 Fix port computation bug. (Bug#8618)
18447 2011-05-05 Glenn Morris <rgm@gnu.org>
18449 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18451 * simple.el (shell-dynamic-complete-functions)
18452 (comint-dynamic-complete-functions): Declare.
18454 * net/network-stream.el (gnutls-negotiate):
18455 * simple.el (tabulated-list-print): Fix declarations.
18457 * progmodes/gud.el (syntax-symbol, syntax-point):
18458 Remove unnecessary and incorrect declarations.
18460 * emacs-lisp/check-declare.el (check-declare-scan):
18461 Handle byte-compile-initial-macro-environment in bytecomp.el.
18463 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18465 Fix earlier half-done eieio-defmethod change (bug#8338).
18466 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18467 Streamline and change calling convention.
18468 (defmethod): Adjust accordingly and simplify.
18469 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18470 new eieio--defmethod.
18471 (slot-boundp): Minor CSE simplification.
18473 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18475 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18476 (glasses-make-readable): Use glasses-separate-capital-groups.
18478 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18480 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18481 (warning-series): Doc fix.
18482 (display-warning): Don't try to create the buffer if we just found it.
18484 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18486 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18487 (autoload-find-generated-file): New function.
18488 (generate-file-autoloads): Bind generated-autoload-file to
18490 (update-file-autoloads, update-directory-autoloads):
18491 Use autoload-find-generated-file. If called interactively, prompt for
18492 output file (Bug#7989).
18493 (batch-update-autoloads): Doc fix.
18495 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18497 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18499 2011-05-04 Glenn Morris <rgm@gnu.org>
18501 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18502 function, so it follows changes in calendar-date-style.
18503 (diary-fancy-date-matcher): New function.
18504 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18505 (diary-fancy-font-lock-fontify-region-function):
18506 Use diary-fancy-date-pattern as a function.
18508 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18509 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18511 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18513 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18514 instead of positional arguments. Allow :keylist and :crlfiles
18516 (open-gnutls-stream): Call it.
18518 * net/network-stream.el (network-stream-open-starttls): Adjust to
18519 call `gnutls-negotiate' with :process and :hostname arguments.
18521 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18523 * minibuffer.el (completion--message): New function.
18524 (completion--do-completion, minibuffer-complete)
18525 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18526 (completion--do-completion): Don't ignore completion-auto-help when in
18529 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18530 internal encoding (e.g. tibetan zero is not whitespace).
18531 (global-whitespace-mode): Prefer save-current-buffer.
18532 (whitespace-trailing-regexp): Remove useless save-match-data.
18533 (whitespace-empty-at-bob-regexp): Minor simplification.
18535 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18537 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18539 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18541 * textmodes/ispell.el (ispell-add-per-file-word-list):
18542 Use `concat' to create string for insertion.
18544 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18546 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18547 Avoid open-line which runs post-self-insert-hook.
18548 (bibtex-fill-entry): Remove unused `end' var.
18550 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18552 * textmodes/ispell.el (ispell-add-per-file-word-list):
18553 Protect against `nil' value of `comment-start' (Bug#8579).
18555 2011-05-03 Leo Liu <sdl.web@gmail.com>
18557 * isearch.el (isearch-yank-pop): New command.
18558 (isearch-mode-map): Bind it to `M-y'.
18559 (isearch-forward): Mention it.
18561 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18563 * simple.el (minibuffer-complete-shell-command): Remove.
18564 (minibuffer-local-shell-command-map): Use completion-at-point.
18565 (read-shell-command): Setup completion vars here instead.
18566 (read-expression-map): Bind TAB to symbol completion.
18568 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18569 error directly rather via storing it into `results'.
18571 2011-05-02 Leo Liu <sdl.web@gmail.com>
18573 * vc/diff.el: Fix description.
18575 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18577 * server.el (server-eval-at): New function.
18579 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18581 * net/network-stream.el (open-network-stream): Take a :nowait
18582 parameter and pass it on to `make-network-process'.
18583 (network-stream-open-plain): Ditto.
18585 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18587 * faces.el (face-spec-set-match-display): Don't match toolkit
18588 options on terminal frames.
18590 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18592 * progmodes/pascal.el: Use lexical binding.
18593 (pascal-mode-map): Remove author preferences.
18595 * pcomplete.el (pcomplete-std-complete): Don't abuse
18596 completion-at-point.
18598 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18600 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18601 removing code that has been dead since 1991 or so.
18603 * startup.el (command-line): When warning about "_emacs", use a
18604 delayed warning to allow the user to filter it out.
18606 2011-04-28 Deniz Dogan <deniz@dogan.se>
18608 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18609 user has not joined.
18611 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18613 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18614 aren't any completions at point.
18616 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18618 * subr.el (display-delayed-warnings): New function.
18619 (delayed-warnings-hook): New variable.
18621 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18623 * minibuffer.el (completion-at-point, completion-help-at-point):
18624 Don't presume that a given completion-at-point-function will always
18625 use the same calling convention.
18627 * pcomplete.el (pcomplete-completions-at-point):
18628 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18629 pcomplete-seen is non-nil.
18630 (pcomplete-comint-setup): Also recognize the new comint/shell
18631 completion functions.
18632 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18633 pcomplete-seen is non-nil.
18635 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18637 * calendar/icalendar.el (diary-lib): Add require statement.
18638 (icalendar--create-uid): Read out a uid from a text-property on
18639 the first character in the entry. This allows for code to add its
18640 own uid to the entry.
18641 (icalendar--convert-float-to-ical): Add export of
18642 `diary-float'-entries save for those with the optional DAY
18645 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18647 * subr.el (shell-quote-argument): Use alternate escaping strategy
18648 when we spot a variable reference in a string.
18650 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18652 * cus-start.el (all): Define customization for debug-on-event.
18654 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18656 * subr.el (shell-quote-argument): Escape correctly under Windows.
18658 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18660 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18662 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18664 * net/tramp.el (tramp-process-actions): Add POS argument.
18665 Delete region between POS and (pos).
18667 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18668 Use `nil' position in `tramp-process-actions' call.
18669 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18671 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18672 position in `tramp-process-actions' call.
18674 * net/trampver.el: Update release number.
18676 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18678 * custom.el (defcustom): Obey lexical-binding.
18680 Fix octave-inf completion problems reported by Alexander Klimov.
18681 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18682 Inherit from octave-mode-syntax-table.
18683 (inferior-octave-mode): Set info-lookup-mode.
18684 (inferior-octave-completion-at-point): New function.
18685 (inferior-octave-complete): Use it and completion-in-region.
18686 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18687 comint-filename-completion.
18688 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18689 symbol elements which shouldn't be word elements.
18690 (octave-font-lock-keywords, octave-beginning-of-defun)
18691 (octave-function-header-regexp): Adjust regexps accordingly.
18692 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18694 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18696 * net/gnutls.el (gnutls-errorp): Declare before first use.
18698 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18700 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18701 verify-error, and verify-hostname-error parameters. Check whether
18702 default trustfile exists before going to use it. Add missing
18703 argument to gnutls-message-maybe call. Return value.
18704 Reported by Claudio Bley <claudio.bley@gmail.com>.
18705 (open-gnutls-stream): Add usage example.
18707 * net/network-stream.el (network-stream-open-starttls): Give host
18708 parameter to `gnutls-negotiate'.
18709 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18710 * subr.el (shell-quote-argument): Escape correctly under Windows.
18712 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18714 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18715 Use correct match group (bug#8438).
18717 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18719 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18720 (package-menu--generate): New arg specifying packages to show.
18721 (package-menu-refresh, package-menu-execute, list-packages):
18723 (package-show-package-list): New function, replacing deleted
18724 package--list-packages (renamed because it is non-internal).
18726 * finder.el (finder-list-matches): Use package-show-package-list
18727 instead of deleted package--list-packages.
18729 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18730 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18731 (vc-annotate-mode-map): Bind it to RET.
18733 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18735 * progmodes/etags.el (next-file): Don't use set-buffer to change
18736 buffers (Bug#8478).
18738 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18740 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18742 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18743 (apropos-accumulator): Doc fix.
18744 (apropos-function, apropos-macro, apropos-command)
18745 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18746 (apropos-plist): Add face property.
18747 (apropos-symbols-internal): Fix indentation.
18748 (apropos-print): Simplify help, and recognize apropos-multi-type.
18749 (apropos-print-doc): Use button-type-get to extract the button's
18750 face property. Fill docstring (Bug#8352).
18752 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18754 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18756 * play/mpuz.el (mpuz-silent): Doc fix.
18757 (mpuz-mode-map): Use mapc.
18758 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18759 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18760 Fix typos in docstrings.
18762 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18763 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18765 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18767 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18769 * minibuffer.el (completion--do-completion): Avoid the "Next char
18770 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18772 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18773 mouse-2 into unread-command-events, it is interpreted correctly.
18775 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18776 (image-toggle-display): Doc fix.
18778 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18780 * textmodes/page.el (what-page): Use line-number-at-pos to
18781 calculate line number (Bug#6825).
18783 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18785 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18786 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18787 Pass argument NO-DEFAULT to `find-tag-interactive'.
18789 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18791 Lexical-binding cleanup.
18793 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18794 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18795 * progmodes/ada-prj.el (ada-prj-initialize-values)
18796 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18797 (ada-prj-show-value):
18798 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18799 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18800 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18801 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18802 * progmodes/bug-reference.el (bug-reference-push-button):
18803 * progmodes/fortran.el (fortran-line-length):
18804 * progmodes/glasses.el (glasses-change):
18805 * progmodes/octave-mod.el (octave-fill-paragraph):
18806 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18807 (python-pdbtrack-grub-for-buffer, python-sentinel):
18808 * progmodes/sql.el (sql-save-connection):
18809 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18810 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18811 Mark unused parameters.
18813 * progmodes/compile.el (compilation--flush-directory-cache)
18814 (compilation--flush-parse, compile-internal): Mark unused parameters.
18815 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18816 (compilation-next-error-function): Remove unused variable `timestamp'.
18818 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18819 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18821 * progmodes/dcl-mode.el (dcl-end-of-command):
18822 Remove unused variable `start'.
18823 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18824 (dcl-option-value-basic, dcl-option-value-offset)
18825 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18826 Mark unused parameters.
18827 (dcl-save-local-variable): Remove unused variable `val'.
18830 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18831 Mark unused parameters.
18832 (delphi-ignore-changes): Move before first use.
18833 (delphi-charset-token-at): Remove unused variable `start'.
18834 (delphi-else-start): Remove unused variable `if-count'.
18835 (delphi-comment-block-start, delphi-comment-block-end):
18836 Remove unused variable `kind'.
18837 (delphi-indent-line): Remove unused variable `new-point'.
18839 * progmodes/ebrowse.el (ebrowse-files-list)
18840 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18841 Mark unused parameters. Don't quote `lambda'.
18842 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18843 Don't quote `lambda'.
18844 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18845 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18846 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18847 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18848 Use `ignore-errors'.
18849 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18850 (ebrowse-view/find-file-and-search-pattern)
18851 (ebrowse-view/find-member-declaration/definition):
18852 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18853 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18854 Rename parameter PREFIX-ARG to PREFIX.
18855 (ebrowse-tags-read-name): Remove unused variables `start' and
18857 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18860 * progmodes/etags.el (local-find-tag-hook): Declare.
18861 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18862 Mark unused parameters.
18864 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18865 (executable-interpret): Mark unused parameter.
18867 * progmodes/flymake.el (flymake-process-sentinel)
18868 (flymake-after-change-function)
18869 (flymake-create-temp-with-folder-structure)
18870 (flymake-get-include-dirs-dot): Mark unused parameters.
18871 (flymake-safe-delete-directory): Remove unused variable `err'.
18873 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18874 (speedbar-timer-fn, speedbar-line-text)
18875 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18876 (speedbar-center-buffer-smartly): Declare functions.
18877 (gdb-find-watch-expression): Remove unused variable `array'.
18878 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18879 (gdb-starting): Mark unused parameters.
18880 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18881 (gdb-table-string): Remove unused variable `res'.
18882 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18883 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18884 (gdb-display-buffer): Remove unused variable `cur-size'.
18886 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18887 allow lexical-binding compilation.
18888 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18889 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18890 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18891 Mark unused parameters.
18892 (gud-gdb-marker-filter): Remove unused variable `match'.
18893 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18894 lambda expressions and funcall them, instead of using `fset'.
18896 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18897 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18899 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18900 variable `header-beg'; use `let'.
18902 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18903 `restart', `last-sexp' and `at-do'.
18905 * progmodes/js.el (js--debug): Mark unused parameter.
18906 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18907 (js--splice-into-items): Remove unused variable `item'.
18908 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18910 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18911 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18912 (makefile-complete): Remove unused variable `try'.
18913 (makefile-fill-paragraph, makefile-match-function-end):
18914 Mark unused parameters.
18916 * progmodes/octave-inf.el (inferior-octave-complete):
18917 Remove unused variable `proc'.
18918 (inferior-octave-output-digest): Mark unused parameter.
18920 * progmodes/perl-mode.el (perl-calculate-indent):
18921 Remove unused variable `err'.
18923 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18924 (prolog-indent-line): Mark unused parameters.
18925 (prolog-indent-line): Remove unused variable `beg'.
18927 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18928 (reporter-dont-compact-list): Declare.
18930 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18931 Remove unused variable `char'.
18932 (sh-debug): Mark unused parameter.
18933 (sh-get-indent-info): Remove unused variable `start'.
18934 (sh-calculate-indent): Remove unused variable `var'.
18936 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18937 (simula-electric-keyword): Remove unused variable `null'.
18938 (simula-search-backward, simula-search-forward): Remove unused
18939 variables `begin' and `end'.
18941 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18942 Remove unused variable `pos'.
18943 (vera-electric-tab, vera-comment-uncomment-region):
18944 Mark unused parameters.
18945 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18947 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18949 * emacs-lisp/package.el (package--builtins, package-alist)
18950 (package-load-descriptor, package-built-in-p, package-activate)
18951 (define-package, package-installed-p)
18952 (package-compute-transaction, package-buffer-info)
18953 (package--push): Doc fix. Distinguish more clearly between
18954 version strings and version lists.
18956 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18958 Lexical-binding cleanup.
18960 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18961 (5x5-make-mutate-best):
18962 * play/fortune.el (fortune-in-buffer):
18963 * play/gomoku.el (gomoku-init-display):
18964 * play/solitaire.el (solitaire, solitaire-do-check):
18965 * play/tetris.el (tetris-default-update-speed-function):
18966 Mark unused parameters.
18968 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18969 (bubbles--shift): Remove unused variable `char-org'.
18970 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18971 (bubbles--show-images): Remove unused variable `char'.
18973 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18974 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18975 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18976 (decipher-analyze-buffer): Use ?\s.
18977 (decipher-make-checkpoint): Remove unused variable `mapping'.
18979 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18981 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18982 Remove unused variable `result'; use `let'.
18984 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18985 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18986 (gametree-children-shown-p, gametree-compute-reduced-score):
18987 Use `ignore-errors'.
18989 * play/handwrite.el (ps-lpr-switches): Declare.
18990 (handwrite): Remove unused variables `pmin' and `lastp'.
18992 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18994 * play/landmark.el (landmark-init-display)
18995 (landmark-update-naught-weights): Mark unused parameters.
18996 (landmark-y): Remove unused variable `noise'. Simplify.
18997 (landmark-human-plays): Remove unused variable `score'.
18999 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19000 (mpuz-try-proposal): Remove unused variable `game'.
19002 * play/zone.el (life-patterns): Declare.
19004 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19006 * vc/vc.el (ediff-vc-internal): Declare function.
19008 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19010 * shell.el: Use lexical-binding and std completion UI.
19011 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19012 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19013 comint-preoutput-filter-functions rather than on
19014 comint-output-filter-functions.
19015 (shell-command-completion, shell--command-completion-data)
19016 (shell-filename-completion, shell-environment-variable-completion)
19017 (shell-c-a-p-replace-by-expanded-directory): New functions.
19018 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19019 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19020 (shell-dynamic-complete-environment-variable): Use them.
19021 (shell-dynamic-complete-as-environment-variable)
19022 (shell-dynamic-complete-as-command): Remove.
19023 (shell-match-partial-variable): Match past point.
19024 * comint.el: Clean up use of completion-at-point-functions.
19025 (comint-completion-at-point): New function.
19026 (comint-mode): Use it completion-at-point-functions.
19027 (comint-dynamic-complete): Make it obsolete.
19028 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19029 (comint-c-a-p-replace-by-expanded-history): New function.
19030 (comint-dynamic-complete-functions)
19031 (comint-replace-by-expanded-history): Use it.
19032 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19033 termination strings. Try harder to avoid second try-completion.
19034 (completion-in-region-mode-map): Disable bindings that don't work yet.
19036 * comint.el: Use lexical-binding. Require CL.
19037 (comint-dynamic-complete-functions): Use comint-filename-completion.
19038 (comint-completion-addsuffix): Tweak custom type.
19039 (comint-filename-completion, comint--common-suffix)
19040 (comint--common-quoted-suffix, comint--table-subvert)
19041 (comint--complete-file-name-data): New functions.
19042 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19043 (comint-dynamic-list-filename-completions): Use them.
19044 (comint-dynamic-simple-complete): Make obsolete.
19046 * minibuffer.el (completion-in-region-mode):
19047 Keep completion-in-region-mode--predicate global.
19048 (completion-in-region--postch):
19049 Assume completion-in-region-mode--predicate is not null.
19051 * progmodes/flymake.el (flymake-start-syntax-check-process):
19052 Obey `dir'. Simplify.
19054 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19055 we're in VC after all.
19057 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19059 * vc/vc.el (vc-diff-build-argument-list-internal)
19060 (vc-version-ediff, vc-ediff): New commands.
19061 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19063 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19065 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19068 * obsolete/erc-hecomplete.el: Make obsolete.
19069 * obsolete/: Standardize obsolescence info in the header.
19071 2011-04-20 Glenn Morris <rgm@gnu.org>
19073 * calendar/solar.el (solar-horizontal-coordinates):
19074 Use the longitude argument rather than `calendar-longitude'.
19075 (solar-date-next-longitude): Remove unused locals.
19077 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19079 * whitespace.el: New version 13.2.1.
19081 2011-04-20 felix <EmacsWiki> (tiny change)
19083 * whitespace.el (global-whitespace-mode): Keep highlight when
19084 switching between major modes on a file.
19086 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19088 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19089 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19090 multi-line comments as well.
19092 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19094 Lexical-binding cleanup.
19096 * arc-mode.el (archive-mode-revert):
19097 * cmuscheme.el (scheme-interactively-start-process):
19098 * custom.el (custom-initialize-delay):
19099 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19100 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19101 * emacs-lock.el (emacs-lock-clear-sentinel):
19102 * ezimage.el (defezimage):
19103 * follow.el (follow-avoid-tail-recenter):
19104 * fringe.el (set-fringe-mode-1):
19105 * generic-x.el (bat-generic-mode-compile):
19106 * help-mode.el (help-info-variable, help-do-xref)
19107 (help-mode-revert-buffer):
19108 * help.el (view-emacs-todo):
19109 * iswitchb.el (iswitchb-completion-help):
19110 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19111 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19112 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19113 * locate.el (locate-update):
19114 * longlines.el (longlines-encode-region)
19115 (longlines-after-change-function):
19116 * outline.el (outline-isearch-open-invisible):
19117 * ps-def.el (declare-function, charset-dimension, char-width)
19119 * ps-mule.el (ps-mule-plot-string):
19120 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19121 (recentf-edit-list-select, recentf-edit-list-validate)
19122 (recentf-open-files-action):
19123 * rect.el (delete-whitespace-rectangle-line)
19124 (rectangle-number-line-callback):
19125 * register.el (window-configuration-to-register)
19126 (frame-configuration-to-register):
19127 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19128 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19129 (xselect-convert-to-targets, xselect-convert-to-delete)
19130 (xselect-convert-to-filename, xselect-convert-to-charpos)
19131 (xselect-convert-to-lineno, xselect-convert-to-colno)
19132 (xselect-convert-to-os, xselect-convert-to-host)
19133 (xselect-convert-to-user, xselect-convert-to-class)
19134 (xselect-convert-to-name, xselect-convert-to-integer)
19135 (xselect-convert-to-atom, xselect-convert-to-identity):
19136 * subr.el (declare, ignore, process-kill-without-query)
19137 (text-clone-maintain):
19138 * terminal.el (te-get-char, te-tic-sentinel):
19139 * tool-bar.el (tool-bar-make-keymap):
19140 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19141 * type-break.el (type-break-mode, type-break-noninteractive-query):
19142 * view.el (View-back-to-mark):
19143 * wid-browse.el (widget-browse-action, widget-browse-widget)
19144 (widget-browse-widgets, widget-browse-sexp):
19145 * widget.el (define-widget-keywords):
19146 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19147 Mark unused parameters.
19149 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19150 (align-areas): Remove unused variable `look'.
19151 (align-region): Remove unused variables `real-end' and `pos-list'.
19153 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19155 * bindings.el (mode-line-modified, mode-line-remote):
19156 Mark unused parameters.
19157 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19159 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19160 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19162 * comint.el (comint-history-isearch-pop-state)
19163 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19164 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19165 (comint-substitute-in-file-name): Doc fix.
19167 * completion.el (cmpl-statistics-block): Mark unused parameter.
19168 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19169 (save-completions-to-file, load-completions-from-file):
19170 Remove unused local variable `e'.
19172 * composite.el (compose-chars): Remove unused variable `len'.
19173 (lgstring-insert-glyph): Remove unused variable `g'.
19174 (compose-glyph-string): Remove unused variables `ascent',
19175 `descent', `lbearing' and `rbearing'.
19176 (compose-glyph-string-relative): Remove unused variables
19177 `lbearing', `rbearing' and `wadjust'.
19178 (compose-gstring-for-graphic): Remove unused variables `header',
19179 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19180 (compose-gstring-for-terminal): Remove unused variables `header'
19181 and `nchars'. Use `let', not `let*'.
19183 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19184 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19185 (Custom-buffer-done, custom-buffer-create-internal)
19186 (custom-browse-visibility-action, custom-browse-group-tag-action)
19187 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19188 (widget-magic-mouse-down-action, custom-toggle-parent)
19189 (custom-add-parent-links, custom-toggle-hide-variable)
19190 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19191 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19192 (custom-face-menu-create, custom-variable-menu-create, get)
19193 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19194 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19195 (customize-apropos): Remove unused variable `tests'.
19196 (custom-group-value-create): Remove unused variable `hidden-p'.
19197 (sort-fold-case): Declare.
19199 * cus-theme.el (custom-reset-standard-faces-list)
19200 (custom-reset-standard-variables-list): Declare.
19201 (customize-create-theme, custom-theme-revert, custom-theme-write)
19202 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19203 Mark unused parameters.
19205 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19207 * delim-col.el (delimit-columns-max): Move defvar before first use.
19209 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19210 (describe-char): Don't quote `lambda'. Mark unused parameter.
19212 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19213 (auto-insert): Declare.
19214 (desktop-restore-file-buffer): Rename desktop-* parameters;
19216 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19217 (desktop-buffer): Rename desktop-* parameters.
19219 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19220 (dframe-reposition-frame-xemacs, dframe-help-echo)
19221 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19222 Mark unused parameters.
19224 * dired-aux.el (backup-extract-version-start, overwrite-query)
19225 (overwrite-backup-query, rename-regexp-query)
19226 (rename-non-directory-query): Declare.
19227 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19228 (dired-add-entry): Remove unused variable `orig-file-name'.
19229 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19230 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19231 `dired-copy-preserve-time' directly.
19232 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19233 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19235 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19236 (dired-virtual-revert, dired-make-relative-symlink):
19237 Mark unused parameters.
19238 (manual-program): Declare.
19239 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19240 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19241 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19243 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19245 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19247 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19250 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19252 * electric.el (Electric-command-loop): Rename parameter
19253 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19255 * expand.el (expand-in-literal): Remove unused variable `here'.
19257 * facemenu.el (facemenu-add-new-color):
19258 Remove unused variable `docstring'.
19260 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19261 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19262 (face-attr-construct): Mark unused parameter. Doc fix.
19263 (read-color): Remove unused variable `hex-string'.
19265 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19266 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19267 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19268 (display-buffer-other-frame): Remove unused variable `old-window'.
19269 (kill-buffer-hook): Declare.
19270 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19271 Mark unused parameters.
19272 (after-find-file): Pass 1 to `auto-save-mode', not t.
19274 * files-x.el (auto-insert): Declare.
19275 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19277 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19278 variable `buf'. Mark unused parameter.
19279 (find-lisp-insert-directory): Mark unused parameter.
19281 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19282 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19283 (format-common-tail): Remove, unused.
19284 (format-deannotate-region): Remove unused variable `loc'.
19285 (format-annotate-region): Remove unused variable `p'.
19286 (format-annotate-single-property-change): Remove unused variables
19287 `default' and `tail'.
19289 * forms.el (read-file-filter): Declare.
19290 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19292 * frame.el (frame-creation-function-alist): Mark unused parameter.
19293 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19295 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19296 Remove unused parameters.
19297 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19298 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19300 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19301 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19302 (hfy-prepare-tag-map): Mark unused parameters.
19303 (htmlfontify-buffer): Use `called-interactively-p'.
19305 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19306 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19307 (ibuffer-do-occur): Mark unused parameters.
19308 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19309 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19311 * ibuffer.el: Don't quote `lambda'.
19312 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19313 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19314 Mark unused parameters.
19316 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19317 (ido-completing-read): Mark unused parameters.
19318 (ido-copy-current-word): Mark unused parameters;
19319 remove unused variable `name'.
19320 (ido-sort-merged-list): Remove unused parameter `dirs'.
19322 * ielm.el (ielm-input-sender): Mark unused parameter.
19323 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19324 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19325 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19326 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19327 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19329 * image-dired.el (image-dired-display-thumbs): Remove unused
19330 variables `curr-file' and `count'.
19331 (image-dired-remove-tag): Remove unused variable `start'.
19332 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19333 variable `curr-file'
19334 (image-dired-rotate-original): Remove unused variable `temp-file'.
19335 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19336 Remove unused variable `file'.
19337 (image-dired-gallery-generate): Remove unused variable `curr'.
19338 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19340 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19342 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19344 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19346 * isearch.el (minibuffer-history-symbol): Declare.
19347 (isearch-edit-string): Remove unused variable `err'.
19348 (isearch-message-prefix, isearch-message-suffix):
19349 Mark unused parameters.
19351 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19353 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19355 * makesum.el (double-column): Remove unused variable `cnt'.
19357 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19358 (ido-ignore-item-temp-list): Declare.
19360 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19361 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19362 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19363 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19366 * mouse-sel.el (mouse-extend-internal):
19367 Remove unused variable `orig-window-frame'.
19369 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19370 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19371 Move declarations before first use.
19372 (pcomplete-opt): Mark unused parameters; doc fix.
19374 * proced.el (proced-revert): Mark unused parameter.
19375 (proced-send-signal): Remove unused variable `err'.
19377 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19378 Rename parameter PREFIX-ARG to ARG.
19379 (ps-basic-plot-string, ps-basic-plot-whitespace):
19380 Mark unused parameters.
19382 * replace.el (replace-count): Define.
19383 (occur-revert-function): Mark unused parameters.
19384 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19385 (isearch-case-fold-search, isearch-string): Declare.
19386 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19387 bind `case-fold-search'. Remove unused variables `beg' and `end',
19389 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19390 COUNT and bind `replace-count'.
19391 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19394 * savehist.el (print-readably, print-string-length): Declare.
19396 * shadowfile.el (shadow-expand-cluster-in-file-name):
19397 Remove unused variable `cluster'.
19398 (shadow-copy-file): Remove unused variable `i'.
19399 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19400 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19401 (shadow-define-literal-group, shadow-define-regexp-group)
19402 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19404 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19405 (shell): Use `called-interactively-p'.
19406 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19408 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19409 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19410 (delete-backward-char): Remove unused variable `ocol'.
19411 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19412 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19413 (event-apply-hyper-modifier, event-apply-shift-modifier)
19414 (event-apply-control-modifier, event-apply-meta-modifier):
19415 Mark unused parameters.
19416 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19417 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19419 * speedbar.el (speedbar-ignored-directory-expressions)
19420 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19421 (speedbar-find-file, speedbar-dir-follow)
19422 (speedbar-directory-buttons-follow, speedbar-tag-find)
19423 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19424 (speedbar-buffers-line-directory, speedbar-buffer-click):
19425 Mark unused parameters.
19426 (speedbar-tag-file): Remove unused variable `mode'.
19427 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19429 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19431 * talk.el (talk): Remove unused variable `display'.
19433 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19434 (tar-write-region-annotate): Mark unused parameter.
19436 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19437 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19438 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19439 warning by another.
19441 * time-stamp.el (time-stamp-string-preprocess):
19442 Remove unused variable `require-padding'.
19444 * tree-widget.el (widget-glyph-enable): Declare.
19445 (tree-widget-action): Mark unused parameter.
19447 * w32-fns.el (x-get-selection): Mark unused parameter.
19448 (autoload-make-program, generated-autoload-file): Declare.
19450 * wdired.el (wdired-revert): Mark unused parameters.
19451 (wdired-xcase-word): Remove unused variable `err'.
19453 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19454 (whitespace-help-scroll): Remove unused variable `data-help'.
19456 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19457 (widget-image-insert, widget-after-change, default)
19458 (widget-default-format-handler, widget-default-notify)
19459 (widget-default-prompt-value, widget-info-link-action)
19460 (widget-url-link-action, widget-function-link-action)
19461 (widget-variable-link-action, widget-file-link-action)
19462 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19463 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19464 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19465 (widget-insert-button-action, widget-delete-button-action, visibility)
19466 (widget-documentation-link-action, widget-documentation-string-action)
19467 (widget-const-prompt-value, widget-regexp-match, symbol)
19468 (widget-coding-system-prompt-value)
19469 (widget-key-sequence-value-to-external, sexp)
19470 (widget-sexp-value-to-internal, character, vector, cons)
19471 (widget-choice-prompt-value, widget-boolean-prompt-value)
19472 (widget-color--choose-action): Mark unused parameters.
19473 (widget-item-match-inline, widget-choice-match-inline)
19474 (widget-checklist-match, widget-checklist-match-inline)
19475 (widget-group-match): Rename parameter VALUES to VALS.
19476 (widget-field-value-set): Remove unused variable `size'.
19477 (widget-color-action): Remove unused variables `value' and `start'.
19479 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19480 variable `dir'. Doc fix.
19481 (windmove-find-other-window): Don't pass it.
19483 * window.el (count-windows): Mark unused parameter.
19484 (bw-adjust-window): Remove unused variable `err'.
19486 * woman.el (woman-file-name): Remove unused variable `default'.
19487 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19488 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19489 (global-font-lock-mode): Declare.
19490 (woman-decode-region): Mark unused parameter.
19491 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19493 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19494 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19495 (x-dnd-handle-moz-url): Remove unused variable `title'.
19496 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19498 * xml.el (xml-parse-tag, xml-parse-attlist):
19499 Remove unused variable `pos'.
19501 2011-04-19 Glenn Morris <rgm@gnu.org>
19503 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19504 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19505 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19506 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19507 * calendar/cal-html.el (cal-html-insert-minical):
19508 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19509 (calendar-mark-date-pattern):
19510 Prefix "unused" locals.
19512 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19513 optional argument `style'.
19515 * calendar/appt.el (appt-make-list):
19516 * calendar/cal-china.el (calendar-chinese-date-string):
19517 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19518 (diary-hebrew-yahrzeit):
19519 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19520 * calendar/calendar.el (calendar-generate-window):
19521 * calendar/time-date.el (time-to-days):
19522 Remove unused local variables.
19524 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19526 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19527 glyphless-char-display table.
19528 (tabulated-list-glyphless-char-display): New var.
19530 2011-04-18 Sam Steingold <sds@gnu.org>
19532 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19533 to acknowledgments.
19535 2011-04-17 Glenn Morris <rgm@gnu.org>
19537 * calendar/diary-lib.el (diary-sexp-entry):
19538 * calendar/holidays.el (holiday-sexp):
19539 Set debug-on-error rather than the removed stack-trace-on-error.
19541 2011-04-16 Glenn Morris <rgm@gnu.org>
19543 * progmodes/f90.el: Use lexical-binding.
19544 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19546 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19548 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19549 (mail-mode): Setup mailalias completion here instead.
19550 * mail/mailalias.el: Use lexical-binding.
19551 (pattern, mailalias-done): Declare dynamic.
19552 (mail-completion-at-point-function): New function, from mail-complete.
19553 (mail-complete): Use it.
19554 (mail-completion-expand): New function.
19555 (mail-get-names): Use it.
19556 (mail-directory, mail-directory-process, mail-directory-stream):
19557 Don't use `pattern' for lexically bound arg.
19559 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19561 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19562 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19563 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19565 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19566 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19567 (byte-interactive-p): Define them again, for use when inlining
19570 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19572 * loadup.el: Use `string-to-number', not `string-to-int'.
19574 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19576 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19577 gud-gdb-complete-command.
19578 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19579 (gud-gdb-completion-at-point): New function.
19580 (gud-gdb-completions): Remove.
19582 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19584 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19585 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19586 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19587 whether `executable-find' is bound.
19589 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19591 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19593 * minibuffer.el (completion-in-region-mode-predicate)
19594 (completion-in-region-mode--predicate): New vars.
19595 (completion-in-region, completion-in-region--postch)
19596 (completion-in-region-mode): Use them.
19597 (completion--capf-wrapper): Also return the hook function.
19598 (completion-at-point, completion-help-at-point):
19599 Adjust and provide a predicate.
19601 Preserve arg names for advice of subr and lexical functions (bug#8457).
19602 * help-fns.el (help-function-arglist): Consolidate the subr and
19603 new-byte-code cases. Add argument `preserve-names' to extract names
19604 from the docstring when needed.
19605 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19606 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19607 (ad-arglist): Use help-function-arglist's new arg.
19608 (ad-definition-type): Use cond.
19610 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19612 * autorevert.el (auto-revert-handler):
19613 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19614 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19615 Don't quote lambda.
19617 * image-mode.el (image-transform-set-scale):
19618 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19620 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19622 * net/network-stream.el (network-stream-open-starttls): Only do
19623 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19624 Upgrades via gnutls-cli are too slow to be done opportunistically.
19626 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19628 * dframe.el (dframe-current-frame): Remove spurious quote.
19630 2011-04-12 Glenn Morris <rgm@gnu.org>
19632 * calendar/cal-tex.el (cal-tex-end-document):
19633 Try to automatically use latin1 input if needed.
19635 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19636 Don't try to cons a mark onto an empty element.
19638 2011-04-11 Leo Liu <sdl.web@gmail.com>
19640 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19642 (ido-kill-buffer-at-head): Support killing virtual buffers.
19644 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19646 * minibuffer.el (completion-show-inline-help): New var.
19647 (completion--do-completion, minibuffer-complete)
19648 (minibuffer-force-complete, minibuffer-complete-word):
19649 Inhibit minibuffer messages if completion-show-inline-help is nil.
19651 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19652 to avoid interference from inline help (Bug#5849).
19654 2011-04-10 Leo Liu <sdl.web@gmail.com>
19656 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19659 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19661 * image-mode.el (image-toggle-display-image): Signal an error if
19663 (image-transform-mode, image-transform-resize)
19664 (image-transform-set-rotation): Doc fix.
19665 (image-transform-set-resize): Delete.
19666 (image-transform-set-scale, image-transform-fit-to-height)
19667 (image-transform-fit-to-width): Handle image-toggle-display-image
19668 and image-transform-resize directly.
19670 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19672 * doc-view.el (doc-view-fit-width-to-window)
19673 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19674 New functions for fitting the shown image to the Emacs window size.
19675 (doc-view-mode-map): Add bindings for the new functions.
19677 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19679 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19680 Fix typo in docstring.
19682 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19684 * files.el (file-size-human-readable): Produce one digit after
19685 decimal, like "ls -lh" does.
19687 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19688 the file size representation.
19690 * simple.el (list-processes): If async subprocesses are not
19691 available, error out with a clear error message.
19693 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19695 * help.el (help-form-show): New function, to be called from C.
19696 Put help-form output in a buffer named differently than *Help*.
19698 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19700 * files.el (file-size-human-readable): New function.
19702 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19703 computing the representation inline. Don't require `cl'.
19705 2011-04-08 Glenn Morris <rgm@gnu.org>
19707 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19709 * net/browse-url.el (browse-url-firefox):
19710 Test system-type, not system-configuration.
19712 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19713 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19714 Use log-edit-empty-buffer-p. (Bug#7598)
19716 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19717 (rlogin-mode-map): Initialize in the defvar.
19718 (rlogin): Use ignore-errors.
19720 * replace.el (occur-mode-map): Some fixes for menu items.
19722 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19724 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19726 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19728 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19729 issuing unused warnings.
19731 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19734 * simple.el: Lisp reimplement of list-processes. Based on an
19735 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19736 (process-menu-mode): New major mode.
19737 (list-processes--refresh, list-processes):
19738 (process-menu-visit-buffer): New functions.
19740 * files.el (save-buffers-kill-emacs): Don't assume any return
19741 value of list-processes, which is undocumented anyway.
19743 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19745 * emacs-lisp/tabulated-list.el: New file.
19747 * emacs-lisp/package.el: Use Tabulated List mode.
19748 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19749 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19750 table format using Tabulated List mode variables.
19751 (package--push): New macro, replacing package-list-maybe-add.
19752 (package-menu--generate): Use package--push. Renamed from
19753 package--generate-package-list.
19754 (package-menu-refresh, list-packages): Use it.
19755 (package-menu--print-info): Rename from package-print-package.
19756 Return insertion data instead of inserting it directly.
19757 (package-menu-describe-package, package-menu-execute):
19758 Use tabulated-list-get-id.
19759 (package-menu-mark-delete, package-menu-mark-install)
19760 (package-menu-mark-unmark, package-menu-backup-unmark)
19761 (package-menu-mark-obsolete-for-deletion):
19762 Use tabulated-list-put-tag.
19763 (package--list-packages, package-menu-revert)
19764 (package-menu-get-package, package-menu-get-version)
19765 (package-menu-sort-by-column): Functions deleted.
19766 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19767 (package-menu--status-predicate, package-menu--version-predicate)
19768 (package-menu--name-predicate)
19769 (package-menu--description-predicate): Handle arguments in the
19770 Tabulated List format.
19771 (package-list-packages-no-fetch): Call list-packages.
19773 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19775 * files.el (after-find-file-from-revert-buffer): Remove variable.
19776 (after-find-file): Don't bind it.
19777 (revert-buffer-in-progress-p): New variable.
19778 (revert-buffer): Bind it.
19779 Pass nil for `after-find-file-from-revert-buffer'.
19781 * saveplace.el (save-place-find-file-hook): Use new variable
19782 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19784 2011-04-06 Glenn Morris <rgm@gnu.org>
19786 * Makefile.in (AUTOGEN_VCS): New variable.
19787 (autoloads): Use $AUTOGEN_VCS.
19789 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19790 * calendar/calendar.el (calendar-mode-map):
19791 Check for toolkit scroll bars. (Bug#8305)
19793 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19795 * minibuffer.el (completion-in-region--postch)
19796 (completion-in-region-mode): Remove unnecessary messages.
19798 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19800 * font-lock.el (font-lock-refresh-defaults):
19801 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19802 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19804 * info.el (Info-directory-list, Info-read-node-name-2)
19805 (Info-split-parameter-string): Doc fixes.
19806 (Info-virtual-nodes): Reflow docstring.
19807 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19808 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19809 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19810 Fix typos in docstrings.
19811 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19812 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19813 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19814 (Info-restore-desktop-buffer): Mark unused parameters.
19815 (Info-directory-find-file, Info-directory-find-node)
19816 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19817 (Info-virtual-index-find-node, Info-apropos-find-file)
19818 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19819 Mark unused parameters; fix typos in docstrings.
19820 (Info-virtual-index): Remove unused local variable `nodename'.
19822 2011-04-05 Deniz Dogan <deniz@dogan.se>
19824 * net/rcirc.el: Update my e-mail address.
19825 (rcirc-mode-map): Remove M-o binding.
19827 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19829 * startup.el (command-line): Save the cursor's theme-face
19830 directly, instead of using face-override-spec.
19832 * custom.el (load-theme): Minor optimization in assigning faces.
19834 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19836 * help-fns.el (describe-variable): Complete all variables having
19837 documentation, including keywords.
19838 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19840 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19842 Convert to lexical-binding.
19844 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19845 (bs--get-marked-string, bs--get-modified-string)
19846 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19847 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19848 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19850 * ehelp.el (electric-help-execute-extended)
19851 (electric-help-ctrl-x-prefix):
19852 * hexl.el (hexl-revert-buffer-function):
19853 * linum.el (linum-after-change, linum-after-scroll):
19854 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19856 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19858 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19865 * epg.el: Use lexical binding.
19867 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19869 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19871 * textmodes/flyspell.el (flyspell-word): Recognize default
19872 dictionary case for flyspell-mark-duplications-exceptions.
19873 Use regexp matching for languages.
19874 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19875 default dictionary (Bug#7926).
19877 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19879 * emacs-lisp/package.el (package--with-work-buffer):
19880 Recognize https URLs.
19882 * net/network-stream.el: Move from gnus/proto-stream.el.
19883 Change prefix to network-stream throughout.
19884 (open-protocol-stream): Merge into open-network-stream, leaving
19885 open-protocol-stream as an alias. Handle nil BUFFER args.
19887 * subr.el (open-network-stream): Move to net/network-stream.el.
19889 2011-04-02 Glenn Morris <rgm@gnu.org>
19891 * find-dired.el (find-exec-terminator): New option.
19892 (find-ls-option): Test for -ls support.
19893 (find-ls-subdir-switches): Test for -b in find-ls-option.
19894 (find-dired, find-grep-dired): Doc fixes.
19895 (find-dired): Use find-exec-terminator.
19897 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19898 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19899 (find-name-arg): Remove purecopy.
19901 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19902 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19903 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19904 accordingly. Don't add the null-device if not needed.
19906 * files.el (save-some-buffers): Doc fix.
19908 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19910 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19912 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19914 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19915 Use `dolist' rather than `mapcar'.
19917 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19919 Add lexical binding.
19921 * subr.el (apply-partially): Use new closures rather than CL.
19922 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19923 (dolist, dotimes): Use slightly different expansion for lexical code.
19924 (functionp): Move to C.
19925 (letrec): New macro.
19926 (with-wrapper-hook): Use it and apply-partially instead of CL.
19927 (eval-after-load): Preserve lexical-binding.
19928 (save-window-excursion, with-output-to-temp-buffer): Turn them
19931 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19933 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19935 (help-add-fundoc-usage): Don't add `Not documented'.
19936 (help-function-arglist): Handle closures, subroutines, and new
19937 byte-code-functions.
19938 (help-make-usage): Remove leading underscores.
19939 (describe-function-1): Handle closures.
19940 (describe-variable): Use special-variable-p for completion.
19942 * files.el (lexical-binding): Declare safe.
19944 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19945 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19946 (pcase): Add `let' pattern.
19947 Change memoization so it actually works.
19948 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19949 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19952 * emacs-lisp/macroexp.el: Use lexical binding.
19953 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19954 Don't convert ' to #' without checking that it's indeed quoting
19957 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19958 Use eval-sexp-add-defvars.
19959 (eval-sexp-add-defvars): New fun.
19961 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19963 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19965 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19966 than the internal `byte-compile-lambda'.
19967 (defmethod): Don't hide code under quotes.
19968 (eieio-defmethod): New `code' argument.
19970 * emacs-lisp/eieio-comp.el: Remove.
19972 * emacs-lisp/edebug.el (edebug-eval-defun)
19973 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19974 (edebug-toggle): Avoid `eval'.
19976 * emacs-lisp/disass.el (disassemble-internal): Handle new
19978 (disassemble-1): Handle new byte codes.
19980 * emacs-lisp/cl.el (pushnew): Silence warning.
19982 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19983 (cl-byte-compile-throw): Remove.
19984 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19986 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19989 * emacs-lisp/cconv.el: New file.
19991 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19992 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19993 (byte-compile-initial-macro-environment):
19994 Handle declare-function here.
19995 (byte-compile--lexical-environment): New var.
19996 (byte-stack-ref, byte-stack-set, byte-discardN)
19997 (byte-discardN-preserve-tos): New lap codes.
19998 (byte-interactive-p): Don't use any more.
19999 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20001 (byte-compile-lapcode): Use them and handle new lap codes.
20002 (byte-compile-obsolete): Remove.
20003 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20004 (byte-compile-arglist-warn): Check late def of inlinable funs.
20005 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20006 since they should have been expanded by now.
20007 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20008 (byte-compile-from-buffer): Remove unused second arg.
20009 (byte-compile-preprocess): New function.
20010 (byte-compile-toplevel-file-form): New function to distinguish
20011 file-form calls from outside from file-form calls from hunk-handlers.
20012 (byte-compile-file-form): Simplify.
20013 (byte-compile-file-form-defsubst): Remove.
20014 (byte-compile-file-form-defmumble): Simplify now that
20015 byte-compile-lambda always returns a byte-code-function.
20016 (byte-compile): Preprocess.
20017 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20018 Remove, not used any more.
20019 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20020 (byte-compile-make-args-desc): New funs.
20021 (byte-compile-lambda): Handle lexical functions. Always return
20022 a byte-code-function.
20023 (byte-compile-reserved-constants): New var, to make up room for
20024 closed-over variables.
20025 (byte-compile-constants-vector): Obey it.
20026 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20027 (byte-compile-macroexpand-declare-function): New function.
20028 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20029 byte-code-functions.
20030 (byte-compile-form): Check obsolescence here.
20031 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20032 (byte-compile-variable-ref): Remove.
20033 (byte-compile-dynamic-variable-op): New fun.
20034 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20035 (byte-compile-variable-set): New funs.
20036 (byte-compile-discard): Add 2 args.
20037 (byte-compile-stack-ref, byte-compile-stack-set)
20038 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20039 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20040 macroexpand-all instead.
20041 (byte-compile-quote-form): Remove.
20042 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20043 (byte-compile-bind, byte-compile-unbind): New funs.
20044 (byte-compile-let): Handle let* and lexical binding.
20045 (byte-compile-let*): Remove.
20046 (byte-compile-catch, byte-compile-unwind-protect)
20047 (byte-compile-track-mouse, byte-compile-condition-case):
20048 Handle a new :fun-body form, used for lexical scoping.
20049 (byte-compile-save-window-excursion)
20050 (byte-compile-with-output-to-temp-buffer): Remove.
20051 (byte-compile-defun): Simplify.
20052 (byte-compile-stack-adjustment): New fun.
20053 (byte-compile-out): Use it.
20054 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20056 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20059 * emacs-lisp/byte-opt.el: Use lexical binding.
20060 (byte-inline-lapcode): Remove (to bytecomp).
20061 (byte-compile-inline-expand): Pay attention to inlining to/from
20062 lexically bound code.
20063 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20065 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20066 any more and don't call compiler-macros.
20067 (byte-compile-splice-in-already-compiled-code): Remove.
20068 (byte-code): Don't inline any more.
20069 (disassemble-offset): Receive `bytes' as argument rather than via
20071 (byte-compile-tag-number): Declare before first use.
20072 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20073 `return' even if make-spliceable.
20074 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20075 obsolete interactive-p.
20076 (byte-optimize-lapcode): Optimize new lap-codes.
20077 Don't trip up on new form of `byte-constant' lap code.
20079 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20081 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20083 * custom.el (custom-initialize-default, custom-declare-variable):
20086 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20088 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20089 (COMPILE_FIRST): Add macroexp and cconv.
20090 * makefile.w32-in: Mirror changes in Makefile.in.
20092 * vc/cvs-status.el:
20096 * vc/smerge-mode.el:
20097 * textmodes/bibtex-style.el:
20098 * textmodes/css-mode.el:
20106 * emacs-lisp/smie.el:
20109 * abbrev.el: Use lexical binding.
20111 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20113 * info.el (info-display-manual): New function.
20115 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20117 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20119 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20121 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20122 an entry for that server in rcirc-authinfo. (Bug#8385)
20124 2011-03-31 Glenn Morris <rgm@gnu.org>
20126 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20128 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20130 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20132 * progmodes/python.el (python-default-interpreter)
20133 (python-python-command-args, python-jython-command-args)
20134 (python-which-shell, python-which-args, python-which-bufname)
20135 (python-file-queue, python-comint-output-filter-function)
20136 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20137 variables and functions.
20139 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20141 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20142 (completion-in-region-mode): New minor mode.
20143 (completion-in-region): Use it.
20144 (completion-in-region--data, completion-in-region-mode-map): New vars.
20145 (completion-in-region--postch): New function.
20146 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20148 (completion--capf-wrapper): New function.
20149 (completion-at-point): Use it to track well-behavedness of
20151 (completion-help-at-point): New command.
20153 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20155 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20156 syntax class to search for whitespace on a single line
20157 (Message-ID: <4D938140.4030905@redhat.com>).
20159 2011-03-30 Leo Liu <sdl.web@gmail.com>
20161 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20163 (edit-abbrevs-map): Bind them here.
20164 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20166 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20168 * allout.el (allout-hide-by-annotation, allout-flag-region):
20169 Reduce possibility of overlay leakage by making them volatile.
20171 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20172 hash is not shared between buffers. Mode initialization is
20173 responsible for giving it a useful starting value.
20174 (allout-item-span): Reduce possibility of overlay leakage by
20175 making them volatile.
20176 (allout-widgets-count-buttons-in-region): Add diagnostic function
20177 for tracking down button overlay leaks.
20179 2011-03-29 Leo Liu <sdl.web@gmail.com>
20181 * ido.el (ido-read-internal): Use the default history var
20182 minibuffer-history if no HISTORY is specified.
20184 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20186 * net/imap.el (imap-shell-open, imap-process-connection-type):
20187 Use imap-process-connection-type for 'shell' streams as well as
20188 Kerberos, SSL, other subprocesses.
20190 2011-03-28 Leo Liu <sdl.web@gmail.com>
20192 * abbrev.el (abbrev-table-empty-p): New function.
20193 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20194 nonempty ones. (Bug#5937)
20196 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20198 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20200 2011-03-27 Leo Liu <sdl.web@gmail.com>
20202 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20203 for foreground and background colors.
20204 (ansi-color-make-color-map): Adapt.
20206 2011-03-25 Leo Liu <sdl.web@gmail.com>
20208 * midnight.el (midnight-time-float): Remove. Note it calculates
20209 the microsecond component incorrectly and seconds-to-time does the
20211 Remove redundant (require 'timer).
20213 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20214 (ido-completions): Remove unused arguments. (Bug#8329)
20216 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20218 * minibuffer.el (completion--flush-all-sorted-completions):
20219 Remove itself from hook.
20220 (completion-at-point): Let the functions perform the completion
20221 immediately and return nil or t.
20222 * comint.el (comint-dynamic-complete-functions): Now identical to
20223 completion-at-point-functions.
20224 (comint-dynamic-list-input-ring): Remove unused var `index'.
20225 (comint--match-partial-filename, comint--unquote&expand-filename):
20226 New funs, split from comint-match-partial-filename.
20227 (comint-dynamic-complete): Use completion-at-point.
20228 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20230 2011-03-24 Drew Adams <drew.adams@oracle.com>
20232 * thingatpt.el: Support `defun'.
20234 2011-03-23 Leo Liu <sdl.web@gmail.com>
20236 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20238 * help-mode.el (help-mode-finish): Tweak regexp.
20240 2011-03-23 Glenn Morris <rgm@gnu.org>
20242 * eshell/esh-opt.el (eshell-eval-using-options):
20243 Do not bind unused local variable `eshell-option-stub'.
20245 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20247 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20249 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20250 keymap variable in `with-no-warnings' to avoid a warning when the
20251 keymap has been already `defconst'ed.
20253 2011-03-22 Leo Liu <sdl.web@gmail.com>
20255 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20256 encode all chars in abbrevs; otherwise use emacs-mule or
20257 utf-8-emacs. (Bug#8308)
20259 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20261 * simple.el (backward-delete-char-untabify):
20262 Avoid warning about using `delete-backward-char'.
20264 * image.el (image-type-file-name-regexps): Make it variable.
20265 `imagemagick-register-types' modifies it, and the user may want
20266 to add new extensions for known image types.
20267 (imagemagick-register-types): Throw error if not using ImageMagick.
20269 2011-03-22 Leo Liu <sdl.web@gmail.com>
20271 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20272 located before rcirc-prompt-end-marker.
20273 (rcirc-complete): Error if point is not after rcirc prompt.
20274 Handle the case when table is nil.
20275 (rcirc-user-authenticated): Define to fix compiler warning.
20277 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20279 * custom.el (custom--inhibit-theme-enable): Make it affect only
20280 custom-theme-set-variables and custom-theme-set-faces.
20281 (provide-theme): Ignore custom--inhibit-theme-enable.
20282 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20283 (custom-enabling-themes): Delete variable.
20284 (enable-theme): Accept only loaded themes as arguments.
20285 Ignore the special custom-enabled-themes variable.
20286 (custom-enabled-themes): Forbid themes from setting this.
20287 Eliminate use of custom-enabling-themes.
20288 (custom-push-theme): Quote "changed" custom var entry.
20290 2011-03-21 Leo Liu <sdl.web@gmail.com>
20292 * ido.el (ido-read-internal): Add ido-selected to history instead
20295 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20297 * subr.el (deferred-action-list, deferred-action-function):
20300 2011-03-21 Leo Liu <sdl.web@gmail.com>
20302 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20303 change on 2011-02-13 (bug#8309).
20305 * minibuffer.el (read-file-name-function): Change default value.
20306 (read-file-name--defaults): Rename from read-file-name-defaults.
20307 (read-file-name-default): Rename from read-file-name.
20308 (read-file-name): Call read-file-name-function.
20310 2011-03-21 Glenn Morris <rgm@gnu.org>
20312 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20315 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20317 * cus-theme.el: Add missing provide statement.
20318 (customize-create-theme): Extract theme value correctly.
20319 (custom-theme-visit-theme): Autoload.
20320 (customize-create-theme): Prompt before inserting default faces.
20322 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20324 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20325 units and musical notes.
20327 2011-03-20 Leo Liu <sdl.web@gmail.com>
20329 * ido.el (ido-read-internal): Use completing-read-default.
20330 (ido-completing-read): Fix compatibility with completing-read.
20332 2011-03-20 Christian Ohler <ohler@gnu.org>
20334 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20335 (ert-delete-all-tests): Use `called-interactively-p' rather than
20337 (ert--make-xrefs-region): Respect END.
20339 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20341 * dired-aux.el (dired-create-directory): Signal an error if the
20342 directory already exists (Bug#8246).
20344 * facemenu.el (list-colors-display): Call list-faces-display
20345 inside with-help-window.
20346 (list-colors-print): Use display property to align the final
20347 column, instead of checking window-width.
20349 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20351 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20352 windows-nt systems.
20353 (emerge-protect-metachars): Quote correctly for ms-dos and
20354 windows-nt systems.
20356 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20358 * info.el (info-initialize): Replace all uses of `:' with
20359 path-separator for compatibility with non-Unix systems.
20360 Cache quoting of path-separator. (Bug#8258)
20362 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20364 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20365 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20366 (mouse-avoidance-mode): Fix typos in docstrings.
20368 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20370 * startup.el (package-subdirectory-regexp): Move from package.el.
20371 Omit \\` and \\', and let callers add them.
20373 * emacs-lisp/package.el (package-strip-version)
20374 (package-load-all-descriptors): Add \\` and \\' to
20375 package-subdirectory-regexp before using it.
20376 (package-untar-buffer): New arg DIR; ensure that file untars only
20377 into this expected directory. Remove superfluous delete-region.
20378 (package-unpack): Caller changed.
20379 (package-tar-file-info): Use package-subdirectory-regexp.
20381 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20383 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20384 diff-mode-shared-map (bug#8284).
20385 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20387 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20389 * calendar/time-date.el (format-seconds): Use assoc instead of
20390 assoc-string, since assoc-string doesn't exist in XEmacs.
20392 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20394 * custom.el (custom-known-themes): Reflow docstring.
20395 (custom-theme-load-path): Fix typo in docstring.
20396 (load-theme): Fix typo in error message.
20397 (custom-available-themes, custom-variable-theme-value):
20398 Use `let', not `let*'.
20400 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20402 * calc/README: Mention inclusion of musical notes.
20404 * calc/calc-units.el (calc-lu-quant): Rename from
20405 `calc-logunits-quantity'.
20406 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20407 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20408 (calc-db): Rename from `calc-dblevel'.
20409 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20410 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20411 (calc-np): Rename from `calc-nplevel'.
20412 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20413 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20414 (calc-lu-plus): Rename from `calc-logunits-add'.
20415 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20416 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20417 (calc-lu-minus): Rename from `calc-logunits-sub'.
20418 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20419 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20420 (calc-lu-times): Rename from `calc-logunits-mul'.
20421 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20422 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20423 (calc-lu-divide): Rename from `calc-logunits-div'.
20424 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20425 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20427 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20428 functions being autoloaded.
20430 * calc/calc.el (calc-lu-power-reference): Rename from
20431 `calc-logunits-power-reference'.
20432 (calc-lu-field-reference): Rename from
20433 `calc-logunits-field-reference'.
20435 * calc/calc-help.el (calc-l-prefix-help):
20436 Mention musical note functions.
20438 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20440 * minibuffer.el (completion-all-sorted-completions):
20441 Use :completion-cycle-penalty text property if present.
20443 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20445 * allout.el (allout-yank-processing): Adjust for new rebulleting
20446 regime so bullet being yanked is used without prompting the user
20449 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20451 * startup.el (command-line): Warn the user that _emacs is deprecated.
20453 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20455 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20456 (delphi-verbose, delphi-comment-face, delphi-string-face)
20457 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20458 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20459 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20460 (delphi-new-comment-line, delphi-font-lock-defaults)
20461 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20462 Fix typos in docstrings.
20464 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20466 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20467 Invert the roles of character and string values for INSTEAD, so a
20468 string is used for the more common case of a defaulting prompt.
20470 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20472 * progmodes/ruby-mode.el (ruby-backward-sexp):
20473 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20474 * play/gamegrid.el (gamegrid-make-face):
20475 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20476 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20477 * notifications.el (notifications-notify):
20478 * net/xesam.el (xesam-search-engines):
20479 * net/quickurl.el (quickurl-list-insert):
20480 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20482 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20484 * startup.el (command-line): Update package subdirectory regexp.
20486 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20488 * allout.el (allout-abbreviate-flattened-numbering)
20489 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20491 * subr.el (read-char-choice): Only show the cursor after the prompt,
20492 not after the answer.
20494 2011-03-15 Kevin Ryde <user42@zip.com.au>
20496 * help-fns.el (variable-at-point): Skip leading quotes, if any
20499 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20501 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20504 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20506 * shell.el (shell): When called interactively, offer to change the
20507 shell file name on remote hosts.
20509 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20511 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20512 integration for LDAP parameters. The host, base, user or binddn,
20513 and secret tokens can be specified in a netrc file, for instance.
20514 This is optional because an `auth-source' parameter must be
20515 specified in the search attributes.
20517 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20519 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20521 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20523 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20524 into declaration. Remove redundant and harmful binding.
20526 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20528 * files.el (file-ownership-preserved-p): Pass `integer' as an
20529 explicit 2nd argument to `file-attributes'. If the file's owner
20530 is the Administrators group on Windows, and the current user is
20531 Administrator, consider that a match.
20533 * server.el (server-ensure-safe-dir): Consider server directory
20534 safe on MS-Windows if its owner is the Administrators group while
20535 the current Emacs user is Administrator. Use `=' to compare
20536 numerical UIDs, since they could be integers or floats.
20538 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20540 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20542 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20544 Sync with Tramp 2.2.1.
20546 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20548 * net/trampver.el: Update release number.
20550 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20552 * progmodes/compile.el (compilation--previous-directory): Fix up
20553 various nil/dead-marker mismatches (bug#8014).
20554 (compilation-directory-properties, compilation-error-properties):
20555 Don't call it at a position past the one we're about to change.
20557 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20558 Disable obsolescence warnings in the file that declares it.
20560 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20562 * allout-widgets.el (allout-widgets-tally):
20563 Initialize allout-widgets-tally as a hash table rather than nil to
20564 prevent mode-line redisplay warnings. Also, clarify the module
20565 description and fix a comment typo.
20567 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20569 * help-fns.el (describe-variable): Don't complete keywords.
20570 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20572 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20574 * emacs-lisp/package.el (package-version-join): Impose a standard
20575 string representation for pre/alpha/beta version lists.
20576 (package-unpack-single): Standardize the directory name by passing
20577 it through package-version-join.
20578 (package-strip-rcs-id): Accept any version string that does not
20579 signal an error in version-to-list.
20581 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20583 * simple.el (delete-trailing-whitespace): Return nil for the
20584 benefit of `write-file-functions'.
20586 2011-03-10 Glenn Morris <rgm@gnu.org>
20588 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20590 * vc/vc-git.el (vc-git-program): New option.
20591 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20592 (vc-git--call): Use it.
20594 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20596 * cus-edit.el (Custom-newline): If no button at point, look
20597 for a subgroup button at start-of-line. (Bug#2298)
20599 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20601 2011-03-10 Julien Danjou <julien@danjou.info>
20603 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20604 `cursor-type' is nil.
20606 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20608 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20610 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20612 * allout.el: Change so yank of distinctive-bullet items
20613 preserves the existing header prefix, rebulleting it if necessary,
20614 rather than replacing it. This is necessary for proper operation
20615 of cooperative addons like allout-widgets.
20616 (allout-make-topic-prefix, allout-rebullet-heading):
20617 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20618 value as alternate bullet to be used, instead of prompting the user
20619 for a bullet character.
20621 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20623 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20624 Do not use `tramp-file-name-port', because this returns also
20625 `tramp-default-port'.
20627 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20629 * net/rcirc.el (rcirc-handler-001): Remove useless
20630 with-rcirc-process-buffer.
20631 (rcirc-check-auth-status): Swap arguments to string-match.
20633 2011-03-09 Glenn Morris <rgm@gnu.org>
20635 * shell.el (shell-mode):
20636 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20638 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20639 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20641 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20643 * emacs-lisp/package.el (package-refresh-contents)
20644 (package-menu-execute): Use condition-case-no-debug.
20646 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20648 * simple.el (shell-command-to-string): Use `process-file'.
20650 * emacs-lisp/package.el (package-tar-file-info): Handle also
20653 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20654 Use `equal' for upload base check.
20656 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20658 * textmodes/texinfo.el (texinfo-environments):
20659 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20661 2011-03-08 Glenn Morris <rgm@gnu.org>
20663 * cus-start.el (cursor-in-non-selected-windows):
20664 Fix :set quoting oddness. (Bug#8192)
20666 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20667 in some setf expressions. (Bug#2159)
20669 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20671 * custom.el (custom-available-themes): Return themes in
20672 alphabetical order.
20674 See ChangeLog.15 for earlier changes.
20676 ;; Local Variables:
20680 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20682 This file is part of GNU Emacs.
20684 GNU Emacs is free software: you can redistribute it and/or modify
20685 it under the terms of the GNU General Public License as published by
20686 the Free Software Foundation, either version 3 of the License, or
20687 (at your option) any later version.
20689 GNU Emacs is distributed in the hope that it will be useful,
20690 but WITHOUT ANY WARRANTY; without even the implied warranty of
20691 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20692 GNU General Public License for more details.
20694 You should have received a copy of the GNU General Public License
20695 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.